@lumavox/server 0.58.1 → 0.60.0

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 CHANGED
@@ -64,7 +64,7 @@ list's page.
64
64
 
65
65
  | Resource | Methods |
66
66
  |---|---|
67
- | `endUsers` | `create`, `get`, `update`, `delete`, `list`, `page`, `export`, `toolResult`; `facts.list`, `facts.add`, `facts.update`, `facts.delete`; `memories.list`, `memories.page`, `memories.get`, `memories.create`, `memories.update`, `memories.delete`, `memories.deleteAll`; `personalization.get`, `personalization.update`, `states.list`, `states.get`, `states.set`, `states.delete` — where a person stands with one agent, which that agent reads on every reply; `note`; `scheduledMessages.create`, `scheduledMessages.list`, `scheduledMessages.get`, `scheduledMessages.cancel`; `reports.list`, `reports.page`, `reports.get` |
67
+ | `endUsers` | `create`, `get`, `update`, `delete`, `list`, `page`, `export`, `toolResult`; `facts.list`, `facts.add`, `facts.update`, `facts.delete`; `memories.list`, `memories.page`, `memories.get`, `memories.create`, `memories.update`, `memories.delete`, `memories.deleteAll`; `personalization.get`, `personalization.update`, `states.list`, `states.get`, `states.set`, `states.delete` — where a person stands with one agent, which that agent reads on every reply; `relations.list`, `relations.reset` — how each agent feels about them, and one started over; `note`; `scheduledMessages.create`, `scheduledMessages.list`, `scheduledMessages.get`, `scheduledMessages.cancel`; `reports.list`, `reports.page`, `reports.get` |
68
68
  | `ephemeralKeys` | `limits`, `create`, `get`, `revoke`, `inspect`, `list`, `page` |
69
69
  | `images`, `videos`, `audio`, `skybox`, `transcriptions` | `create`, `get`, `wait`, `generate`; `images.draftLayout`, `images.findElements`; `skybox.styles` |
70
70
  | `generations` | `get`, `wait`, `list`, `page` |
@@ -72,7 +72,7 @@ list's page.
72
72
  | `tts`, `stt` | `create` |
73
73
  | `voices` | `list`, `page`, `get`, `create`, `uploadUrl`, `upload`, `update`, `delete`, `resample`, `design`, `saveDesign`, `wait` |
74
74
  | `assets` | `list`, `page`, `get`, `uploadUrl`, `confirm`, `upload`, `update`, `delete`, `deleteMany`, `move`, `wait`; `assets.folders.*` |
