@sixb/client 0.2.5 → 0.2.7

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 (49) hide show
  1. package/dist/agent-streams.d.ts +11 -2
  2. package/dist/agent-streams.d.ts.map +1 -1
  3. package/dist/artifact-live.js +1 -1
  4. package/dist/browser.js +1 -1
  5. package/dist/{chunk-ktqfenfd.js → chunk-3dxa8d3r.js} +46 -6
  6. package/dist/chunk-3dxa8d3r.js.map +10 -0
  7. package/dist/{chunk-zta9jf24.js → chunk-4t68c4gf.js} +10 -3
  8. package/dist/{chunk-zta9jf24.js.map → chunk-4t68c4gf.js.map} +3 -3
  9. package/dist/{chunk-tm588tr7.js → chunk-6caavk8p.js} +1 -1
  10. package/dist/{chunk-pn4b10k4.js → chunk-pzz6gtn5.js} +2 -2
  11. package/dist/{chunk-60fdvjxa.js → chunk-vydypkf1.js} +39 -2
  12. package/dist/chunk-vydypkf1.js.map +10 -0
  13. package/dist/connectors/connection.d.ts +12 -0
  14. package/dist/connectors/connection.d.ts.map +1 -1
  15. package/dist/connectors/index.d.ts +1 -1
  16. package/dist/connectors/index.d.ts.map +1 -1
  17. package/dist/connectors/queries.d.ts.map +1 -1
  18. package/dist/generated/@tanstack/react-query.gen.d.ts +1068 -153
  19. package/dist/generated/@tanstack/react-query.gen.d.ts.map +1 -1
  20. package/dist/generated/index.d.ts +2 -2
  21. package/dist/generated/index.d.ts.map +1 -1
  22. package/dist/generated/sdk.gen.d.ts +27 -3
  23. package/dist/generated/sdk.gen.d.ts.map +1 -1
  24. package/dist/generated/types.gen.d.ts +1011 -51
  25. package/dist/generated/types.gen.d.ts.map +1 -1
  26. package/dist/hooks.js +87 -5
  27. package/dist/hooks.js.map +4 -4
  28. package/dist/index.js +13 -5
  29. package/dist/index.js.map +1 -1
  30. package/dist/logs.js +3 -3
  31. package/dist/models.js +10 -2
  32. package/dist/models.js.map +1 -1
  33. package/dist/query.js +2 -2
  34. package/dist/users-hooks.d.ts.map +1 -1
  35. package/dist/ws-socket.d.ts +2 -0
  36. package/dist/ws-socket.d.ts.map +1 -1
  37. package/package.json +2 -2
  38. package/src/agent-streams.ts +22 -0
  39. package/src/connectors/connection.ts +59 -0
  40. package/src/connectors/index.ts +1 -0
  41. package/src/generated/@tanstack/react-query.gen.ts +131 -2
  42. package/src/generated/index.ts +20 -0
  43. package/src/generated/sdk.gen.ts +93 -2
  44. package/src/generated/types.gen.ts +1451 -37
  45. package/src/ws-socket.ts +62 -7
  46. package/dist/chunk-60fdvjxa.js.map +0 -10
  47. package/dist/chunk-ktqfenfd.js.map +0 -10
  48. /package/dist/{chunk-tm588tr7.js.map → chunk-6caavk8p.js.map} +0 -0
  49. /package/dist/{chunk-pn4b10k4.js.map → chunk-pzz6gtn5.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, 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";
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, EditAgentThreadMessageData, EditAgentThreadMessageError, EditAgentThreadMessageResponse, 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, ListConnectorAccountsData, ListConnectorConnectionSyncRunsData, 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, MarkAgentThreadReadData, MarkAgentThreadReadError, MarkAgentThreadReadResponse, 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
  */
@@ -1560,7 +1560,13 @@ export declare const getAiAccountingOverviewOptions: (options: Options<GetAiAcco
1560
1560
  imageOutputTokens?: number;
1561
1561
  audioOutputTokens?: number;
1562
1562
  outputImages?: number;
1563
- inputCharacters?: number;
1563
+ inputCharacters
1564
+ /**
1565
+ * Generate images with an image model
1566
+ */
1567
+ ? /**
1568
+ * Generate images with an image model
1569
+ */: number;
1564
1570
  reportingStatus: "complete" | "partial" | "unavailable";
1565
1571
  };
1566
1572
  usageCoverage: {
@@ -1992,7 +1998,13 @@ export declare const getAiAccountingOverviewOptions: (options: Options<GetAiAcco
1992
1998
  imageOutputTokens?: number;
1993
1999
  audioOutputTokens?: number;
1994
2000
  outputImages?: number;
1995
- inputCharacters?: number;
2001
+ inputCharacters
2002
+ /**
2003
+ * Generate images with an image model
2004
+ */
2005
+ ? /**
2006
+ * Generate images with an image model
2007
+ */: number;
1996
2008
  reportingStatus: "complete" | "partial" | "unavailable";
1997
2009
  };
1998
2010
  usageCoverage: {
@@ -2429,7 +2441,13 @@ export declare const getAiAccountingOverviewOptions: (options: Options<GetAiAcco
2429
2441
  imageOutputTokens?: number;
2430
2442
  audioOutputTokens?: number;
2431
2443
  outputImages?: number;
2432
- inputCharacters?: number;
2444
+ inputCharacters
2445
+ /**
2446
+ * Generate images with an image model
2447
+ */
2448
+ ? /**
2449
+ * Generate images with an image model
2450
+ */: number;
2433
2451
  reportingStatus: "complete" | "partial" | "unavailable";
2434
2452
  };
2435
2453
  usageCoverage: {
@@ -2872,7 +2890,13 @@ export declare const getAiAccountingOverviewOptions: (options: Options<GetAiAcco
2872
2890
  imageOutputTokens?: number;
2873
2891
  audioOutputTokens?: number;
2874
2892
  outputImages?: number;
2875
- inputCharacters?: number;
2893
+ inputCharacters
2894
+ /**
2895
+ * Generate images with an image model
2896
+ */
2897
+ ? /**
2898
+ * Generate images with an image model
2899
+ */: number;
2876
2900
  reportingStatus: "complete" | "partial" | "unavailable";
2877
2901
  };
2878
2902
  usageCoverage: {
@@ -3067,11 +3091,7 @@ export declare const listAiModelCallsOptions: (options: Options<ListAiModelCalls
3067
3091
  requestedReasoning?: "provider-default" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | {
3068
3092
  budgetTokens: number;
3069
3093
  };
3070
- responseModelId
3071
- /**
3072
- * Reauthorize a connector connection
3073
- */
3074
- ?: string;
3094
+ responseModelId?: string;
3075
3095
  responseId: string;
3076
3096
  providerIds: {
3077
3097
  requestId?: string;
@@ -3244,11 +3264,7 @@ export declare const listAiModelCallsOptions: (options: Options<ListAiModelCalls
3244
3264
  requestedReasoning?: "provider-default" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | {
3245
3265
  budgetTokens: number;
3246
3266
  };
3247
- responseModelId
3248
- /**
3249
- * Reauthorize a connector connection
3250
- */
3251
- ?: string;
3267
+ responseModelId?: string;
3252
3268
  responseId: string;
3253
3269
  providerIds: {
3254
3270
  requestId?: string;
@@ -3426,11 +3442,7 @@ export declare const listAiModelCallsOptions: (options: Options<ListAiModelCalls
3426
3442
  requestedReasoning?: "provider-default" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | {
3427
3443
  budgetTokens: number;
3428
3444
  };
3429
- responseModelId
3430
- /**
3431
- * Reauthorize a connector connection
3432
- */
3433
- ?: string;
3445
+ responseModelId?: string;
3434
3446
  responseId: string;
3435
3447
  providerIds: {
3436
3448
  requestId?: string;
@@ -3614,11 +3626,7 @@ export declare const listAiModelCallsOptions: (options: Options<ListAiModelCalls
3614
3626
  requestedReasoning?: "provider-default" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | {
3615
3627
  budgetTokens: number;
3616
3628
  };
3617
- responseModelId
3618
- /**
3619
- * Reauthorize a connector connection
3620
- */
3621
- ?: string;
3629
+ responseModelId?: string;
3622
3630
  responseId: string;
3623
3631
  providerIds: {
3624
3632
  requestId?: string;
@@ -3799,11 +3807,7 @@ export declare const listAiModelCallsInfiniteOptions: (options: Options<ListAiMo
3799
3807
  requestedReasoning?: "provider-default" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | {
3800
3808
  budgetTokens: number;
3801
3809
  };
3802
- responseModelId
3803
- /**
3804
- * Reauthorize a connector connection
3805
- */
3806
- ?: string;
3810
+ responseModelId?: string;
3807
3811
  responseId: string;
3808
3812
  providerIds: {
3809
3813
  requestId?: string;
@@ -3976,11 +3980,7 @@ export declare const listAiModelCallsInfiniteOptions: (options: Options<ListAiMo
3976
3980
  requestedReasoning?: "provider-default" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | {
3977
3981
  budgetTokens: number;
3978
3982
  };
3979
- responseModelId
3980
- /**
3981
- * Reauthorize a connector connection
3982
- */
3983
- ?: string;
3983
+ responseModelId?: string;
3984
3984
  responseId: string;
3985
3985
  providerIds: {
3986
3986
  requestId?: string;
@@ -4158,11 +4158,7 @@ export declare const listAiModelCallsInfiniteOptions: (options: Options<ListAiMo
4158
4158
  requestedReasoning?: "provider-default" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | {
4159
4159
  budgetTokens: number;
4160
4160
  };
4161
- responseModelId
4162
- /**
4163
- * Reauthorize a connector connection
4164
- */
4165
- ?: string;
4161
+ responseModelId?: string;
4166
4162
  responseId: string;
4167
4163
  providerIds: {
4168
4164
  requestId?: string;
@@ -4339,11 +4335,7 @@ export declare const listAiModelCallsInfiniteOptions: (options: Options<ListAiMo
4339
4335
  requestedReasoning?: "provider-default" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | {
4340
4336
  budgetTokens: number;
4341
4337
  };
4342
- responseModelId
4343
- /**
4344
- * Reauthorize a connector connection
4345
- */
4346
- ?: string;
4338
+ responseModelId?: string;
4347
4339
  responseId: string;
4348
4340
  providerIds: {
4349
4341
  requestId?: string;
@@ -4523,11 +4515,7 @@ export declare const listAiModelCallsInfiniteOptions: (options: Options<ListAiMo
4523
4515
  requestedReasoning?: "provider-default" | "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | {
4524
4516
  budgetTokens: number;
4525
4517
  };
4526
- responseModelId
4527
- /**
4528
- * Reauthorize a connector connection
4529
- */
4530
- ?: string;
4518
+ responseModelId?: string;
4531
4519
  responseId: string;
4532
4520
  providerIds: {
4533
4521
  requestId?: string;
@@ -6756,6 +6744,7 @@ export declare const listConnectorsQueryKey: (options?: Options<ListConnectorsDa
6756
6744
  */
6757
6745
  export declare const listConnectorsOptions: (options?: Options<ListConnectorsData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
6758
6746
  id: string;
6747
+ folder?: string;
6759
6748
  type: string;
6760
6749
  connection: {
6761
6750
  authentication: "oauth2";
@@ -6771,6 +6760,7 @@ export declare const listConnectorsOptions: (options?: Options<ListConnectorsDat
6771
6760
  }>;
6772
6761
  }[], Error, {
6773
6762
  id: string;
6763
+ folder?: string;
6774
6764
  type: string;
6775
6765
  connection: {
6776
6766
  authentication: "oauth2";
@@ -6791,6 +6781,7 @@ export declare const listConnectorsOptions: (options?: Options<ListConnectorsDat
6791
6781
  }]>, "queryFn"> & {
6792
6782
  queryFn?: import("@tanstack/react-query").QueryFunction<{
6793
6783
  id: string;
6784
+ folder?: string;
6794
6785
  type: string;
6795
6786
  connection: {
6796
6787
  authentication: "oauth2";
@@ -6817,6 +6808,7 @@ export declare const listConnectorsOptions: (options?: Options<ListConnectorsDat
6817
6808
  }] & {
6818
6809
  [dataTagSymbol]: {
6819
6810
  id: string;
6811
+ folder?: string;
6820
6812
  type: string;
6821
6813
  connection: {
6822
6814
  authentication: "oauth2";
@@ -6844,6 +6836,7 @@ export declare const getConnectorQueryKey: (options: Options<GetConnectorData>)
6844
6836
  */
6845
6837
  export declare const getConnectorOptions: (options: Options<GetConnectorData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
6846
6838
  id: string;
6839
+ folder?: string;
6847
6840
  type: string;
6848
6841
  connection: {
6849
6842
  authentication: "oauth2";
@@ -6861,6 +6854,7 @@ export declare const getConnectorOptions: (options: Options<GetConnectorData>) =
6861
6854
  error: string;
6862
6855
  }, {
6863
6856
  id: string;
6857
+ folder?: string;
6864
6858
  type: string;
6865
6859
  connection: {
6866
6860
  authentication: "oauth2";
@@ -6881,6 +6875,7 @@ export declare const getConnectorOptions: (options: Options<GetConnectorData>) =
6881
6875
  }]>, "queryFn"> & {
6882
6876
  queryFn?: import("@tanstack/react-query").QueryFunction<{
6883
6877
  id: string;
6878
+ folder?: string;
6884
6879
  type: string;
6885
6880
  connection: {
6886
6881
  authentication: "oauth2";
@@ -6907,6 +6902,7 @@ export declare const getConnectorOptions: (options: Options<GetConnectorData>) =
6907
6902
  }] & {
6908
6903
  [dataTagSymbol]: {
6909
6904
  id: string;
6905
+ folder?: string;
6910
6906
  type: string;
6911
6907
  connection: {
6912
6908
  authentication: "oauth2";
@@ -8132,6 +8128,7 @@ export declare const listDatasetsOptions: (options?: Options<ListDatasetsData>)
8132
8128
  }>;
8133
8129
  };
8134
8130
  kind: "dataset";
8131
+ folder?: string;
8135
8132
  materialized: boolean;
8136
8133
  latestVersion: {
8137
8134
  datasetId: string;
@@ -8160,6 +8157,7 @@ export declare const listDatasetsOptions: (options?: Options<ListDatasetsData>)
8160
8157
  }>;
8161
8158
  };
8162
8159
  kind: "dataset";
8160
+ folder?: string;
8163
8161
  materialized: boolean;
8164
8162
  latestVersion: {
8165
8163
  datasetId: string;
@@ -8191,6 +8189,7 @@ export declare const listDatasetsOptions: (options?: Options<ListDatasetsData>)
8191
8189
  }>;
8192
8190
  };
8193
8191
  kind: "dataset";
8192
+ folder?: string;
8194
8193
  materialized: boolean;
8195
8194
  latestVersion: {
8196
8195
  datasetId: string;
@@ -8228,6 +8227,7 @@ export declare const listDatasetsOptions: (options?: Options<ListDatasetsData>)
8228
8227
  }>;
8229
8228
  };
8230
8229
  kind: "dataset";
8230
+ folder?: string;
8231
8231
  materialized: boolean;
8232
8232
  latestVersion: {
8233
8233
  datasetId: string;
@@ -8268,6 +8268,7 @@ export declare const getDatasetOptions: (options: Options<GetDatasetData>) => im
8268
8268
  }>;
8269
8269
  };
8270
8270
  kind: "dataset";
8271
+ folder?: string;
8271
8272
  materialized: boolean;
8272
8273
  latestVersion: {
8273
8274
  datasetId: string;
@@ -8294,6 +8295,7 @@ export declare const getDatasetOptions: (options: Options<GetDatasetData>) => im
8294
8295
  }>;
8295
8296
  };
8296
8297
  kind: "dataset";
8298
+ folder?: string;
8297
8299
  materialized: boolean;
8298
8300
  latestVersion: {
8299
8301
  datasetId: string;
@@ -8325,6 +8327,7 @@ export declare const getDatasetOptions: (options: Options<GetDatasetData>) => im
8325
8327
  }>;
8326
8328
  };
8327
8329
  kind: "dataset";
8330
+ folder?: string;
8328
8331
  materialized: boolean;
8329
8332
  latestVersion: {
8330
8333
  datasetId: string;
@@ -8362,6 +8365,7 @@ export declare const getDatasetOptions: (options: Options<GetDatasetData>) => im
8362
8365
  }>;
8363
8366
  };
8364
8367
  kind: "dataset";
8368
+ folder?: string;
8365
8369
  materialized: boolean;
8366
8370
  latestVersion: {
8367
8371
  datasetId: string;
@@ -9405,6 +9409,7 @@ export declare const listSyncsQueryKey: (options?: Options<ListSyncsData>) => [P
9405
9409
  */
9406
9410
  export declare const listSyncsOptions: (options?: Options<ListSyncsData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
9407
9411
  id: string;
9412
+ folder?: string;
9408
9413
  mode: "snapshot" | "append" | "merge";
9409
9414
  connector: {
9410
9415
  id: string;
@@ -9435,6 +9440,7 @@ export declare const listSyncsOptions: (options?: Options<ListSyncsData>) => imp
9435
9440
  id: string;
9436
9441
  projectId: string;
9437
9442
  syncId: string;
9443
+ connectionId?: string;
9438
9444
  datasetId: string;
9439
9445
  mode: "snapshot" | "append" | "merge";
9440
9446
  status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
@@ -9450,7 +9456,7 @@ export declare const listSyncsOptions: (options?: Options<ListSyncsData>) => imp
9450
9456
  expectedLatestVersionId?: string;
9451
9457
  commitMessage?: string;
9452
9458
  error?: {
9453
- code: "internal.unexpected" | "runtime.cancelled" | "queue.enqueue_failed" | "sync.execution_failed";
9459
+ code: "internal.unexpected" | "runtime.cancelled" | "queue.enqueue_failed" | "sync.execution_failed" | "connector.authorization_required";
9454
9460
  message: string;
9455
9461
  retryable: boolean;
9456
9462
  at: string;
@@ -9462,8 +9468,17 @@ export declare const listSyncsOptions: (options?: Options<ListSyncsData>) => imp
9462
9468
  truncated?: true;
9463
9469
  };
9464
9470
  } | null;
9471
+ accounts?: {
9472
+ total: number;
9473
+ running: number;
9474
+ needsReconnecting: number;
9475
+ failing: number;
9476
+ synced: number;
9477
+ lastSyncedAt?: string;
9478
+ };
9465
9479
  }[], Error, {
9466
9480
  id: string;
9481
+ folder?: string;
9467
9482
  mode: "snapshot" | "append" | "merge";
9468
9483
  connector: {
9469
9484
  id: string;
@@ -9494,6 +9509,7 @@ export declare const listSyncsOptions: (options?: Options<ListSyncsData>) => imp
9494
9509
  id: string;
9495
9510
  projectId: string;
9496
9511
  syncId: string;
9512
+ connectionId?: string;
9497
9513
  datasetId: string;
9498
9514
  mode: "snapshot" | "append" | "merge";
9499
9515
  status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
@@ -9509,7 +9525,7 @@ export declare const listSyncsOptions: (options?: Options<ListSyncsData>) => imp
9509
9525
  expectedLatestVersionId?: string;
9510
9526
  commitMessage?: string;
9511
9527
  error?: {
9512
- code: "internal.unexpected" | "runtime.cancelled" | "queue.enqueue_failed" | "sync.execution_failed";
9528
+ code: "internal.unexpected" | "runtime.cancelled" | "queue.enqueue_failed" | "sync.execution_failed" | "connector.authorization_required";
9513
9529
  message: string;
9514
9530
  retryable: boolean;
9515
9531
  at: string;
@@ -9521,6 +9537,14 @@ export declare const listSyncsOptions: (options?: Options<ListSyncsData>) => imp
9521
9537
  truncated?: true;
9522
9538
  };
9523
9539
  } | null;
9540
+ accounts?: {
9541
+ total: number;
9542
+ running: number;
9543
+ needsReconnecting: number;
9544
+ failing: number;
9545
+ synced: number;
9546
+ lastSyncedAt?: string;
9547
+ };
9524
9548
  }[], [Pick<Options<ListSyncsData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
9525
9549
  _id: string;
9526
9550
  _infinite?: boolean;
@@ -9528,6 +9552,7 @@ export declare const listSyncsOptions: (options?: Options<ListSyncsData>) => imp
9528
9552
  }]>, "queryFn"> & {
9529
9553
  queryFn?: import("@tanstack/react-query").QueryFunction<{
9530
9554
  id: string;
9555
+ folder?: string;
9531
9556
  mode: "snapshot" | "append" | "merge";
9532
9557
  connector: {
9533
9558
  id: string;
@@ -9558,6 +9583,7 @@ export declare const listSyncsOptions: (options?: Options<ListSyncsData>) => imp
9558
9583
  id: string;
9559
9584
  projectId: string;
9560
9585
  syncId: string;
9586
+ connectionId?: string;
9561
9587
  datasetId: string;
9562
9588
  mode: "snapshot" | "append" | "merge";
9563
9589
  status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
@@ -9573,7 +9599,7 @@ export declare const listSyncsOptions: (options?: Options<ListSyncsData>) => imp
9573
9599
  expectedLatestVersionId?: string;
9574
9600
  commitMessage?: string;
9575
9601
  error?: {
9576
- code: "internal.unexpected" | "runtime.cancelled" | "queue.enqueue_failed" | "sync.execution_failed";
9602
+ code: "internal.unexpected" | "runtime.cancelled" | "queue.enqueue_failed" | "sync.execution_failed" | "connector.authorization_required";
9577
9603
  message: string;
9578
9604
  retryable: boolean;
9579
9605
  at: string;
@@ -9585,6 +9611,14 @@ export declare const listSyncsOptions: (options?: Options<ListSyncsData>) => imp
9585
9611
  truncated?: true;
9586
9612
  };
9587
9613
  } | null;
9614
+ accounts?: {
9615
+ total: number;
9616
+ running: number;
9617
+ needsReconnecting: number;
9618
+ failing: number;
9619
+ synced: number;
9620
+ lastSyncedAt?: string;
9621
+ };
9588
9622
  }[], [Pick<Options<ListSyncsData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
9589
9623
  _id: string;
9590
9624
  _infinite?: boolean;
@@ -9598,6 +9632,7 @@ export declare const listSyncsOptions: (options?: Options<ListSyncsData>) => imp
9598
9632
  }] & {
9599
9633
  [dataTagSymbol]: {
9600
9634
  id: string;
9635
+ folder?: string;
9601
9636
  mode: "snapshot" | "append" | "merge";
9602
9637
  connector: {
9603
9638
  id: string;
@@ -9628,6 +9663,7 @@ export declare const listSyncsOptions: (options?: Options<ListSyncsData>) => imp
9628
9663
  id: string;
9629
9664
  projectId: string;
9630
9665
  syncId: string;
9666
+ connectionId?: string;
9631
9667
  datasetId: string;
9632
9668
  mode: "snapshot" | "append" | "merge";
9633
9669
  status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
@@ -9643,7 +9679,7 @@ export declare const listSyncsOptions: (options?: Options<ListSyncsData>) => imp
9643
9679
  expectedLatestVersionId?: string;
9644
9680
  commitMessage?: string;
9645
9681
  error?: {
9646
- code: "internal.unexpected" | "runtime.cancelled" | "queue.enqueue_failed" | "sync.execution_failed";
9682
+ code: "internal.unexpected" | "runtime.cancelled" | "queue.enqueue_failed" | "sync.execution_failed" | "connector.authorization_required";
9647
9683
  message: string;
9648
9684
  retryable: boolean;
9649
9685
  at: string;
@@ -9655,6 +9691,14 @@ export declare const listSyncsOptions: (options?: Options<ListSyncsData>) => imp
9655
9691
  truncated?: true;
9656
9692
  };
9657
9693
  } | null;
9694
+ accounts?: {
9695
+ total: number;
9696
+ running: number;
9697
+ needsReconnecting: number;
9698
+ failing: number;
9699
+ synced: number;
9700
+ lastSyncedAt?: string;
9701
+ };
9658
9702
  }[];
9659
9703
  [dataTagErrorSymbol]: Error;
9660
9704
  };
@@ -9669,6 +9713,7 @@ export declare const getSyncQueryKey: (options: Options<GetSyncData>) => [Pick<O
9669
9713
  */
9670
9714
  export declare const getSyncOptions: (options: Options<GetSyncData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
9671
9715
  id: string;
9716
+ folder?: string;
9672
9717
  mode: "snapshot" | "append" | "merge";
9673
9718
  connector: {
9674
9719
  id: string;
@@ -9699,6 +9744,7 @@ export declare const getSyncOptions: (options: Options<GetSyncData>) => import("
9699
9744
  id: string;
9700
9745
  projectId: string;
9701
9746
  syncId: string;
9747
+ connectionId?: string;
9702
9748
  datasetId: string;
9703
9749
  mode: "snapshot" | "append" | "merge";
9704
9750
  status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
@@ -9714,7 +9760,7 @@ export declare const getSyncOptions: (options: Options<GetSyncData>) => import("
9714
9760
  expectedLatestVersionId?: string;
9715
9761
  commitMessage?: string;
9716
9762
  error?: {
9717
- code: "internal.unexpected" | "runtime.cancelled" | "queue.enqueue_failed" | "sync.execution_failed";
9763
+ code: "internal.unexpected" | "runtime.cancelled" | "queue.enqueue_failed" | "sync.execution_failed" | "connector.authorization_required";
9718
9764
  message: string;
9719
9765
  retryable: boolean;
9720
9766
  at: string;
@@ -9726,10 +9772,19 @@ export declare const getSyncOptions: (options: Options<GetSyncData>) => import("
9726
9772
  truncated?: true;
9727
9773
  };
9728
9774
  } | null;
9775
+ accounts?: {
9776
+ total: number;
9777
+ running: number;
9778
+ needsReconnecting: number;
9779
+ failing: number;
9780
+ synced: number;
9781
+ lastSyncedAt?: string;
9782
+ };
9729
9783
  }, {
9730
9784
  error: string;
9731
9785
  }, {
9732
9786
  id: string;
9787
+ folder?: string;
9733
9788
  mode: "snapshot" | "append" | "merge";
9734
9789
  connector: {
9735
9790
  id: string;
@@ -9760,6 +9815,7 @@ export declare const getSyncOptions: (options: Options<GetSyncData>) => import("
9760
9815
  id: string;
9761
9816
  projectId: string;
9762
9817
  syncId: string;
9818
+ connectionId?: string;
9763
9819
  datasetId: string;
9764
9820
  mode: "snapshot" | "append" | "merge";
9765
9821
  status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
@@ -9775,7 +9831,7 @@ export declare const getSyncOptions: (options: Options<GetSyncData>) => import("
9775
9831
  expectedLatestVersionId?: string;
9776
9832
  commitMessage?: string;
9777
9833
  error?: {
9778
- code: "internal.unexpected" | "runtime.cancelled" | "queue.enqueue_failed" | "sync.execution_failed";
9834
+ code: "internal.unexpected" | "runtime.cancelled" | "queue.enqueue_failed" | "sync.execution_failed" | "connector.authorization_required";
9779
9835
  message: string;
9780
9836
  retryable: boolean;
9781
9837
  at: string;
@@ -9787,6 +9843,14 @@ export declare const getSyncOptions: (options: Options<GetSyncData>) => import("
9787
9843
  truncated?: true;
9788
9844
  };
9789
9845
  } | null;
9846
+ accounts?: {
9847
+ total: number;
9848
+ running: number;
9849
+ needsReconnecting: number;
9850
+ failing: number;
9851
+ synced: number;
9852
+ lastSyncedAt?: string;
9853
+ };
9790
9854
  }, [Pick<Options<GetSyncData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
9791
9855
  _id: string;
9792
9856
  _infinite?: boolean;
@@ -9794,6 +9858,7 @@ export declare const getSyncOptions: (options: Options<GetSyncData>) => import("
9794
9858
  }]>, "queryFn"> & {
9795
9859
  queryFn?: import("@tanstack/react-query").QueryFunction<{
9796
9860
  id: string;
9861
+ folder?: string;
9797
9862
  mode: "snapshot" | "append" | "merge";
9798
9863
  connector: {
9799
9864
  id: string;
@@ -9824,6 +9889,7 @@ export declare const getSyncOptions: (options: Options<GetSyncData>) => import("
9824
9889
  id: string;
9825
9890
  projectId: string;
9826
9891
  syncId: string;
9892
+ connectionId?: string;
9827
9893
  datasetId: string;
9828
9894
  mode: "snapshot" | "append" | "merge";
9829
9895
  status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
@@ -9839,7 +9905,7 @@ export declare const getSyncOptions: (options: Options<GetSyncData>) => import("
9839
9905
  expectedLatestVersionId?: string;
9840
9906
  commitMessage?: string;
9841
9907
  error?: {
9842
- code: "internal.unexpected" | "runtime.cancelled" | "queue.enqueue_failed" | "sync.execution_failed";
9908
+ code: "internal.unexpected" | "runtime.cancelled" | "queue.enqueue_failed" | "sync.execution_failed" | "connector.authorization_required";
9843
9909
  message: string;
9844
9910
  retryable: boolean;
9845
9911
  at: string;
@@ -9851,6 +9917,14 @@ export declare const getSyncOptions: (options: Options<GetSyncData>) => import("
9851
9917
  truncated?: true;
9852
9918
  };
9853
9919
  } | null;
9920
+ accounts?: {
9921
+ total: number;
9922
+ running: number;
9923
+ needsReconnecting: number;
9924
+ failing: number;
9925
+ synced: number;
9926
+ lastSyncedAt?: string;
9927
+ };
9854
9928
  }, [Pick<Options<GetSyncData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
9855
9929
  _id: string;
9856
9930
  _infinite?: boolean;
@@ -9864,6 +9938,7 @@ export declare const getSyncOptions: (options: Options<GetSyncData>) => import("
9864
9938
  }] & {
9865
9939
  [dataTagSymbol]: {
9866
9940
  id: string;
9941
+ folder?: string;
9867
9942
  mode: "snapshot" | "append" | "merge";
9868
9943
  connector: {
9869
9944
  id: string;
@@ -9894,6 +9969,7 @@ export declare const getSyncOptions: (options: Options<GetSyncData>) => import("
9894
9969
  id: string;
9895
9970
  projectId: string;
9896
9971
  syncId: string;
9972
+ connectionId?: string;
9897
9973
  datasetId: string;
9898
9974
  mode: "snapshot" | "append" | "merge";
9899
9975
  status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
@@ -9909,7 +9985,7 @@ export declare const getSyncOptions: (options: Options<GetSyncData>) => import("
9909
9985
  expectedLatestVersionId?: string;
9910
9986
  commitMessage?: string;
9911
9987
  error?: {
9912
- code: "internal.unexpected" | "runtime.cancelled" | "queue.enqueue_failed" | "sync.execution_failed";
9988
+ code: "internal.unexpected" | "runtime.cancelled" | "queue.enqueue_failed" | "sync.execution_failed" | "connector.authorization_required";
9913
9989
  message: string;
9914
9990
  retryable: boolean;
9915
9991
  at: string;
@@ -9921,12 +9997,408 @@ export declare const getSyncOptions: (options: Options<GetSyncData>) => import("
9921
9997
  truncated?: true;
9922
9998
  };
9923
9999
  } | null;
10000
+ accounts?: {
10001
+ total: number;
10002
+ running: number;
10003
+ needsReconnecting: number;
10004
+ failing: number;
10005
+ synced: number;
10006
+ lastSyncedAt?: string;
10007
+ };
9924
10008
  };
9925
10009
  [dataTagErrorSymbol]: {
9926
10010
  error: string;
9927
10011
  };
9928
10012
  };
9929
10013
  };
10014
+ export declare const listConnectorAccountsQueryKey: (options: Options<ListConnectorAccountsData>) => [Pick<Options<ListConnectorAccountsData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
10015
+ _id: string;
10016
+ _infinite?: boolean;
10017
+ tags?: ReadonlyArray<string>;
10018
+ }];
10019
+ /**
10020
+ * List a connector's accounts and how they synced
10021
+ *
10022
+ * On an OAuth connector, each connected account you may see, with the latest run of each of its syncs you may run. Empty for a static connector.
10023
+ */
10024
+ export declare const listConnectorAccountsOptions: (options: Options<ListConnectorAccountsData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
10025
+ accounts: Array<{
10026
+ connection: {
10027
+ id: string;
10028
+ owner: {
10029
+ type: "project";
10030
+ } | {
10031
+ type: "user";
10032
+ id: string;
10033
+ };
10034
+ slot: string;
10035
+ account: {
10036
+ id: string;
10037
+ label: string;
10038
+ };
10039
+ };
10040
+ latestRuns: Array<{
10041
+ id: string;
10042
+ projectId: string;
10043
+ syncId: string;
10044
+ connectionId?: string;
10045
+ datasetId: string;
10046
+ mode: "snapshot" | "append" | "merge";
10047
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
10048
+ attempt: number;
10049
+ queuedAt: string;
10050
+ startedAt?: string;
10051
+ finishedAt?: string;
10052
+ rowsRead?: number;
10053
+ output?: {
10054
+ datasetId: string;
10055
+ versionId: string;
10056
+ };
10057
+ expectedLatestVersionId?: string;
10058
+ commitMessage?: string;
10059
+ error?: {
10060
+ code: "internal.unexpected" | "runtime.cancelled" | "queue.enqueue_failed" | "sync.execution_failed" | "connector.authorization_required";
10061
+ message: string;
10062
+ retryable: boolean;
10063
+ at: string;
10064
+ details?: string | number | boolean | Array<unknown> | {
10065
+ [key: string]: unknown;
10066
+ } | null;
10067
+ httpStatus?: number;
10068
+ redacted?: true;
10069
+ truncated?: true;
10070
+ };
10071
+ }>;
10072
+ }>;
10073
+ }, Error, {
10074
+ accounts: Array<{
10075
+ connection: {
10076
+ id: string;
10077
+ owner: {
10078
+ type: "project";
10079
+ } | {
10080
+ type: "user";
10081
+ id: string;
10082
+ };
10083
+ slot: string;
10084
+ account: {
10085
+ id: string;
10086
+ label: string;
10087
+ };
10088
+ };
10089
+ latestRuns: Array<{
10090
+ id: string;
10091
+ projectId: string;
10092
+ syncId: string;
10093
+ connectionId?: string;
10094
+ datasetId: string;
10095
+ mode: "snapshot" | "append" | "merge";
10096
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
10097
+ attempt: number;
10098
+ queuedAt: string;
10099
+ startedAt?: string;
10100
+ finishedAt?: string;
10101
+ rowsRead?: number;
10102
+ output?: {
10103
+ datasetId: string;
10104
+ versionId: string;
10105
+ };
10106
+ expectedLatestVersionId?: string;
10107
+ commitMessage?: string;
10108
+ error?: {
10109
+ code: "internal.unexpected" | "runtime.cancelled" | "queue.enqueue_failed" | "sync.execution_failed" | "connector.authorization_required";
10110
+ message: string;
10111
+ retryable: boolean;
10112
+ at: string;
10113
+ details?: string | number | boolean | Array<unknown> | {
10114
+ [key: string]: unknown;
10115
+ } | null;
10116
+ httpStatus?: number;
10117
+ redacted?: true;
10118
+ truncated?: true;
10119
+ };
10120
+ }>;
10121
+ }>;
10122
+ }, [Pick<Options<ListConnectorAccountsData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
10123
+ _id: string;
10124
+ _infinite?: boolean;
10125
+ tags?: ReadonlyArray<string>;
10126
+ }]>, "queryFn"> & {
10127
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
10128
+ accounts: Array<{
10129
+ connection: {
10130
+ id: string;
10131
+ owner: {
10132
+ type: "project";
10133
+ } | {
10134
+ type: "user";
10135
+ id: string;
10136
+ };
10137
+ slot: string;
10138
+ account: {
10139
+ id: string;
10140
+ label: string;
10141
+ };
10142
+ };
10143
+ latestRuns: Array<{
10144
+ id: string;
10145
+ projectId: string;
10146
+ syncId: string;
10147
+ connectionId?: string;
10148
+ datasetId: string;
10149
+ mode: "snapshot" | "append" | "merge";
10150
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
10151
+ attempt: number;
10152
+ queuedAt: string;
10153
+ startedAt?: string;
10154
+ finishedAt?: string;
10155
+ rowsRead?: number;
10156
+ output?: {
10157
+ datasetId: string;
10158
+ versionId: string;
10159
+ };
10160
+ expectedLatestVersionId?: string;
10161
+ commitMessage?: string;
10162
+ error?: {
10163
+ code: "internal.unexpected" | "runtime.cancelled" | "queue.enqueue_failed" | "sync.execution_failed" | "connector.authorization_required";
10164
+ message: string;
10165
+ retryable: boolean;
10166
+ at: string;
10167
+ details?: string | number | boolean | Array<unknown> | {
10168
+ [key: string]: unknown;
10169
+ } | null;
10170
+ httpStatus?: number;
10171
+ redacted?: true;
10172
+ truncated?: true;
10173
+ };
10174
+ }>;
10175
+ }>;
10176
+ }, [Pick<Options<ListConnectorAccountsData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
10177
+ _id: string;
10178
+ _infinite?: boolean;
10179
+ tags?: ReadonlyArray<string>;
10180
+ }], never> | undefined;
10181
+ } & {
10182
+ queryKey: [Pick<Options<ListConnectorAccountsData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
10183
+ _id: string;
10184
+ _infinite?: boolean;
10185
+ tags?: ReadonlyArray<string>;
10186
+ }] & {
10187
+ [dataTagSymbol]: {
10188
+ accounts: Array<{
10189
+ connection: {
10190
+ id: string;
10191
+ owner: {
10192
+ type: "project";
10193
+ } | {
10194
+ type: "user";
10195
+ id: string;
10196
+ };
10197
+ slot: string;
10198
+ account: {
10199
+ id: string;
10200
+ label: string;
10201
+ };
10202
+ };
10203
+ latestRuns: Array<{
10204
+ id: string;
10205
+ projectId: string;
10206
+ syncId: string;
10207
+ connectionId?: string;
10208
+ datasetId: string;
10209
+ mode: "snapshot" | "append" | "merge";
10210
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
10211
+ attempt: number;
10212
+ queuedAt: string;
10213
+ startedAt?: string;
10214
+ finishedAt?: string;
10215
+ rowsRead?: number;
10216
+ output?: {
10217
+ datasetId: string;
10218
+ versionId: string;
10219
+ };
10220
+ expectedLatestVersionId?: string;
10221
+ commitMessage?: string;
10222
+ error?: {
10223
+ code: "internal.unexpected" | "runtime.cancelled" | "queue.enqueue_failed" | "sync.execution_failed" | "connector.authorization_required";
10224
+ message: string;
10225
+ retryable: boolean;
10226
+ at: string;
10227
+ details?: string | number | boolean | Array<unknown> | {
10228
+ [key: string]: unknown;
10229
+ } | null;
10230
+ httpStatus?: number;
10231
+ redacted?: true;
10232
+ truncated?: true;
10233
+ };
10234
+ }>;
10235
+ }>;
10236
+ };
10237
+ [dataTagErrorSymbol]: Error;
10238
+ };
10239
+ };
10240
+ export declare const listConnectorConnectionSyncRunsQueryKey: (options: Options<ListConnectorConnectionSyncRunsData>) => [Pick<Options<ListConnectorConnectionSyncRunsData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
10241
+ _id: string;
10242
+ _infinite?: boolean;
10243
+ tags?: ReadonlyArray<string>;
10244
+ }];
10245
+ /**
10246
+ * Latest sync runs of a connection
10247
+ *
10248
+ * The latest run of each sync of one connection: your own, or anyone's with can.manage on its connector. Empty for a connection you don't see.
10249
+ */
10250
+ export declare const listConnectorConnectionSyncRunsOptions: (options: Options<ListConnectorConnectionSyncRunsData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
10251
+ runs: Array<{
10252
+ id: string;
10253
+ projectId: string;
10254
+ syncId: string;
10255
+ connectionId?: string;
10256
+ datasetId: string;
10257
+ mode: "snapshot" | "append" | "merge";
10258
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
10259
+ attempt: number;
10260
+ queuedAt: string;
10261
+ startedAt?: string;
10262
+ finishedAt?: string;
10263
+ rowsRead?: number;
10264
+ output?: {
10265
+ datasetId: string;
10266
+ versionId: string;
10267
+ };
10268
+ expectedLatestVersionId?: string;
10269
+ commitMessage?: string;
10270
+ error?: {
10271
+ code: "internal.unexpected" | "runtime.cancelled" | "queue.enqueue_failed" | "sync.execution_failed" | "connector.authorization_required";
10272
+ message: string;
10273
+ retryable: boolean;
10274
+ at: string;
10275
+ details?: string | number | boolean | Array<unknown> | {
10276
+ [key: string]: unknown;
10277
+ } | null;
10278
+ httpStatus?: number;
10279
+ redacted?: true;
10280
+ truncated?: true;
10281
+ };
10282
+ }>;
10283
+ }, Error, {
10284
+ runs: Array<{
10285
+ id: string;
10286
+ projectId: string;
10287
+ syncId: string;
10288
+ connectionId?: string;
10289
+ datasetId: string;
10290
+ mode: "snapshot" | "append" | "merge";
10291
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
10292
+ attempt: number;
10293
+ queuedAt: string;
10294
+ startedAt?: string;
10295
+ finishedAt?: string;
10296
+ rowsRead?: number;
10297
+ output?: {
10298
+ datasetId: string;
10299
+ versionId: string;
10300
+ };
10301
+ expectedLatestVersionId?: string;
10302
+ commitMessage?: string;
10303
+ error?: {
10304
+ code: "internal.unexpected" | "runtime.cancelled" | "queue.enqueue_failed" | "sync.execution_failed" | "connector.authorization_required";
10305
+ message: string;
10306
+ retryable: boolean;
10307
+ at: string;
10308
+ details?: string | number | boolean | Array<unknown> | {
10309
+ [key: string]: unknown;
10310
+ } | null;
10311
+ httpStatus?: number;
10312
+ redacted?: true;
10313
+ truncated?: true;
10314
+ };
10315
+ }>;
10316
+ }, [Pick<Options<ListConnectorConnectionSyncRunsData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
10317
+ _id: string;
10318
+ _infinite?: boolean;
10319
+ tags?: ReadonlyArray<string>;
10320
+ }]>, "queryFn"> & {
10321
+ queryFn?: import("@tanstack/react-query").QueryFunction<{
10322
+ runs: Array<{
10323
+ id: string;
10324
+ projectId: string;
10325
+ syncId: string;
10326
+ connectionId?: string;
10327
+ datasetId: string;
10328
+ mode: "snapshot" | "append" | "merge";
10329
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
10330
+ attempt: number;
10331
+ queuedAt: string;
10332
+ startedAt?: string;
10333
+ finishedAt?: string;
10334
+ rowsRead?: number;
10335
+ output?: {
10336
+ datasetId: string;
10337
+ versionId: string;
10338
+ };
10339
+ expectedLatestVersionId?: string;
10340
+ commitMessage?: string;
10341
+ error?: {
10342
+ code: "internal.unexpected" | "runtime.cancelled" | "queue.enqueue_failed" | "sync.execution_failed" | "connector.authorization_required";
10343
+ message: string;
10344
+ retryable: boolean;
10345
+ at: string;
10346
+ details?: string | number | boolean | Array<unknown> | {
10347
+ [key: string]: unknown;
10348
+ } | null;
10349
+ httpStatus?: number;
10350
+ redacted?: true;
10351
+ truncated?: true;
10352
+ };
10353
+ }>;
10354
+ }, [Pick<Options<ListConnectorConnectionSyncRunsData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
10355
+ _id: string;
10356
+ _infinite?: boolean;
10357
+ tags?: ReadonlyArray<string>;
10358
+ }], never> | undefined;
10359
+ } & {
10360
+ queryKey: [Pick<Options<ListConnectorConnectionSyncRunsData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
10361
+ _id: string;
10362
+ _infinite?: boolean;
10363
+ tags?: ReadonlyArray<string>;
10364
+ }] & {
10365
+ [dataTagSymbol]: {
10366
+ runs: Array<{
10367
+ id: string;
10368
+ projectId: string;
10369
+ syncId: string;
10370
+ connectionId?: string;
10371
+ datasetId: string;
10372
+ mode: "snapshot" | "append" | "merge";
10373
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
10374
+ attempt: number;
10375
+ queuedAt: string;
10376
+ startedAt?: string;
10377
+ finishedAt?: string;
10378
+ rowsRead?: number;
10379
+ output?: {
10380
+ datasetId: string;
10381
+ versionId: string;
10382
+ };
10383
+ expectedLatestVersionId?: string;
10384
+ commitMessage?: string;
10385
+ error?: {
10386
+ code: "internal.unexpected" | "runtime.cancelled" | "queue.enqueue_failed" | "sync.execution_failed" | "connector.authorization_required";
10387
+ message: string;
10388
+ retryable: boolean;
10389
+ at: string;
10390
+ details?: string | number | boolean | Array<unknown> | {
10391
+ [key: string]: unknown;
10392
+ } | null;
10393
+ httpStatus?: number;
10394
+ redacted?: true;
10395
+ truncated?: true;
10396
+ };
10397
+ }>;
10398
+ };
10399
+ [dataTagErrorSymbol]: Error;
10400
+ };
10401
+ };
9930
10402
  export declare const listSyncRunsQueryKey: (options?: Options<ListSyncRunsData>) => [Pick<Options<ListSyncRunsData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
9931
10403
  _id: string;
9932
10404
  _infinite?: boolean;
@@ -9940,6 +10412,7 @@ export declare const listSyncRunsOptions: (options?: Options<ListSyncRunsData>)
9940
10412
  id: string;
9941
10413
  projectId: string;
9942
10414
  syncId: string;
10415
+ connectionId?: string;
9943
10416
  datasetId: string;
9944
10417
  mode: "snapshot" | "append" | "merge";
9945
10418
  status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
@@ -9955,7 +10428,7 @@ export declare const listSyncRunsOptions: (options?: Options<ListSyncRunsData>)
9955
10428
  expectedLatestVersionId?: string;
9956
10429
  commitMessage?: string;
9957
10430
  error?: {
9958
- code: "internal.unexpected" | "runtime.cancelled" | "queue.enqueue_failed" | "sync.execution_failed";
10431
+ code: "internal.unexpected" | "runtime.cancelled" | "queue.enqueue_failed" | "sync.execution_failed" | "connector.authorization_required";
9959
10432
  message: string;
9960
10433
  retryable: boolean;
9961
10434
  at: string;
@@ -9974,6 +10447,7 @@ export declare const listSyncRunsOptions: (options?: Options<ListSyncRunsData>)
9974
10447
  id: string;
9975
10448
  projectId: string;
9976
10449
  syncId: string;
10450
+ connectionId?: string;
9977
10451
  datasetId: string;
9978
10452
  mode: "snapshot" | "append" | "merge";
9979
10453
  status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
@@ -9989,7 +10463,7 @@ export declare const listSyncRunsOptions: (options?: Options<ListSyncRunsData>)
9989
10463
  expectedLatestVersionId?: string;
9990
10464
  commitMessage?: string;
9991
10465
  error?: {
9992
- code: "internal.unexpected" | "runtime.cancelled" | "queue.enqueue_failed" | "sync.execution_failed";
10466
+ code: "internal.unexpected" | "runtime.cancelled" | "queue.enqueue_failed" | "sync.execution_failed" | "connector.authorization_required";
9993
10467
  message: string;
9994
10468
  retryable: boolean;
9995
10469
  at: string;
@@ -10013,6 +10487,7 @@ export declare const listSyncRunsOptions: (options?: Options<ListSyncRunsData>)
10013
10487
  id: string;
10014
10488
  projectId: string;
10015
10489
  syncId: string;
10490
+ connectionId?: string;
10016
10491
  datasetId: string;
10017
10492
  mode: "snapshot" | "append" | "merge";
10018
10493
  status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
@@ -10028,7 +10503,7 @@ export declare const listSyncRunsOptions: (options?: Options<ListSyncRunsData>)
10028
10503
  expectedLatestVersionId?: string;
10029
10504
  commitMessage?: string;
10030
10505
  error?: {
10031
- code: "internal.unexpected" | "runtime.cancelled" | "queue.enqueue_failed" | "sync.execution_failed";
10506
+ code: "internal.unexpected" | "runtime.cancelled" | "queue.enqueue_failed" | "sync.execution_failed" | "connector.authorization_required";
10032
10507
  message: string;
10033
10508
  retryable: boolean;
10034
10509
  at: string;
@@ -10058,6 +10533,7 @@ export declare const listSyncRunsOptions: (options?: Options<ListSyncRunsData>)
10058
10533
  id: string;
10059
10534
  projectId: string;
10060
10535
  syncId: string;
10536
+ connectionId?: string;
10061
10537
  datasetId: string;
10062
10538
  mode: "snapshot" | "append" | "merge";
10063
10539
  status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
@@ -10073,7 +10549,7 @@ export declare const listSyncRunsOptions: (options?: Options<ListSyncRunsData>)
10073
10549
  expectedLatestVersionId?: string;
10074
10550
  commitMessage?: string;
10075
10551
  error?: {
10076
- code: "internal.unexpected" | "runtime.cancelled" | "queue.enqueue_failed" | "sync.execution_failed";
10552
+ code: "internal.unexpected" | "runtime.cancelled" | "queue.enqueue_failed" | "sync.execution_failed" | "connector.authorization_required";
10077
10553
  message: string;
10078
10554
  retryable: boolean;
10079
10555
  at: string;
@@ -10100,6 +10576,7 @@ export declare const listSyncRunsInfiniteOptions: (options?: Options<ListSyncRun
10100
10576
  id: string;
10101
10577
  projectId: string;
10102
10578
  syncId: string;
10579
+ connectionId?: string;
10103
10580
  datasetId: string;
10104
10581
  mode: "snapshot" | "append" | "merge";
10105
10582
  status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
@@ -10115,7 +10592,7 @@ export declare const listSyncRunsInfiniteOptions: (options?: Options<ListSyncRun
10115
10592
  expectedLatestVersionId?: string;
10116
10593
  commitMessage?: string;
10117
10594
  error?: {
10118
- code: "internal.unexpected" | "runtime.cancelled" | "queue.enqueue_failed" | "sync.execution_failed";
10595
+ code: "internal.unexpected" | "runtime.cancelled" | "queue.enqueue_failed" | "sync.execution_failed" | "connector.authorization_required";
10119
10596
  message: string;
10120
10597
  retryable: boolean;
10121
10598
  at: string;
@@ -10134,6 +10611,7 @@ export declare const listSyncRunsInfiniteOptions: (options?: Options<ListSyncRun
10134
10611
  id: string;
10135
10612
  projectId: string;
10136
10613
  syncId: string;
10614
+ connectionId?: string;
10137
10615
  datasetId: string;
10138
10616
  mode: "snapshot" | "append" | "merge";
10139
10617
  status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
@@ -10149,7 +10627,7 @@ export declare const listSyncRunsInfiniteOptions: (options?: Options<ListSyncRun
10149
10627
  expectedLatestVersionId?: string;
10150
10628
  commitMessage?: string;
10151
10629
  error?: {
10152
- code: "internal.unexpected" | "runtime.cancelled" | "queue.enqueue_failed" | "sync.execution_failed";
10630
+ code: "internal.unexpected" | "runtime.cancelled" | "queue.enqueue_failed" | "sync.execution_failed" | "connector.authorization_required";
10153
10631
  message: string;
10154
10632
  retryable: boolean;
10155
10633
  at: string;
@@ -10173,6 +10651,7 @@ export declare const listSyncRunsInfiniteOptions: (options?: Options<ListSyncRun
10173
10651
  id: string;
10174
10652
  projectId: string;
10175
10653
  syncId: string;
10654
+ connectionId?: string;
10176
10655
  datasetId: string;
10177
10656
  mode: "snapshot" | "append" | "merge";
10178
10657
  status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
@@ -10188,7 +10667,7 @@ export declare const listSyncRunsInfiniteOptions: (options?: Options<ListSyncRun
10188
10667
  expectedLatestVersionId?: string;
10189
10668
  commitMessage?: string;
10190
10669
  error?: {
10191
- code: "internal.unexpected" | "runtime.cancelled" | "queue.enqueue_failed" | "sync.execution_failed";
10670
+ code: "internal.unexpected" | "runtime.cancelled" | "queue.enqueue_failed" | "sync.execution_failed" | "connector.authorization_required";
10192
10671
  message: string;
10193
10672
  retryable: boolean;
10194
10673
  at: string;
@@ -10211,6 +10690,7 @@ export declare const listSyncRunsInfiniteOptions: (options?: Options<ListSyncRun
10211
10690
  id: string;
10212
10691
  projectId: string;
10213
10692
  syncId: string;
10693
+ connectionId?: string;
10214
10694
  datasetId: string;
10215
10695
  mode: "snapshot" | "append" | "merge";
10216
10696
  status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
@@ -10226,7 +10706,7 @@ export declare const listSyncRunsInfiniteOptions: (options?: Options<ListSyncRun
10226
10706
  expectedLatestVersionId?: string;
10227
10707
  commitMessage?: string;
10228
10708
  error?: {
10229
- code: "internal.unexpected" | "runtime.cancelled" | "queue.enqueue_failed" | "sync.execution_failed";
10709
+ code: "internal.unexpected" | "runtime.cancelled" | "queue.enqueue_failed" | "sync.execution_failed" | "connector.authorization_required";
10230
10710
  message: string;
10231
10711
  retryable: boolean;
10232
10712
  at: string;
@@ -10252,6 +10732,7 @@ export declare const listSyncRunsInfiniteOptions: (options?: Options<ListSyncRun
10252
10732
  id: string;
10253
10733
  projectId: string;
10254
10734
  syncId: string;
10735
+ connectionId?: string;
10255
10736
  datasetId: string;
10256
10737
  mode: "snapshot" | "append" | "merge";
10257
10738
  status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
@@ -10267,7 +10748,7 @@ export declare const listSyncRunsInfiniteOptions: (options?: Options<ListSyncRun
10267
10748
  expectedLatestVersionId?: string;
10268
10749
  commitMessage?: string;
10269
10750
  error?: {
10270
- code: "internal.unexpected" | "runtime.cancelled" | "queue.enqueue_failed" | "sync.execution_failed";
10751
+ code: "internal.unexpected" | "runtime.cancelled" | "queue.enqueue_failed" | "sync.execution_failed" | "connector.authorization_required";
10271
10752
  message: string;
10272
10753
  retryable: boolean;
10273
10754
  at: string;
@@ -10299,6 +10780,7 @@ export declare const listPipelinesQueryKey: (options?: Options<ListPipelinesData
10299
10780
  */
10300
10781
  export declare const listPipelinesOptions: (options?: Options<ListPipelinesData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
10301
10782
  id: string;
10783
+ folder?: string;
10302
10784
  triggers: Array<{
10303
10785
  type: "schedule";
10304
10786
  scheduleId: string;
@@ -10378,6 +10860,7 @@ export declare const listPipelinesOptions: (options?: Options<ListPipelinesData>
10378
10860
  } | null;
10379
10861
  }[], Error, {
10380
10862
  id: string;
10863
+ folder?: string;
10381
10864
  triggers: Array<{
10382
10865
  type: "schedule";
10383
10866
  scheduleId: string;
@@ -10462,6 +10945,7 @@ export declare const listPipelinesOptions: (options?: Options<ListPipelinesData>
10462
10945
  }]>, "queryFn"> & {
10463
10946
  queryFn?: import("@tanstack/react-query").QueryFunction<{
10464
10947
  id: string;
10948
+ folder?: string;
10465
10949
  triggers: Array<{
10466
10950
  type: "schedule";
10467
10951
  scheduleId: string;
@@ -10552,6 +11036,7 @@ export declare const listPipelinesOptions: (options?: Options<ListPipelinesData>
10552
11036
  }] & {
10553
11037
  [dataTagSymbol]: {
10554
11038
  id: string;
11039
+ folder?: string;
10555
11040
  triggers: Array<{
10556
11041
  type: "schedule";
10557
11042
  scheduleId: string;
@@ -10643,6 +11128,7 @@ export declare const getPipelineQueryKey: (options: Options<GetPipelineData>) =>
10643
11128
  */
10644
11129
  export declare const getPipelineOptions: (options: Options<GetPipelineData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
10645
11130
  id: string;
11131
+ folder?: string;
10646
11132
  triggers: Array<{
10647
11133
  type: "schedule";
10648
11134
  scheduleId: string;
@@ -10724,6 +11210,7 @@ export declare const getPipelineOptions: (options: Options<GetPipelineData>) =>
10724
11210
  error: string;
10725
11211
  }, {
10726
11212
  id: string;
11213
+ folder?: string;
10727
11214
  triggers: Array<{
10728
11215
  type: "schedule";
10729
11216
  scheduleId: string;
@@ -10808,6 +11295,7 @@ export declare const getPipelineOptions: (options: Options<GetPipelineData>) =>
10808
11295
  }]>, "queryFn"> & {
10809
11296
  queryFn?: import("@tanstack/react-query").QueryFunction<{
10810
11297
  id: string;
11298
+ folder?: string;
10811
11299
  triggers: Array<{
10812
11300
  type: "schedule";
10813
11301
  scheduleId: string;
@@ -10898,6 +11386,7 @@ export declare const getPipelineOptions: (options: Options<GetPipelineData>) =>
10898
11386
  }] & {
10899
11387
  [dataTagSymbol]: {
10900
11388
  id: string;
11389
+ folder?: string;
10901
11390
  triggers: Array<{
10902
11391
  type: "schedule";
10903
11392
  scheduleId: string;
@@ -11576,6 +12065,7 @@ export declare const listWorkflowsQueryKey: (options?: Options<ListWorkflowsData
11576
12065
  */
11577
12066
  export declare const listWorkflowsOptions: (options?: Options<ListWorkflowsData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
11578
12067
  id: string;
12068
+ folder?: string;
11579
12069
  input: {
11580
12070
  [key: string]: string | number | boolean | Array<unknown> | {
11581
12071
  [key: string]: unknown;
@@ -11666,6 +12156,7 @@ export declare const listWorkflowsOptions: (options?: Options<ListWorkflowsData>
11666
12156
  } | null;
11667
12157
  }[], Error, {
11668
12158
  id: string;
12159
+ folder?: string;
11669
12160
  input: {
11670
12161
  [key: string]: string | number | boolean | Array<unknown> | {
11671
12162
  [key: string]: unknown;
@@ -11761,6 +12252,7 @@ export declare const listWorkflowsOptions: (options?: Options<ListWorkflowsData>
11761
12252
  }]>, "queryFn"> & {
11762
12253
  queryFn?: import("@tanstack/react-query").QueryFunction<{
11763
12254
  id: string;
12255
+ folder?: string;
11764
12256
  input: {
11765
12257
  [key: string]: string | number | boolean | Array<unknown> | {
11766
12258
  [key: string]: unknown;
@@ -11862,6 +12354,7 @@ export declare const listWorkflowsOptions: (options?: Options<ListWorkflowsData>
11862
12354
  }] & {
11863
12355
  [dataTagSymbol]: {
11864
12356
  id: string;
12357
+ folder?: string;
11865
12358
  input: {
11866
12359
  [key: string]: string | number | boolean | Array<unknown> | {
11867
12360
  [key: string]: unknown;
@@ -11964,6 +12457,7 @@ export declare const getWorkflowQueryKey: (options: Options<GetWorkflowData>) =>
11964
12457
  */
11965
12458
  export declare const getWorkflowOptions: (options: Options<GetWorkflowData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
11966
12459
  id: string;
12460
+ folder?: string;
11967
12461
  input: {
11968
12462
  [key: string]: string | number | boolean | Array<unknown> | {
11969
12463
  [key: string]: unknown;
@@ -12056,6 +12550,7 @@ export declare const getWorkflowOptions: (options: Options<GetWorkflowData>) =>
12056
12550
  error: string;
12057
12551
  }, {
12058
12552
  id: string;
12553
+ folder?: string;
12059
12554
  input: {
12060
12555
  [key: string]: string | number | boolean | Array<unknown> | {
12061
12556
  [key: string]: unknown;
@@ -12151,6 +12646,7 @@ export declare const getWorkflowOptions: (options: Options<GetWorkflowData>) =>
12151
12646
  }]>, "queryFn"> & {
12152
12647
  queryFn?: import("@tanstack/react-query").QueryFunction<{
12153
12648
  id: string;
12649
+ folder?: string;
12154
12650
  input: {
12155
12651
  [key: string]: string | number | boolean | Array<unknown> | {
12156
12652
  [key: string]: unknown;
@@ -12252,6 +12748,7 @@ export declare const getWorkflowOptions: (options: Options<GetWorkflowData>) =>
12252
12748
  }] & {
12253
12749
  [dataTagSymbol]: {
12254
12750
  id: string;
12751
+ folder?: string;
12255
12752
  input: {
12256
12753
  [key: string]: string | number | boolean | Array<unknown> | {
12257
12754
  [key: string]: unknown;
@@ -13373,17 +13870,7 @@ export declare const getWorkflowRunOptions: (options: Options<GetWorkflowRunData
13373
13870
  cacheWriteInputTokens?: number;
13374
13871
  textOutputTokens?: number;
13375
13872
  reasoningOutputTokens?: 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;
13873
+ audioDurationMs?: number;
13387
13874
  imageOutputTokens?: number;
13388
13875
  audioOutputTokens?: number;
13389
13876
  outputImages?: number;
@@ -13487,17 +13974,7 @@ export declare const getWorkflowRunOptions: (options: Options<GetWorkflowRunData
13487
13974
  cacheWriteInputTokens?: number;
13488
13975
  textOutputTokens?: number;
13489
13976
  reasoningOutputTokens?: 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;
13977
+ audioDurationMs?: number;
13501
13978
  imageOutputTokens?: number;
13502
13979
  audioOutputTokens?: number;
13503
13980
  outputImages?: number;
@@ -13606,17 +14083,7 @@ export declare const getWorkflowRunOptions: (options: Options<GetWorkflowRunData
13606
14083
  cacheWriteInputTokens?: number;
13607
14084
  textOutputTokens?: number;
13608
14085
  reasoningOutputTokens?: 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;
14086
+ audioDurationMs?: number;
13620
14087
  imageOutputTokens?: number;
13621
14088
  audioOutputTokens?: number;
13622
14089
  outputImages?: number;
@@ -13731,17 +14198,7 @@ export declare const getWorkflowRunOptions: (options: Options<GetWorkflowRunData
13731
14198
  cacheWriteInputTokens?: number;
13732
14199
  textOutputTokens?: number;
13733
14200
  reasoningOutputTokens?: 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;
14201
+ audioDurationMs?: number;
13745
14202
  imageOutputTokens?: number;
13746
14203
  audioOutputTokens?: number;
13747
14204
  outputImages?: number;
@@ -14728,6 +15185,7 @@ export declare const listRulesQueryKey: (options?: Options<ListRulesData>) => [P
14728
15185
  export declare const listRulesOptions: (options?: Options<ListRulesData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
14729
15186
  kind: "rule";
14730
15187
  id: string;
15188
+ folder?: string;
14731
15189
  subject: {
14732
15190
  kind: "object";
14733
15191
  objectTypeId: string;
@@ -14816,6 +15274,7 @@ export declare const listRulesOptions: (options?: Options<ListRulesData>) => imp
14816
15274
  }[], Error, {
14817
15275
  kind: "rule";
14818
15276
  id: string;
15277
+ folder?: string;
14819
15278
  subject: {
14820
15279
  kind: "object";
14821
15280
  objectTypeId: string;
@@ -14909,6 +15368,7 @@ export declare const listRulesOptions: (options?: Options<ListRulesData>) => imp
14909
15368
  queryFn?: import("@tanstack/react-query").QueryFunction<{
14910
15369
  kind: "rule";
14911
15370
  id: string;
15371
+ folder?: string;
14912
15372
  subject: {
14913
15373
  kind: "object";
14914
15374
  objectTypeId: string;
@@ -15008,6 +15468,7 @@ export declare const listRulesOptions: (options?: Options<ListRulesData>) => imp
15008
15468
  [dataTagSymbol]: {
15009
15469
  kind: "rule";
15010
15470
  id: string;
15471
+ folder?: string;
15011
15472
  subject: {
15012
15473
  kind: "object";
15013
15474
  objectTypeId: string;
@@ -15108,6 +15569,7 @@ export declare const getRuleQueryKey: (options: Options<GetRuleData>) => [Pick<O
15108
15569
  export declare const getRuleOptions: (options: Options<GetRuleData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
15109
15570
  kind: "rule";
15110
15571
  id: string;
15572
+ folder?: string;
15111
15573
  subject: {
15112
15574
  kind: "object";
15113
15575
  objectTypeId: string;
@@ -15198,6 +15660,7 @@ export declare const getRuleOptions: (options: Options<GetRuleData>) => import("
15198
15660
  }, {
15199
15661
  kind: "rule";
15200
15662
  id: string;
15663
+ folder?: string;
15201
15664
  subject: {
15202
15665
  kind: "object";
15203
15666
  objectTypeId: string;
@@ -15291,6 +15754,7 @@ export declare const getRuleOptions: (options: Options<GetRuleData>) => import("
15291
15754
  queryFn?: import("@tanstack/react-query").QueryFunction<{
15292
15755
  kind: "rule";
15293
15756
  id: string;
15757
+ folder?: string;
15294
15758
  subject: {
15295
15759
  kind: "object";
15296
15760
  objectTypeId: string;
@@ -15390,6 +15854,7 @@ export declare const getRuleOptions: (options: Options<GetRuleData>) => import("
15390
15854
  [dataTagSymbol]: {
15391
15855
  kind: "rule";
15392
15856
  id: string;
15857
+ folder?: string;
15393
15858
  subject: {
15394
15859
  kind: "object";
15395
15860
  objectTypeId: string;
@@ -16001,6 +16466,7 @@ export declare const listObjectTypesQueryKey: (options?: Options<ListObjectTypes
16001
16466
  */
16002
16467
  export declare const listObjectTypesOptions: (options?: Options<ListObjectTypesData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
16003
16468
  id: string;
16469
+ folder?: string;
16004
16470
  name: string;
16005
16471
  description?: string;
16006
16472
  extends?: string;
@@ -16096,6 +16562,7 @@ export declare const listObjectTypesOptions: (options?: Options<ListObjectTypesD
16096
16562
  }>;
16097
16563
  }[], Error, {
16098
16564
  id: string;
16565
+ folder?: string;
16099
16566
  name: string;
16100
16567
  description?: string;
16101
16568
  extends?: string;
@@ -16196,6 +16663,7 @@ export declare const listObjectTypesOptions: (options?: Options<ListObjectTypesD
16196
16663
  }]>, "queryFn"> & {
16197
16664
  queryFn?: import("@tanstack/react-query").QueryFunction<{
16198
16665
  id: string;
16666
+ folder?: string;
16199
16667
  name: string;
16200
16668
  description?: string;
16201
16669
  extends?: string;
@@ -16302,6 +16770,7 @@ export declare const listObjectTypesOptions: (options?: Options<ListObjectTypesD
16302
16770
  }] & {
16303
16771
  [dataTagSymbol]: {
16304
16772
  id: string;
16773
+ folder?: string;
16305
16774
  name: string;
16306
16775
  description?: string;
16307
16776
  extends?: string;
@@ -16409,6 +16878,7 @@ export declare const getObjectTypeQueryKey: (options: Options<GetObjectTypeData>
16409
16878
  */
16410
16879
  export declare const getObjectTypeOptions: (options: Options<GetObjectTypeData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
16411
16880
  id: string;
16881
+ folder?: string;
16412
16882
  name: string;
16413
16883
  description?: string;
16414
16884
  extends?: string;
@@ -16506,6 +16976,7 @@ export declare const getObjectTypeOptions: (options: Options<GetObjectTypeData>)
16506
16976
  error: string;
16507
16977
  }, {
16508
16978
  id: string;
16979
+ folder?: string;
16509
16980
  name: string;
16510
16981
  description?: string;
16511
16982
  extends?: string;
@@ -16606,6 +17077,7 @@ export declare const getObjectTypeOptions: (options: Options<GetObjectTypeData>)
16606
17077
  }]>, "queryFn"> & {
16607
17078
  queryFn?: import("@tanstack/react-query").QueryFunction<{
16608
17079
  id: string;
17080
+ folder?: string;
16609
17081
  name: string;
16610
17082
  description?: string;
16611
17083
  extends?: string;
@@ -16712,6 +17184,7 @@ export declare const getObjectTypeOptions: (options: Options<GetObjectTypeData>)
16712
17184
  }] & {
16713
17185
  [dataTagSymbol]: {
16714
17186
  id: string;
17187
+ folder?: string;
16715
17188
  name: string;
16716
17189
  description?: string;
16717
17190
  extends?: string;
@@ -17755,6 +18228,7 @@ export declare const listActionsQueryKey: (options?: Options<ListActionsData>) =
17755
18228
  */
17756
18229
  export declare const listActionsOptions: (options?: Options<ListActionsData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
17757
18230
  id: string;
18231
+ folder?: string;
17758
18232
  name: string;
17759
18233
  description?: string;
17760
18234
  objectTypeId?: string;
@@ -17775,6 +18249,7 @@ export declare const listActionsOptions: (options?: Options<ListActionsData>) =>
17775
18249
  };
17776
18250
  }[], Error, {
17777
18251
  id: string;
18252
+ folder?: string;
17778
18253
  name: string;
17779
18254
  description?: string;
17780
18255
  objectTypeId?: string;
@@ -17800,6 +18275,7 @@ export declare const listActionsOptions: (options?: Options<ListActionsData>) =>
17800
18275
  }]>, "queryFn"> & {
17801
18276
  queryFn?: import("@tanstack/react-query").QueryFunction<{
17802
18277
  id: string;
18278
+ folder?: string;
17803
18279
  name: string;
17804
18280
  description?: string;
17805
18281
  objectTypeId?: string;
@@ -17831,6 +18307,7 @@ export declare const listActionsOptions: (options?: Options<ListActionsData>) =>
17831
18307
  }] & {
17832
18308
  [dataTagSymbol]: {
17833
18309
  id: string;
18310
+ folder?: string;
17834
18311
  name: string;
17835
18312
  description?: string;
17836
18313
  objectTypeId?: string;
@@ -17863,6 +18340,7 @@ export declare const getActionQueryKey: (options: Options<GetActionData>) => [Pi
17863
18340
  */
17864
18341
  export declare const getActionOptions: (options: Options<GetActionData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
17865
18342
  id: string;
18343
+ folder?: string;
17866
18344
  name: string;
17867
18345
  description?: string;
17868
18346
  objectTypeId?: string;
@@ -17888,6 +18366,7 @@ export declare const getActionOptions: (options: Options<GetActionData>) => impo
17888
18366
  error: string;
17889
18367
  }, {
17890
18368
  id: string;
18369
+ folder?: string;
17891
18370
  name: string;
17892
18371
  description?: string;
17893
18372
  objectTypeId?: string;
@@ -17916,6 +18395,7 @@ export declare const getActionOptions: (options: Options<GetActionData>) => impo
17916
18395
  }]>, "queryFn"> & {
17917
18396
  queryFn?: import("@tanstack/react-query").QueryFunction<{
17918
18397
  id: string;
18398
+ folder?: string;
17919
18399
  name: string;
17920
18400
  description?: string;
17921
18401
  objectTypeId?: string;
@@ -17950,6 +18430,7 @@ export declare const getActionOptions: (options: Options<GetActionData>) => impo
17950
18430
  }] & {
17951
18431
  [dataTagSymbol]: {
17952
18432
  id: string;
18433
+ folder?: string;
17953
18434
  name: string;
17954
18435
  description?: string;
17955
18436
  objectTypeId?: string;
@@ -18850,6 +19331,24 @@ export declare const listAgentThreadsOptions: (options?: Options<ListAgentThread
18850
19331
  messageCount: number;
18851
19332
  createdAt: string;
18852
19333
  updatedAt: string;
19334
+ read?: {
19335
+ threadId: string;
19336
+ throughSeq: number;
19337
+ headSeq: number;
19338
+ unread: number;
19339
+ readAt?: string;
19340
+ };
19341
+ lastRun?: {
19342
+ id: string;
19343
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
19344
+ finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "error" | "other" | "unknown";
19345
+ errorCode?: "internal.unexpected" | "runtime.cancelled" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
19346
+ completedAt?: string;
19347
+ requestedBy?: {
19348
+ type: "user" | "serviceAccount";
19349
+ id: string;
19350
+ };
19351
+ };
18853
19352
  approvalMode?: "manual" | "accept-edits" | "auto";
18854
19353
  approvalModeSource?: "thread" | "default" | "fallback" | "run";
18855
19354
  }>;
@@ -18921,6 +19420,24 @@ export declare const listAgentThreadsOptions: (options?: Options<ListAgentThread
18921
19420
  messageCount: number;
18922
19421
  createdAt: string;
18923
19422
  updatedAt: string;
19423
+ read?: {
19424
+ threadId: string;
19425
+ throughSeq: number;
19426
+ headSeq: number;
19427
+ unread: number;
19428
+ readAt?: string;
19429
+ };
19430
+ lastRun?: {
19431
+ id: string;
19432
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
19433
+ finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "error" | "other" | "unknown";
19434
+ errorCode?: "internal.unexpected" | "runtime.cancelled" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
19435
+ completedAt?: string;
19436
+ requestedBy?: {
19437
+ type: "user" | "serviceAccount";
19438
+ id: string;
19439
+ };
19440
+ };
18924
19441
  approvalMode?: "manual" | "accept-edits" | "auto";
18925
19442
  approvalModeSource?: "thread" | "default" | "fallback" | "run";
18926
19443
  }>;
@@ -18997,6 +19514,24 @@ export declare const listAgentThreadsOptions: (options?: Options<ListAgentThread
18997
19514
  messageCount: number;
18998
19515
  createdAt: string;
18999
19516
  updatedAt: string;
19517
+ read?: {
19518
+ threadId: string;
19519
+ throughSeq: number;
19520
+ headSeq: number;
19521
+ unread: number;
19522
+ readAt?: string;
19523
+ };
19524
+ lastRun?: {
19525
+ id: string;
19526
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
19527
+ finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "error" | "other" | "unknown";
19528
+ errorCode?: "internal.unexpected" | "runtime.cancelled" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
19529
+ completedAt?: string;
19530
+ requestedBy?: {
19531
+ type: "user" | "serviceAccount";
19532
+ id: string;
19533
+ };
19534
+ };
19000
19535
  approvalMode?: "manual" | "accept-edits" | "auto";
19001
19536
  approvalModeSource?: "thread" | "default" | "fallback" | "run";
19002
19537
  }>;
@@ -19079,6 +19614,24 @@ export declare const listAgentThreadsOptions: (options?: Options<ListAgentThread
19079
19614
  messageCount: number;
19080
19615
  createdAt: string;
19081
19616
  updatedAt: string;
19617
+ read?: {
19618
+ threadId: string;
19619
+ throughSeq: number;
19620
+ headSeq: number;
19621
+ unread: number;
19622
+ readAt?: string;
19623
+ };
19624
+ lastRun?: {
19625
+ id: string;
19626
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
19627
+ finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "error" | "other" | "unknown";
19628
+ errorCode?: "internal.unexpected" | "runtime.cancelled" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
19629
+ completedAt?: string;
19630
+ requestedBy?: {
19631
+ type: "user" | "serviceAccount";
19632
+ id: string;
19633
+ };
19634
+ };
19082
19635
  approvalMode?: "manual" | "accept-edits" | "auto";
19083
19636
  approvalModeSource?: "thread" | "default" | "fallback" | "run";
19084
19637
  }>;
@@ -19158,6 +19711,24 @@ export declare const listAgentThreadsInfiniteOptions: (options?: Options<ListAge
19158
19711
  messageCount: number;
19159
19712
  createdAt: string;
19160
19713
  updatedAt: string;
19714
+ read?: {
19715
+ threadId: string;
19716
+ throughSeq: number;
19717
+ headSeq: number;
19718
+ unread: number;
19719
+ readAt?: string;
19720
+ };
19721
+ lastRun?: {
19722
+ id: string;
19723
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
19724
+ finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "error" | "other" | "unknown";
19725
+ errorCode?: "internal.unexpected" | "runtime.cancelled" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
19726
+ completedAt?: string;
19727
+ requestedBy?: {
19728
+ type: "user" | "serviceAccount";
19729
+ id: string;
19730
+ };
19731
+ };
19161
19732
  approvalMode?: "manual" | "accept-edits" | "auto";
19162
19733
  approvalModeSource?: "thread" | "default" | "fallback" | "run";
19163
19734
  }>;
@@ -19229,6 +19800,24 @@ export declare const listAgentThreadsInfiniteOptions: (options?: Options<ListAge
19229
19800
  messageCount: number;
19230
19801
  createdAt: string;
19231
19802
  updatedAt: string;
19803
+ read?: {
19804
+ threadId: string;
19805
+ throughSeq: number;
19806
+ headSeq: number;
19807
+ unread: number;
19808
+ readAt?: string;
19809
+ };
19810
+ lastRun?: {
19811
+ id: string;
19812
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
19813
+ finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "error" | "other" | "unknown";
19814
+ errorCode?: "internal.unexpected" | "runtime.cancelled" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
19815
+ completedAt?: string;
19816
+ requestedBy?: {
19817
+ type: "user" | "serviceAccount";
19818
+ id: string;
19819
+ };
19820
+ };
19232
19821
  approvalMode?: "manual" | "accept-edits" | "auto";
19233
19822
  approvalModeSource?: "thread" | "default" | "fallback" | "run";
19234
19823
  }>;
@@ -19305,6 +19894,24 @@ export declare const listAgentThreadsInfiniteOptions: (options?: Options<ListAge
19305
19894
  messageCount: number;
19306
19895
  createdAt: string;
19307
19896
  updatedAt: string;
19897
+ read?: {
19898
+ threadId: string;
19899
+ throughSeq: number;
19900
+ headSeq: number;
19901
+ unread: number;
19902
+ readAt?: string;
19903
+ };
19904
+ lastRun?: {
19905
+ id: string;
19906
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
19907
+ finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "error" | "other" | "unknown";
19908
+ errorCode?: "internal.unexpected" | "runtime.cancelled" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
19909
+ completedAt?: string;
19910
+ requestedBy?: {
19911
+ type: "user" | "serviceAccount";
19912
+ id: string;
19913
+ };
19914
+ };
19308
19915
  approvalMode?: "manual" | "accept-edits" | "auto";
19309
19916
  approvalModeSource?: "thread" | "default" | "fallback" | "run";
19310
19917
  }>;
@@ -19380,6 +19987,24 @@ export declare const listAgentThreadsInfiniteOptions: (options?: Options<ListAge
19380
19987
  messageCount: number;
19381
19988
  createdAt: string;
19382
19989
  updatedAt: string;
19990
+ read?: {
19991
+ threadId: string;
19992
+ throughSeq: number;
19993
+ headSeq: number;
19994
+ unread: number;
19995
+ readAt?: string;
19996
+ };
19997
+ lastRun?: {
19998
+ id: string;
19999
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
20000
+ finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "error" | "other" | "unknown";
20001
+ errorCode?: "internal.unexpected" | "runtime.cancelled" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
20002
+ completedAt?: string;
20003
+ requestedBy?: {
20004
+ type: "user" | "serviceAccount";
20005
+ id: string;
20006
+ };
20007
+ };
19383
20008
  approvalMode?: "manual" | "accept-edits" | "auto";
19384
20009
  approvalModeSource?: "thread" | "default" | "fallback" | "run";
19385
20010
  }>;
@@ -19458,6 +20083,24 @@ export declare const listAgentThreadsInfiniteOptions: (options?: Options<ListAge
19458
20083
  messageCount: number;
19459
20084
  createdAt: string;
19460
20085
  updatedAt: string;
20086
+ read?: {
20087
+ threadId: string;
20088
+ throughSeq: number;
20089
+ headSeq: number;
20090
+ unread: number;
20091
+ readAt?: string;
20092
+ };
20093
+ lastRun?: {
20094
+ id: string;
20095
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
20096
+ finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "error" | "other" | "unknown";
20097
+ errorCode?: "internal.unexpected" | "runtime.cancelled" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
20098
+ completedAt?: string;
20099
+ requestedBy?: {
20100
+ type: "user" | "serviceAccount";
20101
+ id: string;
20102
+ };
20103
+ };
19461
20104
  approvalMode?: "manual" | "accept-edits" | "auto";
19462
20105
  approvalModeSource?: "thread" | "default" | "fallback" | "run";
19463
20106
  }>;
@@ -19544,6 +20187,24 @@ export declare const getAgentThreadOptions: (options: Options<GetAgentThreadData
19544
20187
  messageCount: number;
19545
20188
  createdAt: string;
19546
20189
  updatedAt: string;
20190
+ read?: {
20191
+ threadId: string;
20192
+ throughSeq: number;
20193
+ headSeq: number;
20194
+ unread: number;
20195
+ readAt?: string;
20196
+ };
20197
+ lastRun?: {
20198
+ id: string;
20199
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
20200
+ finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "error" | "other" | "unknown";
20201
+ errorCode?: "internal.unexpected" | "runtime.cancelled" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
20202
+ completedAt?: string;
20203
+ requestedBy?: {
20204
+ type: "user" | "serviceAccount";
20205
+ id: string;
20206
+ };
20207
+ };
19547
20208
  approvalMode?: "manual" | "accept-edits" | "auto";
19548
20209
  approvalModeSource?: "thread" | "default" | "fallback" | "run";
19549
20210
  }, GetAgentThreadError, {
@@ -19611,6 +20272,24 @@ export declare const getAgentThreadOptions: (options: Options<GetAgentThreadData
19611
20272
  messageCount: number;
19612
20273
  createdAt: string;
19613
20274
  updatedAt: string;
20275
+ read?: {
20276
+ threadId: string;
20277
+ throughSeq: number;
20278
+ headSeq: number;
20279
+ unread: number;
20280
+ readAt?: string;
20281
+ };
20282
+ lastRun?: {
20283
+ id: string;
20284
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
20285
+ finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "error" | "other" | "unknown";
20286
+ errorCode?: "internal.unexpected" | "runtime.cancelled" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
20287
+ completedAt?: string;
20288
+ requestedBy?: {
20289
+ type: "user" | "serviceAccount";
20290
+ id: string;
20291
+ };
20292
+ };
19614
20293
  approvalMode?: "manual" | "accept-edits" | "auto";
19615
20294
  approvalModeSource?: "thread" | "default" | "fallback" | "run";
19616
20295
  }, [Pick<Options<GetAgentThreadData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
@@ -19683,6 +20362,24 @@ export declare const getAgentThreadOptions: (options: Options<GetAgentThreadData
19683
20362
  messageCount: number;
19684
20363
  createdAt: string;
19685
20364
  updatedAt: string;
20365
+ read?: {
20366
+ threadId: string;
20367
+ throughSeq: number;
20368
+ headSeq: number;
20369
+ unread: number;
20370
+ readAt?: string;
20371
+ };
20372
+ lastRun?: {
20373
+ id: string;
20374
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
20375
+ finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "error" | "other" | "unknown";
20376
+ errorCode?: "internal.unexpected" | "runtime.cancelled" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
20377
+ completedAt?: string;
20378
+ requestedBy?: {
20379
+ type: "user" | "serviceAccount";
20380
+ id: string;
20381
+ };
20382
+ };
19686
20383
  approvalMode?: "manual" | "accept-edits" | "auto";
19687
20384
  approvalModeSource?: "thread" | "default" | "fallback" | "run";
19688
20385
  }, [Pick<Options<GetAgentThreadData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
@@ -19761,6 +20458,24 @@ export declare const getAgentThreadOptions: (options: Options<GetAgentThreadData
19761
20458
  messageCount: number;
19762
20459
  createdAt: string;
19763
20460
  updatedAt: string;
20461
+ read?: {
20462
+ threadId: string;
20463
+ throughSeq: number;
20464
+ headSeq: number;
20465
+ unread: number;
20466
+ readAt?: string;
20467
+ };
20468
+ lastRun?: {
20469
+ id: string;
20470
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
20471
+ finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "error" | "other" | "unknown";
20472
+ errorCode?: "internal.unexpected" | "runtime.cancelled" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
20473
+ completedAt?: string;
20474
+ requestedBy?: {
20475
+ type: "user" | "serviceAccount";
20476
+ id: string;
20477
+ };
20478
+ };
19764
20479
  approvalMode?: "manual" | "accept-edits" | "auto";
19765
20480
  approvalModeSource?: "thread" | "default" | "fallback" | "run";
19766
20481
  };
@@ -19976,7 +20691,7 @@ export declare const listAgentThreadMessagesOptions: (options: Options<ListAgent
19976
20691
  afterAnswer?: true;
19977
20692
  }>;
19978
20693
  annotations: Array<{
19979
- code: "step_limit_reached" | "output_limit_reached";
20694
+ code: "step_limit_reached" | "output_limit_reached" | "workspace_not_saved";
19980
20695
  severity: "warning" | "error";
19981
20696
  scope: "run";
19982
20697
  message: string;
@@ -20178,7 +20893,7 @@ export declare const listAgentThreadMessagesOptions: (options: Options<ListAgent
20178
20893
  afterAnswer?: true;
20179
20894
  }>;
20180
20895
  annotations: Array<{
20181
- code: "step_limit_reached" | "output_limit_reached";
20896
+ code: "step_limit_reached" | "output_limit_reached" | "workspace_not_saved";
20182
20897
  severity: "warning" | "error";
20183
20898
  scope: "run";
20184
20899
  message: string;
@@ -20385,7 +21100,7 @@ export declare const listAgentThreadMessagesOptions: (options: Options<ListAgent
20385
21100
  afterAnswer?: true;
20386
21101
  }>;
20387
21102
  annotations: Array<{
20388
- code: "step_limit_reached" | "output_limit_reached";
21103
+ code: "step_limit_reached" | "output_limit_reached" | "workspace_not_saved";
20389
21104
  severity: "warning" | "error";
20390
21105
  scope: "run";
20391
21106
  message: string;
@@ -20598,7 +21313,7 @@ export declare const listAgentThreadMessagesOptions: (options: Options<ListAgent
20598
21313
  afterAnswer?: true;
20599
21314
  }>;
20600
21315
  annotations: Array<{
20601
- code: "step_limit_reached" | "output_limit_reached";
21316
+ code: "step_limit_reached" | "output_limit_reached" | "workspace_not_saved";
20602
21317
  severity: "warning" | "error";
20603
21318
  scope: "run";
20604
21319
  message: string;
@@ -20808,7 +21523,7 @@ export declare const listAgentThreadMessagesInfiniteOptions: (options: Options<L
20808
21523
  afterAnswer?: true;
20809
21524
  }>;
20810
21525
  annotations: Array<{
20811
- code: "step_limit_reached" | "output_limit_reached";
21526
+ code: "step_limit_reached" | "output_limit_reached" | "workspace_not_saved";
20812
21527
  severity: "warning" | "error";
20813
21528
  scope: "run";
20814
21529
  message: string;
@@ -21010,7 +21725,7 @@ export declare const listAgentThreadMessagesInfiniteOptions: (options: Options<L
21010
21725
  afterAnswer?: true;
21011
21726
  }>;
21012
21727
  annotations: Array<{
21013
- code: "step_limit_reached" | "output_limit_reached";
21728
+ code: "step_limit_reached" | "output_limit_reached" | "workspace_not_saved";
21014
21729
  severity: "warning" | "error";
21015
21730
  scope: "run";
21016
21731
  message: string;
@@ -21217,7 +21932,7 @@ export declare const listAgentThreadMessagesInfiniteOptions: (options: Options<L
21217
21932
  afterAnswer?: true;
21218
21933
  }>;
21219
21934
  annotations: Array<{
21220
- code: "step_limit_reached" | "output_limit_reached";
21935
+ code: "step_limit_reached" | "output_limit_reached" | "workspace_not_saved";
21221
21936
  severity: "warning" | "error";
21222
21937
  scope: "run";
21223
21938
  message: string;
@@ -21423,7 +22138,7 @@ export declare const listAgentThreadMessagesInfiniteOptions: (options: Options<L
21423
22138
  afterAnswer?: true;
21424
22139
  }>;
21425
22140
  annotations: Array<{
21426
- code: "step_limit_reached" | "output_limit_reached";
22141
+ code: "step_limit_reached" | "output_limit_reached" | "workspace_not_saved";
21427
22142
  severity: "warning" | "error";
21428
22143
  scope: "run";
21429
22144
  message: string;
@@ -21632,7 +22347,7 @@ export declare const listAgentThreadMessagesInfiniteOptions: (options: Options<L
21632
22347
  afterAnswer?: true;
21633
22348
  }>;
21634
22349
  annotations: Array<{
21635
- code: "step_limit_reached" | "output_limit_reached";
22350
+ code: "step_limit_reached" | "output_limit_reached" | "workspace_not_saved";
21636
22351
  severity: "warning" | "error";
21637
22352
  scope: "run";
21638
22353
  message: string;
@@ -21890,6 +22605,7 @@ export declare const listAgentThreadInboxOptions: (options: Options<ListAgentThr
21890
22605
  timeZone?: string;
21891
22606
  locale?: string;
21892
22607
  immediate?: boolean;
22608
+ replacesMessageId?: string;
21893
22609
  createdAt: string;
21894
22610
  updatedAt: string;
21895
22611
  }>;
@@ -22082,6 +22798,7 @@ export declare const listAgentThreadInboxOptions: (options: Options<ListAgentThr
22082
22798
  timeZone?: string;
22083
22799
  locale?: string;
22084
22800
  immediate?: boolean;
22801
+ replacesMessageId?: string;
22085
22802
  createdAt: string;
22086
22803
  updatedAt: string;
22087
22804
  }>;
@@ -22279,6 +22996,7 @@ export declare const listAgentThreadInboxOptions: (options: Options<ListAgentThr
22279
22996
  timeZone?: string;
22280
22997
  locale?: string;
22281
22998
  immediate?: boolean;
22999
+ replacesMessageId?: string;
22282
23000
  createdAt: string;
22283
23001
  updatedAt: string;
22284
23002
  }>;
@@ -22482,6 +23200,7 @@ export declare const listAgentThreadInboxOptions: (options: Options<ListAgentThr
22482
23200
  timeZone?: string;
22483
23201
  locale?: string;
22484
23202
  immediate?: boolean;
23203
+ replacesMessageId?: string;
22485
23204
  createdAt: string;
22486
23205
  updatedAt: string;
22487
23206
  }>;
@@ -22497,6 +23216,12 @@ export declare const withdrawAgentThreadInboxItemMutation: (options?: Partial<Op
22497
23216
  * Update a waiting agent thread message
22498
23217
  */
22499
23218
  export declare const updateAgentThreadInboxItemMutation: (options?: Partial<Options<UpdateAgentThreadInboxItemData>>) => UseMutationOptions<UpdateAgentThreadInboxItemResponse, UpdateAgentThreadInboxItemError, Options<UpdateAgentThreadInboxItemData>>;
23219
+ /**
23220
+ * Edit an agent thread message and restart from that turn
23221
+ *
23222
+ * Replaces a user-authored message in place, removes any messages and compaction summaries from that turn onward, and starts a new turn from the edited message. While a turn runs, the edit stops it and waits in the thread's inbox: the turn's end rewinds the thread and starts the edited message.
23223
+ */
23224
+ export declare const editAgentThreadMessageMutation: (options?: Partial<Options<EditAgentThreadMessageData>>) => UseMutationOptions<EditAgentThreadMessageResponse, EditAgentThreadMessageError, Options<EditAgentThreadMessageData>>;
22500
23225
  /**
22501
23226
  * Cancel an agent thread's active run
22502
23227
  *
@@ -22666,6 +23391,10 @@ export declare const listAgentThreadRunsOptions: (options: Options<ListAgentThre
22666
23391
  };
22667
23392
  approvalMode?: "manual" | "accept-edits" | "auto";
22668
23393
  runsOn?: "computer";
23394
+ computer?: {
23395
+ id: string;
23396
+ folder: string;
23397
+ };
22669
23398
  modelId?: string;
22670
23399
  finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "error" | "other" | "unknown";
22671
23400
  usage?: {
@@ -22694,7 +23423,7 @@ export declare const listAgentThreadRunsOptions: (options: Options<ListAgentThre
22694
23423
  unvaluedCallCount: number;
22695
23424
  };
22696
23425
  diagnostics?: Array<{
22697
- code: "step_limit_reached" | "output_limit_reached";
23426
+ code: "step_limit_reached" | "output_limit_reached" | "workspace_not_saved";
22698
23427
  severity: "warning" | "error";
22699
23428
  scope: "run";
22700
23429
  message: string;
@@ -22742,6 +23471,10 @@ export declare const listAgentThreadRunsOptions: (options: Options<ListAgentThre
22742
23471
  };
22743
23472
  approvalMode?: "manual" | "accept-edits" | "auto";
22744
23473
  runsOn?: "computer";
23474
+ computer?: {
23475
+ id: string;
23476
+ folder: string;
23477
+ };
22745
23478
  modelId?: string;
22746
23479
  finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "error" | "other" | "unknown";
22747
23480
  usage?: {
@@ -22770,7 +23503,7 @@ export declare const listAgentThreadRunsOptions: (options: Options<ListAgentThre
22770
23503
  unvaluedCallCount: number;
22771
23504
  };
22772
23505
  diagnostics?: Array<{
22773
- code: "step_limit_reached" | "output_limit_reached";
23506
+ code: "step_limit_reached" | "output_limit_reached" | "workspace_not_saved";
22774
23507
  severity: "warning" | "error";
22775
23508
  scope: "run";
22776
23509
  message: string;
@@ -22823,6 +23556,10 @@ export declare const listAgentThreadRunsOptions: (options: Options<ListAgentThre
22823
23556
  };
22824
23557
  approvalMode?: "manual" | "accept-edits" | "auto";
22825
23558
  runsOn?: "computer";
23559
+ computer?: {
23560
+ id: string;
23561
+ folder: string;
23562
+ };
22826
23563
  modelId?: string;
22827
23564
  finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "error" | "other" | "unknown";
22828
23565
  usage?: {
@@ -22851,7 +23588,7 @@ export declare const listAgentThreadRunsOptions: (options: Options<ListAgentThre
22851
23588
  unvaluedCallCount: number;
22852
23589
  };
22853
23590
  diagnostics?: Array<{
22854
- code: "step_limit_reached" | "output_limit_reached";
23591
+ code: "step_limit_reached" | "output_limit_reached" | "workspace_not_saved";
22855
23592
  severity: "warning" | "error";
22856
23593
  scope: "run";
22857
23594
  message: string;
@@ -22910,6 +23647,10 @@ export declare const listAgentThreadRunsOptions: (options: Options<ListAgentThre
22910
23647
  };
22911
23648
  approvalMode?: "manual" | "accept-edits" | "auto";
22912
23649
  runsOn?: "computer";
23650
+ computer?: {
23651
+ id: string;
23652
+ folder: string;
23653
+ };
22913
23654
  modelId?: string;
22914
23655
  finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "error" | "other" | "unknown";
22915
23656
  usage?: {
@@ -22938,7 +23679,7 @@ export declare const listAgentThreadRunsOptions: (options: Options<ListAgentThre
22938
23679
  unvaluedCallCount: number;
22939
23680
  };
22940
23681
  diagnostics?: Array<{
22941
- code: "step_limit_reached" | "output_limit_reached";
23682
+ code: "step_limit_reached" | "output_limit_reached" | "workspace_not_saved";
22942
23683
  severity: "warning" | "error";
22943
23684
  scope: "run";
22944
23685
  message: string;
@@ -22994,6 +23735,10 @@ export declare const listAgentThreadRunsInfiniteOptions: (options: Options<ListA
22994
23735
  };
22995
23736
  approvalMode?: "manual" | "accept-edits" | "auto";
22996
23737
  runsOn?: "computer";
23738
+ computer?: {
23739
+ id: string;
23740
+ folder: string;
23741
+ };
22997
23742
  modelId?: string;
22998
23743
  finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "error" | "other" | "unknown";
22999
23744
  usage?: {
@@ -23022,7 +23767,7 @@ export declare const listAgentThreadRunsInfiniteOptions: (options: Options<ListA
23022
23767
  unvaluedCallCount: number;
23023
23768
  };
23024
23769
  diagnostics?: Array<{
23025
- code: "step_limit_reached" | "output_limit_reached";
23770
+ code: "step_limit_reached" | "output_limit_reached" | "workspace_not_saved";
23026
23771
  severity: "warning" | "error";
23027
23772
  scope: "run";
23028
23773
  message: string;
@@ -23070,6 +23815,10 @@ export declare const listAgentThreadRunsInfiniteOptions: (options: Options<ListA
23070
23815
  };
23071
23816
  approvalMode?: "manual" | "accept-edits" | "auto";
23072
23817
  runsOn?: "computer";
23818
+ computer?: {
23819
+ id: string;
23820
+ folder: string;
23821
+ };
23073
23822
  modelId?: string;
23074
23823
  finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "error" | "other" | "unknown";
23075
23824
  usage?: {
@@ -23098,7 +23847,7 @@ export declare const listAgentThreadRunsInfiniteOptions: (options: Options<ListA
23098
23847
  unvaluedCallCount: number;
23099
23848
  };
23100
23849
  diagnostics?: Array<{
23101
- code: "step_limit_reached" | "output_limit_reached";
23850
+ code: "step_limit_reached" | "output_limit_reached" | "workspace_not_saved";
23102
23851
  severity: "warning" | "error";
23103
23852
  scope: "run";
23104
23853
  message: string;
@@ -23151,6 +23900,10 @@ export declare const listAgentThreadRunsInfiniteOptions: (options: Options<ListA
23151
23900
  };
23152
23901
  approvalMode?: "manual" | "accept-edits" | "auto";
23153
23902
  runsOn?: "computer";
23903
+ computer?: {
23904
+ id: string;
23905
+ folder: string;
23906
+ };
23154
23907
  modelId?: string;
23155
23908
  finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "error" | "other" | "unknown";
23156
23909
  usage?: {
@@ -23179,7 +23932,7 @@ export declare const listAgentThreadRunsInfiniteOptions: (options: Options<ListA
23179
23932
  unvaluedCallCount: number;
23180
23933
  };
23181
23934
  diagnostics?: Array<{
23182
- code: "step_limit_reached" | "output_limit_reached";
23935
+ code: "step_limit_reached" | "output_limit_reached" | "workspace_not_saved";
23183
23936
  severity: "warning" | "error";
23184
23937
  scope: "run";
23185
23938
  message: string;
@@ -23231,6 +23984,10 @@ export declare const listAgentThreadRunsInfiniteOptions: (options: Options<ListA
23231
23984
  };
23232
23985
  approvalMode?: "manual" | "accept-edits" | "auto";
23233
23986
  runsOn?: "computer";
23987
+ computer?: {
23988
+ id: string;
23989
+ folder: string;
23990
+ };
23234
23991
  modelId?: string;
23235
23992
  finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "error" | "other" | "unknown";
23236
23993
  usage?: {
@@ -23259,7 +24016,7 @@ export declare const listAgentThreadRunsInfiniteOptions: (options: Options<ListA
23259
24016
  unvaluedCallCount: number;
23260
24017
  };
23261
24018
  diagnostics?: Array<{
23262
- code: "step_limit_reached" | "output_limit_reached";
24019
+ code: "step_limit_reached" | "output_limit_reached" | "workspace_not_saved";
23263
24020
  severity: "warning" | "error";
23264
24021
  scope: "run";
23265
24022
  message: string;
@@ -23314,6 +24071,10 @@ export declare const listAgentThreadRunsInfiniteOptions: (options: Options<ListA
23314
24071
  };
23315
24072
  approvalMode?: "manual" | "accept-edits" | "auto";
23316
24073
  runsOn?: "computer";
24074
+ computer?: {
24075
+ id: string;
24076
+ folder: string;
24077
+ };
23317
24078
  modelId?: string;
23318
24079
  finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "error" | "other" | "unknown";
23319
24080
  usage?: {
@@ -23342,7 +24103,7 @@ export declare const listAgentThreadRunsInfiniteOptions: (options: Options<ListA
23342
24103
  unvaluedCallCount: number;
23343
24104
  };
23344
24105
  diagnostics?: Array<{
23345
- code: "step_limit_reached" | "output_limit_reached";
24106
+ code: "step_limit_reached" | "output_limit_reached" | "workspace_not_saved";
23346
24107
  severity: "warning" | "error";
23347
24108
  scope: "run";
23348
24109
  message: string;
@@ -23403,6 +24164,10 @@ export declare const getAgentRunOptions: (options: Options<GetAgentRunData>) =>
23403
24164
  };
23404
24165
  approvalMode?: "manual" | "accept-edits" | "auto";
23405
24166
  runsOn?: "computer";
24167
+ computer?: {
24168
+ id: string;
24169
+ folder: string;
24170
+ };
23406
24171
  modelId?: string;
23407
24172
  finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "error" | "other" | "unknown";
23408
24173
  usage?: {
@@ -23431,7 +24196,7 @@ export declare const getAgentRunOptions: (options: Options<GetAgentRunData>) =>
23431
24196
  unvaluedCallCount: number;
23432
24197
  };
23433
24198
  diagnostics?: Array<{
23434
- code: "step_limit_reached" | "output_limit_reached";
24199
+ code: "step_limit_reached" | "output_limit_reached" | "workspace_not_saved";
23435
24200
  severity: "warning" | "error";
23436
24201
  scope: "run";
23437
24202
  message: string;
@@ -23475,6 +24240,10 @@ export declare const getAgentRunOptions: (options: Options<GetAgentRunData>) =>
23475
24240
  };
23476
24241
  approvalMode?: "manual" | "accept-edits" | "auto";
23477
24242
  runsOn?: "computer";
24243
+ computer?: {
24244
+ id: string;
24245
+ folder: string;
24246
+ };
23478
24247
  modelId?: string;
23479
24248
  finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "error" | "other" | "unknown";
23480
24249
  usage?: {
@@ -23503,7 +24272,7 @@ export declare const getAgentRunOptions: (options: Options<GetAgentRunData>) =>
23503
24272
  unvaluedCallCount: number;
23504
24273
  };
23505
24274
  diagnostics?: Array<{
23506
- code: "step_limit_reached" | "output_limit_reached";
24275
+ code: "step_limit_reached" | "output_limit_reached" | "workspace_not_saved";
23507
24276
  severity: "warning" | "error";
23508
24277
  scope: "run";
23509
24278
  message: string;
@@ -23552,6 +24321,10 @@ export declare const getAgentRunOptions: (options: Options<GetAgentRunData>) =>
23552
24321
  };
23553
24322
  approvalMode?: "manual" | "accept-edits" | "auto";
23554
24323
  runsOn?: "computer";
24324
+ computer?: {
24325
+ id: string;
24326
+ folder: string;
24327
+ };
23555
24328
  modelId?: string;
23556
24329
  finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "error" | "other" | "unknown";
23557
24330
  usage?: {
@@ -23580,7 +24353,7 @@ export declare const getAgentRunOptions: (options: Options<GetAgentRunData>) =>
23580
24353
  unvaluedCallCount: number;
23581
24354
  };
23582
24355
  diagnostics?: Array<{
23583
- code: "step_limit_reached" | "output_limit_reached";
24356
+ code: "step_limit_reached" | "output_limit_reached" | "workspace_not_saved";
23584
24357
  severity: "warning" | "error";
23585
24358
  scope: "run";
23586
24359
  message: string;
@@ -23635,6 +24408,10 @@ export declare const getAgentRunOptions: (options: Options<GetAgentRunData>) =>
23635
24408
  };
23636
24409
  approvalMode?: "manual" | "accept-edits" | "auto";
23637
24410
  runsOn?: "computer";
24411
+ computer?: {
24412
+ id: string;
24413
+ folder: string;
24414
+ };
23638
24415
  modelId?: string;
23639
24416
  finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "error" | "other" | "unknown";
23640
24417
  usage?: {
@@ -23663,7 +24440,7 @@ export declare const getAgentRunOptions: (options: Options<GetAgentRunData>) =>
23663
24440
  unvaluedCallCount: number;
23664
24441
  };
23665
24442
  diagnostics?: Array<{
23666
- code: "step_limit_reached" | "output_limit_reached";
24443
+ code: "step_limit_reached" | "output_limit_reached" | "workspace_not_saved";
23667
24444
  severity: "warning" | "error";
23668
24445
  scope: "run";
23669
24446
  message: string;
@@ -23695,6 +24472,12 @@ export declare const getAgentRunOptions: (options: Options<GetAgentRunData>) =>
23695
24472
  * A turn, or a sub-agent's run. Whoever asked for the turn, or the conversation's owner, can stop it, and a sub-agent's run as its turn. A queued run is cancelled at once; a running one is still running in the response, with the stop signal sent. A sub-agent's parent reads that it was stopped.
23696
24473
  */
23697
24474
  export declare const cancelAgentRunByIdMutation: (options?: Partial<Options<CancelAgentRunByIdData>>) => UseMutationOptions<CancelAgentRunByIdResponse, CancelAgentRunByIdError, Options<CancelAgentRunByIdData>>;
24475
+ /**
24476
+ * Mark how far you have read an Agent thread
24477
+ *
24478
+ * Record that your reading of a conversation reached a message, or its newest when `throughMessageId` is omitted, which is what a Done button sends. It never moves backwards, so another device that read further keeps its place; a message a retry or an edit took away marks nothing. Session routes only: a runner has no reading.
24479
+ */
24480
+ export declare const markAgentThreadReadMutation: (options?: Partial<Options<MarkAgentThreadReadData>>) => UseMutationOptions<MarkAgentThreadReadResponse, MarkAgentThreadReadError, Options<MarkAgentThreadReadData>>;
23698
24481
  export declare const listAgentThreadChildrenQueryKey: (options: Options<ListAgentThreadChildrenData>) => [Pick<Options<ListAgentThreadChildrenData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
23699
24482
  _id: string;
23700
24483
  _infinite?: boolean;
@@ -23824,13 +24607,13 @@ export declare const listAgentComputersOptions: (options?: Options<ListAgentComp
23824
24607
  /**
23825
24608
  * Move a thread from your computer to the cloud
23826
24609
  *
23827
- * Its turns run in the cloud from now on, starting with the one waiting for the computer, if any. The files it worked on stay on the computer. Refused while a turn runs there or waits on approvals.
24610
+ * Its turns run in the cloud from now on, starting with the one waiting for the computer, if any, and its owner can move it to a computer or folder again later. The files it worked on stay on the computer. Refused while a turn runs there or waits on approvals.
23828
24611
  */
23829
24612
  export declare const moveAgentThreadToCloudMutation: (options?: Partial<Options<MoveAgentThreadToCloudData>>) => UseMutationOptions<MoveAgentThreadToCloudResponse, MoveAgentThreadToCloudError, Options<MoveAgentThreadToCloudData>>;
23830
24613
  /**
23831
24614
  * Move a thread to one of your computers, in a folder there
23832
24615
  *
23833
- * A thread that runs on its owner's computer runs there alone, in one folder: only `sixb` open in that folder claims its turns. Its owner moves it to another folder or computer. Refused while a turn runs or waits on approvals.
24616
+ * Its turns run there alone from now on, in that folder: only `sixb` open in it claims them. Its owner moves it from the cloud or from another folder or computer, as often as they need; files from where it ran before stay there. Refused while a turn runs or waits on approvals.
23834
24617
  */
23835
24618
  export declare const moveAgentThreadToComputerMutation: (options?: Partial<Options<MoveAgentThreadToComputerData>>) => UseMutationOptions<MoveAgentThreadToComputerResponse, MoveAgentThreadToComputerError, Options<MoveAgentThreadToComputerData>>;
23836
24619
  /**
@@ -25734,6 +26517,24 @@ export declare const getObservedAgentThreadOptions: (options: Options<GetObserve
25734
26517
  messageCount: number;
25735
26518
  createdAt: string;
25736
26519
  updatedAt: string;
26520
+ read?: {
26521
+ threadId: string;
26522
+ throughSeq: number;
26523
+ headSeq: number;
26524
+ unread: number;
26525
+ readAt?: string;
26526
+ };
26527
+ lastRun?: {
26528
+ id: string;
26529
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
26530
+ finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "error" | "other" | "unknown";
26531
+ errorCode?: "internal.unexpected" | "runtime.cancelled" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
26532
+ completedAt?: string;
26533
+ requestedBy?: {
26534
+ type: "user" | "serviceAccount";
26535
+ id: string;
26536
+ };
26537
+ };
25737
26538
  approvalMode?: "manual" | "accept-edits" | "auto";
25738
26539
  approvalModeSource?: "thread" | "default" | "fallback" | "run";
25739
26540
  }, GetObservedAgentThreadError, {
@@ -25801,6 +26602,24 @@ export declare const getObservedAgentThreadOptions: (options: Options<GetObserve
25801
26602
  messageCount: number;
25802
26603
  createdAt: string;
25803
26604
  updatedAt: string;
26605
+ read?: {
26606
+ threadId: string;
26607
+ throughSeq: number;
26608
+ headSeq: number;
26609
+ unread: number;
26610
+ readAt?: string;
26611
+ };
26612
+ lastRun?: {
26613
+ id: string;
26614
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
26615
+ finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "error" | "other" | "unknown";
26616
+ errorCode?: "internal.unexpected" | "runtime.cancelled" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
26617
+ completedAt?: string;
26618
+ requestedBy?: {
26619
+ type: "user" | "serviceAccount";
26620
+ id: string;
26621
+ };
26622
+ };
25804
26623
  approvalMode?: "manual" | "accept-edits" | "auto";
25805
26624
  approvalModeSource?: "thread" | "default" | "fallback" | "run";
25806
26625
  }, [Pick<Options<GetObservedAgentThreadData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
@@ -25873,6 +26692,24 @@ export declare const getObservedAgentThreadOptions: (options: Options<GetObserve
25873
26692
  messageCount: number;
25874
26693
  createdAt: string;
25875
26694
  updatedAt: string;
26695
+ read?: {
26696
+ threadId: string;
26697
+ throughSeq: number;
26698
+ headSeq: number;
26699
+ unread: number;
26700
+ readAt?: string;
26701
+ };
26702
+ lastRun?: {
26703
+ id: string;
26704
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
26705
+ finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "error" | "other" | "unknown";
26706
+ errorCode?: "internal.unexpected" | "runtime.cancelled" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
26707
+ completedAt?: string;
26708
+ requestedBy?: {
26709
+ type: "user" | "serviceAccount";
26710
+ id: string;
26711
+ };
26712
+ };
25876
26713
  approvalMode?: "manual" | "accept-edits" | "auto";
25877
26714
  approvalModeSource?: "thread" | "default" | "fallback" | "run";
25878
26715
  }, [Pick<Options<GetObservedAgentThreadData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
@@ -25951,6 +26788,24 @@ export declare const getObservedAgentThreadOptions: (options: Options<GetObserve
25951
26788
  messageCount: number;
25952
26789
  createdAt: string;
25953
26790
  updatedAt: string;
26791
+ read?: {
26792
+ threadId: string;
26793
+ throughSeq: number;
26794
+ headSeq: number;
26795
+ unread: number;
26796
+ readAt?: string;
26797
+ };
26798
+ lastRun?: {
26799
+ id: string;
26800
+ status: "queued" | "running" | "succeeded" | "failed" | "cancelled";
26801
+ finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "error" | "other" | "unknown";
26802
+ errorCode?: "internal.unexpected" | "runtime.cancelled" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable";
26803
+ completedAt?: string;
26804
+ requestedBy?: {
26805
+ type: "user" | "serviceAccount";
26806
+ id: string;
26807
+ };
26808
+ };
25954
26809
  approvalMode?: "manual" | "accept-edits" | "auto";
25955
26810
  approvalModeSource?: "thread" | "default" | "fallback" | "run";
25956
26811
  };
@@ -26144,7 +26999,7 @@ export declare const listObservedAgentThreadMessagesOptions: (options: Options<L
26144
26999
  afterAnswer?: true;
26145
27000
  }>;
26146
27001
  annotations: Array<{
26147
- code: "step_limit_reached" | "output_limit_reached";
27002
+ code: "step_limit_reached" | "output_limit_reached" | "workspace_not_saved";
26148
27003
  severity: "warning" | "error";
26149
27004
  scope: "run";
26150
27005
  message: string;
@@ -26346,7 +27201,7 @@ export declare const listObservedAgentThreadMessagesOptions: (options: Options<L
26346
27201
  afterAnswer?: true;
26347
27202
  }>;
26348
27203
  annotations: Array<{
26349
- code: "step_limit_reached" | "output_limit_reached";
27204
+ code: "step_limit_reached" | "output_limit_reached" | "workspace_not_saved";
26350
27205
  severity: "warning" | "error";
26351
27206
  scope: "run";
26352
27207
  message: string;
@@ -26553,7 +27408,7 @@ export declare const listObservedAgentThreadMessagesOptions: (options: Options<L
26553
27408
  afterAnswer?: true;
26554
27409
  }>;
26555
27410
  annotations: Array<{
26556
- code: "step_limit_reached" | "output_limit_reached";
27411
+ code: "step_limit_reached" | "output_limit_reached" | "workspace_not_saved";
26557
27412
  severity: "warning" | "error";
26558
27413
  scope: "run";
26559
27414
  message: string;
@@ -26766,7 +27621,7 @@ export declare const listObservedAgentThreadMessagesOptions: (options: Options<L
26766
27621
  afterAnswer?: true;
26767
27622
  }>;
26768
27623
  annotations: Array<{
26769
- code: "step_limit_reached" | "output_limit_reached";
27624
+ code: "step_limit_reached" | "output_limit_reached" | "workspace_not_saved";
26770
27625
  severity: "warning" | "error";
26771
27626
  scope: "run";
26772
27627
  message: string;
@@ -26978,7 +27833,7 @@ export declare const listObservedAgentThreadMessagesInfiniteOptions: (options: O
26978
27833
  afterAnswer?: true;
26979
27834
  }>;
26980
27835
  annotations: Array<{
26981
- code: "step_limit_reached" | "output_limit_reached";
27836
+ code: "step_limit_reached" | "output_limit_reached" | "workspace_not_saved";
26982
27837
  severity: "warning" | "error";
26983
27838
  scope: "run";
26984
27839
  message: string;
@@ -27180,7 +28035,7 @@ export declare const listObservedAgentThreadMessagesInfiniteOptions: (options: O
27180
28035
  afterAnswer?: true;
27181
28036
  }>;
27182
28037
  annotations: Array<{
27183
- code: "step_limit_reached" | "output_limit_reached";
28038
+ code: "step_limit_reached" | "output_limit_reached" | "workspace_not_saved";
27184
28039
  severity: "warning" | "error";
27185
28040
  scope: "run";
27186
28041
  message: string;
@@ -27387,7 +28242,7 @@ export declare const listObservedAgentThreadMessagesInfiniteOptions: (options: O
27387
28242
  afterAnswer?: true;
27388
28243
  }>;
27389
28244
  annotations: Array<{
27390
- code: "step_limit_reached" | "output_limit_reached";
28245
+ code: "step_limit_reached" | "output_limit_reached" | "workspace_not_saved";
27391
28246
  severity: "warning" | "error";
27392
28247
  scope: "run";
27393
28248
  message: string;
@@ -27593,7 +28448,7 @@ export declare const listObservedAgentThreadMessagesInfiniteOptions: (options: O
27593
28448
  afterAnswer?: true;
27594
28449
  }>;
27595
28450
  annotations: Array<{
27596
- code: "step_limit_reached" | "output_limit_reached";
28451
+ code: "step_limit_reached" | "output_limit_reached" | "workspace_not_saved";
27597
28452
  severity: "warning" | "error";
27598
28453
  scope: "run";
27599
28454
  message: string;
@@ -27802,7 +28657,7 @@ export declare const listObservedAgentThreadMessagesInfiniteOptions: (options: O
27802
28657
  afterAnswer?: true;
27803
28658
  }>;
27804
28659
  annotations: Array<{
27805
- code: "step_limit_reached" | "output_limit_reached";
28660
+ code: "step_limit_reached" | "output_limit_reached" | "workspace_not_saved";
27806
28661
  severity: "warning" | "error";
27807
28662
  scope: "run";
27808
28663
  message: string;
@@ -27894,6 +28749,10 @@ export declare const listObservedAgentThreadRunsOptions: (options: Options<ListO
27894
28749
  };
27895
28750
  approvalMode?: "manual" | "accept-edits" | "auto";
27896
28751
  runsOn?: "computer";
28752
+ computer?: {
28753
+ id: string;
28754
+ folder: string;
28755
+ };
27897
28756
  modelId?: string;
27898
28757
  finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "error" | "other" | "unknown";
27899
28758
  usage?: {
@@ -27922,7 +28781,7 @@ export declare const listObservedAgentThreadRunsOptions: (options: Options<ListO
27922
28781
  unvaluedCallCount: number;
27923
28782
  };
27924
28783
  diagnostics?: Array<{
27925
- code: "step_limit_reached" | "output_limit_reached";
28784
+ code: "step_limit_reached" | "output_limit_reached" | "workspace_not_saved";
27926
28785
  severity: "warning" | "error";
27927
28786
  scope: "run";
27928
28787
  message: string;
@@ -27970,6 +28829,10 @@ export declare const listObservedAgentThreadRunsOptions: (options: Options<ListO
27970
28829
  };
27971
28830
  approvalMode?: "manual" | "accept-edits" | "auto";
27972
28831
  runsOn?: "computer";
28832
+ computer?: {
28833
+ id: string;
28834
+ folder: string;
28835
+ };
27973
28836
  modelId?: string;
27974
28837
  finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "error" | "other" | "unknown";
27975
28838
  usage?: {
@@ -27998,7 +28861,7 @@ export declare const listObservedAgentThreadRunsOptions: (options: Options<ListO
27998
28861
  unvaluedCallCount: number;
27999
28862
  };
28000
28863
  diagnostics?: Array<{
28001
- code: "step_limit_reached" | "output_limit_reached";
28864
+ code: "step_limit_reached" | "output_limit_reached" | "workspace_not_saved";
28002
28865
  severity: "warning" | "error";
28003
28866
  scope: "run";
28004
28867
  message: string;
@@ -28051,6 +28914,10 @@ export declare const listObservedAgentThreadRunsOptions: (options: Options<ListO
28051
28914
  };
28052
28915
  approvalMode?: "manual" | "accept-edits" | "auto";
28053
28916
  runsOn?: "computer";
28917
+ computer?: {
28918
+ id: string;
28919
+ folder: string;
28920
+ };
28054
28921
  modelId?: string;
28055
28922
  finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "error" | "other" | "unknown";
28056
28923
  usage?: {
@@ -28079,7 +28946,7 @@ export declare const listObservedAgentThreadRunsOptions: (options: Options<ListO
28079
28946
  unvaluedCallCount: number;
28080
28947
  };
28081
28948
  diagnostics?: Array<{
28082
- code: "step_limit_reached" | "output_limit_reached";
28949
+ code: "step_limit_reached" | "output_limit_reached" | "workspace_not_saved";
28083
28950
  severity: "warning" | "error";
28084
28951
  scope: "run";
28085
28952
  message: string;
@@ -28138,6 +29005,10 @@ export declare const listObservedAgentThreadRunsOptions: (options: Options<ListO
28138
29005
  };
28139
29006
  approvalMode?: "manual" | "accept-edits" | "auto";
28140
29007
  runsOn?: "computer";
29008
+ computer?: {
29009
+ id: string;
29010
+ folder: string;
29011
+ };
28141
29012
  modelId?: string;
28142
29013
  finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "error" | "other" | "unknown";
28143
29014
  usage?: {
@@ -28166,7 +29037,7 @@ export declare const listObservedAgentThreadRunsOptions: (options: Options<ListO
28166
29037
  unvaluedCallCount: number;
28167
29038
  };
28168
29039
  diagnostics?: Array<{
28169
- code: "step_limit_reached" | "output_limit_reached";
29040
+ code: "step_limit_reached" | "output_limit_reached" | "workspace_not_saved";
28170
29041
  severity: "warning" | "error";
28171
29042
  scope: "run";
28172
29043
  message: string;
@@ -28224,6 +29095,10 @@ export declare const listObservedAgentThreadRunsInfiniteOptions: (options: Optio
28224
29095
  };
28225
29096
  approvalMode?: "manual" | "accept-edits" | "auto";
28226
29097
  runsOn?: "computer";
29098
+ computer?: {
29099
+ id: string;
29100
+ folder: string;
29101
+ };
28227
29102
  modelId?: string;
28228
29103
  finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "error" | "other" | "unknown";
28229
29104
  usage?: {
@@ -28252,7 +29127,7 @@ export declare const listObservedAgentThreadRunsInfiniteOptions: (options: Optio
28252
29127
  unvaluedCallCount: number;
28253
29128
  };
28254
29129
  diagnostics?: Array<{
28255
- code: "step_limit_reached" | "output_limit_reached";
29130
+ code: "step_limit_reached" | "output_limit_reached" | "workspace_not_saved";
28256
29131
  severity: "warning" | "error";
28257
29132
  scope: "run";
28258
29133
  message: string;
@@ -28300,6 +29175,10 @@ export declare const listObservedAgentThreadRunsInfiniteOptions: (options: Optio
28300
29175
  };
28301
29176
  approvalMode?: "manual" | "accept-edits" | "auto";
28302
29177
  runsOn?: "computer";
29178
+ computer?: {
29179
+ id: string;
29180
+ folder: string;
29181
+ };
28303
29182
  modelId?: string;
28304
29183
  finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "error" | "other" | "unknown";
28305
29184
  usage?: {
@@ -28328,7 +29207,7 @@ export declare const listObservedAgentThreadRunsInfiniteOptions: (options: Optio
28328
29207
  unvaluedCallCount: number;
28329
29208
  };
28330
29209
  diagnostics?: Array<{
28331
- code: "step_limit_reached" | "output_limit_reached";
29210
+ code: "step_limit_reached" | "output_limit_reached" | "workspace_not_saved";
28332
29211
  severity: "warning" | "error";
28333
29212
  scope: "run";
28334
29213
  message: string;
@@ -28381,6 +29260,10 @@ export declare const listObservedAgentThreadRunsInfiniteOptions: (options: Optio
28381
29260
  };
28382
29261
  approvalMode?: "manual" | "accept-edits" | "auto";
28383
29262
  runsOn?: "computer";
29263
+ computer?: {
29264
+ id: string;
29265
+ folder: string;
29266
+ };
28384
29267
  modelId?: string;
28385
29268
  finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "error" | "other" | "unknown";
28386
29269
  usage?: {
@@ -28409,7 +29292,7 @@ export declare const listObservedAgentThreadRunsInfiniteOptions: (options: Optio
28409
29292
  unvaluedCallCount: number;
28410
29293
  };
28411
29294
  diagnostics?: Array<{
28412
- code: "step_limit_reached" | "output_limit_reached";
29295
+ code: "step_limit_reached" | "output_limit_reached" | "workspace_not_saved";
28413
29296
  severity: "warning" | "error";
28414
29297
  scope: "run";
28415
29298
  message: string;
@@ -28461,6 +29344,10 @@ export declare const listObservedAgentThreadRunsInfiniteOptions: (options: Optio
28461
29344
  };
28462
29345
  approvalMode?: "manual" | "accept-edits" | "auto";
28463
29346
  runsOn?: "computer";
29347
+ computer?: {
29348
+ id: string;
29349
+ folder: string;
29350
+ };
28464
29351
  modelId?: string;
28465
29352
  finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "error" | "other" | "unknown";
28466
29353
  usage?: {
@@ -28489,7 +29376,7 @@ export declare const listObservedAgentThreadRunsInfiniteOptions: (options: Optio
28489
29376
  unvaluedCallCount: number;
28490
29377
  };
28491
29378
  diagnostics?: Array<{
28492
- code: "step_limit_reached" | "output_limit_reached";
29379
+ code: "step_limit_reached" | "output_limit_reached" | "workspace_not_saved";
28493
29380
  severity: "warning" | "error";
28494
29381
  scope: "run";
28495
29382
  message: string;
@@ -28544,6 +29431,10 @@ export declare const listObservedAgentThreadRunsInfiniteOptions: (options: Optio
28544
29431
  };
28545
29432
  approvalMode?: "manual" | "accept-edits" | "auto";
28546
29433
  runsOn?: "computer";
29434
+ computer?: {
29435
+ id: string;
29436
+ folder: string;
29437
+ };
28547
29438
  modelId?: string;
28548
29439
  finishReason?: "stop" | "length" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "error" | "other" | "unknown";
28549
29440
  usage?: {
@@ -28572,7 +29463,7 @@ export declare const listObservedAgentThreadRunsInfiniteOptions: (options: Optio
28572
29463
  unvaluedCallCount: number;
28573
29464
  };
28574
29465
  diagnostics?: Array<{
28575
- code: "step_limit_reached" | "output_limit_reached";
29466
+ code: "step_limit_reached" | "output_limit_reached" | "workspace_not_saved";
28576
29467
  severity: "warning" | "error";
28577
29468
  scope: "run";
28578
29469
  message: string;
@@ -37613,6 +38504,7 @@ export declare const listProjectionsOptions: (options?: Options<ListProjectionsD
37613
38504
  objectProjections: Array<{
37614
38505
  _tag: "ObjectProjectionDefinition";
37615
38506
  id: string;
38507
+ folder?: string;
37616
38508
  objectTypeId: string;
37617
38509
  datasetId: string;
37618
38510
  properties: {
@@ -37768,6 +38660,7 @@ export declare const listProjectionsOptions: (options?: Options<ListProjectionsD
37768
38660
  linkProjections: Array<{
37769
38661
  _tag: "LinkProjectionDefinition";
37770
38662
  id: string;
38663
+ folder?: string;
37771
38664
  linkId: string;
37772
38665
  sourceObjectTypeId: string;
37773
38666
  targetObjectTypeId: string;
@@ -37906,6 +38799,7 @@ export declare const listProjectionsOptions: (options?: Options<ListProjectionsD
37906
38799
  telemetryProjections: Array<{
37907
38800
  _tag: "TelemetryProjectionDefinition";
37908
38801
  id: string;
38802
+ folder?: string;
37909
38803
  objectTypeId: string;
37910
38804
  datasetId: string;
37911
38805
  objectIdField: string;
@@ -38049,6 +38943,7 @@ export declare const listProjectionsOptions: (options?: Options<ListProjectionsD
38049
38943
  objectProjections: Array<{
38050
38944
  _tag: "ObjectProjectionDefinition";
38051
38945
  id: string;
38946
+ folder?: string;
38052
38947
  objectTypeId: string;
38053
38948
  datasetId: string;
38054
38949
  properties: {
@@ -38204,6 +39099,7 @@ export declare const listProjectionsOptions: (options?: Options<ListProjectionsD
38204
39099
  linkProjections: Array<{
38205
39100
  _tag: "LinkProjectionDefinition";
38206
39101
  id: string;
39102
+ folder?: string;
38207
39103
  linkId: string;
38208
39104
  sourceObjectTypeId: string;
38209
39105
  targetObjectTypeId: string;
@@ -38342,6 +39238,7 @@ export declare const listProjectionsOptions: (options?: Options<ListProjectionsD
38342
39238
  telemetryProjections: Array<{
38343
39239
  _tag: "TelemetryProjectionDefinition";
38344
39240
  id: string;
39241
+ folder?: string;
38345
39242
  objectTypeId: string;
38346
39243
  datasetId: string;
38347
39244
  objectIdField: string;
@@ -38490,6 +39387,7 @@ export declare const listProjectionsOptions: (options?: Options<ListProjectionsD
38490
39387
  objectProjections: Array<{
38491
39388
  _tag: "ObjectProjectionDefinition";
38492
39389
  id: string;
39390
+ folder?: string;
38493
39391
  objectTypeId: string;
38494
39392
  datasetId: string;
38495
39393
  properties: {
@@ -38645,6 +39543,7 @@ export declare const listProjectionsOptions: (options?: Options<ListProjectionsD
38645
39543
  linkProjections: Array<{
38646
39544
  _tag: "LinkProjectionDefinition";
38647
39545
  id: string;
39546
+ folder?: string;
38648
39547
  linkId: string;
38649
39548
  sourceObjectTypeId: string;
38650
39549
  targetObjectTypeId: string;
@@ -38783,6 +39682,7 @@ export declare const listProjectionsOptions: (options?: Options<ListProjectionsD
38783
39682
  telemetryProjections: Array<{
38784
39683
  _tag: "TelemetryProjectionDefinition";
38785
39684
  id: string;
39685
+ folder?: string;
38786
39686
  objectTypeId: string;
38787
39687
  datasetId: string;
38788
39688
  objectIdField: string;
@@ -38937,6 +39837,7 @@ export declare const listProjectionsOptions: (options?: Options<ListProjectionsD
38937
39837
  objectProjections: Array<{
38938
39838
  _tag: "ObjectProjectionDefinition";
38939
39839
  id: string;
39840
+ folder?: string;
38940
39841
  objectTypeId: string;
38941
39842
  datasetId: string;
38942
39843
  properties: {
@@ -39092,6 +39993,7 @@ export declare const listProjectionsOptions: (options?: Options<ListProjectionsD
39092
39993
  linkProjections: Array<{
39093
39994
  _tag: "LinkProjectionDefinition";
39094
39995
  id: string;
39996
+ folder?: string;
39095
39997
  linkId: string;
39096
39998
  sourceObjectTypeId: string;
39097
39999
  targetObjectTypeId: string;
@@ -39230,6 +40132,7 @@ export declare const listProjectionsOptions: (options?: Options<ListProjectionsD
39230
40132
  telemetryProjections: Array<{
39231
40133
  _tag: "TelemetryProjectionDefinition";
39232
40134
  id: string;
40135
+ folder?: string;
39233
40136
  objectTypeId: string;
39234
40137
  datasetId: string;
39235
40138
  objectIdField: string;
@@ -39384,6 +40287,7 @@ export declare const getProjectionQueryKey: (options: Options<GetProjectionData>
39384
40287
  export declare const getProjectionOptions: (options: Options<GetProjectionData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<{
39385
40288
  _tag: "ObjectProjectionDefinition";
39386
40289
  id: string;
40290
+ folder?: string;
39387
40291
  objectTypeId: string;
39388
40292
  datasetId: string;
39389
40293
  properties: {
@@ -39538,6 +40442,7 @@ export declare const getProjectionOptions: (options: Options<GetProjectionData>)
39538
40442
  } | {
39539
40443
  _tag: "LinkProjectionDefinition";
39540
40444
  id: string;
40445
+ folder?: string;
39541
40446
  linkId: string;
39542
40447
  sourceObjectTypeId: string;
39543
40448
  targetObjectTypeId: string;
@@ -39675,6 +40580,7 @@ export declare const getProjectionOptions: (options: Options<GetProjectionData>)
39675
40580
  } | {
39676
40581
  _tag: "TelemetryProjectionDefinition";
39677
40582
  id: string;
40583
+ folder?: string;
39678
40584
  objectTypeId: string;
39679
40585
  datasetId: string;
39680
40586
  objectIdField: string;
@@ -39818,6 +40724,7 @@ export declare const getProjectionOptions: (options: Options<GetProjectionData>)
39818
40724
  }, {
39819
40725
  _tag: "ObjectProjectionDefinition";
39820
40726
  id: string;
40727
+ folder?: string;
39821
40728
  objectTypeId: string;
39822
40729
  datasetId: string;
39823
40730
  properties: {
@@ -39972,6 +40879,7 @@ export declare const getProjectionOptions: (options: Options<GetProjectionData>)
39972
40879
  } | {
39973
40880
  _tag: "LinkProjectionDefinition";
39974
40881
  id: string;
40882
+ folder?: string;
39975
40883
  linkId: string;
39976
40884
  sourceObjectTypeId: string;
39977
40885
  targetObjectTypeId: string;
@@ -40109,6 +41017,7 @@ export declare const getProjectionOptions: (options: Options<GetProjectionData>)
40109
41017
  } | {
40110
41018
  _tag: "TelemetryProjectionDefinition";
40111
41019
  id: string;
41020
+ folder?: string;
40112
41021
  objectTypeId: string;
40113
41022
  datasetId: string;
40114
41023
  objectIdField: string;
@@ -40255,6 +41164,7 @@ export declare const getProjectionOptions: (options: Options<GetProjectionData>)
40255
41164
  queryFn?: import("@tanstack/react-query").QueryFunction<{
40256
41165
  _tag: "ObjectProjectionDefinition";
40257
41166
  id: string;
41167
+ folder?: string;
40258
41168
  objectTypeId: string;
40259
41169
  datasetId: string;
40260
41170
  properties: {
@@ -40409,6 +41319,7 @@ export declare const getProjectionOptions: (options: Options<GetProjectionData>)
40409
41319
  } | {
40410
41320
  _tag: "LinkProjectionDefinition";
40411
41321
  id: string;
41322
+ folder?: string;
40412
41323
  linkId: string;
40413
41324
  sourceObjectTypeId: string;
40414
41325
  targetObjectTypeId: string;
@@ -40546,6 +41457,7 @@ export declare const getProjectionOptions: (options: Options<GetProjectionData>)
40546
41457
  } | {
40547
41458
  _tag: "TelemetryProjectionDefinition";
40548
41459
  id: string;
41460
+ folder?: string;
40549
41461
  objectTypeId: string;
40550
41462
  datasetId: string;
40551
41463
  objectIdField: string;
@@ -40698,6 +41610,7 @@ export declare const getProjectionOptions: (options: Options<GetProjectionData>)
40698
41610
  [dataTagSymbol]: {
40699
41611
  _tag: "ObjectProjectionDefinition";
40700
41612
  id: string;
41613
+ folder?: string;
40701
41614
  objectTypeId: string;
40702
41615
  datasetId: string;
40703
41616
  properties: {
@@ -40852,6 +41765,7 @@ export declare const getProjectionOptions: (options: Options<GetProjectionData>)
40852
41765
  } | {
40853
41766
  _tag: "LinkProjectionDefinition";
40854
41767
  id: string;
41768
+ folder?: string;
40855
41769
  linkId: string;
40856
41770
  sourceObjectTypeId: string;
40857
41771
  targetObjectTypeId: string;
@@ -40989,6 +41903,7 @@ export declare const getProjectionOptions: (options: Options<GetProjectionData>)
40989
41903
  } | {
40990
41904
  _tag: "TelemetryProjectionDefinition";
40991
41905
  id: string;
41906
+ folder?: string;
40992
41907
  objectTypeId: string;
40993
41908
  datasetId: string;
40994
41909
  objectIdField: string;