@lumavox/server 0.59.0 → 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 +1 -1
- package/dist/gen/index.d.ts +1 -1
- package/dist/gen/types.gen.d.ts +227 -7
- package/dist/resources/end-users.d.ts +20 -0
- package/dist/resources/end-users.js +4 -0
- package/package.json +1 -1
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` |
|
package/dist/gen/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export type { AgentCopyRequest, 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, 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, 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';
|
package/dist/gen/types.gen.d.ts
CHANGED
|
@@ -1605,11 +1605,15 @@ export type RelationInfo = {
|
|
|
1605
1605
|
*/
|
|
1606
1606
|
summary: string;
|
|
1607
1607
|
/**
|
|
1608
|
-
*
|
|
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
|
*/
|
|
@@ -4804,6 +4884,10 @@ export type AgentDraftUpdate = {
|
|
|
4804
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.
|
|
4805
4885
|
*/
|
|
4806
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;
|
|
4807
4891
|
/**
|
|
4808
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.
|
|
4809
4893
|
*
|
|
@@ -4950,6 +5034,14 @@ export type AgentDraftUpdate = {
|
|
|
4950
5034
|
* Read it with `GET /v1/agent/relations`.
|
|
4951
5035
|
*/
|
|
4952
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;
|
|
4953
5045
|
/**
|
|
4954
5046
|
* What the model is told about the relationship it keeps. Unset uses the organisation's default, then a built-in one.
|
|
4955
5047
|
*
|
|
@@ -5013,7 +5105,7 @@ export type AgentDraftUpdate = {
|
|
|
5013
5105
|
*
|
|
5014
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.
|
|
5015
5107
|
*/
|
|
5016
|
-
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;
|
|
5017
5109
|
/**
|
|
5018
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.
|
|
5019
5111
|
*/
|
|
@@ -8933,6 +9025,44 @@ export type ListRelationsResponses = {
|
|
|
8933
9025
|
200: RelationPage;
|
|
8934
9026
|
};
|
|
8935
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];
|
|
8936
9066
|
export type PostSessionToolResultData = {
|
|
8937
9067
|
body: ToolResultRequest;
|
|
8938
9068
|
path: {
|
|
@@ -10805,6 +10935,96 @@ export type SetEndUserStateResponses = {
|
|
|
10805
10935
|
200: EndUserState;
|
|
10806
10936
|
};
|
|
10807
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];
|
|
10808
11028
|
export type ListScheduledMessagesData = {
|
|
10809
11029
|
body?: never;
|
|
10810
11030
|
path: {
|
|
@@ -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.
|
|
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",
|