@lumavox/server 0.52.0 → 0.54.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 +2 -2
- package/dist/gen/index.d.ts +1 -1
- package/dist/gen/types.gen.d.ts +369 -10
- package/dist/resources/agents.d.ts +15 -1
- package/dist/resources/agents.js +13 -0
- package/dist/resources/end-users.d.ts +17 -5
- package/dist/resources/end-users.js +2 -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.delete`, `memories.deleteAll`; `personalization.get`, `personalization.update`, `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`, `note`; `scheduledMessages.create`, `scheduledMessages.list`, `scheduledMessages.get`, `scheduledMessages.cancel`; `reports.list`, `reports.page`, `reports.get` |
|
|
68
68
|
| `ephemeralKeys` | `limits`, `create`, `get`, `revoke`, `inspect`, `list`, `page` |
|
|
69
69
|
| `images`, `videos`, `audio`, `skybox`, `transcriptions` | `create`, `get`, `wait`, `generate`; `images.draftLayout`, `images.findElements`; `skybox.styles` |
|
|
70
70
|
| `generations` | `get`, `wait`, `list`, `page` |
|
|
@@ -72,7 +72,7 @@ list's page.
|
|
|
72
72
|
| `tts`, `stt` | `create` |
|
|
73
73
|
| `voices` | `list`, `page`, `get`, `create`, `uploadUrl`, `upload`, `update`, `delete`, `resample`, `design`, `saveDesign`, `wait` |
|
|
74
74
|
| `assets` | `list`, `page`, `get`, `uploadUrl`, `confirm`, `upload`, `update`, `delete`, `deleteMany`, `move`, `wait`; `assets.folders.*` |
|
|
75
|
-
| `agents` | `list`, `page`, `get`, `create`, `update`, `delete`; `agents.testWebhook`; `agents.settings.get/update/rotateWebhookSecret`; `agents.knowledge.list/set`; `agents.tools.list/set`; `agents.versions.list/get/restore` — every change players see is a version, any kept one put back; `agents.draft.get/update/discard/publish` — changes players get only once published |
|
|
75
|
+
| `agents` | `list`, `page`, `get`, `create`, `update`, `delete`; `agents.prompt` — everything the agent is told and set to; `agents.testWebhook`; `agents.settings.get/update/rotateWebhookSecret`; `agents.knowledge.list/set`; `agents.tools.list/set`; `agents.versions.list/get/restore` — every change players see is a version, any kept one put back; `agents.draft.get/update/discard/publish` — changes players get only once published |
|
|
76
76
|
| `tools` | `list`, `page`, `get`, `create` (a webhook's signing secret, shown once), `update`, `delete`, `rotateSecret`, `test`, `calls` |
|
|
77
77
|
| `knowledge` | `list`, `page`, `get`, `create`, `bulk`, `fromUrl`, `uploadUrl`, `fromFile`, `upload`, `update`, `delete`, `reindex`, `refresh`, `setAgents`, `search`, `categories`, `insights`, `wait` |
|
|
78
78
|
| `usage` | `get`, `plan` |
|
package/dist/gen/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export type { AgentCreateRequest, AgentDefaults, AgentDefaultsUpdate, AgentDraft, AgentDraftPublish, AgentDraftUpdate, AgentHandoff, AgentHandoffInfo, AgentInfo, AgentKnowledgeUpdate, AgentPage, AgentQuietHours, AgentReportField, AgentReportFieldInfo, AgentRestored, AgentSettingsInfo, AgentSettingsUpdate, AgentsFollowing, AgentStt, AgentSttInfo, AgentSummary, AgentToolsUpdate, AgentUpdate, AgentVersion, AgentVersionPage, AgentVersionRestore, AgentVersionSummary, AgentVoice, AgentVoiceInfo, ApiKeySelf, AssetBulkRequest, AssetDetail, AssetMoveRequest, AssetPage, AssetsAffected, AssetSummary, AssetUpdate, AssignedAgent, AudioRequest, BulkEditKnowledgeData, BulkEditKnowledgeError, BulkEditKnowledgeErrors, BulkEditKnowledgeResponse, BulkEditKnowledgeResponses, CancelScheduledMessageData, CancelScheduledMessageError, CancelScheduledMessageErrors, CancelScheduledMessageResponse, CancelScheduledMessageResponses, ClientOptions, CompactionInfo, CompactRequest, CompactSessionData, CompactSessionError, CompactSessionErrors, CompactSessionResponse, CompactSessionResponses, ConfirmAssetUploadData, ConfirmAssetUploadError, ConfirmAssetUploadErrors, ConfirmAssetUploadResponse, ConfirmAssetUploadResponses, ConversationReport, ConversationReportPage, CreateAgentData, CreateAgentError, CreateAgentErrors, CreateAgentResponse, CreateAgentResponses, CreateAssetFolderData, CreateAssetFolderError, CreateAssetFolderErrors, CreateAssetFolderResponse, CreateAssetFolderResponses, CreateAssetUploadUrlData, CreateAssetUploadUrlError, CreateAssetUploadUrlErrors, CreateAssetUploadUrlResponse, CreateAssetUploadUrlResponses, CreateAudioData, CreateAudioError, CreateAudioErrors, CreateAudioResponse, CreateAudioResponses, CreateEndUserData, CreateEndUserError, CreateEndUserErrors, CreateEndUserFactData, CreateEndUserFactError, CreateEndUserFactErrors, CreateEndUserFactResponse, CreateEndUserFactResponses, 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, 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, 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, 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, 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, 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, MemoryInfo, MemoryPage, 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, 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, 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 { AgentCreateRequest, AgentDefaults, AgentDefaultsUpdate, AgentDraft, AgentDraftPublish, AgentDraftUpdate, AgentHandoff, AgentHandoffInfo, AgentInfo, AgentKnowledgeUpdate, AgentPage, AgentPrompt, AgentPromptPart, AgentPromptVoice, AgentQuietHours, AgentReportField, AgentReportFieldInfo, AgentRestored, AgentSettingInForce, AgentSettingsInfo, AgentSettingsUpdate, AgentsFollowing, AgentStt, AgentSttInfo, AgentSummary, AgentToolsUpdate, AgentUpdate, AgentVersion, AgentVersionPage, AgentVersionRestore, AgentVersionSummary, AgentVoice, AgentVoiceInfo, ApiKeySelf, AssetBulkRequest, AssetDetail, AssetMoveRequest, AssetPage, AssetsAffected, AssetSummary, AssetUpdate, AssignedAgent, AudioRequest, BulkEditKnowledgeData, BulkEditKnowledgeError, BulkEditKnowledgeErrors, BulkEditKnowledgeResponse, BulkEditKnowledgeResponses, CancelScheduledMessageData, CancelScheduledMessageError, CancelScheduledMessageErrors, CancelScheduledMessageResponse, CancelScheduledMessageResponses, ClientOptions, CompactionInfo, CompactRequest, CompactSessionData, CompactSessionError, CompactSessionErrors, CompactSessionResponse, CompactSessionResponses, ConfirmAssetUploadData, ConfirmAssetUploadError, ConfirmAssetUploadErrors, ConfirmAssetUploadResponse, ConfirmAssetUploadResponses, ConversationReport, ConversationReportPage, CreateAgentData, CreateAgentError, CreateAgentErrors, CreateAgentResponse, CreateAgentResponses, CreateAssetFolderData, CreateAssetFolderError, CreateAssetFolderErrors, CreateAssetFolderResponse, CreateAssetFolderResponses, CreateAssetUploadUrlData, CreateAssetUploadUrlError, CreateAssetUploadUrlErrors, CreateAssetUploadUrlResponse, CreateAssetUploadUrlResponses, CreateAudioData, CreateAudioError, CreateAudioErrors, CreateAudioResponse, CreateAudioResponses, CreateEndUserData, CreateEndUserError, CreateEndUserErrors, CreateEndUserFactData, CreateEndUserFactError, CreateEndUserFactErrors, CreateEndUserFactResponse, CreateEndUserFactResponses, CreateEndUserMemoryData, CreateEndUserMemoryError, CreateEndUserMemoryErrors, CreateEndUserMemoryResponse, CreateEndUserMemoryResponses, CreateEndUserNoteData, CreateEndUserNoteError, CreateEndUserNoteErrors, CreateEndUserNoteResponse, CreateEndUserNoteResponses, CreateEndUserResponse, CreateEndUserResponses, CreateEphemeralKeyData, CreateEphemeralKeyError, CreateEphemeralKeyErrors, CreateEphemeralKeyResponse, CreateEphemeralKeyResponses, CreateFactData, CreateFactError, CreateFactErrors, CreateFactResponse, CreateFactResponses, CreateImageData, CreateImageError, CreateImageErrors, CreateImageResponse, CreateImageResponses, CreateKnowledgeData, CreateKnowledgeError, CreateKnowledgeErrors, CreateKnowledgeFromFileData, CreateKnowledgeFromFileError, CreateKnowledgeFromFileErrors, CreateKnowledgeFromFileResponse, CreateKnowledgeFromFileResponses, CreateKnowledgeFromUrlData, CreateKnowledgeFromUrlError, CreateKnowledgeFromUrlErrors, CreateKnowledgeFromUrlResponse, CreateKnowledgeFromUrlResponses, CreateKnowledgeResponse, CreateKnowledgeResponses, CreateKnowledgeUploadUrlData, CreateKnowledgeUploadUrlError, CreateKnowledgeUploadUrlErrors, CreateKnowledgeUploadUrlResponse, CreateKnowledgeUploadUrlResponses, CreateScheduledMessageData, CreateScheduledMessageError, CreateScheduledMessageErrors, CreateScheduledMessageResponse, CreateScheduledMessageResponses, CreateSessionData, CreateSessionError, CreateSessionErrors, CreateSessionResponse, CreateSessionResponses, CreateSkyboxData, CreateSkyboxError, CreateSkyboxErrors, CreateSkyboxResponse, CreateSkyboxResponses, CreateToolData, CreateToolError, CreateToolErrors, CreateToolResponse, CreateToolResponses, CreateTranscriptionData, CreateTranscriptionError, CreateTranscriptionErrors, CreateTranscriptionResponse, CreateTranscriptionResponses, CreateVideoData, CreateVideoError, CreateVideoErrors, CreateVideoResponse, CreateVideoResponses, CreateVoiceData, CreateVoiceError, CreateVoiceErrors, CreateVoiceResponse, CreateVoiceResponses, CreateVoiceUploadUrlData, CreateVoiceUploadUrlError, CreateVoiceUploadUrlErrors, CreateVoiceUploadUrlResponse, CreateVoiceUploadUrlResponses, DeleteAgentData, DeleteAgentError, DeleteAgentErrors, DeleteAgentResponse, DeleteAgentResponses, DeleteAllEndUserMemoriesData, DeleteAllEndUserMemoriesError, DeleteAllEndUserMemoriesErrors, DeleteAllEndUserMemoriesResponse, DeleteAllEndUserMemoriesResponses, DeleteAllFactsData, DeleteAllFactsError, DeleteAllFactsErrors, DeleteAllFactsResponse, DeleteAllFactsResponses, DeleteAllMemoriesData, DeleteAllMemoriesError, DeleteAllMemoriesErrors, DeleteAllMemoriesResponse, DeleteAllMemoriesResponses, DeleteAssetData, DeleteAssetError, DeleteAssetErrors, DeleteAssetFolderData, DeleteAssetFolderError, DeleteAssetFolderErrors, DeleteAssetFolderResponse, DeleteAssetFolderResponses, DeleteAssetResponse, DeleteAssetResponses, DeleteAssetsData, DeleteAssetsError, DeleteAssetsErrors, DeleteAssetsResponse, DeleteAssetsResponses, DeleteEndUserData, DeleteEndUserError, DeleteEndUserErrors, DeleteEndUserFactData, DeleteEndUserFactError, DeleteEndUserFactErrors, DeleteEndUserFactResponse, DeleteEndUserFactResponses, DeleteEndUserMemoryData, DeleteEndUserMemoryError, DeleteEndUserMemoryErrors, DeleteEndUserMemoryResponse, DeleteEndUserMemoryResponses, DeleteEndUserResponse, DeleteEndUserResponses, 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, 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, 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, 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, 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
|
@@ -1761,6 +1761,10 @@ export type FactInfo = {
|
|
|
1761
1761
|
confirmed_at: string | null;
|
|
1762
1762
|
created_at: string;
|
|
1763
1763
|
id: string;
|
|
1764
|
+
/**
|
|
1765
|
+
* You pinned it: every agent that sees it recalls it first on every turn, outside what recall's budget holds (at most the platform's `agents.memory.pinned_max` a person, `GET /v1/platform/limits`).
|
|
1766
|
+
*/
|
|
1767
|
+
pinned: boolean;
|
|
1764
1768
|
/**
|
|
1765
1769
|
* When a later conversation replaced or removed it; `null` while it stands. Listed only with `include_replaced=true`.
|
|
1766
1770
|
*/
|
|
@@ -1792,12 +1796,23 @@ export type FactCreateRequest = {
|
|
|
1792
1796
|
* Keep it to one agent: only that agent recalls it. Unset or `null`: every agent of yours that shares its facts — and the ones that keep their own, too.
|
|
1793
1797
|
*/
|
|
1794
1798
|
agent_id?: string | null;
|
|
1799
|
+
/**
|
|
1800
|
+
* `true` pins it: every agent that sees it recalls it first on every turn, however many newer facts there are. At most the platform's `agents.memory.pinned_max` pinned facts a person (`GET /v1/platform/limits`); one more is a 409.
|
|
1801
|
+
*/
|
|
1802
|
+
pinned?: boolean;
|
|
1795
1803
|
};
|
|
1804
|
+
/**
|
|
1805
|
+
* `text`, `pinned` or both; at least one.
|
|
1806
|
+
*/
|
|
1796
1807
|
export type FactUpdateRequest = {
|
|
1797
1808
|
/**
|
|
1798
1809
|
* What to remember about the person, as one plain statement: "Prefers to be called Sam." At most 500 characters. Never a secret — a password, a code, a card, account or identity number, or a key is refused, since facts are sent to the model on every turn.
|
|
1799
1810
|
*/
|
|
1800
|
-
text
|
|
1811
|
+
text?: string;
|
|
1812
|
+
/**
|
|
1813
|
+
* `true` pins it, `false` unpins it. At most the platform's `agents.memory.pinned_max` pinned facts a person (`GET /v1/platform/limits`); one more is a 409.
|
|
1814
|
+
*/
|
|
1815
|
+
pinned?: boolean;
|
|
1801
1816
|
};
|
|
1802
1817
|
export type FactsDeleted = {
|
|
1803
1818
|
/**
|
|
@@ -1817,15 +1832,15 @@ export type MemoryPage = {
|
|
|
1817
1832
|
*/
|
|
1818
1833
|
export type MemoryInfo = {
|
|
1819
1834
|
/**
|
|
1820
|
-
* The agent whose conversation first wrote it.
|
|
1835
|
+
* The agent whose conversation first wrote it, or the agent you wrote it for; `null` for one you wrote for every agent.
|
|
1821
1836
|
*/
|
|
1822
|
-
agent_id: string;
|
|
1837
|
+
agent_id: string | null;
|
|
1823
1838
|
/**
|
|
1824
|
-
* One of the writing agent's `memory_categories`, or the platform's.
|
|
1839
|
+
* One of the writing agent's `memory_categories`, or the platform's — or the one you gave it.
|
|
1825
1840
|
*/
|
|
1826
1841
|
category: string;
|
|
1827
1842
|
/**
|
|
1828
|
-
* The topic's story so far, dated, ending with where it stands — rewritten whole by each conversation that comes back to it.
|
|
1843
|
+
* The topic's story so far, dated, ending with where it stands — rewritten whole by each conversation that comes back to it. One you wrote, a conversation only adds to.
|
|
1829
1844
|
*/
|
|
1830
1845
|
content: string;
|
|
1831
1846
|
/**
|
|
@@ -1839,13 +1854,21 @@ export type MemoryInfo = {
|
|
|
1839
1854
|
first_talked_at: string;
|
|
1840
1855
|
id: string;
|
|
1841
1856
|
/**
|
|
1842
|
-
* The latest message it was written from.
|
|
1857
|
+
* The latest message it was written from; for one you wrote, when you wrote it until a conversation adds to it.
|
|
1843
1858
|
*/
|
|
1844
1859
|
last_talked_at: string;
|
|
1845
1860
|
/**
|
|
1846
|
-
*
|
|
1861
|
+
* You pinned it: its title and summary head the topics every agent that sees it is shown at a conversation's open, however old.
|
|
1862
|
+
*/
|
|
1863
|
+
pinned: boolean;
|
|
1864
|
+
/**
|
|
1865
|
+
* `person`: every agent of yours that shares memories sees it — and the ones that keep their own, too, when you wrote it. `agent`: only `agent_id` sees it (`memories_scope`, or written for that agent).
|
|
1847
1866
|
*/
|
|
1848
1867
|
scope: 'person' | 'agent';
|
|
1868
|
+
/**
|
|
1869
|
+
* `conversation`: a reading wrote it. `customer`: you wrote or changed it — a later conversation may add to it, never take it over.
|
|
1870
|
+
*/
|
|
1871
|
+
source: 'conversation' | 'customer';
|
|
1849
1872
|
/**
|
|
1850
1873
|
* One line: where it stands now.
|
|
1851
1874
|
*/
|
|
@@ -1856,7 +1879,7 @@ export type MemoryInfo = {
|
|
|
1856
1879
|
title: string;
|
|
1857
1880
|
updated_at: string;
|
|
1858
1881
|
/**
|
|
1859
|
-
* Moves by one each time a conversation
|
|
1882
|
+
* Moves by one each time its words are rewritten, by a conversation or by you.
|
|
1860
1883
|
*/
|
|
1861
1884
|
version: number;
|
|
1862
1885
|
};
|
|
@@ -4396,6 +4419,127 @@ export type AgentVersionRestore = {
|
|
|
4396
4419
|
*/
|
|
4397
4420
|
expected_version?: number | null;
|
|
4398
4421
|
};
|
|
4422
|
+
export type AgentPrompt = {
|
|
4423
|
+
agent_id: string;
|
|
4424
|
+
/**
|
|
4425
|
+
* The draft laid over the agent, as a test chat runs it; `false`, what players have.
|
|
4426
|
+
*/
|
|
4427
|
+
draft: boolean;
|
|
4428
|
+
/**
|
|
4429
|
+
* The person whose part is shown; `null` shows marked placeholders where a person's facts, topics, history and summary go.
|
|
4430
|
+
*/
|
|
4431
|
+
end_user_id: string | null;
|
|
4432
|
+
model: string;
|
|
4433
|
+
/**
|
|
4434
|
+
* The whole system instruction, as the model is sent it; empty for an agent with nothing to say.
|
|
4435
|
+
*/
|
|
4436
|
+
instruction: string;
|
|
4437
|
+
/**
|
|
4438
|
+
* The instruction in its parts, in order: joined by a blank line, they are `instruction`.
|
|
4439
|
+
*/
|
|
4440
|
+
parts: Array<AgentPromptPart>;
|
|
4441
|
+
/**
|
|
4442
|
+
* The model's settings as Gemini is sent them; `null` sends none.
|
|
4443
|
+
*/
|
|
4444
|
+
generation_config: {
|
|
4445
|
+
[key: string]: unknown;
|
|
4446
|
+
} | null;
|
|
4447
|
+
/**
|
|
4448
|
+
* Each tool the model is offered, as it reads it: the platform's, your webhook tools and every app tool — an app's only on a connection that runs it.
|
|
4449
|
+
*/
|
|
4450
|
+
tools: Array<{
|
|
4451
|
+
[key: string]: unknown;
|
|
4452
|
+
}>;
|
|
4453
|
+
/**
|
|
4454
|
+
* Gemini's own tools switched on: `url_context`, `code_execution`.
|
|
4455
|
+
*/
|
|
4456
|
+
builtin_tools: Array<string>;
|
|
4457
|
+
/**
|
|
4458
|
+
* Every setting in force, with where its value comes from.
|
|
4459
|
+
*/
|
|
4460
|
+
settings: Array<AgentSettingInForce>;
|
|
4461
|
+
/**
|
|
4462
|
+
* The voice a conversation speaks with; `null` with no voice.
|
|
4463
|
+
*/
|
|
4464
|
+
voice: AgentPromptVoice | null;
|
|
4465
|
+
/**
|
|
4466
|
+
* Why its voice cannot be spoken, or `null`.
|
|
4467
|
+
*/
|
|
4468
|
+
voice_problem: string | null;
|
|
4469
|
+
/**
|
|
4470
|
+
* How a spoken turn is transcribed, unless a recording names its own.
|
|
4471
|
+
*/
|
|
4472
|
+
hearing: {
|
|
4473
|
+
model: string;
|
|
4474
|
+
language: string | null;
|
|
4475
|
+
sample_rate: number;
|
|
4476
|
+
mark_spoken: boolean;
|
|
4477
|
+
};
|
|
4478
|
+
/**
|
|
4479
|
+
* What the agent knows and how it reaches it.
|
|
4480
|
+
*/
|
|
4481
|
+
knowledge: {
|
|
4482
|
+
enabled: boolean;
|
|
4483
|
+
/**
|
|
4484
|
+
* `prompt`: all of it is in the instruction; `lookup`: searched for each message.
|
|
4485
|
+
*/
|
|
4486
|
+
mode: 'prompt' | 'lookup';
|
|
4487
|
+
lookup_first: boolean;
|
|
4488
|
+
max_results: number | null;
|
|
4489
|
+
/**
|
|
4490
|
+
* Entries a lookup may find.
|
|
4491
|
+
*/
|
|
4492
|
+
entries: number;
|
|
4493
|
+
/**
|
|
4494
|
+
* Estimated tokens of knowledge in the instruction.
|
|
4495
|
+
*/
|
|
4496
|
+
inline_tokens: number;
|
|
4497
|
+
};
|
|
4498
|
+
};
|
|
4499
|
+
export type AgentPromptPart = {
|
|
4500
|
+
/**
|
|
4501
|
+
* Where the part comes from: `agent`, its settings; `knowledge`, its knowledge; `person`, what is known of the person; `key`, what a key changes for one conversation.
|
|
4502
|
+
*/
|
|
4503
|
+
source: 'agent' | 'knowledge' | 'person' | 'key';
|
|
4504
|
+
/**
|
|
4505
|
+
* The part's heading, without its `## `. The opening paragraph, which has none, is `Opening`.
|
|
4506
|
+
*/
|
|
4507
|
+
heading: string;
|
|
4508
|
+
/**
|
|
4509
|
+
* Exactly what the model is sent, its heading included.
|
|
4510
|
+
*/
|
|
4511
|
+
text: string;
|
|
4512
|
+
};
|
|
4513
|
+
export type AgentSettingInForce = {
|
|
4514
|
+
/**
|
|
4515
|
+
* The setting, as the agent names it.
|
|
4516
|
+
*/
|
|
4517
|
+
field: string;
|
|
4518
|
+
/**
|
|
4519
|
+
* Its value as a conversation runs with it: the agent's, the organisation's or the platform's. `null` is the model's own default.
|
|
4520
|
+
*/
|
|
4521
|
+
value?: unknown;
|
|
4522
|
+
/**
|
|
4523
|
+
* Where the value comes from: `agent`, its own; `organisation`, the organisation's default it follows or falls back to; `platform`, left unset, so the platform's or the model's.
|
|
4524
|
+
*/
|
|
4525
|
+
source: 'agent' | 'organisation' | 'platform';
|
|
4526
|
+
};
|
|
4527
|
+
export type AgentPromptVoice = {
|
|
4528
|
+
voice_id: string;
|
|
4529
|
+
provider: string;
|
|
4530
|
+
model_id: string;
|
|
4531
|
+
/**
|
|
4532
|
+
* The language it is told to speak in; `null` lets the provider tell.
|
|
4533
|
+
*/
|
|
4534
|
+
language: string | null;
|
|
4535
|
+
sample_rate: number;
|
|
4536
|
+
/**
|
|
4537
|
+
* The voice's settings as the provider is sent them.
|
|
4538
|
+
*/
|
|
4539
|
+
settings: {
|
|
4540
|
+
[key: string]: unknown;
|
|
4541
|
+
};
|
|
4542
|
+
};
|
|
4399
4543
|
export type AgentDraft = {
|
|
4400
4544
|
agent: AgentInfo;
|
|
4401
4545
|
/**
|
|
@@ -4920,6 +5064,57 @@ export type EndUserDeleted = {
|
|
|
4920
5064
|
*/
|
|
4921
5065
|
sessions_deleted: number;
|
|
4922
5066
|
};
|
|
5067
|
+
export type MemoryCreateRequest = {
|
|
5068
|
+
/**
|
|
5069
|
+
* The topic, short: one line of at most 80 characters.
|
|
5070
|
+
*/
|
|
5071
|
+
title: string;
|
|
5072
|
+
/**
|
|
5073
|
+
* One line, at most 100 characters: where it stands now. Shown with the title at every conversation's open.
|
|
5074
|
+
*/
|
|
5075
|
+
summary?: string;
|
|
5076
|
+
/**
|
|
5077
|
+
* Its story: what happened, dated. At most the platform's `agents.memory.memories.content_max_chars` (`GET /v1/platform/limits`). Never a secret — a password, a code, a card, account or identity number, or a key is refused.
|
|
5078
|
+
*/
|
|
5079
|
+
content: string;
|
|
5080
|
+
/**
|
|
5081
|
+
* A category, one line of at most 40 characters — best one of the agent's `memory_categories`, or the platform's. Unset: the platform list's catch-all.
|
|
5082
|
+
*/
|
|
5083
|
+
category?: string;
|
|
5084
|
+
/**
|
|
5085
|
+
* Keep it to one agent: only that agent sees it. Unset or `null`: every agent of yours that shares memories — and the ones that keep their own, too.
|
|
5086
|
+
*/
|
|
5087
|
+
agent_id?: string | null;
|
|
5088
|
+
/**
|
|
5089
|
+
* `true` pins it: its title and summary head the topics every agent that sees it is shown at a conversation's open, however old. At most the platform's `agents.memory.pinned_max` pinned memories a person (`GET /v1/platform/limits`); one more is a 409.
|
|
5090
|
+
*/
|
|
5091
|
+
pinned?: boolean;
|
|
5092
|
+
};
|
|
5093
|
+
/**
|
|
5094
|
+
* Any of its words, its category or its pin; at least one.
|
|
5095
|
+
*/
|
|
5096
|
+
export type MemoryUpdateRequest = {
|
|
5097
|
+
/**
|
|
5098
|
+
* The topic, short: one line of at most 80 characters.
|
|
5099
|
+
*/
|
|
5100
|
+
title?: string;
|
|
5101
|
+
/**
|
|
5102
|
+
* One line, at most 100 characters: where it stands now. Shown with the title at every conversation's open.
|
|
5103
|
+
*/
|
|
5104
|
+
summary?: string;
|
|
5105
|
+
/**
|
|
5106
|
+
* Its story: what happened, dated. At most the platform's `agents.memory.memories.content_max_chars` (`GET /v1/platform/limits`). Never a secret — a password, a code, a card, account or identity number, or a key is refused.
|
|
5107
|
+
*/
|
|
5108
|
+
content?: string;
|
|
5109
|
+
/**
|
|
5110
|
+
* A category, one line of at most 40 characters — best one of the agent's `memory_categories`, or the platform's. Unset: the platform list's catch-all.
|
|
5111
|
+
*/
|
|
5112
|
+
category?: string;
|
|
5113
|
+
/**
|
|
5114
|
+
* `true` pins it: its title and summary head the topics every agent that sees it is shown at a conversation's open, however old; `false` unpins it. At most the platform's `agents.memory.pinned_max` pinned memories a person; one more is a 409.
|
|
5115
|
+
*/
|
|
5116
|
+
pinned?: boolean;
|
|
5117
|
+
};
|
|
4923
5118
|
export type NoteTaken = {
|
|
4924
5119
|
id: string;
|
|
4925
5120
|
/**
|
|
@@ -8288,6 +8483,10 @@ export type CreateFactErrors = {
|
|
|
8288
8483
|
* The key's scopes do not cover this, or it is pinned to agents and `agent_id` names another
|
|
8289
8484
|
*/
|
|
8290
8485
|
403: ErrorResponse;
|
|
8486
|
+
/**
|
|
8487
|
+
* the person already has the most pinned the platform allows (`agents.memory.pinned_max`)
|
|
8488
|
+
*/
|
|
8489
|
+
409: ErrorResponse;
|
|
8291
8490
|
/**
|
|
8292
8491
|
* No text, or text that looks like a secret — a password, a code, a card, account or identity number, or a key — which no fact may hold
|
|
8293
8492
|
*/
|
|
@@ -8373,7 +8572,7 @@ export type UpdateFactErrors = {
|
|
|
8373
8572
|
*/
|
|
8374
8573
|
404: ErrorResponse;
|
|
8375
8574
|
/**
|
|
8376
|
-
* Replaced by a later conversation,
|
|
8575
|
+
* Replaced by a later conversation, another fact already says that, or the person already has the most pinned the platform allows (`agents.memory.pinned_max`)
|
|
8377
8576
|
*/
|
|
8378
8577
|
409: ErrorResponse;
|
|
8379
8578
|
/**
|
|
@@ -9089,6 +9288,53 @@ export type RestoreAgentVersionResponses = {
|
|
|
9089
9288
|
200: AgentRestored;
|
|
9090
9289
|
};
|
|
9091
9290
|
export type RestoreAgentVersionResponse = RestoreAgentVersionResponses[keyof RestoreAgentVersionResponses];
|
|
9291
|
+
export type GetAgentPromptData = {
|
|
9292
|
+
body?: never;
|
|
9293
|
+
path: {
|
|
9294
|
+
agent_id: string;
|
|
9295
|
+
};
|
|
9296
|
+
query?: {
|
|
9297
|
+
/**
|
|
9298
|
+
* Show the draft laid over the agent, as a test chat runs it.
|
|
9299
|
+
*/
|
|
9300
|
+
draft?: boolean;
|
|
9301
|
+
/**
|
|
9302
|
+
* A person's `eu_…` id or your own id for them: their part shown as a new conversation of theirs would be told. Left out, placeholders.
|
|
9303
|
+
*/
|
|
9304
|
+
end_user_id?: string;
|
|
9305
|
+
};
|
|
9306
|
+
url: '/v1/agents/{agent_id}/prompt';
|
|
9307
|
+
};
|
|
9308
|
+
export type GetAgentPromptErrors = {
|
|
9309
|
+
/**
|
|
9310
|
+
* Missing or invalid credentials
|
|
9311
|
+
*/
|
|
9312
|
+
401: ErrorResponse;
|
|
9313
|
+
/**
|
|
9314
|
+
* 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
|
|
9315
|
+
*/
|
|
9316
|
+
403: ErrorResponse;
|
|
9317
|
+
/**
|
|
9318
|
+
* No such agent, or no such end user
|
|
9319
|
+
*/
|
|
9320
|
+
404: ErrorResponse;
|
|
9321
|
+
/**
|
|
9322
|
+
* The request failed validation
|
|
9323
|
+
*/
|
|
9324
|
+
422: ErrorResponse;
|
|
9325
|
+
/**
|
|
9326
|
+
* Rate limit exceeded
|
|
9327
|
+
*/
|
|
9328
|
+
429: ErrorResponse;
|
|
9329
|
+
};
|
|
9330
|
+
export type GetAgentPromptError = GetAgentPromptErrors[keyof GetAgentPromptErrors];
|
|
9331
|
+
export type GetAgentPromptResponses = {
|
|
9332
|
+
/**
|
|
9333
|
+
* The prompt, the settings in force, the tools, the voice and the hearing
|
|
9334
|
+
*/
|
|
9335
|
+
200: AgentPrompt;
|
|
9336
|
+
};
|
|
9337
|
+
export type GetAgentPromptResponse = GetAgentPromptResponses[keyof GetAgentPromptResponses];
|
|
9092
9338
|
export type DiscardAgentDraftData = {
|
|
9093
9339
|
body?: never;
|
|
9094
9340
|
path: {
|
|
@@ -9586,6 +9832,10 @@ export type CreateEndUserFactErrors = {
|
|
|
9586
9832
|
* Unknown end user id
|
|
9587
9833
|
*/
|
|
9588
9834
|
404: ErrorResponse;
|
|
9835
|
+
/**
|
|
9836
|
+
* the person already has the most pinned the platform allows (`agents.memory.pinned_max`)
|
|
9837
|
+
*/
|
|
9838
|
+
409: ErrorResponse;
|
|
9589
9839
|
/**
|
|
9590
9840
|
* No text, or text that looks like a secret — a password, a code, a card, account or identity number, or a key — which no fact may hold
|
|
9591
9841
|
*/
|
|
@@ -9673,7 +9923,7 @@ export type UpdateEndUserFactErrors = {
|
|
|
9673
9923
|
*/
|
|
9674
9924
|
404: ErrorResponse;
|
|
9675
9925
|
/**
|
|
9676
|
-
* Replaced by a later conversation,
|
|
9926
|
+
* Replaced by a later conversation, another fact already says that, or the person already has the most pinned the platform allows (`agents.memory.pinned_max`)
|
|
9677
9927
|
*/
|
|
9678
9928
|
409: ErrorResponse;
|
|
9679
9929
|
/**
|
|
@@ -9786,6 +10036,60 @@ export type ListEndUserMemoriesResponses = {
|
|
|
9786
10036
|
200: MemoryPage;
|
|
9787
10037
|
};
|
|
9788
10038
|
export type ListEndUserMemoriesResponse = ListEndUserMemoriesResponses[keyof ListEndUserMemoriesResponses];
|
|
10039
|
+
export type CreateEndUserMemoryData = {
|
|
10040
|
+
body: MemoryCreateRequest;
|
|
10041
|
+
path: {
|
|
10042
|
+
end_user_id: string;
|
|
10043
|
+
};
|
|
10044
|
+
query?: never;
|
|
10045
|
+
url: '/v1/end-users/{end_user_id}/memories';
|
|
10046
|
+
};
|
|
10047
|
+
export type CreateEndUserMemoryErrors = {
|
|
10048
|
+
/**
|
|
10049
|
+
* The request could not be read: malformed JSON
|
|
10050
|
+
*/
|
|
10051
|
+
400: ErrorResponse;
|
|
10052
|
+
/**
|
|
10053
|
+
* Missing or invalid credentials
|
|
10054
|
+
*/
|
|
10055
|
+
401: ErrorResponse;
|
|
10056
|
+
/**
|
|
10057
|
+
* 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
|
|
10058
|
+
*/
|
|
10059
|
+
403: ErrorResponse;
|
|
10060
|
+
/**
|
|
10061
|
+
* Unknown end user id
|
|
10062
|
+
*/
|
|
10063
|
+
404: ErrorResponse;
|
|
10064
|
+
/**
|
|
10065
|
+
* The person already holds the most memories a search reads, or the person already has the most pinned the platform allows (`agents.memory.pinned_max`)
|
|
10066
|
+
*/
|
|
10067
|
+
409: ErrorResponse;
|
|
10068
|
+
/**
|
|
10069
|
+
* No title or story, a story past the platform's length, or words that look like a secret — a password, a code, a card, account or identity number, or a key
|
|
10070
|
+
*/
|
|
10071
|
+
422: ErrorResponse;
|
|
10072
|
+
/**
|
|
10073
|
+
* Rate limit exceeded
|
|
10074
|
+
*/
|
|
10075
|
+
429: ErrorResponse;
|
|
10076
|
+
/**
|
|
10077
|
+
* Gemini's embedding failed: nothing was written
|
|
10078
|
+
*/
|
|
10079
|
+
502: ErrorResponse;
|
|
10080
|
+
/**
|
|
10081
|
+
* Embeddings are not configured
|
|
10082
|
+
*/
|
|
10083
|
+
503: ErrorResponse;
|
|
10084
|
+
};
|
|
10085
|
+
export type CreateEndUserMemoryError = CreateEndUserMemoryErrors[keyof CreateEndUserMemoryErrors];
|
|
10086
|
+
export type CreateEndUserMemoryResponses = {
|
|
10087
|
+
/**
|
|
10088
|
+
* The memory, written
|
|
10089
|
+
*/
|
|
10090
|
+
201: MemoryInfo;
|
|
10091
|
+
};
|
|
10092
|
+
export type CreateEndUserMemoryResponse = CreateEndUserMemoryResponses[keyof CreateEndUserMemoryResponses];
|
|
9789
10093
|
export type DeleteEndUserMemoryData = {
|
|
9790
10094
|
body?: never;
|
|
9791
10095
|
path: {
|
|
@@ -9856,6 +10160,61 @@ export type GetEndUserMemoryResponses = {
|
|
|
9856
10160
|
200: MemoryInfo;
|
|
9857
10161
|
};
|
|
9858
10162
|
export type GetEndUserMemoryResponse = GetEndUserMemoryResponses[keyof GetEndUserMemoryResponses];
|
|
10163
|
+
export type UpdateEndUserMemoryData = {
|
|
10164
|
+
body: MemoryUpdateRequest;
|
|
10165
|
+
path: {
|
|
10166
|
+
end_user_id: string;
|
|
10167
|
+
memory_id: string;
|
|
10168
|
+
};
|
|
10169
|
+
query?: never;
|
|
10170
|
+
url: '/v1/end-users/{end_user_id}/memories/{memory_id}';
|
|
10171
|
+
};
|
|
10172
|
+
export type UpdateEndUserMemoryErrors = {
|
|
10173
|
+
/**
|
|
10174
|
+
* The request could not be read: malformed JSON
|
|
10175
|
+
*/
|
|
10176
|
+
400: ErrorResponse;
|
|
10177
|
+
/**
|
|
10178
|
+
* Missing or invalid credentials
|
|
10179
|
+
*/
|
|
10180
|
+
401: ErrorResponse;
|
|
10181
|
+
/**
|
|
10182
|
+
* 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
|
|
10183
|
+
*/
|
|
10184
|
+
403: ErrorResponse;
|
|
10185
|
+
/**
|
|
10186
|
+
* Unknown end user id, or Unknown memory id
|
|
10187
|
+
*/
|
|
10188
|
+
404: ErrorResponse;
|
|
10189
|
+
/**
|
|
10190
|
+
* A conversation rewrote it meanwhile, or the person already has the most pinned the platform allows (`agents.memory.pinned_max`)
|
|
10191
|
+
*/
|
|
10192
|
+
409: ErrorResponse;
|
|
10193
|
+
/**
|
|
10194
|
+
* No title or story, a story past the platform's length, or words that look like a secret — a password, a code, a card, account or identity number, or a key
|
|
10195
|
+
*/
|
|
10196
|
+
422: ErrorResponse;
|
|
10197
|
+
/**
|
|
10198
|
+
* Rate limit exceeded
|
|
10199
|
+
*/
|
|
10200
|
+
429: ErrorResponse;
|
|
10201
|
+
/**
|
|
10202
|
+
* Gemini's embedding failed: nothing was written
|
|
10203
|
+
*/
|
|
10204
|
+
502: ErrorResponse;
|
|
10205
|
+
/**
|
|
10206
|
+
* Embeddings are not configured
|
|
10207
|
+
*/
|
|
10208
|
+
503: ErrorResponse;
|
|
10209
|
+
};
|
|
10210
|
+
export type UpdateEndUserMemoryError = UpdateEndUserMemoryErrors[keyof UpdateEndUserMemoryErrors];
|
|
10211
|
+
export type UpdateEndUserMemoryResponses = {
|
|
10212
|
+
/**
|
|
10213
|
+
* The memory, changed
|
|
10214
|
+
*/
|
|
10215
|
+
200: MemoryInfo;
|
|
10216
|
+
};
|
|
10217
|
+
export type UpdateEndUserMemoryResponse = UpdateEndUserMemoryResponses[keyof UpdateEndUserMemoryResponses];
|
|
9859
10218
|
export type CreateEndUserNoteData = {
|
|
9860
10219
|
body: NoteCreateRequest;
|
|
9861
10220
|
path: {
|
|
@@ -11,6 +11,9 @@
|
|
|
11
11
|
* - **`draft`** holds changes players do not get until **`draft.publish`**
|
|
12
12
|
* makes them a version; **`draft.discard`** throws them away. A test
|
|
13
13
|
* chat runs the draft.
|
|
14
|
+
* - **`prompt`** shows everything the agent is told and set to — the whole
|
|
15
|
+
* system instruction, each setting with where it comes from — with a
|
|
16
|
+
* person's part or placeholders.
|
|
14
17
|
* - **`settings`** are the organisation's, for every agent —
|
|
15
18
|
* **`settings.rotateWebhookSecret`** makes the one secret its webhook
|
|
16
19
|
* posts are signed with, shown once; **`testWebhook`** posts an agent's
|
|
@@ -22,7 +25,7 @@
|
|
|
22
25
|
* - **`list()` reads one page**: an organisation's agents are few, and the
|
|
23
26
|
* route answers them all with `next_cursor` `null` (`paging.ts`).
|
|
24
27
|
*/
|
|
25
|
-
import type { AgentCreateRequest, AgentDraft, AgentDraftPublish, AgentDraftUpdate, AgentInfo, AgentKnowledgeUpdate, AgentPage, AgentRestored, AgentSettingsInfo, AgentSettingsUpdate, AgentSummary, AgentToolsUpdate, AgentUpdate, AgentVersion, AgentVersionRestore, AgentVersionSummary, KnowledgeAssigned, KnowledgeInfo, ToolInfo, ToolsAssigned, WebhookSecret, WebhookTestResult } from "../gen/index.js";
|
|
28
|
+
import type { AgentCreateRequest, AgentDraft, AgentDraftPublish, AgentDraftUpdate, AgentInfo, AgentKnowledgeUpdate, AgentPage, AgentPrompt, AgentRestored, AgentSettingsInfo, AgentSettingsUpdate, AgentSummary, AgentToolsUpdate, AgentUpdate, AgentVersion, AgentVersionRestore, AgentVersionSummary, KnowledgeAssigned, KnowledgeInfo, ToolInfo, ToolsAssigned, WebhookSecret, WebhookTestResult } from "../gen/index.js";
|
|
26
29
|
import type { RequestOptions, Transport } from "../transport.js";
|
|
27
30
|
import { Library } from "./resource.js";
|
|
28
31
|
/** `agents.settings`: the organisation's, for every agent. */
|
|
@@ -76,6 +79,17 @@ export declare class Agents extends Library<AgentInfo, AgentUpdate, AgentSummary
|
|
|
76
79
|
readonly versions: AgentVersions;
|
|
77
80
|
readonly draft: AgentDrafts;
|
|
78
81
|
constructor(api: Transport, base: string);
|
|
82
|
+
/**
|
|
83
|
+
* Everything the agent is told and set to, read only: the whole system
|
|
84
|
+
* instruction in its marked parts, the settings in force with where each
|
|
85
|
+
* comes from, the tools and model settings as sent, the voice and
|
|
86
|
+
* hearing. `end_user_id` shows that person's part, else placeholders;
|
|
87
|
+
* `draft` the draft laid over the agent.
|
|
88
|
+
*/
|
|
89
|
+
prompt(agentId: string, params?: {
|
|
90
|
+
draft?: boolean;
|
|
91
|
+
end_user_id?: string;
|
|
92
|
+
}, options?: RequestOptions): Promise<AgentPrompt>;
|
|
79
93
|
/** Posts the agent's webhook a made-up report, signed; what its server answered. */
|
|
80
94
|
testWebhook(agentId: string, options?: RequestOptions): Promise<WebhookTestResult>;
|
|
81
95
|
/** An agent's links to what the organisation has: its knowledge, its tools. */
|
package/dist/resources/agents.js
CHANGED
|
@@ -11,6 +11,9 @@
|
|
|
11
11
|
* - **`draft`** holds changes players do not get until **`draft.publish`**
|
|
12
12
|
* makes them a version; **`draft.discard`** throws them away. A test
|
|
13
13
|
* chat runs the draft.
|
|
14
|
+
* - **`prompt`** shows everything the agent is told and set to — the whole
|
|
15
|
+
* system instruction, each setting with where it comes from — with a
|
|
16
|
+
* person's part or placeholders.
|
|
14
17
|
* - **`settings`** are the organisation's, for every agent —
|
|
15
18
|
* **`settings.rotateWebhookSecret`** makes the one secret its webhook
|
|
16
19
|
* posts are signed with, shown once; **`testWebhook`** posts an agent's
|
|
@@ -47,6 +50,16 @@ export class Agents extends Library {
|
|
|
47
50
|
publish: (id, body = {}, options) => this.send("POST", this.at(id, "/draft/publish"), options, body),
|
|
48
51
|
};
|
|
49
52
|
}
|
|
53
|
+
/**
|
|
54
|
+
* Everything the agent is told and set to, read only: the whole system
|
|
55
|
+
* instruction in its marked parts, the settings in force with where each
|
|
56
|
+
* comes from, the tools and model settings as sent, the voice and
|
|
57
|
+
* hearing. `end_user_id` shows that person's part, else placeholders;
|
|
58
|
+
* `draft` the draft laid over the agent.
|
|
59
|
+
*/
|
|
60
|
+
prompt(agentId, params, options) {
|
|
61
|
+
return this.send("GET", this.at(agentId, "/prompt"), options, params);
|
|
62
|
+
}
|
|
50
63
|
/** Posts the agent's webhook a made-up report, signed; what its server answered. */
|
|
51
64
|
testWebhook(agentId, options) {
|
|
52
65
|
return this.send("POST", this.at(agentId, "/webhook-test"), options);
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
* read fails with a 401; its one micro-credit is set aside like any key's,
|
|
35
35
|
* so an organisation with no balance cannot export (402).
|
|
36
36
|
*/
|
|
37
|
-
import type { ConversationReport, ConversationReportPage, EndUserCreateRequest, EndUserDeleted, EndUserInfo, EndUserPage, EndUserPersonalization, EndUserPersonalizationUpdate, EndUserUpdateRequest, FactCreateRequest, FactInfo, FactUpdateRequest, ListEndUserMemoriesData, ListEndUserReportsData, ListEndUsersData, MemoriesDeleted, MemoryInfo, MemoryPage, NoteCreateRequest, NoteTaken, RelationInfo, ScheduledMessage, ScheduledMessageCreateRequest, SessionDetail, ToolResultRequest, ToolResultTaken } from "../gen/index.js";
|
|
37
|
+
import type { ConversationReport, ConversationReportPage, EndUserCreateRequest, EndUserDeleted, EndUserInfo, EndUserPage, EndUserPersonalization, EndUserPersonalizationUpdate, EndUserUpdateRequest, FactCreateRequest, FactInfo, FactUpdateRequest, ListEndUserMemoriesData, ListEndUserReportsData, ListEndUsersData, MemoriesDeleted, MemoryCreateRequest, MemoryInfo, MemoryPage, MemoryUpdateRequest, NoteCreateRequest, NoteTaken, RelationInfo, ScheduledMessage, ScheduledMessageCreateRequest, SessionDetail, ToolResultRequest, ToolResultTaken } from "../gen/index.js";
|
|
38
38
|
import { type RequestOptions, type Transport } from "../transport.js";
|
|
39
39
|
import type { EphemeralKeys } from "./ephemeral-keys.js";
|
|
40
40
|
import { Editable } from "./resource.js";
|
|
@@ -94,9 +94,9 @@ export interface EndUserFacts {
|
|
|
94
94
|
list(id: string, params?: {
|
|
95
95
|
include_replaced?: boolean;
|
|
96
96
|
}, options?: RequestOptions): AsyncGenerator<FactInfo, void, undefined>;
|
|
97
|
-
/** Tells the agents something: yours, never replaced by a conversation. */
|
|
97
|
+
/** Tells the agents something: yours, never replaced by a conversation; `pinned` recalls it first on every turn. */
|
|
98
98
|
add(id: string, body: FactCreateRequest, options?: RequestOptions): Promise<FactAdded>;
|
|
99
|
-
/** Corrects one fact's words
|
|
99
|
+
/** Corrects one fact's words (the old ones kept as forgotten), pins or unpins it. */
|
|
100
100
|
update(id: string, factId: string, body: FactUpdateRequest, options?: RequestOptions): Promise<FactInfo>;
|
|
101
101
|
/** Forgets one: `true`, or `false` when there is none by that id. */
|
|
102
102
|
delete(id: string, factId: string, options?: RequestOptions): Promise<boolean>;
|
|
@@ -104,8 +104,8 @@ export interface EndUserFacts {
|
|
|
104
104
|
/**
|
|
105
105
|
* `endUsers.memories`: what the agents remember of one person's life, one
|
|
106
106
|
* memory per topic, from your server with no key minted for them —
|
|
107
|
-
* `/v1/end-users/{id}/memories`.
|
|
108
|
-
*
|
|
107
|
+
* `/v1/end-users/{id}/memories`. Written by their conversations, and by
|
|
108
|
+
* you: `create` from your records, `update` to change or pin one.
|
|
109
109
|
*/
|
|
110
110
|
export interface EndUserMemories {
|
|
111
111
|
/** Every memory, the topic last talked about first, page after page (100 a page by default). */
|
|
@@ -114,6 +114,18 @@ export interface EndUserMemories {
|
|
|
114
114
|
page(id: string, params?: EndUserMemoryListParams, options?: RequestOptions): Promise<MemoryPage>;
|
|
115
115
|
/** One memory. A `NotFoundError` when there is none, or no such person. */
|
|
116
116
|
get(id: string, memoryId: string, options?: RequestOptions): Promise<MemoryInfo>;
|
|
117
|
+
/**
|
|
118
|
+
* Writes a memory from your records — yours: a later conversation adds
|
|
119
|
+
* to it, never takes it over. For every agent, or `agent_id`'s alone;
|
|
120
|
+
* `pinned` heads the topics every conversation opens with.
|
|
121
|
+
*/
|
|
122
|
+
create(id: string, body: MemoryCreateRequest, options?: RequestOptions): Promise<MemoryInfo>;
|
|
123
|
+
/**
|
|
124
|
+
* Changes any of its words or its category, pins or unpins it. A
|
|
125
|
+
* `ConflictError` when a conversation rewrote it meanwhile: read it
|
|
126
|
+
* again, then send your change.
|
|
127
|
+
*/
|
|
128
|
+
update(id: string, memoryId: string, body: MemoryUpdateRequest, options?: RequestOptions): Promise<MemoryInfo>;
|
|
117
129
|
/**
|
|
118
130
|
* Forgets one: `true`, or `false` when there is none by that id. A later
|
|
119
131
|
* conversation about the topic starts a new one.
|
|
@@ -87,6 +87,8 @@ export class EndUsers extends Editable {
|
|
|
87
87
|
list: (id, params = {}, options) => this.each(memories(id), params, options, MEMORY_PAGE),
|
|
88
88
|
page: (id, params = {}, options) => this.send("GET", memories(id), options, params),
|
|
89
89
|
get: (id, memoryId, options) => this.send("GET", memories(id, `/${segment(memoryId)}`), options),
|
|
90
|
+
create: (id, body, options) => this.send("POST", memories(id), options, body),
|
|
91
|
+
update: (id, memoryId, body, options) => this.send("PATCH", memories(id, `/${segment(memoryId)}`), options, body),
|
|
90
92
|
delete: (id, memoryId, options) => drop(memories(id, `/${segment(memoryId)}`), options),
|
|
91
93
|
deleteAll: (id, options) => this.send("DELETE", memories(id), options),
|
|
92
94
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lumavox/server",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.54.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",
|