75
- | `agents` | `list`, `page`, `get`, `create`, `update`, `delete`; `agents.prompt` — everything the agent is told and set to; `agents.testWebhook`; `agents.settings.get/update/rotateWebhookSecret`; `agents.knowledge.list/set`; `agents.tools.list/set`; `agents.versions.list/get/restore` — every change players see is a version, any kept one put back; `agents.draft.get/update/discard/publish` — changes players get only once published |
75
+ | `agents` | `list`, `page`, `get`, `create`, `update`, `delete`; `agents.copy` — a new agent from one, or from its draft; `agents.prompt` — everything the agent is told and set to; `agents.testWebhook`; `agents.settings.get/update/rotateWebhookSecret`; `agents.knowledge.list/set`; `agents.tools.list/set`; `agents.versions.list/get/restore` — every change players see is a version, any kept one put back; `agents.draft.get/update/discard/publish` — changes players get only once published |
76
76
  | `tools` | `list`, `page`, `get`, `create` (a webhook's signing secret, shown once), `update`, `delete`, `rotateSecret`, `test`, `calls` |
77
77
  | `knowledge` | `list`, `page`, `get`, `create`, `bulk`, `fromUrl`, `uploadUrl`, `fromFile`, `upload`, `update`, `delete`, `reindex`, `refresh`, `setAgents`, `search`, `categories`, `insights`, `wait` |
78
78
  | `usage` | `get`, `plan` |
@@ -1 +1 @@
1
- export type { AgentCreateRequest, AgentDefaults, AgentDefaultsUpdate, AgentDraft, AgentDraftPublish, AgentDraftUpdate, AgentHandoff, AgentHandoffInfo, AgentInfo, AgentKnowledgeUpdate, AgentPage, AgentPrompt, AgentPromptPart, AgentPromptVoice, AgentQuietHours, AgentReportField, AgentReportFieldInfo, AgentRestored, AgentSettingInForce, AgentSettingsInfo, AgentSettingsUpdate, AgentsFollowing, AgentStt, AgentSttInfo, AgentSummary, AgentToolsUpdate, AgentUpdate, AgentVersion, AgentVersionPage, AgentVersionRestore, AgentVersionSummary, AgentVoice, AgentVoiceInfo, ApiKeySelf, AssetBulkRequest, AssetDetail, AssetMoveRequest, AssetPage, AssetsAffected, AssetSummary, AssetUpdate, AssignedAgent, AudioRequest, BulkEditKnowledgeData, BulkEditKnowledgeError, BulkEditKnowledgeErrors, BulkEditKnowledgeResponse, BulkEditKnowledgeResponses, CancelScheduledMessageData, CancelScheduledMessageError, CancelScheduledMessageErrors, CancelScheduledMessageResponse, CancelScheduledMessageResponses, ClientOptions, CompactionInfo, CompactRequest, CompactSessionData, CompactSessionError, CompactSessionErrors, CompactSessionResponse, CompactSessionResponses, ConfirmAssetUploadData, ConfirmAssetUploadError, ConfirmAssetUploadErrors, ConfirmAssetUploadResponse, ConfirmAssetUploadResponses, ConversationReport, ConversationReportPage, CreateAgentData, CreateAgentError, CreateAgentErrors, CreateAgentResponse, CreateAgentResponses, CreateAssetFolderData, CreateAssetFolderError, CreateAssetFolderErrors, CreateAssetFolderResponse, CreateAssetFolderResponses, CreateAssetUploadUrlData, CreateAssetUploadUrlError, CreateAssetUploadUrlErrors, CreateAssetUploadUrlResponse, CreateAssetUploadUrlResponses, CreateAudioData, CreateAudioError, CreateAudioErrors, CreateAudioResponse, CreateAudioResponses, CreateEndUserData, CreateEndUserError, CreateEndUserErrors, CreateEndUserFactData, CreateEndUserFactError, CreateEndUserFactErrors, CreateEndUserFactResponse, CreateEndUserFactResponses, CreateEndUserMemoryData, CreateEndUserMemoryError, CreateEndUserMemoryErrors, CreateEndUserMemoryResponse, CreateEndUserMemoryResponses, CreateEndUserNoteData, CreateEndUserNoteError, CreateEndUserNoteErrors, CreateEndUserNoteResponse, CreateEndUserNoteResponses, CreateEndUserResponse, CreateEndUserResponses, CreateEphemeralKeyData, CreateEphemeralKeyError, CreateEphemeralKeyErrors, CreateEphemeralKeyResponse, CreateEphemeralKeyResponses, CreateFactData, CreateFactError, CreateFactErrors, CreateFactResponse, CreateFactResponses, CreateImageData, CreateImageError, CreateImageErrors, CreateImageResponse, CreateImageResponses, CreateKnowledgeData, CreateKnowledgeError, CreateKnowledgeErrors, CreateKnowledgeFromFileData, CreateKnowledgeFromFileError, CreateKnowledgeFromFileErrors, CreateKnowledgeFromFileResponse, CreateKnowledgeFromFileResponses, CreateKnowledgeFromUrlData, CreateKnowledgeFromUrlError, CreateKnowledgeFromUrlErrors, CreateKnowledgeFromUrlResponse, CreateKnowledgeFromUrlResponses, CreateKnowledgeResponse, CreateKnowledgeResponses, CreateKnowledgeUploadUrlData, CreateKnowledgeUploadUrlError, CreateKnowledgeUploadUrlErrors, CreateKnowledgeUploadUrlResponse, CreateKnowledgeUploadUrlResponses, CreateScheduledMessageData, CreateScheduledMessageError, CreateScheduledMessageErrors, CreateScheduledMessageResponse, CreateScheduledMessageResponses, CreateSessionData, CreateSessionError, CreateSessionErrors, CreateSessionResponse, CreateSessionResponses, CreateSkyboxData, CreateSkyboxError, CreateSkyboxErrors, CreateSkyboxResponse, CreateSkyboxResponses, CreateToolData, CreateToolError, CreateToolErrors, CreateToolResponse, CreateToolResponses, CreateTranscriptionData, CreateTranscriptionError, CreateTranscriptionErrors, CreateTranscriptionResponse, CreateTranscriptionResponses, CreateVideoData, CreateVideoError, CreateVideoErrors, CreateVideoResponse, CreateVideoResponses, CreateVoiceData, CreateVoiceError, CreateVoiceErrors, CreateVoiceResponse, CreateVoiceResponses, CreateVoiceUploadUrlData, CreateVoiceUploadUrlError, CreateVoiceUploadUrlErrors, CreateVoiceUploadUrlResponse, CreateVoiceUploadUrlResponses, DeleteAgentData, DeleteAgentError, DeleteAgentErrors, DeleteAgentResponse, DeleteAgentResponses, DeleteAllEndUserMemoriesData, DeleteAllEndUserMemoriesError, DeleteAllEndUserMemoriesErrors, DeleteAllEndUserMemoriesResponse, DeleteAllEndUserMemoriesResponses, DeleteAllFactsData, DeleteAllFactsError, DeleteAllFactsErrors, DeleteAllFactsResponse, DeleteAllFactsResponses, DeleteAllMemoriesData, DeleteAllMemoriesError, DeleteAllMemoriesErrors, DeleteAllMemoriesResponse, DeleteAllMemoriesResponses, DeleteAssetData, DeleteAssetError, DeleteAssetErrors, DeleteAssetFolderData, DeleteAssetFolderError, DeleteAssetFolderErrors, DeleteAssetFolderResponse, DeleteAssetFolderResponses, DeleteAssetResponse, DeleteAssetResponses, DeleteAssetsData, DeleteAssetsError, DeleteAssetsErrors, DeleteAssetsResponse, DeleteAssetsResponses, DeleteEndUserData, DeleteEndUserError, DeleteEndUserErrors, DeleteEndUserFactData, DeleteEndUserFactError, DeleteEndUserFactErrors, DeleteEndUserFactResponse, DeleteEndUserFactResponses, DeleteEndUserMemoryData, DeleteEndUserMemoryError, DeleteEndUserMemoryErrors, DeleteEndUserMemoryResponse, DeleteEndUserMemoryResponses, DeleteEndUserResponse, DeleteEndUserResponses, DeleteEndUserStateData, DeleteEndUserStateError, DeleteEndUserStateErrors, DeleteEndUserStateResponse, DeleteEndUserStateResponses, DeleteFactData, DeleteFactError, DeleteFactErrors, DeleteFactResponse, DeleteFactResponses, DeleteKnowledgeData, DeleteKnowledgeError, DeleteKnowledgeErrors, DeleteKnowledgeResponse, DeleteKnowledgeResponses, DeleteMemoryData, DeleteMemoryError, DeleteMemoryErrors, DeleteMemoryResponse, DeleteMemoryResponses, DeleteSessionData, DeleteSessionError, DeleteSessionErrors, DeleteSessionResponse, DeleteSessionResponses, DeleteToolData, DeleteToolError, DeleteToolErrors, DeleteToolResponse, DeleteToolResponses, DeleteVoiceData, DeleteVoiceError, DeleteVoiceErrors, DeleteVoiceResponse, DeleteVoiceResponses, DesignVoiceData, DesignVoiceError, DesignVoiceErrors, DesignVoiceResponse, DesignVoiceResponses, DiscardAgentDraftData, DiscardAgentDraftError, DiscardAgentDraftErrors, DiscardAgentDraftResponse, DiscardAgentDraftResponses, DraftLayoutData, DraftLayoutError, DraftLayoutErrors, DraftLayoutResponse, DraftLayoutResponses, EndUserCreateRequest, EndUserDeleted, EndUserInfo, EndUserPage, EndUserPersonalization, EndUserPersonalizationUpdate, EndUserState, EndUserStatePage, EndUserStateUpdate, EndUserUpdateRequest, EphemeralKeyCreateRequest, EphemeralKeyCreateResponse, EphemeralKeyInfo, EphemeralKeyLimits, EphemeralKeyOverrides, EphemeralKeyPage, EphemeralTokenSelf, ErrorCode, ErrorInfo, ErrorResponse, ExtractSessionFactsData, ExtractSessionFactsError, ExtractSessionFactsErrors, ExtractSessionFactsResponse, ExtractSessionFactsResponses, FactCreateRequest, FactInfo, FactPage, FactsDeleted, FactsReadInfo, FactUpdateRequest, FindLayoutElementsData, FindLayoutElementsError, FindLayoutElementsErrors, FindLayoutElementsResponse, FindLayoutElementsResponses, FolderCreate, FolderDeleted, FolderDetail, FolderPage, FolderSummary, FolderUpdate, GenerateFromTemplateData, GenerateFromTemplateError, GenerateFromTemplateErrors, GenerateFromTemplateResponse, GenerateFromTemplateResponses, GenerationAudio, GenerationImage, GenerationInfo, GenerationPage, GenerationSkybox, GenerationTranscript, GenerationVideo, GetAgentData, GetAgentDraftData, GetAgentDraftError, GetAgentDraftErrors, GetAgentDraftResponse, GetAgentDraftResponses, GetAgentError, GetAgentErrors, GetAgentPromptData, GetAgentPromptError, GetAgentPromptErrors, GetAgentPromptResponse, GetAgentPromptResponses, GetAgentResponse, GetAgentResponses, GetAgentSettingsData, GetAgentSettingsError, GetAgentSettingsErrors, GetAgentSettingsResponse, GetAgentSettingsResponses, GetAgentVersionData, GetAgentVersionError, GetAgentVersionErrors, GetAgentVersionResponse, GetAgentVersionResponses, GetAssetData, GetAssetError, GetAssetErrors, GetAssetFolderData, GetAssetFolderError, GetAssetFolderErrors, GetAssetFolderResponse, GetAssetFolderResponses, GetAssetResponse, GetAssetResponses, GetAudioData, GetAudioError, GetAudioErrors, GetAudioResponse, GetAudioResponses, GetEndUserData, GetEndUserError, GetEndUserErrors, GetEndUserMemoryData, GetEndUserMemoryError, GetEndUserMemoryErrors, GetEndUserMemoryResponse, GetEndUserMemoryResponses, GetEndUserPersonalizationData, GetEndUserPersonalizationError, GetEndUserPersonalizationErrors, GetEndUserPersonalizationResponse, GetEndUserPersonalizationResponses, GetEndUserReportData, GetEndUserReportError, GetEndUserReportErrors, GetEndUserReportResponse, GetEndUserReportResponses, GetEndUserResponse, GetEndUserResponses, GetEndUserStateData, GetEndUserStateError, GetEndUserStateErrors, GetEndUserStateResponse, GetEndUserStateResponses, GetEphemeralKeyData, GetEphemeralKeyError, GetEphemeralKeyErrors, GetEphemeralKeyLimitsData, GetEphemeralKeyLimitsError, GetEphemeralKeyLimitsErrors, GetEphemeralKeyLimitsResponse, GetEphemeralKeyLimitsResponses, GetEphemeralKeyResponse, GetEphemeralKeyResponses, GetGenerationData, GetGenerationError, GetGenerationErrors, GetGenerationResponse, GetGenerationResponses, GetHealthData, GetHealthResponse, GetHealthResponses, GetImageData, GetImageError, GetImageErrors, GetImageResponse, GetImageResponses, GetKnowledgeData, GetKnowledgeError, GetKnowledgeErrors, GetKnowledgeInsightsData, GetKnowledgeInsightsError, GetKnowledgeInsightsErrors, GetKnowledgeInsightsResponse, GetKnowledgeInsightsResponses, GetKnowledgeResponse, GetKnowledgeResponses, GetMemoryData, GetMemoryError, GetMemoryErrors, GetMemoryResponse, GetMemoryResponses, GetPlanData, GetPlanError, GetPlanErrors, GetPlanResponse, GetPlanResponses, GetPlatformLimitsData, GetPlatformLimitsResponse, GetPlatformLimitsResponses, GetScheduledMessageData, GetScheduledMessageError, GetScheduledMessageErrors, GetScheduledMessageResponse, GetScheduledMessageResponses, GetSessionData, GetSessionError, GetSessionErrors, GetSessionResponse, GetSessionResponses, GetSkyboxData, GetSkyboxError, GetSkyboxErrors, GetSkyboxResponse, GetSkyboxResponses, GetTemplateData, GetTemplateError, GetTemplateErrors, GetTemplateFileData, GetTemplateFileError, GetTemplateFileErrors, GetTemplateFileResponses, GetTemplateResponse, GetTemplateResponses, GetTokenData, GetTokenError, GetTokenErrors, GetTokenResponse, GetTokenResponses, GetToolData, GetToolError, GetToolErrors, GetToolResponse, GetToolResponses, GetTranscriptionData, GetTranscriptionError, GetTranscriptionErrors, GetTranscriptionResponse, GetTranscriptionResponses, GetUsageData, GetUsageError, GetUsageErrors, GetUsageResponse, GetUsageResponses, GetVideoData, GetVideoError, GetVideoErrors, GetVideoResponse, GetVideoResponses, GetVoiceData, GetVoiceError, GetVoiceErrors, GetVoiceResponse, GetVoiceResponses, HealthResponse, ImageRequest, KnowledgeAgentsUpdate, KnowledgeAssigned, KnowledgeBulk, KnowledgeBulkResult, KnowledgeCategoryPage, KnowledgeCitation, KnowledgeCreate, KnowledgeEntryUsage, KnowledgeFileCreate, KnowledgeInfo, KnowledgeInsights, KnowledgeLookupInfo, KnowledgePage, KnowledgeSearchHit, KnowledgeSearchRequest, KnowledgeSearchResult, KnowledgeUpdate, KnowledgeUploadRequest, KnowledgeUploadTicket, KnowledgeUrlCreate, LayoutDraft, LayoutDraftRequest, LayoutElement, LayoutElementInfo, LayoutFindRequest, LayoutFound, LayoutSourceInfo, ListAgentKnowledgeData, ListAgentKnowledgeError, ListAgentKnowledgeErrors, ListAgentKnowledgeResponse, ListAgentKnowledgeResponses, ListAgentsData, ListAgentsError, ListAgentsErrors, ListAgentsResponse, ListAgentsResponses, ListAgentToolsData, ListAgentToolsError, ListAgentToolsErrors, ListAgentToolsResponse, ListAgentToolsResponses, ListAgentVersionsData, ListAgentVersionsError, ListAgentVersionsErrors, ListAgentVersionsResponse, ListAgentVersionsResponses, ListAssetFoldersData, ListAssetFoldersError, ListAssetFoldersErrors, ListAssetFoldersResponse, ListAssetFoldersResponses, ListAssetsData, ListAssetsError, ListAssetsErrors, ListAssetsResponse, ListAssetsResponses, ListEndUserFactsData, ListEndUserFactsError, ListEndUserFactsErrors, ListEndUserFactsResponse, ListEndUserFactsResponses, ListEndUserMemoriesData, ListEndUserMemoriesError, ListEndUserMemoriesErrors, ListEndUserMemoriesResponse, ListEndUserMemoriesResponses, ListEndUserReportsData, ListEndUserReportsError, ListEndUserReportsErrors, ListEndUserReportsResponse, ListEndUserReportsResponses, ListEndUsersData, ListEndUsersError, ListEndUsersErrors, ListEndUsersResponse, ListEndUsersResponses, ListEndUserStatesData, ListEndUserStatesError, ListEndUserStatesErrors, ListEndUserStatesResponse, ListEndUserStatesResponses, ListEphemeralKeysData, ListEphemeralKeysError, ListEphemeralKeysErrors, ListEphemeralKeysResponse, ListEphemeralKeysResponses, ListFactsData, ListFactsError, ListFactsErrors, ListFactsResponse, ListFactsResponses, ListGenerationsData, ListGenerationsError, ListGenerationsErrors, ListGenerationsResponse, ListGenerationsResponses, ListKnowledgeCategoriesData, ListKnowledgeCategoriesError, ListKnowledgeCategoriesErrors, ListKnowledgeCategoriesResponse, ListKnowledgeCategoriesResponses, ListKnowledgeData, ListKnowledgeError, ListKnowledgeErrors, ListKnowledgeResponse, ListKnowledgeResponses, ListMemoriesData, ListMemoriesError, ListMemoriesErrors, ListMemoriesResponse, ListMemoriesResponses, ListRelationsData, ListRelationsError, ListRelationsErrors, ListRelationsResponse, ListRelationsResponses, ListScheduledMessagesData, ListScheduledMessagesError, ListScheduledMessagesErrors, ListScheduledMessagesResponse, ListScheduledMessagesResponses, ListSessionsData, ListSessionsError, ListSessionsErrors, ListSessionsResponse, ListSessionsResponses, ListSkyboxStylesData, ListSkyboxStylesError, ListSkyboxStylesErrors, ListSkyboxStylesResponse, ListSkyboxStylesResponses, ListTemplatesData, ListTemplatesError, ListTemplatesErrors, ListTemplatesResponse, ListTemplatesResponses, ListToolCallsData, ListToolCallsError, ListToolCallsErrors, ListToolCallsResponse, ListToolCallsResponses, ListToolsData, ListToolsError, ListToolsErrors, ListToolsResponse, ListToolsResponses, ListVoicesData, ListVoicesError, ListVoicesErrors, ListVoicesResponse, ListVoicesResponses, MemoriesDeleted, MemoriesWrittenInfo, MemoryCitation, MemoryCreateRequest, MemoryInfo, MemoryPage, MemoryUpdateRequest, MessageContext, MessageInfo, MessageKnowledge, MessageMemories, MessageNote, MessagePage, MessageSource, MessageToolCall, MoveAssetsData, MoveAssetsError, MoveAssetsErrors, MoveAssetsResponse, MoveAssetsResponses, NoteCreateRequest, NoteTaken, OrgPlan, PlatformLimit, PlatformLimitPage, PostSessionToolResultData, PostSessionToolResultError, PostSessionToolResultErrors, PostSessionToolResultResponse, PostSessionToolResultResponses, PostToolResultData, PostToolResultError, PostToolResultErrors, PostToolResultResponse, PostToolResultResponses, ProviderVoiceSettings, ProviderVoiceSettingsInfo, PublishAgentDraftData, PublishAgentDraftError, PublishAgentDraftErrors, PublishAgentDraftResponse, PublishAgentDraftResponses, Reference, ReferenceInfo, RefreshKnowledgeData, RefreshKnowledgeError, RefreshKnowledgeErrors, RefreshKnowledgeResponse, RefreshKnowledgeResponses, ReindexKnowledgeData, ReindexKnowledgeError, ReindexKnowledgeErrors, ReindexKnowledgeResponse, ReindexKnowledgeResponses, RelationInfo, RelationPage, ReportAgentVersion, ReportDelivery, ReportLine, ResampleVoiceData, ResampleVoiceError, ResampleVoiceErrors, ResampleVoiceResponse, ResampleVoiceResponses, RestoreAgentVersionData, RestoreAgentVersionError, RestoreAgentVersionErrors, RestoreAgentVersionResponse, RestoreAgentVersionResponses, RevokeEphemeralKeyData, RevokeEphemeralKeyError, RevokeEphemeralKeyErrors, RevokeEphemeralKeyResponse, RevokeEphemeralKeyResponses, RotateToolSecretData, RotateToolSecretError, RotateToolSecretErrors, RotateToolSecretResponse, RotateToolSecretResponses, RotateWebhookSecretData, RotateWebhookSecretError, RotateWebhookSecretErrors, RotateWebhookSecretResponse, RotateWebhookSecretResponses, SafetyInfo, SaveDesignedVoiceData, SaveDesignedVoiceError, SaveDesignedVoiceErrors, SaveDesignedVoiceResponse, SaveDesignedVoiceResponses, ScheduledMessage, ScheduledMessageCreateRequest, ScheduledMessageDelivery, ScheduledMessagePage, SearchKnowledgeData, SearchKnowledgeError, SearchKnowledgeErrors, SearchKnowledgeResponse, SearchKnowledgeResponses, SessionCreateRequest, SessionDetail, SessionInfo, SessionPage, SetAgentKnowledgeData, SetAgentKnowledgeError, SetAgentKnowledgeErrors, SetAgentKnowledgeResponse, SetAgentKnowledgeResponses, SetAgentToolsData, SetAgentToolsError, SetAgentToolsErrors, SetAgentToolsResponse, SetAgentToolsResponses, SetEndUserStateData, SetEndUserStateError, SetEndUserStateErrors, SetEndUserStateResponse, SetEndUserStateResponses, SetKnowledgeAgentsData, SetKnowledgeAgentsError, SetKnowledgeAgentsErrors, SetKnowledgeAgentsResponse, SetKnowledgeAgentsResponses, SkyboxFile, SkyboxRequest, SkyboxStyle, SkyboxStylePage, SpeechProvider, StreamDone, StreamError, StreamSegment, StreamTranscript, SynthesizeSpeechData, SynthesizeSpeechError, SynthesizeSpeechErrors, SynthesizeSpeechResponse, SynthesizeSpeechResponses, TemplateGenerateRequest, TemplateInfo, TemplateInput, TemplatePage, TestAgentWebhookData, TestAgentWebhookError, TestAgentWebhookErrors, TestAgentWebhookResponse, TestAgentWebhookResponses, TestToolData, TestToolError, TestToolErrors, TestToolResponse, TestToolResponses, TokenSelf, ToolCall, ToolCallPage, ToolCreate, ToolInfo, ToolPage, ToolResultRequest, ToolResultTaken, ToolsAssigned, ToolTestRequest, ToolTestResult, ToolUpdate, ToolWithSecret, TranscribeAssetRequest, TranscribeData, TranscribeError, TranscribeErrors, TranscribeResponse, TranscribeResponses, Transcription, TranscriptionStreamLine, TranscriptWord, TtsOptions, TtsRequest, UnansweredQuestion, UpdateAgentData, UpdateAgentDraftData, UpdateAgentDraftError, UpdateAgentDraftErrors, UpdateAgentDraftResponse, UpdateAgentDraftResponses, UpdateAgentError, UpdateAgentErrors, UpdateAgentResponse, UpdateAgentResponses, UpdateAgentSettingsData, UpdateAgentSettingsError, UpdateAgentSettingsErrors, UpdateAgentSettingsResponse, UpdateAgentSettingsResponses, UpdateAssetData, UpdateAssetError, UpdateAssetErrors, UpdateAssetFolderData, UpdateAssetFolderError, UpdateAssetFolderErrors, UpdateAssetFolderResponse, UpdateAssetFolderResponses, UpdateAssetResponse, UpdateAssetResponses, UpdateEndUserData, UpdateEndUserError, UpdateEndUserErrors, UpdateEndUserFactData, UpdateEndUserFactError, UpdateEndUserFactErrors, UpdateEndUserFactResponse, UpdateEndUserFactResponses, UpdateEndUserMemoryData, UpdateEndUserMemoryError, UpdateEndUserMemoryErrors, UpdateEndUserMemoryResponse, UpdateEndUserMemoryResponses, UpdateEndUserPersonalizationData, UpdateEndUserPersonalizationError, UpdateEndUserPersonalizationErrors, UpdateEndUserPersonalizationResponse, UpdateEndUserPersonalizationResponses, UpdateEndUserResponse, UpdateEndUserResponses, UpdateFactData, UpdateFactError, UpdateFactErrors, UpdateFactResponse, UpdateFactResponses, UpdateKnowledgeData, UpdateKnowledgeError, UpdateKnowledgeErrors, UpdateKnowledgeResponse, UpdateKnowledgeResponses, UpdateToolData, UpdateToolError, UpdateToolErrors, UpdateToolResponse, UpdateToolResponses, UpdateVoiceData, UpdateVoiceError, UpdateVoiceErrors, UpdateVoiceResponse, UpdateVoiceResponses, UploadConfirm, UploadTicket, UploadTicketRequest, UsageByKey, UsageDay, UsageResponse, UsageSummary, ValidationIssue, Variables, VariantInfo, VideoRequest, VoiceDesignPreview, VoiceDesignRequest, VoiceDesignResult, VoiceDesignSaveRequest, VoiceDetail, VoiceInfo, VoiceInfoPage, VoiceKind, VoiceSample, VoiceSource, VoiceStatus, VoiceUpdate, VoiceUpload, VoiceUploadRequest, VoiceUploadTicket, WebhookSecret, WebhookTestResult, WriteSessionMemoriesData, WriteSessionMemoriesError, WriteSessionMemoriesErrors, WriteSessionMemoriesResponse, WriteSessionMemoriesResponses } from './types.gen.js';
1
+ export type { AgentCopyRequest, AgentCreateRequest, AgentDefaults, AgentDefaultsUpdate, AgentDraft, AgentDraftPublish, AgentDraftUpdate, AgentHandoff, AgentHandoffInfo, AgentInfo, AgentKnowledgeUpdate, AgentPage, AgentPrompt, AgentPromptPart, AgentPromptVoice, AgentQuietHours, AgentRelationStart, AgentReportField, AgentReportFieldInfo, AgentRestored, AgentSettingInForce, AgentSettingsInfo, AgentSettingsUpdate, AgentsFollowing, AgentStt, AgentSttInfo, AgentSummary, AgentToolsUpdate, AgentUpdate, AgentVersion, AgentVersionPage, AgentVersionRestore, AgentVersionSummary, AgentVoice, AgentVoiceInfo, ApiKeySelf, AssetBulkRequest, AssetDetail, AssetMoveRequest, AssetPage, AssetsAffected, AssetSummary, AssetUpdate, AssignedAgent, AudioRequest, BulkEditKnowledgeData, BulkEditKnowledgeError, BulkEditKnowledgeErrors, BulkEditKnowledgeResponse, BulkEditKnowledgeResponses, CancelScheduledMessageData, CancelScheduledMessageError, CancelScheduledMessageErrors, CancelScheduledMessageResponse, CancelScheduledMessageResponses, ClientOptions, CompactionInfo, CompactRequest, CompactSessionData, CompactSessionError, CompactSessionErrors, CompactSessionResponse, CompactSessionResponses, ConfirmAssetUploadData, ConfirmAssetUploadError, ConfirmAssetUploadErrors, ConfirmAssetUploadResponse, ConfirmAssetUploadResponses, ConversationReport, ConversationReportPage, CopyAgentData, CopyAgentError, CopyAgentErrors, CopyAgentResponse, CopyAgentResponses, CreateAgentData, CreateAgentError, CreateAgentErrors, CreateAgentResponse, CreateAgentResponses, CreateAssetFolderData, CreateAssetFolderError, CreateAssetFolderErrors, CreateAssetFolderResponse, CreateAssetFolderResponses, CreateAssetUploadUrlData, CreateAssetUploadUrlError, CreateAssetUploadUrlErrors, CreateAssetUploadUrlResponse, CreateAssetUploadUrlResponses, CreateAudioData, CreateAudioError, CreateAudioErrors, CreateAudioResponse, CreateAudioResponses, CreateEndUserData, CreateEndUserError, CreateEndUserErrors, CreateEndUserFactData, CreateEndUserFactError, CreateEndUserFactErrors, CreateEndUserFactResponse, CreateEndUserFactResponses, CreateEndUserMemoryData, CreateEndUserMemoryError, CreateEndUserMemoryErrors, CreateEndUserMemoryResponse, CreateEndUserMemoryResponses, CreateEndUserNoteData, CreateEndUserNoteError, CreateEndUserNoteErrors, CreateEndUserNoteResponse, CreateEndUserNoteResponses, CreateEndUserResponse, CreateEndUserResponses, CreateEphemeralKeyData, CreateEphemeralKeyError, CreateEphemeralKeyErrors, CreateEphemeralKeyResponse, CreateEphemeralKeyResponses, CreateFactData, CreateFactError, CreateFactErrors, CreateFactResponse, CreateFactResponses, CreateImageData, CreateImageError, CreateImageErrors, CreateImageResponse, CreateImageResponses, CreateKnowledgeData, CreateKnowledgeError, CreateKnowledgeErrors, CreateKnowledgeFromFileData, CreateKnowledgeFromFileError, CreateKnowledgeFromFileErrors, CreateKnowledgeFromFileResponse, CreateKnowledgeFromFileResponses, CreateKnowledgeFromUrlData, CreateKnowledgeFromUrlError, CreateKnowledgeFromUrlErrors, CreateKnowledgeFromUrlResponse, CreateKnowledgeFromUrlResponses, CreateKnowledgeResponse, CreateKnowledgeResponses, CreateKnowledgeUploadUrlData, CreateKnowledgeUploadUrlError, CreateKnowledgeUploadUrlErrors, CreateKnowledgeUploadUrlResponse, CreateKnowledgeUploadUrlResponses, CreateScheduledMessageData, CreateScheduledMessageError, CreateScheduledMessageErrors, CreateScheduledMessageResponse, CreateScheduledMessageResponses, CreateSessionData, CreateSessionError, CreateSessionErrors, CreateSessionResponse, CreateSessionResponses, CreateSkyboxData, CreateSkyboxError, CreateSkyboxErrors, CreateSkyboxResponse, CreateSkyboxResponses, CreateToolData, CreateToolError, CreateToolErrors, CreateToolResponse, CreateToolResponses, CreateTranscriptionData, CreateTranscriptionError, CreateTranscriptionErrors, CreateTranscriptionResponse, CreateTranscriptionResponses, CreateVideoData, CreateVideoError, CreateVideoErrors, CreateVideoResponse, CreateVideoResponses, CreateVoiceData, CreateVoiceError, CreateVoiceErrors, CreateVoiceResponse, CreateVoiceResponses, CreateVoiceUploadUrlData, CreateVoiceUploadUrlError, CreateVoiceUploadUrlErrors, CreateVoiceUploadUrlResponse, CreateVoiceUploadUrlResponses, DeleteAgentData, DeleteAgentError, DeleteAgentErrors, DeleteAgentResponse, DeleteAgentResponses, DeleteAllEndUserMemoriesData, DeleteAllEndUserMemoriesError, DeleteAllEndUserMemoriesErrors, DeleteAllEndUserMemoriesResponse, DeleteAllEndUserMemoriesResponses, DeleteAllFactsData, DeleteAllFactsError, DeleteAllFactsErrors, DeleteAllFactsResponse, DeleteAllFactsResponses, DeleteAllMemoriesData, DeleteAllMemoriesError, DeleteAllMemoriesErrors, DeleteAllMemoriesResponse, DeleteAllMemoriesResponses, DeleteAssetData, DeleteAssetError, DeleteAssetErrors, DeleteAssetFolderData, DeleteAssetFolderError, DeleteAssetFolderErrors, DeleteAssetFolderResponse, DeleteAssetFolderResponses, DeleteAssetResponse, DeleteAssetResponses, DeleteAssetsData, DeleteAssetsError, DeleteAssetsErrors, DeleteAssetsResponse, DeleteAssetsResponses, DeleteEndUserData, DeleteEndUserError, DeleteEndUserErrors, DeleteEndUserFactData, DeleteEndUserFactError, DeleteEndUserFactErrors, DeleteEndUserFactResponse, DeleteEndUserFactResponses, DeleteEndUserMemoryData, DeleteEndUserMemoryError, DeleteEndUserMemoryErrors, DeleteEndUserMemoryResponse, DeleteEndUserMemoryResponses, DeleteEndUserResponse, DeleteEndUserResponses, DeleteEndUserStateData, DeleteEndUserStateError, DeleteEndUserStateErrors, DeleteEndUserStateResponse, DeleteEndUserStateResponses, DeleteFactData, DeleteFactError, DeleteFactErrors, DeleteFactResponse, DeleteFactResponses, DeleteKnowledgeData, DeleteKnowledgeError, DeleteKnowledgeErrors, DeleteKnowledgeResponse, DeleteKnowledgeResponses, DeleteMemoryData, DeleteMemoryError, DeleteMemoryErrors, DeleteMemoryResponse, DeleteMemoryResponses, DeleteSessionData, DeleteSessionError, DeleteSessionErrors, DeleteSessionResponse, DeleteSessionResponses, DeleteToolData, DeleteToolError, DeleteToolErrors, DeleteToolResponse, DeleteToolResponses, DeleteVoiceData, DeleteVoiceError, DeleteVoiceErrors, DeleteVoiceResponse, DeleteVoiceResponses, DesignVoiceData, DesignVoiceError, DesignVoiceErrors, DesignVoiceResponse, DesignVoiceResponses, DiscardAgentDraftData, DiscardAgentDraftError, DiscardAgentDraftErrors, DiscardAgentDraftResponse, DiscardAgentDraftResponses, DraftLayoutData, DraftLayoutError, DraftLayoutErrors, DraftLayoutResponse, DraftLayoutResponses, EndUserCreateRequest, EndUserDeleted, EndUserInfo, EndUserPage, EndUserPersonalization, EndUserPersonalizationUpdate, EndUserState, EndUserStatePage, EndUserStateUpdate, EndUserUpdateRequest, EphemeralKeyCreateRequest, EphemeralKeyCreateResponse, EphemeralKeyInfo, EphemeralKeyLimits, EphemeralKeyOverrides, EphemeralKeyPage, EphemeralTokenSelf, ErrorCode, ErrorInfo, ErrorResponse, ExtractSessionFactsData, ExtractSessionFactsError, ExtractSessionFactsErrors, ExtractSessionFactsResponse, ExtractSessionFactsResponses, FactCreateRequest, FactInfo, FactPage, FactsDeleted, FactsReadInfo, FactUpdateRequest, FindLayoutElementsData, FindLayoutElementsError, FindLayoutElementsErrors, FindLayoutElementsResponse, FindLayoutElementsResponses, FolderCreate, FolderDeleted, FolderDetail, FolderPage, FolderSummary, FolderUpdate, GenerateFromTemplateData, GenerateFromTemplateError, GenerateFromTemplateErrors, GenerateFromTemplateResponse, GenerateFromTemplateResponses, GenerationAudio, GenerationImage, GenerationInfo, GenerationPage, GenerationSkybox, GenerationTranscript, GenerationVideo, GetAgentData, GetAgentDraftData, GetAgentDraftError, GetAgentDraftErrors, GetAgentDraftResponse, GetAgentDraftResponses, GetAgentError, GetAgentErrors, GetAgentPromptData, GetAgentPromptError, GetAgentPromptErrors, GetAgentPromptResponse, GetAgentPromptResponses, GetAgentResponse, GetAgentResponses, GetAgentSettingsData, GetAgentSettingsError, GetAgentSettingsErrors, GetAgentSettingsResponse, GetAgentSettingsResponses, GetAgentVersionData, GetAgentVersionError, GetAgentVersionErrors, GetAgentVersionResponse, GetAgentVersionResponses, GetAssetData, GetAssetError, GetAssetErrors, GetAssetFolderData, GetAssetFolderError, GetAssetFolderErrors, GetAssetFolderResponse, GetAssetFolderResponses, GetAssetResponse, GetAssetResponses, GetAudioData, GetAudioError, GetAudioErrors, GetAudioResponse, GetAudioResponses, GetEndUserData, GetEndUserError, GetEndUserErrors, GetEndUserMemoryData, GetEndUserMemoryError, GetEndUserMemoryErrors, GetEndUserMemoryResponse, GetEndUserMemoryResponses, GetEndUserPersonalizationData, GetEndUserPersonalizationError, GetEndUserPersonalizationErrors, GetEndUserPersonalizationResponse, GetEndUserPersonalizationResponses, GetEndUserReportData, GetEndUserReportError, GetEndUserReportErrors, GetEndUserReportResponse, GetEndUserReportResponses, GetEndUserResponse, GetEndUserResponses, GetEndUserStateData, GetEndUserStateError, GetEndUserStateErrors, GetEndUserStateResponse, GetEndUserStateResponses, GetEphemeralKeyData, GetEphemeralKeyError, GetEphemeralKeyErrors, GetEphemeralKeyLimitsData, GetEphemeralKeyLimitsError, GetEphemeralKeyLimitsErrors, GetEphemeralKeyLimitsResponse, GetEphemeralKeyLimitsResponses, GetEphemeralKeyResponse, GetEphemeralKeyResponses, GetGenerationData, GetGenerationError, GetGenerationErrors, GetGenerationResponse, GetGenerationResponses, GetHealthData, GetHealthResponse, GetHealthResponses, GetImageData, GetImageError, GetImageErrors, GetImageResponse, GetImageResponses, GetKnowledgeData, GetKnowledgeError, GetKnowledgeErrors, GetKnowledgeInsightsData, GetKnowledgeInsightsError, GetKnowledgeInsightsErrors, GetKnowledgeInsightsResponse, GetKnowledgeInsightsResponses, GetKnowledgeResponse, GetKnowledgeResponses, GetMemoryData, GetMemoryError, GetMemoryErrors, GetMemoryResponse, GetMemoryResponses, GetPlanData, GetPlanError, GetPlanErrors, GetPlanResponse, GetPlanResponses, GetPlatformLimitsData, GetPlatformLimitsResponse, GetPlatformLimitsResponses, GetScheduledMessageData, GetScheduledMessageError, GetScheduledMessageErrors, GetScheduledMessageResponse, GetScheduledMessageResponses, GetSessionData, GetSessionError, GetSessionErrors, GetSessionResponse, GetSessionResponses, GetSkyboxData, GetSkyboxError, GetSkyboxErrors, GetSkyboxResponse, GetSkyboxResponses, GetTemplateData, GetTemplateError, GetTemplateErrors, GetTemplateFileData, GetTemplateFileError, GetTemplateFileErrors, GetTemplateFileResponses, GetTemplateResponse, GetTemplateResponses, GetTokenData, GetTokenError, GetTokenErrors, GetTokenResponse, GetTokenResponses, GetToolData, GetToolError, GetToolErrors, GetToolResponse, GetToolResponses, GetTranscriptionData, GetTranscriptionError, GetTranscriptionErrors, GetTranscriptionResponse, GetTranscriptionResponses, GetUsageData, GetUsageError, GetUsageErrors, GetUsageResponse, GetUsageResponses, GetVideoData, GetVideoError, GetVideoErrors, GetVideoResponse, GetVideoResponses, GetVoiceData, GetVoiceError, GetVoiceErrors, GetVoiceResponse, GetVoiceResponses, HealthResponse, ImageRequest, KnowledgeAgentsUpdate, KnowledgeAssigned, KnowledgeBulk, KnowledgeBulkResult, KnowledgeCategoryPage, KnowledgeCitation, KnowledgeCreate, KnowledgeEntryUsage, KnowledgeFileCreate, KnowledgeInfo, KnowledgeInsights, KnowledgeLookupInfo, KnowledgePage, KnowledgeSearchHit, KnowledgeSearchRequest, KnowledgeSearchResult, KnowledgeUpdate, KnowledgeUploadRequest, KnowledgeUploadTicket, KnowledgeUrlCreate, LayoutDraft, LayoutDraftRequest, LayoutElement, LayoutElementInfo, LayoutFindRequest, LayoutFound, LayoutSourceInfo, ListAgentKnowledgeData, ListAgentKnowledgeError, ListAgentKnowledgeErrors, ListAgentKnowledgeResponse, ListAgentKnowledgeResponses, ListAgentsData, ListAgentsError, ListAgentsErrors, ListAgentsResponse, ListAgentsResponses, ListAgentToolsData, ListAgentToolsError, ListAgentToolsErrors, ListAgentToolsResponse, ListAgentToolsResponses, ListAgentVersionsData, ListAgentVersionsError, ListAgentVersionsErrors, ListAgentVersionsResponse, ListAgentVersionsResponses, ListAssetFoldersData, ListAssetFoldersError, ListAssetFoldersErrors, ListAssetFoldersResponse, ListAssetFoldersResponses, ListAssetsData, ListAssetsError, ListAssetsErrors, ListAssetsResponse, ListAssetsResponses, ListEndUserFactsData, ListEndUserFactsError, ListEndUserFactsErrors, ListEndUserFactsResponse, ListEndUserFactsResponses, ListEndUserMemoriesData, ListEndUserMemoriesError, ListEndUserMemoriesErrors, ListEndUserMemoriesResponse, ListEndUserMemoriesResponses, ListEndUserRelationsData, ListEndUserRelationsError, ListEndUserRelationsErrors, ListEndUserRelationsResponse, ListEndUserRelationsResponses, ListEndUserReportsData, ListEndUserReportsError, ListEndUserReportsErrors, ListEndUserReportsResponse, ListEndUserReportsResponses, ListEndUsersData, ListEndUsersError, ListEndUsersErrors, ListEndUsersResponse, ListEndUsersResponses, ListEndUserStatesData, ListEndUserStatesError, ListEndUserStatesErrors, ListEndUserStatesResponse, ListEndUserStatesResponses, ListEphemeralKeysData, ListEphemeralKeysError, ListEphemeralKeysErrors, ListEphemeralKeysResponse, ListEphemeralKeysResponses, ListFactsData, ListFactsError, ListFactsErrors, ListFactsResponse, ListFactsResponses, ListGenerationsData, ListGenerationsError, ListGenerationsErrors, ListGenerationsResponse, ListGenerationsResponses, ListKnowledgeCategoriesData, ListKnowledgeCategoriesError, ListKnowledgeCategoriesErrors, ListKnowledgeCategoriesResponse, ListKnowledgeCategoriesResponses, ListKnowledgeData, ListKnowledgeError, ListKnowledgeErrors, ListKnowledgeResponse, ListKnowledgeResponses, ListMemoriesData, ListMemoriesError, ListMemoriesErrors, ListMemoriesResponse, ListMemoriesResponses, ListRelationsData, ListRelationsError, ListRelationsErrors, ListRelationsResponse, ListRelationsResponses, ListScheduledMessagesData, ListScheduledMessagesError, ListScheduledMessagesErrors, ListScheduledMessagesResponse, ListScheduledMessagesResponses, ListSessionsData, ListSessionsError, ListSessionsErrors, ListSessionsResponse, ListSessionsResponses, ListSkyboxStylesData, ListSkyboxStylesError, ListSkyboxStylesErrors, ListSkyboxStylesResponse, ListSkyboxStylesResponses, ListTemplatesData, ListTemplatesError, ListTemplatesErrors, ListTemplatesResponse, ListTemplatesResponses, ListToolCallsData, ListToolCallsError, ListToolCallsErrors, ListToolCallsResponse, ListToolCallsResponses, ListToolsData, ListToolsError, ListToolsErrors, ListToolsResponse, ListToolsResponses, ListVoicesData, ListVoicesError, ListVoicesErrors, ListVoicesResponse, ListVoicesResponses, MemoriesDeleted, MemoriesWrittenInfo, MemoryCitation, MemoryCreateRequest, MemoryInfo, MemoryPage, MemoryUpdateRequest, MessageContext, MessageInfo, MessageKnowledge, MessageMemories, MessageNote, MessagePage, MessageSource, MessageToolCall, MoveAssetsData, MoveAssetsError, MoveAssetsErrors, MoveAssetsResponse, MoveAssetsResponses, NoteCreateRequest, NoteTaken, OrgPlan, PlatformLimit, PlatformLimitPage, PostSessionToolResultData, PostSessionToolResultError, PostSessionToolResultErrors, PostSessionToolResultResponse, PostSessionToolResultResponses, PostToolResultData, PostToolResultError, PostToolResultErrors, PostToolResultResponse, PostToolResultResponses, ProviderVoiceSettings, ProviderVoiceSettingsInfo, PublishAgentDraftData, PublishAgentDraftError, PublishAgentDraftErrors, PublishAgentDraftResponse, PublishAgentDraftResponses, Reference, ReferenceInfo, RefreshKnowledgeData, RefreshKnowledgeError, RefreshKnowledgeErrors, RefreshKnowledgeResponse, RefreshKnowledgeResponses, ReindexKnowledgeData, ReindexKnowledgeError, ReindexKnowledgeErrors, ReindexKnowledgeResponse, ReindexKnowledgeResponses, RelationInfo, RelationPage, ReportAgentVersion, ReportDelivery, ReportLine, ResampleVoiceData, ResampleVoiceError, ResampleVoiceErrors, ResampleVoiceResponse, ResampleVoiceResponses, ResetEndUserRelationData, ResetEndUserRelationError, ResetEndUserRelationErrors, ResetEndUserRelationResponse, ResetEndUserRelationResponses, ResetRelationData, ResetRelationError, ResetRelationErrors, ResetRelationResponse, ResetRelationResponses, RestoreAgentVersionData, RestoreAgentVersionError, RestoreAgentVersionErrors, RestoreAgentVersionResponse, RestoreAgentVersionResponses, RevokeEphemeralKeyData, RevokeEphemeralKeyError, RevokeEphemeralKeyErrors, RevokeEphemeralKeyResponse, RevokeEphemeralKeyResponses, RotateToolSecretData, RotateToolSecretError, RotateToolSecretErrors, RotateToolSecretResponse, RotateToolSecretResponses, RotateWebhookSecretData, RotateWebhookSecretError, RotateWebhookSecretErrors, RotateWebhookSecretResponse, RotateWebhookSecretResponses, SafetyInfo, SaveDesignedVoiceData, SaveDesignedVoiceError, SaveDesignedVoiceErrors, SaveDesignedVoiceResponse, SaveDesignedVoiceResponses, ScheduledMessage, ScheduledMessageCreateRequest, ScheduledMessageDelivery, ScheduledMessagePage, SearchKnowledgeData, SearchKnowledgeError, SearchKnowledgeErrors, SearchKnowledgeResponse, SearchKnowledgeResponses, SessionCreateRequest, SessionDetail, SessionInfo, SessionPage, SetAgentKnowledgeData, SetAgentKnowledgeError, SetAgentKnowledgeErrors, SetAgentKnowledgeResponse, SetAgentKnowledgeResponses, SetAgentToolsData, SetAgentToolsError, SetAgentToolsErrors, SetAgentToolsResponse, SetAgentToolsResponses, SetEndUserStateData, SetEndUserStateError, SetEndUserStateErrors, SetEndUserStateResponse, SetEndUserStateResponses, SetKnowledgeAgentsData, SetKnowledgeAgentsError, SetKnowledgeAgentsErrors, SetKnowledgeAgentsResponse, SetKnowledgeAgentsResponses, SkyboxFile, SkyboxRequest, SkyboxStyle, SkyboxStylePage, SpeechProvider, StreamDone, StreamError, StreamSegment, StreamTranscript, SynthesizeSpeechData, SynthesizeSpeechError, SynthesizeSpeechErrors, SynthesizeSpeechResponse, SynthesizeSpeechResponses, TemplateGenerateRequest, TemplateInfo, TemplateInput, TemplatePage, TestAgentWebhookData, TestAgentWebhookError, TestAgentWebhookErrors, TestAgentWebhookResponse, TestAgentWebhookResponses, TestToolData, TestToolError, TestToolErrors, TestToolResponse, TestToolResponses, TokenSelf, ToolCall, ToolCallPage, ToolCreate, ToolInfo, ToolPage, ToolResultRequest, ToolResultTaken, ToolsAssigned, ToolTestRequest, ToolTestResult, ToolUpdate, ToolWithSecret, TranscribeAssetRequest, TranscribeData, TranscribeError, TranscribeErrors, TranscribeResponse, TranscribeResponses, Transcription, TranscriptionStreamLine, TranscriptWord, TtsOptions, TtsRequest, UnansweredQuestion, UpdateAgentData, UpdateAgentDraftData, UpdateAgentDraftError, UpdateAgentDraftErrors, UpdateAgentDraftResponse, UpdateAgentDraftResponses, UpdateAgentError, UpdateAgentErrors, UpdateAgentResponse, UpdateAgentResponses, UpdateAgentSettingsData, UpdateAgentSettingsError, UpdateAgentSettingsErrors, UpdateAgentSettingsResponse, UpdateAgentSettingsResponses, UpdateAssetData, UpdateAssetError, UpdateAssetErrors, UpdateAssetFolderData, UpdateAssetFolderError, UpdateAssetFolderErrors, UpdateAssetFolderResponse, UpdateAssetFolderResponses, UpdateAssetResponse, UpdateAssetResponses, UpdateEndUserData, UpdateEndUserError, UpdateEndUserErrors, UpdateEndUserFactData, UpdateEndUserFactError, UpdateEndUserFactErrors, UpdateEndUserFactResponse, UpdateEndUserFactResponses, UpdateEndUserMemoryData, UpdateEndUserMemoryError, UpdateEndUserMemoryErrors, UpdateEndUserMemoryResponse, UpdateEndUserMemoryResponses, UpdateEndUserPersonalizationData, UpdateEndUserPersonalizationError, UpdateEndUserPersonalizationErrors, UpdateEndUserPersonalizationResponse, UpdateEndUserPersonalizationResponses, UpdateEndUserResponse, UpdateEndUserResponses, UpdateFactData, UpdateFactError, UpdateFactErrors, UpdateFactResponse, UpdateFactResponses, UpdateKnowledgeData, UpdateKnowledgeError, UpdateKnowledgeErrors, UpdateKnowledgeResponse, UpdateKnowledgeResponses, UpdateToolData, UpdateToolError, UpdateToolErrors, UpdateToolResponse, UpdateToolResponses, UpdateVoiceData, UpdateVoiceError, UpdateVoiceErrors, UpdateVoiceResponse, UpdateVoiceResponses, UploadConfirm, UploadTicket, UploadTicketRequest, UsageByKey, UsageDay, UsageResponse, UsageSummary, ValidationIssue, Variables, VariantInfo, VideoRequest, VoiceDesignPreview, VoiceDesignRequest, VoiceDesignResult, VoiceDesignSaveRequest, VoiceDetail, VoiceInfo, VoiceInfoPage, VoiceKind, VoiceSample, VoiceSource, VoiceStatus, VoiceUpdate, VoiceUpload, VoiceUploadRequest, VoiceUploadTicket, WebhookSecret, WebhookTestResult, WriteSessionMemoriesData, WriteSessionMemoriesError, WriteSessionMemoriesErrors, WriteSessionMemoriesResponse, WriteSessionMemoriesResponses } from './types.gen.js';
@@ -1605,11 +1605,15 @@ export type RelationInfo = {
1605
1605
  */
1606
1606
  summary: string;
1607
1607
  /**
1608
- * What the agent would call this relationship, and what it is actually told: **Despised, Disliked, Acquaintances, Friends** or **Good Friends**.
1608
+ * The stage of this relationship by the platform's name: **Despised, Disliked, Acquaintances, Friends** or **Good Friends** — whatever the agent calls it (`tier_name`).
1609
1609
  *
1610
1610
  * Derived on every read from the axes below and never stored, so it cannot go stale. The rule is one sentence: *warmth and trust set the direction, familiarity sets how far it can go* — a first conversation caps at Acquaintances however well it went, and the ceiling rises as they talk. Dislike is not capped: an agent can take against somebody on one remark.
1611
1611
  */
1612
1612
  tier: 'Despised' | 'Disliked' | 'Acquaintances' | 'Friends' | 'Good Friends';
1613
+ /**
1614
+ * What the agent calls this stage, and what it is told: its own name for it (`relation_stages` on the agent), else `tier`'s.
1615
+ */
1616
+ tier_name: string;
1613
1617
  /**
1614
1618
  * -1 to 1, on the same scale.
1615
1619
  */
@@ -1619,7 +1623,7 @@ export type RelationInfo = {
1619
1623
  */
1620
1624
  turns: number;
1621
1625
  /**
1622
- * -1 to 1. Zero is indifference, which is where every relationship starts.
1626
+ * -1 to 1. Zero is indifference, which is where every relationship starts unless the agent's `relation_start` says otherwise.
1623
1627
  */
1624
1628
  warmth: number;
1625
1629
  };
@@ -2098,6 +2102,10 @@ export type AgentSummary = {
2098
2102
  * Costs about six output tokens per turn and no extra model call. The reply text you are handed does not contain the line: a marker with a known label, or with an intensity, or alone on its own line is always removed, and only a marker with an unknown label, no intensity and prose on the same line is left — at that point it cannot be told from a sentence that happens to start with the word.
2099
2103
  */
2100
2104
  emotion_enabled: boolean;
2105
+ /**
2106
+ * The mood labels this agent reports, in place of the platform's 13 (neutral, happy, sad, angry, afraid, surprised, disgusted, excited, affectionate, playful, confident, bored, confused): at most 24, each one word of at most 24 lower-case letters, in any script, none twice. The model is told to use only these; the socket's `mood` event and each message's `mood` carry one of them, and `ready`'s `moods` lists them. A stop sequence that could end a reply inside a mood line naming one of them is refused (422). Unset is the platform's.
2107
+ */
2108
+ moods: Array<string> | null;
2101
2109
  /**
2102
2110
  * What the model is told about reporting a mood. Unset uses the organisation's default, then a built-in one naming every supported label.
2103
2111
  *
@@ -2244,6 +2252,14 @@ export type AgentSummary = {
2244
2252
  * Read it with `GET /v1/agent/relations`.
2245
2253
  */
2246
2254
  relation_enabled: boolean;
2255
+ /**
2256
+ * The warmth and trust a relationship with someone new starts at, each from -1 to 1. Unset is 0 and 0: Acquaintances. A good start still reads as Acquaintances until they have talked enough for more — a first conversation is never more than that — but a cold start can be Disliked from the first word. It is where a relationship begins and where a reset puts it back: one that has begun stays where it is.
2257
+ */
2258
+ relation_start: AgentRelationStart | null;
2259
+ /**
2260
+ * What this agent calls the five stages of a relationship, worst first, in place of Despised, Disliked, Acquaintances, Friends, Good Friends: exactly five, each one line of at most 40 characters. The agent is told the stage by its name here, and every read of a relationship answers it as `tier_name` beside the platform's `tier`. Where the stages fall stays the platform's. Unset is the platform's names.
2261
+ */
2262
+ relation_stages: Array<string> | null;
2247
2263
  /**
2248
2264
  * What the model is told about the relationship it keeps. Unset uses the organisation's default, then a built-in one.
2249
2265
  *
@@ -2307,7 +2323,7 @@ export type AgentSummary = {
2307
2323
  *
2308
2324
  * Answered field by field, a set's every field, each answered as the agent runs it. Always answered: `[]` for none.
2309
2325
  */
2310
- org_defaults: Array<'model' | 'thinking_level' | 'thinking_summaries' | 'max_output_tokens' | 'temperature' | 'top_p' | 'top_k' | 'seed' | 'stop_sequences' | 'language' | 'local_time' | 'voice_enabled' | 'voice_config' | 'stream_chunk_schedule' | 'stt_config' | 'emotion_enabled' | 'emotion_instruction' | 'relation_enabled' | 'relation_instruction' | 'knowledge_enabled' | 'knowledge_mode' | 'knowledge_lookup_first' | 'knowledge_max_results' | 'url_context' | 'code_execution' | 'tools_off' | 'compact_threshold_tokens' | 'compact_instruction' | 'compact_model' | 'compact_thinking_level' | 'compact_max_output_tokens' | 'fact_instruction' | 'fact_model' | 'fact_thinking_level' | 'fact_max_output_tokens' | 'max_facts' | 'facts_enabled' | 'facts_scope' | 'memories_enabled' | 'memories_scope' | 'memory_model' | 'memory_thinking_level' | 'memory_max_output_tokens' | 'memory_instruction' | 'memory_categories' | 'report_enabled' | 'report_fields' | 'report_success' | 'report_instruction' | 'report_model' | 'report_thinking_level' | 'report_max_output_tokens' | 'report_transcript' | 'outreach_enabled' | 'outreach_quiet_hours' | 'outreach_time_zone' | 'outreach_tool' | 'guardrails' | 'age_level' | 'blocked_topics' | 'fallback_message'>;
2326
+ org_defaults: Array<'model' | 'thinking_level' | 'thinking_summaries' | 'max_output_tokens' | 'temperature' | 'top_p' | 'top_k' | 'seed' | 'stop_sequences' | 'language' | 'local_time' | 'voice_enabled' | 'voice_config' | 'stream_chunk_schedule' | 'stt_config' | 'emotion_enabled' | 'emotion_instruction' | 'moods' | 'relation_enabled' | 'relation_instruction' | 'relation_start' | 'knowledge_enabled' | 'knowledge_mode' | 'knowledge_lookup_first' | 'knowledge_max_results' | 'url_context' | 'code_execution' | 'tools_off' | 'compact_threshold_tokens' | 'compact_instruction' | 'compact_model' | 'compact_thinking_level' | 'compact_max_output_tokens' | 'fact_instruction' | 'fact_model' | 'fact_thinking_level' | 'fact_max_output_tokens' | 'max_facts' | 'facts_enabled' | 'facts_scope' | 'memories_enabled' | 'memories_scope' | 'memory_model' | 'memory_thinking_level' | 'memory_max_output_tokens' | 'memory_instruction' | 'memory_categories' | 'report_enabled' | 'report_fields' | 'report_success' | 'report_instruction' | 'report_model' | 'report_thinking_level' | 'report_max_output_tokens' | 'report_transcript' | 'outreach_enabled' | 'outreach_quiet_hours' | 'outreach_time_zone' | 'outreach_tool' | 'guardrails' | 'age_level' | 'blocked_topics' | 'fallback_message'>;
2311
2327
  id: string;
2312
2328
  created_at: string;
2313
2329
  updated_at: string;
@@ -2364,6 +2380,16 @@ export type AgentQuietHours = {
2364
2380
  */
2365
2381
  end: string;
2366
2382
  };
2383
+ export type AgentRelationStart = {
2384
+ /**
2385
+ * How warm the agent feels towards someone new, from -1 to 1.
2386
+ */
2387
+ warmth: number;
2388
+ /**
2389
+ * How far it trusts them, from -1 to 1.
2390
+ */
2391
+ trust: number;
2392
+ };
2367
2393
  export type AgentSttInfo = {
2368
2394
  /**
2369
2395
  * ISO-639-1 or -639-3 code the agent's spoken turns are transcribed in. Omit it and the language is detected per turn. A `language` on `user_audio.start` overrides it.
@@ -2573,6 +2599,10 @@ export type AgentInfo = {
2573
2599
  * Costs about six output tokens per turn and no extra model call. The reply text you are handed does not contain the line: a marker with a known label, or with an intensity, or alone on its own line is always removed, and only a marker with an unknown label, no intensity and prose on the same line is left — at that point it cannot be told from a sentence that happens to start with the word.
2574
2600
  */
2575
2601
  emotion_enabled: boolean;
2602
+ /**
2603
+ * The mood labels this agent reports, in place of the platform's 13 (neutral, happy, sad, angry, afraid, surprised, disgusted, excited, affectionate, playful, confident, bored, confused): at most 24, each one word of at most 24 lower-case letters, in any script, none twice. The model is told to use only these; the socket's `mood` event and each message's `mood` carry one of them, and `ready`'s `moods` lists them. A stop sequence that could end a reply inside a mood line naming one of them is refused (422). Unset is the platform's.
2604
+ */
2605
+ moods: Array<string> | null;
2576
2606
  /**
2577
2607
  * What the model is told about reporting a mood. Unset uses the organisation's default, then a built-in one naming every supported label.
2578
2608
  *
@@ -2719,6 +2749,14 @@ export type AgentInfo = {
2719
2749
  * Read it with `GET /v1/agent/relations`.
2720
2750
  */
2721
2751
  relation_enabled: boolean;
2752
+ /**
2753
+ * The warmth and trust a relationship with someone new starts at, each from -1 to 1. Unset is 0 and 0: Acquaintances. A good start still reads as Acquaintances until they have talked enough for more — a first conversation is never more than that — but a cold start can be Disliked from the first word. It is where a relationship begins and where a reset puts it back: one that has begun stays where it is.
2754
+ */
2755
+ relation_start: AgentRelationStart | null;
2756
+ /**
2757
+ * What this agent calls the five stages of a relationship, worst first, in place of Despised, Disliked, Acquaintances, Friends, Good Friends: exactly five, each one line of at most 40 characters. The agent is told the stage by its name here, and every read of a relationship answers it as `tier_name` beside the platform's `tier`. Where the stages fall stays the platform's. Unset is the platform's names.
2758
+ */
2759
+ relation_stages: Array<string> | null;
2722
2760
  /**
2723
2761
  * What the model is told about the relationship it keeps. Unset uses the organisation's default, then a built-in one.
2724
2762
  *
@@ -2782,7 +2820,7 @@ export type AgentInfo = {
2782
2820
  *
2783
2821
  * Answered field by field, a set's every field, each answered as the agent runs it. Always answered: `[]` for none.
2784
2822
  */
2785
- org_defaults: Array<'model' | 'thinking_level' | 'thinking_summaries' | 'max_output_tokens' | 'temperature' | 'top_p' | 'top_k' | 'seed' | 'stop_sequences' | 'language' | 'local_time' | 'voice_enabled' | 'voice_config' | 'stream_chunk_schedule' | 'stt_config' | 'emotion_enabled' | 'emotion_instruction' | 'relation_enabled' | 'relation_instruction' | 'knowledge_enabled' | 'knowledge_mode' | 'knowledge_lookup_first' | 'knowledge_max_results' | 'url_context' | 'code_execution' | 'tools_off' | 'compact_threshold_tokens' | 'compact_instruction' | 'compact_model' | 'compact_thinking_level' | 'compact_max_output_tokens' | 'fact_instruction' | 'fact_model' | 'fact_thinking_level' | 'fact_max_output_tokens' | 'max_facts' | 'facts_enabled' | 'facts_scope' | 'memories_enabled' | 'memories_scope' | 'memory_model' | 'memory_thinking_level' | 'memory_max_output_tokens' | 'memory_instruction' | 'memory_categories' | 'report_enabled' | 'report_fields' | 'report_success' | 'report_instruction' | 'report_model' | 'report_thinking_level' | 'report_max_output_tokens' | 'report_transcript' | 'outreach_enabled' | 'outreach_quiet_hours' | 'outreach_time_zone' | 'outreach_tool' | 'guardrails' | 'age_level' | 'blocked_topics' | 'fallback_message'>;
2823
+ org_defaults: Array<'model' | 'thinking_level' | 'thinking_summaries' | 'max_output_tokens' | 'temperature' | 'top_p' | 'top_k' | 'seed' | 'stop_sequences' | 'language' | 'local_time' | 'voice_enabled' | 'voice_config' | 'stream_chunk_schedule' | 'stt_config' | 'emotion_enabled' | 'emotion_instruction' | 'moods' | 'relation_enabled' | 'relation_instruction' | 'relation_start' | 'knowledge_enabled' | 'knowledge_mode' | 'knowledge_lookup_first' | 'knowledge_max_results' | 'url_context' | 'code_execution' | 'tools_off' | 'compact_threshold_tokens' | 'compact_instruction' | 'compact_model' | 'compact_thinking_level' | 'compact_max_output_tokens' | 'fact_instruction' | 'fact_model' | 'fact_thinking_level' | 'fact_max_output_tokens' | 'max_facts' | 'facts_enabled' | 'facts_scope' | 'memories_enabled' | 'memories_scope' | 'memory_model' | 'memory_thinking_level' | 'memory_max_output_tokens' | 'memory_instruction' | 'memory_categories' | 'report_enabled' | 'report_fields' | 'report_success' | 'report_instruction' | 'report_model' | 'report_thinking_level' | 'report_max_output_tokens' | 'report_transcript' | 'outreach_enabled' | 'outreach_quiet_hours' | 'outreach_time_zone' | 'outreach_tool' | 'guardrails' | 'age_level' | 'blocked_topics' | 'fallback_message'>;
2786
2824
  id: string;
2787
2825
  created_at: string;
2788
2826
  updated_at: string;
@@ -2946,6 +2984,10 @@ export type AgentCreateRequest = {
2946
2984
  * Costs about six output tokens per turn and no extra model call. The reply text you are handed does not contain the line: a marker with a known label, or with an intensity, or alone on its own line is always removed, and only a marker with an unknown label, no intensity and prose on the same line is left — at that point it cannot be told from a sentence that happens to start with the word.
2947
2985
  */
2948
2986
  emotion_enabled?: boolean | null;
2987
+ /**
2988
+ * The mood labels this agent reports, in place of the platform's 13 (neutral, happy, sad, angry, afraid, surprised, disgusted, excited, affectionate, playful, confident, bored, confused): at most 24, each one word of at most 24 lower-case letters, in any script, none twice. The model is told to use only these; the socket's `mood` event and each message's `mood` carry one of them, and `ready`'s `moods` lists them. A stop sequence that could end a reply inside a mood line naming one of them is refused (422). Unset is the platform's.
2989
+ */
2990
+ moods?: Array<string> | null;
2949
2991
  /**
2950
2992
  * What the model is told about reporting a mood. Unset uses the organisation's default, then a built-in one naming every supported label.
2951
2993
  *
@@ -3092,6 +3134,14 @@ export type AgentCreateRequest = {
3092
3134
  * Read it with `GET /v1/agent/relations`.
3093
3135
  */
3094
3136
  relation_enabled?: boolean | null;
3137
+ /**
3138
+ * The warmth and trust a relationship with someone new starts at, each from -1 to 1. Unset is 0 and 0: Acquaintances. A good start still reads as Acquaintances until they have talked enough for more — a first conversation is never more than that — but a cold start can be Disliked from the first word. It is where a relationship begins and where a reset puts it back: one that has begun stays where it is.
3139
+ */
3140
+ relation_start?: AgentRelationStart | null;
3141
+ /**
3142
+ * What this agent calls the five stages of a relationship, worst first, in place of Despised, Disliked, Acquaintances, Friends, Good Friends: exactly five, each one line of at most 40 characters. The agent is told the stage by its name here, and every read of a relationship answers it as `tier_name` beside the platform's `tier`. Where the stages fall stays the platform's. Unset is the platform's names.
3143
+ */
3144
+ relation_stages?: Array<string> | null;
3095
3145
  /**
3096
3146
  * What the model is told about the relationship it keeps. Unset uses the organisation's default, then a built-in one.
3097
3147
  *
@@ -3155,7 +3205,7 @@ export type AgentCreateRequest = {
3155
3205
  *
3156
3206
  * Naming one field of a set names all of it. A section's name — `voice`, `safety` and the rest of the console's tabs — stands for every field of it.
3157
3207
  */
3158
- org_defaults?: Array<'model' | 'thinking_level' | 'thinking_summaries' | 'max_output_tokens' | 'temperature' | 'top_p' | 'top_k' | 'seed' | 'stop_sequences' | 'language' | 'local_time' | 'voice_enabled' | 'voice_config' | 'stream_chunk_schedule' | 'stt_config' | 'emotion_enabled' | 'emotion_instruction' | 'relation_enabled' | 'relation_instruction' | 'knowledge_enabled' | 'knowledge_mode' | 'knowledge_lookup_first' | 'knowledge_max_results' | 'url_context' | 'code_execution' | 'tools_off' | 'compact_threshold_tokens' | 'compact_instruction' | 'compact_model' | 'compact_thinking_level' | 'compact_max_output_tokens' | 'fact_instruction' | 'fact_model' | 'fact_thinking_level' | 'fact_max_output_tokens' | 'max_facts' | 'facts_enabled' | 'facts_scope' | 'memories_enabled' | 'memories_scope' | 'memory_model' | 'memory_thinking_level' | 'memory_max_output_tokens' | 'memory_instruction' | 'memory_categories' | 'report_enabled' | 'report_fields' | 'report_success' | 'report_instruction' | 'report_model' | 'report_thinking_level' | 'report_max_output_tokens' | 'report_transcript' | 'outreach_enabled' | 'outreach_quiet_hours' | 'outreach_time_zone' | 'outreach_tool' | 'guardrails' | 'age_level' | 'blocked_topics' | 'fallback_message' | 'time' | 'voice' | 'hearing' | 'emotion' | 'relationship' | 'knowledge' | 'builtin_tools' | 'compaction' | 'facts' | 'memories' | 'reports' | 'outreach' | 'safety'> | null;
3208
+ org_defaults?: Array<'model' | 'thinking_level' | 'thinking_summaries' | 'max_output_tokens' | 'temperature' | 'top_p' | 'top_k' | 'seed' | 'stop_sequences' | 'language' | 'local_time' | 'voice_enabled' | 'voice_config' | 'stream_chunk_schedule' | 'stt_config' | 'emotion_enabled' | 'emotion_instruction' | 'moods' | 'relation_enabled' | 'relation_instruction' | 'relation_start' | 'knowledge_enabled' | 'knowledge_mode' | 'knowledge_lookup_first' | 'knowledge_max_results' | 'url_context' | 'code_execution' | 'tools_off' | 'compact_threshold_tokens' | 'compact_instruction' | 'compact_model' | 'compact_thinking_level' | 'compact_max_output_tokens' | 'fact_instruction' | 'fact_model' | 'fact_thinking_level' | 'fact_max_output_tokens' | 'max_facts' | 'facts_enabled' | 'facts_scope' | 'memories_enabled' | 'memories_scope' | 'memory_model' | 'memory_thinking_level' | 'memory_max_output_tokens' | 'memory_instruction' | 'memory_categories' | 'report_enabled' | 'report_fields' | 'report_success' | 'report_instruction' | 'report_model' | 'report_thinking_level' | 'report_max_output_tokens' | 'report_transcript' | 'outreach_enabled' | 'outreach_quiet_hours' | 'outreach_time_zone' | 'outreach_tool' | 'guardrails' | 'age_level' | 'blocked_topics' | 'fallback_message' | 'time' | 'voice' | 'hearing' | 'emotion' | 'relationship' | 'knowledge' | 'builtin_tools' | 'compaction' | 'facts' | 'memories' | 'reports' | 'outreach' | 'safety'> | null;
3159
3209
  };
3160
3210
  export type AgentReportField = {
3161
3211
  /**
@@ -3387,6 +3437,10 @@ export type AgentDefaults = {
3387
3437
  * Costs about six output tokens per turn and no extra model call. The reply text you are handed does not contain the line: a marker with a known label, or with an intensity, or alone on its own line is always removed, and only a marker with an unknown label, no intensity and prose on the same line is left — at that point it cannot be told from a sentence that happens to start with the word.
3388
3438
  */
3389
3439
  emotion_enabled: boolean | null;
3440
+ /**
3441
+ * The mood labels this agent reports, in place of the platform's 13 (neutral, happy, sad, angry, afraid, surprised, disgusted, excited, affectionate, playful, confident, bored, confused): at most 24, each one word of at most 24 lower-case letters, in any script, none twice. The model is told to use only these; the socket's `mood` event and each message's `mood` carry one of them, and `ready`'s `moods` lists them. A stop sequence that could end a reply inside a mood line naming one of them is refused (422). Unset is the platform's.
3442
+ */
3443
+ moods: Array<string> | null;
3390
3444
  /**
3391
3445
  * Whether the agent keeps a standing relationship with each person it talks to — warmth, trust and how well they know each other, carried across every conversation with that end user and never forgotten.
3392
3446
  *
@@ -3395,6 +3449,10 @@ export type AgentDefaults = {
3395
3449
  * Read it with `GET /v1/agent/relations`.
3396
3450
  */
3397
3451
  relation_enabled: boolean | null;
3452
+ /**
3453
+ * The warmth and trust a relationship with someone new starts at, each from -1 to 1. Unset is 0 and 0: Acquaintances. A good start still reads as Acquaintances until they have talked enough for more — a first conversation is never more than that — but a cold start can be Disliked from the first word. It is where a relationship begins and where a reset puts it back: one that has begun stays where it is.
3454
+ */
3455
+ relation_start: AgentRelationStart | null;
3398
3456
  /**
3399
3457
  * Whether the agent may use the knowledge entries assigned to it. **Defaults to on**, unlike the other switches here: knowledge works as soon as an entry is assigned, and this only takes it away again.
3400
3458
  *
@@ -3602,8 +3660,10 @@ export type AgentsFollowing = {
3602
3660
  stt_config: number;
3603
3661
  emotion_enabled: number;
3604
3662
  emotion_instruction: number;
3663
+ moods: number;
3605
3664
  relation_enabled: number;
3606
3665
  relation_instruction: number;
3666
+ relation_start: number;
3607
3667
  knowledge_enabled: number;
3608
3668
  knowledge_mode: number;
3609
3669
  knowledge_lookup_first: number;
@@ -3771,6 +3831,10 @@ export type AgentDefaultsUpdate = {
3771
3831
  * Costs about six output tokens per turn and no extra model call. The reply text you are handed does not contain the line: a marker with a known label, or with an intensity, or alone on its own line is always removed, and only a marker with an unknown label, no intensity and prose on the same line is left — at that point it cannot be told from a sentence that happens to start with the word.
3772
3832
  */
3773
3833
  emotion_enabled?: boolean | null;
3834
+ /**
3835
+ * The mood labels this agent reports, in place of the platform's 13 (neutral, happy, sad, angry, afraid, surprised, disgusted, excited, affectionate, playful, confident, bored, confused): at most 24, each one word of at most 24 lower-case letters, in any script, none twice. The model is told to use only these; the socket's `mood` event and each message's `mood` carry one of them, and `ready`'s `moods` lists them. A stop sequence that could end a reply inside a mood line naming one of them is refused (422). Unset is the platform's.
3836
+ */
3837
+ moods?: Array<string> | null;
3774
3838
  /**
3775
3839
  * Whether the agent keeps a standing relationship with each person it talks to — warmth, trust and how well they know each other, carried across every conversation with that end user and never forgotten.
3776
3840
  *
@@ -3779,6 +3843,10 @@ export type AgentDefaultsUpdate = {
3779
3843
  * Read it with `GET /v1/agent/relations`.
3780
3844
  */
3781
3845
  relation_enabled?: boolean | null;
3846
+ /**
3847
+ * The warmth and trust a relationship with someone new starts at, each from -1 to 1. Unset is 0 and 0: Acquaintances. A good start still reads as Acquaintances until they have talked enough for more — a first conversation is never more than that — but a cold start can be Disliked from the first word. It is where a relationship begins and where a reset puts it back: one that has begun stays where it is.
3848
+ */
3849
+ relation_start?: AgentRelationStart | null;
3782
3850
  /**
3783
3851
  * Whether the agent may use the knowledge entries assigned to it. **Defaults to on**, unlike the other switches here: knowledge works as soon as an entry is assigned, and this only takes it away again.
3784
3852
  *
@@ -4125,6 +4193,10 @@ export type AgentUpdate = {
4125
4193
  * Costs about six output tokens per turn and no extra model call. The reply text you are handed does not contain the line: a marker with a known label, or with an intensity, or alone on its own line is always removed, and only a marker with an unknown label, no intensity and prose on the same line is left — at that point it cannot be told from a sentence that happens to start with the word.
4126
4194
  */
4127
4195
  emotion_enabled?: boolean | null;
4196
+ /**
4197
+ * The mood labels this agent reports, in place of the platform's 13 (neutral, happy, sad, angry, afraid, surprised, disgusted, excited, affectionate, playful, confident, bored, confused): at most 24, each one word of at most 24 lower-case letters, in any script, none twice. The model is told to use only these; the socket's `mood` event and each message's `mood` carry one of them, and `ready`'s `moods` lists them. A stop sequence that could end a reply inside a mood line naming one of them is refused (422). Unset is the platform's.
4198
+ */
4199
+ moods?: Array<string> | null;
4128
4200
  /**
4129
4201
  * What the model is told about reporting a mood. Unset uses the organisation's default, then a built-in one naming every supported label.
4130
4202
  *
@@ -4271,6 +4343,14 @@ export type AgentUpdate = {
4271
4343
  * Read it with `GET /v1/agent/relations`.
4272
4344
  */
4273
4345
  relation_enabled?: boolean | null;
4346
+ /**
4347
+ * The warmth and trust a relationship with someone new starts at, each from -1 to 1. Unset is 0 and 0: Acquaintances. A good start still reads as Acquaintances until they have talked enough for more — a first conversation is never more than that — but a cold start can be Disliked from the first word. It is where a relationship begins and where a reset puts it back: one that has begun stays where it is.
4348
+ */
4349
+ relation_start?: AgentRelationStart | null;
4350
+ /**
4351
+ * What this agent calls the five stages of a relationship, worst first, in place of Despised, Disliked, Acquaintances, Friends, Good Friends: exactly five, each one line of at most 40 characters. The agent is told the stage by its name here, and every read of a relationship answers it as `tier_name` beside the platform's `tier`. Where the stages fall stays the platform's. Unset is the platform's names.
4352
+ */
4353
+ relation_stages?: Array<string> | null;
4274
4354
  /**
4275
4355
  * What the model is told about the relationship it keeps. Unset uses the organisation's default, then a built-in one.
4276
4356
  *
@@ -4334,7 +4414,7 @@ export type AgentUpdate = {
4334
4414
  *
4335
4415
  * Naming one field of a set names all of it. A section's name — `voice`, `safety` and the rest of the console's tabs — stands for every field of it.
4336
4416
  */
4337
- org_defaults?: Array<'model' | 'thinking_level' | 'thinking_summaries' | 'max_output_tokens' | 'temperature' | 'top_p' | 'top_k' | 'seed' | 'stop_sequences' | 'language' | 'local_time' | 'voice_enabled' | 'voice_config' | 'stream_chunk_schedule' | 'stt_config' | 'emotion_enabled' | 'emotion_instruction' | 'relation_enabled' | 'relation_instruction' | 'knowledge_enabled' | 'knowledge_mode' | 'knowledge_lookup_first' | 'knowledge_max_results' | 'url_context' | 'code_execution' | 'tools_off' | 'compact_threshold_tokens' | 'compact_instruction' | 'compact_model' | 'compact_thinking_level' | 'compact_max_output_tokens' | 'fact_instruction' | 'fact_model' | 'fact_thinking_level' | 'fact_max_output_tokens' | 'max_facts' | 'facts_enabled' | 'facts_scope' | 'memories_enabled' | 'memories_scope' | 'memory_model' | 'memory_thinking_level' | 'memory_max_output_tokens' | 'memory_instruction' | 'memory_categories' | 'report_enabled' | 'report_fields' | 'report_success' | 'report_instruction' | 'report_model' | 'report_thinking_level' | 'report_max_output_tokens' | 'report_transcript' | 'outreach_enabled' | 'outreach_quiet_hours' | 'outreach_time_zone' | 'outreach_tool' | 'guardrails' | 'age_level' | 'blocked_topics' | 'fallback_message' | 'time' | 'voice' | 'hearing' | 'emotion' | 'relationship' | 'knowledge' | 'builtin_tools' | 'compaction' | 'facts' | 'memories' | 'reports' | 'outreach' | 'safety'> | null;
4417
+ org_defaults?: Array<'model' | 'thinking_level' | 'thinking_summaries' | 'max_output_tokens' | 'temperature' | 'top_p' | 'top_k' | 'seed' | 'stop_sequences' | 'language' | 'local_time' | 'voice_enabled' | 'voice_config' | 'stream_chunk_schedule' | 'stt_config' | 'emotion_enabled' | 'emotion_instruction' | 'moods' | 'relation_enabled' | 'relation_instruction' | 'relation_start' | 'knowledge_enabled' | 'knowledge_mode' | 'knowledge_lookup_first' | 'knowledge_max_results' | 'url_context' | 'code_execution' | 'tools_off' | 'compact_threshold_tokens' | 'compact_instruction' | 'compact_model' | 'compact_thinking_level' | 'compact_max_output_tokens' | 'fact_instruction' | 'fact_model' | 'fact_thinking_level' | 'fact_max_output_tokens' | 'max_facts' | 'facts_enabled' | 'facts_scope' | 'memories_enabled' | 'memories_scope' | 'memory_model' | 'memory_thinking_level' | 'memory_max_output_tokens' | 'memory_instruction' | 'memory_categories' | 'report_enabled' | 'report_fields' | 'report_success' | 'report_instruction' | 'report_model' | 'report_thinking_level' | 'report_max_output_tokens' | 'report_transcript' | 'outreach_enabled' | 'outreach_quiet_hours' | 'outreach_time_zone' | 'outreach_tool' | 'guardrails' | 'age_level' | 'blocked_topics' | 'fallback_message' | 'time' | 'voice' | 'hearing' | 'emotion' | 'relationship' | 'knowledge' | 'builtin_tools' | 'compaction' | 'facts' | 'memories' | 'reports' | 'outreach' | 'safety'> | null;
4338
4418
  /**
4339
4419
  * The `version` you last read for this agent. When set and the agent has been changed since, the update is refused with 409 and nothing is written - re-read it and decide again. Omit it to write unconditionally.
4340
4420
  */
@@ -4476,6 +4556,16 @@ export type AgentVersionRestore = {
4476
4556
  */
4477
4557
  expected_version?: number | null;
4478
4558
  };
4559
+ export type AgentCopyRequest = {
4560
+ /**
4561
+ * The copy's name. Left out, the original's with " (copy)" after it.
4562
+ */
4563
+ name?: string;
4564
+ /**
4565
+ * Copy the agent as its draft would make it, its unpublished changes in. Left out or `false`, the version players have.
4566
+ */
4567
+ draft?: boolean;
4568
+ };
4479
4569
  export type AgentPrompt = {
4480
4570
  agent_id: string;
4481
4571
  /**
@@ -4794,6 +4884,10 @@ export type AgentDraftUpdate = {
4794
4884
  * Costs about six output tokens per turn and no extra model call. The reply text you are handed does not contain the line: a marker with a known label, or with an intensity, or alone on its own line is always removed, and only a marker with an unknown label, no intensity and prose on the same line is left — at that point it cannot be told from a sentence that happens to start with the word.
4795
4885
  */
4796
4886
  emotion_enabled?: boolean | null;
4887
+ /**
4888
+ * The mood labels this agent reports, in place of the platform's 13 (neutral, happy, sad, angry, afraid, surprised, disgusted, excited, affectionate, playful, confident, bored, confused): at most 24, each one word of at most 24 lower-case letters, in any script, none twice. The model is told to use only these; the socket's `mood` event and each message's `mood` carry one of them, and `ready`'s `moods` lists them. A stop sequence that could end a reply inside a mood line naming one of them is refused (422). Unset is the platform's.
4889
+ */
4890
+ moods?: Array<string> | null;
4797
4891
  /**
4798
4892
  * What the model is told about reporting a mood. Unset uses the organisation's default, then a built-in one naming every supported label.
4799
4893
  *
@@ -4940,6 +5034,14 @@ export type AgentDraftUpdate = {
4940
5034
  * Read it with `GET /v1/agent/relations`.
4941
5035
  */
4942
5036
  relation_enabled?: boolean | null;
5037
+ /**
5038
+ * The warmth and trust a relationship with someone new starts at, each from -1 to 1. Unset is 0 and 0: Acquaintances. A good start still reads as Acquaintances until they have talked enough for more — a first conversation is never more than that — but a cold start can be Disliked from the first word. It is where a relationship begins and where a reset puts it back: one that has begun stays where it is.
5039
+ */
5040
+ relation_start?: AgentRelationStart | null;
5041
+ /**
5042
+ * What this agent calls the five stages of a relationship, worst first, in place of Despised, Disliked, Acquaintances, Friends, Good Friends: exactly five, each one line of at most 40 characters. The agent is told the stage by its name here, and every read of a relationship answers it as `tier_name` beside the platform's `tier`. Where the stages fall stays the platform's. Unset is the platform's names.
5043
+ */
5044
+ relation_stages?: Array<string> | null;
4943
5045
  /**
4944
5046
  * What the model is told about the relationship it keeps. Unset uses the organisation's default, then a built-in one.
4945
5047
  *
@@ -5003,7 +5105,7 @@ export type AgentDraftUpdate = {
5003
5105
  *
5004
5106
  * Naming one field of a set names all of it. A section's name — `voice`, `safety` and the rest of the console's tabs — stands for every field of it.
5005
5107
  */
5006
- org_defaults?: Array<'model' | 'thinking_level' | 'thinking_summaries' | 'max_output_tokens' | 'temperature' | 'top_p' | 'top_k' | 'seed' | 'stop_sequences' | 'language' | 'local_time' | 'voice_enabled' | 'voice_config' | 'stream_chunk_schedule' | 'stt_config' | 'emotion_enabled' | 'emotion_instruction' | 'relation_enabled' | 'relation_instruction' | 'knowledge_enabled' | 'knowledge_mode' | 'knowledge_lookup_first' | 'knowledge_max_results' | 'url_context' | 'code_execution' | 'tools_off' | 'compact_threshold_tokens' | 'compact_instruction' | 'compact_model' | 'compact_thinking_level' | 'compact_max_output_tokens' | 'fact_instruction' | 'fact_model' | 'fact_thinking_level' | 'fact_max_output_tokens' | 'max_facts' | 'facts_enabled' | 'facts_scope' | 'memories_enabled' | 'memories_scope' | 'memory_model' | 'memory_thinking_level' | 'memory_max_output_tokens' | 'memory_instruction' | 'memory_categories' | 'report_enabled' | 'report_fields' | 'report_success' | 'report_instruction' | 'report_model' | 'report_thinking_level' | 'report_max_output_tokens' | 'report_transcript' | 'outreach_enabled' | 'outreach_quiet_hours' | 'outreach_time_zone' | 'outreach_tool' | 'guardrails' | 'age_level' | 'blocked_topics' | 'fallback_message' | 'time' | 'voice' | 'hearing' | 'emotion' | 'relationship' | 'knowledge' | 'builtin_tools' | 'compaction' | 'facts' | 'memories' | 'reports' | 'outreach' | 'safety'> | null;
5108
+ org_defaults?: Array<'model' | 'thinking_level' | 'thinking_summaries' | 'max_output_tokens' | 'temperature' | 'top_p' | 'top_k' | 'seed' | 'stop_sequences' | 'language' | 'local_time' | 'voice_enabled' | 'voice_config' | 'stream_chunk_schedule' | 'stt_config' | 'emotion_enabled' | 'emotion_instruction' | 'moods' | 'relation_enabled' | 'relation_instruction' | 'relation_start' | 'knowledge_enabled' | 'knowledge_mode' | 'knowledge_lookup_first' | 'knowledge_max_results' | 'url_context' | 'code_execution' | 'tools_off' | 'compact_threshold_tokens' | 'compact_instruction' | 'compact_model' | 'compact_thinking_level' | 'compact_max_output_tokens' | 'fact_instruction' | 'fact_model' | 'fact_thinking_level' | 'fact_max_output_tokens' | 'max_facts' | 'facts_enabled' | 'facts_scope' | 'memories_enabled' | 'memories_scope' | 'memory_model' | 'memory_thinking_level' | 'memory_max_output_tokens' | 'memory_instruction' | 'memory_categories' | 'report_enabled' | 'report_fields' | 'report_success' | 'report_instruction' | 'report_model' | 'report_thinking_level' | 'report_max_output_tokens' | 'report_transcript' | 'outreach_enabled' | 'outreach_quiet_hours' | 'outreach_time_zone' | 'outreach_tool' | 'guardrails' | 'age_level' | 'blocked_topics' | 'fallback_message' | 'time' | 'voice' | 'hearing' | 'emotion' | 'relationship' | 'knowledge' | 'builtin_tools' | 'compaction' | 'facts' | 'memories' | 'reports' | 'outreach' | 'safety'> | null;
5007
5109
  /**
5008
5110
  * The whole set of tools the agent would have, by `tl_…`; omitted, the draft's as they are. Ids not yours are left out.
5009
5111
  */
@@ -8923,6 +9025,44 @@ export type ListRelationsResponses = {
8923
9025
  200: RelationPage;
8924
9026
  };
8925
9027
  export type ListRelationsResponse = ListRelationsResponses[keyof ListRelationsResponses];
9028
+ export type ResetRelationData = {
9029
+ body?: never;
9030
+ path: {
9031
+ agent_id: string;
9032
+ };
9033
+ query?: never;
9034
+ url: '/v1/agent/relations/{agent_id}';
9035
+ };
9036
+ export type ResetRelationErrors = {
9037
+ /**
9038
+ * Missing or invalid credentials
9039
+ */
9040
+ 401: ErrorResponse;
9041
+ /**
9042
+ * The key may not talk to this agent, or its scopes do not cover this capability
9043
+ */
9044
+ 403: ErrorResponse;
9045
+ /**
9046
+ * Unknown agent id
9047
+ */
9048
+ 404: ErrorResponse;
9049
+ /**
9050
+ * The request failed validation
9051
+ */
9052
+ 422: ErrorResponse;
9053
+ /**
9054
+ * Rate limit exceeded
9055
+ */
9056
+ 429: ErrorResponse;
9057
+ };
9058
+ export type ResetRelationError = ResetRelationErrors[keyof ResetRelationErrors];
9059
+ export type ResetRelationResponses = {
9060
+ /**
9061
+ * Back to the start, or there was none
9062
+ */
9063
+ 204: void;
9064
+ };
9065
+ export type ResetRelationResponse = ResetRelationResponses[keyof ResetRelationResponses];
8926
9066
  export type PostSessionToolResultData = {
8927
9067
  body: ToolResultRequest;
8928
9068
  path: {
@@ -9396,6 +9536,52 @@ export type RestoreAgentVersionResponses = {
9396
9536
  200: AgentRestored;
9397
9537
  };
9398
9538
  export type RestoreAgentVersionResponse = RestoreAgentVersionResponses[keyof RestoreAgentVersionResponses];
9539
+ export type CopyAgentData = {
9540
+ body: AgentCopyRequest;
9541
+ path: {
9542
+ agent_id: string;
9543
+ };
9544
+ query?: never;
9545
+ url: '/v1/agents/{agent_id}/copy';
9546
+ };
9547
+ export type CopyAgentErrors = {
9548
+ /**
9549
+ * The request could not be read: malformed JSON
9550
+ */
9551
+ 400: ErrorResponse;
9552
+ /**
9553
+ * Missing or invalid credentials
9554
+ */
9555
+ 401: ErrorResponse;
9556
+ /**
9557
+ * The key is valid but its scopes do not cover this capability — a key limited to `tts` gets this from `/v1/images` rather than a 401
9558
+ */
9559
+ 403: ErrorResponse;
9560
+ /**
9561
+ * Unknown agent id
9562
+ */
9563
+ 404: ErrorResponse;
9564
+ /**
9565
+ * The organisation already has as many agents as its plan allows. Delete one, or ask for a higher limit.
9566
+ */
9567
+ 409: ErrorResponse;
9568
+ /**
9569
+ * The request failed validation
9570
+ */
9571
+ 422: ErrorResponse;
9572
+ /**
9573
+ * Rate limit exceeded
9574
+ */
9575
+ 429: ErrorResponse;
9576
+ };
9577
+ export type CopyAgentError = CopyAgentErrors[keyof CopyAgentErrors];
9578
+ export type CopyAgentResponses = {
9579
+ /**
9580
+ * The copy, at version 1
9581
+ */
9582
+ 201: AgentInfo;
9583
+ };
9584
+ export type CopyAgentResponse = CopyAgentResponses[keyof CopyAgentResponses];
9399
9585
  export type GetAgentPromptData = {
9400
9586
  body?: never;
9401
9587
  path: {
@@ -10749,6 +10935,96 @@ export type SetEndUserStateResponses = {
10749
10935
  200: EndUserState;
10750
10936
  };
10751
10937
  export type SetEndUserStateResponse = SetEndUserStateResponses[keyof SetEndUserStateResponses];
10938
+ export type ListEndUserRelationsData = {
10939
+ body?: never;
10940
+ path: {
10941
+ end_user_id: string;
10942
+ };
10943
+ query?: {
10944
+ /**
10945
+ * Only this agent's relationship.
10946
+ */
10947
+ agent_id?: string;
10948
+ /**
10949
+ * How many to answer, 1 to 200.
10950
+ */
10951
+ limit?: number;
10952
+ /**
10953
+ * The `next_cursor` of the page before.
10954
+ */
10955
+ cursor?: string;
10956
+ };
10957
+ url: '/v1/end-users/{end_user_id}/relations';
10958
+ };
10959
+ export type ListEndUserRelationsErrors = {
10960
+ /**
10961
+ * Missing or invalid credentials
10962
+ */
10963
+ 401: ErrorResponse;
10964
+ /**
10965
+ * The key is valid but its scopes do not cover this capability — a key limited to `tts` gets this from `/v1/images` rather than a 401
10966
+ */
10967
+ 403: ErrorResponse;
10968
+ /**
10969
+ * Unknown end user id, or Unknown agent id
10970
+ */
10971
+ 404: ErrorResponse;
10972
+ /**
10973
+ * The request failed validation
10974
+ */
10975
+ 422: ErrorResponse;
10976
+ /**
10977
+ * Rate limit exceeded
10978
+ */
10979
+ 429: ErrorResponse;
10980
+ };
10981
+ export type ListEndUserRelationsError = ListEndUserRelationsErrors[keyof ListEndUserRelationsErrors];
10982
+ export type ListEndUserRelationsResponses = {
10983
+ /**
10984
+ * How each agent feels about the person, most recent first
10985
+ */
10986
+ 200: RelationPage;
10987
+ };
10988
+ export type ListEndUserRelationsResponse = ListEndUserRelationsResponses[keyof ListEndUserRelationsResponses];
10989
+ export type ResetEndUserRelationData = {
10990
+ body?: never;
10991
+ path: {
10992
+ end_user_id: string;
10993
+ agent_id: string;
10994
+ };
10995
+ query?: never;
10996
+ url: '/v1/end-users/{end_user_id}/relations/{agent_id}';
10997
+ };
10998
+ export type ResetEndUserRelationErrors = {
10999
+ /**
11000
+ * Missing or invalid credentials
11001
+ */
11002
+ 401: ErrorResponse;
11003
+ /**
11004
+ * The key is valid but its scopes do not cover this capability — a key limited to `tts` gets this from `/v1/images` rather than a 401
11005
+ */
11006
+ 403: ErrorResponse;
11007
+ /**
11008
+ * Unknown end user id, or Unknown agent id
11009
+ */
11010
+ 404: ErrorResponse;
11011
+ /**
11012
+ * The request failed validation
11013
+ */
11014
+ 422: ErrorResponse;
11015
+ /**
11016
+ * Rate limit exceeded
11017
+ */
11018
+ 429: ErrorResponse;
11019
+ };
11020
+ export type ResetEndUserRelationError = ResetEndUserRelationErrors[keyof ResetEndUserRelationErrors];
11021
+ export type ResetEndUserRelationResponses = {
11022
+ /**
11023
+ * Back to the start, or there was none
11024
+ */
11025
+ 204: void;
11026
+ };
11027
+ export type ResetEndUserRelationResponse = ResetEndUserRelationResponses[keyof ResetEndUserRelationResponses];
10752
11028
  export type ListScheduledMessagesData = {
10753
11029
  body?: never;
10754
11030
  path: {
@@ -8,6 +8,10 @@
8
8
  * - **Every change players see is a version** (`version` on the agent):
9
9
  * **`versions.list`** its history, newest first, **`versions.get`** one
10
10
  * whole, **`versions.restore`** puts one back as a new one.
11
+ * - **`copy`** makes a new agent from one — the version players have, or
12
+ * its draft with `draft: true` — at version 1 of its own history, its
13
+ * tools and knowledge shared; a 409 at the plan's maximum agents, as
14
+ * `create`.
11
15
  * - **`draft`** holds changes players do not get until **`draft.publish`**
12
16
  * makes them a version; **`draft.discard`** throws them away. A test
13
17
  * chat runs the draft.
@@ -25,7 +29,7 @@
25
29
  * - **`list()` reads one page**: an organisation's agents are few, and the
26
30
  * route answers them all with `next_cursor` `null` (`paging.ts`).
27
31
  */
28
- import type { AgentCreateRequest, AgentDraft, AgentDraftPublish, AgentDraftUpdate, AgentInfo, AgentKnowledgeUpdate, AgentPage, AgentPrompt, AgentRestored, AgentSettingsInfo, AgentSettingsUpdate, AgentSummary, AgentToolsUpdate, AgentUpdate, AgentVersion, AgentVersionRestore, AgentVersionSummary, KnowledgeAssigned, KnowledgeInfo, ToolInfo, ToolsAssigned, WebhookSecret, WebhookTestResult } from "../gen/index.js";
32
+ import type { AgentCopyRequest, AgentCreateRequest, AgentDraft, AgentDraftPublish, AgentDraftUpdate, AgentInfo, AgentKnowledgeUpdate, AgentPage, AgentPrompt, AgentRestored, AgentSettingsInfo, AgentSettingsUpdate, AgentSummary, AgentToolsUpdate, AgentUpdate, AgentVersion, AgentVersionRestore, AgentVersionSummary, KnowledgeAssigned, KnowledgeInfo, ToolInfo, ToolsAssigned, WebhookSecret, WebhookTestResult } from "../gen/index.js";
29
33
  import type { RequestOptions, Transport } from "../transport.js";
30
34
  import { Library } from "./resource.js";
31
35
  /** `agents.settings`: the organisation's, for every agent. */
@@ -79,6 +83,13 @@ export declare class Agents extends Library<AgentInfo, AgentUpdate, AgentSummary
79
83
  readonly versions: AgentVersions;
80
84
  readonly draft: AgentDrafts;
81
85
  constructor(api: Transport, base: string);
86
+ /**
87
+ * A new agent made from this one: every setting of the version players
88
+ * have — or its draft, with `draft: true` — its tools, knowledge entries
89
+ * and handoffs, named `name` or "<name> (copy)". Never the people's
90
+ * conversations, facts or memories.
91
+ */
92
+ copy(agentId: string, body?: AgentCopyRequest, options?: RequestOptions): Promise<AgentInfo>;
82
93
  /**
83
94
  * Everything the agent is told and set to, read only: the whole system
84
95
  * instruction in its marked parts, the settings in force with where each
@@ -8,6 +8,10 @@
8
8
  * - **Every change players see is a version** (`version` on the agent):
9
9
  * **`versions.list`** its history, newest first, **`versions.get`** one
10
10
  * whole, **`versions.restore`** puts one back as a new one.
11
+ * - **`copy`** makes a new agent from one — the version players have, or
12
+ * its draft with `draft: true` — at version 1 of its own history, its
13
+ * tools and knowledge shared; a 409 at the plan's maximum agents, as
14
+ * `create`.
11
15
  * - **`draft`** holds changes players do not get until **`draft.publish`**
12
16
  * makes them a version; **`draft.discard`** throws them away. A test
13
17
  * chat runs the draft.
@@ -50,6 +54,15 @@ export class Agents extends Library {
50
54
  publish: (id, body = {}, options) => this.send("POST", this.at(id, "/draft/publish"), options, body),
51
55
  };
52
56
  }
57
+ /**
58
+ * A new agent made from this one: every setting of the version players
59
+ * have — or its draft, with `draft: true` — its tools, knowledge entries
60
+ * and handoffs, named `name` or "<name> (copy)". Never the people's
61
+ * conversations, facts or memories.
62
+ */
63
+ copy(agentId, body = {}, options) {
64
+ return this.send("POST", this.at(agentId, "/copy"), options, body);
65
+ }
53
66
  /**
54
67
  * Everything the agent is told and set to, read only: the whole system
55
68
  * instruction in its marked parts, the settings in force with where each
@@ -152,6 +152,24 @@ export interface EndUserPersonalizations {
152
152
  */
153
153
  update(id: string, body: EndUserPersonalizationUpdate, options?: RequestOptions): Promise<EndUserPersonalization>;
154
154
  }
155
+ /**
156
+ * `endUsers.relations`: how each of your agents that keeps a relationship
157
+ * feels about the person — `/v1/end-users/{id}/relations` — and one put
158
+ * back to the start.
159
+ */
160
+ export interface EndUserRelations {
161
+ /** Every agent's that keeps one, most recently active first; `agent_id` for one. */
162
+ list(id: string, params?: {
163
+ agent_id?: string;
164
+ limit?: number;
165
+ }, options?: RequestOptions): AsyncGenerator<RelationInfo, void, undefined>;
166
+ /**
167
+ * Puts `agentId`'s relationship with them back to where it starts with
168
+ * someone new: `true`, with one or none; `false` when there is no such
169
+ * person or agent.
170
+ */
171
+ reset(id: string, agentId: string, options?: RequestOptions): Promise<boolean>;
172
+ }
155
173
  /**
156
174
  * `endUsers.states`: your own record of where one person stands with one
157
175
  * agent — "Cooking: cooked 1 of 3 this week." — which that agent alone
@@ -218,6 +236,8 @@ export declare class EndUsers extends Editable<EndUserInfo, EndUserUpdateRequest
218
236
  readonly personalization: EndUserPersonalizations;
219
237
  /** Where your server says a person stands with one agent: `endUsers.states`. */
220
238
  readonly states: EndUserStates;
239
+ /** How each agent feels about the person: `endUsers.relations`. */
240
+ readonly relations: EndUserRelations;
221
241
  /** Messages an agent writes to the person first: `endUsers.scheduledMessages`. */
222
242
  readonly scheduledMessages: EndUserScheduledMessages;
223
243
  readonly reports: EndUserReports;
@@ -104,6 +104,10 @@ export class EndUsers extends Editable {
104
104
  set: (id, agentId, body, options) => this.send("PUT", state(id, agentId), options, body),
105
105
  delete: (id, agentId, options) => drop(state(id, agentId), options),
106
106
  };
107
+ this.relations = {
108
+ list: (id, params = {}, options) => this.each(this.at(id, "/relations"), params, options),
109
+ reset: (id, agentId, options) => drop(this.at(id, `/relations/${segment(agentId)}`), options),
110
+ };
107
111
  const reports = (id, rest = "") => this.at(id, `/reports${rest}`);
108
112
  this.reports = {
109
113
  list: (id, params = {}, options) => this.each(reports(id), params, options, MEMORY_PAGE),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lumavox/server",
3
- "version": "0.58.1",
3
+ "version": "0.60.0",
4
4
  "description": "The Lumavox API from your server: end users, ephemeral keys and the rest, typed from the published OpenAPI document. Zero dependencies.",
5
5
  "license": "MIT",
6
6
  "type": "module",