@ravi-os/sdk 0.260519.2 → 0.260608.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/dist/client.d.ts +876 -12
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +1244 -26
- package/dist/client.js.map +1 -1
- package/dist/schemas.d.ts +33124 -4926
- package/dist/schemas.d.ts.map +1 -1
- package/dist/schemas.js +42262 -5253
- 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 +7126 -887
- package/dist/types.d.ts.map +1 -1
- package/dist/version.d.ts +2 -2
- package/dist/version.js +2 -2
- package/package.json +1 -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, AgentsResetReturn, AgentsSessionReturn, AgentsSetReturn, AgentsShowReturn, AgentsSpecModeReturn, AgentsSyncInstructionsReturn, AppsCheckReturn, AppsGuideReturn, AppsListReturn, AppsPromptsReturn, AppsRunReturn, AppsScaffoldReturn, AppsShowReturn, ArtifactsArchiveReturn, ArtifactsAttachReturn, ArtifactsBlobReturn, ArtifactsCreateReturn, ArtifactsEventReturn, ArtifactsEventsReturn, ArtifactsListReturn, ArtifactsPublishReturn, ArtifactsReleaseActivateReturn, ArtifactsRestoreReturn, ArtifactsShowReturn, ArtifactsSnapshotReturn, ArtifactsUpdateReturn, ArtifactsVersionReturn, ArtifactsVersionsReturn, AudioGenerateReturn, BridgesCreateReturn, BridgesListReturn, BridgesRevokeReturn, CalendarAccountsCreateReturn, CalendarAccountsListReturn, CalendarAccountsSyncReturn, CalendarAvailabilityReturn, CalendarCalendarsCreateReturn, CalendarCalendarsDisableReturn, CalendarCalendarsListReturn, CalendarCalendarsShareReturn, CalendarCalendarsShowReturn, CalendarEventsCancelReturn, CalendarEventsCreateReturn, CalendarEventsListReturn, CalendarEventsReadReturn, CalendarEventsRespondReturn, CalendarEventsUpdateReturn, CalendarOutboxInspectReturn, CalendarOutboxListReturn, CalendarOutboxRetryReturn, CalendarOutboxStatusReturn, ChatsBackfillProviderTimestampsReturn, ChatsListReturn, ChatsListsAddReturn, ChatsListsCreateReturn, ChatsListsDeltaReturn, ChatsListsListReturn, ChatsListsMarkReadReturn, ChatsListsMembersReturn, ChatsListsRemoveReturn, ChatsReadReturn, CloudProjectsCreateReturn, CloudProjectsListReturn, 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, 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, CrmPipelineCreateReturn, CrmPipelineListReturn, CrmPipelineSetReturn, CrmPipelineShowReturn, CrmPipelineStageAddReturn, CrmPipelineStageArchiveReturn, CrmPipelineStageListReturn, CrmPipelineStageSetReturn, CrmPipelineStageShowReturn, CrmPipelineStageTopicAddReturn, CrmPipelineStageTopicArchiveReturn, CrmPipelineStageTopicSetReturn, CrmPipelineStageTopicsReturn, 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, 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, MetricsDatesReturn, MetricsRollupReturn, MetricsShowReturn, ObserversListReturn, ObserversProfilesInitReturn, ObserversProfilesListReturn, ObserversProfilesPreviewReturn, ObserversProfilesShowReturn, ObserversProfilesValidateReturn, ObserversRefreshReturn, ObserversRulesDisableReturn, ObserversRulesEnableReturn, ObserversRulesExplainReturn, ObserversRulesListReturn, ObserversRulesRmReturn, ObserversRulesSetReturn, ObserversRulesShowReturn, ObserversRulesValidateReturn, ObserversShowReturn, PagesCreateReturn, PagesDomainsReturn, PagesListReturn, PagesUpdateReturn, PagesVisibilityReturn, 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, RulesImportReturn, RulesSourcesReturn, RuntimeCredentialsAddReturn, RuntimeCredentialsClassifyReturn, RuntimeCredentialsDisableReturn, RuntimeCredentialsEnableReturn, RuntimeCredentialsImportReturn, RuntimeCredentialsListReturn, RuntimeCredentialsRefreshReturn, RuntimeCredentialsResetHealthReturn, RuntimeCredentialsSelectReturn, RuntimeCredentialsStatusReturn, 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, SessionsGoalReturn, SessionsInfoReturn, SessionsInformReturn, SessionsKeepReturn, SessionsListReturn, SessionsMuteReturn, SessionsPruneReturn, SessionsReadReturn, SessionsRenameReturn, SessionsResetReturn, SessionsRuntimeFollowUpReturn, SessionsRuntimeForkReturn, SessionsRuntimeInterruptReturn, SessionsRuntimeListReturn, SessionsRuntimeReadReturn, SessionsRuntimeRollbackReturn, SessionsRuntimeSteerReturn, SessionsSendReturn, SessionsSetDisplayReturn, SessionsSetModelReturn, SessionsSetThinkingReturn, SessionsSetTtlReturn, SessionsSubscriptionsReturn, SessionsTraceReturn, SessionsUnmuteReturn, 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, 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, ToolsListReturn, ToolsManifestReturn, ToolsSchemaReturn, 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, WorkflowsRunsArchiveNodeReturn, WorkflowsRunsCancelReturn, WorkflowsRunsListReturn, WorkflowsRunsReleaseReturn, WorkflowsRunsShowReturn, WorkflowsRunsSkipReturn, WorkflowsRunsStartReturn, WorkflowsRunsTaskAttachReturn, WorkflowsRunsTaskCreateReturn, WorkflowsSpecsCreateReturn, WorkflowsSpecsListReturn, WorkflowsSpecsShowReturn } from "./types.js";
|
|
3
3
|
/**
|
|
4
4
|
* `RaviClient` exposes every registry command as a typed method.
|
|
5
5
|
*
|
|
@@ -58,6 +58,35 @@ export declare class RaviClient {
|
|
|
58
58
|
materializeMissing?: boolean;
|
|
59
59
|
}) => Promise<AgentsSyncInstructionsReturn>;
|
|
60
60
|
};
|
|
61
|
+
readonly apps: {
|
|
62
|
+
/** Validate Ravi app manifests without executing app code */
|
|
63
|
+
check: (id?: string) => Promise<AppsCheckReturn>;
|
|
64
|
+
/** Print agent guidance for discovering, scaffolding, and operating Ravi apps */
|
|
65
|
+
guide: (id?: string) => Promise<AppsGuideReturn>;
|
|
66
|
+
/** List discovered Ravi apps */
|
|
67
|
+
list: (options?: {
|
|
68
|
+
limit?: string;
|
|
69
|
+
offset?: string;
|
|
70
|
+
source?: string;
|
|
71
|
+
}) => Promise<AppsListReturn>;
|
|
72
|
+
/** Print all built-in Ravi apps agent prompts */
|
|
73
|
+
prompts: (id?: string) => Promise<AppsPromptsReturn>;
|
|
74
|
+
/** Run a Ravi app operation through the runtime app router */
|
|
75
|
+
run: (id: string, operation?: string, args?: string[]) => Promise<AppsRunReturn>;
|
|
76
|
+
/** Create a Ravi app scaffold from the app contract */
|
|
77
|
+
scaffold: (id: string, options?: {
|
|
78
|
+
command?: string;
|
|
79
|
+
description?: string;
|
|
80
|
+
dryRun?: boolean;
|
|
81
|
+
force?: boolean;
|
|
82
|
+
name?: string;
|
|
83
|
+
skipSkill?: boolean;
|
|
84
|
+
skipSpec?: boolean;
|
|
85
|
+
skipUi?: boolean;
|
|
86
|
+
}) => Promise<AppsScaffoldReturn>;
|
|
87
|
+
/** Show a Ravi app manifest */
|
|
88
|
+
show: (id: string) => Promise<AppsShowReturn>;
|
|
89
|
+
};
|
|
61
90
|
readonly artifacts: {
|
|
62
91
|
/** Soft-archive an artifact */
|
|
63
92
|
archive: (id: string) => Promise<ArtifactsArchiveReturn>;
|
|
@@ -212,7 +241,164 @@ export declare class RaviClient {
|
|
|
212
241
|
voice?: string;
|
|
213
242
|
}) => Promise<AudioGenerateReturn>;
|
|
214
243
|
};
|
|
244
|
+
readonly bridges: {
|
|
245
|
+
/** Create a Ravi MCP bridge URL for a Console project */
|
|
246
|
+
create: (options?: {
|
|
247
|
+
allow?: string;
|
|
248
|
+
console?: string;
|
|
249
|
+
description?: string;
|
|
250
|
+
name?: string;
|
|
251
|
+
project?: string;
|
|
252
|
+
session?: string;
|
|
253
|
+
}) => Promise<BridgesCreateReturn>;
|
|
254
|
+
/** List Ravi MCP bridges for a Console project */
|
|
255
|
+
list: (options?: {
|
|
256
|
+
console?: string;
|
|
257
|
+
limit?: string;
|
|
258
|
+
offset?: string;
|
|
259
|
+
project?: string;
|
|
260
|
+
}) => Promise<BridgesListReturn>;
|
|
261
|
+
/** Revoke a Ravi MCP bridge and its client tokens */
|
|
262
|
+
revoke: (id: string, options?: {
|
|
263
|
+
console?: string;
|
|
264
|
+
yes?: boolean;
|
|
265
|
+
}) => Promise<BridgesRevokeReturn>;
|
|
266
|
+
};
|
|
267
|
+
readonly calendar: {
|
|
268
|
+
accounts: {
|
|
269
|
+
/** Create or update a local calendar provider account */
|
|
270
|
+
create: (options?: {
|
|
271
|
+
credentialsRef?: string;
|
|
272
|
+
id?: string;
|
|
273
|
+
name?: string;
|
|
274
|
+
provider?: string;
|
|
275
|
+
}) => Promise<CalendarAccountsCreateReturn>;
|
|
276
|
+
/** List local calendar accounts */
|
|
277
|
+
list: (options?: {
|
|
278
|
+
limit?: string;
|
|
279
|
+
offset?: string;
|
|
280
|
+
provider?: string;
|
|
281
|
+
status?: string;
|
|
282
|
+
}) => Promise<CalendarAccountsListReturn>;
|
|
283
|
+
/** Run one provider sync tick for an account */
|
|
284
|
+
sync: (account: string, options?: {
|
|
285
|
+
once?: boolean;
|
|
286
|
+
}) => Promise<CalendarAccountsSyncReturn>;
|
|
287
|
+
};
|
|
288
|
+
/** Return free/busy availability in a bounded time window */
|
|
289
|
+
availability: (options?: {
|
|
290
|
+
calendar?: string;
|
|
291
|
+
from?: string;
|
|
292
|
+
limit?: string;
|
|
293
|
+
to?: string;
|
|
294
|
+
}) => Promise<CalendarAvailabilityReturn>;
|
|
295
|
+
calendars: {
|
|
296
|
+
/** Create or update a local calendar projection */
|
|
297
|
+
create: (options?: {
|
|
298
|
+
account?: string;
|
|
299
|
+
color?: string;
|
|
300
|
+
default?: boolean;
|
|
301
|
+
description?: string;
|
|
302
|
+
name?: string;
|
|
303
|
+
owner?: string;
|
|
304
|
+
providerCalendarId?: string;
|
|
305
|
+
role?: string;
|
|
306
|
+
timezone?: string;
|
|
307
|
+
visibility?: string;
|
|
308
|
+
}) => Promise<CalendarCalendarsCreateReturn>;
|
|
309
|
+
/** Disable a local calendar projection */
|
|
310
|
+
disable: (calendar: string) => Promise<CalendarCalendarsDisableReturn>;
|
|
311
|
+
/** List local calendars visible to the current requester */
|
|
312
|
+
list: (options?: {
|
|
313
|
+
account?: string;
|
|
314
|
+
limit?: string;
|
|
315
|
+
offset?: string;
|
|
316
|
+
status?: string;
|
|
317
|
+
}) => Promise<CalendarCalendarsListReturn>;
|
|
318
|
+
/** Grant a calendar relation to an agent/contact/system subject */
|
|
319
|
+
share: (calendar: string, options?: {
|
|
320
|
+
expiresAt?: string;
|
|
321
|
+
relation?: string;
|
|
322
|
+
with?: string;
|
|
323
|
+
}) => Promise<CalendarCalendarsShareReturn>;
|
|
324
|
+
/** Show a local calendar */
|
|
325
|
+
show: (calendar: string, options?: {
|
|
326
|
+
members?: boolean;
|
|
327
|
+
}) => Promise<CalendarCalendarsShowReturn>;
|
|
328
|
+
};
|
|
329
|
+
events: {
|
|
330
|
+
/** Cancel a local calendar event */
|
|
331
|
+
cancel: (event: string, options?: {
|
|
332
|
+
idempotencyKey?: string;
|
|
333
|
+
}) => Promise<CalendarEventsCancelReturn>;
|
|
334
|
+
/** Create a local calendar event and local outbox row */
|
|
335
|
+
create: (options?: {
|
|
336
|
+
attendee?: string;
|
|
337
|
+
calendar?: string;
|
|
338
|
+
description?: string;
|
|
339
|
+
end?: string;
|
|
340
|
+
idempotencyKey?: string;
|
|
341
|
+
location?: string;
|
|
342
|
+
start?: string;
|
|
343
|
+
timezone?: string;
|
|
344
|
+
title?: string;
|
|
345
|
+
}) => Promise<CalendarEventsCreateReturn>;
|
|
346
|
+
/** List local calendar events in a bounded time window */
|
|
347
|
+
list: (options?: {
|
|
348
|
+
calendar?: string;
|
|
349
|
+
from?: string;
|
|
350
|
+
includeCancelled?: boolean;
|
|
351
|
+
limit?: string;
|
|
352
|
+
offset?: string;
|
|
353
|
+
query?: string;
|
|
354
|
+
status?: string;
|
|
355
|
+
to?: string;
|
|
356
|
+
}) => Promise<CalendarEventsListReturn>;
|
|
357
|
+
/** Read one local calendar event */
|
|
358
|
+
read: (event: string) => Promise<CalendarEventsReadReturn>;
|
|
359
|
+
/** Record an attendee response and enqueue provider delivery */
|
|
360
|
+
respond: (event: string, options?: {
|
|
361
|
+
attendeeAgent?: string;
|
|
362
|
+
attendeeEmail?: string;
|
|
363
|
+
idempotencyKey?: string;
|
|
364
|
+
status?: string;
|
|
365
|
+
}) => Promise<CalendarEventsRespondReturn>;
|
|
366
|
+
/** Update a local calendar event and enqueue provider delivery */
|
|
367
|
+
update: (event: string, options?: {
|
|
368
|
+
busy?: string;
|
|
369
|
+
description?: string;
|
|
370
|
+
end?: string;
|
|
371
|
+
idempotencyKey?: string;
|
|
372
|
+
location?: string;
|
|
373
|
+
start?: string;
|
|
374
|
+
status?: string;
|
|
375
|
+
title?: string;
|
|
376
|
+
visibility?: string;
|
|
377
|
+
}) => Promise<CalendarEventsUpdateReturn>;
|
|
378
|
+
};
|
|
379
|
+
outbox: {
|
|
380
|
+
/** Inspect one local calendar outbox row */
|
|
381
|
+
inspect: (outbox: string) => Promise<CalendarOutboxInspectReturn>;
|
|
382
|
+
/** List local calendar outbox rows */
|
|
383
|
+
list: (options?: {
|
|
384
|
+
calendar?: string;
|
|
385
|
+
limit?: string;
|
|
386
|
+
offset?: string;
|
|
387
|
+
status?: string;
|
|
388
|
+
}) => Promise<CalendarOutboxListReturn>;
|
|
389
|
+
/** Move a failed/dead local outbox row back to pending */
|
|
390
|
+
retry: (outbox: string) => Promise<CalendarOutboxRetryReturn>;
|
|
391
|
+
/** Show local calendar outbox status */
|
|
392
|
+
status: () => Promise<CalendarOutboxStatusReturn>;
|
|
393
|
+
};
|
|
394
|
+
};
|
|
215
395
|
readonly chats: {
|
|
396
|
+
/** Backfill message provider timestamps from raw provenance */
|
|
397
|
+
backfillProviderTimestamps: (options?: {
|
|
398
|
+
apply?: boolean;
|
|
399
|
+
dryRun?: boolean;
|
|
400
|
+
limit?: string;
|
|
401
|
+
}) => Promise<ChatsBackfillProviderTimestampsReturn>;
|
|
216
402
|
/** List recent canonical chats */
|
|
217
403
|
list: (options?: {
|
|
218
404
|
agent?: string;
|
|
@@ -295,6 +481,24 @@ export declare class RaviClient {
|
|
|
295
481
|
type?: string;
|
|
296
482
|
}) => Promise<ChatsReadReturn>;
|
|
297
483
|
};
|
|
484
|
+
readonly cloud: {
|
|
485
|
+
projects: {
|
|
486
|
+
/** Create a Ravi Cloud project in Console */
|
|
487
|
+
create: (slug: string, options?: {
|
|
488
|
+
console?: string;
|
|
489
|
+
defaultPageSite?: string;
|
|
490
|
+
description?: string;
|
|
491
|
+
name?: string;
|
|
492
|
+
visibility?: string;
|
|
493
|
+
}) => Promise<CloudProjectsCreateReturn>;
|
|
494
|
+
/** List Ravi Cloud projects from Console */
|
|
495
|
+
list: (options?: {
|
|
496
|
+
console?: string;
|
|
497
|
+
limit?: string;
|
|
498
|
+
offset?: string;
|
|
499
|
+
}) => Promise<CloudProjectsListReturn>;
|
|
500
|
+
};
|
|
501
|
+
};
|
|
298
502
|
readonly commands: {
|
|
299
503
|
/** List Ravi commands */
|
|
300
504
|
list: (options?: {
|
|
@@ -304,7 +508,7 @@ export declare class RaviClient {
|
|
|
304
508
|
tag?: string;
|
|
305
509
|
}) => Promise<CommandsListReturn>;
|
|
306
510
|
/** Render a Ravi command into its composed prompt */
|
|
307
|
-
run: (name: string, args
|
|
511
|
+
run: (name: string, args?: string[], options?: {
|
|
308
512
|
agent?: string;
|
|
309
513
|
}) => Promise<CommandsRunReturn>;
|
|
310
514
|
/** Show one Ravi command */
|
|
@@ -316,6 +520,21 @@ export declare class RaviClient {
|
|
|
316
520
|
agent?: string;
|
|
317
521
|
}) => Promise<CommandsValidateReturn>;
|
|
318
522
|
};
|
|
523
|
+
readonly connectors: {
|
|
524
|
+
/** List your connectors */
|
|
525
|
+
list: (options?: {
|
|
526
|
+
limit?: string;
|
|
527
|
+
offset?: string;
|
|
528
|
+
project?: string;
|
|
529
|
+
provider?: string;
|
|
530
|
+
}) => Promise<ConnectorsListReturn>;
|
|
531
|
+
/** Revoke a connector and delete its stored credentials */
|
|
532
|
+
revoke: (id: string, options?: {
|
|
533
|
+
yes?: boolean;
|
|
534
|
+
}) => Promise<ConnectorsRevokeReturn>;
|
|
535
|
+
/** Show details of a single connector */
|
|
536
|
+
show: (id: string) => Promise<ConnectorsShowReturn>;
|
|
537
|
+
};
|
|
319
538
|
readonly contacts: {
|
|
320
539
|
/** Show session activity attributed to a contact */
|
|
321
540
|
activity: (contact: string, options?: {
|
|
@@ -542,7 +761,10 @@ export declare class RaviClient {
|
|
|
542
761
|
/** Show CRM account */
|
|
543
762
|
accountCommand: (account: string) => Promise<CrmAccountReturn>;
|
|
544
763
|
/** Show open opportunity board */
|
|
545
|
-
board: (
|
|
764
|
+
board: (options?: {
|
|
765
|
+
includeEmptyStages?: boolean;
|
|
766
|
+
pipeline?: string;
|
|
767
|
+
}) => Promise<CrmBoardReturn>;
|
|
546
768
|
contact: {
|
|
547
769
|
/** Set one CRM contact profile field */
|
|
548
770
|
set: (contact: string, field: string, value: string, options?: {
|
|
@@ -591,10 +813,14 @@ export declare class RaviClient {
|
|
|
591
813
|
next: (options?: {
|
|
592
814
|
account?: string;
|
|
593
815
|
contact?: string;
|
|
816
|
+
dueAfter?: string;
|
|
817
|
+
dueBefore?: string;
|
|
818
|
+
dueToday?: boolean;
|
|
594
819
|
limit?: string;
|
|
595
820
|
offset?: string;
|
|
596
821
|
opportunity?: string;
|
|
597
822
|
owner?: string;
|
|
823
|
+
taskType?: string;
|
|
598
824
|
}) => Promise<CrmNextReturn>;
|
|
599
825
|
opportunity: {
|
|
600
826
|
/** List contacts linked to an opportunity */
|
|
@@ -624,21 +850,115 @@ export declare class RaviClient {
|
|
|
624
850
|
};
|
|
625
851
|
/** Show CRM opportunity */
|
|
626
852
|
opportunityCommand: (opportunity: string) => Promise<CrmOpportunityReturn>;
|
|
853
|
+
pipeline: {
|
|
854
|
+
/** Create a CRM pipeline */
|
|
855
|
+
create: (name: string, options?: {
|
|
856
|
+
default?: boolean;
|
|
857
|
+
entityType?: string;
|
|
858
|
+
idempotencyKey?: string;
|
|
859
|
+
metadata?: string;
|
|
860
|
+
}) => Promise<CrmPipelineCreateReturn>;
|
|
861
|
+
/** List CRM pipelines */
|
|
862
|
+
list: (options?: {
|
|
863
|
+
entityType?: string;
|
|
864
|
+
includeArchived?: boolean;
|
|
865
|
+
limit?: string;
|
|
866
|
+
offset?: string;
|
|
867
|
+
}) => Promise<CrmPipelineListReturn>;
|
|
868
|
+
/** Set a CRM pipeline field */
|
|
869
|
+
set: (pipeline: string, field: string, value: string) => Promise<CrmPipelineSetReturn>;
|
|
870
|
+
/** Show one CRM pipeline with stages and topics */
|
|
871
|
+
show: (pipeline: string) => Promise<CrmPipelineShowReturn>;
|
|
872
|
+
stage: {
|
|
873
|
+
/** Add a stage to a CRM pipeline */
|
|
874
|
+
add: (pipeline: string, key: string, options?: {
|
|
875
|
+
category?: string;
|
|
876
|
+
idempotencyKey?: string;
|
|
877
|
+
metadata?: string;
|
|
878
|
+
name?: string;
|
|
879
|
+
order?: string;
|
|
880
|
+
probability?: string;
|
|
881
|
+
terminal?: boolean;
|
|
882
|
+
}) => Promise<CrmPipelineStageAddReturn>;
|
|
883
|
+
/** Archive a CRM pipeline stage */
|
|
884
|
+
archive: (pipeline: string, stage: string) => Promise<CrmPipelineStageArchiveReturn>;
|
|
885
|
+
/** List stages in a CRM pipeline */
|
|
886
|
+
list: (pipeline: string, options?: {
|
|
887
|
+
includeArchived?: boolean;
|
|
888
|
+
limit?: string;
|
|
889
|
+
offset?: string;
|
|
890
|
+
}) => Promise<CrmPipelineStageListReturn>;
|
|
891
|
+
/** Set a CRM pipeline stage field */
|
|
892
|
+
set: (pipeline: string, stage: string, field: string, value: string) => Promise<CrmPipelineStageSetReturn>;
|
|
893
|
+
/** Show one CRM pipeline stage */
|
|
894
|
+
show: (pipeline: string, stage: string) => Promise<CrmPipelineStageShowReturn>;
|
|
895
|
+
topic: {
|
|
896
|
+
/** Add a topic to a CRM pipeline stage */
|
|
897
|
+
add: (pipeline: string, stage: string, key: string, options?: {
|
|
898
|
+
description?: string;
|
|
899
|
+
idempotencyKey?: string;
|
|
900
|
+
metadata?: string;
|
|
901
|
+
order?: string;
|
|
902
|
+
title?: string;
|
|
903
|
+
type?: string;
|
|
904
|
+
}) => Promise<CrmPipelineStageTopicAddReturn>;
|
|
905
|
+
/** Archive a CRM pipeline stage topic */
|
|
906
|
+
archive: (pipeline: string, stage: string, topic: string) => Promise<CrmPipelineStageTopicArchiveReturn>;
|
|
907
|
+
/** Set a CRM pipeline stage topic field */
|
|
908
|
+
set: (pipeline: string, stage: string, topic: string, field: string, value: string) => Promise<CrmPipelineStageTopicSetReturn>;
|
|
909
|
+
};
|
|
910
|
+
/** List topics configured for a CRM pipeline stage */
|
|
911
|
+
topics: (pipeline: string, stage: string, options?: {
|
|
912
|
+
includeArchived?: boolean;
|
|
913
|
+
limit?: string;
|
|
914
|
+
offset?: string;
|
|
915
|
+
}) => Promise<CrmPipelineStageTopicsReturn>;
|
|
916
|
+
};
|
|
917
|
+
};
|
|
627
918
|
task: {
|
|
919
|
+
/** Cancel a CRM task */
|
|
920
|
+
cancel: (task: string, options?: {
|
|
921
|
+
reason?: string;
|
|
922
|
+
}) => Promise<CrmTaskCancelReturn>;
|
|
628
923
|
/** Create a CRM relationship task */
|
|
629
924
|
create: (title: string, options?: {
|
|
630
925
|
account?: string;
|
|
926
|
+
body?: string;
|
|
927
|
+
confidence?: string;
|
|
631
928
|
contact?: string;
|
|
632
929
|
due?: string;
|
|
930
|
+
evidence?: string;
|
|
633
931
|
idempotencyKey?: string;
|
|
932
|
+
metadata?: string;
|
|
634
933
|
opportunity?: string;
|
|
635
934
|
owner?: string;
|
|
636
935
|
priority?: string;
|
|
936
|
+
source?: string;
|
|
937
|
+
taskType?: string;
|
|
637
938
|
}) => Promise<CrmTaskCreateReturn>;
|
|
638
939
|
/** Complete a CRM task */
|
|
639
940
|
done: (task: string) => Promise<CrmTaskDoneReturn>;
|
|
941
|
+
/** List CRM tasks (all statuses) */
|
|
942
|
+
list: (options?: {
|
|
943
|
+
account?: string;
|
|
944
|
+
contact?: string;
|
|
945
|
+
dueAfter?: string;
|
|
946
|
+
dueBefore?: string;
|
|
947
|
+
dueToday?: boolean;
|
|
948
|
+
limit?: string;
|
|
949
|
+
offset?: string;
|
|
950
|
+
opportunity?: string;
|
|
951
|
+
owner?: string;
|
|
952
|
+
status?: string;
|
|
953
|
+
taskType?: string;
|
|
954
|
+
}) => Promise<CrmTaskListReturn>;
|
|
640
955
|
/** Show CRM task */
|
|
641
956
|
show: (task: string) => Promise<CrmTaskShowReturn>;
|
|
957
|
+
/** Snooze a CRM task to a new due_at */
|
|
958
|
+
snooze: (task: string, options?: {
|
|
959
|
+
reason?: string;
|
|
960
|
+
until?: string;
|
|
961
|
+
}) => Promise<CrmTaskSnoozeReturn>;
|
|
642
962
|
};
|
|
643
963
|
};
|
|
644
964
|
readonly cron: {
|
|
@@ -650,9 +970,14 @@ export declare class RaviClient {
|
|
|
650
970
|
cron?: string;
|
|
651
971
|
deleteAfter?: boolean;
|
|
652
972
|
description?: string;
|
|
973
|
+
envFile?: string;
|
|
653
974
|
every?: string;
|
|
975
|
+
exec?: string;
|
|
654
976
|
isolated?: boolean;
|
|
655
977
|
message?: string;
|
|
978
|
+
onError?: string;
|
|
979
|
+
shell?: string;
|
|
980
|
+
timeout?: string;
|
|
656
981
|
tz?: string;
|
|
657
982
|
}) => Promise<CronAddReturn>;
|
|
658
983
|
/** Disable a job */
|
|
@@ -783,6 +1108,21 @@ export declare class RaviClient {
|
|
|
783
1108
|
output?: string;
|
|
784
1109
|
}) => Promise<EvalRunReturn>;
|
|
785
1110
|
};
|
|
1111
|
+
readonly gmail: {
|
|
1112
|
+
/** List messages in the connected Gmail mailbox */
|
|
1113
|
+
list: (options?: {
|
|
1114
|
+
connector?: string;
|
|
1115
|
+
cursor?: string;
|
|
1116
|
+
label?: string;
|
|
1117
|
+
max?: string;
|
|
1118
|
+
q?: string;
|
|
1119
|
+
}) => Promise<GmailListReturn>;
|
|
1120
|
+
/** Read a single Gmail message */
|
|
1121
|
+
read: (id: string, options?: {
|
|
1122
|
+
connector?: string;
|
|
1123
|
+
format?: string;
|
|
1124
|
+
}) => Promise<GmailReadReturn>;
|
|
1125
|
+
};
|
|
786
1126
|
readonly heartbeat: {
|
|
787
1127
|
/** Disable heartbeat for an agent */
|
|
788
1128
|
disable: (id: string) => Promise<HeartbeatDisableReturn>;
|
|
@@ -879,6 +1219,44 @@ export declare class RaviClient {
|
|
|
879
1219
|
sync?: boolean;
|
|
880
1220
|
}) => Promise<ImageGenerateReturn>;
|
|
881
1221
|
};
|
|
1222
|
+
readonly inbox: {
|
|
1223
|
+
/** Archive a local inbox item */
|
|
1224
|
+
archive: (item: string) => Promise<InboxArchiveReturn>;
|
|
1225
|
+
/** Disable inbox polling for the current Console+org */
|
|
1226
|
+
disable: () => Promise<InboxDisableReturn>;
|
|
1227
|
+
/** Mark a local inbox item done */
|
|
1228
|
+
done: (item: string) => Promise<InboxDoneReturn>;
|
|
1229
|
+
/** Enable inbox polling for the current Console+org */
|
|
1230
|
+
enable: () => Promise<InboxEnableReturn>;
|
|
1231
|
+
/** List recently delivered inbox items in the local mirror */
|
|
1232
|
+
items: (options?: {
|
|
1233
|
+
limit?: string;
|
|
1234
|
+
}) => Promise<InboxItemsReturn>;
|
|
1235
|
+
/** List local inbox items */
|
|
1236
|
+
list: (options?: {
|
|
1237
|
+
includeArchived?: boolean;
|
|
1238
|
+
limit?: string;
|
|
1239
|
+
offset?: string;
|
|
1240
|
+
source?: string;
|
|
1241
|
+
status?: string;
|
|
1242
|
+
}) => Promise<InboxListReturn>;
|
|
1243
|
+
/** Run a single inbox poll cycle (foreground) */
|
|
1244
|
+
poll: (options?: {
|
|
1245
|
+
once?: boolean;
|
|
1246
|
+
}) => Promise<InboxPollReturn>;
|
|
1247
|
+
/** Read one local inbox item and mark it seen */
|
|
1248
|
+
read: (item: string) => Promise<InboxReadReturn>;
|
|
1249
|
+
/** Republish a locally stored inbox item to NATS */
|
|
1250
|
+
replay: (ref: string) => Promise<InboxReplayReturn>;
|
|
1251
|
+
/** Snooze a local inbox item until a timestamp */
|
|
1252
|
+
snooze: (item: string, options?: {
|
|
1253
|
+
until?: string;
|
|
1254
|
+
}) => Promise<InboxSnoozeReturn>;
|
|
1255
|
+
/** List local inbox source domains */
|
|
1256
|
+
sources: () => Promise<InboxSourcesReturn>;
|
|
1257
|
+
/** Show inbox poller status and subscriptions */
|
|
1258
|
+
status: () => Promise<InboxStatusReturn>;
|
|
1259
|
+
};
|
|
882
1260
|
readonly insights: {
|
|
883
1261
|
/** Create a new insight with lineage captured from the current runtime context */
|
|
884
1262
|
create: (summary: string, options?: {
|
|
@@ -1006,6 +1384,192 @@ export declare class RaviClient {
|
|
|
1006
1384
|
pattern?: string;
|
|
1007
1385
|
}) => Promise<InstancesTargetReturn>;
|
|
1008
1386
|
};
|
|
1387
|
+
readonly mail: {
|
|
1388
|
+
accounts: {
|
|
1389
|
+
/** Create or update a local mail provider account */
|
|
1390
|
+
create: (options?: {
|
|
1391
|
+
credentialsRef?: string;
|
|
1392
|
+
id?: string;
|
|
1393
|
+
name?: string;
|
|
1394
|
+
provider?: string;
|
|
1395
|
+
}) => Promise<MailAccountsCreateReturn>;
|
|
1396
|
+
/** List local mail accounts */
|
|
1397
|
+
list: (options?: {
|
|
1398
|
+
limit?: string;
|
|
1399
|
+
offset?: string;
|
|
1400
|
+
provider?: string;
|
|
1401
|
+
status?: string;
|
|
1402
|
+
}) => Promise<MailAccountsListReturn>;
|
|
1403
|
+
/** Run one local provider sync tick for an account */
|
|
1404
|
+
sync: (account: string, options?: {
|
|
1405
|
+
once?: boolean;
|
|
1406
|
+
}) => Promise<MailAccountsSyncReturn>;
|
|
1407
|
+
};
|
|
1408
|
+
domains: {
|
|
1409
|
+
/** Register a managed Ravi Mail domain in Console */
|
|
1410
|
+
create: (domain: string, options?: {
|
|
1411
|
+
console?: string;
|
|
1412
|
+
}) => Promise<MailDomainsCreateReturn>;
|
|
1413
|
+
/** List managed Ravi Mail domains through Console */
|
|
1414
|
+
list: (options?: {
|
|
1415
|
+
console?: string;
|
|
1416
|
+
limit?: string;
|
|
1417
|
+
offset?: string;
|
|
1418
|
+
}) => Promise<MailDomainsListReturn>;
|
|
1419
|
+
};
|
|
1420
|
+
mailboxes: {
|
|
1421
|
+
/** Create or update a local mailbox projection */
|
|
1422
|
+
create: (address: string, options?: {
|
|
1423
|
+
account?: string;
|
|
1424
|
+
default?: boolean;
|
|
1425
|
+
name?: string;
|
|
1426
|
+
providerMailboxId?: string;
|
|
1427
|
+
role?: string;
|
|
1428
|
+
}) => Promise<MailMailboxesCreateReturn>;
|
|
1429
|
+
/** Disable a local mailbox projection */
|
|
1430
|
+
disable: (mailbox: string) => Promise<MailMailboxesDisableReturn>;
|
|
1431
|
+
/** List local mailboxes */
|
|
1432
|
+
list: (options?: {
|
|
1433
|
+
account?: string;
|
|
1434
|
+
limit?: string;
|
|
1435
|
+
offset?: string;
|
|
1436
|
+
status?: string;
|
|
1437
|
+
}) => Promise<MailMailboxesListReturn>;
|
|
1438
|
+
/** Show a local mailbox */
|
|
1439
|
+
show: (mailbox: string) => Promise<MailMailboxesShowReturn>;
|
|
1440
|
+
};
|
|
1441
|
+
messages: {
|
|
1442
|
+
/** Import one normalized provider message into the local mailbox */
|
|
1443
|
+
import: (options?: {
|
|
1444
|
+
body?: string;
|
|
1445
|
+
from?: string;
|
|
1446
|
+
mailbox?: string;
|
|
1447
|
+
provider?: string;
|
|
1448
|
+
providerMessageId?: string;
|
|
1449
|
+
providerThreadId?: string;
|
|
1450
|
+
rfcMessageId?: string;
|
|
1451
|
+
subject?: string;
|
|
1452
|
+
to?: string;
|
|
1453
|
+
}) => Promise<MailMessagesImportReturn>;
|
|
1454
|
+
/** List local mail messages */
|
|
1455
|
+
list: (options?: {
|
|
1456
|
+
addresses?: boolean;
|
|
1457
|
+
limit?: string;
|
|
1458
|
+
mailbox?: string;
|
|
1459
|
+
offset?: string;
|
|
1460
|
+
query?: string;
|
|
1461
|
+
status?: string;
|
|
1462
|
+
}) => Promise<MailMessagesListReturn>;
|
|
1463
|
+
/** Read a local mail message */
|
|
1464
|
+
read: (message: string, options?: {
|
|
1465
|
+
addresses?: boolean;
|
|
1466
|
+
}) => Promise<MailMessagesReadReturn>;
|
|
1467
|
+
/** Search local mail messages */
|
|
1468
|
+
search: (query: string, options?: {
|
|
1469
|
+
limit?: string;
|
|
1470
|
+
mailbox?: string;
|
|
1471
|
+
}) => Promise<MailMessagesSearchReturn>;
|
|
1472
|
+
};
|
|
1473
|
+
outbox: {
|
|
1474
|
+
/** Inspect a local outbox row */
|
|
1475
|
+
inspect: (outbox: string) => Promise<MailOutboxInspectReturn>;
|
|
1476
|
+
/** List local outbox rows */
|
|
1477
|
+
list: (options?: {
|
|
1478
|
+
limit?: string;
|
|
1479
|
+
mailbox?: string;
|
|
1480
|
+
offset?: string;
|
|
1481
|
+
status?: string;
|
|
1482
|
+
}) => Promise<MailOutboxListReturn>;
|
|
1483
|
+
/** Move a failed/dead local outbox row back to pending */
|
|
1484
|
+
retry: (outbox: string) => Promise<MailOutboxRetryReturn>;
|
|
1485
|
+
/** Show local mail outbox status */
|
|
1486
|
+
status: () => Promise<MailOutboxStatusReturn>;
|
|
1487
|
+
};
|
|
1488
|
+
providers: {
|
|
1489
|
+
/** List known mail providers and local account counts */
|
|
1490
|
+
list: (options?: {
|
|
1491
|
+
limit?: string;
|
|
1492
|
+
offset?: string;
|
|
1493
|
+
}) => Promise<MailProvidersListReturn>;
|
|
1494
|
+
raviMail: {
|
|
1495
|
+
mailboxes: {
|
|
1496
|
+
/** Create a Ravi Mail provider mailbox through Console */
|
|
1497
|
+
create: (addressOrLocalPart: string, options?: {
|
|
1498
|
+
console?: string;
|
|
1499
|
+
domain?: string;
|
|
1500
|
+
}) => Promise<MailProvidersRaviMailMailboxesCreateReturn>;
|
|
1501
|
+
/** Disable a managed Ravi Mail provider mailbox and active routes */
|
|
1502
|
+
disable: (mailbox: string, options?: {
|
|
1503
|
+
console?: string;
|
|
1504
|
+
}) => Promise<MailProvidersRaviMailMailboxesDisableReturn>;
|
|
1505
|
+
/** List Ravi Mail provider mailboxes through Console */
|
|
1506
|
+
list: (options?: {
|
|
1507
|
+
console?: string;
|
|
1508
|
+
domain?: string;
|
|
1509
|
+
limit?: string;
|
|
1510
|
+
offset?: string;
|
|
1511
|
+
}) => Promise<MailProvidersRaviMailMailboxesListReturn>;
|
|
1512
|
+
/** Show Ravi Mail provider mailbox metadata */
|
|
1513
|
+
show: (mailbox: string, options?: {
|
|
1514
|
+
console?: string;
|
|
1515
|
+
}) => Promise<MailProvidersRaviMailMailboxesShowReturn>;
|
|
1516
|
+
};
|
|
1517
|
+
messages: {
|
|
1518
|
+
/** List Ravi Mail provider message metadata */
|
|
1519
|
+
list: (options?: {
|
|
1520
|
+
addresses?: boolean;
|
|
1521
|
+
console?: string;
|
|
1522
|
+
limit?: string;
|
|
1523
|
+
mailbox?: string;
|
|
1524
|
+
offset?: string;
|
|
1525
|
+
}) => Promise<MailProvidersRaviMailMessagesListReturn>;
|
|
1526
|
+
/** Read one authorized Ravi Mail provider message body through Console */
|
|
1527
|
+
read: (message: string, options?: {
|
|
1528
|
+
console?: string;
|
|
1529
|
+
payload?: string;
|
|
1530
|
+
}) => Promise<MailProvidersRaviMailMessagesReadReturn>;
|
|
1531
|
+
/** Show Ravi Mail provider message metadata */
|
|
1532
|
+
show: (message: string, options?: {
|
|
1533
|
+
addresses?: boolean;
|
|
1534
|
+
console?: string;
|
|
1535
|
+
}) => Promise<MailProvidersRaviMailMessagesShowReturn>;
|
|
1536
|
+
};
|
|
1537
|
+
/** Send mail directly through Console Ravi Mail */
|
|
1538
|
+
send: (options?: {
|
|
1539
|
+
body?: string;
|
|
1540
|
+
console?: string;
|
|
1541
|
+
from?: string;
|
|
1542
|
+
idempotencyKey?: string;
|
|
1543
|
+
subject?: string;
|
|
1544
|
+
to?: string;
|
|
1545
|
+
}) => Promise<MailProvidersRaviMailSendReturn>;
|
|
1546
|
+
};
|
|
1547
|
+
};
|
|
1548
|
+
/** Queue a local reply in the outbox */
|
|
1549
|
+
reply: (message: string, options?: {
|
|
1550
|
+
bcc?: string;
|
|
1551
|
+
body?: string;
|
|
1552
|
+
cc?: string;
|
|
1553
|
+
from?: string;
|
|
1554
|
+
idempotencyKey?: string;
|
|
1555
|
+
subject?: string;
|
|
1556
|
+
to?: string;
|
|
1557
|
+
}) => Promise<MailReplyReturn>;
|
|
1558
|
+
/** Queue mail in the local outbox */
|
|
1559
|
+
send: (options?: {
|
|
1560
|
+
body?: string;
|
|
1561
|
+
from?: string;
|
|
1562
|
+
idempotencyKey?: string;
|
|
1563
|
+
subject?: string;
|
|
1564
|
+
to?: string;
|
|
1565
|
+
}) => Promise<MailSendReturn>;
|
|
1566
|
+
threads: {
|
|
1567
|
+
/** Read a local mail thread and its safe message timeline */
|
|
1568
|
+
read: (thread: string, options?: {
|
|
1569
|
+
addresses?: boolean;
|
|
1570
|
+
}) => Promise<MailThreadsReadReturn>;
|
|
1571
|
+
};
|
|
1572
|
+
};
|
|
1009
1573
|
readonly media: {
|
|
1010
1574
|
/** Send a media file (image, video, audio, document) */
|
|
1011
1575
|
send: (filePath: string, options?: {
|
|
@@ -1017,6 +1581,23 @@ export declare class RaviClient {
|
|
|
1017
1581
|
to?: string;
|
|
1018
1582
|
}) => Promise<MediaSendReturn>;
|
|
1019
1583
|
};
|
|
1584
|
+
readonly metrics: {
|
|
1585
|
+
/** List dates that have already been rolled up */
|
|
1586
|
+
dates: () => Promise<MetricsDatesReturn>;
|
|
1587
|
+
/** Aggregate cost_events + session_events into daily_metrics for a date range */
|
|
1588
|
+
rollup: (options?: {
|
|
1589
|
+
since?: string;
|
|
1590
|
+
through?: string;
|
|
1591
|
+
}) => Promise<MetricsRollupReturn>;
|
|
1592
|
+
/** Display daily metrics rolled up to date */
|
|
1593
|
+
show: (options?: {
|
|
1594
|
+
agent?: string;
|
|
1595
|
+
by?: string;
|
|
1596
|
+
days?: string;
|
|
1597
|
+
since?: string;
|
|
1598
|
+
through?: string;
|
|
1599
|
+
}) => Promise<MetricsShowReturn>;
|
|
1600
|
+
};
|
|
1020
1601
|
readonly observers: {
|
|
1021
1602
|
/** List session observer bindings */
|
|
1022
1603
|
list: (options?: {
|
|
@@ -1092,6 +1673,34 @@ export declare class RaviClient {
|
|
|
1092
1673
|
/** Show one observer binding */
|
|
1093
1674
|
show: (bindingId: string) => Promise<ObserversShowReturn>;
|
|
1094
1675
|
};
|
|
1676
|
+
readonly pages: {
|
|
1677
|
+
/** Create a Ravi Pages site in a Console project */
|
|
1678
|
+
create: (project: string, slug: string, options?: {
|
|
1679
|
+
console?: string;
|
|
1680
|
+
defaultSite?: boolean;
|
|
1681
|
+
visibility?: string;
|
|
1682
|
+
}) => Promise<PagesCreateReturn>;
|
|
1683
|
+
/** Bind custom hostnames to a Ravi Pages site */
|
|
1684
|
+
domains: (project: string, site: string, hostnames: string[], options?: {
|
|
1685
|
+
check?: boolean;
|
|
1686
|
+
console?: string;
|
|
1687
|
+
}) => Promise<PagesDomainsReturn>;
|
|
1688
|
+
/** List Ravi Pages sites in a Console project */
|
|
1689
|
+
list: (project: string, options?: {
|
|
1690
|
+
console?: string;
|
|
1691
|
+
limit?: string;
|
|
1692
|
+
offset?: string;
|
|
1693
|
+
}) => Promise<PagesListReturn>;
|
|
1694
|
+
/** Update a Ravi Pages site in a Console project */
|
|
1695
|
+
update: (project: string, site: string, options?: {
|
|
1696
|
+
console?: string;
|
|
1697
|
+
visibility?: string;
|
|
1698
|
+
}) => Promise<PagesUpdateReturn>;
|
|
1699
|
+
/** Set a Ravi Pages site default visibility */
|
|
1700
|
+
visibility: (project: string, site: string, visibility: string, options?: {
|
|
1701
|
+
console?: string;
|
|
1702
|
+
}) => Promise<PagesVisibilityReturn>;
|
|
1703
|
+
};
|
|
1095
1704
|
readonly permissions: {
|
|
1096
1705
|
/** Check if a subject has a permission on an object */
|
|
1097
1706
|
check: (subject: string, permission: string, object: string) => Promise<PermissionsCheckReturn>;
|
|
@@ -1394,6 +2003,95 @@ export declare class RaviClient {
|
|
|
1394
2003
|
/** Show route details */
|
|
1395
2004
|
show: (name: string, pattern: string) => Promise<RoutesShowReturn>;
|
|
1396
2005
|
};
|
|
2006
|
+
readonly rules: {
|
|
2007
|
+
/** Import provider rules into .ravi/rules/imported */
|
|
2008
|
+
import: (source?: string, options?: {
|
|
2009
|
+
cwd?: string;
|
|
2010
|
+
force?: boolean;
|
|
2011
|
+
includeUser?: boolean;
|
|
2012
|
+
write?: boolean;
|
|
2013
|
+
}) => Promise<RulesImportReturn>;
|
|
2014
|
+
/** List importable provider rule sources */
|
|
2015
|
+
sources: (source?: string, options?: {
|
|
2016
|
+
cwd?: string;
|
|
2017
|
+
includeUser?: boolean;
|
|
2018
|
+
}) => Promise<RulesSourcesReturn>;
|
|
2019
|
+
};
|
|
2020
|
+
readonly runtime: {
|
|
2021
|
+
credentials: {
|
|
2022
|
+
/** Add a managed runtime provider credential */
|
|
2023
|
+
add: (options?: {
|
|
2024
|
+
agents?: string;
|
|
2025
|
+
authMethod?: string;
|
|
2026
|
+
authProfile?: string;
|
|
2027
|
+
label?: string;
|
|
2028
|
+
models?: string;
|
|
2029
|
+
notes?: string;
|
|
2030
|
+
priority?: string;
|
|
2031
|
+
provider?: string;
|
|
2032
|
+
readOnly?: boolean;
|
|
2033
|
+
remoteForward?: boolean;
|
|
2034
|
+
secretEnv?: string;
|
|
2035
|
+
targetEnv?: string;
|
|
2036
|
+
taskProfiles?: string;
|
|
2037
|
+
upstream?: string;
|
|
2038
|
+
}) => Promise<RuntimeCredentialsAddReturn>;
|
|
2039
|
+
/** Classify a provider failure for credential fallback */
|
|
2040
|
+
classify: (options?: {
|
|
2041
|
+
credential?: string;
|
|
2042
|
+
headers?: string;
|
|
2043
|
+
message?: string;
|
|
2044
|
+
provider?: string;
|
|
2045
|
+
providerCode?: string;
|
|
2046
|
+
providerType?: string;
|
|
2047
|
+
record?: boolean;
|
|
2048
|
+
status?: string;
|
|
2049
|
+
upstream?: string;
|
|
2050
|
+
}) => Promise<RuntimeCredentialsClassifyReturn>;
|
|
2051
|
+
/** Disable a runtime credential immediately */
|
|
2052
|
+
disable: (id: string) => Promise<RuntimeCredentialsDisableReturn>;
|
|
2053
|
+
/** Enable a runtime credential */
|
|
2054
|
+
enable: (id: string) => Promise<RuntimeCredentialsEnableReturn>;
|
|
2055
|
+
/** Import/reference an existing provider-native credential source */
|
|
2056
|
+
import: (options?: {
|
|
2057
|
+
fromClaudeCode?: boolean;
|
|
2058
|
+
fromCodexHome?: string;
|
|
2059
|
+
label?: string;
|
|
2060
|
+
managedRefresh?: boolean;
|
|
2061
|
+
provider?: string;
|
|
2062
|
+
}) => Promise<RuntimeCredentialsImportReturn>;
|
|
2063
|
+
/** List runtime provider credentials */
|
|
2064
|
+
list: (options?: {
|
|
2065
|
+
all?: boolean;
|
|
2066
|
+
limit?: string;
|
|
2067
|
+
offset?: string;
|
|
2068
|
+
provider?: string;
|
|
2069
|
+
status?: string;
|
|
2070
|
+
upstream?: string;
|
|
2071
|
+
}) => Promise<RuntimeCredentialsListReturn>;
|
|
2072
|
+
/** Refresh or recover credential health before pool selection */
|
|
2073
|
+
refresh: (id?: string, options?: {
|
|
2074
|
+
agent?: string;
|
|
2075
|
+
force?: boolean;
|
|
2076
|
+
model?: string;
|
|
2077
|
+
provider?: string;
|
|
2078
|
+
taskProfile?: string;
|
|
2079
|
+
upstream?: string;
|
|
2080
|
+
}) => Promise<RuntimeCredentialsRefreshReturn>;
|
|
2081
|
+
/** Clear cooldown/error state for a credential */
|
|
2082
|
+
resetHealth: (id: string) => Promise<RuntimeCredentialsResetHealthReturn>;
|
|
2083
|
+
/** Preview which credential the pool would select */
|
|
2084
|
+
select: (options?: {
|
|
2085
|
+
agent?: string;
|
|
2086
|
+
model?: string;
|
|
2087
|
+
provider?: string;
|
|
2088
|
+
taskProfile?: string;
|
|
2089
|
+
upstream?: string;
|
|
2090
|
+
}) => Promise<RuntimeCredentialsSelectReturn>;
|
|
2091
|
+
/** Show credential health and provider health */
|
|
2092
|
+
status: (id?: string) => Promise<RuntimeCredentialsStatusReturn>;
|
|
2093
|
+
};
|
|
2094
|
+
};
|
|
1397
2095
|
readonly sdk: {
|
|
1398
2096
|
client: {
|
|
1399
2097
|
/** Compare on-disk @ravi-os/sdk sources to a fresh emit; exit 1 on drift */
|
|
@@ -1456,37 +2154,104 @@ export declare class RaviClient {
|
|
|
1456
2154
|
/** Show the current agent/session identity */
|
|
1457
2155
|
whoami: () => Promise<SelfWhoamiReturn>;
|
|
1458
2156
|
};
|
|
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
2157
|
readonly sessions: {
|
|
2158
|
+
/** Show available chat actions and recent own messages for a session */
|
|
2159
|
+
actions: (nameOrKey?: string, options?: {
|
|
2160
|
+
limit?: string;
|
|
2161
|
+
}) => Promise<SessionsActionsReturn>;
|
|
1468
2162
|
/** Answer a question from another session (fire-and-forget) */
|
|
1469
2163
|
answer: (target: string, message: string, sender?: string, options?: {
|
|
1470
2164
|
barrier?: string;
|
|
1471
2165
|
channel?: string;
|
|
2166
|
+
immediate?: boolean;
|
|
2167
|
+
steer?: boolean;
|
|
1472
2168
|
to?: string;
|
|
1473
2169
|
}) => Promise<SessionsAnswerReturn>;
|
|
1474
2170
|
/** Ask a question to another session (fire-and-forget) */
|
|
1475
2171
|
ask: (target: string, message: string, sender?: string, options?: {
|
|
1476
2172
|
barrier?: string;
|
|
1477
2173
|
channel?: string;
|
|
2174
|
+
immediate?: boolean;
|
|
2175
|
+
steer?: boolean;
|
|
1478
2176
|
to?: string;
|
|
1479
2177
|
}) => Promise<SessionsAskReturn>;
|
|
2178
|
+
/** Attach a chat as the session output target and input source */
|
|
2179
|
+
attach: (nameOrKey: string, options?: {
|
|
2180
|
+
chat?: string;
|
|
2181
|
+
reason?: string;
|
|
2182
|
+
}) => Promise<SessionsAttachReturn>;
|
|
1480
2183
|
/** Delete a session permanently */
|
|
1481
2184
|
delete: (nameOrKey: string) => Promise<SessionsDeleteReturn>;
|
|
2185
|
+
/** Delete one of this session agent's own channel messages */
|
|
2186
|
+
deleteMessage: (sessionOrMessage: string, messageRef?: string) => Promise<SessionsDeleteMessageReturn>;
|
|
2187
|
+
/** Detach a chat/output target from a session */
|
|
2188
|
+
detach: (nameOrKey: string, options?: {
|
|
2189
|
+
chat?: string;
|
|
2190
|
+
}) => Promise<SessionsDetachReturn>;
|
|
2191
|
+
/** Edit one of this session agent's own text channel messages */
|
|
2192
|
+
editMessage: (sessionOrMessage: string, messageOrText?: string, textArg?: string, options?: {
|
|
2193
|
+
text?: string;
|
|
2194
|
+
}) => Promise<SessionsEditMessageReturn>;
|
|
1482
2195
|
/** Send an execute command to another session (fire-and-forget) */
|
|
1483
2196
|
execute: (target: string, message: string, options?: {
|
|
1484
2197
|
barrier?: string;
|
|
1485
2198
|
channel?: string;
|
|
2199
|
+
immediate?: boolean;
|
|
2200
|
+
steer?: boolean;
|
|
1486
2201
|
to?: string;
|
|
1487
2202
|
}) => Promise<SessionsExecuteReturn>;
|
|
1488
2203
|
/** Extend an ephemeral session's TTL */
|
|
1489
2204
|
extend: (nameOrKey: string, duration?: string) => Promise<SessionsExtendReturn>;
|
|
2205
|
+
followups: {
|
|
2206
|
+
/** Create a session followup cadence */
|
|
2207
|
+
add: (name: string, options?: {
|
|
2208
|
+
at?: string;
|
|
2209
|
+
barrier?: string;
|
|
2210
|
+
cron?: string;
|
|
2211
|
+
description?: string;
|
|
2212
|
+
disabled?: boolean;
|
|
2213
|
+
every?: string;
|
|
2214
|
+
message?: string;
|
|
2215
|
+
owner?: string;
|
|
2216
|
+
step?: string[];
|
|
2217
|
+
targetChat?: string;
|
|
2218
|
+
targetList?: string;
|
|
2219
|
+
targetSession?: string;
|
|
2220
|
+
timezone?: string;
|
|
2221
|
+
}) => Promise<SessionsFollowupsAddReturn>;
|
|
2222
|
+
/** Inspect one session followup cadence and recent runs */
|
|
2223
|
+
inspect: (id: string, options?: {
|
|
2224
|
+
runs?: string;
|
|
2225
|
+
}) => Promise<SessionsFollowupsInspectReturn>;
|
|
2226
|
+
/** List session followup cadences */
|
|
2227
|
+
list: (options?: {
|
|
2228
|
+
includeDisabled?: boolean;
|
|
2229
|
+
limit?: string;
|
|
2230
|
+
offset?: string;
|
|
2231
|
+
targetType?: string;
|
|
2232
|
+
}) => Promise<SessionsFollowupsListReturn>;
|
|
2233
|
+
/** Pause a followup cadence */
|
|
2234
|
+
pause: (id: string) => Promise<SessionsFollowupsPauseReturn>;
|
|
2235
|
+
/** Resume a followup cadence and recalculate next run */
|
|
2236
|
+
resume: (id: string) => Promise<SessionsFollowupsResumeReturn>;
|
|
2237
|
+
/** Retry failed/dead followup runs */
|
|
2238
|
+
retry: (run?: string, options?: {
|
|
2239
|
+
cadence?: string;
|
|
2240
|
+
}) => Promise<SessionsFollowupsRetryReturn>;
|
|
2241
|
+
/** Run a followup cadence now without consuming its next scheduled time */
|
|
2242
|
+
run: (id: string) => Promise<SessionsFollowupsRunReturn>;
|
|
2243
|
+
/** List session followup runs */
|
|
2244
|
+
runs: (options?: {
|
|
2245
|
+
cadence?: string;
|
|
2246
|
+
limit?: string;
|
|
2247
|
+
offset?: string;
|
|
2248
|
+
status?: string;
|
|
2249
|
+
}) => Promise<SessionsFollowupsRunsReturn>;
|
|
2250
|
+
/** Snooze a followup cadence until a timestamp */
|
|
2251
|
+
snooze: (id: string, options?: {
|
|
2252
|
+
until?: string;
|
|
2253
|
+
}) => Promise<SessionsFollowupsSnoozeReturn>;
|
|
2254
|
+
};
|
|
1490
2255
|
/** Inspect or mutate persisted session goal state */
|
|
1491
2256
|
goal: (action: string, nameOrKey: string, objective?: string, options?: {
|
|
1492
2257
|
budget?: string;
|
|
@@ -1501,6 +2266,8 @@ export declare class RaviClient {
|
|
|
1501
2266
|
inform: (target: string, message: string, options?: {
|
|
1502
2267
|
barrier?: string;
|
|
1503
2268
|
channel?: string;
|
|
2269
|
+
immediate?: boolean;
|
|
2270
|
+
steer?: boolean;
|
|
1504
2271
|
to?: string;
|
|
1505
2272
|
}) => Promise<SessionsInformReturn>;
|
|
1506
2273
|
/** Make an ephemeral session permanent */
|
|
@@ -1514,6 +2281,10 @@ export declare class RaviClient {
|
|
|
1514
2281
|
offset?: string;
|
|
1515
2282
|
tag?: string;
|
|
1516
2283
|
}) => Promise<SessionsListReturn>;
|
|
2284
|
+
/** Keep a subscribed chat as listen-only for a session */
|
|
2285
|
+
mute: (nameOrKey: string, options?: {
|
|
2286
|
+
chat?: string;
|
|
2287
|
+
}) => Promise<SessionsMuteReturn>;
|
|
1517
2288
|
/** Prune sessions inactive for a duration (dry-run by default) */
|
|
1518
2289
|
prune: (options?: {
|
|
1519
2290
|
agent?: string;
|
|
@@ -1523,7 +2294,7 @@ export declare class RaviClient {
|
|
|
1523
2294
|
namePrefix?: string;
|
|
1524
2295
|
}) => Promise<SessionsPruneReturn>;
|
|
1525
2296
|
/** Read message history of a session (normalized) */
|
|
1526
|
-
read: (nameOrKey
|
|
2297
|
+
read: (nameOrKey?: string, options?: {
|
|
1527
2298
|
count?: string;
|
|
1528
2299
|
messageId?: string;
|
|
1529
2300
|
workspace?: boolean;
|
|
@@ -1577,7 +2348,9 @@ export declare class RaviClient {
|
|
|
1577
2348
|
agent?: string;
|
|
1578
2349
|
barrier?: string;
|
|
1579
2350
|
channel?: string;
|
|
2351
|
+
immediate?: boolean;
|
|
1580
2352
|
interactive?: boolean;
|
|
2353
|
+
steer?: boolean;
|
|
1581
2354
|
thread?: string;
|
|
1582
2355
|
threadOwner?: string;
|
|
1583
2356
|
threadScope?: string;
|
|
@@ -1594,6 +2367,8 @@ export declare class RaviClient {
|
|
|
1594
2367
|
setThinking: (nameOrKey: string, level: string) => Promise<SessionsSetThinkingReturn>;
|
|
1595
2368
|
/** Make a session ephemeral with a TTL */
|
|
1596
2369
|
setTtl: (nameOrKey: string, duration: string) => Promise<SessionsSetTtlReturn>;
|
|
2370
|
+
/** List chats attached to a session */
|
|
2371
|
+
subscriptions: (nameOrKey: string) => Promise<SessionsSubscriptionsReturn>;
|
|
1597
2372
|
/** Read the SQLite session trace timeline */
|
|
1598
2373
|
trace: (nameOrKey: string, options?: {
|
|
1599
2374
|
correlation?: string;
|
|
@@ -1610,6 +2385,10 @@ export declare class RaviClient {
|
|
|
1610
2385
|
turn?: string;
|
|
1611
2386
|
until?: string;
|
|
1612
2387
|
}) => Promise<SessionsTraceReturn>;
|
|
2388
|
+
/** Allow a subscribed chat to receive session responses */
|
|
2389
|
+
unmute: (nameOrKey: string, options?: {
|
|
2390
|
+
chat?: string;
|
|
2391
|
+
}) => Promise<SessionsUnmuteReturn>;
|
|
1613
2392
|
/** Show runtime session visibility state */
|
|
1614
2393
|
visibility: (nameOrKey: string) => Promise<SessionsVisibilityReturn>;
|
|
1615
2394
|
};
|
|
@@ -1732,6 +2511,37 @@ export declare class RaviClient {
|
|
|
1732
2511
|
/** Show one sticker catalog entry */
|
|
1733
2512
|
show: (id: string) => Promise<StickersShowReturn>;
|
|
1734
2513
|
};
|
|
2514
|
+
readonly sync: {
|
|
2515
|
+
/** Inspect a sync outbox/inbox row by id */
|
|
2516
|
+
inspect: (id: string) => Promise<SyncInspectReturn>;
|
|
2517
|
+
/** Download a bounded remote event batch from Console */
|
|
2518
|
+
pull: (options?: {
|
|
2519
|
+
domain?: string;
|
|
2520
|
+
limit?: string;
|
|
2521
|
+
project?: string;
|
|
2522
|
+
projectId?: string;
|
|
2523
|
+
projectRef?: string;
|
|
2524
|
+
scope?: string;
|
|
2525
|
+
}) => Promise<SyncPullReturn>;
|
|
2526
|
+
/** Upload a bounded outbox batch to Console */
|
|
2527
|
+
push: (options?: {
|
|
2528
|
+
domain?: string;
|
|
2529
|
+
limit?: string;
|
|
2530
|
+
maxBytes?: string;
|
|
2531
|
+
project?: string;
|
|
2532
|
+
projectId?: string;
|
|
2533
|
+
projectRef?: string;
|
|
2534
|
+
scope?: string;
|
|
2535
|
+
traces?: boolean;
|
|
2536
|
+
}) => Promise<SyncPushReturn>;
|
|
2537
|
+
/** Move failed sync outbox rows back to pending */
|
|
2538
|
+
retry: (options?: {
|
|
2539
|
+
dead?: boolean;
|
|
2540
|
+
id?: string;
|
|
2541
|
+
}) => Promise<SyncRetryReturn>;
|
|
2542
|
+
/** Show local sync status */
|
|
2543
|
+
status: () => Promise<SyncStatusReturn>;
|
|
2544
|
+
};
|
|
1735
2545
|
readonly tagRules: {
|
|
1736
2546
|
/** Evaluate a rule against a target asset */
|
|
1737
2547
|
evaluate: (ruleId: string, options?: {
|
|
@@ -2152,6 +2962,8 @@ export declare class RaviClient {
|
|
|
2152
2962
|
show: (id: string) => Promise<TriggersShowReturn>;
|
|
2153
2963
|
/** Test trigger with fake event data */
|
|
2154
2964
|
test: (id: string) => Promise<TriggersTestReturn>;
|
|
2965
|
+
/** List trigger-ready NATS topics */
|
|
2966
|
+
topics: () => Promise<TriggersTopicsReturn>;
|
|
2155
2967
|
};
|
|
2156
2968
|
readonly video: {
|
|
2157
2969
|
/** Analyze a video (YouTube URL or local file) and save to markdown */
|
|
@@ -2160,6 +2972,47 @@ export declare class RaviClient {
|
|
|
2160
2972
|
prompt?: string;
|
|
2161
2973
|
}) => Promise<VideoAnalyzeReturn>;
|
|
2162
2974
|
};
|
|
2975
|
+
readonly watch: {
|
|
2976
|
+
/** List available watch connectors and event types */
|
|
2977
|
+
connectors: (options?: {
|
|
2978
|
+
provider?: string;
|
|
2979
|
+
}) => Promise<WatchConnectorsReturn>;
|
|
2980
|
+
/** Create a watch */
|
|
2981
|
+
create: (provider: string, resource: string, options?: {
|
|
2982
|
+
event?: string;
|
|
2983
|
+
installation?: string;
|
|
2984
|
+
name?: string;
|
|
2985
|
+
placement?: string;
|
|
2986
|
+
project?: string;
|
|
2987
|
+
resourceId?: string;
|
|
2988
|
+
}) => Promise<WatchCreateReturn>;
|
|
2989
|
+
/** Disable a watch */
|
|
2990
|
+
disable: (id: string) => Promise<WatchDisableReturn>;
|
|
2991
|
+
/** Enable a watch */
|
|
2992
|
+
enable: (id: string) => Promise<WatchEnableReturn>;
|
|
2993
|
+
/** Show trigger-ready event subjects for a watch */
|
|
2994
|
+
events: (id: string) => Promise<WatchEventsReturn>;
|
|
2995
|
+
/** List watches */
|
|
2996
|
+
list: (options?: {
|
|
2997
|
+
limit?: string;
|
|
2998
|
+
offset?: string;
|
|
2999
|
+
provider?: string;
|
|
3000
|
+
status?: string;
|
|
3001
|
+
}) => Promise<WatchListReturn>;
|
|
3002
|
+
/** Remove a watch */
|
|
3003
|
+
rm: (id: string) => Promise<WatchRmReturn>;
|
|
3004
|
+
/** Show watch details */
|
|
3005
|
+
show: (id: string) => Promise<WatchShowReturn>;
|
|
3006
|
+
/** Create a trigger for a watch event in the current chat */
|
|
3007
|
+
trigger: (id: string, options?: {
|
|
3008
|
+
account?: string;
|
|
3009
|
+
agent?: string;
|
|
3010
|
+
cooldown?: string;
|
|
3011
|
+
event?: string;
|
|
3012
|
+
message?: string;
|
|
3013
|
+
session?: string;
|
|
3014
|
+
}) => Promise<WatchTriggerReturn>;
|
|
3015
|
+
};
|
|
2163
3016
|
readonly whatsapp: {
|
|
2164
3017
|
dm: {
|
|
2165
3018
|
/** Send read receipt (blue ticks) for a specific message */
|
|
@@ -2185,7 +3038,13 @@ export declare class RaviClient {
|
|
|
2185
3038
|
/** Create a new group */
|
|
2186
3039
|
create: (name: string, participants: string, options?: {
|
|
2187
3040
|
account?: string;
|
|
3041
|
+
admin?: string[];
|
|
3042
|
+
admins?: string[];
|
|
2188
3043
|
agent?: string;
|
|
3044
|
+
agentCwd?: string;
|
|
3045
|
+
agentProvider?: string;
|
|
3046
|
+
createAgent?: boolean;
|
|
3047
|
+
skipTaggedAdmins?: boolean;
|
|
2189
3048
|
}) => Promise<WhatsappGroupCreateReturn>;
|
|
2190
3049
|
/** Demote participants from admin */
|
|
2191
3050
|
demote: (groupId: string, participants: string, options?: {
|
|
@@ -2233,6 +3092,11 @@ export declare class RaviClient {
|
|
|
2233
3092
|
revokeInvite: (groupId: string, options?: {
|
|
2234
3093
|
account?: string;
|
|
2235
3094
|
}) => Promise<WhatsappGroupRevokeInviteReturn>;
|
|
3095
|
+
/** Send a message to a WhatsApp group */
|
|
3096
|
+
send: (groupId: string, message: string, options?: {
|
|
3097
|
+
account?: string;
|
|
3098
|
+
mention?: string[];
|
|
3099
|
+
}) => Promise<WhatsappGroupSendReturn>;
|
|
2236
3100
|
/** Update group settings (announcement, not_announcement, locked, unlocked) */
|
|
2237
3101
|
settings: (groupId: string, setting: string, options?: {
|
|
2238
3102
|
account?: string;
|