@lumavox/server 0.63.1 → 0.65.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
@@ -20,7 +20,9 @@ const lumavox = createClient({ apiKey: process.env.LUMAVOX_API_KEY! });
20
20
  const image = await lumavox.images.generate({ prompt: "A paper boat on a rain-soaked street" });
21
21
 
22
22
  // At sign-in: your own id makes this idempotent — the same person every time.
23
- const person = await lumavox.endUsers.create({ external_id: user.id });
23
+ // `region` is optional, and read only when it creates them: where their
24
+ // conversations and memory are kept, for good.
25
+ const person = await lumavox.endUsers.create({ external_id: user.id, region: "weur" });
24
26
 
25
27
  // Their device talks to agents with a key of its own, never yours.
26
28
  const { key } = await lumavox.ephemeralKeys.create({
@@ -1 +1 @@
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';
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, 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';
@@ -5343,6 +5343,18 @@ export type EndUserInfo = {
5343
5343
  * `created` when you made this end user deliberately, `generated` when a session was opened without an id and one was minted for it.
5344
5344
  */
5345
5345
  origin: 'created' | 'generated';
5346
+ /**
5347
+ * Where this person's conversations and memory are kept: `enam` (US East), `wnam` (US West), `weur` (Europe West), `eeur` (Europe East and the Middle East), `apac` (Asia) or `oc` (Australia). The one you set when you created them; otherwise the region their first conversation was opened from.
5348
+ *
5349
+ * **Null for an automatic person nothing has reached yet**, and for one your server wrote to before their own device connected — they are kept near that server.
5350
+ *
5351
+ * In a list, an automatic person's region shows once a key of theirs has settled; a read of one person is exact.
5352
+ */
5353
+ region: 'enam' | 'wnam' | 'weur' | 'eeur' | 'apac' | 'oc' | null;
5354
+ /**
5355
+ * `set`: you chose `region` when you created them. `automatic`: they are placed near whoever reaches them first.
5356
+ */
5357
+ region_source: 'set' | 'automatic';
5346
5358
  /**
5347
5359
  * How many conversations this person has had.
5348
5360
  */
@@ -5363,6 +5375,14 @@ export type EndUserCreateRequest = {
5363
5375
  * It can be used anywhere an `end_user_id` is accepted, interchangeably with the `eu_...` form.
5364
5376
  */
5365
5377
  external_id?: string | null;
5378
+ /**
5379
+ * Where this person's conversations and memory are kept: `enam` (US East), `wnam` (US West), `weur` (Europe West), `eeur` (Europe East and the Middle East), `apac` (Asia) or `oc` (Australia). Optional.
5380
+ *
5381
+ * **Read only by the call that creates the person, and fixed from then on.** A repeat of an `external_id` answers the person where they already are, whatever this says — read `region` in the answer — and no update takes one.
5382
+ *
5383
+ * Absent or null, they are placed automatically, near whoever reaches them first: their own device when it opens their first conversation, or your server when it writes to them before that — a fact, their instructions, a message scheduled for them. Set it when your server and your users are far apart, or when where a person's data is kept is yours to choose.
5384
+ */
5385
+ region?: 'enam' | 'wnam' | 'weur' | 'eeur' | 'apac' | 'oc' | null;
5366
5386
  };
5367
5387
  export type EndUserPage = {
5368
5388
  data: Array<EndUserInfo>;
@@ -6809,10 +6829,6 @@ export type ListEphemeralKeysData = {
6809
6829
  url: '/v1/ephemeral-keys';
6810
6830
  };
6811
6831
  export type ListEphemeralKeysErrors = {
6812
- /**
6813
- * The request could not be read: malformed JSON
6814
- */
6815
- 400: ErrorResponse;
6816
6832
  /**
6817
6833
  * Missing or invalid credentials
6818
6834
  */
@@ -6887,10 +6903,6 @@ export type RevokeEphemeralKeyData = {
6887
6903
  url: '/v1/ephemeral-keys/{key_id}';
6888
6904
  };
6889
6905
  export type RevokeEphemeralKeyErrors = {
6890
- /**
6891
- * The request could not be read: malformed JSON
6892
- */
6893
- 400: ErrorResponse;
6894
6906
  /**
6895
6907
  * Missing or invalid credentials
6896
6908
  */
@@ -6929,10 +6941,6 @@ export type GetEphemeralKeyData = {
6929
6941
  url: '/v1/ephemeral-keys/{key_id}';
6930
6942
  };
6931
6943
  export type GetEphemeralKeyErrors = {
6932
- /**
6933
- * The request could not be read: malformed JSON
6934
- */
6935
- 400: ErrorResponse;
6936
6944
  /**
6937
6945
  * Missing or invalid credentials
6938
6946
  */
@@ -7002,10 +7010,6 @@ export type GetUsageData = {
7002
7010
  url: '/v1/usage';
7003
7011
  };
7004
7012
  export type GetUsageErrors = {
7005
- /**
7006
- * The request could not be read: malformed JSON
7007
- */
7008
- 400: ErrorResponse;
7009
7013
  /**
7010
7014
  * Missing or invalid credentials
7011
7015
  */
@@ -7212,10 +7216,6 @@ export type GetImageData = {
7212
7216
  url: '/v1/images/{generation_id}';
7213
7217
  };
7214
7218
  export type GetImageErrors = {
7215
- /**
7216
- * The request could not be read: malformed JSON
7217
- */
7218
- 400: ErrorResponse;
7219
7219
  /**
7220
7220
  * Missing or invalid credentials
7221
7221
  */
@@ -7237,7 +7237,7 @@ export type GetImageErrors = {
7237
7237
  */
7238
7238
  429: ErrorResponse;
7239
7239
  /**
7240
- * The capability's provider is not configured here
7240
+ * Object storage is unavailable here: no bucket is bound for the organisation's region
7241
7241
  */
7242
7242
  503: ErrorResponse;
7243
7243
  };
@@ -7302,10 +7302,6 @@ export type GetVideoData = {
7302
7302
  url: '/v1/videos/{generation_id}';
7303
7303
  };
7304
7304
  export type GetVideoErrors = {
7305
- /**
7306
- * The request could not be read: malformed JSON
7307
- */
7308
- 400: ErrorResponse;
7309
7305
  /**
7310
7306
  * Missing or invalid credentials
7311
7307
  */
@@ -7327,7 +7323,7 @@ export type GetVideoErrors = {
7327
7323
  */
7328
7324
  429: ErrorResponse;
7329
7325
  /**
7330
- * The capability's provider is not configured here
7326
+ * Object storage is unavailable here: no bucket is bound for the organisation's region
7331
7327
  */
7332
7328
  503: ErrorResponse;
7333
7329
  };
@@ -7396,10 +7392,6 @@ export type GetAudioData = {
7396
7392
  url: '/v1/audio/{generation_id}';
7397
7393
  };
7398
7394
  export type GetAudioErrors = {
7399
- /**
7400
- * The request could not be read: malformed JSON
7401
- */
7402
- 400: ErrorResponse;
7403
7395
  /**
7404
7396
  * Missing or invalid credentials
7405
7397
  */
@@ -7421,7 +7413,7 @@ export type GetAudioErrors = {
7421
7413
  */
7422
7414
  429: ErrorResponse;
7423
7415
  /**
7424
- * The capability's provider is not configured here
7416
+ * Object storage is unavailable here: no bucket is bound for the organisation's region
7425
7417
  */
7426
7418
  503: ErrorResponse;
7427
7419
  };
@@ -7522,10 +7514,6 @@ export type GetSkyboxData = {
7522
7514
  url: '/v1/skybox/{generation_id}';
7523
7515
  };
7524
7516
  export type GetSkyboxErrors = {
7525
- /**
7526
- * The request could not be read: malformed JSON
7527
- */
7528
- 400: ErrorResponse;
7529
7517
  /**
7530
7518
  * Missing or invalid credentials
7531
7519
  */
@@ -7547,7 +7535,7 @@ export type GetSkyboxErrors = {
7547
7535
  */
7548
7536
  429: ErrorResponse;
7549
7537
  /**
7550
- * The capability's provider is not configured here
7538
+ * Object storage is unavailable here: no bucket is bound for the organisation's region
7551
7539
  */
7552
7540
  503: ErrorResponse;
7553
7541
  };
@@ -7583,10 +7571,6 @@ export type ListGenerationsData = {
7583
7571
  url: '/v1/generations';
7584
7572
  };
7585
7573
  export type ListGenerationsErrors = {
7586
- /**
7587
- * The request could not be read: malformed JSON
7588
- */
7589
- 400: ErrorResponse;
7590
7574
  /**
7591
7575
  * Missing or invalid credentials
7592
7576
  */
@@ -7617,10 +7601,6 @@ export type GetGenerationData = {
7617
7601
  url: '/v1/generations/{generation_id}';
7618
7602
  };
7619
7603
  export type GetGenerationErrors = {
7620
- /**
7621
- * The request could not be read: malformed JSON
7622
- */
7623
- 400: ErrorResponse;
7624
7604
  /**
7625
7605
  * Missing or invalid credentials
7626
7606
  */
@@ -7707,10 +7687,6 @@ export type GetTranscriptionData = {
7707
7687
  url: '/v1/transcriptions/{generation_id}';
7708
7688
  };
7709
7689
  export type GetTranscriptionErrors = {
7710
- /**
7711
- * The request could not be read: malformed JSON
7712
- */
7713
- 400: ErrorResponse;
7714
7690
  /**
7715
7691
  * Missing or invalid credentials
7716
7692
  */
@@ -7777,10 +7753,6 @@ export type GetTemplateData = {
7777
7753
  url: '/v1/templates/{template_id}';
7778
7754
  };
7779
7755
  export type GetTemplateErrors = {
7780
- /**
7781
- * The request could not be read: malformed JSON
7782
- */
7783
- 400: ErrorResponse;
7784
7756
  /**
7785
7757
  * Missing or invalid credentials
7786
7758
  */
@@ -7864,16 +7836,11 @@ export type GetTemplateFileData = {
7864
7836
  url: '/v1/templates/{template_id}/files/{name}';
7865
7837
  };
7866
7838
  export type GetTemplateFileErrors = {
7867
- /**
7868
- * The request could not be read: malformed JSON
7869
- */
7870
- 400: ErrorResponse;
7871
7839
  /**
7872
7840
  * No such template or file
7873
7841
  */
7874
7842
  404: unknown;
7875
7843
  };
7876
- export type GetTemplateFileError = GetTemplateFileErrors[keyof GetTemplateFileErrors];
7877
7844
  export type GetTemplateFileResponses = {
7878
7845
  /**
7879
7846
  * The image, or a redirect to where object storage serves it
@@ -7912,10 +7879,6 @@ export type ListAssetsData = {
7912
7879
  url: '/v1/assets';
7913
7880
  };
7914
7881
  export type ListAssetsErrors = {
7915
- /**
7916
- * The request could not be read: malformed JSON
7917
- */
7918
- 400: ErrorResponse;
7919
7882
  /**
7920
7883
  * Missing or invalid credentials
7921
7884
  */
@@ -8126,10 +8089,6 @@ export type DeleteAssetData = {
8126
8089
  url: '/v1/assets/{asset_id}';
8127
8090
  };
8128
8091
  export type DeleteAssetErrors = {
8129
- /**
8130
- * The request could not be read: malformed JSON
8131
- */
8132
- 400: ErrorResponse;
8133
8092
  /**
8134
8093
  * Missing or invalid credentials
8135
8094
  */
@@ -8168,10 +8127,6 @@ export type GetAssetData = {
8168
8127
  url: '/v1/assets/{asset_id}';
8169
8128
  };
8170
8129
  export type GetAssetErrors = {
8171
- /**
8172
- * The request could not be read: malformed JSON
8173
- */
8174
- 400: ErrorResponse;
8175
8130
  /**
8176
8131
  * Missing or invalid credentials
8177
8132
  */
@@ -8255,10 +8210,6 @@ export type ListAssetFoldersData = {
8255
8210
  url: '/v1/asset-folders';
8256
8211
  };
8257
8212
  export type ListAssetFoldersErrors = {
8258
- /**
8259
- * The request could not be read: malformed JSON
8260
- */
8261
- 400: ErrorResponse;
8262
8213
  /**
8263
8214
  * Missing or invalid credentials
8264
8215
  */
@@ -8333,10 +8284,6 @@ export type DeleteAssetFolderData = {
8333
8284
  url: '/v1/asset-folders/{folder_id}';
8334
8285
  };
8335
8286
  export type DeleteAssetFolderErrors = {
8336
- /**
8337
- * The request could not be read: malformed JSON
8338
- */
8339
- 400: ErrorResponse;
8340
8287
  /**
8341
8288
  * Missing or invalid credentials
8342
8289
  */
@@ -8375,10 +8322,6 @@ export type GetAssetFolderData = {
8375
8322
  url: '/v1/asset-folders/{folder_id}';
8376
8323
  };
8377
8324
  export type GetAssetFolderErrors = {
8378
- /**
8379
- * The request could not be read: malformed JSON
8380
- */
8381
- 400: ErrorResponse;
8382
8325
  /**
8383
8326
  * Missing or invalid credentials
8384
8327
  */
@@ -8482,6 +8425,10 @@ export type ListSessionsErrors = {
8482
8425
  * Rate limit exceeded
8483
8426
  */
8484
8427
  429: ErrorResponse;
8428
+ /**
8429
+ * The end user's store could not be reached for a moment; retry shortly
8430
+ */
8431
+ 503: ErrorResponse;
8485
8432
  };
8486
8433
  export type ListSessionsError = ListSessionsErrors[keyof ListSessionsErrors];
8487
8434
  export type ListSessionsResponses = {
@@ -8522,6 +8469,10 @@ export type CreateSessionErrors = {
8522
8469
  * Rate limit exceeded
8523
8470
  */
8524
8471
  429: ErrorResponse;
8472
+ /**
8473
+ * The end user's store could not be reached for a moment; retry shortly
8474
+ */
8475
+ 503: ErrorResponse;
8525
8476
  };
8526
8477
  export type CreateSessionError = CreateSessionErrors[keyof CreateSessionErrors];
8527
8478
  export type CreateSessionResponses = {
@@ -8560,6 +8511,10 @@ export type DeleteSessionErrors = {
8560
8511
  * Rate limit exceeded
8561
8512
  */
8562
8513
  429: ErrorResponse;
8514
+ /**
8515
+ * The end user's store could not be reached for a moment; retry shortly
8516
+ */
8517
+ 503: ErrorResponse;
8563
8518
  };
8564
8519
  export type DeleteSessionError = DeleteSessionErrors[keyof DeleteSessionErrors];
8565
8520
  export type DeleteSessionResponses = {
@@ -8607,6 +8562,10 @@ export type GetSessionErrors = {
8607
8562
  * Rate limit exceeded
8608
8563
  */
8609
8564
  429: ErrorResponse;
8565
+ /**
8566
+ * The end user's store could not be reached for a moment; retry shortly
8567
+ */
8568
+ 503: ErrorResponse;
8610
8569
  };
8611
8570
  export type GetSessionError = GetSessionErrors[keyof GetSessionErrors];
8612
8571
  export type GetSessionResponses = {
@@ -8662,7 +8621,7 @@ export type CompactSessionErrors = {
8662
8621
  */
8663
8622
  502: ErrorResponse;
8664
8623
  /**
8665
- * The model provider is not configured
8624
+ * The model provider is not configured, or the end user's store could not be reached for a moment; retry shortly
8666
8625
  */
8667
8626
  503: ErrorResponse;
8668
8627
  };
@@ -8712,7 +8671,7 @@ export type ExtractSessionFactsErrors = {
8712
8671
  */
8713
8672
  502: ErrorResponse;
8714
8673
  /**
8715
- * The model provider is not configured
8674
+ * The model provider is not configured, or the end user's store could not be reached for a moment; retry shortly
8716
8675
  */
8717
8676
  503: ErrorResponse;
8718
8677
  };
@@ -8762,7 +8721,7 @@ export type WriteSessionMemoriesErrors = {
8762
8721
  */
8763
8722
  502: ErrorResponse;
8764
8723
  /**
8765
- * The model provider is not configured
8724
+ * The model provider is not configured, or the end user's store could not be reached for a moment; retry shortly
8766
8725
  */
8767
8726
  503: ErrorResponse;
8768
8727
  };
@@ -8802,6 +8761,10 @@ export type DeleteAllFactsErrors = {
8802
8761
  * Rate limit exceeded
8803
8762
  */
8804
8763
  429: ErrorResponse;
8764
+ /**
8765
+ * The end user's store could not be reached for a moment; retry shortly
8766
+ */
8767
+ 503: ErrorResponse;
8805
8768
  };
8806
8769
  export type DeleteAllFactsError = DeleteAllFactsErrors[keyof DeleteAllFactsErrors];
8807
8770
  export type DeleteAllFactsResponses = {
@@ -8851,6 +8814,10 @@ export type ListFactsErrors = {
8851
8814
  * Rate limit exceeded
8852
8815
  */
8853
8816
  429: ErrorResponse;
8817
+ /**
8818
+ * The end user's store could not be reached for a moment; retry shortly
8819
+ */
8820
+ 503: ErrorResponse;
8854
8821
  };
8855
8822
  export type ListFactsError = ListFactsErrors[keyof ListFactsErrors];
8856
8823
  export type ListFactsResponses = {
@@ -8891,6 +8858,10 @@ export type CreateFactErrors = {
8891
8858
  * Rate limit exceeded
8892
8859
  */
8893
8860
  429: ErrorResponse;
8861
+ /**
8862
+ * The end user's store could not be reached for a moment; retry shortly
8863
+ */
8864
+ 503: ErrorResponse;
8894
8865
  };
8895
8866
  export type CreateFactError = CreateFactErrors[keyof CreateFactErrors];
8896
8867
  export type CreateFactResponses = {
@@ -8933,6 +8904,10 @@ export type DeleteFactErrors = {
8933
8904
  * Rate limit exceeded
8934
8905
  */
8935
8906
  429: ErrorResponse;
8907
+ /**
8908
+ * The end user's store could not be reached for a moment; retry shortly
8909
+ */
8910
+ 503: ErrorResponse;
8936
8911
  };
8937
8912
  export type DeleteFactError = DeleteFactErrors[keyof DeleteFactErrors];
8938
8913
  export type DeleteFactResponses = {
@@ -8979,6 +8954,10 @@ export type UpdateFactErrors = {
8979
8954
  * Rate limit exceeded
8980
8955
  */
8981
8956
  429: ErrorResponse;
8957
+ /**
8958
+ * The end user's store could not be reached for a moment; retry shortly
8959
+ */
8960
+ 503: ErrorResponse;
8982
8961
  };
8983
8962
  export type UpdateFactError = UpdateFactErrors[keyof UpdateFactErrors];
8984
8963
  export type UpdateFactResponses = {
@@ -9016,6 +8995,10 @@ export type DeleteAllMemoriesErrors = {
9016
8995
  * Rate limit exceeded
9017
8996
  */
9018
8997
  429: ErrorResponse;
8998
+ /**
8999
+ * The end user's store could not be reached for a moment; retry shortly
9000
+ */
9001
+ 503: ErrorResponse;
9019
9002
  };
9020
9003
  export type DeleteAllMemoriesError = DeleteAllMemoriesErrors[keyof DeleteAllMemoriesErrors];
9021
9004
  export type DeleteAllMemoriesResponses = {
@@ -9073,6 +9056,10 @@ export type ListMemoriesErrors = {
9073
9056
  * Rate limit exceeded
9074
9057
  */
9075
9058
  429: ErrorResponse;
9059
+ /**
9060
+ * The end user's store could not be reached for a moment; retry shortly
9061
+ */
9062
+ 503: ErrorResponse;
9076
9063
  };
9077
9064
  export type ListMemoriesError = ListMemoriesErrors[keyof ListMemoriesErrors];
9078
9065
  export type ListMemoriesResponses = {
@@ -9111,6 +9098,10 @@ export type DeleteMemoryErrors = {
9111
9098
  * Rate limit exceeded
9112
9099
  */
9113
9100
  429: ErrorResponse;
9101
+ /**
9102
+ * The end user's store could not be reached for a moment; retry shortly
9103
+ */
9104
+ 503: ErrorResponse;
9114
9105
  };
9115
9106
  export type DeleteMemoryError = DeleteMemoryErrors[keyof DeleteMemoryErrors];
9116
9107
  export type DeleteMemoryResponses = {
@@ -9149,6 +9140,10 @@ export type GetMemoryErrors = {
9149
9140
  * Rate limit exceeded
9150
9141
  */
9151
9142
  429: ErrorResponse;
9143
+ /**
9144
+ * The end user's store could not be reached for a moment; retry shortly
9145
+ */
9146
+ 503: ErrorResponse;
9152
9147
  };
9153
9148
  export type GetMemoryError = GetMemoryErrors[keyof GetMemoryErrors];
9154
9149
  export type GetMemoryResponses = {
@@ -9202,6 +9197,10 @@ export type ListRelationsErrors = {
9202
9197
  * Rate limit exceeded
9203
9198
  */
9204
9199
  429: ErrorResponse;
9200
+ /**
9201
+ * The end user's store could not be reached for a moment; retry shortly
9202
+ */
9203
+ 503: ErrorResponse;
9205
9204
  };
9206
9205
  export type ListRelationsError = ListRelationsErrors[keyof ListRelationsErrors];
9207
9206
  export type ListRelationsResponses = {
@@ -9229,7 +9228,7 @@ export type ResetRelationErrors = {
9229
9228
  */
9230
9229
  403: ErrorResponse;
9231
9230
  /**
9232
- * Unknown agent id
9231
+ * `agent_id` is not an agent's id at all (no UUID); one of no agent is not looked up
9233
9232
  */
9234
9233
  404: ErrorResponse;
9235
9234
  /**
@@ -9240,11 +9239,15 @@ export type ResetRelationErrors = {
9240
9239
  * Rate limit exceeded
9241
9240
  */
9242
9241
  429: ErrorResponse;
9242
+ /**
9243
+ * The end user's store could not be reached for a moment; retry shortly
9244
+ */
9245
+ 503: ErrorResponse;
9243
9246
  };
9244
9247
  export type ResetRelationError = ResetRelationErrors[keyof ResetRelationErrors];
9245
9248
  export type ResetRelationResponses = {
9246
9249
  /**
9247
- * Back to the start, or there was none
9250
+ * Back to the start, or there was none — an id of no agent included
9248
9251
  */
9249
9252
  204: void;
9250
9253
  };
@@ -9291,6 +9294,10 @@ export type PostSessionToolResultErrors = {
9291
9294
  * Rate limit exceeded
9292
9295
  */
9293
9296
  429: ErrorResponse;
9297
+ /**
9298
+ * The end user's store could not be reached for a moment; retry shortly
9299
+ */
9300
+ 503: ErrorResponse;
9294
9301
  };
9295
9302
  export type PostSessionToolResultError = PostSessionToolResultErrors[keyof PostSessionToolResultErrors];
9296
9303
  export type PostSessionToolResultResponses = {
@@ -9806,6 +9813,10 @@ export type GetAgentPromptErrors = {
9806
9813
  * Rate limit exceeded
9807
9814
  */
9808
9815
  429: ErrorResponse;
9816
+ /**
9817
+ * The end user's store could not be reached for a moment; retry shortly
9818
+ */
9819
+ 503: ErrorResponse;
9809
9820
  };
9810
9821
  export type GetAgentPromptError = GetAgentPromptErrors[keyof GetAgentPromptErrors];
9811
9822
  export type GetAgentPromptResponses = {
@@ -10101,6 +10112,10 @@ export type CreateEndUserErrors = {
10101
10112
  * Rate limit exceeded
10102
10113
  */
10103
10114
  429: ErrorResponse;
10115
+ /**
10116
+ * The end user's store could not be reached for a moment; retry shortly
10117
+ */
10118
+ 503: ErrorResponse;
10104
10119
  };
10105
10120
  export type CreateEndUserError = CreateEndUserErrors[keyof CreateEndUserErrors];
10106
10121
  export type CreateEndUserResponses = {
@@ -10278,6 +10293,10 @@ export type ListEndUserFactsErrors = {
10278
10293
  * Rate limit exceeded
10279
10294
  */
10280
10295
  429: ErrorResponse;
10296
+ /**
10297
+ * The end user's store could not be reached for a moment; retry shortly
10298
+ */
10299
+ 503: ErrorResponse;
10281
10300
  };
10282
10301
  export type ListEndUserFactsError = ListEndUserFactsErrors[keyof ListEndUserFactsErrors];
10283
10302
  export type ListEndUserFactsResponses = {
@@ -10324,6 +10343,10 @@ export type CreateEndUserFactErrors = {
10324
10343
  * Rate limit exceeded
10325
10344
  */
10326
10345
  429: ErrorResponse;
10346
+ /**
10347
+ * The end user's store could not be reached for a moment; retry shortly
10348
+ */
10349
+ 503: ErrorResponse;
10327
10350
  };
10328
10351
  export type CreateEndUserFactError = CreateEndUserFactErrors[keyof CreateEndUserFactErrors];
10329
10352
  export type CreateEndUserFactResponses = {
@@ -10367,6 +10390,10 @@ export type DeleteEndUserFactErrors = {
10367
10390
  * Rate limit exceeded
10368
10391
  */
10369
10392
  429: ErrorResponse;
10393
+ /**
10394
+ * The end user's store could not be reached for a moment; retry shortly
10395
+ */
10396
+ 503: ErrorResponse;
10370
10397
  };
10371
10398
  export type DeleteEndUserFactError = DeleteEndUserFactErrors[keyof DeleteEndUserFactErrors];
10372
10399
  export type DeleteEndUserFactResponses = {
@@ -10414,6 +10441,10 @@ export type UpdateEndUserFactErrors = {
10414
10441
  * Rate limit exceeded
10415
10442
  */
10416
10443
  429: ErrorResponse;
10444
+ /**
10445
+ * The end user's store could not be reached for a moment; retry shortly
10446
+ */
10447
+ 503: ErrorResponse;
10417
10448
  };
10418
10449
  export type UpdateEndUserFactError = UpdateEndUserFactErrors[keyof UpdateEndUserFactErrors];
10419
10450
  export type UpdateEndUserFactResponses = {
@@ -10448,6 +10479,10 @@ export type DeleteAllEndUserMemoriesErrors = {
10448
10479
  * Rate limit exceeded
10449
10480
  */
10450
10481
  429: ErrorResponse;
10482
+ /**
10483
+ * The end user's store could not be reached for a moment; retry shortly
10484
+ */
10485
+ 503: ErrorResponse;
10451
10486
  };
10452
10487
  export type DeleteAllEndUserMemoriesError = DeleteAllEndUserMemoriesErrors[keyof DeleteAllEndUserMemoriesErrors];
10453
10488
  export type DeleteAllEndUserMemoriesResponses = {
@@ -10507,6 +10542,10 @@ export type ListEndUserMemoriesErrors = {
10507
10542
  * Rate limit exceeded
10508
10543
  */
10509
10544
  429: ErrorResponse;
10545
+ /**
10546
+ * The end user's store could not be reached for a moment; retry shortly
10547
+ */
10548
+ 503: ErrorResponse;
10510
10549
  };
10511
10550
  export type ListEndUserMemoriesError = ListEndUserMemoriesErrors[keyof ListEndUserMemoriesErrors];
10512
10551
  export type ListEndUserMemoriesResponses = {
@@ -10558,7 +10597,7 @@ export type CreateEndUserMemoryErrors = {
10558
10597
  */
10559
10598
  502: ErrorResponse;
10560
10599
  /**
10561
- * Embeddings are not configured
10600
+ * Embeddings are not configured, or the end user's store could not be reached for a moment; retry shortly
10562
10601
  */
10563
10602
  503: ErrorResponse;
10564
10603
  };
@@ -10596,6 +10635,10 @@ export type DeleteEndUserMemoryErrors = {
10596
10635
  * Rate limit exceeded
10597
10636
  */
10598
10637
  429: ErrorResponse;
10638
+ /**
10639
+ * The end user's store could not be reached for a moment; retry shortly
10640
+ */
10641
+ 503: ErrorResponse;
10599
10642
  };
10600
10643
  export type DeleteEndUserMemoryError = DeleteEndUserMemoryErrors[keyof DeleteEndUserMemoryErrors];
10601
10644
  export type DeleteEndUserMemoryResponses = {
@@ -10631,6 +10674,10 @@ export type GetEndUserMemoryErrors = {
10631
10674
  * Rate limit exceeded
10632
10675
  */
10633
10676
  429: ErrorResponse;
10677
+ /**
10678
+ * The end user's store could not be reached for a moment; retry shortly
10679
+ */
10680
+ 503: ErrorResponse;
10634
10681
  };
10635
10682
  export type GetEndUserMemoryError = GetEndUserMemoryErrors[keyof GetEndUserMemoryErrors];
10636
10683
  export type GetEndUserMemoryResponses = {
@@ -10683,7 +10730,7 @@ export type UpdateEndUserMemoryErrors = {
10683
10730
  */
10684
10731
  502: ErrorResponse;
10685
10732
  /**
10686
- * Embeddings are not configured
10733
+ * Embeddings are not configured, or the end user's store could not be reached for a moment; retry shortly
10687
10734
  */
10688
10735
  503: ErrorResponse;
10689
10736
  };
@@ -10732,6 +10779,10 @@ export type CreateEndUserNoteErrors = {
10732
10779
  * Rate limit exceeded
10733
10780
  */
10734
10781
  429: ErrorResponse;
10782
+ /**
10783
+ * The end user's store could not be reached for a moment; retry shortly
10784
+ */
10785
+ 503: ErrorResponse;
10735
10786
  };
10736
10787
  export type CreateEndUserNoteError = CreateEndUserNoteErrors[keyof CreateEndUserNoteErrors];
10737
10788
  export type CreateEndUserNoteResponses = {
@@ -10770,6 +10821,10 @@ export type GetEndUserPersonalizationErrors = {
10770
10821
  * Rate limit exceeded
10771
10822
  */
10772
10823
  429: ErrorResponse;
10824
+ /**
10825
+ * The end user's store could not be reached for a moment; retry shortly
10826
+ */
10827
+ 503: ErrorResponse;
10773
10828
  };
10774
10829
  export type GetEndUserPersonalizationError = GetEndUserPersonalizationErrors[keyof GetEndUserPersonalizationErrors];
10775
10830
  export type GetEndUserPersonalizationResponses = {
@@ -10812,6 +10867,10 @@ export type UpdateEndUserPersonalizationErrors = {
10812
10867
  * Rate limit exceeded
10813
10868
  */
10814
10869
  429: ErrorResponse;
10870
+ /**
10871
+ * The end user's store could not be reached for a moment; retry shortly
10872
+ */
10873
+ 503: ErrorResponse;
10815
10874
  };
10816
10875
  export type UpdateEndUserPersonalizationError = UpdateEndUserPersonalizationErrors[keyof UpdateEndUserPersonalizationErrors];
10817
10876
  export type UpdateEndUserPersonalizationResponses = {
@@ -10863,6 +10922,10 @@ export type ListEndUserReportsErrors = {
10863
10922
  * Rate limit exceeded
10864
10923
  */
10865
10924
  429: ErrorResponse;
10925
+ /**
10926
+ * The end user's store could not be reached for a moment; retry shortly
10927
+ */
10928
+ 503: ErrorResponse;
10866
10929
  };
10867
10930
  export type ListEndUserReportsError = ListEndUserReportsErrors[keyof ListEndUserReportsErrors];
10868
10931
  export type ListEndUserReportsResponses = {
@@ -10902,6 +10965,10 @@ export type GetEndUserReportErrors = {
10902
10965
  * Rate limit exceeded
10903
10966
  */
10904
10967
  429: ErrorResponse;
10968
+ /**
10969
+ * The end user's store could not be reached for a moment; retry shortly
10970
+ */
10971
+ 503: ErrorResponse;
10905
10972
  };
10906
10973
  export type GetEndUserReportError = GetEndUserReportErrors[keyof GetEndUserReportErrors];
10907
10974
  export type GetEndUserReportResponses = {
@@ -10953,6 +11020,10 @@ export type PostToolResultErrors = {
10953
11020
  * Rate limit exceeded
10954
11021
  */
10955
11022
  429: ErrorResponse;
11023
+ /**
11024
+ * The end user's store could not be reached for a moment; retry shortly
11025
+ */
11026
+ 503: ErrorResponse;
10956
11027
  };
10957
11028
  export type PostToolResultError = PostToolResultErrors[keyof PostToolResultErrors];
10958
11029
  export type PostToolResultResponses = {
@@ -10991,6 +11062,10 @@ export type ListEndUserStatesErrors = {
10991
11062
  * Rate limit exceeded
10992
11063
  */
10993
11064
  429: ErrorResponse;
11065
+ /**
11066
+ * The end user's store could not be reached for a moment; retry shortly
11067
+ */
11068
+ 503: ErrorResponse;
10994
11069
  };
10995
11070
  export type ListEndUserStatesError = ListEndUserStatesErrors[keyof ListEndUserStatesErrors];
10996
11071
  export type ListEndUserStatesResponses = {
@@ -11030,6 +11105,10 @@ export type DeleteEndUserStateErrors = {
11030
11105
  * Rate limit exceeded
11031
11106
  */
11032
11107
  429: ErrorResponse;
11108
+ /**
11109
+ * The end user's store could not be reached for a moment; retry shortly
11110
+ */
11111
+ 503: ErrorResponse;
11033
11112
  };
11034
11113
  export type DeleteEndUserStateError = DeleteEndUserStateErrors[keyof DeleteEndUserStateErrors];
11035
11114
  export type DeleteEndUserStateResponses = {
@@ -11069,6 +11148,10 @@ export type GetEndUserStateErrors = {
11069
11148
  * Rate limit exceeded
11070
11149
  */
11071
11150
  429: ErrorResponse;
11151
+ /**
11152
+ * The end user's store could not be reached for a moment; retry shortly
11153
+ */
11154
+ 503: ErrorResponse;
11072
11155
  };
11073
11156
  export type GetEndUserStateError = GetEndUserStateErrors[keyof GetEndUserStateErrors];
11074
11157
  export type GetEndUserStateResponses = {
@@ -11112,6 +11195,10 @@ export type SetEndUserStateErrors = {
11112
11195
  * Rate limit exceeded
11113
11196
  */
11114
11197
  429: ErrorResponse;
11198
+ /**
11199
+ * The end user's store could not be reached for a moment; retry shortly
11200
+ */
11201
+ 503: ErrorResponse;
11115
11202
  };
11116
11203
  export type SetEndUserStateError = SetEndUserStateErrors[keyof SetEndUserStateErrors];
11117
11204
  export type SetEndUserStateResponses = {
@@ -11163,6 +11250,10 @@ export type ListEndUserRelationsErrors = {
11163
11250
  * Rate limit exceeded
11164
11251
  */
11165
11252
  429: ErrorResponse;
11253
+ /**
11254
+ * The end user's store could not be reached for a moment; retry shortly
11255
+ */
11256
+ 503: ErrorResponse;
11166
11257
  };
11167
11258
  export type ListEndUserRelationsError = ListEndUserRelationsErrors[keyof ListEndUserRelationsErrors];
11168
11259
  export type ListEndUserRelationsResponses = {
@@ -11202,6 +11293,10 @@ export type ResetEndUserRelationErrors = {
11202
11293
  * Rate limit exceeded
11203
11294
  */
11204
11295
  429: ErrorResponse;
11296
+ /**
11297
+ * The end user's store could not be reached for a moment; retry shortly
11298
+ */
11299
+ 503: ErrorResponse;
11205
11300
  };
11206
11301
  export type ResetEndUserRelationError = ResetEndUserRelationErrors[keyof ResetEndUserRelationErrors];
11207
11302
  export type ResetEndUserRelationResponses = {
@@ -11256,6 +11351,10 @@ export type ListScheduledMessagesErrors = {
11256
11351
  * Rate limit exceeded
11257
11352
  */
11258
11353
  429: ErrorResponse;
11354
+ /**
11355
+ * The end user's store could not be reached for a moment; retry shortly
11356
+ */
11357
+ 503: ErrorResponse;
11259
11358
  };
11260
11359
  export type ListScheduledMessagesError = ListScheduledMessagesErrors[keyof ListScheduledMessagesErrors];
11261
11360
  export type ListScheduledMessagesResponses = {
@@ -11362,6 +11461,10 @@ export type CancelScheduledMessageErrors = {
11362
11461
  * Rate limit exceeded
11363
11462
  */
11364
11463
  429: ErrorResponse;
11464
+ /**
11465
+ * The end user's store could not be reached for a moment; retry shortly
11466
+ */
11467
+ 503: ErrorResponse;
11365
11468
  };
11366
11469
  export type CancelScheduledMessageError = CancelScheduledMessageErrors[keyof CancelScheduledMessageErrors];
11367
11470
  export type CancelScheduledMessageResponses = {
@@ -11407,6 +11510,10 @@ export type GetScheduledMessageErrors = {
11407
11510
  * Rate limit exceeded
11408
11511
  */
11409
11512
  429: ErrorResponse;
11513
+ /**
11514
+ * The end user's store could not be reached for a moment; retry shortly
11515
+ */
11516
+ 503: ErrorResponse;
11410
11517
  };
11411
11518
  export type GetScheduledMessageError = GetScheduledMessageErrors[keyof GetScheduledMessageErrors];
11412
11519
  export type GetScheduledMessageResponses = {
@@ -11748,6 +11855,10 @@ export type CreateKnowledgeUploadUrlErrors = {
11748
11855
  * Rate limit exceeded
11749
11856
  */
11750
11857
  429: ErrorResponse;
11858
+ /**
11859
+ * Knowledge from a file is unavailable: R2's S3 credentials are not set.
11860
+ */
11861
+ 503: ErrorResponse;
11751
11862
  };
11752
11863
  export type CreateKnowledgeUploadUrlError = CreateKnowledgeUploadUrlErrors[keyof CreateKnowledgeUploadUrlErrors];
11753
11864
  export type CreateKnowledgeUploadUrlResponses = {
@@ -12875,7 +12986,7 @@ export type DesignVoiceErrors = {
12875
12986
  */
12876
12987
  502: ErrorResponse;
12877
12988
  /**
12878
- * Voice design or object storage not configured
12989
+ * Voice design is not configured here for the designer asked for (`provider`): there is no API key for it
12879
12990
  */
12880
12991
  503: ErrorResponse;
12881
12992
  };
@@ -12927,7 +13038,7 @@ export type SaveDesignedVoiceErrors = {
12927
13038
  */
12928
13039
  502: ErrorResponse;
12929
13040
  /**
12930
- * Object storage, the worker, or the provider asked for is unavailable
13041
+ * Voice design is not configured here for the designer asked for (`provider`): there is no API key for it
12931
13042
  */
12932
13043
  503: ErrorResponse;
12933
13044
  };
@@ -12948,10 +13059,6 @@ export type DeleteVoiceData = {
12948
13059
  url: '/v1/voices/{voice_id}';
12949
13060
  };
12950
13061
  export type DeleteVoiceErrors = {
12951
- /**
12952
- * The request could not be read: malformed JSON
12953
- */
12954
- 400: ErrorResponse;
12955
13062
  /**
12956
13063
  * Missing or invalid credentials
12957
13064
  */
@@ -12990,10 +13097,6 @@ export type GetVoiceData = {
12990
13097
  url: '/v1/voices/{voice_id}';
12991
13098
  };
12992
13099
  export type GetVoiceErrors = {
12993
- /**
12994
- * The request could not be read: malformed JSON
12995
- */
12996
- 400: ErrorResponse;
12997
13100
  /**
12998
13101
  * Missing or invalid credentials
12999
13102
  */
@@ -13074,10 +13177,6 @@ export type ResampleVoiceData = {
13074
13177
  url: '/v1/voices/{voice_id}/sample';
13075
13178
  };
13076
13179
  export type ResampleVoiceErrors = {
13077
- /**
13078
- * The request could not be read: malformed JSON
13079
- */
13080
- 400: ErrorResponse;
13081
13180
  /**
13082
13181
  * Missing or invalid credentials
13083
13182
  */
@@ -13106,10 +13205,6 @@ export type ResampleVoiceErrors = {
13106
13205
  * Rate limit exceeded
13107
13206
  */
13108
13207
  429: ErrorResponse;
13109
- /**
13110
- * Object storage, the worker, or the provider asked for is unavailable
13111
- */
13112
- 503: ErrorResponse;
13113
13208
  };
13114
13209
  export type ResampleVoiceError = ResampleVoiceErrors[keyof ResampleVoiceErrors];
13115
13210
  export type ResampleVoiceResponses = {
@@ -246,6 +246,13 @@ export declare class EndUsers extends Editable<EndUserInfo, EndUserUpdateRequest
246
246
  * Makes a person, or finds the one your `external_id` already names.
247
247
  * 409 when the plan's maximum end users is reached (a repeat of an
248
248
  * existing `external_id` is answered as ever).
249
+ *
250
+ * `region` is where their conversations and memory are kept: read only
251
+ * when this call creates them, and fixed after — the answer's `region`
252
+ * says where they are, and `region_source` who decided. Without one they
253
+ * are placed near whoever reaches them first. A 503 when that region
254
+ * could not be reached: nobody was created — sent again by itself with
255
+ * an `external_id`, yours to send again without one.
249
256
  */
250
257
  create(body?: EndUserCreateRequest, options?: RequestOptions): Promise<EndUserCreated>;
251
258
  /** One page, newest first, with the `next_cursor` of the next. */
@@ -134,6 +134,13 @@ export class EndUsers extends Editable {
134
134
  * Makes a person, or finds the one your `external_id` already names.
135
135
  * 409 when the plan's maximum end users is reached (a repeat of an
136
136
  * existing `external_id` is answered as ever).
137
+ *
138
+ * `region` is where their conversations and memory are kept: read only
139
+ * when this call creates them, and fixed after — the answer's `region`
140
+ * says where they are, and `region_source` who decided. Without one they
141
+ * are placed near whoever reaches them first. A 503 when that region
142
+ * could not be reached: nobody was created — sent again by itself with
143
+ * an `external_id`, yours to send again without one.
137
144
  */
138
145
  async create(body = {}, options) {
139
146
  const answer = await this.api.request({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lumavox/server",
3
- "version": "0.63.1",
3
+ "version": "0.65.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",