@ravi-os/sdk 0.260519.2 → 0.260716.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +32 -0
- package/dist/client.d.ts +1682 -40
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +2364 -157
- package/dist/client.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/inherit.d.ts +38 -0
- package/dist/inherit.d.ts.map +1 -0
- package/dist/inherit.js +101 -0
- package/dist/inherit.js.map +1 -0
- package/dist/schemas.d.ts +52044 -5135
- package/dist/schemas.d.ts.map +1 -1
- package/dist/schemas.js +66566 -5477
- package/dist/schemas.js.map +1 -1
- package/dist/streaming.d.ts +1 -92
- package/dist/streaming.d.ts.map +1 -1
- package/dist/streaming.generated.d.ts +185 -0
- package/dist/streaming.generated.d.ts.map +1 -0
- package/dist/streaming.generated.js +233 -0
- package/dist/streaming.generated.js.map +1 -0
- package/dist/streaming.js +10 -188
- package/dist/streaming.js.map +1 -1
- package/dist/types.d.ts +11526 -942
- package/dist/types.d.ts.map +1 -1
- package/dist/version.d.ts +2 -2
- package/dist/version.js +2 -2
- package/package.json +5 -1
package/dist/client.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Transport } from "./transport/types.js";
|
|
2
|
-
import type { AdaptersListReturn, AdaptersShowReturn, AgentsCreateReturn, AgentsDebounceReturn, AgentsDebugReturn, AgentsDeleteReturn, AgentsListReturn, AgentsResetReturn, AgentsSessionReturn, AgentsSetReturn, AgentsShowReturn, AgentsSpecModeReturn, AgentsSyncInstructionsReturn, ArtifactsArchiveReturn, ArtifactsAttachReturn, ArtifactsBlobReturn, ArtifactsCreateReturn, ArtifactsEventReturn, ArtifactsEventsReturn, ArtifactsListReturn, ArtifactsPublishReturn, ArtifactsReleaseActivateReturn, ArtifactsRestoreReturn, ArtifactsShowReturn, ArtifactsSnapshotReturn, ArtifactsUpdateReturn, ArtifactsVersionReturn, ArtifactsVersionsReturn, AudioGenerateReturn, ChatsListReturn, ChatsListsAddReturn, ChatsListsCreateReturn, ChatsListsDeltaReturn, ChatsListsListReturn, ChatsListsMarkReadReturn, ChatsListsMembersReturn, ChatsListsRemoveReturn, ChatsReadReturn, CommandsListReturn, CommandsRunReturn, CommandsShowReturn, CommandsValidateReturn, ContactsActivityReturn, ContactsAddReturn, ContactsAllowReturn, ContactsApproveReturn, ContactsBackfillReturn, ContactsBlockReturn, ContactsCheckReturn, ContactsDuplicatesReturn, ContactsFindReturn, ContactsGetReturn, ContactsInfoReturn, ContactsLinkReturn, ContactsListReturn, ContactsMergeReturn, ContactsMessagesReturn, ContactsMetadataListReturn, ContactsMetadataRemoveReturn, ContactsMetadataSetReturn, ContactsNoteReturn, ContactsPendingReturn, ContactsProfileReturn, ContactsRemoveReturn, ContactsSessionsReturn, ContactsSetReturn, ContactsTagReturn, ContactsTimelineReturn, ContactsUnlinkReturn, ContactsUntagReturn, ContextAuthorizeReturn, ContextCapabilitiesReturn, ContextCheckReturn, ContextCleanupAgentRuntimeReturn, ContextCodexBashHookReturn, ContextCredentialsAddReturn, ContextCredentialsListReturn, ContextCredentialsRemoveReturn, ContextCredentialsSetDefaultReturn, ContextInfoReturn, ContextIssueReturn, ContextLineageReturn, ContextListReturn, ContextRevokeReturn, ContextVisibilityReturn, ContextWhoamiReturn, CostsAgentReturn, CostsAgentsReturn, CostsSessionReturn, CostsSummaryReturn, CostsTopSessionsReturn, CrmAccountCreateReturn, CrmAccountLinkContactReturn, CrmAccountReturn, CrmAccountShowReturn, CrmBoardReturn, CrmContactReturn, CrmContactSetReturn, CrmContactShowReturn, CrmContactsReturn, CrmFactConfirmReturn, CrmFactListReturn, CrmFactProposeReturn, CrmFactRejectReturn, CrmNextReturn, CrmOpportunityContactsReturn, CrmOpportunityCreateReturn, CrmOpportunityLinkContactReturn, CrmOpportunityMoveReturn, CrmOpportunityReturn, CrmOpportunityShowReturn, CrmTaskCreateReturn, CrmTaskDoneReturn, CrmTaskShowReturn, CronAddReturn, CronDisableReturn, CronEnableReturn, CronListReturn, CronRmReturn, CronRunReturn, CronSetReturn, CronShowReturn, DaemonEnvReturn, DaemonInitAdminKeyReturn, DaemonInstallReturn, DaemonLogsReturn, DaemonRestartReturn, DaemonStartReturn, DaemonStatusReturn, DaemonStopReturn, DaemonUninstallReturn, DevinAuthCheckReturn, DevinSessionsArchiveReturn, DevinSessionsAttachmentsReturn, DevinSessionsCreateReturn, DevinSessionsInsightsReturn, DevinSessionsListReturn, DevinSessionsMessagesReturn, DevinSessionsSendReturn, DevinSessionsShowReturn, DevinSessionsSyncReturn, DevinSessionsTerminateReturn, EvalRunReturn, HeartbeatDisableReturn, HeartbeatEnableReturn, HeartbeatSetReturn, HeartbeatShowReturn, HeartbeatStatusReturn, HeartbeatTriggerReturn, HooksCreateReturn, HooksDisableReturn, HooksEnableReturn, HooksListReturn, HooksRmReturn, HooksShowReturn, HooksTestReturn, ImageAtlasSplitReturn, ImageGenerateReturn, InsightsCreateReturn, InsightsListReturn, InsightsSearchReturn, InsightsShowReturn, InstancesCreateReturn, InstancesDeleteReturn, InstancesDeletedReturn, InstancesDisableReturn, InstancesDisconnectReturn, InstancesEnableReturn, InstancesGetReturn, InstancesListReturn, InstancesPendingApproveReturn, InstancesPendingListReturn, InstancesPendingRejectReturn, InstancesRestoreReturn, InstancesRoutesAddReturn, InstancesRoutesDeletedReturn, InstancesRoutesListReturn, InstancesRoutesRemoveReturn, InstancesRoutesRestoreReturn, InstancesRoutesSetReturn, InstancesRoutesShowReturn, InstancesSetReturn, InstancesShowReturn, InstancesStatusReturn, InstancesTargetReturn, MediaSendReturn, ObserversListReturn, ObserversProfilesInitReturn, ObserversProfilesListReturn, ObserversProfilesPreviewReturn, ObserversProfilesShowReturn, ObserversProfilesValidateReturn, ObserversRefreshReturn, ObserversRulesDisableReturn, ObserversRulesEnableReturn, ObserversRulesExplainReturn, ObserversRulesListReturn, ObserversRulesRmReturn, ObserversRulesSetReturn, ObserversRulesShowReturn, ObserversRulesValidateReturn, ObserversShowReturn, PermissionsCheckReturn, PermissionsClearReturn, PermissionsGrantReturn, PermissionsInitReturn, PermissionsListReturn, PermissionsRevokeReturn, PermissionsSyncReturn, ProjectsCreateReturn, ProjectsFixturesSeedReturn, ProjectsInitReturn, ProjectsLinkReturn, ProjectsListReturn, ProjectsNextReturn, ProjectsResourcesAddReturn, ProjectsResourcesImportReturn, ProjectsResourcesListReturn, ProjectsResourcesShowReturn, ProjectsShowReturn, ProjectsStatusReturn, ProjectsTasksAttachReturn, ProjectsTasksCreateReturn, ProjectsTasksDispatchReturn, ProjectsUpdateReturn, ProjectsWorkflowsAttachReturn, ProjectsWorkflowsStartReturn, ProxCallsCancelReturn, ProxCallsEventsReturn, ProxCallsProfilesConfigureReturn, ProxCallsProfilesListReturn, ProxCallsProfilesShowReturn, ProxCallsRequestReturn, ProxCallsRulesReturn, ProxCallsShowReturn, ProxCallsToolsBindReturn, ProxCallsToolsConfigureReturn, ProxCallsToolsCreateReturn, ProxCallsToolsListReturn, ProxCallsToolsRunReturn, ProxCallsToolsRunsReturn, ProxCallsToolsShowReturn, ProxCallsToolsUnbindReturn, ProxCallsTranscriptReturn, ProxCallsVoiceAgentsBindToolReturn, ProxCallsVoiceAgentsConfigureReturn, ProxCallsVoiceAgentsCreateReturn, ProxCallsVoiceAgentsListReturn, ProxCallsVoiceAgentsShowReturn, ProxCallsVoiceAgentsSyncReturn, ProxCallsVoiceAgentsUnbindToolReturn, ReactSendReturn, RoutesExplainReturn, RoutesListReturn, RoutesShowReturn, SdkClientCheckReturn, SdkClientGenerateReturn, SdkOpenapiCheckReturn, SdkOpenapiEmitReturn, SdkSwiftCheckReturn, SdkSwiftGenerateReturn, SelfChatReturn, SelfContextReturn, SelfExplainReturn, SelfKnowledgeReturn, SelfPermissionsReturn, SelfRecentReturn, SelfRouteReturn, SelfWhoamiReturn, ServiceStartReturn, ServiceTuiReturn, ServiceWaReturn, SessionsAnswerReturn, SessionsAskReturn, SessionsDeleteReturn, SessionsExecuteReturn, SessionsExtendReturn, SessionsGoalReturn, SessionsInfoReturn, SessionsInformReturn, SessionsKeepReturn, SessionsListReturn, SessionsPruneReturn, SessionsReadReturn, SessionsRenameReturn, SessionsResetReturn, SessionsRuntimeFollowUpReturn, SessionsRuntimeForkReturn, SessionsRuntimeInterruptReturn, SessionsRuntimeListReturn, SessionsRuntimeReadReturn, SessionsRuntimeRollbackReturn, SessionsRuntimeSteerReturn, SessionsSendReturn, SessionsSetDisplayReturn, SessionsSetModelReturn, SessionsSetThinkingReturn, SessionsSetTtlReturn, SessionsTraceReturn, SessionsVisibilityReturn, SettingsDeleteReturn, SettingsGetReturn, SettingsListReturn, SettingsSetReturn, SkillGatesDisableReturn, SkillGatesEnableReturn, SkillGatesListReturn, SkillGatesResetReturn, SkillGatesRmReturn, SkillGatesSetReturn, SkillGatesShowReturn, SkillsInstallReturn, SkillsListReturn, SkillsShowReturn, SkillsSyncReturn, SpecsGetReturn, SpecsListReturn, SpecsNewReturn, SpecsSyncReturn, StickersAddReturn, StickersListReturn, StickersRemoveReturn, StickersSendReturn, StickersShowReturn, TagRulesEvaluateReturn, TagRulesExplainReturn, TagRulesListReturn, TagRulesShowReturn, TagRulesTickReturn, TagRulesValidateReturn, TagsAttachReturn, TagsCreateReturn, TagsDetachReturn, TagsListReturn, TagsSearchReturn, TagsSetReturn, TagsShowReturn, TasksArchiveReturn, TasksAutomationsAddReturn, TasksAutomationsDisableReturn, TasksAutomationsEnableReturn, TasksAutomationsListReturn, TasksAutomationsRmReturn, TasksAutomationsShowReturn, TasksBlockReturn, TasksCommentReturn, TasksCreateReturn, TasksDepsAddReturn, TasksDepsLsReturn, TasksDepsRmReturn, TasksDispatchReturn, TasksDoneReturn, TasksFailReturn, TasksListReturn, TasksProfilesInitReturn, TasksProfilesListReturn, TasksProfilesPreviewReturn, TasksProfilesShowReturn, TasksProfilesValidateReturn, TasksReportReturn, TasksShowReturn, TasksUnarchiveReturn, ThreadsBriefReturn, ThreadsCloseReturn, ThreadsCommentReturn, ThreadsCreateReturn, ThreadsEntriesReturn, ThreadsLinkReturn, ThreadsListReturn, ThreadsNoteReturn, ThreadsShowReturn, ToolsListReturn, ToolsManifestReturn, ToolsSchemaReturn, ToolsShowReturn, ToolsTestReturn, TranscribeFileReturn, TriggersAddReturn, TriggersDisableReturn, TriggersEnableReturn, TriggersListReturn, TriggersRmReturn, TriggersSetReturn, TriggersShowReturn, TriggersTestReturn, VideoAnalyzeReturn, WhatsappDmAckReturn, WhatsappDmReadReturn, WhatsappDmSendReturn, WhatsappGroupAddReturn, WhatsappGroupCreateReturn, WhatsappGroupDemoteReturn, WhatsappGroupDescriptionReturn, WhatsappGroupInfoReturn, WhatsappGroupInviteReturn, WhatsappGroupJoinReturn, WhatsappGroupLeaveReturn, WhatsappGroupListReturn, WhatsappGroupPromoteReturn, WhatsappGroupRemoveReturn, WhatsappGroupRenameReturn, WhatsappGroupRevokeInviteReturn, WhatsappGroupSettingsReturn, WorkflowsRunsArchiveNodeReturn, WorkflowsRunsCancelReturn, WorkflowsRunsListReturn, WorkflowsRunsReleaseReturn, WorkflowsRunsShowReturn, WorkflowsRunsSkipReturn, WorkflowsRunsStartReturn, WorkflowsRunsTaskAttachReturn, WorkflowsRunsTaskCreateReturn, WorkflowsSpecsCreateReturn, WorkflowsSpecsListReturn, WorkflowsSpecsShowReturn } from "./types.js";
|
|
2
|
+
import type { AdaptersListReturn, AdaptersShowReturn, AgentsCreateReturn, AgentsDebounceReturn, AgentsDebugReturn, AgentsDeleteReturn, AgentsListReturn, AgentsPermissionsReturn, AgentsResetReturn, AgentsSessionReturn, AgentsSetReturn, AgentsShowReturn, AgentsSpecModeReturn, AgentsSyncInstructionsReturn, AppsCheckReturn, AppsDeleteReturn, AppsGuideReturn, AppsImportCliReturn, AppsListReturn, AppsPromptsReturn, AppsRunReturn, AppsScaffoldReturn, AppsShowReturn, ArtifactsArchiveReturn, ArtifactsAttachReturn, ArtifactsBlobReturn, ArtifactsCreateReturn, ArtifactsEventReturn, ArtifactsEventsReturn, ArtifactsListReturn, ArtifactsPublishReturn, ArtifactsReleaseActivateReturn, ArtifactsRestoreReturn, ArtifactsShowReturn, ArtifactsSnapshotReturn, ArtifactsUpdateReturn, ArtifactsVersionReturn, ArtifactsVersionsReturn, AudioBlobReturn, AudioGenerateReturn, AudioPendingReturn, AudioTtsReturn, AudioVoicesReturn, BridgesCreateReturn, BridgesListReturn, BridgesRevokeReturn, CalendarsAvailabilityReturn, CalendarsCreateReturn, CalendarsDisableReturn, CalendarsEventsCancelReturn, CalendarsEventsCreateReturn, CalendarsEventsListReturn, CalendarsEventsReadReturn, CalendarsEventsRespondReturn, CalendarsEventsUpdateReturn, CalendarsListReturn, CalendarsShareReturn, CalendarsShowReturn, ChannelsCreateReturn, ChannelsListReturn, ChannelsProbeReturn, ChannelsRestartReturn, ChannelsSetReturn, ChannelsShowReturn, ChannelsStartReturn, ChannelsStatusReturn, ChannelsStopReturn, ChatsBackfillProviderTimestampsReturn, ChatsListReturn, ChatsListsAddReturn, ChatsListsCreateReturn, ChatsListsDeltaReturn, ChatsListsListReturn, ChatsListsMarkReadReturn, ChatsListsMembersReturn, ChatsListsPreviewReturn, ChatsListsRecomputeReturn, ChatsListsRemoveReturn, ChatsListsShowReturn, ChatsReadReturn, CloudProjectsCreateReturn, CloudProjectsListReturn, CloudScopeClearReturn, CloudScopeExplainReturn, CloudScopeSetReturn, CloudScopeShowReturn, CommandsListReturn, CommandsRunReturn, CommandsShowReturn, CommandsValidateReturn, ConnectorsListReturn, ConnectorsRevokeReturn, ConnectorsShowReturn, ContactsActivityReturn, ContactsAddReturn, ContactsAllowReturn, ContactsApproveReturn, ContactsBackfillReturn, ContactsBlockReturn, ContactsCheckReturn, ContactsDuplicatesReturn, ContactsFindReturn, ContactsGetReturn, ContactsInfoReturn, ContactsLinkReturn, ContactsListReturn, ContactsMergeReturn, ContactsMessagesReturn, ContactsMetadataListReturn, ContactsMetadataRemoveReturn, ContactsMetadataSetReturn, ContactsNoteReturn, ContactsPendingReturn, ContactsProfileReturn, ContactsRemoveReturn, ContactsSessionsReturn, ContactsSetReturn, ContactsTagReturn, ContactsTimelineReturn, ContactsUnlinkReturn, ContactsUntagReturn, ContextAuthorizeReturn, ContextCapabilitiesReturn, ContextCheckReturn, ContextCleanupAgentRuntimeReturn, ContextCodexBashHookReturn, ContextCredentialsAddReturn, ContextCredentialsListReturn, ContextCredentialsRemoveReturn, ContextCredentialsSetDefaultReturn, ContextInfoReturn, ContextIssueReturn, ContextLineageReturn, ContextListReturn, ContextPruneReturn, ContextRevokeReturn, ContextVisibilityReturn, ContextWhoamiReturn, CostsAgentReturn, CostsAgentsReturn, CostsPricingReturn, CostsSessionReturn, CostsSummaryReturn, CostsTopSessionsReturn, CredentialsConnectionsDisableReturn, CredentialsConnectionsEnableReturn, CredentialsConnectionsListReturn, CredentialsConnectionsShowReturn, CredentialsPoliciesExplainReturn, CrmAccountCreateReturn, CrmAccountLinkContactReturn, CrmAccountReturn, CrmAccountShowReturn, CrmBoardReturn, CrmContactReturn, CrmContactSetReturn, CrmContactShowReturn, CrmContactsReturn, CrmFactConfirmReturn, CrmFactListReturn, CrmFactProposeReturn, CrmFactRejectReturn, CrmNextReturn, CrmOpportunityContactsReturn, CrmOpportunityCreateReturn, CrmOpportunityLinkContactReturn, CrmOpportunityMoveReturn, CrmOpportunityReturn, CrmOpportunityShowReturn, CrmPipelineCreateReturn, CrmPipelineListReturn, CrmPipelinePolicyHitlCheckReturn, CrmPipelinePolicySendWindowCheckReturn, CrmPipelineReviewReturn, CrmPipelineSetReturn, CrmPipelineShowReturn, CrmPipelineStageAddReturn, CrmPipelineStageArchiveReturn, CrmPipelineStageListReturn, CrmPipelineStageSetReturn, CrmPipelineStageShowReturn, CrmPipelineStageTopicAddReturn, CrmPipelineStageTopicArchiveReturn, CrmPipelineStageTopicSetReturn, CrmPipelineStageTopicsReturn, CrmPipelineValidateReturn, CrmTaskCancelReturn, CrmTaskCreateReturn, CrmTaskDoneReturn, CrmTaskListReturn, CrmTaskShowReturn, CrmTaskSnoozeReturn, CronAddReturn, CronDisableReturn, CronEnableReturn, CronListReturn, CronRmReturn, CronRunReturn, CronSetReturn, CronShowReturn, DaemonEnvReturn, DaemonInitAdminKeyReturn, DaemonInstallReturn, DaemonLogsReturn, DaemonRestartReturn, DaemonStartReturn, DaemonStatusReturn, DaemonStopReturn, DaemonUninstallReturn, DevinAuthCheckReturn, DevinSessionsArchiveReturn, DevinSessionsAttachmentsReturn, DevinSessionsCreateReturn, DevinSessionsInsightsReturn, DevinSessionsListReturn, DevinSessionsMessagesReturn, DevinSessionsSendReturn, DevinSessionsShowReturn, DevinSessionsSyncReturn, DevinSessionsTerminateReturn, EvalRunReturn, FeedbackSendReturn, GmailListReturn, GmailReadReturn, HeartbeatDisableReturn, HeartbeatEnableReturn, HeartbeatSetReturn, HeartbeatShowReturn, HeartbeatStatusReturn, HeartbeatTriggerReturn, HooksCreateReturn, HooksDisableReturn, HooksEnableReturn, HooksListReturn, HooksRmReturn, HooksShowReturn, HooksTestReturn, ImageAtlasSplitReturn, ImageGenerateReturn, InboxArchiveReturn, InboxDisableReturn, InboxDoneReturn, InboxEnableReturn, InboxItemsReturn, InboxListReturn, InboxPollReturn, InboxReadReturn, InboxReplayReturn, InboxSnoozeReturn, InboxSourcesReturn, InboxStatusReturn, InsightsCreateReturn, InsightsListReturn, InsightsSearchReturn, InsightsShowReturn, InstancesCreateReturn, InstancesDeleteReturn, InstancesDeletedReturn, InstancesDisableReturn, InstancesDisconnectReturn, InstancesEnableReturn, InstancesGetReturn, InstancesListReturn, InstancesPendingApproveReturn, InstancesPendingListReturn, InstancesPendingRejectReturn, InstancesRestoreReturn, InstancesRoutesAddReturn, InstancesRoutesDeletedReturn, InstancesRoutesListReturn, InstancesRoutesRemoveReturn, InstancesRoutesRestoreReturn, InstancesRoutesSetReturn, InstancesRoutesShowReturn, InstancesSetReturn, InstancesShowReturn, InstancesStatusReturn, InstancesTargetReturn, MailAccountsCreateReturn, MailAccountsListReturn, MailAccountsSyncReturn, MailDomainsCreateReturn, MailDomainsListReturn, MailMailboxesCreateReturn, MailMailboxesDisableReturn, MailMailboxesListReturn, MailMailboxesShowReturn, MailMessagesImportReturn, MailMessagesListReturn, MailMessagesReadReturn, MailMessagesSearchReturn, MailOutboxInspectReturn, MailOutboxListReturn, MailOutboxRetryReturn, MailOutboxStatusReturn, MailProvidersListReturn, MailProvidersRaviMailMailboxesCreateReturn, MailProvidersRaviMailMailboxesDisableReturn, MailProvidersRaviMailMailboxesListReturn, MailProvidersRaviMailMailboxesShowReturn, MailProvidersRaviMailMessagesListReturn, MailProvidersRaviMailMessagesReadReturn, MailProvidersRaviMailMessagesShowReturn, MailProvidersRaviMailSendReturn, MailReplyReturn, MailSendReturn, MailThreadsReadReturn, MediaSendReturn, MeetingsFinalizeReturn, MeetingsProfilesInitReturn, MeetingsProfilesListReturn, MeetingsProfilesShowReturn, MeetingsProfilesValidateReturn, MeetingsVoiceRuntimesReturn, MetricsDatesReturn, MetricsRollupReturn, MetricsShowReturn, ObserversListReturn, ObserversProfilesInitReturn, ObserversProfilesListReturn, ObserversProfilesPreviewReturn, ObserversProfilesShowReturn, ObserversProfilesValidateReturn, ObserversRefreshReturn, ObserversRulesDisableReturn, ObserversRulesEnableReturn, ObserversRulesExplainReturn, ObserversRulesListReturn, ObserversRulesRmReturn, ObserversRulesSetReturn, ObserversRulesShowReturn, ObserversRulesValidateReturn, ObserversShowReturn, PagesCreateReturn, PagesDomainsReturn, PagesListReturn, PagesPublishReturn, PagesPublishedReturn, PagesUpdateReturn, PagesVisibilityReturn, PermissionsAllowReturn, PermissionsCheckReturn, PermissionsMaterializeReturn, PermissionsResolveReturn, PermissionsStatusReturn, ProjectsCreateReturn, ProjectsFixturesSeedReturn, ProjectsInitReturn, ProjectsLinkReturn, ProjectsListReturn, ProjectsNextReturn, ProjectsResourcesAddReturn, ProjectsResourcesImportReturn, ProjectsResourcesListReturn, ProjectsResourcesShowReturn, ProjectsShowReturn, ProjectsStatusReturn, ProjectsTasksAttachReturn, ProjectsTasksCreateReturn, ProjectsTasksDispatchReturn, ProjectsUpdateReturn, ProjectsWorkflowsAttachReturn, ProjectsWorkflowsStartReturn, ProxCallsCancelReturn, ProxCallsEventsReturn, ProxCallsProfilesConfigureReturn, ProxCallsProfilesListReturn, ProxCallsProfilesShowReturn, ProxCallsRequestReturn, ProxCallsRulesReturn, ProxCallsShowReturn, ProxCallsToolsBindReturn, ProxCallsToolsConfigureReturn, ProxCallsToolsCreateReturn, ProxCallsToolsListReturn, ProxCallsToolsRunReturn, ProxCallsToolsRunsReturn, ProxCallsToolsShowReturn, ProxCallsToolsUnbindReturn, ProxCallsTranscriptReturn, ProxCallsVoiceAgentsBindToolReturn, ProxCallsVoiceAgentsConfigureReturn, ProxCallsVoiceAgentsCreateReturn, ProxCallsVoiceAgentsListReturn, ProxCallsVoiceAgentsShowReturn, ProxCallsVoiceAgentsSyncReturn, ProxCallsVoiceAgentsUnbindToolReturn, ReactSendReturn, RoutesExplainReturn, RoutesListReturn, RoutesShowReturn, RulesImportReturn, RulesSourcesReturn, RuntimeCredentialsAddReturn, RuntimeCredentialsClassifyReturn, RuntimeCredentialsDisableReturn, RuntimeCredentialsEnableReturn, RuntimeCredentialsImportReturn, RuntimeCredentialsListReturn, RuntimeCredentialsRefreshReturn, RuntimeCredentialsResetHealthReturn, RuntimeCredentialsSelectReturn, RuntimeCredentialsStatusReturn, RuntimePresetsCreateReturn, RuntimePresetsDeleteReturn, RuntimePresetsDisableReturn, RuntimePresetsEnableReturn, RuntimePresetsImpactReturn, RuntimePresetsListReturn, RuntimePresetsSetReturn, RuntimePresetsShowReturn, SdkClientCheckReturn, SdkClientGenerateReturn, SdkOpenapiCheckReturn, SdkOpenapiEmitReturn, SdkSwiftCheckReturn, SdkSwiftGenerateReturn, SelfChatReturn, SelfContextReturn, SelfExplainReturn, SelfKnowledgeReturn, SelfPermissionsReturn, SelfRecentReturn, SelfRouteReturn, SelfWhoamiReturn, SessionsActionsReturn, SessionsAnswerReturn, SessionsAskReturn, SessionsAttachReturn, SessionsDeleteMessageReturn, SessionsDeleteReturn, SessionsDetachReturn, SessionsEditMessageReturn, SessionsExecuteReturn, SessionsExtendReturn, SessionsFollowupsAddReturn, SessionsFollowupsInspectReturn, SessionsFollowupsListReturn, SessionsFollowupsPauseReturn, SessionsFollowupsResumeReturn, SessionsFollowupsRetryReturn, SessionsFollowupsRunReturn, SessionsFollowupsRunsReturn, SessionsFollowupsSnoozeReturn, SessionsFollowupsUpdateReturn, SessionsGoalReturn, SessionsInfoReturn, SessionsInformReturn, SessionsKeepReturn, SessionsListReturn, SessionsMuteReturn, SessionsPruneReturn, SessionsReadReturn, SessionsRenameReturn, SessionsResetReturn, SessionsRuntimeFollowUpReturn, SessionsRuntimeForkReturn, SessionsRuntimeInterruptReturn, SessionsRuntimeListReturn, SessionsRuntimeReadReturn, SessionsRuntimeRollbackReturn, SessionsRuntimeSteerReturn, SessionsSendReturn, SessionsSetDisplayReturn, SessionsSetEffortReturn, SessionsSetModelReturn, SessionsSetProviderReturn, SessionsSetThinkingReturn, SessionsSetTtlReturn, SessionsSubscriptionsReturn, SessionsTraceReturn, SessionsUnmuteReturn, SessionsVisibilityReturn, SettingsDeleteReturn, SettingsGetReturn, SettingsListReturn, SettingsSetReturn, SkillGatesDisableReturn, SkillGatesEnableReturn, SkillGatesListReturn, SkillGatesResetReturn, SkillGatesRmReturn, SkillGatesSetReturn, SkillGatesShowReturn, SkillsGrantBatchReturn, SkillsGrantReturn, SkillsInspectReturn, SkillsInstallReturn, SkillsListReturn, SkillsRevokeBatchReturn, SkillsRevokeReturn, SkillsShowReturn, SkillsSyncReturn, SkillsWhoReturn, SlackBlocksSendReturn, SlackBlocksShowcaseReturn, SlackBlocksUpdateReturn, SlackBlocksValidateReturn, SlackCanvasAccessDeleteReturn, SlackCanvasAccessSetReturn, SlackCanvasArtifactPublishReturn, SlackCanvasArtifactStatusReturn, SlackCanvasChannelCreateReturn, SlackCanvasChannelShowcaseReturn, SlackCanvasCreateReturn, SlackCanvasDeleteReturn, SlackCanvasEditReturn, SlackCanvasSectionsLookupReturn, SlackCanvasShowcaseReturn, SlackChannelsCreateReturn, SlackChannelsHistoryReturn, SlackChannelsInfoReturn, SlackChannelsInviteReturn, SlackChannelsListReturn, SlackChannelsRenameReturn, SlackFilesListReturn, SlackInteractionsRespondReturn, SlackMembersListReturn, SlackMessagesInspectReturn, SlackMessagesReplayReturn, SlackMessagesSendReturn, SlackModalsOpenReturn, SlackModalsPushReturn, SlackModalsUpdateReturn, SlackPermissionsListReturn, SlackTopologyReturn, SlackWorkObjectsPresentDetailsReturn, SlackWorkObjectsSendReturn, SlackWorkObjectsUnfurlReturn, SlackWorkObjectsValidateReturn, SpecsGetReturn, SpecsListReturn, SpecsNewReturn, SpecsSyncReturn, StickersAddReturn, StickersListReturn, StickersRemoveReturn, StickersSendReturn, StickersShowReturn, SyncInspectReturn, SyncPullReturn, SyncPushReturn, SyncRetryReturn, SyncStatusReturn, TagRulesEvaluateReturn, TagRulesExplainReturn, TagRulesListReturn, TagRulesShowReturn, TagRulesTickReturn, TagRulesValidateReturn, TagsAttachReturn, TagsCreateReturn, TagsDetachReturn, TagsListReturn, TagsSearchReturn, TagsSetReturn, TagsShowReturn, TasksArchiveReturn, TasksAutomationsAddReturn, TasksAutomationsDisableReturn, TasksAutomationsEnableReturn, TasksAutomationsListReturn, TasksAutomationsRmReturn, TasksAutomationsShowReturn, TasksBlockReturn, TasksCommentReturn, TasksCreateReturn, TasksDepsAddReturn, TasksDepsLsReturn, TasksDepsRmReturn, TasksDispatchReturn, TasksDoneReturn, TasksFailReturn, TasksListReturn, TasksProfilesInitReturn, TasksProfilesListReturn, TasksProfilesPreviewReturn, TasksProfilesShowReturn, TasksProfilesValidateReturn, TasksReportReturn, TasksShowReturn, TasksUnarchiveReturn, ThreadsBriefReturn, ThreadsCloseReturn, ThreadsCommentReturn, ThreadsCreateReturn, ThreadsEntriesReturn, ThreadsLinkReturn, ThreadsListReturn, ThreadsNoteReturn, ThreadsShowReturn, ToolsInvokeReturn, ToolsListReturn, ToolsManifestReturn, ToolsSchemaReturn, ToolsSearchReturn, ToolsShowReturn, ToolsTestReturn, TranscribeFileReturn, TriggersAddReturn, TriggersDisableReturn, TriggersEnableReturn, TriggersListReturn, TriggersRmReturn, TriggersSetReturn, TriggersShowReturn, TriggersTestReturn, TriggersTopicsReturn, VideoAnalyzeReturn, WatchConnectorsReturn, WatchCreateReturn, WatchDisableReturn, WatchEnableReturn, WatchEventsReturn, WatchListReturn, WatchRmReturn, WatchShowReturn, WatchTriggerReturn, WhatsappDmAckReturn, WhatsappDmReadReturn, WhatsappDmSendReturn, WhatsappGroupAddReturn, WhatsappGroupCreateReturn, WhatsappGroupDemoteReturn, WhatsappGroupDescriptionReturn, WhatsappGroupInfoReturn, WhatsappGroupInviteReturn, WhatsappGroupJoinReturn, WhatsappGroupLeaveReturn, WhatsappGroupListReturn, WhatsappGroupPromoteReturn, WhatsappGroupRemoveReturn, WhatsappGroupRenameReturn, WhatsappGroupRevokeInviteReturn, WhatsappGroupSendReturn, WhatsappGroupSettingsReturn, WorkObjectsActionReturn, WorkObjectsResolveReturn, WorkObjectsSuggestReturn, WorkObjectsUpdateReturn, WorkflowsRunsArchiveNodeReturn, WorkflowsRunsCancelReturn, WorkflowsRunsListReturn, WorkflowsRunsReleaseReturn, WorkflowsRunsShowReturn, WorkflowsRunsSkipReturn, WorkflowsRunsStartReturn, WorkflowsRunsTaskAttachReturn, WorkflowsRunsTaskCreateReturn, WorkflowsSpecsCreateReturn, WorkflowsSpecsListReturn, WorkflowsSpecsShowReturn, YtAnalyticsCountriesReturn, YtAnalyticsDemographicsReturn, YtAnalyticsDevicesReturn, YtAnalyticsOverviewReturn, YtAnalyticsSeriesReturn, YtAnalyticsTopReturn, YtAnalyticsTrafficReturn, YtCaptionDownloadReturn, YtCaptionsReturn, YtCommentsReturn, YtHealthReturn, YtInfoReturn, YtPlaylistAddReturn, YtPlaylistCreateReturn, YtPlaylistDeleteReturn, YtPlaylistRemoveReturn, YtPlaylistReturn, YtPlaylistsReturn, YtReplyReturn, YtSearchReturn, YtStatsReturn, YtSubscriptionsReturn, YtUnansweredReturn, YtVideoCategoriesReturn, YtVideoDeleteReturn, YtVideoReturn, YtVideoUpdateReturn, YtVideosReturn } from "./types.js";
|
|
3
3
|
/**
|
|
4
4
|
* `RaviClient` exposes every registry command as a typed method.
|
|
5
5
|
*
|
|
@@ -26,6 +26,8 @@ export declare class RaviClient {
|
|
|
26
26
|
/** Create a new agent */
|
|
27
27
|
create: (id: string, cwd: string, options?: {
|
|
28
28
|
allowRuntimeMismatch?: boolean;
|
|
29
|
+
model?: string;
|
|
30
|
+
modelPreset?: string;
|
|
29
31
|
provider?: string;
|
|
30
32
|
}) => Promise<AgentsCreateReturn>;
|
|
31
33
|
/** Set message debounce time */
|
|
@@ -42,11 +44,16 @@ export declare class RaviClient {
|
|
|
42
44
|
offset?: string;
|
|
43
45
|
tag?: string;
|
|
44
46
|
}) => Promise<AgentsListReturn>;
|
|
47
|
+
/** Set or show an agent runtime permission profile */
|
|
48
|
+
permissions: (id: string, profile?: string, options?: {
|
|
49
|
+
capabilities?: string;
|
|
50
|
+
clearCapabilities?: boolean;
|
|
51
|
+
}) => Promise<AgentsPermissionsReturn>;
|
|
45
52
|
/** Reset agent session */
|
|
46
53
|
reset: (id: string, nameOrKey?: string) => Promise<AgentsResetReturn>;
|
|
47
54
|
/** Show agent session status */
|
|
48
55
|
session: (id: string) => Promise<AgentsSessionReturn>;
|
|
49
|
-
/** Set agent property */
|
|
56
|
+
/** Set agent property and report active session runtime overrides */
|
|
50
57
|
set: (id: string, key: string, value: string) => Promise<AgentsSetReturn>;
|
|
51
58
|
/** Show agent details */
|
|
52
59
|
show: (id: string) => Promise<AgentsShowReturn>;
|
|
@@ -58,6 +65,51 @@ export declare class RaviClient {
|
|
|
58
65
|
materializeMissing?: boolean;
|
|
59
66
|
}) => Promise<AgentsSyncInstructionsReturn>;
|
|
60
67
|
};
|
|
68
|
+
readonly apps: {
|
|
69
|
+
/** Validate Ravi app manifests without executing app code */
|
|
70
|
+
check: (id?: string) => Promise<AppsCheckReturn>;
|
|
71
|
+
/** Delete scaffold-owned artifacts for a Ravi app */
|
|
72
|
+
delete: (id: string, options?: {
|
|
73
|
+
dryRun?: boolean;
|
|
74
|
+
}) => Promise<AppsDeleteReturn>;
|
|
75
|
+
/** Print agent guidance for discovering, scaffolding, and operating Ravi apps */
|
|
76
|
+
guide: (id?: string) => Promise<AppsGuideReturn>;
|
|
77
|
+
/** Create a Ravi app draft from an existing CLI contract */
|
|
78
|
+
importCli: (command: string, options?: {
|
|
79
|
+
description?: string;
|
|
80
|
+
dryRun?: boolean;
|
|
81
|
+
force?: boolean;
|
|
82
|
+
id?: string;
|
|
83
|
+
name?: string;
|
|
84
|
+
skipSkill?: boolean;
|
|
85
|
+
skipSpec?: boolean;
|
|
86
|
+
skipUi?: boolean;
|
|
87
|
+
source?: string;
|
|
88
|
+
}) => Promise<AppsImportCliReturn>;
|
|
89
|
+
/** List discovered Ravi apps */
|
|
90
|
+
list: (options?: {
|
|
91
|
+
limit?: string;
|
|
92
|
+
offset?: string;
|
|
93
|
+
source?: string;
|
|
94
|
+
}) => Promise<AppsListReturn>;
|
|
95
|
+
/** Print all built-in Ravi apps agent prompts */
|
|
96
|
+
prompts: (id?: string) => Promise<AppsPromptsReturn>;
|
|
97
|
+
/** Run a Ravi app operation through the runtime app router */
|
|
98
|
+
run: (id: string, operation?: string, args?: string[]) => Promise<AppsRunReturn>;
|
|
99
|
+
/** Create a Ravi app scaffold from the app contract */
|
|
100
|
+
scaffold: (id: string, options?: {
|
|
101
|
+
command?: string;
|
|
102
|
+
description?: string;
|
|
103
|
+
dryRun?: boolean;
|
|
104
|
+
force?: boolean;
|
|
105
|
+
name?: string;
|
|
106
|
+
skipSkill?: boolean;
|
|
107
|
+
skipSpec?: boolean;
|
|
108
|
+
skipUi?: boolean;
|
|
109
|
+
}) => Promise<AppsScaffoldReturn>;
|
|
110
|
+
/** Show a Ravi app manifest */
|
|
111
|
+
show: (id: string) => Promise<AppsShowReturn>;
|
|
112
|
+
};
|
|
61
113
|
readonly artifacts: {
|
|
62
114
|
/** Soft-archive an artifact */
|
|
63
115
|
archive: (id: string) => Promise<ArtifactsArchiveReturn>;
|
|
@@ -115,12 +167,13 @@ export declare class RaviClient {
|
|
|
115
167
|
lifecycle?: string;
|
|
116
168
|
limit?: string;
|
|
117
169
|
offset?: string;
|
|
170
|
+
orderBy?: string;
|
|
118
171
|
rich?: boolean;
|
|
119
172
|
session?: string;
|
|
120
173
|
tag?: string;
|
|
121
174
|
task?: string;
|
|
122
175
|
}) => Promise<ArtifactsListReturn>;
|
|
123
|
-
/**
|
|
176
|
+
/** Upload a local artifact/file/directory to Console and optionally release it to Ravi Pages */
|
|
124
177
|
publish: (target: string, options?: {
|
|
125
178
|
artifactVersion?: string;
|
|
126
179
|
assetBase?: string;
|
|
@@ -200,8 +253,10 @@ export declare class RaviClient {
|
|
|
200
253
|
versions: (id: string) => Promise<ArtifactsVersionsReturn>;
|
|
201
254
|
};
|
|
202
255
|
readonly audio: {
|
|
256
|
+
/** Return generated TTS audio bytes */
|
|
257
|
+
blob: (id: string) => Promise<AudioBlobReturn>;
|
|
203
258
|
/** Generate speech from text using ElevenLabs TTS */
|
|
204
|
-
generate: (text
|
|
259
|
+
generate: (text?: string, options?: {
|
|
205
260
|
caption?: string;
|
|
206
261
|
format?: string;
|
|
207
262
|
lang?: string;
|
|
@@ -209,10 +264,201 @@ export declare class RaviClient {
|
|
|
209
264
|
output?: string;
|
|
210
265
|
send?: boolean;
|
|
211
266
|
speed?: string;
|
|
267
|
+
textFile?: string;
|
|
212
268
|
voice?: string;
|
|
213
269
|
}) => Promise<AudioGenerateReturn>;
|
|
270
|
+
/** List generated ravi.tts playback items waiting for extension playback */
|
|
271
|
+
pending: (options?: {
|
|
272
|
+
agent?: string;
|
|
273
|
+
chat?: string;
|
|
274
|
+
clientId?: string;
|
|
275
|
+
id?: string;
|
|
276
|
+
includeFailed?: boolean;
|
|
277
|
+
limit?: string;
|
|
278
|
+
requestId?: string;
|
|
279
|
+
session?: string;
|
|
280
|
+
sessionKey?: string;
|
|
281
|
+
since?: string;
|
|
282
|
+
}) => Promise<AudioPendingReturn>;
|
|
283
|
+
/** Publish a ravi.tts request for ElevenLabs generation and extension playback */
|
|
284
|
+
tts: (text: string, options?: {
|
|
285
|
+
account?: string;
|
|
286
|
+
agent?: string;
|
|
287
|
+
channel?: string;
|
|
288
|
+
chat?: string;
|
|
289
|
+
clientId?: string;
|
|
290
|
+
elevenlabs?: string;
|
|
291
|
+
format?: string;
|
|
292
|
+
id?: string;
|
|
293
|
+
lang?: string;
|
|
294
|
+
model?: string;
|
|
295
|
+
noAutoplay?: boolean;
|
|
296
|
+
session?: string;
|
|
297
|
+
sessionKey?: string;
|
|
298
|
+
speed?: string;
|
|
299
|
+
voice?: string;
|
|
300
|
+
voiceSettings?: string;
|
|
301
|
+
}) => Promise<AudioTtsReturn>;
|
|
302
|
+
/** List available ElevenLabs voices for picker UIs */
|
|
303
|
+
voices: (options?: {
|
|
304
|
+
category?: string;
|
|
305
|
+
limit?: string;
|
|
306
|
+
search?: string;
|
|
307
|
+
voiceType?: string;
|
|
308
|
+
}) => Promise<AudioVoicesReturn>;
|
|
309
|
+
};
|
|
310
|
+
readonly bridges: {
|
|
311
|
+
/** Create a Ravi MCP bridge URL for a Console project */
|
|
312
|
+
create: (options?: {
|
|
313
|
+
allow?: string;
|
|
314
|
+
console?: string;
|
|
315
|
+
description?: string;
|
|
316
|
+
name?: string;
|
|
317
|
+
project?: string;
|
|
318
|
+
session?: string;
|
|
319
|
+
}) => Promise<BridgesCreateReturn>;
|
|
320
|
+
/** List Ravi MCP bridges for a Console project */
|
|
321
|
+
list: (options?: {
|
|
322
|
+
console?: string;
|
|
323
|
+
limit?: string;
|
|
324
|
+
offset?: string;
|
|
325
|
+
project?: string;
|
|
326
|
+
}) => Promise<BridgesListReturn>;
|
|
327
|
+
/** Revoke a Ravi MCP bridge and its client tokens */
|
|
328
|
+
revoke: (id: string, options?: {
|
|
329
|
+
console?: string;
|
|
330
|
+
yes?: boolean;
|
|
331
|
+
}) => Promise<BridgesRevokeReturn>;
|
|
332
|
+
};
|
|
333
|
+
readonly calendars: {
|
|
334
|
+
/** Return free/busy availability in a bounded time window */
|
|
335
|
+
availability: (options?: {
|
|
336
|
+
calendar?: string;
|
|
337
|
+
from?: string;
|
|
338
|
+
limit?: string;
|
|
339
|
+
to?: string;
|
|
340
|
+
}) => Promise<CalendarsAvailabilityReturn>;
|
|
341
|
+
/** Create or update a local calendar projection */
|
|
342
|
+
create: (options?: {
|
|
343
|
+
account?: string;
|
|
344
|
+
color?: string;
|
|
345
|
+
default?: boolean;
|
|
346
|
+
description?: string;
|
|
347
|
+
name?: string;
|
|
348
|
+
owner?: string;
|
|
349
|
+
providerCalendarId?: string;
|
|
350
|
+
role?: string;
|
|
351
|
+
timezone?: string;
|
|
352
|
+
visibility?: string;
|
|
353
|
+
}) => Promise<CalendarsCreateReturn>;
|
|
354
|
+
/** Disable a local calendar projection */
|
|
355
|
+
disable: (calendar: string) => Promise<CalendarsDisableReturn>;
|
|
356
|
+
events: {
|
|
357
|
+
/** Cancel a local calendar event */
|
|
358
|
+
cancel: (event: string, options?: {
|
|
359
|
+
idempotencyKey?: string;
|
|
360
|
+
}) => Promise<CalendarsEventsCancelReturn>;
|
|
361
|
+
/** Create a local calendar event and local outbox row */
|
|
362
|
+
create: (options?: {
|
|
363
|
+
attendee?: string;
|
|
364
|
+
calendar?: string;
|
|
365
|
+
description?: string;
|
|
366
|
+
end?: string;
|
|
367
|
+
idempotencyKey?: string;
|
|
368
|
+
location?: string;
|
|
369
|
+
start?: string;
|
|
370
|
+
timezone?: string;
|
|
371
|
+
title?: string;
|
|
372
|
+
}) => Promise<CalendarsEventsCreateReturn>;
|
|
373
|
+
/** List local calendar events in a bounded time window */
|
|
374
|
+
list: (options?: {
|
|
375
|
+
calendar?: string;
|
|
376
|
+
from?: string;
|
|
377
|
+
includeCancelled?: boolean;
|
|
378
|
+
limit?: string;
|
|
379
|
+
offset?: string;
|
|
380
|
+
query?: string;
|
|
381
|
+
status?: string;
|
|
382
|
+
to?: string;
|
|
383
|
+
}) => Promise<CalendarsEventsListReturn>;
|
|
384
|
+
/** Read one local calendar event */
|
|
385
|
+
read: (event: string) => Promise<CalendarsEventsReadReturn>;
|
|
386
|
+
/** Record an attendee response and enqueue provider delivery */
|
|
387
|
+
respond: (event: string, options?: {
|
|
388
|
+
attendeeAgent?: string;
|
|
389
|
+
attendeeEmail?: string;
|
|
390
|
+
idempotencyKey?: string;
|
|
391
|
+
status?: string;
|
|
392
|
+
}) => Promise<CalendarsEventsRespondReturn>;
|
|
393
|
+
/** Update a local calendar event and enqueue provider delivery */
|
|
394
|
+
update: (event: string, options?: {
|
|
395
|
+
busy?: string;
|
|
396
|
+
description?: string;
|
|
397
|
+
end?: string;
|
|
398
|
+
idempotencyKey?: string;
|
|
399
|
+
location?: string;
|
|
400
|
+
start?: string;
|
|
401
|
+
status?: string;
|
|
402
|
+
title?: string;
|
|
403
|
+
visibility?: string;
|
|
404
|
+
}) => Promise<CalendarsEventsUpdateReturn>;
|
|
405
|
+
};
|
|
406
|
+
/** List local calendars visible to the current requester */
|
|
407
|
+
list: (options?: {
|
|
408
|
+
account?: string;
|
|
409
|
+
limit?: string;
|
|
410
|
+
offset?: string;
|
|
411
|
+
status?: string;
|
|
412
|
+
}) => Promise<CalendarsListReturn>;
|
|
413
|
+
/** Grant a calendar relation to an agent/contact/system subject */
|
|
414
|
+
share: (calendar: string, options?: {
|
|
415
|
+
expiresAt?: string;
|
|
416
|
+
relation?: string;
|
|
417
|
+
with?: string;
|
|
418
|
+
}) => Promise<CalendarsShareReturn>;
|
|
419
|
+
/** Show a local calendar */
|
|
420
|
+
show: (calendar: string, options?: {
|
|
421
|
+
members?: boolean;
|
|
422
|
+
}) => Promise<CalendarsShowReturn>;
|
|
423
|
+
};
|
|
424
|
+
readonly channels: {
|
|
425
|
+
/** Create or update a native channel config */
|
|
426
|
+
create: (name: string, options?: {
|
|
427
|
+
credentialConnection?: string;
|
|
428
|
+
provider?: string;
|
|
429
|
+
}) => Promise<ChannelsCreateReturn>;
|
|
430
|
+
/** List configured native channels */
|
|
431
|
+
list: (options?: {
|
|
432
|
+
limit?: string;
|
|
433
|
+
offset?: string;
|
|
434
|
+
provider?: string;
|
|
435
|
+
}) => Promise<ChannelsListReturn>;
|
|
436
|
+
/** Start channel runner infrastructure and print foreground status */
|
|
437
|
+
probe: () => Promise<ChannelsProbeReturn>;
|
|
438
|
+
/** Restart the channel runner */
|
|
439
|
+
restart: (options?: {
|
|
440
|
+
build?: boolean;
|
|
441
|
+
}) => Promise<ChannelsRestartReturn>;
|
|
442
|
+
/** Set a native channel config property */
|
|
443
|
+
set: (name: string, key: string, value: string) => Promise<ChannelsSetReturn>;
|
|
444
|
+
/** Show one configured native channel */
|
|
445
|
+
show: (name: string) => Promise<ChannelsShowReturn>;
|
|
446
|
+
/** Start the channel runner via PM2 */
|
|
447
|
+
start: (options?: {
|
|
448
|
+
build?: boolean;
|
|
449
|
+
}) => Promise<ChannelsStartReturn>;
|
|
450
|
+
/** Show channel runner status */
|
|
451
|
+
status: () => Promise<ChannelsStatusReturn>;
|
|
452
|
+
/** Stop the channel runner */
|
|
453
|
+
stop: () => Promise<ChannelsStopReturn>;
|
|
214
454
|
};
|
|
215
455
|
readonly chats: {
|
|
456
|
+
/** Backfill message provider timestamps from raw provenance */
|
|
457
|
+
backfillProviderTimestamps: (options?: {
|
|
458
|
+
apply?: boolean;
|
|
459
|
+
dryRun?: boolean;
|
|
460
|
+
limit?: string;
|
|
461
|
+
}) => Promise<ChatsBackfillProviderTimestampsReturn>;
|
|
216
462
|
/** List recent canonical chats */
|
|
217
463
|
list: (options?: {
|
|
218
464
|
agent?: string;
|
|
@@ -277,12 +523,24 @@ export declare class RaviClient {
|
|
|
277
523
|
owner?: string;
|
|
278
524
|
reader?: string;
|
|
279
525
|
}) => Promise<ChatsListsMembersReturn>;
|
|
526
|
+
/** Validate a dynamic selector and preview membership diff without writes */
|
|
527
|
+
preview: (listId: string, options?: {
|
|
528
|
+
owner?: string;
|
|
529
|
+
}) => Promise<ChatsListsPreviewReturn>;
|
|
530
|
+
/** Materialize dynamic reading-list selector membership */
|
|
531
|
+
recompute: (listId: string, options?: {
|
|
532
|
+
owner?: string;
|
|
533
|
+
}) => Promise<ChatsListsRecomputeReturn>;
|
|
280
534
|
/** Remove a chat from a reading list without deleting cursor history */
|
|
281
535
|
remove: (list: string, chat: string, options?: {
|
|
282
536
|
channel?: string;
|
|
283
537
|
instance?: string;
|
|
284
538
|
owner?: string;
|
|
285
539
|
}) => Promise<ChatsListsRemoveReturn>;
|
|
540
|
+
/** Show one reading list and explain whether its selector is safe */
|
|
541
|
+
show: (listId: string, options?: {
|
|
542
|
+
owner?: string;
|
|
543
|
+
}) => Promise<ChatsListsShowReturn>;
|
|
286
544
|
};
|
|
287
545
|
/** Read messages from one chat */
|
|
288
546
|
read: (chat: string, options?: {
|
|
@@ -295,6 +553,52 @@ export declare class RaviClient {
|
|
|
295
553
|
type?: string;
|
|
296
554
|
}) => Promise<ChatsReadReturn>;
|
|
297
555
|
};
|
|
556
|
+
readonly cloud: {
|
|
557
|
+
projects: {
|
|
558
|
+
/** Create a Ravi Cloud project in Console */
|
|
559
|
+
create: (slug: string, options?: {
|
|
560
|
+
console?: string;
|
|
561
|
+
defaultPageSite?: string;
|
|
562
|
+
description?: string;
|
|
563
|
+
name?: string;
|
|
564
|
+
visibility?: string;
|
|
565
|
+
}) => Promise<CloudProjectsCreateReturn>;
|
|
566
|
+
/** List Ravi Cloud projects from Console */
|
|
567
|
+
list: (options?: {
|
|
568
|
+
console?: string;
|
|
569
|
+
limit?: string;
|
|
570
|
+
offset?: string;
|
|
571
|
+
}) => Promise<CloudProjectsListReturn>;
|
|
572
|
+
};
|
|
573
|
+
scope: {
|
|
574
|
+
/** Clear a default Console project for a session, agent, workspace, or install */
|
|
575
|
+
clear: (options?: {
|
|
576
|
+
agent?: string;
|
|
577
|
+
console?: string;
|
|
578
|
+
global?: boolean;
|
|
579
|
+
session?: string;
|
|
580
|
+
workspace?: string;
|
|
581
|
+
}) => Promise<CloudScopeClearReturn>;
|
|
582
|
+
/** Explain how the effective Ravi Console scope is resolved */
|
|
583
|
+
explain: (options?: {
|
|
584
|
+
console?: string;
|
|
585
|
+
project?: string;
|
|
586
|
+
}) => Promise<CloudScopeExplainReturn>;
|
|
587
|
+
/** Set a default Console project for a session, agent, workspace, or install */
|
|
588
|
+
set: (options?: {
|
|
589
|
+
agent?: string;
|
|
590
|
+
console?: string;
|
|
591
|
+
global?: boolean;
|
|
592
|
+
project?: string;
|
|
593
|
+
session?: string;
|
|
594
|
+
workspace?: string;
|
|
595
|
+
}) => Promise<CloudScopeSetReturn>;
|
|
596
|
+
/** Show the effective Ravi Console scope for this process */
|
|
597
|
+
show: (options?: {
|
|
598
|
+
console?: string;
|
|
599
|
+
}) => Promise<CloudScopeShowReturn>;
|
|
600
|
+
};
|
|
601
|
+
};
|
|
298
602
|
readonly commands: {
|
|
299
603
|
/** List Ravi commands */
|
|
300
604
|
list: (options?: {
|
|
@@ -304,7 +608,7 @@ export declare class RaviClient {
|
|
|
304
608
|
tag?: string;
|
|
305
609
|
}) => Promise<CommandsListReturn>;
|
|
306
610
|
/** Render a Ravi command into its composed prompt */
|
|
307
|
-
run: (name: string, args
|
|
611
|
+
run: (name: string, args?: string[], options?: {
|
|
308
612
|
agent?: string;
|
|
309
613
|
}) => Promise<CommandsRunReturn>;
|
|
310
614
|
/** Show one Ravi command */
|
|
@@ -316,6 +620,21 @@ export declare class RaviClient {
|
|
|
316
620
|
agent?: string;
|
|
317
621
|
}) => Promise<CommandsValidateReturn>;
|
|
318
622
|
};
|
|
623
|
+
readonly connectors: {
|
|
624
|
+
/** List your connectors */
|
|
625
|
+
list: (options?: {
|
|
626
|
+
limit?: string;
|
|
627
|
+
offset?: string;
|
|
628
|
+
project?: string;
|
|
629
|
+
provider?: string;
|
|
630
|
+
}) => Promise<ConnectorsListReturn>;
|
|
631
|
+
/** Revoke a connector and delete its stored credentials */
|
|
632
|
+
revoke: (id: string, options?: {
|
|
633
|
+
yes?: boolean;
|
|
634
|
+
}) => Promise<ConnectorsRevokeReturn>;
|
|
635
|
+
/** Show details of a single connector */
|
|
636
|
+
show: (id: string) => Promise<ConnectorsShowReturn>;
|
|
637
|
+
};
|
|
319
638
|
readonly contacts: {
|
|
320
639
|
/** Show session activity attributed to a contact */
|
|
321
640
|
activity: (contact: string, options?: {
|
|
@@ -490,6 +809,12 @@ export declare class RaviClient {
|
|
|
490
809
|
offset?: string;
|
|
491
810
|
session?: string;
|
|
492
811
|
}) => Promise<ContextListReturn>;
|
|
812
|
+
/** Compact the context store by deleting inactive (revoked/expired) contexts */
|
|
813
|
+
prune: (options?: {
|
|
814
|
+
apply?: boolean;
|
|
815
|
+
confirm?: string;
|
|
816
|
+
olderThan?: string;
|
|
817
|
+
}) => Promise<ContextPruneReturn>;
|
|
493
818
|
/** Revoke a runtime context by context ID */
|
|
494
819
|
revoke: (contextId: string, options?: {
|
|
495
820
|
noCascade?: boolean;
|
|
@@ -510,6 +835,14 @@ export declare class RaviClient {
|
|
|
510
835
|
hours?: string;
|
|
511
836
|
limit?: string;
|
|
512
837
|
}) => Promise<CostsAgentsReturn>;
|
|
838
|
+
/** Audit pricing coverage for recent cost events */
|
|
839
|
+
pricing: (options?: {
|
|
840
|
+
dryRun?: boolean;
|
|
841
|
+
hours?: string;
|
|
842
|
+
includePriced?: boolean;
|
|
843
|
+
limit?: string;
|
|
844
|
+
recompute?: boolean;
|
|
845
|
+
}) => Promise<CostsPricingReturn>;
|
|
513
846
|
/** Show detailed cost summary for one session */
|
|
514
847
|
session: (nameOrKey: string) => Promise<CostsSessionReturn>;
|
|
515
848
|
/** Show total cost summary for a recent window */
|
|
@@ -522,6 +855,41 @@ export declare class RaviClient {
|
|
|
522
855
|
limit?: string;
|
|
523
856
|
}) => Promise<CostsTopSessionsReturn>;
|
|
524
857
|
};
|
|
858
|
+
readonly credentials: {
|
|
859
|
+
connections: {
|
|
860
|
+
/** Disable a credential connection */
|
|
861
|
+
disable: (options?: {
|
|
862
|
+
connection?: string;
|
|
863
|
+
provider?: string;
|
|
864
|
+
}) => Promise<CredentialsConnectionsDisableReturn>;
|
|
865
|
+
/** Enable a credential connection */
|
|
866
|
+
enable: (options?: {
|
|
867
|
+
connection?: string;
|
|
868
|
+
provider?: string;
|
|
869
|
+
}) => Promise<CredentialsConnectionsEnableReturn>;
|
|
870
|
+
/** List provider credential connections without secret values */
|
|
871
|
+
list: (options?: {
|
|
872
|
+
all?: boolean;
|
|
873
|
+
limit?: string;
|
|
874
|
+
offset?: string;
|
|
875
|
+
provider?: string;
|
|
876
|
+
status?: string;
|
|
877
|
+
}) => Promise<CredentialsConnectionsListReturn>;
|
|
878
|
+
/** Show one credential connection without secret values */
|
|
879
|
+
show: (options?: {
|
|
880
|
+
connection?: string;
|
|
881
|
+
provider?: string;
|
|
882
|
+
}) => Promise<CredentialsConnectionsShowReturn>;
|
|
883
|
+
};
|
|
884
|
+
policies: {
|
|
885
|
+
/** Explain capabilities required for a provider credential action */
|
|
886
|
+
explain: (options?: {
|
|
887
|
+
action?: string;
|
|
888
|
+
connection?: string;
|
|
889
|
+
provider?: string;
|
|
890
|
+
}) => Promise<CredentialsPoliciesExplainReturn>;
|
|
891
|
+
};
|
|
892
|
+
};
|
|
525
893
|
readonly crm: {
|
|
526
894
|
account: {
|
|
527
895
|
/** Create a CRM account */
|
|
@@ -542,7 +910,10 @@ export declare class RaviClient {
|
|
|
542
910
|
/** Show CRM account */
|
|
543
911
|
accountCommand: (account: string) => Promise<CrmAccountReturn>;
|
|
544
912
|
/** Show open opportunity board */
|
|
545
|
-
board: (
|
|
913
|
+
board: (options?: {
|
|
914
|
+
includeEmptyStages?: boolean;
|
|
915
|
+
pipeline?: string;
|
|
916
|
+
}) => Promise<CrmBoardReturn>;
|
|
546
917
|
contact: {
|
|
547
918
|
/** Set one CRM contact profile field */
|
|
548
919
|
set: (contact: string, field: string, value: string, options?: {
|
|
@@ -591,10 +962,14 @@ export declare class RaviClient {
|
|
|
591
962
|
next: (options?: {
|
|
592
963
|
account?: string;
|
|
593
964
|
contact?: string;
|
|
965
|
+
dueAfter?: string;
|
|
966
|
+
dueBefore?: string;
|
|
967
|
+
dueToday?: boolean;
|
|
594
968
|
limit?: string;
|
|
595
969
|
offset?: string;
|
|
596
970
|
opportunity?: string;
|
|
597
971
|
owner?: string;
|
|
972
|
+
taskType?: string;
|
|
598
973
|
}) => Promise<CrmNextReturn>;
|
|
599
974
|
opportunity: {
|
|
600
975
|
/** List contacts linked to an opportunity */
|
|
@@ -606,6 +981,7 @@ export declare class RaviClient {
|
|
|
606
981
|
currency?: string;
|
|
607
982
|
idempotencyKey?: string;
|
|
608
983
|
owner?: string;
|
|
984
|
+
pipeline?: string;
|
|
609
985
|
stage?: string;
|
|
610
986
|
value?: string;
|
|
611
987
|
}) => Promise<CrmOpportunityCreateReturn>;
|
|
@@ -624,21 +1000,172 @@ export declare class RaviClient {
|
|
|
624
1000
|
};
|
|
625
1001
|
/** Show CRM opportunity */
|
|
626
1002
|
opportunityCommand: (opportunity: string) => Promise<CrmOpportunityReturn>;
|
|
1003
|
+
pipeline: {
|
|
1004
|
+
/** Create a CRM pipeline (with optional declarative metadata) */
|
|
1005
|
+
create: (name: string, options?: {
|
|
1006
|
+
analystAvoid?: string;
|
|
1007
|
+
analystMentions?: string;
|
|
1008
|
+
analystTone?: string;
|
|
1009
|
+
consumer?: string;
|
|
1010
|
+
default?: boolean;
|
|
1011
|
+
entityType?: string;
|
|
1012
|
+
hitlRequiredWhen?: string;
|
|
1013
|
+
idempotencyKey?: string;
|
|
1014
|
+
messagePrefix?: string;
|
|
1015
|
+
messageSuffix?: string;
|
|
1016
|
+
metadata?: string;
|
|
1017
|
+
objetivo?: string;
|
|
1018
|
+
priorityGlobal?: string;
|
|
1019
|
+
producer?: string;
|
|
1020
|
+
readingListId?: string;
|
|
1021
|
+
reguaTag?: string[];
|
|
1022
|
+
relatedCron?: string;
|
|
1023
|
+
relatedTrigger?: string;
|
|
1024
|
+
sendWindow?: string;
|
|
1025
|
+
versao?: string;
|
|
1026
|
+
vipGuardAction?: string;
|
|
1027
|
+
vipGuardLtv?: string;
|
|
1028
|
+
vipGuardTag?: string;
|
|
1029
|
+
}) => Promise<CrmPipelineCreateReturn>;
|
|
1030
|
+
/** List CRM pipelines */
|
|
1031
|
+
list: (options?: {
|
|
1032
|
+
entityType?: string;
|
|
1033
|
+
includeArchived?: boolean;
|
|
1034
|
+
limit?: string;
|
|
1035
|
+
offset?: string;
|
|
1036
|
+
}) => Promise<CrmPipelineListReturn>;
|
|
1037
|
+
policy: {
|
|
1038
|
+
/** Evaluate metadata.hitl_required_when against a JSON context (decide if send needs human approval) */
|
|
1039
|
+
hitlCheck: (pipeline: string, options?: {
|
|
1040
|
+
context?: string;
|
|
1041
|
+
}) => Promise<CrmPipelinePolicyHitlCheckReturn>;
|
|
1042
|
+
/** Evaluate metadata.send_window for a pipeline at a given instant (allow / releaseAt) */
|
|
1043
|
+
sendWindowCheck: (pipeline: string, options?: {
|
|
1044
|
+
at?: string;
|
|
1045
|
+
}) => Promise<CrmPipelinePolicySendWindowCheckReturn>;
|
|
1046
|
+
};
|
|
1047
|
+
/** Review pipeline metadata against canonical schema (12 fields, ✓/⚠/✗ + suggestions) */
|
|
1048
|
+
review: (pipeline: string) => Promise<CrmPipelineReviewReturn>;
|
|
1049
|
+
/** Set a CRM pipeline field (or patch metadata via structured flags) */
|
|
1050
|
+
set: (pipeline: string, field: string, value: string, options?: {
|
|
1051
|
+
analystAvoid?: string;
|
|
1052
|
+
analystMentions?: string;
|
|
1053
|
+
analystTone?: string;
|
|
1054
|
+
consumer?: string;
|
|
1055
|
+
hitlRequiredWhen?: string;
|
|
1056
|
+
messagePrefix?: string;
|
|
1057
|
+
messageSuffix?: string;
|
|
1058
|
+
objetivo?: string;
|
|
1059
|
+
priorityGlobal?: string;
|
|
1060
|
+
producer?: string;
|
|
1061
|
+
readingListId?: string;
|
|
1062
|
+
reguaTag?: string[];
|
|
1063
|
+
relatedCron?: string;
|
|
1064
|
+
relatedTrigger?: string;
|
|
1065
|
+
sendWindow?: string;
|
|
1066
|
+
versao?: string;
|
|
1067
|
+
vipGuardAction?: string;
|
|
1068
|
+
vipGuardLtv?: string;
|
|
1069
|
+
vipGuardTag?: string;
|
|
1070
|
+
}) => Promise<CrmPipelineSetReturn>;
|
|
1071
|
+
/** Show one CRM pipeline with stages and topics */
|
|
1072
|
+
show: (pipeline: string, options?: {
|
|
1073
|
+
explain?: boolean;
|
|
1074
|
+
}) => Promise<CrmPipelineShowReturn>;
|
|
1075
|
+
stage: {
|
|
1076
|
+
/** Add a stage to a CRM pipeline */
|
|
1077
|
+
add: (pipeline: string, key: string, options?: {
|
|
1078
|
+
category?: string;
|
|
1079
|
+
idempotencyKey?: string;
|
|
1080
|
+
metadata?: string;
|
|
1081
|
+
name?: string;
|
|
1082
|
+
order?: string;
|
|
1083
|
+
probability?: string;
|
|
1084
|
+
terminal?: boolean;
|
|
1085
|
+
}) => Promise<CrmPipelineStageAddReturn>;
|
|
1086
|
+
/** Archive a CRM pipeline stage */
|
|
1087
|
+
archive: (pipeline: string, stage: string) => Promise<CrmPipelineStageArchiveReturn>;
|
|
1088
|
+
/** List stages in a CRM pipeline */
|
|
1089
|
+
list: (pipeline: string, options?: {
|
|
1090
|
+
includeArchived?: boolean;
|
|
1091
|
+
limit?: string;
|
|
1092
|
+
offset?: string;
|
|
1093
|
+
}) => Promise<CrmPipelineStageListReturn>;
|
|
1094
|
+
/** Set a CRM pipeline stage field */
|
|
1095
|
+
set: (pipeline: string, stage: string, field: string, value: string) => Promise<CrmPipelineStageSetReturn>;
|
|
1096
|
+
/** Show one CRM pipeline stage */
|
|
1097
|
+
show: (pipeline: string, stage: string) => Promise<CrmPipelineStageShowReturn>;
|
|
1098
|
+
topic: {
|
|
1099
|
+
/** Add a topic to a CRM pipeline stage */
|
|
1100
|
+
add: (pipeline: string, stage: string, key: string, options?: {
|
|
1101
|
+
description?: string;
|
|
1102
|
+
idempotencyKey?: string;
|
|
1103
|
+
metadata?: string;
|
|
1104
|
+
order?: string;
|
|
1105
|
+
title?: string;
|
|
1106
|
+
type?: string;
|
|
1107
|
+
}) => Promise<CrmPipelineStageTopicAddReturn>;
|
|
1108
|
+
/** Archive a CRM pipeline stage topic */
|
|
1109
|
+
archive: (pipeline: string, stage: string, topic: string) => Promise<CrmPipelineStageTopicArchiveReturn>;
|
|
1110
|
+
/** Set a CRM pipeline stage topic field */
|
|
1111
|
+
set: (pipeline: string, stage: string, topic: string, field: string, value: string) => Promise<CrmPipelineStageTopicSetReturn>;
|
|
1112
|
+
};
|
|
1113
|
+
/** List topics configured for a CRM pipeline stage */
|
|
1114
|
+
topics: (pipeline: string, stage: string, options?: {
|
|
1115
|
+
includeArchived?: boolean;
|
|
1116
|
+
limit?: string;
|
|
1117
|
+
offset?: string;
|
|
1118
|
+
}) => Promise<CrmPipelineStageTopicsReturn>;
|
|
1119
|
+
};
|
|
1120
|
+
/** Validate pipeline metadata against canonical JSON Schema (PASS/WARN/FAIL) */
|
|
1121
|
+
validate: (pipeline?: string, options?: {
|
|
1122
|
+
schemaJson?: boolean;
|
|
1123
|
+
}) => Promise<CrmPipelineValidateReturn>;
|
|
1124
|
+
};
|
|
627
1125
|
task: {
|
|
1126
|
+
/** Cancel a CRM task */
|
|
1127
|
+
cancel: (task: string, options?: {
|
|
1128
|
+
reason?: string;
|
|
1129
|
+
}) => Promise<CrmTaskCancelReturn>;
|
|
628
1130
|
/** Create a CRM relationship task */
|
|
629
1131
|
create: (title: string, options?: {
|
|
630
1132
|
account?: string;
|
|
1133
|
+
body?: string;
|
|
1134
|
+
confidence?: string;
|
|
631
1135
|
contact?: string;
|
|
632
1136
|
due?: string;
|
|
1137
|
+
evidence?: string;
|
|
633
1138
|
idempotencyKey?: string;
|
|
1139
|
+
metadata?: string;
|
|
634
1140
|
opportunity?: string;
|
|
635
1141
|
owner?: string;
|
|
636
1142
|
priority?: string;
|
|
1143
|
+
source?: string;
|
|
1144
|
+
taskType?: string;
|
|
637
1145
|
}) => Promise<CrmTaskCreateReturn>;
|
|
638
1146
|
/** Complete a CRM task */
|
|
639
1147
|
done: (task: string) => Promise<CrmTaskDoneReturn>;
|
|
1148
|
+
/** List CRM tasks (all statuses) */
|
|
1149
|
+
list: (options?: {
|
|
1150
|
+
account?: string;
|
|
1151
|
+
contact?: string;
|
|
1152
|
+
dueAfter?: string;
|
|
1153
|
+
dueBefore?: string;
|
|
1154
|
+
dueToday?: boolean;
|
|
1155
|
+
limit?: string;
|
|
1156
|
+
offset?: string;
|
|
1157
|
+
opportunity?: string;
|
|
1158
|
+
owner?: string;
|
|
1159
|
+
status?: string;
|
|
1160
|
+
taskType?: string;
|
|
1161
|
+
}) => Promise<CrmTaskListReturn>;
|
|
640
1162
|
/** Show CRM task */
|
|
641
1163
|
show: (task: string) => Promise<CrmTaskShowReturn>;
|
|
1164
|
+
/** Snooze a CRM task to a new due_at */
|
|
1165
|
+
snooze: (task: string, options?: {
|
|
1166
|
+
reason?: string;
|
|
1167
|
+
until?: string;
|
|
1168
|
+
}) => Promise<CrmTaskSnoozeReturn>;
|
|
642
1169
|
};
|
|
643
1170
|
};
|
|
644
1171
|
readonly cron: {
|
|
@@ -650,17 +1177,24 @@ export declare class RaviClient {
|
|
|
650
1177
|
cron?: string;
|
|
651
1178
|
deleteAfter?: boolean;
|
|
652
1179
|
description?: string;
|
|
1180
|
+
envFile?: string;
|
|
653
1181
|
every?: string;
|
|
1182
|
+
exec?: string;
|
|
654
1183
|
isolated?: boolean;
|
|
655
1184
|
message?: string;
|
|
1185
|
+
onError?: string;
|
|
1186
|
+
shell?: string;
|
|
1187
|
+
timeout?: string;
|
|
656
1188
|
tz?: string;
|
|
657
1189
|
}) => Promise<CronAddReturn>;
|
|
658
1190
|
/** Disable a job */
|
|
659
1191
|
disable: (id: string) => Promise<CronDisableReturn>;
|
|
660
1192
|
/** Enable a job */
|
|
661
1193
|
enable: (id: string) => Promise<CronEnableReturn>;
|
|
662
|
-
/** List
|
|
1194
|
+
/** List scheduled jobs (agent-scoped by default) */
|
|
663
1195
|
list: (options?: {
|
|
1196
|
+
agent?: string;
|
|
1197
|
+
allAgents?: boolean;
|
|
664
1198
|
limit?: string;
|
|
665
1199
|
offset?: string;
|
|
666
1200
|
tag?: string;
|
|
@@ -726,17 +1260,24 @@ export declare class RaviClient {
|
|
|
726
1260
|
attachmentUrl?: string[];
|
|
727
1261
|
bypassApproval?: boolean;
|
|
728
1262
|
childPlaybook?: string;
|
|
1263
|
+
devinId?: string;
|
|
1264
|
+
devinMode?: string;
|
|
729
1265
|
knowledge?: string[];
|
|
730
1266
|
maxAcu?: string;
|
|
731
1267
|
noMaxAcuLimit?: boolean;
|
|
1268
|
+
noResumable?: boolean;
|
|
1269
|
+
platform?: string;
|
|
732
1270
|
playbook?: string;
|
|
733
1271
|
project?: string;
|
|
734
1272
|
prompt?: string;
|
|
735
1273
|
promptFile?: string;
|
|
736
1274
|
proxRun?: string;
|
|
737
1275
|
repo?: string[];
|
|
1276
|
+
resumable?: boolean;
|
|
738
1277
|
secret?: string[];
|
|
739
1278
|
sessionLink?: string[];
|
|
1279
|
+
sessionSecret?: string[];
|
|
1280
|
+
structuredOutputRequired?: boolean;
|
|
740
1281
|
structuredOutputSchema?: string;
|
|
741
1282
|
tag?: string[];
|
|
742
1283
|
task?: string;
|
|
@@ -783,6 +1324,35 @@ export declare class RaviClient {
|
|
|
783
1324
|
output?: string;
|
|
784
1325
|
}) => Promise<EvalRunReturn>;
|
|
785
1326
|
};
|
|
1327
|
+
readonly feedback: {
|
|
1328
|
+
/** Submit structured feedback to Ravi Console */
|
|
1329
|
+
send: (message: string[], options?: {
|
|
1330
|
+
console?: string;
|
|
1331
|
+
kind?: string;
|
|
1332
|
+
metadataJson?: string;
|
|
1333
|
+
project?: string;
|
|
1334
|
+
severity?: string;
|
|
1335
|
+
surface?: string;
|
|
1336
|
+
tag?: string;
|
|
1337
|
+
title?: string;
|
|
1338
|
+
url?: string;
|
|
1339
|
+
}) => Promise<FeedbackSendReturn>;
|
|
1340
|
+
};
|
|
1341
|
+
readonly gmail: {
|
|
1342
|
+
/** List messages in the connected Gmail mailbox */
|
|
1343
|
+
list: (options?: {
|
|
1344
|
+
connector?: string;
|
|
1345
|
+
cursor?: string;
|
|
1346
|
+
label?: string;
|
|
1347
|
+
max?: string;
|
|
1348
|
+
q?: string;
|
|
1349
|
+
}) => Promise<GmailListReturn>;
|
|
1350
|
+
/** Read a single Gmail message */
|
|
1351
|
+
read: (id: string, options?: {
|
|
1352
|
+
connector?: string;
|
|
1353
|
+
format?: string;
|
|
1354
|
+
}) => Promise<GmailReadReturn>;
|
|
1355
|
+
};
|
|
786
1356
|
readonly heartbeat: {
|
|
787
1357
|
/** Disable heartbeat for an agent */
|
|
788
1358
|
disable: (id: string) => Promise<HeartbeatDisableReturn>;
|
|
@@ -879,6 +1449,44 @@ export declare class RaviClient {
|
|
|
879
1449
|
sync?: boolean;
|
|
880
1450
|
}) => Promise<ImageGenerateReturn>;
|
|
881
1451
|
};
|
|
1452
|
+
readonly inbox: {
|
|
1453
|
+
/** Archive a local inbox item */
|
|
1454
|
+
archive: (item: string) => Promise<InboxArchiveReturn>;
|
|
1455
|
+
/** Disable inbox polling for the current Console+org */
|
|
1456
|
+
disable: () => Promise<InboxDisableReturn>;
|
|
1457
|
+
/** Mark a local inbox item done */
|
|
1458
|
+
done: (item: string) => Promise<InboxDoneReturn>;
|
|
1459
|
+
/** Enable inbox polling for the current Console+org */
|
|
1460
|
+
enable: () => Promise<InboxEnableReturn>;
|
|
1461
|
+
/** List recently delivered inbox items in the local mirror */
|
|
1462
|
+
items: (options?: {
|
|
1463
|
+
limit?: string;
|
|
1464
|
+
}) => Promise<InboxItemsReturn>;
|
|
1465
|
+
/** List local inbox items */
|
|
1466
|
+
list: (options?: {
|
|
1467
|
+
includeArchived?: boolean;
|
|
1468
|
+
limit?: string;
|
|
1469
|
+
offset?: string;
|
|
1470
|
+
source?: string;
|
|
1471
|
+
status?: string;
|
|
1472
|
+
}) => Promise<InboxListReturn>;
|
|
1473
|
+
/** Run a single inbox poll cycle (foreground) */
|
|
1474
|
+
poll: (options?: {
|
|
1475
|
+
once?: boolean;
|
|
1476
|
+
}) => Promise<InboxPollReturn>;
|
|
1477
|
+
/** Read one local inbox item and mark it seen */
|
|
1478
|
+
read: (item: string) => Promise<InboxReadReturn>;
|
|
1479
|
+
/** Republish a locally stored inbox item to NATS */
|
|
1480
|
+
replay: (ref: string) => Promise<InboxReplayReturn>;
|
|
1481
|
+
/** Snooze a local inbox item until a timestamp */
|
|
1482
|
+
snooze: (item: string, options?: {
|
|
1483
|
+
until?: string;
|
|
1484
|
+
}) => Promise<InboxSnoozeReturn>;
|
|
1485
|
+
/** List local inbox source domains */
|
|
1486
|
+
sources: () => Promise<InboxSourcesReturn>;
|
|
1487
|
+
/** Show inbox poller status and subscriptions */
|
|
1488
|
+
status: () => Promise<InboxStatusReturn>;
|
|
1489
|
+
};
|
|
882
1490
|
readonly insights: {
|
|
883
1491
|
/** Create a new insight with lineage captured from the current runtime context */
|
|
884
1492
|
create: (summary: string, options?: {
|
|
@@ -1006,6 +1614,192 @@ export declare class RaviClient {
|
|
|
1006
1614
|
pattern?: string;
|
|
1007
1615
|
}) => Promise<InstancesTargetReturn>;
|
|
1008
1616
|
};
|
|
1617
|
+
readonly mail: {
|
|
1618
|
+
accounts: {
|
|
1619
|
+
/** Create or update a local mail provider account */
|
|
1620
|
+
create: (options?: {
|
|
1621
|
+
credentialsRef?: string;
|
|
1622
|
+
id?: string;
|
|
1623
|
+
name?: string;
|
|
1624
|
+
provider?: string;
|
|
1625
|
+
}) => Promise<MailAccountsCreateReturn>;
|
|
1626
|
+
/** List local mail accounts */
|
|
1627
|
+
list: (options?: {
|
|
1628
|
+
limit?: string;
|
|
1629
|
+
offset?: string;
|
|
1630
|
+
provider?: string;
|
|
1631
|
+
status?: string;
|
|
1632
|
+
}) => Promise<MailAccountsListReturn>;
|
|
1633
|
+
/** Run one local provider sync tick for an account */
|
|
1634
|
+
sync: (account: string, options?: {
|
|
1635
|
+
once?: boolean;
|
|
1636
|
+
}) => Promise<MailAccountsSyncReturn>;
|
|
1637
|
+
};
|
|
1638
|
+
domains: {
|
|
1639
|
+
/** Register a managed Ravi Mail domain in Console */
|
|
1640
|
+
create: (domain: string, options?: {
|
|
1641
|
+
console?: string;
|
|
1642
|
+
}) => Promise<MailDomainsCreateReturn>;
|
|
1643
|
+
/** List managed Ravi Mail domains through Console */
|
|
1644
|
+
list: (options?: {
|
|
1645
|
+
console?: string;
|
|
1646
|
+
limit?: string;
|
|
1647
|
+
offset?: string;
|
|
1648
|
+
}) => Promise<MailDomainsListReturn>;
|
|
1649
|
+
};
|
|
1650
|
+
mailboxes: {
|
|
1651
|
+
/** Create or update a local mailbox projection */
|
|
1652
|
+
create: (address: string, options?: {
|
|
1653
|
+
account?: string;
|
|
1654
|
+
default?: boolean;
|
|
1655
|
+
name?: string;
|
|
1656
|
+
providerMailboxId?: string;
|
|
1657
|
+
role?: string;
|
|
1658
|
+
}) => Promise<MailMailboxesCreateReturn>;
|
|
1659
|
+
/** Disable a local mailbox projection */
|
|
1660
|
+
disable: (mailbox: string) => Promise<MailMailboxesDisableReturn>;
|
|
1661
|
+
/** List local mailboxes */
|
|
1662
|
+
list: (options?: {
|
|
1663
|
+
account?: string;
|
|
1664
|
+
limit?: string;
|
|
1665
|
+
offset?: string;
|
|
1666
|
+
status?: string;
|
|
1667
|
+
}) => Promise<MailMailboxesListReturn>;
|
|
1668
|
+
/** Show a local mailbox */
|
|
1669
|
+
show: (mailbox: string) => Promise<MailMailboxesShowReturn>;
|
|
1670
|
+
};
|
|
1671
|
+
messages: {
|
|
1672
|
+
/** Import one normalized provider message into the local mailbox */
|
|
1673
|
+
import: (options?: {
|
|
1674
|
+
body?: string;
|
|
1675
|
+
from?: string;
|
|
1676
|
+
mailbox?: string;
|
|
1677
|
+
provider?: string;
|
|
1678
|
+
providerMessageId?: string;
|
|
1679
|
+
providerThreadId?: string;
|
|
1680
|
+
rfcMessageId?: string;
|
|
1681
|
+
subject?: string;
|
|
1682
|
+
to?: string;
|
|
1683
|
+
}) => Promise<MailMessagesImportReturn>;
|
|
1684
|
+
/** List local mail messages */
|
|
1685
|
+
list: (options?: {
|
|
1686
|
+
addresses?: boolean;
|
|
1687
|
+
limit?: string;
|
|
1688
|
+
mailbox?: string;
|
|
1689
|
+
offset?: string;
|
|
1690
|
+
query?: string;
|
|
1691
|
+
status?: string;
|
|
1692
|
+
}) => Promise<MailMessagesListReturn>;
|
|
1693
|
+
/** Read a local mail message */
|
|
1694
|
+
read: (message: string, options?: {
|
|
1695
|
+
addresses?: boolean;
|
|
1696
|
+
}) => Promise<MailMessagesReadReturn>;
|
|
1697
|
+
/** Search local mail messages */
|
|
1698
|
+
search: (query: string, options?: {
|
|
1699
|
+
limit?: string;
|
|
1700
|
+
mailbox?: string;
|
|
1701
|
+
}) => Promise<MailMessagesSearchReturn>;
|
|
1702
|
+
};
|
|
1703
|
+
outbox: {
|
|
1704
|
+
/** Inspect a local outbox row */
|
|
1705
|
+
inspect: (outbox: string) => Promise<MailOutboxInspectReturn>;
|
|
1706
|
+
/** List local outbox rows */
|
|
1707
|
+
list: (options?: {
|
|
1708
|
+
limit?: string;
|
|
1709
|
+
mailbox?: string;
|
|
1710
|
+
offset?: string;
|
|
1711
|
+
status?: string;
|
|
1712
|
+
}) => Promise<MailOutboxListReturn>;
|
|
1713
|
+
/** Move a failed/dead local outbox row back to pending */
|
|
1714
|
+
retry: (outbox: string) => Promise<MailOutboxRetryReturn>;
|
|
1715
|
+
/** Show local mail outbox status */
|
|
1716
|
+
status: () => Promise<MailOutboxStatusReturn>;
|
|
1717
|
+
};
|
|
1718
|
+
providers: {
|
|
1719
|
+
/** List known mail providers and local account counts */
|
|
1720
|
+
list: (options?: {
|
|
1721
|
+
limit?: string;
|
|
1722
|
+
offset?: string;
|
|
1723
|
+
}) => Promise<MailProvidersListReturn>;
|
|
1724
|
+
raviMail: {
|
|
1725
|
+
mailboxes: {
|
|
1726
|
+
/** Create a Ravi Mail provider mailbox through Console */
|
|
1727
|
+
create: (addressOrLocalPart: string, options?: {
|
|
1728
|
+
console?: string;
|
|
1729
|
+
domain?: string;
|
|
1730
|
+
}) => Promise<MailProvidersRaviMailMailboxesCreateReturn>;
|
|
1731
|
+
/** Disable a managed Ravi Mail provider mailbox and active routes */
|
|
1732
|
+
disable: (mailbox: string, options?: {
|
|
1733
|
+
console?: string;
|
|
1734
|
+
}) => Promise<MailProvidersRaviMailMailboxesDisableReturn>;
|
|
1735
|
+
/** List Ravi Mail provider mailboxes through Console */
|
|
1736
|
+
list: (options?: {
|
|
1737
|
+
console?: string;
|
|
1738
|
+
domain?: string;
|
|
1739
|
+
limit?: string;
|
|
1740
|
+
offset?: string;
|
|
1741
|
+
}) => Promise<MailProvidersRaviMailMailboxesListReturn>;
|
|
1742
|
+
/** Show Ravi Mail provider mailbox metadata */
|
|
1743
|
+
show: (mailbox: string, options?: {
|
|
1744
|
+
console?: string;
|
|
1745
|
+
}) => Promise<MailProvidersRaviMailMailboxesShowReturn>;
|
|
1746
|
+
};
|
|
1747
|
+
messages: {
|
|
1748
|
+
/** List Ravi Mail provider message metadata */
|
|
1749
|
+
list: (options?: {
|
|
1750
|
+
addresses?: boolean;
|
|
1751
|
+
console?: string;
|
|
1752
|
+
limit?: string;
|
|
1753
|
+
mailbox?: string;
|
|
1754
|
+
offset?: string;
|
|
1755
|
+
}) => Promise<MailProvidersRaviMailMessagesListReturn>;
|
|
1756
|
+
/** Read one authorized Ravi Mail provider message body through Console */
|
|
1757
|
+
read: (message: string, options?: {
|
|
1758
|
+
console?: string;
|
|
1759
|
+
payload?: string;
|
|
1760
|
+
}) => Promise<MailProvidersRaviMailMessagesReadReturn>;
|
|
1761
|
+
/** Show Ravi Mail provider message metadata */
|
|
1762
|
+
show: (message: string, options?: {
|
|
1763
|
+
addresses?: boolean;
|
|
1764
|
+
console?: string;
|
|
1765
|
+
}) => Promise<MailProvidersRaviMailMessagesShowReturn>;
|
|
1766
|
+
};
|
|
1767
|
+
/** Send mail directly through Console Ravi Mail */
|
|
1768
|
+
send: (options?: {
|
|
1769
|
+
body?: string;
|
|
1770
|
+
console?: string;
|
|
1771
|
+
from?: string;
|
|
1772
|
+
idempotencyKey?: string;
|
|
1773
|
+
subject?: string;
|
|
1774
|
+
to?: string;
|
|
1775
|
+
}) => Promise<MailProvidersRaviMailSendReturn>;
|
|
1776
|
+
};
|
|
1777
|
+
};
|
|
1778
|
+
/** Queue a local reply in the outbox */
|
|
1779
|
+
reply: (message: string, options?: {
|
|
1780
|
+
bcc?: string;
|
|
1781
|
+
body?: string;
|
|
1782
|
+
cc?: string;
|
|
1783
|
+
from?: string;
|
|
1784
|
+
idempotencyKey?: string;
|
|
1785
|
+
subject?: string;
|
|
1786
|
+
to?: string;
|
|
1787
|
+
}) => Promise<MailReplyReturn>;
|
|
1788
|
+
/** Queue mail in the local outbox */
|
|
1789
|
+
send: (options?: {
|
|
1790
|
+
body?: string;
|
|
1791
|
+
from?: string;
|
|
1792
|
+
idempotencyKey?: string;
|
|
1793
|
+
subject?: string;
|
|
1794
|
+
to?: string;
|
|
1795
|
+
}) => Promise<MailSendReturn>;
|
|
1796
|
+
threads: {
|
|
1797
|
+
/** Read a local mail thread and its safe message timeline */
|
|
1798
|
+
read: (thread: string, options?: {
|
|
1799
|
+
addresses?: boolean;
|
|
1800
|
+
}) => Promise<MailThreadsReadReturn>;
|
|
1801
|
+
};
|
|
1802
|
+
};
|
|
1009
1803
|
readonly media: {
|
|
1010
1804
|
/** Send a media file (image, video, audio, document) */
|
|
1011
1805
|
send: (filePath: string, options?: {
|
|
@@ -1017,6 +1811,48 @@ export declare class RaviClient {
|
|
|
1017
1811
|
to?: string;
|
|
1018
1812
|
}) => Promise<MediaSendReturn>;
|
|
1019
1813
|
};
|
|
1814
|
+
readonly meetings: {
|
|
1815
|
+
/** Finalize a completed meeting recorder run into a Ravi meeting.raw artifact */
|
|
1816
|
+
finalize: (options?: {
|
|
1817
|
+
noPostTranscribe?: boolean;
|
|
1818
|
+
runDir?: string;
|
|
1819
|
+
title?: string;
|
|
1820
|
+
}) => Promise<MeetingsFinalizeReturn>;
|
|
1821
|
+
profiles: {
|
|
1822
|
+
/** Create a reusable meeting profile scaffold */
|
|
1823
|
+
init: (profileId: string, options?: {
|
|
1824
|
+
source?: string;
|
|
1825
|
+
}) => Promise<MeetingsProfilesInitReturn>;
|
|
1826
|
+
/** List resolved meeting profiles */
|
|
1827
|
+
list: (options?: {
|
|
1828
|
+
limit?: string;
|
|
1829
|
+
offset?: string;
|
|
1830
|
+
}) => Promise<MeetingsProfilesListReturn>;
|
|
1831
|
+
/** Show one resolved meeting profile */
|
|
1832
|
+
show: (profileId: string) => Promise<MeetingsProfilesShowReturn>;
|
|
1833
|
+
/** Validate one meeting profile or the whole catalog */
|
|
1834
|
+
validate: (profileId?: string) => Promise<MeetingsProfilesValidateReturn>;
|
|
1835
|
+
};
|
|
1836
|
+
/** List meeting voice runtime candidates and current recommendation */
|
|
1837
|
+
voiceRuntimes: () => Promise<MeetingsVoiceRuntimesReturn>;
|
|
1838
|
+
};
|
|
1839
|
+
readonly metrics: {
|
|
1840
|
+
/** List dates that have already been rolled up */
|
|
1841
|
+
dates: () => Promise<MetricsDatesReturn>;
|
|
1842
|
+
/** Aggregate cost_events + session_events into daily_metrics for a date range */
|
|
1843
|
+
rollup: (options?: {
|
|
1844
|
+
since?: string;
|
|
1845
|
+
through?: string;
|
|
1846
|
+
}) => Promise<MetricsRollupReturn>;
|
|
1847
|
+
/** Display daily metrics rolled up to date */
|
|
1848
|
+
show: (options?: {
|
|
1849
|
+
agent?: string;
|
|
1850
|
+
by?: string;
|
|
1851
|
+
days?: string;
|
|
1852
|
+
since?: string;
|
|
1853
|
+
through?: string;
|
|
1854
|
+
}) => Promise<MetricsShowReturn>;
|
|
1855
|
+
};
|
|
1020
1856
|
readonly observers: {
|
|
1021
1857
|
/** List session observer bindings */
|
|
1022
1858
|
list: (options?: {
|
|
@@ -1092,30 +1928,94 @@ export declare class RaviClient {
|
|
|
1092
1928
|
/** Show one observer binding */
|
|
1093
1929
|
show: (bindingId: string) => Promise<ObserversShowReturn>;
|
|
1094
1930
|
};
|
|
1095
|
-
readonly
|
|
1096
|
-
/**
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1931
|
+
readonly pages: {
|
|
1932
|
+
/** Compatibility: ensure a Ravi Pages host record; does not upload HTML or assets */
|
|
1933
|
+
create: (args: string[], options?: {
|
|
1934
|
+
console?: string;
|
|
1935
|
+
defaultSite?: boolean;
|
|
1936
|
+
project?: string;
|
|
1937
|
+
visibility?: string;
|
|
1938
|
+
}) => Promise<PagesCreateReturn>;
|
|
1939
|
+
/** Bind custom hostnames to a Ravi Pages site */
|
|
1940
|
+
domains: (args: string[], options?: {
|
|
1941
|
+
check?: boolean;
|
|
1942
|
+
console?: string;
|
|
1943
|
+
project?: string;
|
|
1944
|
+
}) => Promise<PagesDomainsReturn>;
|
|
1945
|
+
/** List Ravi Pages sites in a Console project */
|
|
1946
|
+
list: (project?: string, options?: {
|
|
1947
|
+
console?: string;
|
|
1108
1948
|
limit?: string;
|
|
1109
|
-
object?: string;
|
|
1110
1949
|
offset?: string;
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1950
|
+
}) => Promise<PagesListReturn>;
|
|
1951
|
+
/** Publish a directory, file, or local artifact to a project Pages host */
|
|
1952
|
+
publish: (args: string[], options?: {
|
|
1953
|
+
artifactSlug?: string;
|
|
1954
|
+
artifactVersion?: string;
|
|
1955
|
+
assetBase?: string;
|
|
1956
|
+
basePath?: string;
|
|
1957
|
+
console?: string;
|
|
1958
|
+
description?: string;
|
|
1959
|
+
entrypoint?: string;
|
|
1960
|
+
idempotencyKey?: string;
|
|
1961
|
+
noActivate?: boolean;
|
|
1962
|
+
project?: string;
|
|
1963
|
+
reason?: string;
|
|
1964
|
+
replaceRelease?: boolean;
|
|
1965
|
+
route?: string;
|
|
1966
|
+
site?: string;
|
|
1967
|
+
title?: string;
|
|
1968
|
+
uploadSession?: string;
|
|
1969
|
+
visibility?: string;
|
|
1970
|
+
}) => Promise<PagesPublishReturn>;
|
|
1971
|
+
/** List published Ravi Pages URLs in a Console project */
|
|
1972
|
+
published: (project?: string, options?: {
|
|
1973
|
+
console?: string;
|
|
1974
|
+
limit?: string;
|
|
1975
|
+
offset?: string;
|
|
1976
|
+
}) => Promise<PagesPublishedReturn>;
|
|
1977
|
+
/** Update a Ravi Pages site in a Console project */
|
|
1978
|
+
update: (args: string[], options?: {
|
|
1979
|
+
console?: string;
|
|
1980
|
+
project?: string;
|
|
1981
|
+
visibility?: string;
|
|
1982
|
+
}) => Promise<PagesUpdateReturn>;
|
|
1983
|
+
/** Set a Ravi Pages site default visibility */
|
|
1984
|
+
visibility: (args: string[], options?: {
|
|
1985
|
+
console?: string;
|
|
1986
|
+
project?: string;
|
|
1987
|
+
}) => Promise<PagesVisibilityReturn>;
|
|
1988
|
+
};
|
|
1989
|
+
readonly permissions: {
|
|
1990
|
+
/** Plan or apply a provider-owned permission profile to subjects */
|
|
1991
|
+
allow: (profile: string, options?: {
|
|
1992
|
+
agent?: string;
|
|
1993
|
+
apply?: boolean;
|
|
1994
|
+
capabilities?: string;
|
|
1995
|
+
description?: string;
|
|
1996
|
+
label?: string;
|
|
1997
|
+
to?: string;
|
|
1998
|
+
}) => Promise<PermissionsAllowReturn>;
|
|
1999
|
+
/** Evaluate a provider-runtime permission request */
|
|
2000
|
+
check: (options?: {
|
|
2001
|
+
localOperator?: boolean;
|
|
2002
|
+
objectId?: string;
|
|
2003
|
+
objectType?: string;
|
|
2004
|
+
permission?: string;
|
|
2005
|
+
}) => Promise<PermissionsCheckReturn>;
|
|
2006
|
+
/** Materialize provider-runtime capabilities for a subject */
|
|
2007
|
+
materialize: (options?: {
|
|
2008
|
+
subjectId?: string;
|
|
2009
|
+
subjectType?: string;
|
|
2010
|
+
}) => Promise<PermissionsMaterializeReturn>;
|
|
2011
|
+
/** Plan or apply a provider-owned fix for a recorded permission denial */
|
|
2012
|
+
resolve: (denialId: string, options?: {
|
|
2013
|
+
apply?: boolean;
|
|
2014
|
+
capabilities?: string;
|
|
2015
|
+
profile?: string;
|
|
2016
|
+
}) => Promise<PermissionsResolveReturn>;
|
|
2017
|
+
/** Show the active provider-runtime permission chain */
|
|
2018
|
+
status: () => Promise<PermissionsStatusReturn>;
|
|
1119
2019
|
};
|
|
1120
2020
|
readonly projects: {
|
|
1121
2021
|
/** Create one project */
|
|
@@ -1394,6 +2294,135 @@ export declare class RaviClient {
|
|
|
1394
2294
|
/** Show route details */
|
|
1395
2295
|
show: (name: string, pattern: string) => Promise<RoutesShowReturn>;
|
|
1396
2296
|
};
|
|
2297
|
+
readonly rules: {
|
|
2298
|
+
/** Import provider rules into .ravi/rules/imported */
|
|
2299
|
+
import: (source?: string, options?: {
|
|
2300
|
+
cwd?: string;
|
|
2301
|
+
force?: boolean;
|
|
2302
|
+
includeUser?: boolean;
|
|
2303
|
+
write?: boolean;
|
|
2304
|
+
}) => Promise<RulesImportReturn>;
|
|
2305
|
+
/** List importable provider rule sources */
|
|
2306
|
+
sources: (source?: string, options?: {
|
|
2307
|
+
cwd?: string;
|
|
2308
|
+
includeUser?: boolean;
|
|
2309
|
+
}) => Promise<RulesSourcesReturn>;
|
|
2310
|
+
};
|
|
2311
|
+
readonly runtime: {
|
|
2312
|
+
credentials: {
|
|
2313
|
+
/** Add a managed runtime provider credential */
|
|
2314
|
+
add: (options?: {
|
|
2315
|
+
agents?: string;
|
|
2316
|
+
authMethod?: string;
|
|
2317
|
+
authProfile?: string;
|
|
2318
|
+
label?: string;
|
|
2319
|
+
models?: string;
|
|
2320
|
+
notes?: string;
|
|
2321
|
+
priority?: string;
|
|
2322
|
+
provider?: string;
|
|
2323
|
+
readOnly?: boolean;
|
|
2324
|
+
remoteForward?: boolean;
|
|
2325
|
+
secretEnv?: string;
|
|
2326
|
+
targetEnv?: string;
|
|
2327
|
+
taskProfiles?: string;
|
|
2328
|
+
upstream?: string;
|
|
2329
|
+
}) => Promise<RuntimeCredentialsAddReturn>;
|
|
2330
|
+
/** Classify a provider failure for credential fallback */
|
|
2331
|
+
classify: (options?: {
|
|
2332
|
+
credential?: string;
|
|
2333
|
+
headers?: string;
|
|
2334
|
+
message?: string;
|
|
2335
|
+
provider?: string;
|
|
2336
|
+
providerCode?: string;
|
|
2337
|
+
providerType?: string;
|
|
2338
|
+
record?: boolean;
|
|
2339
|
+
status?: string;
|
|
2340
|
+
upstream?: string;
|
|
2341
|
+
}) => Promise<RuntimeCredentialsClassifyReturn>;
|
|
2342
|
+
/** Disable a runtime credential immediately */
|
|
2343
|
+
disable: (id: string) => Promise<RuntimeCredentialsDisableReturn>;
|
|
2344
|
+
/** Enable a runtime credential */
|
|
2345
|
+
enable: (id: string) => Promise<RuntimeCredentialsEnableReturn>;
|
|
2346
|
+
/** Import/reference an existing provider-native credential source */
|
|
2347
|
+
import: (options?: {
|
|
2348
|
+
fromClaudeCode?: boolean;
|
|
2349
|
+
fromCodexHome?: string;
|
|
2350
|
+
label?: string;
|
|
2351
|
+
managedRefresh?: boolean;
|
|
2352
|
+
provider?: string;
|
|
2353
|
+
}) => Promise<RuntimeCredentialsImportReturn>;
|
|
2354
|
+
/** List runtime provider credentials */
|
|
2355
|
+
list: (options?: {
|
|
2356
|
+
all?: boolean;
|
|
2357
|
+
limit?: string;
|
|
2358
|
+
offset?: string;
|
|
2359
|
+
provider?: string;
|
|
2360
|
+
status?: string;
|
|
2361
|
+
upstream?: string;
|
|
2362
|
+
}) => Promise<RuntimeCredentialsListReturn>;
|
|
2363
|
+
/** Refresh or recover credential health before pool selection */
|
|
2364
|
+
refresh: (id?: string, options?: {
|
|
2365
|
+
agent?: string;
|
|
2366
|
+
force?: boolean;
|
|
2367
|
+
model?: string;
|
|
2368
|
+
provider?: string;
|
|
2369
|
+
taskProfile?: string;
|
|
2370
|
+
upstream?: string;
|
|
2371
|
+
}) => Promise<RuntimeCredentialsRefreshReturn>;
|
|
2372
|
+
/** Clear cooldown/error state for a credential */
|
|
2373
|
+
resetHealth: (id: string) => Promise<RuntimeCredentialsResetHealthReturn>;
|
|
2374
|
+
/** Preview which credential the pool would select */
|
|
2375
|
+
select: (options?: {
|
|
2376
|
+
agent?: string;
|
|
2377
|
+
model?: string;
|
|
2378
|
+
provider?: string;
|
|
2379
|
+
taskProfile?: string;
|
|
2380
|
+
upstream?: string;
|
|
2381
|
+
}) => Promise<RuntimeCredentialsSelectReturn>;
|
|
2382
|
+
/** Show credential health and provider health */
|
|
2383
|
+
status: (id?: string) => Promise<RuntimeCredentialsStatusReturn>;
|
|
2384
|
+
};
|
|
2385
|
+
presets: {
|
|
2386
|
+
/** Create a runtime model preset */
|
|
2387
|
+
create: (id: string, options?: {
|
|
2388
|
+
description?: string;
|
|
2389
|
+
disabled?: boolean;
|
|
2390
|
+
model?: string;
|
|
2391
|
+
provider?: string;
|
|
2392
|
+
}) => Promise<RuntimePresetsCreateReturn>;
|
|
2393
|
+
/** Delete an unreferenced runtime model preset */
|
|
2394
|
+
delete: (id: string, options?: {
|
|
2395
|
+
dryRun?: boolean;
|
|
2396
|
+
}) => Promise<RuntimePresetsDeleteReturn>;
|
|
2397
|
+
/** Disable an unreferenced runtime model preset */
|
|
2398
|
+
disable: (id: string, options?: {
|
|
2399
|
+
dryRun?: boolean;
|
|
2400
|
+
}) => Promise<RuntimePresetsDisableReturn>;
|
|
2401
|
+
/** Enable a runtime model preset */
|
|
2402
|
+
enable: (id: string, options?: {
|
|
2403
|
+
dryRun?: boolean;
|
|
2404
|
+
}) => Promise<RuntimePresetsEnableReturn>;
|
|
2405
|
+
/** Show agents/sessions affected by a preset */
|
|
2406
|
+
impact: (id: string, options?: {
|
|
2407
|
+
limit?: string;
|
|
2408
|
+
offset?: string;
|
|
2409
|
+
}) => Promise<RuntimePresetsImpactReturn>;
|
|
2410
|
+
/** List runtime model presets */
|
|
2411
|
+
list: (options?: {
|
|
2412
|
+
disabled?: boolean;
|
|
2413
|
+
enabled?: boolean;
|
|
2414
|
+
limit?: string;
|
|
2415
|
+
offset?: string;
|
|
2416
|
+
provider?: string;
|
|
2417
|
+
}) => Promise<RuntimePresetsListReturn>;
|
|
2418
|
+
/** Update a runtime model preset field (model) */
|
|
2419
|
+
set: (id: string, field: string, value: string, options?: {
|
|
2420
|
+
dryRun?: boolean;
|
|
2421
|
+
}) => Promise<RuntimePresetsSetReturn>;
|
|
2422
|
+
/** Show a runtime model preset */
|
|
2423
|
+
show: (id: string) => Promise<RuntimePresetsShowReturn>;
|
|
2424
|
+
};
|
|
2425
|
+
};
|
|
1397
2426
|
readonly sdk: {
|
|
1398
2427
|
client: {
|
|
1399
2428
|
/** Compare on-disk @ravi-os/sdk sources to a fresh emit; exit 1 on drift */
|
|
@@ -1456,41 +2485,118 @@ export declare class RaviClient {
|
|
|
1456
2485
|
/** Show the current agent/session identity */
|
|
1457
2486
|
whoami: () => Promise<SelfWhoamiReturn>;
|
|
1458
2487
|
};
|
|
1459
|
-
readonly service: {
|
|
1460
|
-
/** Start the bot server */
|
|
1461
|
-
start: () => Promise<ServiceStartReturn>;
|
|
1462
|
-
/** Start the TUI interface */
|
|
1463
|
-
tui: (session?: string) => Promise<ServiceTuiReturn>;
|
|
1464
|
-
/** Start WhatsApp gateway (deprecated — use daemon start) */
|
|
1465
|
-
wa: () => Promise<ServiceWaReturn>;
|
|
1466
|
-
};
|
|
1467
2488
|
readonly sessions: {
|
|
2489
|
+
/** Show available chat actions and recent own messages for a session */
|
|
2490
|
+
actions: (nameOrKey?: string, options?: {
|
|
2491
|
+
limit?: string;
|
|
2492
|
+
}) => Promise<SessionsActionsReturn>;
|
|
1468
2493
|
/** Answer a question from another session (fire-and-forget) */
|
|
1469
2494
|
answer: (target: string, message: string, sender?: string, options?: {
|
|
1470
2495
|
barrier?: string;
|
|
1471
2496
|
channel?: string;
|
|
2497
|
+
immediate?: boolean;
|
|
2498
|
+
steer?: boolean;
|
|
1472
2499
|
to?: string;
|
|
1473
2500
|
}) => Promise<SessionsAnswerReturn>;
|
|
1474
2501
|
/** Ask a question to another session (fire-and-forget) */
|
|
1475
2502
|
ask: (target: string, message: string, sender?: string, options?: {
|
|
1476
2503
|
barrier?: string;
|
|
1477
2504
|
channel?: string;
|
|
2505
|
+
immediate?: boolean;
|
|
2506
|
+
steer?: boolean;
|
|
1478
2507
|
to?: string;
|
|
1479
2508
|
}) => Promise<SessionsAskReturn>;
|
|
2509
|
+
/** Attach a chat as the session output target and input source */
|
|
2510
|
+
attach: (nameOrKey: string, options?: {
|
|
2511
|
+
chat?: string;
|
|
2512
|
+
reason?: string;
|
|
2513
|
+
}) => Promise<SessionsAttachReturn>;
|
|
1480
2514
|
/** Delete a session permanently */
|
|
1481
2515
|
delete: (nameOrKey: string) => Promise<SessionsDeleteReturn>;
|
|
2516
|
+
/** Delete one of this session agent's own channel messages */
|
|
2517
|
+
deleteMessage: (sessionOrMessage: string, messageRef?: string) => Promise<SessionsDeleteMessageReturn>;
|
|
2518
|
+
/** Detach a chat/output target from a session */
|
|
2519
|
+
detach: (nameOrKey: string, options?: {
|
|
2520
|
+
chat?: string;
|
|
2521
|
+
}) => Promise<SessionsDetachReturn>;
|
|
2522
|
+
/** Edit one of this session agent's own text channel messages */
|
|
2523
|
+
editMessage: (sessionOrMessage: string, messageOrText?: string, textArg?: string, options?: {
|
|
2524
|
+
text?: string;
|
|
2525
|
+
}) => Promise<SessionsEditMessageReturn>;
|
|
1482
2526
|
/** Send an execute command to another session (fire-and-forget) */
|
|
1483
2527
|
execute: (target: string, message: string, options?: {
|
|
1484
2528
|
barrier?: string;
|
|
1485
2529
|
channel?: string;
|
|
2530
|
+
immediate?: boolean;
|
|
2531
|
+
steer?: boolean;
|
|
1486
2532
|
to?: string;
|
|
1487
2533
|
}) => Promise<SessionsExecuteReturn>;
|
|
1488
2534
|
/** Extend an ephemeral session's TTL */
|
|
1489
2535
|
extend: (nameOrKey: string, duration?: string) => Promise<SessionsExtendReturn>;
|
|
2536
|
+
followups: {
|
|
2537
|
+
/** Create a session followup cadence */
|
|
2538
|
+
add: (name: string, options?: {
|
|
2539
|
+
at?: string;
|
|
2540
|
+
barrier?: string;
|
|
2541
|
+
cron?: string;
|
|
2542
|
+
description?: string;
|
|
2543
|
+
disabled?: boolean;
|
|
2544
|
+
every?: string;
|
|
2545
|
+
message?: string;
|
|
2546
|
+
owner?: string;
|
|
2547
|
+
step?: string[];
|
|
2548
|
+
targetChat?: string;
|
|
2549
|
+
targetList?: string;
|
|
2550
|
+
targetSession?: string;
|
|
2551
|
+
timezone?: string;
|
|
2552
|
+
}) => Promise<SessionsFollowupsAddReturn>;
|
|
2553
|
+
/** Inspect one session followup cadence and recent runs */
|
|
2554
|
+
inspect: (id: string, options?: {
|
|
2555
|
+
runs?: string;
|
|
2556
|
+
}) => Promise<SessionsFollowupsInspectReturn>;
|
|
2557
|
+
/** List session followup cadences */
|
|
2558
|
+
list: (options?: {
|
|
2559
|
+
includeDisabled?: boolean;
|
|
2560
|
+
limit?: string;
|
|
2561
|
+
offset?: string;
|
|
2562
|
+
targetType?: string;
|
|
2563
|
+
}) => Promise<SessionsFollowupsListReturn>;
|
|
2564
|
+
/** Pause a followup cadence */
|
|
2565
|
+
pause: (id: string) => Promise<SessionsFollowupsPauseReturn>;
|
|
2566
|
+
/** Resume a followup cadence and recalculate next run */
|
|
2567
|
+
resume: (id: string) => Promise<SessionsFollowupsResumeReturn>;
|
|
2568
|
+
/** Retry failed/dead followup runs */
|
|
2569
|
+
retry: (run?: string, options?: {
|
|
2570
|
+
cadence?: string;
|
|
2571
|
+
}) => Promise<SessionsFollowupsRetryReturn>;
|
|
2572
|
+
/** Run a followup cadence now without consuming its next scheduled time */
|
|
2573
|
+
run: (id: string) => Promise<SessionsFollowupsRunReturn>;
|
|
2574
|
+
/** List session followup runs */
|
|
2575
|
+
runs: (options?: {
|
|
2576
|
+
cadence?: string;
|
|
2577
|
+
limit?: string;
|
|
2578
|
+
offset?: string;
|
|
2579
|
+
status?: string;
|
|
2580
|
+
}) => Promise<SessionsFollowupsRunsReturn>;
|
|
2581
|
+
/** Snooze a followup cadence until a timestamp */
|
|
2582
|
+
snooze: (id: string, options?: {
|
|
2583
|
+
until?: string;
|
|
2584
|
+
}) => Promise<SessionsFollowupsSnoozeReturn>;
|
|
2585
|
+
/** Update a session followup cadence without recreating it */
|
|
2586
|
+
update: (id: string, options?: {
|
|
2587
|
+
barrier?: string;
|
|
2588
|
+
description?: string;
|
|
2589
|
+
message?: string;
|
|
2590
|
+
name?: string;
|
|
2591
|
+
recalculateNext?: boolean;
|
|
2592
|
+
step?: string[];
|
|
2593
|
+
}) => Promise<SessionsFollowupsUpdateReturn>;
|
|
2594
|
+
};
|
|
1490
2595
|
/** Inspect or mutate persisted session goal state */
|
|
1491
2596
|
goal: (action: string, nameOrKey: string, objective?: string, options?: {
|
|
1492
2597
|
budget?: string;
|
|
1493
2598
|
project?: string;
|
|
2599
|
+
reason?: string;
|
|
1494
2600
|
seconds?: string;
|
|
1495
2601
|
task?: string;
|
|
1496
2602
|
tokens?: string;
|
|
@@ -1501,6 +2607,8 @@ export declare class RaviClient {
|
|
|
1501
2607
|
inform: (target: string, message: string, options?: {
|
|
1502
2608
|
barrier?: string;
|
|
1503
2609
|
channel?: string;
|
|
2610
|
+
immediate?: boolean;
|
|
2611
|
+
steer?: boolean;
|
|
1504
2612
|
to?: string;
|
|
1505
2613
|
}) => Promise<SessionsInformReturn>;
|
|
1506
2614
|
/** Make an ephemeral session permanent */
|
|
@@ -1514,6 +2622,10 @@ export declare class RaviClient {
|
|
|
1514
2622
|
offset?: string;
|
|
1515
2623
|
tag?: string;
|
|
1516
2624
|
}) => Promise<SessionsListReturn>;
|
|
2625
|
+
/** Keep a subscribed chat as listen-only for a session */
|
|
2626
|
+
mute: (nameOrKey: string, options?: {
|
|
2627
|
+
chat?: string;
|
|
2628
|
+
}) => Promise<SessionsMuteReturn>;
|
|
1517
2629
|
/** Prune sessions inactive for a duration (dry-run by default) */
|
|
1518
2630
|
prune: (options?: {
|
|
1519
2631
|
agent?: string;
|
|
@@ -1523,7 +2635,7 @@ export declare class RaviClient {
|
|
|
1523
2635
|
namePrefix?: string;
|
|
1524
2636
|
}) => Promise<SessionsPruneReturn>;
|
|
1525
2637
|
/** Read message history of a session (normalized) */
|
|
1526
|
-
read: (nameOrKey
|
|
2638
|
+
read: (nameOrKey?: string, options?: {
|
|
1527
2639
|
count?: string;
|
|
1528
2640
|
messageId?: string;
|
|
1529
2641
|
workspace?: boolean;
|
|
@@ -1577,7 +2689,9 @@ export declare class RaviClient {
|
|
|
1577
2689
|
agent?: string;
|
|
1578
2690
|
barrier?: string;
|
|
1579
2691
|
channel?: string;
|
|
2692
|
+
immediate?: boolean;
|
|
1580
2693
|
interactive?: boolean;
|
|
2694
|
+
steer?: boolean;
|
|
1581
2695
|
thread?: string;
|
|
1582
2696
|
threadOwner?: string;
|
|
1583
2697
|
threadScope?: string;
|
|
@@ -1588,12 +2702,18 @@ export declare class RaviClient {
|
|
|
1588
2702
|
}) => Promise<SessionsSendReturn>;
|
|
1589
2703
|
/** Set session display label */
|
|
1590
2704
|
setDisplay: (nameOrKey: string, displayName: string) => Promise<SessionsSetDisplayReturn>;
|
|
2705
|
+
/** Set session reasoning effort override */
|
|
2706
|
+
setEffort: (nameOrKey: string, level: string) => Promise<SessionsSetEffortReturn>;
|
|
1591
2707
|
/** Set session model override */
|
|
1592
2708
|
setModel: (nameOrKey: string, model: string) => Promise<SessionsSetModelReturn>;
|
|
2709
|
+
/** Set session runtime provider override */
|
|
2710
|
+
setProvider: (nameOrKey: string, provider: string) => Promise<SessionsSetProviderReturn>;
|
|
1593
2711
|
/** Set session thinking level */
|
|
1594
2712
|
setThinking: (nameOrKey: string, level: string) => Promise<SessionsSetThinkingReturn>;
|
|
1595
2713
|
/** Make a session ephemeral with a TTL */
|
|
1596
2714
|
setTtl: (nameOrKey: string, duration: string) => Promise<SessionsSetTtlReturn>;
|
|
2715
|
+
/** List chats attached to a session */
|
|
2716
|
+
subscriptions: (nameOrKey: string) => Promise<SessionsSubscriptionsReturn>;
|
|
1597
2717
|
/** Read the SQLite session trace timeline */
|
|
1598
2718
|
trace: (nameOrKey: string, options?: {
|
|
1599
2719
|
correlation?: string;
|
|
@@ -1610,6 +2730,10 @@ export declare class RaviClient {
|
|
|
1610
2730
|
turn?: string;
|
|
1611
2731
|
until?: string;
|
|
1612
2732
|
}) => Promise<SessionsTraceReturn>;
|
|
2733
|
+
/** Allow a subscribed chat to receive session responses */
|
|
2734
|
+
unmute: (nameOrKey: string, options?: {
|
|
2735
|
+
chat?: string;
|
|
2736
|
+
}) => Promise<SessionsUnmuteReturn>;
|
|
1613
2737
|
/** Show runtime session visibility state */
|
|
1614
2738
|
visibility: (nameOrKey: string) => Promise<SessionsVisibilityReturn>;
|
|
1615
2739
|
};
|
|
@@ -1657,6 +2781,21 @@ export declare class RaviClient {
|
|
|
1657
2781
|
show: (id: string) => Promise<SkillGatesShowReturn>;
|
|
1658
2782
|
};
|
|
1659
2783
|
readonly skills: {
|
|
2784
|
+
/** Grant a custom skill to an agent (per-agent visibility). System skills follow permissions. */
|
|
2785
|
+
grant: (agent: string, skill: string, options?: {
|
|
2786
|
+
note?: string;
|
|
2787
|
+
}) => Promise<SkillsGrantReturn>;
|
|
2788
|
+
/** Grant skills to agents in bulk. Reuses the per-agent grant mechanism across many (agent, skill) pairs in one call. Idempotent (upsert). Use --dry-run to preview. */
|
|
2789
|
+
grantBatch: (options?: {
|
|
2790
|
+
agent?: string;
|
|
2791
|
+
allAgents?: boolean;
|
|
2792
|
+
allSkills?: boolean;
|
|
2793
|
+
dryRun?: boolean;
|
|
2794
|
+
note?: string;
|
|
2795
|
+
skill?: string;
|
|
2796
|
+
}) => Promise<SkillsGrantBatchReturn>;
|
|
2797
|
+
/** Show the resolved per-agent skill allowlist (baseline ∪ permission-derived ∪ grants) */
|
|
2798
|
+
inspect: (agent: string) => Promise<SkillsInspectReturn>;
|
|
1660
2799
|
/** Install Ravi catalog skills or skills from an explicit source */
|
|
1661
2800
|
install: (name?: string, options?: {
|
|
1662
2801
|
all?: boolean;
|
|
@@ -1675,6 +2814,16 @@ export declare class RaviClient {
|
|
|
1675
2814
|
source?: string;
|
|
1676
2815
|
tag?: string;
|
|
1677
2816
|
}) => Promise<SkillsListReturn>;
|
|
2817
|
+
/** Revoke a skill grant from an agent */
|
|
2818
|
+
revoke: (agent: string, skill: string) => Promise<SkillsRevokeReturn>;
|
|
2819
|
+
/** Revoke skill grants from agents in bulk — the retirement counterpart of grant-batch. Same axes (--agent/--all-agents × --skill/--all-skills). Use --dry-run to preview. */
|
|
2820
|
+
revokeBatch: (options?: {
|
|
2821
|
+
agent?: string;
|
|
2822
|
+
allAgents?: boolean;
|
|
2823
|
+
allSkills?: boolean;
|
|
2824
|
+
dryRun?: boolean;
|
|
2825
|
+
skill?: string;
|
|
2826
|
+
}) => Promise<SkillsRevokeBatchReturn>;
|
|
1678
2827
|
/** Show a Ravi catalog skill, installed skill or source skill */
|
|
1679
2828
|
show: (name: string, options?: {
|
|
1680
2829
|
installed?: boolean;
|
|
@@ -1682,6 +2831,230 @@ export declare class RaviClient {
|
|
|
1682
2831
|
}) => Promise<SkillsShowReturn>;
|
|
1683
2832
|
/** Sync Ravi plugin skills into the Codex skills directory */
|
|
1684
2833
|
sync: () => Promise<SkillsSyncReturn>;
|
|
2834
|
+
/** List agents currently granted a skill (or list all grants for an agent with --agent) */
|
|
2835
|
+
who: (skill?: string, options?: {
|
|
2836
|
+
agent?: string;
|
|
2837
|
+
}) => Promise<SkillsWhoReturn>;
|
|
2838
|
+
};
|
|
2839
|
+
readonly slack: {
|
|
2840
|
+
/** Send a Slack Block Kit message; dry-run unless --execute is set */
|
|
2841
|
+
blocksSend: (channel: string, file: string, options?: {
|
|
2842
|
+
connection?: string;
|
|
2843
|
+
ephemeralUser?: string;
|
|
2844
|
+
execute?: boolean;
|
|
2845
|
+
text?: string;
|
|
2846
|
+
threadTs?: string;
|
|
2847
|
+
}) => Promise<SlackBlocksSendReturn>;
|
|
2848
|
+
/** Send a Slack Block Kit showcase; dry-run unless --execute is set */
|
|
2849
|
+
blocksShowcase: (channel: string, options?: {
|
|
2850
|
+
execute?: boolean;
|
|
2851
|
+
threadTs?: string;
|
|
2852
|
+
}) => Promise<SlackBlocksShowcaseReturn>;
|
|
2853
|
+
/** Update a Slack message with Block Kit; dry-run unless --execute is set */
|
|
2854
|
+
blocksUpdate: (channel: string, ts: string, file: string, options?: {
|
|
2855
|
+
execute?: boolean;
|
|
2856
|
+
text?: string;
|
|
2857
|
+
}) => Promise<SlackBlocksUpdateReturn>;
|
|
2858
|
+
/** Validate Slack Block Kit JSON with Slack blocks.validate */
|
|
2859
|
+
blocksValidate: (file: string, options?: {
|
|
2860
|
+
channel?: string;
|
|
2861
|
+
target?: string;
|
|
2862
|
+
}) => Promise<SlackBlocksValidateReturn>;
|
|
2863
|
+
/** Delete Slack standalone canvas access; dry-run unless --execute is set */
|
|
2864
|
+
canvasAccessDelete: (canvas: string, options?: {
|
|
2865
|
+
channel?: string;
|
|
2866
|
+
channels?: string;
|
|
2867
|
+
execute?: boolean;
|
|
2868
|
+
users?: string;
|
|
2869
|
+
}) => Promise<SlackCanvasAccessDeleteReturn>;
|
|
2870
|
+
/** Set Slack standalone canvas access; dry-run unless --execute is set */
|
|
2871
|
+
canvasAccessSet: (canvas: string, access: string, options?: {
|
|
2872
|
+
channel?: string;
|
|
2873
|
+
channels?: string;
|
|
2874
|
+
execute?: boolean;
|
|
2875
|
+
users?: string;
|
|
2876
|
+
}) => Promise<SlackCanvasAccessSetReturn>;
|
|
2877
|
+
/** Compatibility helper for publishing Markdown to Slack Canvas; prefer native canvas-create/channel-create/edit --artifact */
|
|
2878
|
+
canvasArtifactPublish: (artifactOrFile: string, options?: {
|
|
2879
|
+
canvas?: string;
|
|
2880
|
+
channel?: string;
|
|
2881
|
+
execute?: boolean;
|
|
2882
|
+
skipRefresh?: boolean;
|
|
2883
|
+
slackChannel?: string;
|
|
2884
|
+
title?: string;
|
|
2885
|
+
}) => Promise<SlackCanvasArtifactPublishReturn>;
|
|
2886
|
+
/** Show local Slack Canvas publish status for a Ravi artifact */
|
|
2887
|
+
canvasArtifactStatus: (artifact: string) => Promise<SlackCanvasArtifactStatusReturn>;
|
|
2888
|
+
/** Create a Slack channel canvas; dry-run unless --execute is set */
|
|
2889
|
+
canvasChannelCreate: (channel: string, options?: {
|
|
2890
|
+
artifact?: string;
|
|
2891
|
+
ensure?: boolean;
|
|
2892
|
+
execute?: boolean;
|
|
2893
|
+
markdown?: string;
|
|
2894
|
+
markdownFile?: string;
|
|
2895
|
+
skipRefresh?: boolean;
|
|
2896
|
+
title?: string;
|
|
2897
|
+
}) => Promise<SlackCanvasChannelCreateReturn>;
|
|
2898
|
+
/** Create or reuse a channel canvas and publish the Ravi showcase; dry-run unless --execute is set */
|
|
2899
|
+
canvasChannelShowcase: (channel: string, options?: {
|
|
2900
|
+
execute?: boolean;
|
|
2901
|
+
title?: string;
|
|
2902
|
+
}) => Promise<SlackCanvasChannelShowcaseReturn>;
|
|
2903
|
+
/** Create a Slack standalone canvas; dry-run unless --execute is set */
|
|
2904
|
+
canvasCreate: (options?: {
|
|
2905
|
+
artifact?: string;
|
|
2906
|
+
channel?: string;
|
|
2907
|
+
execute?: boolean;
|
|
2908
|
+
markdown?: string;
|
|
2909
|
+
markdownFile?: string;
|
|
2910
|
+
skipRefresh?: boolean;
|
|
2911
|
+
slackChannel?: string;
|
|
2912
|
+
title?: string;
|
|
2913
|
+
}) => Promise<SlackCanvasCreateReturn>;
|
|
2914
|
+
/** Delete a Slack standalone canvas; dry-run unless --execute is set */
|
|
2915
|
+
canvasDelete: (canvas: string, options?: {
|
|
2916
|
+
channel?: string;
|
|
2917
|
+
execute?: boolean;
|
|
2918
|
+
}) => Promise<SlackCanvasDeleteReturn>;
|
|
2919
|
+
/** Edit a Slack canvas section or title; dry-run unless --execute is set */
|
|
2920
|
+
canvasEdit: (canvas: string, operation: string, options?: {
|
|
2921
|
+
artifact?: string;
|
|
2922
|
+
channel?: string;
|
|
2923
|
+
execute?: boolean;
|
|
2924
|
+
markdown?: string;
|
|
2925
|
+
markdownFile?: string;
|
|
2926
|
+
sectionId?: string;
|
|
2927
|
+
skipRefresh?: boolean;
|
|
2928
|
+
title?: string;
|
|
2929
|
+
}) => Promise<SlackCanvasEditReturn>;
|
|
2930
|
+
/** Lookup Slack canvas section IDs */
|
|
2931
|
+
canvasSectionsLookup: (canvas: string, options?: {
|
|
2932
|
+
channel?: string;
|
|
2933
|
+
containsText?: string;
|
|
2934
|
+
sectionTypes?: string;
|
|
2935
|
+
}) => Promise<SlackCanvasSectionsLookupReturn>;
|
|
2936
|
+
/** Publish the Ravi Slack Canvas showcase into an existing canvas; dry-run unless --execute is set */
|
|
2937
|
+
canvasShowcase: (canvas: string, options?: {
|
|
2938
|
+
channel?: string;
|
|
2939
|
+
execute?: boolean;
|
|
2940
|
+
slackChannel?: string;
|
|
2941
|
+
title?: string;
|
|
2942
|
+
}) => Promise<SlackCanvasShowcaseReturn>;
|
|
2943
|
+
/** Create a Slack channel; dry-run unless --execute is set */
|
|
2944
|
+
channelsCreate: (name: string, options?: {
|
|
2945
|
+
channel?: string;
|
|
2946
|
+
execute?: boolean;
|
|
2947
|
+
private?: boolean;
|
|
2948
|
+
}) => Promise<SlackChannelsCreateReturn>;
|
|
2949
|
+
/** Read Slack conversation history */
|
|
2950
|
+
channelsHistory: (channel: string, options?: {
|
|
2951
|
+
cursor?: string;
|
|
2952
|
+
inclusive?: boolean;
|
|
2953
|
+
latest?: string;
|
|
2954
|
+
limit?: string;
|
|
2955
|
+
oldest?: string;
|
|
2956
|
+
}) => Promise<SlackChannelsHistoryReturn>;
|
|
2957
|
+
/** Show Slack conversation metadata */
|
|
2958
|
+
channelsInfo: (channel: string) => Promise<SlackChannelsInfoReturn>;
|
|
2959
|
+
/** Invite Slack users to a channel; dry-run unless --execute is set */
|
|
2960
|
+
channelsInvite: (channel: string, users: string, options?: {
|
|
2961
|
+
connection?: string;
|
|
2962
|
+
execute?: boolean;
|
|
2963
|
+
}) => Promise<SlackChannelsInviteReturn>;
|
|
2964
|
+
/** List Slack conversations visible to the configured bot */
|
|
2965
|
+
channelsList: (options?: {
|
|
2966
|
+
channel?: string;
|
|
2967
|
+
cursor?: string;
|
|
2968
|
+
includeArchived?: boolean;
|
|
2969
|
+
limit?: string;
|
|
2970
|
+
types?: string;
|
|
2971
|
+
}) => Promise<SlackChannelsListReturn>;
|
|
2972
|
+
/** Rename a Slack channel; dry-run unless --execute is set */
|
|
2973
|
+
channelsRename: (channel: string, name: string, options?: {
|
|
2974
|
+
execute?: boolean;
|
|
2975
|
+
}) => Promise<SlackChannelsRenameReturn>;
|
|
2976
|
+
/** List Slack files visible to the configured bot */
|
|
2977
|
+
filesList: (options?: {
|
|
2978
|
+
channel?: string;
|
|
2979
|
+
cursor?: string;
|
|
2980
|
+
limit?: string;
|
|
2981
|
+
slackChannel?: string;
|
|
2982
|
+
user?: string;
|
|
2983
|
+
}) => Promise<SlackFilesListReturn>;
|
|
2984
|
+
/** Respond to a Slack interaction response handle; dry-run unless --execute is set */
|
|
2985
|
+
interactionsRespond: (responseUrlId: string, file: string, options?: {
|
|
2986
|
+
channel?: string;
|
|
2987
|
+
execute?: boolean;
|
|
2988
|
+
}) => Promise<SlackInteractionsRespondReturn>;
|
|
2989
|
+
/** List Slack conversation members */
|
|
2990
|
+
membersList: (channel: string, options?: {
|
|
2991
|
+
cursor?: string;
|
|
2992
|
+
limit?: string;
|
|
2993
|
+
}) => Promise<SlackMembersListReturn>;
|
|
2994
|
+
/** Inspect whether a Slack message exists in Slack and Ravi */
|
|
2995
|
+
messagesInspect: (channel: string, ts: string) => Promise<SlackMessagesInspectReturn>;
|
|
2996
|
+
/** Replay a Slack message through the native Ravi channel pipeline */
|
|
2997
|
+
messagesReplay: (channel: string, ts: string, options?: {
|
|
2998
|
+
execute?: boolean;
|
|
2999
|
+
force?: boolean;
|
|
3000
|
+
}) => Promise<SlackMessagesReplayReturn>;
|
|
3001
|
+
/** Send a Slack message; dry-run unless --execute is set */
|
|
3002
|
+
messagesSend: (channel: string, text: string, options?: {
|
|
3003
|
+
ephemeralUser?: string;
|
|
3004
|
+
execute?: boolean;
|
|
3005
|
+
threadTs?: string;
|
|
3006
|
+
}) => Promise<SlackMessagesSendReturn>;
|
|
3007
|
+
/** Open a Slack modal from an interaction trigger_id; dry-run unless --execute is set */
|
|
3008
|
+
modalsOpen: (triggerId: string, file: string, options?: {
|
|
3009
|
+
channel?: string;
|
|
3010
|
+
execute?: boolean;
|
|
3011
|
+
}) => Promise<SlackModalsOpenReturn>;
|
|
3012
|
+
/** Push a Slack modal view onto an existing modal stack; dry-run unless --execute is set */
|
|
3013
|
+
modalsPush: (triggerId: string, file: string, options?: {
|
|
3014
|
+
channel?: string;
|
|
3015
|
+
execute?: boolean;
|
|
3016
|
+
}) => Promise<SlackModalsPushReturn>;
|
|
3017
|
+
/** Update a Slack modal view; dry-run unless --execute is set */
|
|
3018
|
+
modalsUpdate: (view: string, file: string, options?: {
|
|
3019
|
+
channel?: string;
|
|
3020
|
+
execute?: boolean;
|
|
3021
|
+
externalId?: boolean;
|
|
3022
|
+
hash?: string;
|
|
3023
|
+
}) => Promise<SlackModalsUpdateReturn>;
|
|
3024
|
+
/** List OAuth scopes granted to the configured Slack bot token */
|
|
3025
|
+
permissionsList: (options?: {
|
|
3026
|
+
channel?: string;
|
|
3027
|
+
}) => Promise<SlackPermissionsListReturn>;
|
|
3028
|
+
/** Show Slack channels and Ravi route/session ownership */
|
|
3029
|
+
topology: (options?: {
|
|
3030
|
+
channel?: string;
|
|
3031
|
+
cursor?: string;
|
|
3032
|
+
includeArchived?: boolean;
|
|
3033
|
+
limit?: string;
|
|
3034
|
+
types?: string;
|
|
3035
|
+
}) => Promise<SlackTopologyReturn>;
|
|
3036
|
+
/** Present Slack native Work Object flexpane details; dry-run unless --execute is set */
|
|
3037
|
+
workObjectsPresentDetails: (triggerId: string, file: string, options?: {
|
|
3038
|
+
channel?: string;
|
|
3039
|
+
connection?: string;
|
|
3040
|
+
execute?: boolean;
|
|
3041
|
+
}) => Promise<SlackWorkObjectsPresentDetailsReturn>;
|
|
3042
|
+
/** Send Slack native Work Object metadata with chat.postMessage; dry-run unless --execute is set */
|
|
3043
|
+
workObjectsSend: (channel: string, file: string, options?: {
|
|
3044
|
+
connection?: string;
|
|
3045
|
+
execute?: boolean;
|
|
3046
|
+
text?: string;
|
|
3047
|
+
threadTs?: string;
|
|
3048
|
+
}) => Promise<SlackWorkObjectsSendReturn>;
|
|
3049
|
+
/** Attach Slack native Work Object metadata with chat.unfurl; dry-run unless --execute is set */
|
|
3050
|
+
workObjectsUnfurl: (channel: string, ts: string, url: string, file: string, options?: {
|
|
3051
|
+
connection?: string;
|
|
3052
|
+
execute?: boolean;
|
|
3053
|
+
}) => Promise<SlackWorkObjectsUnfurlReturn>;
|
|
3054
|
+
/** Validate Slack native Work Object metadata JSON */
|
|
3055
|
+
workObjectsValidate: (file: string, options?: {
|
|
3056
|
+
target?: string;
|
|
3057
|
+
}) => Promise<SlackWorkObjectsValidateReturn>;
|
|
1685
3058
|
};
|
|
1686
3059
|
readonly specs: {
|
|
1687
3060
|
/** Get inherited spec context */
|
|
@@ -1732,6 +3105,37 @@ export declare class RaviClient {
|
|
|
1732
3105
|
/** Show one sticker catalog entry */
|
|
1733
3106
|
show: (id: string) => Promise<StickersShowReturn>;
|
|
1734
3107
|
};
|
|
3108
|
+
readonly sync: {
|
|
3109
|
+
/** Inspect a sync outbox/inbox row by id */
|
|
3110
|
+
inspect: (id: string) => Promise<SyncInspectReturn>;
|
|
3111
|
+
/** Download a bounded remote event batch from Console */
|
|
3112
|
+
pull: (options?: {
|
|
3113
|
+
domain?: string;
|
|
3114
|
+
limit?: string;
|
|
3115
|
+
project?: string;
|
|
3116
|
+
projectId?: string;
|
|
3117
|
+
projectRef?: string;
|
|
3118
|
+
scope?: string;
|
|
3119
|
+
}) => Promise<SyncPullReturn>;
|
|
3120
|
+
/** Upload a bounded outbox batch to Console */
|
|
3121
|
+
push: (options?: {
|
|
3122
|
+
domain?: string;
|
|
3123
|
+
limit?: string;
|
|
3124
|
+
maxBytes?: string;
|
|
3125
|
+
project?: string;
|
|
3126
|
+
projectId?: string;
|
|
3127
|
+
projectRef?: string;
|
|
3128
|
+
scope?: string;
|
|
3129
|
+
traces?: boolean;
|
|
3130
|
+
}) => Promise<SyncPushReturn>;
|
|
3131
|
+
/** Move failed sync outbox rows back to pending */
|
|
3132
|
+
retry: (options?: {
|
|
3133
|
+
dead?: boolean;
|
|
3134
|
+
id?: string;
|
|
3135
|
+
}) => Promise<SyncRetryReturn>;
|
|
3136
|
+
/** Show local sync status */
|
|
3137
|
+
status: () => Promise<SyncStatusReturn>;
|
|
3138
|
+
};
|
|
1735
3139
|
readonly tagRules: {
|
|
1736
3140
|
/** Evaluate a rule against a target asset */
|
|
1737
3141
|
evaluate: (ruleId: string, options?: {
|
|
@@ -2103,6 +3507,8 @@ export declare class RaviClient {
|
|
|
2103
3507
|
}) => Promise<ThreadsShowReturn>;
|
|
2104
3508
|
};
|
|
2105
3509
|
readonly tools: {
|
|
3510
|
+
/** Execute a tool handler (real execution with full authorization) */
|
|
3511
|
+
invoke: (name: string, args?: string) => Promise<ToolsInvokeReturn>;
|
|
2106
3512
|
/** List all available CLI tools */
|
|
2107
3513
|
list: (options?: {
|
|
2108
3514
|
limit?: string;
|
|
@@ -2112,9 +3518,13 @@ export declare class RaviClient {
|
|
|
2112
3518
|
manifest: () => Promise<ToolsManifestReturn>;
|
|
2113
3519
|
/** Export tools as JSON Schema */
|
|
2114
3520
|
schema: () => Promise<ToolsSchemaReturn>;
|
|
3521
|
+
/** Search tools by intent, name, description, or metadata */
|
|
3522
|
+
search: (query: string, options?: {
|
|
3523
|
+
limit?: string;
|
|
3524
|
+
}) => Promise<ToolsSearchReturn>;
|
|
2115
3525
|
/** Show details for a specific tool */
|
|
2116
3526
|
show: (name: string) => Promise<ToolsShowReturn>;
|
|
2117
|
-
/**
|
|
3527
|
+
/** Dry-run plan for a tool (does not execute the handler) */
|
|
2118
3528
|
test: (name: string, args?: string) => Promise<ToolsTestReturn>;
|
|
2119
3529
|
};
|
|
2120
3530
|
readonly transcribe: {
|
|
@@ -2129,9 +3539,15 @@ export declare class RaviClient {
|
|
|
2129
3539
|
account?: string;
|
|
2130
3540
|
agent?: string;
|
|
2131
3541
|
cooldown?: string;
|
|
3542
|
+
envFile?: string;
|
|
3543
|
+
exec?: string;
|
|
2132
3544
|
filter?: string;
|
|
2133
3545
|
message?: string;
|
|
3546
|
+
onError?: string;
|
|
3547
|
+
replySession?: string;
|
|
2134
3548
|
session?: string;
|
|
3549
|
+
shell?: string;
|
|
3550
|
+
timeout?: string;
|
|
2135
3551
|
topic?: string;
|
|
2136
3552
|
}) => Promise<TriggersAddReturn>;
|
|
2137
3553
|
/** Disable a trigger */
|
|
@@ -2152,14 +3568,59 @@ export declare class RaviClient {
|
|
|
2152
3568
|
show: (id: string) => Promise<TriggersShowReturn>;
|
|
2153
3569
|
/** Test trigger with fake event data */
|
|
2154
3570
|
test: (id: string) => Promise<TriggersTestReturn>;
|
|
3571
|
+
/** List trigger-ready NATS topics */
|
|
3572
|
+
topics: () => Promise<TriggersTopicsReturn>;
|
|
2155
3573
|
};
|
|
2156
3574
|
readonly video: {
|
|
2157
3575
|
/** Analyze a video (YouTube URL or local file) and save to markdown */
|
|
2158
3576
|
analyze: (url: string, options?: {
|
|
3577
|
+
forceAnalyze?: boolean;
|
|
2159
3578
|
output?: string;
|
|
2160
3579
|
prompt?: string;
|
|
3580
|
+
strategy?: string;
|
|
2161
3581
|
}) => Promise<VideoAnalyzeReturn>;
|
|
2162
3582
|
};
|
|
3583
|
+
readonly watch: {
|
|
3584
|
+
/** List available watch connectors and event types */
|
|
3585
|
+
connectors: (options?: {
|
|
3586
|
+
provider?: string;
|
|
3587
|
+
}) => Promise<WatchConnectorsReturn>;
|
|
3588
|
+
/** Create a watch */
|
|
3589
|
+
create: (provider: string, resource: string, options?: {
|
|
3590
|
+
event?: string;
|
|
3591
|
+
installation?: string;
|
|
3592
|
+
name?: string;
|
|
3593
|
+
placement?: string;
|
|
3594
|
+
project?: string;
|
|
3595
|
+
resourceId?: string;
|
|
3596
|
+
}) => Promise<WatchCreateReturn>;
|
|
3597
|
+
/** Disable a watch */
|
|
3598
|
+
disable: (id: string) => Promise<WatchDisableReturn>;
|
|
3599
|
+
/** Enable a watch */
|
|
3600
|
+
enable: (id: string) => Promise<WatchEnableReturn>;
|
|
3601
|
+
/** Show trigger-ready event subjects for a watch */
|
|
3602
|
+
events: (id: string) => Promise<WatchEventsReturn>;
|
|
3603
|
+
/** List watches */
|
|
3604
|
+
list: (options?: {
|
|
3605
|
+
limit?: string;
|
|
3606
|
+
offset?: string;
|
|
3607
|
+
provider?: string;
|
|
3608
|
+
status?: string;
|
|
3609
|
+
}) => Promise<WatchListReturn>;
|
|
3610
|
+
/** Remove a watch */
|
|
3611
|
+
rm: (id: string) => Promise<WatchRmReturn>;
|
|
3612
|
+
/** Show watch details */
|
|
3613
|
+
show: (id: string) => Promise<WatchShowReturn>;
|
|
3614
|
+
/** Create a trigger for a watch event in the current chat */
|
|
3615
|
+
trigger: (id: string, options?: {
|
|
3616
|
+
account?: string;
|
|
3617
|
+
agent?: string;
|
|
3618
|
+
cooldown?: string;
|
|
3619
|
+
event?: string;
|
|
3620
|
+
message?: string;
|
|
3621
|
+
session?: string;
|
|
3622
|
+
}) => Promise<WatchTriggerReturn>;
|
|
3623
|
+
};
|
|
2163
3624
|
readonly whatsapp: {
|
|
2164
3625
|
dm: {
|
|
2165
3626
|
/** Send read receipt (blue ticks) for a specific message */
|
|
@@ -2183,9 +3644,16 @@ export declare class RaviClient {
|
|
|
2183
3644
|
account?: string;
|
|
2184
3645
|
}) => Promise<WhatsappGroupAddReturn>;
|
|
2185
3646
|
/** Create a new group */
|
|
2186
|
-
create: (name: string, participants
|
|
3647
|
+
create: (name: string, participants?: string, options?: {
|
|
2187
3648
|
account?: string;
|
|
3649
|
+
admin?: string[];
|
|
3650
|
+
admins?: string[];
|
|
2188
3651
|
agent?: string;
|
|
3652
|
+
agentCwd?: string;
|
|
3653
|
+
agentModel?: string;
|
|
3654
|
+
agentProvider?: string;
|
|
3655
|
+
createAgent?: boolean;
|
|
3656
|
+
skipTaggedAdmins?: boolean;
|
|
2189
3657
|
}) => Promise<WhatsappGroupCreateReturn>;
|
|
2190
3658
|
/** Demote participants from admin */
|
|
2191
3659
|
demote: (groupId: string, participants: string, options?: {
|
|
@@ -2233,12 +3701,38 @@ export declare class RaviClient {
|
|
|
2233
3701
|
revokeInvite: (groupId: string, options?: {
|
|
2234
3702
|
account?: string;
|
|
2235
3703
|
}) => Promise<WhatsappGroupRevokeInviteReturn>;
|
|
3704
|
+
/** Send a message to a WhatsApp group */
|
|
3705
|
+
send: (groupId: string, message: string, options?: {
|
|
3706
|
+
account?: string;
|
|
3707
|
+
mention?: string[];
|
|
3708
|
+
}) => Promise<WhatsappGroupSendReturn>;
|
|
2236
3709
|
/** Update group settings (announcement, not_announcement, locked, unlocked) */
|
|
2237
3710
|
settings: (groupId: string, setting: string, options?: {
|
|
2238
3711
|
account?: string;
|
|
2239
3712
|
}) => Promise<WhatsappGroupSettingsReturn>;
|
|
2240
3713
|
};
|
|
2241
3714
|
};
|
|
3715
|
+
readonly workObjects: {
|
|
3716
|
+
/** Execute one Work Object action */
|
|
3717
|
+
action: (type: string, id: string, actionId: string, options?: {
|
|
3718
|
+
value?: string;
|
|
3719
|
+
}) => Promise<WorkObjectsActionReturn>;
|
|
3720
|
+
/** Resolve a Work Object by URL or external reference */
|
|
3721
|
+
resolve: (target?: string, options?: {
|
|
3722
|
+
id?: string;
|
|
3723
|
+
type?: string;
|
|
3724
|
+
url?: string;
|
|
3725
|
+
}) => Promise<WorkObjectsResolveReturn>;
|
|
3726
|
+
/** Suggest selectable options for a Work Object field */
|
|
3727
|
+
suggest: (type: string, id: string, fieldId: string, options?: {
|
|
3728
|
+
query?: string;
|
|
3729
|
+
}) => Promise<WorkObjectsSuggestReturn>;
|
|
3730
|
+
/** Apply a structured patch to a Work Object */
|
|
3731
|
+
update: (type: string, id: string, options?: {
|
|
3732
|
+
revision?: string;
|
|
3733
|
+
values?: string;
|
|
3734
|
+
}) => Promise<WorkObjectsUpdateReturn>;
|
|
3735
|
+
};
|
|
2242
3736
|
readonly workflows: {
|
|
2243
3737
|
runs: {
|
|
2244
3738
|
/** Archive one node run from workflow aggregate state */
|
|
@@ -2287,5 +3781,153 @@ export declare class RaviClient {
|
|
|
2287
3781
|
show: (specId: string) => Promise<WorkflowsSpecsShowReturn>;
|
|
2288
3782
|
};
|
|
2289
3783
|
};
|
|
3784
|
+
readonly yt: {
|
|
3785
|
+
/** Break down recent views and watch time by country */
|
|
3786
|
+
analyticsCountries: (options?: {
|
|
3787
|
+
connection?: string;
|
|
3788
|
+
days?: string;
|
|
3789
|
+
limit?: string;
|
|
3790
|
+
}) => Promise<YtAnalyticsCountriesReturn>;
|
|
3791
|
+
/** Break down viewer percentage by age group and gender */
|
|
3792
|
+
analyticsDemographics: (options?: {
|
|
3793
|
+
connection?: string;
|
|
3794
|
+
days?: string;
|
|
3795
|
+
}) => Promise<YtAnalyticsDemographicsReturn>;
|
|
3796
|
+
/** Break down recent views and watch time by device type */
|
|
3797
|
+
analyticsDevices: (options?: {
|
|
3798
|
+
connection?: string;
|
|
3799
|
+
days?: string;
|
|
3800
|
+
}) => Promise<YtAnalyticsDevicesReturn>;
|
|
3801
|
+
/** Return aggregate channel engagement metrics for a recent period */
|
|
3802
|
+
analyticsOverview: (options?: {
|
|
3803
|
+
connection?: string;
|
|
3804
|
+
days?: string;
|
|
3805
|
+
}) => Promise<YtAnalyticsOverviewReturn>;
|
|
3806
|
+
/** Return a daily time series for one approved YouTube Analytics metric */
|
|
3807
|
+
analyticsSeries: (options?: {
|
|
3808
|
+
connection?: string;
|
|
3809
|
+
days?: string;
|
|
3810
|
+
metric?: "views" | "estimatedMinutesWatched" | "averageViewDuration" | "subscribersGained" | "likes" | "comments" | "shares";
|
|
3811
|
+
}) => Promise<YtAnalyticsSeriesReturn>;
|
|
3812
|
+
/** Rank channel videos by views for a recent period */
|
|
3813
|
+
analyticsTop: (options?: {
|
|
3814
|
+
connection?: string;
|
|
3815
|
+
days?: string;
|
|
3816
|
+
limit?: string;
|
|
3817
|
+
}) => Promise<YtAnalyticsTopReturn>;
|
|
3818
|
+
/** Break down recent views and watch time by traffic-source type */
|
|
3819
|
+
analyticsTraffic: (options?: {
|
|
3820
|
+
connection?: string;
|
|
3821
|
+
days?: string;
|
|
3822
|
+
}) => Promise<YtAnalyticsTrafficReturn>;
|
|
3823
|
+
/** Download one caption track as text */
|
|
3824
|
+
captionDownload: (captionId: string, options?: {
|
|
3825
|
+
connection?: string;
|
|
3826
|
+
format?: "srt" | "vtt" | "ttml";
|
|
3827
|
+
language?: string;
|
|
3828
|
+
}) => Promise<YtCaptionDownloadReturn>;
|
|
3829
|
+
/** List caption tracks for one video */
|
|
3830
|
+
captions: (videoId: string, options?: {
|
|
3831
|
+
connection?: string;
|
|
3832
|
+
}) => Promise<YtCaptionsReturn>;
|
|
3833
|
+
/** List top-level comment threads for a video */
|
|
3834
|
+
comments: (videoId: string, options?: {
|
|
3835
|
+
connection?: string;
|
|
3836
|
+
limit?: string;
|
|
3837
|
+
page?: string;
|
|
3838
|
+
}) => Promise<YtCommentsReturn>;
|
|
3839
|
+
/** Inspect YouTube credential metadata without resolving a secret or calling Google */
|
|
3840
|
+
health: (options?: {
|
|
3841
|
+
connection?: string;
|
|
3842
|
+
}) => Promise<YtHealthReturn>;
|
|
3843
|
+
/** Return metadata and lifetime counters for the authenticated channel */
|
|
3844
|
+
info: (options?: {
|
|
3845
|
+
connection?: string;
|
|
3846
|
+
}) => Promise<YtInfoReturn>;
|
|
3847
|
+
/** List videos and playlist-item IDs from one playlist */
|
|
3848
|
+
playlist: (playlistId: string, options?: {
|
|
3849
|
+
connection?: string;
|
|
3850
|
+
limit?: string;
|
|
3851
|
+
page?: string;
|
|
3852
|
+
}) => Promise<YtPlaylistReturn>;
|
|
3853
|
+
/** Add one video to a YouTube playlist */
|
|
3854
|
+
playlistAdd: (playlistId: string, videoId: string, options?: {
|
|
3855
|
+
connection?: string;
|
|
3856
|
+
}) => Promise<YtPlaylistAddReturn>;
|
|
3857
|
+
/** Create a YouTube playlist */
|
|
3858
|
+
playlistCreate: (title: string, options?: {
|
|
3859
|
+
connection?: string;
|
|
3860
|
+
description?: string;
|
|
3861
|
+
privacy?: "public" | "private" | "unlisted";
|
|
3862
|
+
}) => Promise<YtPlaylistCreateReturn>;
|
|
3863
|
+
/** Permanently delete a YouTube playlist without deleting its videos */
|
|
3864
|
+
playlistDelete: (playlistId: string, options?: {
|
|
3865
|
+
connection?: string;
|
|
3866
|
+
}) => Promise<YtPlaylistDeleteReturn>;
|
|
3867
|
+
/** Remove one playlist item without deleting the video */
|
|
3868
|
+
playlistRemove: (playlistItemId: string, options?: {
|
|
3869
|
+
connection?: string;
|
|
3870
|
+
}) => Promise<YtPlaylistRemoveReturn>;
|
|
3871
|
+
/** List playlists owned by the authenticated channel */
|
|
3872
|
+
playlists: (options?: {
|
|
3873
|
+
connection?: string;
|
|
3874
|
+
limit?: string;
|
|
3875
|
+
page?: string;
|
|
3876
|
+
}) => Promise<YtPlaylistsReturn>;
|
|
3877
|
+
/** Publish a reply to a top-level YouTube comment */
|
|
3878
|
+
reply: (commentId: string, text: string, options?: {
|
|
3879
|
+
connection?: string;
|
|
3880
|
+
}) => Promise<YtReplyReturn>;
|
|
3881
|
+
/** Search videos in the authenticated channel */
|
|
3882
|
+
search: (query: string, options?: {
|
|
3883
|
+
connection?: string;
|
|
3884
|
+
limit?: string;
|
|
3885
|
+
page?: string;
|
|
3886
|
+
}) => Promise<YtSearchReturn>;
|
|
3887
|
+
/** Calculate lifetime video counters, age and average views per day */
|
|
3888
|
+
stats: (id: string, options?: {
|
|
3889
|
+
connection?: string;
|
|
3890
|
+
}) => Promise<YtStatsReturn>;
|
|
3891
|
+
/** List channels followed by the authenticated channel */
|
|
3892
|
+
subscriptions: (options?: {
|
|
3893
|
+
connection?: string;
|
|
3894
|
+
limit?: string;
|
|
3895
|
+
page?: string;
|
|
3896
|
+
}) => Promise<YtSubscriptionsReturn>;
|
|
3897
|
+
/** List recent comment threads with zero replies */
|
|
3898
|
+
unanswered: (videoId: string, options?: {
|
|
3899
|
+
connection?: string;
|
|
3900
|
+
limit?: string;
|
|
3901
|
+
page?: string;
|
|
3902
|
+
}) => Promise<YtUnansweredReturn>;
|
|
3903
|
+
/** Get one video by YouTube video ID */
|
|
3904
|
+
video: (id: string, options?: {
|
|
3905
|
+
connection?: string;
|
|
3906
|
+
}) => Promise<YtVideoReturn>;
|
|
3907
|
+
/** List assignable YouTube video categories for a region */
|
|
3908
|
+
videoCategories: (options?: {
|
|
3909
|
+
connection?: string;
|
|
3910
|
+
region?: string;
|
|
3911
|
+
}) => Promise<YtVideoCategoriesReturn>;
|
|
3912
|
+
/** Permanently delete an owned YouTube video */
|
|
3913
|
+
videoDelete: (id: string, options?: {
|
|
3914
|
+
connection?: string;
|
|
3915
|
+
}) => Promise<YtVideoDeleteReturn>;
|
|
3916
|
+
/** Update selected metadata on an owned YouTube video */
|
|
3917
|
+
videoUpdate: (id: string, options?: {
|
|
3918
|
+
category?: string;
|
|
3919
|
+
connection?: string;
|
|
3920
|
+
description?: string;
|
|
3921
|
+
privacy?: "public" | "private" | "unlisted";
|
|
3922
|
+
tags?: string;
|
|
3923
|
+
title?: string;
|
|
3924
|
+
}) => Promise<YtVideoUpdateReturn>;
|
|
3925
|
+
/** List videos from the authenticated channel uploads playlist */
|
|
3926
|
+
videos: (options?: {
|
|
3927
|
+
connection?: string;
|
|
3928
|
+
limit?: string;
|
|
3929
|
+
page?: string;
|
|
3930
|
+
}) => Promise<YtVideosReturn>;
|
|
3931
|
+
};
|
|
2290
3932
|
}
|
|
2291
3933
|
//# sourceMappingURL=client.d.ts.map
|