@lumavox/server 0.34.0 → 0.37.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
@@ -60,7 +60,7 @@ list's page.
60
60
 
61
61
  | Resource | Methods |
62
62
  |---|---|
63
- | `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` |
63
+ | `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` |
64
64
  | `ephemeralKeys` | `limits`, `create`, `revoke`, `inspect`, `list`, `page` |
65
65
  | `images`, `videos`, `audio`, `skybox`, `transcriptions` | `create`, `get`, `wait`, `generate`; `images.draftLayout`, `images.findElements`; `skybox.styles` |
66
66
  | `generations` | `get`, `wait`, `list`, `page` |
@@ -1 +1 @@
1
- export type { AgentCreateRequest, AgentHandoff, AgentHandoffInfo, AgentInfo, AgentKnowledgeUpdate, AgentPage, AgentReportField, AgentReportFieldInfo, AgentSettingsInfo, AgentSettingsUpdate, AgentStt, AgentSttInfo, AgentSummary, AgentToolsUpdate, AgentUpdate, AgentVoice, AgentVoiceInfo, ApiKeySelf, AssetBulkRequest, AssetDetail, AssetMoveRequest, AssetPage, AssetsAffected, AssetSummary, AssetUpdate, AssignedAgent, AudioRequest, BulkEditKnowledgeData, BulkEditKnowledgeError, BulkEditKnowledgeErrors, BulkEditKnowledgeResponse, BulkEditKnowledgeResponses, 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, 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, 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, GetAgentError, GetAgentErrors, GetAgentResponse, GetAgentResponses, GetAgentSettingsData, GetAgentSettingsError, GetAgentSettingsErrors, GetAgentSettingsResponse, GetAgentSettingsResponses, 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, 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, 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, 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, Reference, ReferenceInfo, RefreshKnowledgeData, RefreshKnowledgeError, RefreshKnowledgeErrors, RefreshKnowledgeResponse, RefreshKnowledgeResponses, ReindexKnowledgeData, ReindexKnowledgeError, ReindexKnowledgeErrors, ReindexKnowledgeResponse, ReindexKnowledgeResponses, RelationInfo, RelationPage, ReportDelivery, ReportLine, ResampleVoiceData, ResampleVoiceError, ResampleVoiceErrors, ResampleVoiceResponse, ResampleVoiceResponses, RevokeEphemeralKeyData, RevokeEphemeralKeyError, RevokeEphemeralKeyErrors, RevokeEphemeralKeyResponse, RevokeEphemeralKeyResponses, RotateToolSecretData, RotateToolSecretError, RotateToolSecretErrors, RotateToolSecretResponse, RotateToolSecretResponses, RotateWebhookSecretData, RotateWebhookSecretError, RotateWebhookSecretErrors, RotateWebhookSecretResponse, RotateWebhookSecretResponses, SaveDesignedVoiceData, SaveDesignedVoiceError, SaveDesignedVoiceErrors, SaveDesignedVoiceResponse, SaveDesignedVoiceResponses, 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, 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, AgentHandoff, AgentHandoffInfo, AgentInfo, AgentKnowledgeUpdate, AgentPage, AgentQuietHours, AgentReportField, AgentReportFieldInfo, AgentSettingsInfo, AgentSettingsUpdate, AgentStt, AgentSttInfo, AgentSummary, AgentToolsUpdate, AgentUpdate, 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, 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, GetAgentError, GetAgentErrors, GetAgentResponse, GetAgentResponses, GetAgentSettingsData, GetAgentSettingsError, GetAgentSettingsErrors, GetAgentSettingsResponse, GetAgentSettingsResponses, 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, 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, Reference, ReferenceInfo, RefreshKnowledgeData, RefreshKnowledgeError, RefreshKnowledgeErrors, RefreshKnowledgeResponse, RefreshKnowledgeResponses, ReindexKnowledgeData, ReindexKnowledgeError, ReindexKnowledgeErrors, ReindexKnowledgeResponse, ReindexKnowledgeResponses, RelationInfo, RelationPage, ReportDelivery, ReportLine, ResampleVoiceData, ResampleVoiceError, ResampleVoiceErrors, ResampleVoiceResponse, ResampleVoiceResponses, RevokeEphemeralKeyData, RevokeEphemeralKeyError, RevokeEphemeralKeyErrors, RevokeEphemeralKeyResponse, RevokeEphemeralKeyResponses, RotateToolSecretData, RotateToolSecretError, RotateToolSecretErrors, RotateToolSecretResponse, RotateToolSecretResponses, RotateWebhookSecretData, RotateWebhookSecretError, RotateWebhookSecretErrors, RotateWebhookSecretResponse, RotateWebhookSecretResponses, 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, 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';
@@ -1879,6 +1879,24 @@ export type AgentSummary = {
1879
1879
  * Other agents of yours this one may pass the conversation to, each with when: the agent is offered a tool to hand off, and the agent it hands to answers the person's last message and carries the conversation on, with its own instructions, voice, knowledge and tools. At most 10. `[]` for none. A target deleted since is gone from the list.
1880
1880
  */
1881
1881
  handoffs: Array<AgentHandoffInfo>;
1882
+ /**
1883
+ * Whether this agent may write to a person first, while they are away — a message your server schedules with `POST /v1/end-users/{end_user_id}/scheduled-messages`, or one the agent schedules itself when the person asks (`outreach_tool`). **Off by default.**
1884
+ *
1885
+ * A message is one model call, paid from your organisation's balance: the person has no live key while away. It is kept in their conversation with the agent, so it is there when they come back, and your server is sent it to show as a notification.
1886
+ */
1887
+ outreach_enabled: boolean;
1888
+ /**
1889
+ * No message of the agent's own between these times, in the person's time zone: one due then waits for the end — a 23:00 message is written at 08:00. `null` for none.
1890
+ */
1891
+ outreach_quiet_hours: AgentQuietHours | null;
1892
+ /**
1893
+ * The time zone the agent reads quiet hours in for a person with none of their own — your main market. A person's own is the one your server sets (`time_zone` on `PATCH /v1/end-users/{end_user_id}/personalization`), else the one their app reported. `null` is UTC.
1894
+ */
1895
+ outreach_time_zone: string | null;
1896
+ /**
1897
+ * Whether the agent may schedule a message itself when the person asks ("remind me at 6") — the platform's tool `schedule_message`, offered only with `outreach_enabled` on. **On by default**: turn it off for your server alone to write.
1898
+ */
1899
+ outreach_tool: boolean;
1882
1900
  /**
1883
1901
  * Whether the model may write and run Python while it replies — sums, unit conversions, dates — and answer from what it printed. Gemini's own tool: it runs at Google, with no network, and nothing of yours.
1884
1902
  *
@@ -2155,6 +2173,16 @@ export type AgentHandoffInfo = {
2155
2173
  name: string;
2156
2174
  when: string;
2157
2175
  };
2176
+ export type AgentQuietHours = {
2177
+ /**
2178
+ * When the quiet starts, `HH:MM` on a 24-hour clock, the person's time.
2179
+ */
2180
+ start: string;
2181
+ /**
2182
+ * When it ends, `HH:MM`. Earlier than `start` crosses midnight: 22:00 to 08:00 is the night.
2183
+ */
2184
+ end: string;
2185
+ };
2158
2186
  export type AgentSttInfo = {
2159
2187
  /**
2160
2188
  * ISO-639-1 or -639-3 code the agent's spoken turns are transcribed in. Omit it and the language is detected per turn. A `language` on `user_audio.start` overrides it.
@@ -2244,6 +2272,24 @@ export type AgentInfo = {
2244
2272
  * Other agents of yours this one may pass the conversation to, each with when: the agent is offered a tool to hand off, and the agent it hands to answers the person's last message and carries the conversation on, with its own instructions, voice, knowledge and tools. At most 10. `[]` for none. A target deleted since is gone from the list.
2245
2273
  */
2246
2274
  handoffs: Array<AgentHandoffInfo>;
2275
+ /**
2276
+ * Whether this agent may write to a person first, while they are away — a message your server schedules with `POST /v1/end-users/{end_user_id}/scheduled-messages`, or one the agent schedules itself when the person asks (`outreach_tool`). **Off by default.**
2277
+ *
2278
+ * A message is one model call, paid from your organisation's balance: the person has no live key while away. It is kept in their conversation with the agent, so it is there when they come back, and your server is sent it to show as a notification.
2279
+ */
2280
+ outreach_enabled: boolean;
2281
+ /**
2282
+ * No message of the agent's own between these times, in the person's time zone: one due then waits for the end — a 23:00 message is written at 08:00. `null` for none.
2283
+ */
2284
+ outreach_quiet_hours: AgentQuietHours | null;
2285
+ /**
2286
+ * The time zone the agent reads quiet hours in for a person with none of their own — your main market. A person's own is the one your server sets (`time_zone` on `PATCH /v1/end-users/{end_user_id}/personalization`), else the one their app reported. `null` is UTC.
2287
+ */
2288
+ outreach_time_zone: string | null;
2289
+ /**
2290
+ * Whether the agent may schedule a message itself when the person asks ("remind me at 6") — the platform's tool `schedule_message`, offered only with `outreach_enabled` on. **On by default**: turn it off for your server alone to write.
2291
+ */
2292
+ outreach_tool: boolean;
2247
2293
  /**
2248
2294
  * Whether the model may write and run Python while it replies — sums, unit conversions, dates — and answer from what it printed. Gemini's own tool: it runs at Google, with no network, and nothing of yours.
2249
2295
  *
@@ -2525,6 +2571,24 @@ export type AgentCreateRequest = {
2525
2571
  * Other agents of yours this one may pass the conversation to, each with when: the agent is offered a tool to hand off, and the agent it hands to answers the person's last message and carries the conversation on, with its own instructions, voice, knowledge and tools. At most 10. The complete list, in order: `null` or `[]` clears it.
2526
2572
  */
2527
2573
  handoffs?: Array<AgentHandoff> | null;
2574
+ /**
2575
+ * Whether this agent may write to a person first, while they are away — a message your server schedules with `POST /v1/end-users/{end_user_id}/scheduled-messages`, or one the agent schedules itself when the person asks (`outreach_tool`). **Off by default.**
2576
+ *
2577
+ * A message is one model call, paid from your organisation's balance: the person has no live key while away. It is kept in their conversation with the agent, so it is there when they come back, and your server is sent it to show as a notification.
2578
+ */
2579
+ outreach_enabled?: boolean | null;
2580
+ /**
2581
+ * No message of the agent's own between these times, in the person's time zone: one due then waits for the end — a 23:00 message is written at 08:00. `null` for none.
2582
+ */
2583
+ outreach_quiet_hours?: AgentQuietHours | null;
2584
+ /**
2585
+ * The time zone the agent reads quiet hours in for a person with none of their own — your main market. A person's own is the one your server sets (`time_zone` on `PATCH /v1/end-users/{end_user_id}/personalization`), else the one their app reported. `null` is UTC.
2586
+ */
2587
+ outreach_time_zone?: string | null;
2588
+ /**
2589
+ * Whether the agent may schedule a message itself when the person asks ("remind me at 6") — the platform's tool `schedule_message`, offered only with `outreach_enabled` on. **On by default**: turn it off for your server alone to write.
2590
+ */
2591
+ outreach_tool?: boolean | null;
2528
2592
  /**
2529
2593
  * Whether the model may write and run Python while it replies — sums, unit conversions, dates — and answer from what it printed. Gemini's own tool: it runs at Google, with no network, and nothing of yours.
2530
2594
  *
@@ -2995,6 +3059,24 @@ export type AgentUpdate = {
2995
3059
  * Other agents of yours this one may pass the conversation to, each with when: the agent is offered a tool to hand off, and the agent it hands to answers the person's last message and carries the conversation on, with its own instructions, voice, knowledge and tools. At most 10. The complete list, in order: `null` or `[]` clears it.
2996
3060
  */
2997
3061
  handoffs?: Array<AgentHandoff> | null;
3062
+ /**
3063
+ * Whether this agent may write to a person first, while they are away — a message your server schedules with `POST /v1/end-users/{end_user_id}/scheduled-messages`, or one the agent schedules itself when the person asks (`outreach_tool`). **Off by default.**
3064
+ *
3065
+ * A message is one model call, paid from your organisation's balance: the person has no live key while away. It is kept in their conversation with the agent, so it is there when they come back, and your server is sent it to show as a notification.
3066
+ */
3067
+ outreach_enabled?: boolean | null;
3068
+ /**
3069
+ * No message of the agent's own between these times, in the person's time zone: one due then waits for the end — a 23:00 message is written at 08:00. `null` for none.
3070
+ */
3071
+ outreach_quiet_hours?: AgentQuietHours | null;
3072
+ /**
3073
+ * The time zone the agent reads quiet hours in for a person with none of their own — your main market. A person's own is the one your server sets (`time_zone` on `PATCH /v1/end-users/{end_user_id}/personalization`), else the one their app reported. `null` is UTC.
3074
+ */
3075
+ outreach_time_zone?: string | null;
3076
+ /**
3077
+ * Whether the agent may schedule a message itself when the person asks ("remind me at 6") — the platform's tool `schedule_message`, offered only with `outreach_enabled` on. **On by default**: turn it off for your server alone to write.
3078
+ */
3079
+ outreach_tool?: boolean | null;
2998
3080
  /**
2999
3081
  * Whether the model may write and run Python while it replies — sums, unit conversions, dates — and answer from what it printed. Gemini's own tool: it runs at Google, with no network, and nothing of yours.
3000
3082
  *
@@ -3386,6 +3468,16 @@ export type EndUserPersonalization = {
3386
3468
  * When they were last set or cleared. Null: never.
3387
3469
  */
3388
3470
  updated_at: string | null;
3471
+ /**
3472
+ * The person's IANA time zone (`Europe/Paris`): an agent's quiet hours and the day its own messages count against are read in it (docs: *Reaching out first*). Yours wins; without one, the time zone their app reported when they last connected — the client SDK sends the device's by itself.
3473
+ *
3474
+ * Null for none known.
3475
+ */
3476
+ time_zone: string | null;
3477
+ /**
3478
+ * Who set `time_zone`: `server`, your server, which the app never overrides; `app`, the device's own, reported when the person connects. Null for none.
3479
+ */
3480
+ time_zone_source: 'server' | 'app' | null;
3389
3481
  };
3390
3482
  export type EndUserPersonalizationUpdate = {
3391
3483
  /**
@@ -3399,6 +3491,12 @@ export type EndUserPersonalizationUpdate = {
3399
3491
  */
3400
3492
  instructions?: string | null;
3401
3493
  variables?: Variables | null;
3494
+ /**
3495
+ * The person's IANA time zone (`Europe/Paris`): an agent's quiet hours and the day its own messages count against are read in it (docs: *Reaching out first*). Yours wins; without one, the time zone their app reported when they last connected — the client SDK sends the device's by itself.
3496
+ *
3497
+ * Absent, it is left as it is; `null` clears yours, and the app's may fill it again.
3498
+ */
3499
+ time_zone?: string | null;
3402
3500
  };
3403
3501
  export type ConversationReportPage = {
3404
3502
  data: Array<ConversationReport>;
@@ -3525,6 +3623,121 @@ export type ReportLine = {
3525
3623
  agent_id: string | null;
3526
3624
  created_at: string;
3527
3625
  };
3626
+ export type ScheduledMessage = {
3627
+ /**
3628
+ * The message's id, `om_…`.
3629
+ */
3630
+ id: string;
3631
+ /**
3632
+ * The person's `eu_…` id.
3633
+ */
3634
+ end_user_id: string;
3635
+ agent_id: string;
3636
+ /**
3637
+ * The conversation it was written into — or the one you named. Null until it is written.
3638
+ */
3639
+ session_id: string | null;
3640
+ /**
3641
+ * `server` when your server scheduled it; `agent` when the agent did, because the person asked (`outreach_tool`).
3642
+ */
3643
+ source: 'server' | 'agent';
3644
+ /**
3645
+ * `scheduled`, waiting; `sent`, written; `skipped`, not written — `skip_reason` says why; `cancelled` by you; `failed`, the model could not write it, tried again three times.
3646
+ */
3647
+ status: 'scheduled' | 'sent' | 'skipped' | 'cancelled' | 'failed';
3648
+ /**
3649
+ * Why a `skipped` one was not written: `daily_limit`, the person's day already had `agents.outreach.per_day_max`; `ignored`, the last `agents.outreach.ignored_max` were not answered and the person has not been back since; `agent_off`, the agent's `outreach_enabled` was turned off; `agent_gone`, it was deleted; `unfunded`, your balance could not pay for it; `org_blocked`, your organisation was suspended. Null otherwise.
3650
+ */
3651
+ skip_reason: 'daily_limit' | 'ignored' | 'agent_off' | 'agent_gone' | 'unfunded' | 'org_blocked' | null;
3652
+ /**
3653
+ * What the agent should write about, in its own words and character: "Tell them their tomatoes are ready to harvest." The model reads it as your direction, never as the person's words, and the person never sees it.
3654
+ */
3655
+ note: string;
3656
+ /**
3657
+ * Your own JSON object, up to 1 KB, given back as it is with the message — in the webhook too — so your server knows what it was for (`{"kind": "harvest"}`). `null` for none.
3658
+ */
3659
+ metadata: {
3660
+ [key: string]: unknown;
3661
+ } | null;
3662
+ /**
3663
+ * When you asked for it.
3664
+ */
3665
+ send_at: string;
3666
+ /**
3667
+ * When it is written: out of the agent's quiet hours in the person's time zone, and spread over up to two minutes, so many messages of one minute do not all go at once.
3668
+ */
3669
+ due_at: string;
3670
+ /**
3671
+ * When it was written; null until then.
3672
+ */
3673
+ sent_at: string | null;
3674
+ /**
3675
+ * What the agent wrote; null until it is written.
3676
+ */
3677
+ text: string | null;
3678
+ /**
3679
+ * `away` when it was written with no app connected — show it as a notification; `socket` when the person's app was on the conversation and heard it there. Null until written.
3680
+ */
3681
+ delivered: 'socket' | 'away' | null;
3682
+ webhook: ScheduledMessageDelivery;
3683
+ created_at: string;
3684
+ };
3685
+ /**
3686
+ * Its delivery to your webhook as `outreach.message`, posted once it is written — where it stands, as a report's.
3687
+ */
3688
+ export type ScheduledMessageDelivery = {
3689
+ /**
3690
+ * `none`: not written yet, or written while the agent had no webhook address; `pending`: being posted, and tried again while your server does not answer a 2xx; `delivered`; `failed`: not taken within the platform's `agents.webhooks.retry_minutes`.
3691
+ */
3692
+ status: 'none' | 'pending' | 'delivered' | 'failed';
3693
+ /**
3694
+ * Posts so far.
3695
+ */
3696
+ attempts: number;
3697
+ /**
3698
+ * Your server's last answer's status; `null` for none.
3699
+ */
3700
+ last_status: number | null;
3701
+ /**
3702
+ * Why the last post was not taken; `null` once one was.
3703
+ */
3704
+ last_error: string | null;
3705
+ /**
3706
+ * When your server took it.
3707
+ */
3708
+ delivered_at: string | null;
3709
+ };
3710
+ export type ScheduledMessageCreateRequest = {
3711
+ /**
3712
+ * The agent that writes it: one of yours with `outreach_enabled` on.
3713
+ */
3714
+ agent_id: string;
3715
+ /**
3716
+ * When to write it: an instant with its zone, at least a minute from now and at most `agents.outreach.ahead_max_days` ahead (the Limits page). Inside the agent's quiet hours, in the person's time zone, it waits for their end.
3717
+ */
3718
+ send_at: string;
3719
+ /**
3720
+ * What the agent should write about, in its own words and character: "Tell them their tomatoes are ready to harvest." The model reads it as your direction, never as the person's words, and the person never sees it. 1 to 1,000 characters.
3721
+ */
3722
+ note: string;
3723
+ /**
3724
+ * The conversation it joins: one of the person's with this agent. Unset, their latest with the agent still young enough to continue (`resume_max_age_days`), else a new one — chosen when it is written.
3725
+ */
3726
+ session_id?: string | null;
3727
+ /**
3728
+ * Your own JSON object, up to 1 KB, given back as it is with the message — in the webhook too — so your server knows what it was for (`{"kind": "harvest"}`). `null` for none.
3729
+ */
3730
+ metadata?: {
3731
+ [key: string]: unknown;
3732
+ } | null;
3733
+ };
3734
+ export type ScheduledMessagePage = {
3735
+ data: Array<ScheduledMessage>;
3736
+ /**
3737
+ * Pass as `cursor` for the next page; `null` when this is the last.
3738
+ */
3739
+ next_cursor: string | null;
3740
+ };
3528
3741
  export type KnowledgeCategoryPage = {
3529
3742
  data: Array<string>;
3530
3743
  /**
@@ -8085,6 +8298,211 @@ export type PostToolResultResponses = {
8085
8298
  200: ToolResultTaken;
8086
8299
  };
8087
8300
  export type PostToolResultResponse = PostToolResultResponses[keyof PostToolResultResponses];
8301
+ export type ListScheduledMessagesData = {
8302
+ body?: never;
8303
+ path: {
8304
+ /**
8305
+ * The end user's `eu_...` id, or your own id for them.
8306
+ */
8307
+ end_user_id: string;
8308
+ };
8309
+ query?: {
8310
+ /**
8311
+ * How many to answer, 1 to 200.
8312
+ */
8313
+ limit?: number;
8314
+ /**
8315
+ * The `next_cursor` of the page before.
8316
+ */
8317
+ cursor?: string;
8318
+ /**
8319
+ * Only messages in this status.
8320
+ */
8321
+ status?: 'scheduled' | 'sent' | 'skipped' | 'cancelled' | 'failed';
8322
+ };
8323
+ url: '/v1/end-users/{end_user_id}/scheduled-messages';
8324
+ };
8325
+ export type ListScheduledMessagesErrors = {
8326
+ /**
8327
+ * Missing or invalid credentials
8328
+ */
8329
+ 401: ErrorResponse;
8330
+ /**
8331
+ * 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
8332
+ */
8333
+ 403: ErrorResponse;
8334
+ /**
8335
+ * Unknown end user id Or: No such scheduled message for this end user.
8336
+ */
8337
+ 404: ErrorResponse;
8338
+ /**
8339
+ * The request failed validation
8340
+ */
8341
+ 422: ErrorResponse;
8342
+ /**
8343
+ * Rate limit exceeded
8344
+ */
8345
+ 429: ErrorResponse;
8346
+ };
8347
+ export type ListScheduledMessagesError = ListScheduledMessagesErrors[keyof ListScheduledMessagesErrors];
8348
+ export type ListScheduledMessagesResponses = {
8349
+ /**
8350
+ * Success
8351
+ */
8352
+ 200: ScheduledMessagePage;
8353
+ };
8354
+ export type ListScheduledMessagesResponse = ListScheduledMessagesResponses[keyof ListScheduledMessagesResponses];
8355
+ export type CreateScheduledMessageData = {
8356
+ body: ScheduledMessageCreateRequest;
8357
+ path: {
8358
+ /**
8359
+ * The end user's `eu_...` id, or your own id for them.
8360
+ */
8361
+ end_user_id: string;
8362
+ };
8363
+ query?: never;
8364
+ url: '/v1/end-users/{end_user_id}/scheduled-messages';
8365
+ };
8366
+ export type CreateScheduledMessageErrors = {
8367
+ /**
8368
+ * The request could not be read: malformed JSON
8369
+ */
8370
+ 400: ErrorResponse;
8371
+ /**
8372
+ * Missing or invalid credentials
8373
+ */
8374
+ 401: ErrorResponse;
8375
+ /**
8376
+ * Your balance cannot set this message's reserve aside
8377
+ */
8378
+ 402: ErrorResponse;
8379
+ /**
8380
+ * 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
8381
+ */
8382
+ 403: ErrorResponse;
8383
+ /**
8384
+ * Unknown end user id Or: No such scheduled message for this end user.
8385
+ */
8386
+ 404: ErrorResponse;
8387
+ /**
8388
+ * The agent does not write first, or the person's day or queue is full
8389
+ */
8390
+ 409: ErrorResponse;
8391
+ /**
8392
+ * The request failed validation
8393
+ */
8394
+ 422: ErrorResponse;
8395
+ /**
8396
+ * Rate limit exceeded
8397
+ */
8398
+ 429: ErrorResponse;
8399
+ /**
8400
+ * The end user's store could not be reached
8401
+ */
8402
+ 503: ErrorResponse;
8403
+ };
8404
+ export type CreateScheduledMessageError = CreateScheduledMessageErrors[keyof CreateScheduledMessageErrors];
8405
+ export type CreateScheduledMessageResponses = {
8406
+ /**
8407
+ * Scheduled
8408
+ */
8409
+ 201: ScheduledMessage;
8410
+ };
8411
+ export type CreateScheduledMessageResponse = CreateScheduledMessageResponses[keyof CreateScheduledMessageResponses];
8412
+ export type CancelScheduledMessageData = {
8413
+ body?: never;
8414
+ path: {
8415
+ /**
8416
+ * The end user's `eu_...` id, or your own id for them.
8417
+ */
8418
+ end_user_id: string;
8419
+ /**
8420
+ * The message's `om_...` id.
8421
+ */
8422
+ message_id: string;
8423
+ };
8424
+ query?: never;
8425
+ url: '/v1/end-users/{end_user_id}/scheduled-messages/{message_id}';
8426
+ };
8427
+ export type CancelScheduledMessageErrors = {
8428
+ /**
8429
+ * Missing or invalid credentials
8430
+ */
8431
+ 401: ErrorResponse;
8432
+ /**
8433
+ * 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
8434
+ */
8435
+ 403: ErrorResponse;
8436
+ /**
8437
+ * Unknown end user id Or: No such scheduled message for this end user.
8438
+ */
8439
+ 404: ErrorResponse;
8440
+ /**
8441
+ * Already written, skipped, cancelled or failed
8442
+ */
8443
+ 409: ErrorResponse;
8444
+ /**
8445
+ * The request failed validation
8446
+ */
8447
+ 422: ErrorResponse;
8448
+ /**
8449
+ * Rate limit exceeded
8450
+ */
8451
+ 429: ErrorResponse;
8452
+ };
8453
+ export type CancelScheduledMessageError = CancelScheduledMessageErrors[keyof CancelScheduledMessageErrors];
8454
+ export type CancelScheduledMessageResponses = {
8455
+ /**
8456
+ * Cancelled
8457
+ */
8458
+ 200: ScheduledMessage;
8459
+ };
8460
+ export type CancelScheduledMessageResponse = CancelScheduledMessageResponses[keyof CancelScheduledMessageResponses];
8461
+ export type GetScheduledMessageData = {
8462
+ body?: never;
8463
+ path: {
8464
+ /**
8465
+ * The end user's `eu_...` id, or your own id for them.
8466
+ */
8467
+ end_user_id: string;
8468
+ /**
8469
+ * The message's `om_...` id.
8470
+ */
8471
+ message_id: string;
8472
+ };
8473
+ query?: never;
8474
+ url: '/v1/end-users/{end_user_id}/scheduled-messages/{message_id}';
8475
+ };
8476
+ export type GetScheduledMessageErrors = {
8477
+ /**
8478
+ * Missing or invalid credentials
8479
+ */
8480
+ 401: ErrorResponse;
8481
+ /**
8482
+ * 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
8483
+ */
8484
+ 403: ErrorResponse;
8485
+ /**
8486
+ * Unknown end user id Or: No such scheduled message for this end user.
8487
+ */
8488
+ 404: ErrorResponse;
8489
+ /**
8490
+ * The request failed validation
8491
+ */
8492
+ 422: ErrorResponse;
8493
+ /**
8494
+ * Rate limit exceeded
8495
+ */
8496
+ 429: ErrorResponse;
8497
+ };
8498
+ export type GetScheduledMessageError = GetScheduledMessageErrors[keyof GetScheduledMessageErrors];
8499
+ export type GetScheduledMessageResponses = {
8500
+ /**
8501
+ * Success
8502
+ */
8503
+ 200: ScheduledMessage;
8504
+ };
8505
+ export type GetScheduledMessageResponse = GetScheduledMessageResponses[keyof GetScheduledMessageResponses];
8088
8506
  export type ListKnowledgeCategoriesData = {
8089
8507
  body?: never;
8090
8508
  path?: never;
package/dist/index.d.ts CHANGED
@@ -10,7 +10,7 @@ export type * from "./gen/index.js";
10
10
  export type { Page } from "./paging.js";
11
11
  export type { AgentKnowledge, AgentSettings, Agents, AgentTools, } from "./resources/agents.js";
12
12
  export type { AssetListParams, Assets, AssetUploadFields, FolderListParams, Folders, } from "./resources/assets.js";
13
- export type { EndUserCreated, EndUserExport, EndUserListParams, EndUserMemories, EndUserMemoryListParams, EndUsers, } from "./resources/end-users.js";
13
+ export type { EndUserCreated, EndUserExport, EndUserListParams, EndUserMemories, EndUserMemoryListParams, EndUserScheduledMessages, EndUsers, } from "./resources/end-users.js";
14
14
  export type { EphemeralKeyCreateOptions, EphemeralKeyListParams, EphemeralKeyRevokeOptions, EphemeralKeys, } from "./resources/ephemeral-keys.js";
15
15
  export type { GenerationListParams, Generations, Images, Jobs, Skybox, } from "./resources/generations.js";
16
16
  export type { Knowledge, KnowledgeInsightsParams, KnowledgeListParams, KnowledgeUploadFields, } from "./resources/knowledge.js";
@@ -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, 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, MemoryInfo, MemoryPage, NoteCreateRequest, NoteTaken, 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";
@@ -135,11 +135,36 @@ export interface EndUserReports {
135
135
  /** One report. A `NotFoundError` when there is none, or no such person. */
136
136
  get(id: string, reportId: string, options?: RequestOptions): Promise<ConversationReport>;
137
137
  }
138
+ /**
139
+ * `endUsers.scheduledMessages`: messages an agent writes to one person
140
+ * first, at a set time, while they are away —
141
+ * `/v1/end-users/{id}/scheduled-messages`. The agent needs
142
+ * `outreach_enabled`; each message is one model call, paid from your
143
+ * balance; your webhook is sent it to show as a notification.
144
+ */
145
+ export interface EndUserScheduledMessages {
146
+ /**
147
+ * Schedules one: the agent writes about `note`, in character, at
148
+ * `send_at`. 409 when the agent does not write first or the person's day
149
+ * or queue is full; 402 when your balance cannot set its reserve aside.
150
+ */
151
+ create(id: string, body: ScheduledMessageCreateRequest, options?: RequestOptions): Promise<ScheduledMessage>;
152
+ /** Every message, newest `send_at` first; `status` to filter. */
153
+ list(id: string, params?: {
154
+ status?: ScheduledMessage["status"];
155
+ }, options?: RequestOptions): AsyncGenerator<ScheduledMessage, void, undefined>;
156
+ /** One message. */
157
+ get(id: string, messageId: string, options?: RequestOptions): Promise<ScheduledMessage>;
158
+ /** Cancels one still waiting; 409 one no longer waiting. */
159
+ cancel(id: string, messageId: string, options?: RequestOptions): Promise<ScheduledMessage>;
160
+ }
138
161
  export declare class EndUsers extends Editable<EndUserInfo, EndUserUpdateRequest, EndUserInfo, EndUserDeleted | null> {
139
162
  private readonly keys;
140
163
  readonly facts: EndUserFacts;
141
164
  readonly memories: EndUserMemories;
142
165
  readonly personalization: EndUserPersonalizations;
166
+ /** Messages an agent writes to the person first: `endUsers.scheduledMessages`. */
167
+ readonly scheduledMessages: EndUserScheduledMessages;
143
168
  readonly reports: EndUserReports;
144
169
  constructor(api: Transport, base: string, keys: EphemeralKeys);
145
170
  /**
@@ -100,6 +100,13 @@ export class EndUsers extends Editable {
100
100
  page: (id, params = {}, options) => this.send("GET", reports(id), options, params),
101
101
  get: (id, reportId, options) => this.send("GET", reports(id, `/${segment(reportId)}`), options),
102
102
  };
103
+ const message = (id, messageId) => this.at(id, `/scheduled-messages/${segment(messageId)}`);
104
+ this.scheduledMessages = {
105
+ create: (id, body, options) => this.send("POST", this.at(id, "/scheduled-messages"), options, body),
106
+ list: (id, params = {}, options) => this.each(this.at(id, "/scheduled-messages"), params, options, PAGE),
107
+ get: (id, messageId, options) => this.send("GET", message(id, messageId), options),
108
+ cancel: (id, messageId, options) => this.send("DELETE", message(id, messageId), options),
109
+ };
103
110
  }
104
111
  /**
105
112
  * Makes a person, or finds the one your `external_id` already names.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lumavox/server",
3
- "version": "0.34.0",
3
+ "version": "0.37.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",