# Shared Types ```python from telnyx.types import ( APIError, AvailablePhoneNumbersMetadata, AzureVoiceSettings, BookAppointmentTool, BookAppointmentToolParams, CallControlBucketIDs, CallControlRetrievalTool, CheckAvailabilityTool, CheckAvailabilityToolParams, ConnectionJitterBuffer, ConnectionNoiseSuppressionDetails, ConnectionsPaginationMeta, CostInformation, Cursor, DocReqsRequirementType, Feature, HostedNumber, InboundMessagePayload, InworldVoiceSettings, MessagingError, MessagingFeatureSet, MessagingHostedNumberOrder, MessagingPaginationMeta, Metadata, MinimaxVoiceSettings, NetappsLocation, NumberHealthMetrics, PhoneNumberWithMessagingSettings, PhoneNumbersJobPhoneNumber, PortingOrderStatus, PortingOrdersExceptionType, RegionInformation, ReputationData, ResembleVoiceSettings, RoomParticipant, ShortCode, SimCardStatus, SimpleSimCard, SubNumberOrderRegulatoryRequirementWithValue, WhatsappTemplateData, XaiVoiceSettings, ) ``` # BrowserSessions Types: ```python from telnyx.types import ( Session, BrowserSessionCreateResponse, BrowserSessionRetrieveResponse, BrowserSessionListResponse, BrowserSessionDeleteResponse, BrowserSessionRetrieveArtifactResponse, ) ``` Methods: - client.browser_sessions.create(\*\*params) -> BrowserSessionCreateResponse - client.browser_sessions.retrieve(id) -> BrowserSessionRetrieveResponse - client.browser_sessions.list(\*\*params) -> BrowserSessionListResponse - client.browser_sessions.delete(id) -> BrowserSessionDeleteResponse - client.browser_sessions.retrieve_artifact(artifact_id, \*, id) -> BrowserSessionRetrieveArtifactResponse ## Actions Types: ```python from telnyx.types.browser_sessions import ( ActionResponse, ClickAction, FillAction, NavigateAction, ObserveAction, PressAction, ScreenshotAction, ScrollAction, SelectAction, WaitForAction, ActionCreateResponse, ActionRetrieveResponse, ) ``` Methods: - client.browser_sessions.actions.create(id, \*\*params) -> ActionCreateResponse - client.browser_sessions.actions.retrieve(action_id, \*, id) -> ActionRetrieveResponse # Legacy ## Reporting ### BatchDetailRecords Types: ```python from telnyx.types.legacy.reporting import Filter ``` #### Messaging Types: ```python from telnyx.types.legacy.reporting.batch_detail_records import ( BatchCsvPaginationMeta, BatchCsvPaginationMeta705dfa7312, MdrDetailReportResponse, MessagingCreateResponse, MessagingRetrieveResponse, MessagingListResponse, MessagingDeleteResponse, ) ``` Methods: - client.legacy.reporting.batch_detail_records.messaging.create(\*\*params) -> MessagingCreateResponse - client.legacy.reporting.batch_detail_records.messaging.retrieve(id) -> MessagingRetrieveResponse - client.legacy.reporting.batch_detail_records.messaging.list() -> MessagingListResponse - client.legacy.reporting.batch_detail_records.messaging.delete(id) -> MessagingDeleteResponse #### SpeechToText Types: ```python from telnyx.types.legacy.reporting.batch_detail_records import ( SttDetailReportResponse, SpeechToTextCreateResponse, SpeechToTextRetrieveResponse, SpeechToTextListResponse, SpeechToTextDeleteResponse, ) ``` Methods: - client.legacy.reporting.batch_detail_records.speech_to_text.create(\*\*params) -> SpeechToTextCreateResponse - client.legacy.reporting.batch_detail_records.speech_to_text.retrieve(id) -> SpeechToTextRetrieveResponse - client.legacy.reporting.batch_detail_records.speech_to_text.list() -> SpeechToTextListResponse - client.legacy.reporting.batch_detail_records.speech_to_text.delete(id) -> SpeechToTextDeleteResponse #### Voice Types: ```python from telnyx.types.legacy.reporting.batch_detail_records import ( CdrDetailedReqResponse, VoiceCreateResponse, VoiceRetrieveResponse, VoiceListResponse, VoiceDeleteResponse, VoiceRetrieveFieldsResponse, ) ``` Methods: - client.legacy.reporting.batch_detail_records.voice.create(\*\*params) -> VoiceCreateResponse - client.legacy.reporting.batch_detail_records.voice.retrieve(id) -> VoiceRetrieveResponse - client.legacy.reporting.batch_detail_records.voice.list() -> VoiceListResponse - client.legacy.reporting.batch_detail_records.voice.delete(id) -> VoiceDeleteResponse - client.legacy.reporting.batch_detail_records.voice.retrieve_fields() -> VoiceRetrieveFieldsResponse ### UsageReports Types: ```python from telnyx.types.legacy.reporting import UsageReportRetrieveSpeechToTextResponse ``` Methods: - client.legacy.reporting.usage_reports.retrieve_speech_to_text(\*\*params) -> UsageReportRetrieveSpeechToTextResponse #### Messaging Types: ```python from telnyx.types.legacy.reporting.usage_reports import ( MdrUsageReportResponseLegacy, StandardPaginationMeta, StandardPaginationMetaFfba4faa88, MessagingCreateResponse, MessagingRetrieveResponse, MessagingDeleteResponse, ) ``` Methods: - client.legacy.reporting.usage_reports.messaging.create(\*\*params) -> MessagingCreateResponse - client.legacy.reporting.usage_reports.messaging.retrieve(id) -> MessagingRetrieveResponse - client.legacy.reporting.usage_reports.messaging.list(\*\*params) -> SyncPerPagePagination[MdrUsageReportResponseLegacy] - client.legacy.reporting.usage_reports.messaging.delete(id) -> MessagingDeleteResponse #### NumberLookup Types: ```python from telnyx.types.legacy.reporting.usage_reports import ( TelcoDataAggregation, TelcoDataUsageRecord, TelcoDataUsageReportResponse, NumberLookupCreateResponse, NumberLookupRetrieveResponse, ) ``` Methods: - client.legacy.reporting.usage_reports.number_lookup.create(\*\*params) -> NumberLookupCreateResponse - client.legacy.reporting.usage_reports.number_lookup.retrieve(id) -> NumberLookupRetrieveResponse - client.legacy.reporting.usage_reports.number_lookup.list(\*\*params) -> SyncPerPagePagination[TelcoDataUsageReportResponse] - client.legacy.reporting.usage_reports.number_lookup.delete(id) -> None #### Voice Types: ```python from telnyx.types.legacy.reporting.usage_reports import ( CdrUsageReportResponseLegacy, VoiceCreateResponse, VoiceRetrieveResponse, VoiceDeleteResponse, ) ``` Methods: - client.legacy.reporting.usage_reports.voice.create(\*\*params) -> VoiceCreateResponse - client.legacy.reporting.usage_reports.voice.retrieve(id) -> VoiceRetrieveResponse - client.legacy.reporting.usage_reports.voice.list(\*\*params) -> SyncPerPagePagination[CdrUsageReportResponseLegacy] - client.legacy.reporting.usage_reports.voice.delete(id) -> VoiceDeleteResponse # OAuth Types: ```python from telnyx.types import ( OAuthRetrieveResponse, OAuthGrantsResponse, OAuthIntrospectResponse, OAuthRegisterResponse, OAuthRetrieveAuthorizeResponse, OAuthRetrieveJwksResponse, OAuthTokenResponse, ) ``` Methods: - client.oauth.retrieve(consent_token) -> OAuthRetrieveResponse - client.oauth.grants(\*\*params) -> OAuthGrantsResponse - client.oauth.introspect(\*\*params) -> OAuthIntrospectResponse - client.oauth.register(\*\*params) -> OAuthRegisterResponse - client.oauth.retrieve_authorize(\*\*params) -> str - client.oauth.retrieve_jwks() -> OAuthRetrieveJwksResponse - client.oauth.token(\*\*params) -> OAuthTokenResponse # OAuthClients Types: ```python from telnyx.types import ( OAuthClient, OAuthOAuthPaginationMeta, PaginationMetaOAuth, OAuthClientCreateResponse, OAuthClientRetrieveResponse, OAuthClientUpdateResponse, ) ``` Methods: - client.oauth_clients.create(\*\*params) -> OAuthClientCreateResponse - client.oauth_clients.retrieve(id) -> OAuthClientRetrieveResponse - client.oauth_clients.update(id, \*\*params) -> OAuthClientUpdateResponse - client.oauth_clients.list(\*\*params) -> SyncDefaultFlatPagination[OAuthClient] - client.oauth_clients.delete(id) -> None # OAuthGrants Types: ```python from telnyx.types import OAuthGrant, OAuthGrantRetrieveResponse, OAuthGrantDeleteResponse ``` Methods: - client.oauth_grants.retrieve(id) -> OAuthGrantRetrieveResponse - client.oauth_grants.list(\*\*params) -> SyncDefaultFlatPagination[OAuthGrant] - client.oauth_grants.delete(id) -> OAuthGrantDeleteResponse # Webhooks Types: ```python from telnyx.types import ( CallAIGatherEnded, CallAIGatherMessageHistoryUpdated, CallAIGatherPartialResults, CallAnswered, CallBridged, CallConversationEnded, CallConversationInsightsGenerated, CallDtmfReceived, CallEnqueued, CallForkStarted, CallForkStopped, CallGatherEnded, CallHangup, CallInitiated, CallLeftQueue, CallMachineDetectionEnded, CallMachineGreetingEnded, CallMachinePremiumDetectionEnded, CallMachinePremiumGreetingEnded, CallPlaybackEnded, CallPlaybackStarted, CallRecordingError, CallRecordingSaved, CallRecordingTranscriptionSaved, CallReferCompleted, CallReferFailed, CallReferStarted, CallSiprecFailed, CallSiprecStarted, CallSiprecStopped, CallSpeakEnded, CallSpeakStarted, CallStreamingFailed, CallStreamingStarted, CallStreamingStopped, CampaignStatusUpdate, ConferenceCreated, ConferenceEnded, ConferenceFloorChanged, ConferenceParticipantJoined, ConferenceParticipantLeft, ConferenceParticipantPlaybackEnded, ConferenceParticipantPlaybackStarted, ConferenceParticipantSpeakEnded, ConferenceParticipantSpeakStarted, ConferencePlaybackEnded, ConferencePlaybackStarted, ConferenceRecordingSaved, ConferenceSpeakEnded, ConferenceSpeakStarted, FaxDelivered, FaxFailed, FaxMediaProcessed, FaxQueued, FaxSendingStarted, InboundMessage, InboundSipHeader, MessagingInboundMessage, NumberOrderStatusUpdate, OutboundMessage, ReplacedLinkClick, Transcription, WhatsappAccountUpdate, WhatsappMessageEcho, CallAIGatherEndedWebhookEvent, CallAIGatherMessageHistoryUpdatedWebhookEvent, CallAIGatherPartialResultsWebhookEvent, ArtifactCompletedWebhookEvent, ArtifactFailedWebhookEvent, CallAnalyzedWebhookEvent, CallAnsweredWebhookEvent, CallBridgedWebhookEvent, CallConversationCreatedWebhookEvent, CallConversationEndedWebhookEvent, CallConversationInsightsGeneratedWebhookEvent, CallConversationStartFailedWebhookEvent, CallCostWebhookEvent, CallDeepfakeDetectionErrorWebhookEvent, CallDeepfakeDetectionResultWebhookEvent, CallDtmfReceivedWebhookEvent, CallEnqueuedWebhookEvent, CallForkStartedWebhookEvent, CallForkStoppedWebhookEvent, CallGatherEndedWebhookEvent, CallHangupWebhookEvent, CallHoldWebhookEvent, CallInitiatedWebhookEvent, CallLeftQueueWebhookEvent, CallMachineDetectionEndedWebhookEvent, CallMachineGreetingEndedWebhookEvent, CallMachinePremiumCallScreeningDetectedWebhookEvent, CallMachinePremiumDetectionEndedWebhookEvent, CallMachinePremiumDetectionStartedWebhookEvent, CallMachinePremiumGreetingEndedWebhookEvent, CallPaymentCompletedWebhookEvent, CallPaymentProgressWebhookEvent, CallPlaybackEndedWebhookEvent, CallPlaybackStartedWebhookEvent, CallRecordingErrorWebhookEvent, CallRecordingSavedWebhookEvent, CallRecordingTranscriptionSavedWebhookEvent, CallReferCompletedWebhookEvent, CallReferFailedWebhookEvent, CallReferStartedWebhookEvent, CallSiprecFailedWebhookEvent, CallSiprecStartedWebhookEvent, CallSiprecStoppedWebhookEvent, CallSpeakEndedWebhookEvent, CallSpeakStartedWebhookEvent, CallStreamingFailedWebhookEvent, CallStreamingStartedWebhookEvent, CallStreamingStoppedWebhookEvent, CallUnholdWebhookEvent, ConferenceCreatedWebhookEvent, ConferenceEndedWebhookEvent, ConferenceParticipantJoinedWebhookEvent, ConferenceParticipantLeftWebhookEvent, ConferenceParticipantPlaybackEndedWebhookEvent, ConferenceParticipantPlaybackStartedWebhookEvent, ConferenceParticipantSpeakEndedWebhookEvent, ConferenceParticipantSpeakStartedWebhookEvent, ConferencePlaybackEndedWebhookEvent, ConferencePlaybackStartedWebhookEvent, ConferenceRecordingSavedWebhookEvent, ConferenceSpeakEndedWebhookEvent, ConferenceSpeakStartedWebhookEvent, DeliveryUpdateWebhookEvent, HostedNumberOrderEventWebhookEvent, InboundMessageWebhookEvent, NumberOrderStatusUpdateWebhookEvent, NumberReputationExternalVerificationStatusChangedWebhookEvent, NumberReputationNumberFlaggedWebhookEvent, NumberReputationNumberRemovedWebhookEvent, RecordingExportFailedWebhookEvent, RecordingExportedWebhookEvent, ReplacedLinkClickWebhookEvent, SessionStatusChangedWebhookEvent, TranscriptCompletedWebhookEvent, TranscriptionWebhookEvent, WhatsappWabaAddedWebhookEvent, CallAIGatherEndedWebhookEvent, CallAIGatherMessageHistoryUpdatedWebhookEvent, CallAIGatherPartialResultsWebhookEvent, ArtifactCompletedWebhookEvent, ArtifactFailedWebhookEvent, CallAnalyzedWebhookEvent, CallAnsweredWebhookEvent, CallBridgedWebhookEvent, CallConversationCreatedWebhookEvent, CallConversationEndedWebhookEvent, CallConversationInsightsGeneratedWebhookEvent, CallConversationStartFailedWebhookEvent, CallCostWebhookEvent, CallDeepfakeDetectionErrorWebhookEvent, CallDeepfakeDetectionResultWebhookEvent, CallDtmfReceivedWebhookEvent, CallEnqueuedWebhookEvent, CallForkStartedWebhookEvent, CallForkStoppedWebhookEvent, CallGatherEndedWebhookEvent, CallHangupWebhookEvent, CallHoldWebhookEvent, CallInitiatedWebhookEvent, CallLeftQueueWebhookEvent, CallMachineDetectionEndedWebhookEvent, CallMachineGreetingEndedWebhookEvent, CallMachinePremiumCallScreeningDetectedWebhookEvent, CallMachinePremiumDetectionEndedWebhookEvent, CallMachinePremiumDetectionStartedWebhookEvent, CallMachinePremiumGreetingEndedWebhookEvent, CallPaymentCompletedWebhookEvent, CallPaymentProgressWebhookEvent, CallPlaybackEndedWebhookEvent, CallPlaybackStartedWebhookEvent, CallRecordingErrorWebhookEvent, CallRecordingSavedWebhookEvent, CallRecordingTranscriptionSavedWebhookEvent, CallReferCompletedWebhookEvent, CallReferFailedWebhookEvent, CallReferStartedWebhookEvent, CallSiprecFailedWebhookEvent, CallSiprecStartedWebhookEvent, CallSiprecStoppedWebhookEvent, CallSpeakEndedWebhookEvent, CallSpeakStartedWebhookEvent, CallStreamingFailedWebhookEvent, CallStreamingStartedWebhookEvent, CallStreamingStoppedWebhookEvent, CallUnholdWebhookEvent, ConferenceCreatedWebhookEvent, ConferenceEndedWebhookEvent, ConferenceParticipantJoinedWebhookEvent, ConferenceParticipantLeftWebhookEvent, ConferenceParticipantPlaybackEndedWebhookEvent, ConferenceParticipantPlaybackStartedWebhookEvent, ConferenceParticipantSpeakEndedWebhookEvent, ConferenceParticipantSpeakStartedWebhookEvent, ConferencePlaybackEndedWebhookEvent, ConferencePlaybackStartedWebhookEvent, ConferenceRecordingSavedWebhookEvent, ConferenceSpeakEndedWebhookEvent, ConferenceSpeakStartedWebhookEvent, DeliveryUpdateWebhookEvent, HostedNumberOrderEventWebhookEvent, InboundMessageWebhookEvent, NumberOrderStatusUpdateWebhookEvent, NumberReputationExternalVerificationStatusChangedWebhookEvent, NumberReputationNumberFlaggedWebhookEvent, NumberReputationNumberRemovedWebhookEvent, RecordingExportFailedWebhookEvent, RecordingExportedWebhookEvent, ReplacedLinkClickWebhookEvent, SessionStatusChangedWebhookEvent, TranscriptCompletedWebhookEvent, TranscriptionWebhookEvent, WhatsappWabaAddedWebhookEvent, UnsafeUnwrapWebhookEvent, UnwrapWebhookEvent, ) ``` # AccessIPAddress Types: ```python from telnyx.types import ( AccessIPAddressResponse, CloudflareSyncStatus, PaginationMetaCloudflareIPListSync, ) ``` Methods: - client.access_ip_address.create(\*\*params) -> AccessIPAddressResponse - client.access_ip_address.retrieve(access_ip_address_id) -> AccessIPAddressResponse - client.access_ip_address.list(\*\*params) -> SyncDefaultFlatPagination[AccessIPAddressResponse] - client.access_ip_address.delete(access_ip_address_id) -> AccessIPAddressResponse # AccessIPRanges Types: ```python from telnyx.types import AccessIPRange ``` Methods: - client.access_ip_ranges.create(\*\*params) -> AccessIPRange - client.access_ip_ranges.list(\*\*params) -> SyncDefaultFlatPagination[AccessIPRange] - client.access_ip_ranges.delete(access_ip_range_id) -> AccessIPRange # Actions Types: ```python from telnyx.types import WirelessError ``` ## Purchase Types: ```python from telnyx.types.actions import WirelessErrorC5290d5308, PurchaseCreateResponse ``` Methods: - client.actions.purchase.create(\*\*params) -> PurchaseCreateResponse ## Register Types: ```python from telnyx.types.actions import RegisterCreateResponse ``` Methods: - client.actions.register.create(\*\*params) -> RegisterCreateResponse # Addresses Types: ```python from telnyx.types import ( Address, AddressCreateResponse, AddressRetrieveResponse, AddressDeleteResponse, ) ``` Methods: - client.addresses.create(\*\*params) -> AddressCreateResponse - client.addresses.retrieve(id) -> AddressRetrieveResponse - client.addresses.list(\*\*params) -> SyncDefaultFlatPagination[Address] - client.addresses.delete(id) -> AddressDeleteResponse ## Actions Types: ```python from telnyx.types.addresses import ActionAcceptSuggestionsResponse, ActionValidateResponse ``` Methods: - client.addresses.actions.accept_suggestions(address_uuid, \*\*params) -> ActionAcceptSuggestionsResponse - client.addresses.actions.validate(\*\*params) -> ActionValidateResponse # AdvancedOrders Types: ```python from telnyx.types import AdvancedOrder, AdvancedOrderRequest, AdvancedOrderListResponse ``` Methods: - client.advanced_orders.create(\*\*params) -> AdvancedOrder - client.advanced_orders.retrieve(order_id) -> AdvancedOrder - client.advanced_orders.list() -> AdvancedOrderListResponse - client.advanced_orders.update_requirement_group(advanced_order_id, \*\*params) -> AdvancedOrder # AI Types: ```python from telnyx.types import ( ModelMetadata, ModelsResponse, AIRetrieveConversationHistoriesResponse, AISummarizeResponse, ) ``` Methods: - client.ai.retrieve_conversation_histories(\*\*params) -> SyncDefaultFlatPagination[AIRetrieveConversationHistoriesResponse] - client.ai.summarize(\*\*params) -> AISummarizeResponse ## Assistants Types: ```python from telnyx.types.ai import ( ArithmeticExpression, Assistant, AssistantA2AAgent, AssistantIntegration, AssistantMcpServer, AssistantTool, AssistantsList, AudioVisualizerConfig, AuthenticationMethod, AvatarSettingsRequest, BooleanOpExpression, ComparisonExpression, ConversationFlow, ConversationFlowReq, DelegationSettings, EnabledFeatures, Expression, ExternalLlm, ExternalLlmReq, FallbackConfig, FallbackConfigReq, FlowEdge, FlowNode, FlowNodeReq, HangupTool, HangupToolParams, ImportMetadata, InferenceEmbedding, InferenceEmbeddingInterruptionSettings, InferenceEmbeddingVoiceSettings, InferenceEmbeddingWebhookToolParams, InsightSettings, MessagingSettings, NodePosition, Observability, ObservabilityReq, ObservabilityStatus, PostConversationSettings, PostConversationSettingsReq, PrivacySettings, PromptSyncStatus, RetrievalTool, SpeakNode, SpeakNodeReq, StartSpeakingPlan, TelephonySettings, TelnyxAvatarSettings, ToolNode, ToolNodeReq, TranscriptionChallenger, TranscriptionEndpointingPlan, TranscriptionFallbackModel, TranscriptionSettings, TranscriptionSettingsConfig, TransferTool, VoiceSettings, WebhookTool, WebsocketSettings, WidgetSettings, AssistantDeleteResponse, AssistantChatResponse, AssistantGetTexmlResponse, AssistantSendSMSResponse, AssistantWhatsappResponse, ) ``` Methods: - client.ai.assistants.create(\*\*params) -> InferenceEmbedding - client.ai.assistants.retrieve(assistant_id, \*\*params) -> InferenceEmbedding - client.ai.assistants.update(assistant_id, \*\*params) -> InferenceEmbedding - client.ai.assistants.list() -> AssistantsList - client.ai.assistants.delete(assistant_id, \*\*params) -> AssistantDeleteResponse - client.ai.assistants.chat(assistant_id, \*\*params) -> AssistantChatResponse - client.ai.assistants.clone(assistant_id) -> InferenceEmbedding - client.ai.assistants.get_texml(assistant_id) -> str - client.ai.assistants.imports(\*\*params) -> AssistantsList - client.ai.assistants.restore(assistant_id) -> InferenceEmbedding - client.ai.assistants.send_sms(assistant_id, \*\*params) -> AssistantSendSMSResponse - client.ai.assistants.whatsapp(assistant_id, \*\*params) -> AssistantWhatsappResponse ### Tests Types: ```python from telnyx.types.ai.assistants import AssistantTest, TelnyxConversationChannel ``` Methods: - client.ai.assistants.tests.create(\*\*params) -> AssistantTest - client.ai.assistants.tests.retrieve(test_id) -> AssistantTest - client.ai.assistants.tests.update(test_id, \*\*params) -> AssistantTest - client.ai.assistants.tests.list(\*\*params) -> SyncDefaultFlatPagination[AssistantTest] - client.ai.assistants.tests.delete(test_id) -> None #### TestSuites Types: ```python from telnyx.types.ai.assistants.tests import TestSuiteListResponse ``` Methods: - client.ai.assistants.tests.test_suites.list() -> TestSuiteListResponse ##### Runs Types: ```python from telnyx.types.ai.assistants.tests.test_suites import ( Meta, PaginatedTestRunList, RunTriggerResponse, ) ``` Methods: - client.ai.assistants.tests.test_suites.runs.list(suite_name, \*\*params) -> SyncDefaultFlatPagination[TestRunResponse] - client.ai.assistants.tests.test_suites.runs.trigger(suite_name, \*\*params) -> RunTriggerResponse #### Runs Types: ```python from telnyx.types.ai.assistants.tests import TestRunDetailResult, TestRunResponse, TestStatus ``` Methods: - client.ai.assistants.tests.runs.retrieve(run_id, \*, test_id) -> TestRunResponse - client.ai.assistants.tests.runs.list(test_id, \*\*params) -> SyncDefaultFlatPagination[TestRunResponse] - client.ai.assistants.tests.runs.trigger(test_id, \*\*params) -> TestRunResponse ### CanaryDeploys Types: ```python from telnyx.types.ai.assistants import ( CanaryDeploy, CanaryDeployResponse, Clause, RolloutSlot, RuleInput, RuleOutput, Serve, ) ``` Methods: - client.ai.assistants.canary_deploys.create(assistant_id, \*\*params) -> CanaryDeployResponse - client.ai.assistants.canary_deploys.retrieve(assistant_id) -> CanaryDeployResponse - client.ai.assistants.canary_deploys.update(assistant_id, \*\*params) -> CanaryDeployResponse - client.ai.assistants.canary_deploys.delete(assistant_id) -> None ### ScheduledEvents Types: ```python from telnyx.types.ai.assistants import ( ConversationChannelType, EventStatus, ScheduledCallSettings, ScheduledEventResponse, ScheduledPhoneCallEventResponse, ScheduledSMSEventResponse, ScheduledEventListResponse, ) ``` Methods: - client.ai.assistants.scheduled_events.create(assistant_id, \*\*params) -> ScheduledEventResponse - client.ai.assistants.scheduled_events.retrieve(event_id, \*, assistant_id) -> ScheduledEventResponse - client.ai.assistants.scheduled_events.list(assistant_id, \*\*params) -> SyncDefaultFlatPagination[ScheduledEventListResponse] - client.ai.assistants.scheduled_events.delete(event_id, \*, assistant_id) -> None ### Tools Types: ```python from telnyx.types.ai.assistants import ToolTestResponse ``` Methods: - client.ai.assistants.tools.add(tool_id, \*, assistant_id) -> object - client.ai.assistants.tools.remove(tool_id, \*, assistant_id) -> object - client.ai.assistants.tools.test(tool_id, \*, assistant_id, \*\*params) -> ToolTestResponse ### Versions Types: ```python from telnyx.types.ai.assistants import UpdateAssistant ``` Methods: - client.ai.assistants.versions.retrieve(version_id, \*, assistant_id, \*\*params) -> InferenceEmbedding - client.ai.assistants.versions.update(version_id, \*, assistant_id, \*\*params) -> InferenceEmbedding - client.ai.assistants.versions.list(assistant_id) -> AssistantsList - client.ai.assistants.versions.delete(version_id, \*, assistant_id) -> None - client.ai.assistants.versions.promote(version_id, \*, assistant_id) -> InferenceEmbedding ### Tags Types: ```python from telnyx.types.ai.assistants import TagsResponse ``` Methods: - client.ai.assistants.tags.list() -> TagsResponse - client.ai.assistants.tags.add(assistant_id, \*\*params) -> TagsResponse - client.ai.assistants.tags.remove(tag, \*, assistant_id) -> TagsResponse ### Instructions Types: ```python from telnyx.types.ai.assistants import InstructionEnhanceResponse ``` Methods: - client.ai.assistants.instructions.enhance(assistant_id, \*\*params) -> str ### Deleted Types: ```python from telnyx.types.ai.assistants import DeletedAssistant ``` Methods: - client.ai.assistants.deleted.list(\*\*params) -> SyncDefaultFlatPagination[DeletedAssistant] - client.ai.assistants.deleted.get(assistant_id) -> DeletedAssistant ## Audio Types: ```python from telnyx.types.ai import AudioTranscriptionResponseWord, AudioTranscribeResponse ``` Methods: - client.ai.audio.transcribe(\*\*params) -> AudioTranscribeResponse ## Chat Types: ```python from telnyx.types.ai import BucketIDs, ChatCompletionRequest ``` ## Clusters Types: ```python from telnyx.types.ai import ( RecursiveCluster, ClusterRetrieveResponse, ClusterListResponse, ClusterComputeResponse, ) ``` Methods: - client.ai.clusters.retrieve(task_id, \*\*params) -> ClusterRetrieveResponse - client.ai.clusters.list(\*\*params) -> SyncDefaultFlatPagination[ClusterListResponse] - client.ai.clusters.delete(task_id) -> None - client.ai.clusters.compute(\*\*params) -> ClusterComputeResponse - client.ai.clusters.fetch_graph(task_id, \*\*params) -> BinaryAPIResponse ## Collections Types: ```python from telnyx.types.ai import Collection, CollectionEnvelope ``` Methods: - client.ai.collections.create(\*\*params) -> CollectionEnvelope - client.ai.collections.retrieve(slug) -> CollectionEnvelope - client.ai.collections.update(uuid, \*\*params) -> CollectionEnvelope - client.ai.collections.list(\*\*params) -> SyncDefaultFlatPagination[Collection] - client.ai.collections.delete(uuid) -> None - client.ai.collections.retrieve_by_id(uuid) -> CollectionEnvelope ### Settings Types: ```python from telnyx.types.ai.collections import ( RetrievalSettings, RetrievalSettingsWrapper, SettingsEnvelope, SettingsRequest, ) ``` Methods: - client.ai.collections.settings.create(uuid, \*\*params) -> SettingsEnvelope - client.ai.collections.settings.list(uuid) -> SettingsEnvelope - client.ai.collections.settings.patch_all(uuid, \*\*params) -> SettingsEnvelope ### Sources Types: ```python from telnyx.types.ai.collections import ( CollectionsSource, Source, SourceRequest, SourceType, SourceCreateResponse, SourceListResponse, SourceReplaceResponse, ) ``` Methods: - client.ai.collections.sources.create(uuid, \*\*params) -> SourceCreateResponse - client.ai.collections.sources.list(uuid) -> SourceListResponse - client.ai.collections.sources.delete(source_id, \*, uuid) -> None - client.ai.collections.sources.replace(uuid, \*\*params) -> SourceReplaceResponse ## Conversations Types: ```python from telnyx.types.ai import ( Conversation, ConversationRetrieveResponse, ConversationUpdateResponse, ConversationListResponse, ConversationRetrieveConversationsInsightsResponse, ) ``` Methods: - client.ai.conversations.create(\*\*params) -> Conversation - client.ai.conversations.retrieve(conversation_id) -> ConversationRetrieveResponse - client.ai.conversations.update(conversation_id, \*\*params) -> ConversationUpdateResponse - client.ai.conversations.list(\*\*params) -> ConversationListResponse - client.ai.conversations.delete(conversation_id) -> None - client.ai.conversations.add_message(conversation_id, \*\*params) -> None - client.ai.conversations.delete_delete(insight_id, \*, conversation_id) -> None - client.ai.conversations.retrieve_conversations_insights(conversation_id) -> ConversationRetrieveConversationsInsightsResponse ### InsightGroups Types: ```python from telnyx.types.ai.conversations import InsightTemplateGroup, InsightTemplateGroupDetail ``` Methods: - client.ai.conversations.insight_groups.retrieve(group_id) -> InsightTemplateGroupDetail - client.ai.conversations.insight_groups.update(group_id, \*\*params) -> InsightTemplateGroupDetail - client.ai.conversations.insight_groups.delete(group_id) -> None - client.ai.conversations.insight_groups.insight_groups(\*\*params) -> InsightTemplateGroupDetail - client.ai.conversations.insight_groups.retrieve_insight_groups(\*\*params) -> SyncDefaultFlatPagination[InsightTemplateGroup] #### Insights Methods: - client.ai.conversations.insight_groups.insights.assign(insight_id, \*, group_id) -> None - client.ai.conversations.insight_groups.insights.delete_unassign(insight_id, \*, group_id) -> None ### Insights Types: ```python from telnyx.types.ai.conversations import InsightTemplate, InsightTemplateDetail ``` Methods: - client.ai.conversations.insights.create(\*\*params) -> InsightTemplateDetail - client.ai.conversations.insights.retrieve(insight_id) -> InsightTemplateDetail - client.ai.conversations.insights.update(insight_id, \*\*params) -> InsightTemplateDetail - client.ai.conversations.insights.list(\*\*params) -> SyncDefaultFlatPagination[InsightTemplate] - client.ai.conversations.insights.delete(insight_id) -> None ### Messages Types: ```python from telnyx.types.ai.conversations import MessageListResponse ``` Methods: - client.ai.conversations.messages.list(conversation_id, \*\*params) -> SyncDefaultFlatPagination[MessageListResponse] ### ConversationInsights Types: ```python from telnyx.types.ai.conversations import ConversationInsightRetrieveAggregatesResponse ``` Methods: - client.ai.conversations.conversation_insights.retrieve_aggregates(\*\*params) -> ConversationInsightRetrieveAggregatesResponse ## Embeddings Types: ```python from telnyx.types.ai import ( BackgroundTaskStatus, EmbeddingResponse, EmbeddingRetrieveResponse, EmbeddingListResponse, EmbeddingSimilaritySearchResponse, ) ``` Methods: - client.ai.embeddings.create(\*\*params) -> EmbeddingResponse - client.ai.embeddings.retrieve(task_id) -> EmbeddingRetrieveResponse - client.ai.embeddings.list(\*\*params) -> EmbeddingListResponse - client.ai.embeddings.similarity_search(\*\*params) -> EmbeddingSimilaritySearchResponse - client.ai.embeddings.url(\*\*params) -> EmbeddingResponse ### Buckets Types: ```python from telnyx.types.ai.embeddings import BucketRetrieveResponse, BucketListResponse ``` Methods: - client.ai.embeddings.buckets.retrieve(bucket_name) -> BucketRetrieveResponse - client.ai.embeddings.buckets.list() -> BucketListResponse - client.ai.embeddings.buckets.delete(bucket_name) -> None ## FineTuning ### Jobs Types: ```python from telnyx.types.ai.fine_tuning import FineTuningJob, JobListResponse ``` Methods: - client.ai.fine_tuning.jobs.create(\*\*params) -> FineTuningJob - client.ai.fine_tuning.jobs.retrieve(job_id) -> FineTuningJob - client.ai.fine_tuning.jobs.list() -> JobListResponse - client.ai.fine_tuning.jobs.cancel(job_id) -> FineTuningJob ## Integrations Types: ```python from telnyx.types.ai import Integration, IntegrationListResponse ``` Methods: - client.ai.integrations.retrieve(integration_id) -> Integration - client.ai.integrations.list() -> IntegrationListResponse ### Connections Types: ```python from telnyx.types.ai.integrations import ( IntegrationConnection, ConnectionRetrieveResponse, ConnectionListResponse, ) ``` Methods: - client.ai.integrations.connections.retrieve(user_connection_id) -> ConnectionRetrieveResponse - client.ai.integrations.connections.list() -> ConnectionListResponse - client.ai.integrations.connections.delete(user_connection_id) -> None ## McpServers Types: ```python from telnyx.types.ai import McpServer ``` Methods: - client.ai.mcp_servers.create(\*\*params) -> McpServer - client.ai.mcp_servers.retrieve(mcp_server_id) -> McpServer - client.ai.mcp_servers.update(mcp_server_id, \*\*params) -> McpServer - client.ai.mcp_servers.list(\*\*params) -> SyncDefaultFlatPaginationTopLevelArray[McpServer] - client.ai.mcp_servers.delete(mcp_server_id) -> None ## Missions Types: ```python from telnyx.types.ai import EventsListResponse, ExecutionMode, MissionData, MissionResponse ``` Methods: - client.ai.missions.create(\*\*params) -> MissionResponse - client.ai.missions.retrieve(mission_id) -> MissionResponse - client.ai.missions.list(\*\*params) -> SyncDefaultFlatPagination[MissionData] - client.ai.missions.clone_mission(mission_id) -> object - client.ai.missions.delete_mission(mission_id) -> None - client.ai.missions.list_events(\*\*params) -> SyncDefaultFlatPagination[EventData] - client.ai.missions.update_mission(mission_id, \*\*params) -> MissionResponse ### Runs Types: ```python from telnyx.types.ai.missions import ( MissionRunData, MissionRunResponse, MissionRunsListResponse, RunStatus, ) ``` Methods: - client.ai.missions.runs.create(mission_id, \*\*params) -> MissionRunResponse - client.ai.missions.runs.retrieve(run_id, \*, mission_id) -> MissionRunResponse - client.ai.missions.runs.update(run_id, \*, mission_id, \*\*params) -> MissionRunResponse - client.ai.missions.runs.list(mission_id, \*\*params) -> SyncDefaultFlatPagination[MissionRunData] - client.ai.missions.runs.cancel_run(run_id, \*, mission_id) -> MissionRunResponse - client.ai.missions.runs.list_runs(\*\*params) -> SyncDefaultFlatPagination[MissionRunData] - client.ai.missions.runs.pause_run(run_id, \*, mission_id) -> MissionRunResponse - client.ai.missions.runs.resume_run(run_id, \*, mission_id) -> MissionRunResponse #### Events Types: ```python from telnyx.types.ai.missions.runs import EventData, EventResponse, EventType ``` Methods: - client.ai.missions.runs.events.list(run_id, \*, mission_id, \*\*params) -> SyncDefaultFlatPagination[EventData] - client.ai.missions.runs.events.get_event_details(event_id, \*, mission_id, run_id) -> EventResponse - client.ai.missions.runs.events.log(run_id, \*, mission_id, \*\*params) -> EventResponse #### Plan Types: ```python from telnyx.types.ai.missions.runs import ( CreatePlanStepRequest, PlanStepData, PlanStepResponse, PlanStepsCreatedResponse, StepStatus, PlanRetrieveResponse, ) ``` Methods: - client.ai.missions.runs.plan.create(run_id, \*, mission_id, \*\*params) -> PlanStepsCreatedResponse - client.ai.missions.runs.plan.retrieve(run_id, \*, mission_id) -> PlanRetrieveResponse - client.ai.missions.runs.plan.add_steps_to_plan(run_id, \*, mission_id, \*\*params) -> PlanStepsCreatedResponse - client.ai.missions.runs.plan.get_step_details(step_id, \*, mission_id, run_id) -> PlanStepResponse - client.ai.missions.runs.plan.update_step(step_id, \*, mission_id, run_id, \*\*params) -> PlanStepResponse #### TelnyxAgents Types: ```python from telnyx.types.ai.missions.runs import ( TelnyxAgentData, TelnyxAgentListResponse, TelnyxAgentLinkResponse, ) ``` Methods: - client.ai.missions.runs.telnyx_agents.list(run_id, \*, mission_id) -> TelnyxAgentListResponse - client.ai.missions.runs.telnyx_agents.link(run_id, \*, mission_id, \*\*params) -> TelnyxAgentLinkResponse - client.ai.missions.runs.telnyx_agents.unlink(telnyx_agent_id, \*, mission_id, run_id) -> None ### KnowledgeBases Methods: - client.ai.missions.knowledge_bases.create_knowledge_base(mission_id) -> object - client.ai.missions.knowledge_bases.delete_knowledge_base(knowledge_base_id, \*, mission_id) -> None - client.ai.missions.knowledge_bases.get_knowledge_base(knowledge_base_id, \*, mission_id) -> object - client.ai.missions.knowledge_bases.list_knowledge_bases(mission_id) -> object - client.ai.missions.knowledge_bases.update_knowledge_base(knowledge_base_id, \*, mission_id) -> object ### McpServers Methods: - client.ai.missions.mcp_servers.create_mcp_server(mission_id) -> object - client.ai.missions.mcp_servers.delete_mcp_server(mcp_server_id, \*, mission_id) -> None - client.ai.missions.mcp_servers.get_mcp_server(mcp_server_id, \*, mission_id) -> object - client.ai.missions.mcp_servers.list_mcp_servers(mission_id) -> object - client.ai.missions.mcp_servers.update_mcp_server(mcp_server_id, \*, mission_id) -> object ### Tools Methods: - client.ai.missions.tools.create_tool(mission_id) -> object - client.ai.missions.tools.delete_tool(tool_id, \*, mission_id) -> None - client.ai.missions.tools.get_tool(tool_id, \*, mission_id) -> object - client.ai.missions.tools.list_tools(mission_id) -> object - client.ai.missions.tools.update_tool(tool_id, \*, mission_id) -> object ## OpenAI Types: ```python from telnyx.types.ai import OpenAICreateResponseResponse ``` Methods: - client.ai.openai.create_response(\*\*params) -> OpenAICreateResponseResponse - client.ai.openai.list_models() -> ModelsResponse ### Embeddings Types: ```python from telnyx.types.ai.openai import ( EmbeddingCreateEmbeddingsResponse, EmbeddingListEmbeddingModelsResponse, ) ``` Methods: - client.ai.openai.embeddings.create_embeddings(\*\*params) -> EmbeddingCreateEmbeddingsResponse - client.ai.openai.embeddings.list_embedding_models() -> EmbeddingListEmbeddingModelsResponse ### Chat Types: ```python from telnyx.types.ai.openai import FunctionDefinition, ChatCreateCompletionResponse ``` Methods: - client.ai.openai.chat.create_completion(\*\*params) -> ChatCreateCompletionResponse ## Tools Types: ```python from telnyx.types.ai import ( PayToolParams, SharedToolResponse, UpdateDynamicVariablesToolParams, VisionToolParams, ) ``` Methods: - client.ai.tools.create(\*\*params) -> SharedToolResponse - client.ai.tools.retrieve(tool_id) -> SharedToolResponse - client.ai.tools.update(tool_id, \*\*params) -> SharedToolResponse - client.ai.tools.list(\*\*params) -> SyncDefaultFlatPagination[SharedToolResponse] - client.ai.tools.delete(tool_id) -> None ## Anthropic ### V1 Types: ```python from telnyx.types.ai.anthropic import V1MessagesResponse ``` Methods: - client.ai.anthropic.v1.messages(\*\*params) -> V1MessagesResponse ## Knowledge ### Collections Types: ```python from telnyx.types.ai.knowledge import CollectionRetrieveDocumentsResponse ``` Methods: - client.ai.knowledge.collections.retrieve_documents(slug, \*\*params) -> CollectionRetrieveDocumentsResponse ## Typesafe ### V1 Types: ```python from telnyx.types.ai.typesafe import V1SystemoneResponse ``` Methods: - client.ai.typesafe.v1.systemone(\*\*params) -> V1SystemoneResponse ## Memory ### Namespaces Types: ```python from telnyx.types.ai.memory import ( Namespace, NamespaceCreateResponse, NamespaceRetrieveResponse, NamespaceListResponse, ) ``` Methods: - client.ai.memory.namespaces.create(\*\*params) -> NamespaceCreateResponse - client.ai.memory.namespaces.retrieve(operation_id, \*, namespace) -> NamespaceRetrieveResponse - client.ai.memory.namespaces.list() -> NamespaceListResponse - client.ai.memory.namespaces.delete(namespace) -> None #### Profiles Types: ```python from telnyx.types.ai.memory.namespaces import ( AgentMemoryPageMeta, PageMeta, ProfileListResponse, ProfileDeleteResponse, ProfileIngestResponse, ProfilePreviewResponse, ProfileRecallResponse, ProfileRememberResponse, ProfileRetrieveSummaryResponse, ) ``` Methods: - client.ai.memory.namespaces.profiles.list(namespace, \*\*params) -> SyncDefaultFlatPagination[ProfileListResponse] - client.ai.memory.namespaces.profiles.delete(profile_id, \*, namespace) -> ProfileDeleteResponse - client.ai.memory.namespaces.profiles.ingest(profile_id, \*, namespace, \*\*params) -> ProfileIngestResponse - client.ai.memory.namespaces.profiles.preview(profile_id, \*, namespace, \*\*params) -> ProfilePreviewResponse - client.ai.memory.namespaces.profiles.recall(profile_id, \*, namespace, \*\*params) -> ProfileRecallResponse - client.ai.memory.namespaces.profiles.remember(profile_id, \*, namespace, \*\*params) -> ProfileRememberResponse - client.ai.memory.namespaces.profiles.retrieve_summary(profile_id, \*, namespace) -> ProfileRetrieveSummaryResponse ##### Memories Types: ```python from telnyx.types.ai.memory.namespaces.profiles import MemoryRetrieveResponse, MemoryListResponse ``` Methods: - client.ai.memory.namespaces.profiles.memories.retrieve(memory_id, \*, namespace, profile_id) -> MemoryRetrieveResponse - client.ai.memory.namespaces.profiles.memories.list(profile_id, \*, namespace, \*\*params) -> SyncDefaultFlatPagination[MemoryListResponse] ##### Sources Types: ```python from telnyx.types.ai.memory.namespaces.profiles import SourceRetrieveResponse, SourceDeleteResponse ``` Methods: - client.ai.memory.namespaces.profiles.sources.retrieve(source_id, \*, namespace, profile_id) -> SourceRetrieveResponse - client.ai.memory.namespaces.profiles.sources.list(profile_id, \*, namespace, \*\*params) -> SyncDefaultFlatPagination[Source] - client.ai.memory.namespaces.profiles.sources.delete(source_id, \*, namespace, profile_id) -> SourceDeleteResponse #### Settings Types: ```python from telnyx.types.ai.memory.namespaces import ( NamespaceSettings, NamespaceSettingsResponse, SummarySettings, ) ``` Methods: - client.ai.memory.namespaces.settings.list(namespace) -> NamespaceSettingsResponse - client.ai.memory.namespaces.settings.patch_all(namespace, \*\*params) -> NamespaceSettingsResponse ## Avatars Types: ```python from telnyx.types.ai import Avatar, AvatarID, AvatarResponse, AvatarType ``` Methods: - client.ai.avatars.create(\*\*params) -> AvatarResponse - client.ai.avatars.retrieve(avatar_id) -> AvatarResponse - client.ai.avatars.update(avatar_id, \*\*params) -> AvatarResponse - client.ai.avatars.list(\*\*params) -> SyncDefaultFlatPagination[Avatar] ## Tests ### Schedules #### V1 ##### CronJobs Types: ```python from telnyx.types.ai.tests.schedules.v1 import ScheduledTestJob, CronJobRetrieveCronJobsResponse ``` Methods: - client.ai.tests.schedules.v1.cron_jobs.retrieve(id) -> ScheduledTestJob - client.ai.tests.schedules.v1.cron_jobs.update(id, \*\*params) -> ScheduledTestJob - client.ai.tests.schedules.v1.cron_jobs.delete(id) -> object - client.ai.tests.schedules.v1.cron_jobs.cron_jobs(\*\*params) -> ScheduledTestJob - client.ai.tests.schedules.v1.cron_jobs.retrieve_cron_jobs(\*\*params) -> CronJobRetrieveCronJobsResponse ### TestFramework #### V1 Types: ```python from telnyx.types.ai.tests.test_framework import V1RetrievePersonalitiesResponse ``` Methods: - client.ai.tests.test_framework.v1.retrieve_personalities() -> V1RetrievePersonalitiesResponse ##### Aiagents Types: ```python from telnyx.types.ai.tests.test_framework.v1 import TestAgent, AiagentListResponse ``` Methods: - client.ai.tests.test_framework.v1.aiagents.create(\*\*params) -> TestAgent - client.ai.tests.test_framework.v1.aiagents.retrieve(id) -> TestAgent - client.ai.tests.test_framework.v1.aiagents.update(id, \*\*params) -> TestAgent - client.ai.tests.test_framework.v1.aiagents.list(\*\*params) -> AiagentListResponse - client.ai.tests.test_framework.v1.aiagents.delete(id) -> object ##### Metrics Types: ```python from telnyx.types.ai.tests.test_framework.v1 import ( AITestMetric, CreateAITestMetricRequest, ScenarioGenerationResponse, MetricListResponse, MetricBulkCreateResponse, MetricRetrieveGenerateMetricsProgressResponse, ) ``` Methods: - client.ai.tests.test_framework.v1.metrics.create(\*\*params) -> AITestMetric - client.ai.tests.test_framework.v1.metrics.retrieve(id) -> AITestMetric - client.ai.tests.test_framework.v1.metrics.update(id, \*\*params) -> AITestMetric - client.ai.tests.test_framework.v1.metrics.list(\*\*params) -> MetricListResponse - client.ai.tests.test_framework.v1.metrics.delete(id) -> object - client.ai.tests.test_framework.v1.metrics.bulk_create(\*\*params) -> MetricBulkCreateResponse - client.ai.tests.test_framework.v1.metrics.generate_metrics(\*\*params) -> ScenarioGenerationResponse - client.ai.tests.test_framework.v1.metrics.retrieve_generate_metrics_progress(\*\*params) -> MetricRetrieveGenerateMetricsProgressResponse ##### Results Types: ```python from telnyx.types.ai.tests.test_framework.v1 import TestRunResult, ResultListResponse ``` Methods: - client.ai.tests.test_framework.v1.results.retrieve(id) -> TestRunResult - client.ai.tests.test_framework.v1.results.list(\*\*params) -> ResultListResponse - client.ai.tests.test_framework.v1.results.delete(id) -> object - client.ai.tests.test_framework.v1.results.rerun(id) -> TestRunResult ##### Scenarios Types: ```python from telnyx.types.ai.tests.test_framework.v1 import ( EvaluatorScenarioDetail, ScenarioListResponse, ScenarioRetrieveGenerateProgressResponse, ScenarioRetrieveScenarioAgentProgressResponse, ScenarioRunScenariosResponse, ScenarioScenarioAgentResponse, ) ``` Methods: - client.ai.tests.test_framework.v1.scenarios.create(\*\*params) -> EvaluatorScenarioDetail - client.ai.tests.test_framework.v1.scenarios.retrieve(id) -> EvaluatorScenarioDetail - client.ai.tests.test_framework.v1.scenarios.update(id, \*\*params) -> EvaluatorScenarioDetail - client.ai.tests.test_framework.v1.scenarios.list(\*\*params) -> ScenarioListResponse - client.ai.tests.test_framework.v1.scenarios.delete(id) -> object - client.ai.tests.test_framework.v1.scenarios.generate_bg(\*\*params) -> ScenarioGenerationResponse - client.ai.tests.test_framework.v1.scenarios.retrieve_export_scenarios(\*\*params) -> BinaryAPIResponse - client.ai.tests.test_framework.v1.scenarios.retrieve_generate_progress(\*\*params) -> ScenarioRetrieveGenerateProgressResponse - client.ai.tests.test_framework.v1.scenarios.retrieve_scenario_agent_progress(\*\*params) -> ScenarioRetrieveScenarioAgentProgressResponse - client.ai.tests.test_framework.v1.scenarios.run_scenarios(\*\*params) -> ScenarioRunScenariosResponse - client.ai.tests.test_framework.v1.scenarios.scenario_agent(\*\*params) -> ScenarioScenarioAgentResponse # AuditEvents Types: ```python from telnyx.types import AuditEventListResponse ``` Methods: - client.audit_events.list(\*\*params) -> SyncDefaultFlatPagination[AuditEventListResponse] # AuthenticationProviders Types: ```python from telnyx.types import ( AuthenticationProvider, PaginationMeta, Settings, AuthenticationProviderCreateResponse, AuthenticationProviderRetrieveResponse, AuthenticationProviderUpdateResponse, AuthenticationProviderDeleteResponse, ) ``` Methods: - client.authentication_providers.create(\*\*params) -> AuthenticationProviderCreateResponse - client.authentication_providers.retrieve(id) -> AuthenticationProviderRetrieveResponse - client.authentication_providers.update(id, \*\*params) -> AuthenticationProviderUpdateResponse - client.authentication_providers.list(\*\*params) -> SyncDefaultFlatPagination[AuthenticationProvider] - client.authentication_providers.delete(id) -> AuthenticationProviderDeleteResponse # AvailablePhoneNumberBlocks Types: ```python from telnyx.types import AvailablePhoneNumberBlockListResponse ``` Methods: - client.available_phone_number_blocks.list(\*\*params) -> AvailablePhoneNumberBlockListResponse # AvailablePhoneNumbers Types: ```python from telnyx.types import AvailablePhoneNumberListResponse ``` Methods: - client.available_phone_numbers.list(\*\*params) -> AvailablePhoneNumberListResponse # Balance Types: ```python from telnyx.types import BalanceRetrieveResponse ``` Methods: - client.balance.retrieve() -> BalanceRetrieveResponse # BillingGroups Types: ```python from telnyx.types import ( BillingGroup, BillingGroupCreateResponse, BillingGroupRetrieveResponse, BillingGroupUpdateResponse, BillingGroupDeleteResponse, ) ``` Methods: - client.billing_groups.create(\*\*params) -> BillingGroupCreateResponse - client.billing_groups.retrieve(id) -> BillingGroupRetrieveResponse - client.billing_groups.update(id, \*\*params) -> BillingGroupUpdateResponse - client.billing_groups.list(\*\*params) -> SyncDefaultFlatPagination[BillingGroup] - client.billing_groups.delete(id) -> BillingGroupDeleteResponse # BulkSimCardActions Types: ```python from telnyx.types import ( BulkSimCardActionDetailed, SimCardActionsSummary, BulkSimCardActionRetrieveResponse, ) ``` Methods: - client.bulk_sim_card_actions.retrieve(id) -> BulkSimCardActionRetrieveResponse - client.bulk_sim_card_actions.list(\*\*params) -> SyncDefaultFlatPagination[BulkSimCardActionDetailed] # BundlePricing ## BillingBundles Types: ```python from telnyx.types.bundle_pricing import ( BillingBundleSummary, PaginationResponse, BillingBundleRetrieveResponse, ) ``` Methods: - client.bundle_pricing.billing_bundles.retrieve(bundle_id) -> BillingBundleRetrieveResponse - client.bundle_pricing.billing_bundles.list(\*\*params) -> SyncDefaultFlatPagination[BillingBundleSummary] ## UserBundles Types: ```python from telnyx.types.bundle_pricing import ( UserBundle, UserBundleResource, UserBundleCreateResponse, UserBundleRetrieveResponse, UserBundleDeactivateResponse, UserBundleListResourcesResponse, UserBundleListUnusedResponse, ) ``` Methods: - client.bundle_pricing.user_bundles.create(\*\*params) -> UserBundleCreateResponse - client.bundle_pricing.user_bundles.retrieve(user_bundle_id) -> UserBundleRetrieveResponse - client.bundle_pricing.user_bundles.list(\*\*params) -> SyncDefaultFlatPagination[UserBundle] - client.bundle_pricing.user_bundles.deactivate(user_bundle_id) -> UserBundleDeactivateResponse - client.bundle_pricing.user_bundles.list_resources(user_bundle_id) -> UserBundleListResourcesResponse - client.bundle_pricing.user_bundles.list_unused(\*\*params) -> UserBundleListUnusedResponse # CallControlApplications Types: ```python from telnyx.types import ( CallControlApplication, CallControlApplicationInbound, CallControlApplicationOutbound, CallControlApplicationCreateResponse, CallControlApplicationRetrieveResponse, CallControlApplicationUpdateResponse, CallControlApplicationDeleteResponse, ) ``` Methods: - client.call_control_applications.create(\*\*params) -> CallControlApplicationCreateResponse - client.call_control_applications.retrieve(id) -> CallControlApplicationRetrieveResponse - client.call_control_applications.update(id, \*\*params) -> CallControlApplicationUpdateResponse - client.call_control_applications.list(\*\*params) -> SyncDefaultFlatPagination[CallControlApplication] - client.call_control_applications.delete(id) -> CallControlApplicationDeleteResponse # CallEvents Types: ```python from telnyx.types import CallEventListResponse ``` Methods: - client.call_events.list(\*\*params) -> SyncDefaultFlatPagination[CallEventListResponse] # Calls Types: ```python from telnyx.types import ( CallAssistantRequest, ConversationRelayEmbeddedConfig, ConversationRelayInterruptionSettings, ConversationRelayLanguage, CustomSipHeader, DialogflowConfig, SipHeader, SoundModifications, StreamBidirectionalCodec, StreamBidirectionalMode, StreamBidirectionalSamplingRate, StreamBidirectionalTargetLegs, StreamCodec, CallDialResponse, CallRetrieveStatusResponse, ) ``` Methods: - client.calls.dial(\*\*params) -> CallDialResponse - client.calls.retrieve_status(call_control_id) -> CallRetrieveStatusResponse ## Actions Types: ```python from telnyx.types.calls import ( AIAssistantJoinParticipant, AssemblyAIVoiceSettings, AssistantMessage, AwsVoiceSettings, CallControlCommandResult, CallControlCommandResultWithConversationID, ConversationRelayInterruptible, ConversationRelayTranscriptionEngineConfig, DeepgramEnglishTranscriptionLanguage, DeepgramNova2Config, DeepgramNova3Config, DeveloperMessage, ElevenLabsVoiceSettings, GoogleTranscriptionLanguage, InterruptionSettings, Loopcount, PayPromptValue, SonioxVoiceSettings, StopRecordingRequest, SystemMessage, TelnyxTranscriptionLanguage, TelnyxVoiceSettings, ToolMessage, TranscriptionConfig, TranscriptionEngineAConfig, TranscriptionEngineAssemblyaiConfig, TranscriptionEngineAzureConfig, TranscriptionEngineBConfig, TranscriptionEngineCohereConfig, TranscriptionEngineDeepgramConfig, TranscriptionEngineGoogleConfig, TranscriptionEngineHumainConfig, TranscriptionEngineParakeetConfig, TranscriptionEngineReson8Config, TranscriptionEngineSonioxConfig, TranscriptionEngineSpeechmaticsConfig, TranscriptionEngineTelnyxConfig, TranscriptionEngineXaiConfig, TranscriptionStartRequest, UserMessage, ActionAddAIAssistantMessagesResponse, ActionAnswerResponse, ActionBridgeResponse, ActionEnqueueResponse, ActionGatherResponse, ActionGatherUsingAIResponse, ActionGatherUsingAudioResponse, ActionGatherUsingSpeakResponse, ActionHangupResponse, ActionJoinAIAssistantResponse, ActionLeaveQueueResponse, ActionPauseRecordingResponse, ActionPayResponse, ActionReferResponse, ActionRejectResponse, ActionResumeRecordingResponse, ActionSendDtmfResponse, ActionSendSipInfoResponse, ActionSpeakResponse, ActionStartAIAssistantResponse, ActionStartConversationRelayResponse, ActionStartForkingResponse, ActionStartNoiseSuppressionResponse, ActionStartPlaybackResponse, ActionStartRecordingResponse, ActionStartSiprecResponse, ActionStartStreamingResponse, ActionStartTranscriptionResponse, ActionStopAIAssistantResponse, ActionStopConversationRelayResponse, ActionStopForkingResponse, ActionStopGatherResponse, ActionStopNoiseSuppressionResponse, ActionStopPlaybackResponse, ActionStopRecordingResponse, ActionStopSiprecResponse, ActionStopStreamingResponse, ActionStopTranscriptionResponse, ActionSwitchSupervisorRoleResponse, ActionTransferResponse, ActionUpdateClientStateResponse, ) ``` Methods: - client.calls.actions.add_ai_assistant_messages(call_control_id, \*\*params) -> ActionAddAIAssistantMessagesResponse - client.calls.actions.answer(call_control_id, \*\*params) -> ActionAnswerResponse - client.calls.actions.bridge(call_control_id_to_bridge, \*\*params) -> ActionBridgeResponse - client.calls.actions.enqueue(call_control_id, \*\*params) -> ActionEnqueueResponse - client.calls.actions.gather(call_control_id, \*\*params) -> ActionGatherResponse - client.calls.actions.gather_using_ai(call_control_id, \*\*params) -> ActionGatherUsingAIResponse - client.calls.actions.gather_using_audio(call_control_id, \*\*params) -> ActionGatherUsingAudioResponse - client.calls.actions.gather_using_speak(call_control_id, \*\*params) -> ActionGatherUsingSpeakResponse - client.calls.actions.hangup(call_control_id, \*\*params) -> ActionHangupResponse - client.calls.actions.join_ai_assistant(call_control_id, \*\*params) -> ActionJoinAIAssistantResponse - client.calls.actions.leave_queue(call_control_id, \*\*params) -> ActionLeaveQueueResponse - client.calls.actions.pause_recording(call_control_id, \*\*params) -> ActionPauseRecordingResponse - client.calls.actions.pay(call_control_id, \*\*params) -> ActionPayResponse - client.calls.actions.refer(call_control_id, \*\*params) -> ActionReferResponse - client.calls.actions.reject(call_control_id, \*\*params) -> ActionRejectResponse - client.calls.actions.resume_recording(call_control_id, \*\*params) -> ActionResumeRecordingResponse - client.calls.actions.send_dtmf(call_control_id, \*\*params) -> ActionSendDtmfResponse - client.calls.actions.send_sip_info(call_control_id, \*\*params) -> ActionSendSipInfoResponse - client.calls.actions.speak(call_control_id, \*\*params) -> ActionSpeakResponse - client.calls.actions.start_ai_assistant(call_control_id, \*\*params) -> ActionStartAIAssistantResponse - client.calls.actions.start_conversation_relay(call_control_id, \*\*params) -> ActionStartConversationRelayResponse - client.calls.actions.start_forking(call_control_id, \*\*params) -> ActionStartForkingResponse - client.calls.actions.start_noise_suppression(call_control_id, \*\*params) -> ActionStartNoiseSuppressionResponse - client.calls.actions.start_playback(call_control_id, \*\*params) -> ActionStartPlaybackResponse - client.calls.actions.start_recording(call_control_id, \*\*params) -> ActionStartRecordingResponse - client.calls.actions.start_siprec(call_control_id, \*\*params) -> ActionStartSiprecResponse - client.calls.actions.start_streaming(call_control_id, \*\*params) -> ActionStartStreamingResponse - client.calls.actions.start_transcription(call_control_id, \*\*params) -> ActionStartTranscriptionResponse - client.calls.actions.stop_ai_assistant(call_control_id, \*\*params) -> ActionStopAIAssistantResponse - client.calls.actions.stop_conversation_relay(call_control_id, \*\*params) -> ActionStopConversationRelayResponse - client.calls.actions.stop_forking(call_control_id, \*\*params) -> ActionStopForkingResponse - client.calls.actions.stop_gather(call_control_id, \*\*params) -> ActionStopGatherResponse - client.calls.actions.stop_noise_suppression(call_control_id, \*\*params) -> ActionStopNoiseSuppressionResponse - client.calls.actions.stop_playback(call_control_id, \*\*params) -> ActionStopPlaybackResponse - client.calls.actions.stop_recording(call_control_id, \*\*params) -> ActionStopRecordingResponse - client.calls.actions.stop_siprec(call_control_id, \*\*params) -> ActionStopSiprecResponse - client.calls.actions.stop_streaming(call_control_id, \*\*params) -> ActionStopStreamingResponse - client.calls.actions.stop_transcription(call_control_id, \*\*params) -> ActionStopTranscriptionResponse - client.calls.actions.switch_supervisor_role(call_control_id, \*\*params) -> ActionSwitchSupervisorRoleResponse - client.calls.actions.transfer(call_control_id, \*\*params) -> ActionTransferResponse - client.calls.actions.update_client_state(call_control_id, \*\*params) -> ActionUpdateClientStateResponse # ChannelZones Types: ```python from telnyx.types import GcbChannelZone ``` Methods: - client.channel_zones.update(channel_zone_id, \*\*params) -> GcbChannelZone - client.channel_zones.list(\*\*params) -> SyncDefaultFlatPagination[GcbChannelZone] # ChargesBreakdown Types: ```python from telnyx.types import ChargesBreakdownRetrieveResponse ``` Methods: - client.charges_breakdown.retrieve(\*\*params) -> ChargesBreakdownRetrieveResponse # ChargesSummary Types: ```python from telnyx.types import MonthDetail, ChargesSummaryRetrieveResponse ``` Methods: - client.charges_summary.retrieve(\*\*params) -> ChargesSummaryRetrieveResponse # Comments Types: ```python from telnyx.types import ( Comment, CommentCreateResponse, CommentRetrieveResponse, CommentListResponse, CommentMarkAsReadResponse, ) ``` Methods: - client.comments.create(\*\*params) -> CommentCreateResponse - client.comments.retrieve(id) -> CommentRetrieveResponse - client.comments.list(\*\*params) -> CommentListResponse - client.comments.mark_as_read(id) -> CommentMarkAsReadResponse # Conferences Types: ```python from telnyx.types import ( Conference, ConferenceParticipant, ConferenceParticipantResource, ConferenceCreateResponse, ConferenceRetrieveResponse, ConferenceListParticipantsResponse, ) ``` Methods: - client.conferences.create(\*\*params) -> ConferenceCreateResponse - client.conferences.retrieve(id, \*\*params) -> ConferenceRetrieveResponse - client.conferences.list(\*\*params) -> SyncDefaultFlatPagination[Conference] - client.conferences.list_participants(conference_id, \*\*params) -> SyncDefaultFlatPagination[ConferenceListParticipantsResponse] - client.conferences.retrieve_participant(participant_id, \*, id) -> ConferenceParticipantResource - client.conferences.update_participant(participant_id, \*, id, \*\*params) -> ConferenceParticipantResource ## Actions Types: ```python from telnyx.types.conferences import ( ConferenceCommandResult, ConferenceRegion, UpdateConference, ActionUpdateResponse, ActionEndConferenceResponse, ActionGatherDtmfAudioResponse, ActionHoldResponse, ActionJoinResponse, ActionLeaveResponse, ActionMuteResponse, ActionPlayResponse, ActionRecordPauseResponse, ActionRecordResumeResponse, ActionRecordStartResponse, ActionRecordStopResponse, ActionSendDtmfResponse, ActionSpeakResponse, ActionStopResponse, ActionUnholdResponse, ActionUnmuteResponse, ) ``` Methods: - client.conferences.actions.update(id, \*\*params) -> ActionUpdateResponse - client.conferences.actions.end_conference(id, \*\*params) -> ActionEndConferenceResponse - client.conferences.actions.gather_dtmf_audio(id, \*\*params) -> ActionGatherDtmfAudioResponse - client.conferences.actions.hold(id, \*\*params) -> ActionHoldResponse - client.conferences.actions.join(id, \*\*params) -> ActionJoinResponse - client.conferences.actions.leave(id, \*\*params) -> ActionLeaveResponse - client.conferences.actions.mute(id, \*\*params) -> ActionMuteResponse - client.conferences.actions.play(id, \*\*params) -> ActionPlayResponse - client.conferences.actions.record_pause(id, \*\*params) -> ActionRecordPauseResponse - client.conferences.actions.record_resume(id, \*\*params) -> ActionRecordResumeResponse - client.conferences.actions.record_start(id, \*\*params) -> ActionRecordStartResponse - client.conferences.actions.record_stop(id, \*\*params) -> ActionRecordStopResponse - client.conferences.actions.send_dtmf(id, \*\*params) -> ActionSendDtmfResponse - client.conferences.actions.speak(id, \*\*params) -> ActionSpeakResponse - client.conferences.actions.stop(id, \*\*params) -> ActionStopResponse - client.conferences.actions.unhold(id, \*\*params) -> ActionUnholdResponse - client.conferences.actions.unmute(id, \*\*params) -> ActionUnmuteResponse # Connections Types: ```python from telnyx.types import ( Connection, ConnectionRetrieveResponse, ConnectionListActiveCallsResponse, ConnectionRetrieveCountResponse, ) ``` Methods: - client.connections.retrieve(id) -> ConnectionRetrieveResponse - client.connections.list(\*\*params) -> SyncDefaultFlatPagination[Connection] - client.connections.list_active_calls(connection_id, \*\*params) -> SyncDefaultFlatPagination[ConnectionListActiveCallsResponse] - client.connections.retrieve_count() -> ConnectionRetrieveCountResponse # CountryCoverage Types: ```python from telnyx.types import ( CountryCoverage, CountryCoverageRetrieveResponse, CountryCoverageRetrieveCountryResponse, ) ``` Methods: - client.country_coverage.retrieve() -> CountryCoverageRetrieveResponse - client.country_coverage.retrieve_country(country_code) -> CountryCoverageRetrieveCountryResponse # CredentialConnections Types: ```python from telnyx.types import ( AnchorsiteOverride, ConnectionNoiseSuppression, ConnectionRtcpSettings, CredentialConnection, CredentialInbound, CredentialOutbound, DtmfType, EncryptedMedia, CredentialConnectionCreateResponse, CredentialConnectionRetrieveResponse, CredentialConnectionUpdateResponse, CredentialConnectionDeleteResponse, ) ``` Methods: - client.credential_connections.create(\*\*params) -> CredentialConnectionCreateResponse - client.credential_connections.retrieve(id) -> CredentialConnectionRetrieveResponse - client.credential_connections.update(id, \*\*params) -> CredentialConnectionUpdateResponse - client.credential_connections.list(\*\*params) -> SyncDefaultFlatPagination[CredentialConnection] - client.credential_connections.delete(id) -> CredentialConnectionDeleteResponse ## Actions Types: ```python from telnyx.types.credential_connections import ActionCheckRegistrationStatusResponse ``` Methods: - client.credential_connections.actions.check_registration_status(id) -> ActionCheckRegistrationStatusResponse # CustomStorageCredentials Types: ```python from telnyx.types import ( AzureConfigurationData, CredentialsResponse, CustomStorageConfiguration, GcsConfigurationData, S3ConfigurationData, S3GenericConfigurationData, ) ``` Methods: - client.custom_storage_credentials.create(connection_id, \*\*params) -> CredentialsResponse - client.custom_storage_credentials.retrieve(connection_id) -> CredentialsResponse - client.custom_storage_credentials.update(connection_id, \*\*params) -> CredentialsResponse - client.custom_storage_credentials.delete(connection_id) -> None # CustomerServiceRecords Types: ```python from telnyx.types import ( CustomerServiceRecord, CustomerServiceRecordCreateResponse, CustomerServiceRecordRetrieveResponse, CustomerServiceRecordVerifyPhoneNumberCoverageResponse, ) ``` Methods: - client.customer_service_records.create(\*\*params) -> CustomerServiceRecordCreateResponse - client.customer_service_records.retrieve(customer_service_record_id) -> CustomerServiceRecordRetrieveResponse - client.customer_service_records.list(\*\*params) -> SyncDefaultFlatPagination[CustomerServiceRecord] - client.customer_service_records.verify_phone_number_coverage(\*\*params) -> CustomerServiceRecordVerifyPhoneNumberCoverageResponse # DetailRecords Types: ```python from telnyx.types import DetailRecordListResponse ``` Methods: - client.detail_records.list(\*\*params) -> SyncDefaultFlatPagination[DetailRecordListResponse] # DialogflowConnections Types: ```python from telnyx.types import DialogflowConnectionResponse ``` Methods: - client.dialogflow_connections.create(connection_id, \*\*params) -> DialogflowConnectionResponse - client.dialogflow_connections.retrieve(connection_id) -> DialogflowConnectionResponse - client.dialogflow_connections.update(connection_id, \*\*params) -> DialogflowConnectionResponse - client.dialogflow_connections.delete(connection_id) -> None # DocumentLinks Types: ```python from telnyx.types import DocumentLinkListResponse ``` Methods: - client.document_links.list(\*\*params) -> SyncDefaultFlatPagination[DocumentLinkListResponse] # Documents Types: ```python from telnyx.types import ( DocServiceDocument, DocServiceRecord, DocumentRetrieveResponse, DocumentUpdateResponse, DocumentDeleteResponse, DocumentGenerateDownloadLinkResponse, DocumentUploadResponse, DocumentUploadJsonResponse, ) ``` Methods: - client.documents.retrieve(id) -> DocumentRetrieveResponse - client.documents.update(document_id, \*\*params) -> DocumentUpdateResponse - client.documents.list(\*\*params) -> SyncDefaultFlatPagination[DocServiceDocument] - client.documents.delete(id) -> DocumentDeleteResponse - client.documents.download(id) -> BinaryAPIResponse - client.documents.generate_download_link(id) -> DocumentGenerateDownloadLinkResponse - client.documents.upload(\*\*params) -> DocumentUploadResponse - client.documents.upload_json(\*\*params) -> DocumentUploadJsonResponse # DynamicEmergencyAddresses Types: ```python from telnyx.types import ( DynamicEmergencyAddress, DynamicEmergencyAddressCreateResponse, DynamicEmergencyAddressRetrieveResponse, DynamicEmergencyAddressDeleteResponse, ) ``` Methods: - client.dynamic_emergency_addresses.create(\*\*params) -> DynamicEmergencyAddressCreateResponse - client.dynamic_emergency_addresses.retrieve(id) -> DynamicEmergencyAddressRetrieveResponse - client.dynamic_emergency_addresses.list(\*\*params) -> SyncDefaultFlatPagination[DynamicEmergencyAddress] - client.dynamic_emergency_addresses.delete(id) -> DynamicEmergencyAddressDeleteResponse # DynamicEmergencyEndpoints Types: ```python from telnyx.types import ( DynamicEmergencyEndpoint, DynamicEmergencyEndpointCreateResponse, DynamicEmergencyEndpointRetrieveResponse, DynamicEmergencyEndpointDeleteResponse, ) ``` Methods: - client.dynamic_emergency_endpoints.create(\*\*params) -> DynamicEmergencyEndpointCreateResponse - client.dynamic_emergency_endpoints.retrieve(id) -> DynamicEmergencyEndpointRetrieveResponse - client.dynamic_emergency_endpoints.list(\*\*params) -> SyncDefaultFlatPagination[DynamicEmergencyEndpoint] - client.dynamic_emergency_endpoints.delete(id) -> DynamicEmergencyEndpointDeleteResponse # ExternalConnections Types: ```python from telnyx.types import ( ExternalConnection, ExternalVoiceIntegrationsPaginationMeta, ExternalConnectionCreateResponse, ExternalConnectionRetrieveResponse, ExternalConnectionUpdateResponse, ExternalConnectionDeleteResponse, ExternalConnectionUpdateLocationResponse, ) ``` Methods: - client.external_connections.create(\*\*params) -> ExternalConnectionCreateResponse - client.external_connections.retrieve(id) -> ExternalConnectionRetrieveResponse - client.external_connections.update(id, \*\*params) -> ExternalConnectionUpdateResponse - client.external_connections.list(\*\*params) -> SyncDefaultFlatPagination[ExternalConnection] - client.external_connections.delete(id) -> ExternalConnectionDeleteResponse - client.external_connections.update_location(location_id, \*, id, \*\*params) -> ExternalConnectionUpdateLocationResponse ## LogMessages Types: ```python from telnyx.types.external_connections import ( LogMessage, LogMessageRetrieveResponse, LogMessageDismissResponse, ) ``` Methods: - client.external_connections.log_messages.retrieve(id) -> LogMessageRetrieveResponse - client.external_connections.log_messages.list(\*\*params) -> SyncDefaultPaginationForLogMessages[LogMessage] - client.external_connections.log_messages.dismiss(id) -> LogMessageDismissResponse ## CivicAddresses Types: ```python from telnyx.types.external_connections import ( CivicAddress, Location, CivicAddressRetrieveResponse, CivicAddressListResponse, ) ``` Methods: - client.external_connections.civic_addresses.retrieve(address_id, \*, id) -> CivicAddressRetrieveResponse - client.external_connections.civic_addresses.list(id, \*\*params) -> CivicAddressListResponse ## PhoneNumbers Types: ```python from telnyx.types.external_connections import ( ExternalConnectionPhoneNumber, PhoneNumberRetrieveResponse, PhoneNumberUpdateResponse, ) ``` Methods: - client.external_connections.phone_numbers.retrieve(phone_number_id, \*, id) -> PhoneNumberRetrieveResponse - client.external_connections.phone_numbers.update(phone_number_id, \*, id, \*\*params) -> PhoneNumberUpdateResponse - client.external_connections.phone_numbers.list(id, \*\*params) -> SyncDefaultFlatPagination[ExternalConnectionPhoneNumber] ## Releases Types: ```python from telnyx.types.external_connections import Release, TnReleaseEntry, ReleaseRetrieveResponse ``` Methods: - client.external_connections.releases.retrieve(release_id, \*, id) -> ReleaseRetrieveResponse - client.external_connections.releases.list(id, \*\*params) -> SyncDefaultFlatPagination[Release] ## Uploads Types: ```python from telnyx.types.external_connections import ( TnUploadEntry, Upload, UploadCreateResponse, UploadRetrieveResponse, UploadPendingCountResponse, UploadRefreshStatusResponse, UploadRetryResponse, ) ``` Methods: - client.external_connections.uploads.create(id, \*\*params) -> UploadCreateResponse - client.external_connections.uploads.retrieve(ticket_id, \*, id) -> UploadRetrieveResponse - client.external_connections.uploads.list(id, \*\*params) -> SyncDefaultFlatPagination[Upload] - client.external_connections.uploads.pending_count(id) -> UploadPendingCountResponse - client.external_connections.uploads.refresh_status(id) -> UploadRefreshStatusResponse - client.external_connections.uploads.retry(ticket_id, \*, id) -> UploadRetryResponse # FaxApplications Types: ```python from telnyx.types import ( FaxApplication, FaxApplicationCreateResponse, FaxApplicationRetrieveResponse, FaxApplicationUpdateResponse, FaxApplicationDeleteResponse, ) ``` Methods: - client.fax_applications.create(\*\*params) -> FaxApplicationCreateResponse - client.fax_applications.retrieve(id) -> FaxApplicationRetrieveResponse - client.fax_applications.update(id, \*\*params) -> FaxApplicationUpdateResponse - client.fax_applications.list(\*\*params) -> SyncDefaultFlatPagination[FaxApplication] - client.fax_applications.delete(id) -> FaxApplicationDeleteResponse # Faxes Types: ```python from telnyx.types import Fax, Quality, FaxCreateResponse, FaxRetrieveResponse ``` Methods: - client.faxes.create(\*\*params) -> FaxCreateResponse - client.faxes.retrieve(id) -> FaxRetrieveResponse - client.faxes.list(\*\*params) -> SyncDefaultFlatPagination[Fax] - client.faxes.delete(id) -> None ## Actions Types: ```python from telnyx.types.faxes import ActionCancelResponse, ActionRefreshResponse ``` Methods: - client.faxes.actions.cancel(id) -> ActionCancelResponse - client.faxes.actions.refresh(id) -> ActionRefreshResponse # FqdnConnections Types: ```python from telnyx.types import ( FqdnConnection, InboundFqdn, OutboundFqdn, TransportProtocol, WebhookAPIVersion, FqdnConnectionCreateResponse, FqdnConnectionRetrieveResponse, FqdnConnectionUpdateResponse, FqdnConnectionDeleteResponse, ) ``` Methods: - client.fqdn_connections.create(\*\*params) -> FqdnConnectionCreateResponse - client.fqdn_connections.retrieve(id) -> FqdnConnectionRetrieveResponse - client.fqdn_connections.update(id, \*\*params) -> FqdnConnectionUpdateResponse - client.fqdn_connections.list(\*\*params) -> SyncDefaultFlatPagination[FqdnConnection] - client.fqdn_connections.delete(id) -> FqdnConnectionDeleteResponse ## FqdnAuthentication Types: ```python from telnyx.types.fqdn_connections import ( FqdnAuthentication, FqdnAuthenticationListResponse, FqdnAuthenticationPatchAllResponse, ) ``` Methods: - client.fqdn_connections.fqdn_authentication.list(fqdn_connection_id) -> FqdnAuthenticationListResponse - client.fqdn_connections.fqdn_authentication.patch_all(fqdn_connection_id, \*\*params) -> FqdnAuthenticationPatchAllResponse # Fqdns Types: ```python from telnyx.types import ( Fqdn, FqdnCreateResponse, FqdnRetrieveResponse, FqdnUpdateResponse, FqdnDeleteResponse, ) ``` Methods: - client.fqdns.create(\*\*params) -> FqdnCreateResponse - client.fqdns.retrieve(id) -> FqdnRetrieveResponse - client.fqdns.update(id, \*\*params) -> FqdnUpdateResponse - client.fqdns.list(\*\*params) -> SyncDefaultFlatPagination[Fqdn] - client.fqdns.delete(id) -> FqdnDeleteResponse # GlobalIPAllowedPorts Types: ```python from telnyx.types import GlobalIPAllowedPortListResponse ``` Methods: - client.global_ip_allowed_ports.list() -> GlobalIPAllowedPortListResponse # GlobalIPAssignmentHealth Types: ```python from telnyx.types import GlobalIPAssignmentHealthRetrieveResponse ``` Methods: - client.global_ip_assignment_health.retrieve(\*\*params) -> GlobalIPAssignmentHealthRetrieveResponse # GlobalIPAssignments Types: ```python from telnyx.types import ( GlobalIPAssignment, Record, GlobalIPAssignmentCreateResponse, GlobalIPAssignmentRetrieveResponse, GlobalIPAssignmentUpdateResponse, GlobalIPAssignmentDeleteResponse, ) ``` Methods: - client.global_ip_assignments.create() -> GlobalIPAssignmentCreateResponse - client.global_ip_assignments.retrieve(id) -> GlobalIPAssignmentRetrieveResponse - client.global_ip_assignments.update(global_ip_assignment_id, \*\*params) -> GlobalIPAssignmentUpdateResponse - client.global_ip_assignments.list(\*\*params) -> SyncDefaultFlatPagination[GlobalIPAssignment] - client.global_ip_assignments.delete(id) -> GlobalIPAssignmentDeleteResponse # GlobalIPAssignmentsUsage Types: ```python from telnyx.types import GlobalIPAssignmentsUsageRetrieveResponse ``` Methods: - client.global_ip_assignments_usage.retrieve(\*\*params) -> GlobalIPAssignmentsUsageRetrieveResponse # GlobalIPHealthCheckTypes Types: ```python from telnyx.types import GlobalIPHealthCheckTypeListResponse ``` Methods: - client.global_ip_health_check_types.list() -> GlobalIPHealthCheckTypeListResponse # GlobalIPHealthChecks Types: ```python from telnyx.types import ( GlobalIPHealthCheck, GlobalIPHealthCheckCreateResponse, GlobalIPHealthCheckRetrieveResponse, GlobalIPHealthCheckDeleteResponse, ) ``` Methods: - client.global_ip_health_checks.create(\*\*params) -> GlobalIPHealthCheckCreateResponse - client.global_ip_health_checks.retrieve(id) -> GlobalIPHealthCheckRetrieveResponse - client.global_ip_health_checks.list(\*\*params) -> SyncDefaultFlatPagination[GlobalIPHealthCheck] - client.global_ip_health_checks.delete(id) -> GlobalIPHealthCheckDeleteResponse # GlobalIPLatency Types: ```python from telnyx.types import GlobalIPLatencyRetrieveResponse ``` Methods: - client.global_ip_latency.retrieve(\*\*params) -> GlobalIPLatencyRetrieveResponse # GlobalIPProtocols Types: ```python from telnyx.types import GlobalIPProtocolListResponse ``` Methods: - client.global_ip_protocols.list() -> GlobalIPProtocolListResponse # GlobalIPUsage Types: ```python from telnyx.types import GlobalIPUsageRetrieveResponse ``` Methods: - client.global_ip_usage.retrieve(\*\*params) -> GlobalIPUsageRetrieveResponse # GlobalIPs Types: ```python from telnyx.types import ( GlobalIP, GlobalIPCreateResponse, GlobalIPRetrieveResponse, GlobalIPDeleteResponse, ) ``` Methods: - client.global_ips.create(\*\*params) -> GlobalIPCreateResponse - client.global_ips.retrieve(id) -> GlobalIPRetrieveResponse - client.global_ips.list(\*\*params) -> SyncDefaultFlatPagination[GlobalIP] - client.global_ips.delete(id) -> GlobalIPDeleteResponse # InboundChannels Types: ```python from telnyx.types import InboundChannelUpdateResponse, InboundChannelListResponse ``` Methods: - client.inbound_channels.update(\*\*params) -> InboundChannelUpdateResponse - client.inbound_channels.list() -> InboundChannelListResponse # IntegrationSecrets Types: ```python from telnyx.types import IntegrationSecret, IntegrationSecretCreateResponse ``` Methods: - client.integration_secrets.create(\*\*params) -> IntegrationSecretCreateResponse - client.integration_secrets.list(\*\*params) -> SyncDefaultFlatPagination[IntegrationSecret] - client.integration_secrets.delete(id) -> None # InventoryCoverage Types: ```python from telnyx.types import InventoryCoverageListResponse ``` Methods: - client.inventory_coverage.list(\*\*params) -> InventoryCoverageListResponse # Invoices Types: ```python from telnyx.types import InvoiceRetrieveResponse, InvoiceListResponse ``` Methods: - client.invoices.retrieve(id, \*\*params) -> InvoiceRetrieveResponse - client.invoices.list(\*\*params) -> SyncDefaultFlatPagination[InvoiceListResponse] # IPConnections Types: ```python from telnyx.types import ( InboundIP, IPConnection, OutboundIP, IPConnectionCreateResponse, IPConnectionRetrieveResponse, IPConnectionUpdateResponse, IPConnectionDeleteResponse, ) ``` Methods: - client.ip_connections.create(\*\*params) -> IPConnectionCreateResponse - client.ip_connections.retrieve(id) -> IPConnectionRetrieveResponse - client.ip_connections.update(id, \*\*params) -> IPConnectionUpdateResponse - client.ip_connections.list(\*\*params) -> SyncDefaultFlatPagination[IPConnection] - client.ip_connections.delete(id) -> IPConnectionDeleteResponse # IPs Types: ```python from telnyx.types import ( IP, IPCreateResponse, IPRetrieveResponse, IPUpdateResponse, IPDeleteResponse, ) ``` Methods: - client.ips.create(\*\*params) -> IPCreateResponse - client.ips.retrieve(id) -> IPRetrieveResponse - client.ips.update(id, \*\*params) -> IPUpdateResponse - client.ips.list(\*\*params) -> SyncDefaultFlatPagination[IP] - client.ips.delete(id) -> IPDeleteResponse # LedgerBillingGroupReports Types: ```python from telnyx.types import ( LedgerBillingGroupReport, LedgerBillingGroupReportCreateResponse, LedgerBillingGroupReportRetrieveResponse, ) ``` Methods: - client.ledger_billing_group_reports.create(\*\*params) -> LedgerBillingGroupReportCreateResponse - client.ledger_billing_group_reports.retrieve(id) -> LedgerBillingGroupReportRetrieveResponse # List Types: ```python from telnyx.types import ListRetrieveAllResponse, ListRetrieveByZoneResponse ``` Methods: - client.list.retrieve_all() -> ListRetrieveAllResponse - client.list.retrieve_by_zone(channel_zone_id) -> ListRetrieveByZoneResponse # ManagedAccounts Types: ```python from telnyx.types import ( ManagedAccount, ManagedAccountBalance, ManagedAccountCreateResponse, ManagedAccountRetrieveResponse, ManagedAccountUpdateResponse, ManagedAccountListResponse, ManagedAccountGetAllocatableGlobalOutboundChannelsResponse, ManagedAccountUpdateGlobalChannelLimitResponse, ) ``` Methods: - client.managed_accounts.create(\*\*params) -> ManagedAccountCreateResponse - client.managed_accounts.retrieve(id) -> ManagedAccountRetrieveResponse - client.managed_accounts.update(id, \*\*params) -> ManagedAccountUpdateResponse - client.managed_accounts.list(\*\*params) -> SyncDefaultFlatPagination[ManagedAccountListResponse] - client.managed_accounts.get_allocatable_global_outbound_channels() -> ManagedAccountGetAllocatableGlobalOutboundChannelsResponse - client.managed_accounts.update_global_channel_limit(id, \*\*params) -> ManagedAccountUpdateGlobalChannelLimitResponse ## Actions Types: ```python from telnyx.types.managed_accounts import ActionDisableResponse, ActionEnableResponse ``` Methods: - client.managed_accounts.actions.disable(id) -> ActionDisableResponse - client.managed_accounts.actions.enable(id, \*\*params) -> ActionEnableResponse # Media Types: ```python from telnyx.types import ( MediaResource, MediaRetrieveResponse, MediaUpdateResponse, MediaListResponse, MediaUploadResponse, ) ``` Methods: - client.media.retrieve(media_name) -> MediaRetrieveResponse - client.media.update(media_name, \*\*params) -> MediaUpdateResponse - client.media.list(\*\*params) -> MediaListResponse - client.media.delete(media_name) -> None - client.media.download(media_name) -> BinaryAPIResponse - client.media.upload(\*\*params) -> MediaUploadResponse # Messages Types: ```python from telnyx.types import ( MessagingError0b38e7044b, MessagingInboundMessagePayload, MessagingOutboundMessagePayload, OutboundMessagePayload, RcsAgentMessage, RcsCardContent, RcsContentInfo, RcsSuggestion, RcsToItem, WhatsappContact, WhatsappInteractive, WhatsappLocation, WhatsappMedia, WhatsappMessageContent, WhatsappReaction, MessageRetrieveResponse, MessageCancelScheduledResponse, MessageRetrieveGroupMessagesResponse, MessageScheduleResponse, MessageSendResponse, MessageSendGroupMmsResponse, MessageSendLongCodeResponse, MessageSendNumberPoolResponse, MessageSendShortCodeResponse, MessageSendWithAlphanumericSenderResponse, MessageWhatsappResponse, ) ``` Methods: - client.messages.retrieve(id) -> MessageRetrieveResponse - client.messages.cancel_scheduled(id) -> MessageCancelScheduledResponse - client.messages.retrieve_group_messages(message_id) -> MessageRetrieveGroupMessagesResponse - client.messages.schedule(\*\*params) -> MessageScheduleResponse - client.messages.send(\*\*params) -> MessageSendResponse - client.messages.send_group_mms(\*\*params) -> MessageSendGroupMmsResponse - client.messages.send_long_code(\*\*params) -> MessageSendLongCodeResponse - client.messages.send_number_pool(\*\*params) -> MessageSendNumberPoolResponse - client.messages.send_short_code(\*\*params) -> MessageSendShortCodeResponse - client.messages.send_with_alphanumeric_sender(\*\*params) -> MessageSendWithAlphanumericSenderResponse - client.messages.whatsapp(\*\*params) -> MessageWhatsappResponse ## Rcs Types: ```python from telnyx.types.messages import RcGenerateDeeplinkResponse, RcSendResponse ``` Methods: - client.messages.rcs.generate_deeplink(agent_id, \*\*params) -> RcGenerateDeeplinkResponse - client.messages.rcs.send(\*\*params) -> RcSendResponse # Messaging ## Rcs Types: ```python from telnyx.types.messaging import ( RcsCapabilities, RcInviteTestNumberResponse, RcListBulkCapabilitiesResponse, RcRetrieveCapabilitiesResponse, ) ``` Methods: - client.messaging.rcs.invite_test_number(phone_number, \*, id) -> RcInviteTestNumberResponse - client.messaging.rcs.list_bulk_capabilities(\*\*params) -> RcListBulkCapabilitiesResponse - client.messaging.rcs.retrieve_capabilities(phone_number, \*, agent_id) -> RcRetrieveCapabilitiesResponse ### Agents Methods: - client.messaging.rcs.agents.retrieve(id) -> RcsAgentResponse - client.messaging.rcs.agents.update(id, \*\*params) -> RcsAgentResponse - client.messaging.rcs.agents.list(\*\*params) -> SyncDefaultFlatPagination[RcsAgent] # MessagingHostedNumberOrders Types: ```python from telnyx.types import ( MessagingHostedNumberOrderCreateResponse, MessagingHostedNumberOrderRetrieveResponse, MessagingHostedNumberOrderDeleteResponse, MessagingHostedNumberOrderCheckEligibilityResponse, MessagingHostedNumberOrderCreateVerificationCodesResponse, MessagingHostedNumberOrderValidateCodesResponse, ) ``` Methods: - client.messaging_hosted_number_orders.create(\*\*params) -> MessagingHostedNumberOrderCreateResponse - client.messaging_hosted_number_orders.retrieve(id) -> MessagingHostedNumberOrderRetrieveResponse - client.messaging_hosted_number_orders.list(\*\*params) -> SyncDefaultFlatPagination[MessagingHostedNumberOrder] - client.messaging_hosted_number_orders.delete(id) -> MessagingHostedNumberOrderDeleteResponse - client.messaging_hosted_number_orders.check_eligibility(\*\*params) -> MessagingHostedNumberOrderCheckEligibilityResponse - client.messaging_hosted_number_orders.create_verification_codes(id, \*\*params) -> MessagingHostedNumberOrderCreateVerificationCodesResponse - client.messaging_hosted_number_orders.validate_codes(id, \*\*params) -> MessagingHostedNumberOrderValidateCodesResponse ## Actions Types: ```python from telnyx.types.messaging_hosted_number_orders import ActionUploadFileResponse ``` Methods: - client.messaging_hosted_number_orders.actions.upload_file(id, \*\*params) -> ActionUploadFileResponse # MessagingHostedNumbers Types: ```python from telnyx.types import ( UpdatePhoneNumberMessagingSettingsRequest, MessagingHostedNumberRetrieveResponse, MessagingHostedNumberUpdateResponse, MessagingHostedNumberDeleteResponse, ) ``` Methods: - client.messaging_hosted_numbers.retrieve(id) -> MessagingHostedNumberRetrieveResponse - client.messaging_hosted_numbers.update(id, \*\*params) -> MessagingHostedNumberUpdateResponse - client.messaging_hosted_numbers.list(\*\*params) -> SyncDefaultFlatPagination[PhoneNumberWithMessagingSettings] - client.messaging_hosted_numbers.delete(id) -> MessagingHostedNumberDeleteResponse # MessagingNumbersBulkUpdates Types: ```python from telnyx.types import ( BulkMessagingSettingsUpdatePhoneNumbers, MessagingNumbersBulkUpdateCreateResponse, MessagingNumbersBulkUpdateRetrieveResponse, ) ``` Methods: - client.messaging_numbers_bulk_updates.create(\*\*params) -> MessagingNumbersBulkUpdateCreateResponse - client.messaging_numbers_bulk_updates.retrieve(order_id) -> MessagingNumbersBulkUpdateRetrieveResponse # MessagingOptouts Types: ```python from telnyx.types import MessagingOptoutListResponse ``` Methods: - client.messaging_optouts.list(\*\*params) -> SyncDefaultFlatPagination[MessagingOptoutListResponse] # MessagingProfiles Types: ```python from telnyx.types import ( MessagingMessagingProfile, MessagingProfile, MessagingProfileFeatures, Mm7Metadata, NumberPoolSettings, URLShortenerSettings, MessagingProfileCreateResponse, MessagingProfileRetrieveResponse, MessagingProfileUpdateResponse, MessagingProfileDeleteResponse, MessagingProfileRetrieveMetricsResponse, ) ``` Methods: - client.messaging_profiles.create(\*\*params) -> MessagingProfileCreateResponse - client.messaging_profiles.retrieve(messaging_profile_id) -> MessagingProfileRetrieveResponse - client.messaging_profiles.update(messaging_profile_id, \*\*params) -> MessagingProfileUpdateResponse - client.messaging_profiles.list(\*\*params) -> SyncDefaultFlatPagination[MessagingMessagingProfile] - client.messaging_profiles.delete(messaging_profile_id) -> MessagingProfileDeleteResponse - client.messaging_profiles.list_alphanumeric_sender_ids(id, \*\*params) -> SyncDefaultFlatPagination[AlphanumericSenderID] - client.messaging_profiles.list_phone_numbers(messaging_profile_id, \*\*params) -> SyncDefaultFlatPagination[PhoneNumberWithMessagingSettings] - client.messaging_profiles.list_short_codes(messaging_profile_id, \*\*params) -> SyncDefaultFlatPagination[ShortCode] - client.messaging_profiles.retrieve_metrics(id, \*\*params) -> MessagingProfileRetrieveMetricsResponse ## AutorespConfigs Types: ```python from telnyx.types.messaging_profiles import ( AutoRespConfig, AutoRespConfigCreate, AutoRespConfigResponse, AutorespConfigListResponse, AutorespConfigDeleteResponse, ) ``` Methods: - client.messaging_profiles.autoresp_configs.create(profile_id, \*\*params) -> AutoRespConfigResponse - client.messaging_profiles.autoresp_configs.retrieve(autoresp_cfg_id, \*, profile_id) -> AutoRespConfigResponse - client.messaging_profiles.autoresp_configs.update(autoresp_cfg_id, \*, profile_id, \*\*params) -> AutoRespConfigResponse - client.messaging_profiles.autoresp_configs.list(profile_id, \*\*params) -> AutorespConfigListResponse - client.messaging_profiles.autoresp_configs.delete(autoresp_cfg_id, \*, profile_id) -> str ## Actions Types: ```python from telnyx.types.messaging_profiles import ActionRegenerateSecretResponse ``` Methods: - client.messaging_profiles.actions.regenerate_secret(id) -> ActionRegenerateSecretResponse # MessagingTollfree ## Verification ### Requests Types: ```python from telnyx.types.messaging_tollfree.verification import ( MessagingTollFreeVerificationEntityType, MessagingTollFreeVerificationTfVerificationRequest, MessagingTollFreeVerificationVerificationRequestEgress, TfPhoneNumber, TfVerificationRequest, TfVerificationStatus, TollFreeVerificationEntityType, URL, UseCaseCategories, VerificationRequestEgress, VerificationRequestStatus, Volume, RequestRetrieveResponse, RequestRetrieveStatusHistoryResponse, ) ``` Methods: - client.messaging_tollfree.verification.requests.create(\*\*params) -> MessagingTollFreeVerificationVerificationRequestEgress - client.messaging_tollfree.verification.requests.retrieve(id) -> RequestRetrieveResponse - client.messaging_tollfree.verification.requests.update(id, \*\*params) -> MessagingTollFreeVerificationVerificationRequestEgress - client.messaging_tollfree.verification.requests.list(\*\*params) -> SyncDefaultPaginationForMessagingTollfree[VerificationRequestStatus] - client.messaging_tollfree.verification.requests.delete(id) -> None - client.messaging_tollfree.verification.requests.retrieve_status_history(id, \*\*params) -> RequestRetrieveStatusHistoryResponse # MessagingURLDomains Types: ```python from telnyx.types import MessagingURLDomainListResponse ``` Methods: - client.messaging_url_domains.list(\*\*params) -> SyncDefaultFlatPagination[MessagingURLDomainListResponse] # MobileNetworkOperators Types: ```python from telnyx.types import MobileNetworkOperatorListResponse ``` Methods: - client.mobile_network_operators.list(\*\*params) -> SyncDefaultFlatPagination[MobileNetworkOperatorListResponse] # MobilePushCredentials Types: ```python from telnyx.types import PushCredential, PushCredentialResponse ``` Methods: - client.mobile_push_credentials.create(\*\*params) -> PushCredentialResponse - client.mobile_push_credentials.retrieve(push_credential_id) -> PushCredentialResponse - client.mobile_push_credentials.list(\*\*params) -> SyncDefaultFlatPagination[PushCredential] - client.mobile_push_credentials.delete(push_credential_id) -> None # NetworkCoverage Types: ```python from telnyx.types import AvailableService, NetappsLocation17904fcfbc, NetworkCoverageListResponse ``` Methods: - client.network_coverage.list(\*\*params) -> SyncDefaultFlatPagination[NetworkCoverageListResponse] # Networks Types: ```python from telnyx.types import ( InterfaceStatus, Network, NetworkCreate, NetworkCreateResponse, NetworkRetrieveResponse, NetworkUpdateResponse, NetworkDeleteResponse, NetworkListInterfacesResponse, ) ``` Methods: - client.networks.create(\*\*params) -> NetworkCreateResponse - client.networks.retrieve(id) -> NetworkRetrieveResponse - client.networks.update(network_id, \*\*params) -> NetworkUpdateResponse - client.networks.list(\*\*params) -> SyncDefaultFlatPagination[Network] - client.networks.delete(id) -> NetworkDeleteResponse - client.networks.list_interfaces(id, \*\*params) -> SyncDefaultFlatPagination[NetworkListInterfacesResponse] ## DefaultGateway Types: ```python from telnyx.types.networks import ( DefaultGateway, DefaultGatewayCreateResponse, DefaultGatewayRetrieveResponse, DefaultGatewayDeleteResponse, ) ``` Methods: - client.networks.default_gateway.create(network_identifier, \*\*params) -> DefaultGatewayCreateResponse - client.networks.default_gateway.retrieve(id) -> DefaultGatewayRetrieveResponse - client.networks.default_gateway.delete(id) -> DefaultGatewayDeleteResponse # NotificationChannels Types: ```python from telnyx.types import ( NotificationChannel, NotificationChannelCreateResponse, NotificationChannelRetrieveResponse, NotificationChannelUpdateResponse, NotificationChannelDeleteResponse, ) ``` Methods: - client.notification_channels.create(\*\*params) -> NotificationChannelCreateResponse - client.notification_channels.retrieve(id) -> NotificationChannelRetrieveResponse - client.notification_channels.update(notification_channel_id, \*\*params) -> NotificationChannelUpdateResponse - client.notification_channels.list(\*\*params) -> SyncDefaultFlatPagination[NotificationChannel] - client.notification_channels.delete(id) -> NotificationChannelDeleteResponse # NotificationEventConditions Types: ```python from telnyx.types import NotificationEventConditionListResponse ``` Methods: - client.notification_event_conditions.list(\*\*params) -> SyncDefaultFlatPagination[NotificationEventConditionListResponse] # NotificationEvents Types: ```python from telnyx.types import NotificationEventListResponse ``` Methods: - client.notification_events.list(\*\*params) -> SyncDefaultFlatPagination[NotificationEventListResponse] # NotificationProfiles Types: ```python from telnyx.types import ( NotificationProfile, NotificationProfileCreateResponse, NotificationProfileRetrieveResponse, NotificationProfileUpdateResponse, NotificationProfileDeleteResponse, ) ``` Methods: - client.notification_profiles.create(\*\*params) -> NotificationProfileCreateResponse - client.notification_profiles.retrieve(id) -> NotificationProfileRetrieveResponse - client.notification_profiles.update(notification_profile_id, \*\*params) -> NotificationProfileUpdateResponse - client.notification_profiles.list(\*\*params) -> SyncDefaultFlatPagination[NotificationProfile] - client.notification_profiles.delete(id) -> NotificationProfileDeleteResponse # NotificationSettings Types: ```python from telnyx.types import ( NotificationSetting, NotificationSettingCreateResponse, NotificationSettingRetrieveResponse, NotificationSettingDeleteResponse, ) ``` Methods: - client.notification_settings.create(\*\*params) -> NotificationSettingCreateResponse - client.notification_settings.retrieve(id) -> NotificationSettingRetrieveResponse - client.notification_settings.list(\*\*params) -> SyncDefaultFlatPagination[NotificationSetting] - client.notification_settings.delete(id) -> NotificationSettingDeleteResponse # NumberBlockOrders Types: ```python from telnyx.types import ( NumberBlockOrder, NumberBlockOrderCreateResponse, NumberBlockOrderRetrieveResponse, ) ``` Methods: - client.number_block_orders.create(\*\*params) -> NumberBlockOrderCreateResponse - client.number_block_orders.retrieve(number_block_order_id) -> NumberBlockOrderRetrieveResponse - client.number_block_orders.list(\*\*params) -> SyncDefaultFlatPagination[NumberBlockOrder] # NumberLookup Types: ```python from telnyx.types import NumberLookupRetrieveResponse ``` Methods: - client.number_lookup.retrieve(phone_number, \*\*params) -> NumberLookupRetrieveResponse # NumberOrderPhoneNumbers Types: ```python from telnyx.types import ( NumberOrderPhoneNumber, UpdateRegulatoryRequirement, NumberOrderPhoneNumberRetrieveResponse, NumberOrderPhoneNumberListResponse, NumberOrderPhoneNumberUpdateRequirementGroupResponse, NumberOrderPhoneNumberUpdateRequirementsResponse, ) ``` Methods: - client.number_order_phone_numbers.retrieve(number_order_phone_number_id) -> NumberOrderPhoneNumberRetrieveResponse - client.number_order_phone_numbers.list(\*\*params) -> NumberOrderPhoneNumberListResponse - client.number_order_phone_numbers.update_requirement_group(id, \*\*params) -> NumberOrderPhoneNumberUpdateRequirementGroupResponse - client.number_order_phone_numbers.update_requirements(number_order_phone_number_id, \*\*params) -> NumberOrderPhoneNumberUpdateRequirementsResponse # NumberOrders Types: ```python from telnyx.types import ( NumberOrderWithPhoneNumbers, PhoneNumber, NumberOrderCreateResponse, NumberOrderRetrieveResponse, NumberOrderUpdateResponse, NumberOrderListResponse, ) ``` Methods: - client.number_orders.create(\*\*params) -> NumberOrderCreateResponse - client.number_orders.retrieve(number_order_id) -> NumberOrderRetrieveResponse - client.number_orders.update(number_order_id, \*\*params) -> NumberOrderUpdateResponse - client.number_orders.list(\*\*params) -> SyncDefaultFlatPagination[NumberOrderListResponse] # NumberReservations Types: ```python from telnyx.types import ( NumberReservation, ReservedPhoneNumber, NumberReservationCreateResponse, NumberReservationRetrieveResponse, ) ``` Methods: - client.number_reservations.create(\*\*params) -> NumberReservationCreateResponse - client.number_reservations.retrieve(number_reservation_id) -> NumberReservationRetrieveResponse - client.number_reservations.list(\*\*params) -> SyncDefaultFlatPagination[NumberReservation] ## Actions Types: ```python from telnyx.types.number_reservations import ActionExtendResponse ``` Methods: - client.number_reservations.actions.extend(number_reservation_id) -> ActionExtendResponse # NumbersFeatures Types: ```python from telnyx.types import NumbersFeatureCreateResponse ``` Methods: - client.numbers_features.create(\*\*params) -> NumbersFeatureCreateResponse # OperatorConnect ## Actions Types: ```python from telnyx.types.operator_connect import ActionRefreshResponse ``` Methods: - client.operator_connect.actions.refresh() -> ActionRefreshResponse # OtaUpdates Types: ```python from telnyx.types import OtaUpdateRetrieveResponse, OtaUpdateListResponse ``` Methods: - client.ota_updates.retrieve(id) -> OtaUpdateRetrieveResponse - client.ota_updates.list(\*\*params) -> SyncDefaultFlatPagination[OtaUpdateListResponse] # OutboundVoiceProfiles Types: ```python from telnyx.types import ( OutboundCallRecording, OutboundVoiceProfile, ServicePlan, TrafficType, UsagePaymentMethod, OutboundVoiceProfileCreateResponse, OutboundVoiceProfileRetrieveResponse, OutboundVoiceProfileUpdateResponse, OutboundVoiceProfileDeleteResponse, ) ``` Methods: - client.outbound_voice_profiles.create(\*\*params) -> OutboundVoiceProfileCreateResponse - client.outbound_voice_profiles.retrieve(id) -> OutboundVoiceProfileRetrieveResponse - client.outbound_voice_profiles.update(id, \*\*params) -> OutboundVoiceProfileUpdateResponse - client.outbound_voice_profiles.list(\*\*params) -> SyncDefaultFlatPagination[OutboundVoiceProfile] - client.outbound_voice_profiles.delete(id) -> OutboundVoiceProfileDeleteResponse # Payment Types: ```python from telnyx.types import PaymentCreateStoredPaymentTransactionResponse ``` Methods: - client.payment.create_stored_payment_transaction(\*\*params) -> PaymentCreateStoredPaymentTransactionResponse ## AutoRechargePrefs Types: ```python from telnyx.types.payment import ( AutoRechargePref, AutoRechargePrefUpdateResponse, AutoRechargePrefListResponse, ) ``` Methods: - client.payment.auto_recharge_prefs.update(\*\*params) -> AutoRechargePrefUpdateResponse - client.payment.auto_recharge_prefs.list() -> AutoRechargePrefListResponse # PhoneNumberBlocks ## Jobs Types: ```python from telnyx.types.phone_number_blocks import ( Job, JobError, JobRetrieveResponse, JobDeletePhoneNumberBlockResponse, ) ``` Methods: - client.phone_number_blocks.jobs.retrieve(id) -> JobRetrieveResponse - client.phone_number_blocks.jobs.list(\*\*params) -> SyncDefaultFlatPagination[Job] - client.phone_number_blocks.jobs.delete_phone_number_block(\*\*params) -> JobDeletePhoneNumberBlockResponse # PhoneNumbers Types: ```python from telnyx.types import ( NumbersError73c9788e53, NumbersPhoneNumberDetailed, PhoneNumberDetailed, PhoneNumberRetrieveResponse, PhoneNumberUpdateResponse, PhoneNumberDeleteResponse, PhoneNumberSlimListResponse, ) ``` Methods: - client.phone_numbers.retrieve(id) -> PhoneNumberRetrieveResponse - client.phone_numbers.update(phone_number_id, \*\*params) -> PhoneNumberUpdateResponse - client.phone_numbers.list(\*\*params) -> SyncDefaultFlatPagination[NumbersPhoneNumberDetailed] - client.phone_numbers.delete(id) -> PhoneNumberDeleteResponse - client.phone_numbers.slim_list(\*\*params) -> SyncDefaultFlatPagination[PhoneNumberSlimListResponse] ## Actions Types: ```python from telnyx.types.phone_numbers import ( PhoneNumberWithVoiceSettings, ActionChangeBundleStatusResponse, ActionEnableEmergencyResponse, ActionVerifyOwnershipResponse, ) ``` Methods: - client.phone_numbers.actions.change_bundle_status(id, \*\*params) -> ActionChangeBundleStatusResponse - client.phone_numbers.actions.enable_emergency(id, \*\*params) -> ActionEnableEmergencyResponse - client.phone_numbers.actions.verify_ownership(\*\*params) -> ActionVerifyOwnershipResponse ## CsvDownloads Types: ```python from telnyx.types.phone_numbers import ( CsvDownload, CsvDownloadCreateResponse, CsvDownloadRetrieveResponse, ) ``` Methods: - client.phone_numbers.csv_downloads.create(\*\*params) -> CsvDownloadCreateResponse - client.phone_numbers.csv_downloads.retrieve(id) -> CsvDownloadRetrieveResponse - client.phone_numbers.csv_downloads.list(\*\*params) -> SyncDefaultFlatPagination[CsvDownload] ## Jobs Types: ```python from telnyx.types.phone_numbers import ( NumbersPhoneNumbersJob, PhoneNumbersJob, PhoneNumbersJobPendingOperation, PhoneNumbersJobSuccessfulOperation, JobRetrieveResponse, JobDeleteBatchResponse, JobUpdateBatchResponse, JobUpdateEmergencySettingsBatchResponse, ) ``` Methods: - client.phone_numbers.jobs.retrieve(id) -> JobRetrieveResponse - client.phone_numbers.jobs.list(\*\*params) -> SyncDefaultFlatPagination[NumbersPhoneNumbersJob] - client.phone_numbers.jobs.delete_batch(\*\*params) -> JobDeleteBatchResponse - client.phone_numbers.jobs.update_batch(\*\*params) -> JobUpdateBatchResponse - client.phone_numbers.jobs.update_emergency_settings_batch(\*\*params) -> JobUpdateEmergencySettingsBatchResponse ## Messaging Types: ```python from telnyx.types.phone_numbers import MessagingRetrieveResponse, MessagingUpdateResponse ``` Methods: - client.phone_numbers.messaging.retrieve(id) -> MessagingRetrieveResponse - client.phone_numbers.messaging.update(id, \*\*params) -> MessagingUpdateResponse - client.phone_numbers.messaging.list(\*\*params) -> SyncDefaultFlatPagination[PhoneNumberWithMessagingSettings] ## Voice Types: ```python from telnyx.types.phone_numbers import ( CallForwarding, CallRecording, CnamListing, MediaFeatures, UpdateVoiceSettings, VoiceRetrieveResponse, VoiceUpdateResponse, ) ``` Methods: - client.phone_numbers.voice.retrieve(id) -> VoiceRetrieveResponse - client.phone_numbers.voice.update(id, \*\*params) -> VoiceUpdateResponse - client.phone_numbers.voice.list(\*\*params) -> SyncDefaultFlatPagination[PhoneNumberWithVoiceSettings] ## Voicemail Types: ```python from telnyx.types.phone_numbers import ( VoicemailPrefResponse, VoicemailRequest, VoicemailCreateResponse, VoicemailRetrieveResponse, VoicemailUpdateResponse, ) ``` Methods: - client.phone_numbers.voicemail.create(phone_number_id, \*\*params) -> VoicemailCreateResponse - client.phone_numbers.voicemail.retrieve(phone_number_id) -> VoicemailRetrieveResponse - client.phone_numbers.voicemail.update(phone_number_id, \*\*params) -> VoicemailUpdateResponse # PhoneNumbersRegulatoryRequirements Types: ```python from telnyx.types import PhoneNumbersRegulatoryRequirementRetrieveResponse ``` Methods: - client.phone_numbers_regulatory_requirements.retrieve(\*\*params) -> PhoneNumbersRegulatoryRequirementRetrieveResponse # PortabilityChecks Types: ```python from telnyx.types import PortabilityCheckRunResponse ``` Methods: - client.portability_checks.run(\*\*params) -> PortabilityCheckRunResponse # Porting Types: ```python from telnyx.types import PortingListUkCarriersResponse ``` Methods: - client.porting.list_uk_carriers() -> PortingListUkCarriersResponse ## Events Types: ```python from telnyx.types.porting import ( PortingEvent, PortingEventDeletedPayload, PortingEventMessagingChangedPayload, PortingEventNewCommentEvent, PortingEventSplitEvent, PortingEventStatusChangedEvent, PortingEventWithoutWebhook, EventRetrieveResponse, ) ``` Methods: - client.porting.events.retrieve(id) -> EventRetrieveResponse - client.porting.events.list(\*\*params) -> SyncDefaultFlatPagination[PortingEvent] - client.porting.events.republish(id) -> None ## Reports Types: ```python from telnyx.types.porting import ( ExportPortingOrdersCsvReport, PortingReport, ReportCreateResponse, ReportRetrieveResponse, ) ``` Methods: - client.porting.reports.create(\*\*params) -> ReportCreateResponse - client.porting.reports.retrieve(id) -> ReportRetrieveResponse - client.porting.reports.list(\*\*params) -> SyncDefaultFlatPagination[PortingReport] ## LoaConfigurations Types: ```python from telnyx.types.porting import ( PortingLoaConfiguration, LoaConfigurationCreateResponse, LoaConfigurationRetrieveResponse, LoaConfigurationUpdateResponse, ) ``` Methods: - client.porting.loa_configurations.create(\*\*params) -> LoaConfigurationCreateResponse - client.porting.loa_configurations.retrieve(id) -> LoaConfigurationRetrieveResponse - client.porting.loa_configurations.update(id, \*\*params) -> LoaConfigurationUpdateResponse - client.porting.loa_configurations.list(\*\*params) -> SyncDefaultFlatPagination[PortingLoaConfiguration] - client.porting.loa_configurations.delete(id) -> None - client.porting.loa_configurations.preview(\*\*params) -> BinaryAPIResponse - client.porting.loa_configurations.preview_0(\*\*params) -> BinaryAPIResponse - client.porting.loa_configurations.preview_1(id) -> BinaryAPIResponse # PortingOrders Types: ```python from telnyx.types import ( PortingOrder, PortingOrderActivationSettings, PortingOrderDocuments, PortingOrderEndUser, PortingOrderEndUserAdmin, PortingOrderEndUserLocation, PortingOrderMessaging, PortingOrderMisc, PortingOrderPhoneNumberConfiguration, PortingOrderRequirement, PortingOrderType, PortingOrderUserFeedback, PortingOrdersActivationJob, PortingOrderCreateResponse, PortingOrderRetrieveResponse, PortingOrderUpdateResponse, PortingOrderRetrieveAllowedFocWindowsResponse, PortingOrderRetrieveExceptionTypesResponse, PortingOrderRetrieveRequirementsResponse, PortingOrderRetrieveSubRequestResponse, ) ``` Methods: - client.porting_orders.create(\*\*params) -> PortingOrderCreateResponse - client.porting_orders.retrieve(id, \*\*params) -> PortingOrderRetrieveResponse - client.porting_orders.update(id, \*\*params) -> PortingOrderUpdateResponse - client.porting_orders.list(\*\*params) -> SyncDefaultFlatPagination[PortingOrder] - client.porting_orders.delete(id) -> None - client.porting_orders.retrieve_allowed_foc_windows(id) -> PortingOrderRetrieveAllowedFocWindowsResponse - client.porting_orders.retrieve_exception_types() -> PortingOrderRetrieveExceptionTypesResponse - client.porting_orders.retrieve_loa_template(id, \*\*params) -> BinaryAPIResponse - client.porting_orders.retrieve_requirements(id, \*\*params) -> SyncDefaultFlatPagination[PortingOrderRetrieveRequirementsResponse] - client.porting_orders.retrieve_sub_request(id) -> PortingOrderRetrieveSubRequestResponse ## PhoneNumberConfigurations Types: ```python from telnyx.types.porting_orders import ( PortingPhoneNumberConfiguration, PhoneNumberConfigurationCreateResponse, ) ``` Methods: - client.porting_orders.phone_number_configurations.create(\*\*params) -> PhoneNumberConfigurationCreateResponse - client.porting_orders.phone_number_configurations.list(\*\*params) -> SyncDefaultFlatPagination[PortingPhoneNumberConfiguration] ## Actions Types: ```python from telnyx.types.porting_orders import ( ActionActivateResponse, ActionCancelResponse, ActionConfirmResponse, ActionShareResponse, ) ``` Methods: - client.porting_orders.actions.activate(id) -> ActionActivateResponse - client.porting_orders.actions.cancel(id) -> ActionCancelResponse - client.porting_orders.actions.confirm(id) -> ActionConfirmResponse - client.porting_orders.actions.share(id, \*\*params) -> ActionShareResponse ## ActivationJobs Types: ```python from telnyx.types.porting_orders import ActivationJobRetrieveResponse, ActivationJobUpdateResponse ``` Methods: - client.porting_orders.activation_jobs.retrieve(activation_job_id, \*, id) -> ActivationJobRetrieveResponse - client.porting_orders.activation_jobs.update(activation_job_id, \*, id, \*\*params) -> ActivationJobUpdateResponse - client.porting_orders.activation_jobs.list(id, \*\*params) -> SyncDefaultFlatPagination[PortingOrdersActivationJob] ## AdditionalDocuments Types: ```python from telnyx.types.porting_orders import PortingAdditionalDocument, AdditionalDocumentCreateResponse ``` Methods: - client.porting_orders.additional_documents.create(id, \*\*params) -> AdditionalDocumentCreateResponse - client.porting_orders.additional_documents.list(id, \*\*params) -> SyncDefaultFlatPagination[PortingAdditionalDocument] - client.porting_orders.additional_documents.delete(additional_document_id, \*, id) -> None ## Comments Types: ```python from telnyx.types.porting_orders import PortingOrdersComment, CommentCreateResponse ``` Methods: - client.porting_orders.comments.create(id, \*\*params) -> CommentCreateResponse - client.porting_orders.comments.list(id, \*\*params) -> SyncDefaultFlatPagination[PortingOrdersComment] ## VerificationCodes Types: ```python from telnyx.types.porting_orders import PortingVerificationCode, VerificationCodeVerifyResponse ``` Methods: - client.porting_orders.verification_codes.list(id, \*\*params) -> SyncDefaultFlatPagination[PortingVerificationCode] - client.porting_orders.verification_codes.send(id, \*\*params) -> None - client.porting_orders.verification_codes.verify(id, \*\*params) -> VerificationCodeVerifyResponse ## ActionRequirements Types: ```python from telnyx.types.porting_orders import PortingActionRequirement, ActionRequirementInitiateResponse ``` Methods: - client.porting_orders.action_requirements.list(porting_order_id, \*\*params) -> SyncDefaultFlatPagination[PortingActionRequirement] - client.porting_orders.action_requirements.initiate(id, \*, porting_order_id, \*\*params) -> ActionRequirementInitiateResponse ## AssociatedPhoneNumbers Types: ```python from telnyx.types.porting_orders import ( PortingAssociatedPhoneNumber, AssociatedPhoneNumberCreateResponse, AssociatedPhoneNumberDeleteResponse, ) ``` Methods: - client.porting_orders.associated_phone_numbers.create(porting_order_id, \*\*params) -> AssociatedPhoneNumberCreateResponse - client.porting_orders.associated_phone_numbers.list(porting_order_id, \*\*params) -> SyncDefaultFlatPagination[PortingAssociatedPhoneNumber] - client.porting_orders.associated_phone_numbers.delete(id, \*, porting_order_id) -> AssociatedPhoneNumberDeleteResponse ## PhoneNumberBlocks Types: ```python from telnyx.types.porting_orders import ( PortingPhoneNumberBlock, PhoneNumberBlockCreateResponse, PhoneNumberBlockDeleteResponse, ) ``` Methods: - client.porting_orders.phone_number_blocks.create(porting_order_id, \*\*params) -> PhoneNumberBlockCreateResponse - client.porting_orders.phone_number_blocks.list(porting_order_id, \*\*params) -> SyncDefaultFlatPagination[PortingPhoneNumberBlock] - client.porting_orders.phone_number_blocks.delete(id, \*, porting_order_id) -> PhoneNumberBlockDeleteResponse ## PhoneNumberExtensions Types: ```python from telnyx.types.porting_orders import ( PortingPhoneNumberExtension, PhoneNumberExtensionCreateResponse, PhoneNumberExtensionDeleteResponse, ) ``` Methods: - client.porting_orders.phone_number_extensions.create(porting_order_id, \*\*params) -> PhoneNumberExtensionCreateResponse - client.porting_orders.phone_number_extensions.list(porting_order_id, \*\*params) -> SyncDefaultFlatPagination[PortingPhoneNumberExtension] - client.porting_orders.phone_number_extensions.delete(id, \*, porting_order_id) -> PhoneNumberExtensionDeleteResponse # PortingPhoneNumbers Types: ```python from telnyx.types import PortingOrderActivationStatus, PortingPhoneNumber ``` Methods: - client.porting_phone_numbers.list(\*\*params) -> SyncDefaultFlatPagination[PortingPhoneNumber] # Portouts Types: ```python from telnyx.types import ( PortoutDetails, PortoutRetrieveResponse, PortoutListRejectionCodesResponse, PortoutUpdateStatusResponse, ) ``` Methods: - client.portouts.retrieve(id) -> PortoutRetrieveResponse - client.portouts.list(\*\*params) -> SyncDefaultFlatPagination[PortoutDetails] - client.portouts.list_rejection_codes(portout_id, \*\*params) -> PortoutListRejectionCodesResponse - client.portouts.update_status(status, \*, id, \*\*params) -> PortoutUpdateStatusResponse ## Events Types: ```python from telnyx.types.portouts import ( PortoutEvent, WebhookPortoutFocDateChanged, WebhookPortoutNewComment, WebhookPortoutStatusChanged, EventRetrieveResponse, ) ``` Methods: - client.portouts.events.retrieve(id) -> EventRetrieveResponse - client.portouts.events.list(\*\*params) -> SyncDefaultFlatPagination[PortoutEvent] - client.portouts.events.republish(id) -> None ## Reports Types: ```python from telnyx.types.portouts import ( ExportPortoutsCsvReport, PortoutReport, ReportCreateResponse, ReportRetrieveResponse, ) ``` Methods: - client.portouts.reports.create(\*\*params) -> ReportCreateResponse - client.portouts.reports.retrieve(id) -> ReportRetrieveResponse - client.portouts.reports.list(\*\*params) -> SyncDefaultFlatPagination[PortoutReport] ## Comments Types: ```python from telnyx.types.portouts import PortoutComment, CommentCreateResponse, CommentListResponse ``` Methods: - client.portouts.comments.create(id, \*\*params) -> CommentCreateResponse - client.portouts.comments.list(id) -> CommentListResponse ## SupportingDocuments Types: ```python from telnyx.types.portouts import ( PortOutSupportingDocument, SupportingDocumentCreateResponse, SupportingDocumentListResponse, ) ``` Methods: - client.portouts.supporting_documents.create(id, \*\*params) -> SupportingDocumentCreateResponse - client.portouts.supporting_documents.list(id) -> SupportingDocumentListResponse # PrivateWirelessGateways Types: ```python from telnyx.types import ( PrivateWirelessGateway, PrivateWirelessGatewayStatus, PwgAssignedResourcesSummary, WirelessPrivateWirelessGateway, PrivateWirelessGatewayCreateResponse, PrivateWirelessGatewayRetrieveResponse, PrivateWirelessGatewayDeleteResponse, ) ``` Methods: - client.private_wireless_gateways.create(\*\*params) -> PrivateWirelessGatewayCreateResponse - client.private_wireless_gateways.retrieve(id) -> PrivateWirelessGatewayRetrieveResponse - client.private_wireless_gateways.list(\*\*params) -> SyncDefaultFlatPagination[WirelessPrivateWirelessGateway] - client.private_wireless_gateways.delete(id) -> PrivateWirelessGatewayDeleteResponse # PublicInternetGateways Types: ```python from telnyx.types import ( NetworkInterface, NetworkInterfaceRegion, PublicInternetGateway, PublicInternetGatewayRead, PublicInternetGatewayCreateResponse, PublicInternetGatewayRetrieveResponse, PublicInternetGatewayDeleteResponse, ) ``` Methods: - client.public_internet_gateways.create(\*\*params) -> PublicInternetGatewayCreateResponse - client.public_internet_gateways.retrieve(id) -> PublicInternetGatewayRetrieveResponse - client.public_internet_gateways.list(\*\*params) -> SyncDefaultFlatPagination[PublicInternetGatewayRead] - client.public_internet_gateways.delete(id) -> PublicInternetGatewayDeleteResponse # Queues Types: ```python from telnyx.types import Queue, QueueCreateResponse, QueueRetrieveResponse, QueueUpdateResponse ``` Methods: - client.queues.create(\*\*params) -> QueueCreateResponse - client.queues.retrieve(queue_name) -> QueueRetrieveResponse - client.queues.update(queue_name, \*\*params) -> QueueUpdateResponse - client.queues.list(\*\*params) -> SyncDefaultFlatPagination[Queue] - client.queues.delete(queue_name) -> None ## Calls Types: ```python from telnyx.types.queues import QueueCall, CallRetrieveResponse ``` Methods: - client.queues.calls.retrieve(call_control_id, \*, queue_name) -> CallRetrieveResponse - client.queues.calls.update(call_control_id, \*, queue_name, \*\*params) -> None - client.queues.calls.list(queue_name, \*\*params) -> SyncDefaultFlatPagination[QueueCall] - client.queues.calls.remove(call_control_id, \*, queue_name) -> None # Rcs ## Agents Types: ```python from telnyx.types.rcs import ( AgentCampaignConfiguration, AgentConfiguration, AgentConsentConfiguration, AgentEmailContact, AgentInteraction, AgentPhoneContact, AgentResponse, AgentSubmissionStatus, AgentTestingConfiguration, AgentUseCase, AgentWebsiteContact, CapabilitiesResponse, CarrierApprovalResponse, RcsAgent, RcsAgentResponse, AgentListResponse, AgentRetrieveCarrierApprovalsResponse, ) ``` Methods: - client.rcs.agents.create(\*\*params) -> AgentResponse - client.rcs.agents.retrieve(id) -> AgentResponse - client.rcs.agents.update(id, \*\*params) -> AgentResponse - client.rcs.agents.list(\*\*params) -> AgentListResponse - client.rcs.agents.launch(id, \*\*params) -> AgentResponse - client.rcs.agents.retrieve_carrier_approvals(id) -> AgentRetrieveCarrierApprovalsResponse - client.rcs.agents.submit(id) -> AgentResponse ### TestDevices Types: ```python from telnyx.types.rcs.agents import TestDeviceResponse, TestDeviceListResponse ``` Methods: - client.rcs.agents.test_devices.create(id, \*\*params) -> TestDeviceResponse - client.rcs.agents.test_devices.list(id) -> TestDeviceListResponse - client.rcs.agents.test_devices.delete(test_device_id, \*, id) -> None ## Brands Types: ```python from telnyx.types.rcs import ( BrandAddress, BrandContact, BrandIdentifier, BrandLegalEntityType, BrandOrganizationType, BrandResponse, EinBrandIdentifier, StockSymbolBrandIdentifier, BrandListResponse, ) ``` Methods: - client.rcs.brands.create(\*\*params) -> BrandResponse - client.rcs.brands.retrieve(id) -> BrandResponse - client.rcs.brands.update(id, \*\*params) -> BrandResponse - client.rcs.brands.list() -> BrandListResponse - client.rcs.brands.submit(id) -> BrandResponse # RecordingTranscriptions Types: ```python from telnyx.types import ( RecordingTranscription, RecordingTranscriptionRetrieveResponse, RecordingTranscriptionDeleteResponse, ) ``` Methods: - client.recording_transcriptions.retrieve(recording_transcription_id) -> RecordingTranscriptionRetrieveResponse - client.recording_transcriptions.list(\*\*params) -> SyncDefaultFlatPagination[RecordingTranscription] - client.recording_transcriptions.delete(recording_transcription_id) -> RecordingTranscriptionDeleteResponse # Recordings Types: ```python from telnyx.types import RecordingResponse, RecordingResponseData ``` Methods: - client.recordings.retrieve(recording_id) -> RecordingResponse - client.recordings.list(\*\*params) -> SyncDefaultFlatPagination[RecordingResponseData] - client.recordings.delete(recording_id) -> RecordingResponse ## Actions Types: ```python from telnyx.types.recordings import ActionDeleteResponse ``` Methods: - client.recordings.actions.delete(\*\*params) -> ActionDeleteResponse # Regions Types: ```python from telnyx.types import RegionListResponse ``` Methods: - client.regions.list() -> RegionListResponse # RegulatoryRequirements Types: ```python from telnyx.types import RegulatoryRequirementRetrieveResponse ``` Methods: - client.regulatory_requirements.retrieve(\*\*params) -> RegulatoryRequirementRetrieveResponse # Reports Types: ```python from telnyx.types import ReportListMdrsResponse, ReportListWdrsResponse ``` Methods: - client.reports.list_mdrs(\*\*params) -> ReportListMdrsResponse - client.reports.list_wdrs(\*\*params) -> SyncDefaultFlatPagination[ReportListWdrsResponse] ## CdrUsageReports Types: ```python from telnyx.types.reports import CdrUsageReportFetchSyncResponse ``` Methods: - client.reports.cdr_usage_reports.fetch_sync(\*\*params) -> CdrUsageReportFetchSyncResponse ## MdrUsageReports Types: ```python from telnyx.types.reports import ( MdrUsageReport, PaginationMetaReporting, ReportingPaginationMeta77109e5d17, MdrUsageReportCreateResponse, MdrUsageReportRetrieveResponse, MdrUsageReportDeleteResponse, MdrUsageReportFetchSyncResponse, ) ``` Methods: - client.reports.mdr_usage_reports.create(\*\*params) -> MdrUsageReportCreateResponse - client.reports.mdr_usage_reports.retrieve(id) -> MdrUsageReportRetrieveResponse - client.reports.mdr_usage_reports.list(\*\*params) -> SyncDefaultFlatPagination[MdrUsageReport] - client.reports.mdr_usage_reports.delete(id) -> MdrUsageReportDeleteResponse - client.reports.mdr_usage_reports.fetch_sync(\*\*params) -> MdrUsageReportFetchSyncResponse # SpeechToText Types: ```python from telnyx.types import ( SttServiceType, TranscribeClientEvent, TranscribeServerEvent, SpeechToTextListProvidersResponse, ) ``` Methods: - client.speech_to_text.list_providers(\*\*params) -> SpeechToTextListProvidersResponse - client.speech_to_text.retrieve_transcription(\*\*params) -> None # RequirementGroups Types: ```python from telnyx.types import RequirementGroup, UserRequirement, RequirementGroupListResponse ``` Methods: - client.requirement_groups.create(\*\*params) -> RequirementGroup - client.requirement_groups.retrieve(id) -> RequirementGroup - client.requirement_groups.update(id, \*\*params) -> RequirementGroup - client.requirement_groups.list(\*\*params) -> RequirementGroupListResponse - client.requirement_groups.delete(id) -> RequirementGroup - client.requirement_groups.submit_for_approval(id) -> RequirementGroup # RequirementTypes Types: ```python from telnyx.types import RequirementTypeRetrieveResponse, RequirementTypeListResponse ``` Methods: - client.requirement_types.retrieve(id) -> RequirementTypeRetrieveResponse - client.requirement_types.list(\*\*params) -> RequirementTypeListResponse # Requirements Types: ```python from telnyx.types import DocReqsRequirement, RequirementRetrieveResponse ``` Methods: - client.requirements.retrieve(id, \*\*params) -> RequirementRetrieveResponse - client.requirements.list(\*\*params) -> SyncDefaultFlatPagination[DocReqsRequirement] # RoomCompositions Types: ```python from telnyx.types import ( RoomComposition, VideoRegion, RoomCompositionCreateResponse, RoomCompositionRetrieveResponse, ) ``` Methods: - client.room_compositions.create(\*\*params) -> RoomCompositionCreateResponse - client.room_compositions.retrieve(room_composition_id) -> RoomCompositionRetrieveResponse - client.room_compositions.list(\*\*params) -> SyncDefaultFlatPagination[RoomComposition] - client.room_compositions.delete(room_composition_id) -> None # RoomParticipants Types: ```python from telnyx.types import RoomParticipantRetrieveResponse ``` Methods: - client.room_participants.retrieve(room_participant_id) -> RoomParticipantRetrieveResponse - client.room_participants.list(\*\*params) -> SyncDefaultFlatPagination[RoomParticipant] # RoomRecordings Types: ```python from telnyx.types import ( RoomRecording, RoomRecordingRetrieveResponse, RoomRecordingDeleteBulkResponse, ) ``` Methods: - client.room_recordings.retrieve(room_recording_id) -> RoomRecordingRetrieveResponse - client.room_recordings.list(\*\*params) -> SyncDefaultFlatPagination[RoomRecording] - client.room_recordings.delete(room_recording_id) -> None - client.room_recordings.delete_bulk(\*\*params) -> RoomRecordingDeleteBulkResponse # Rooms Types: ```python from telnyx.types import ( Room, RoomSession, RoomCreateResponse, RoomRetrieveResponse, RoomUpdateResponse, ) ``` Methods: - client.rooms.create(\*\*params) -> RoomCreateResponse - client.rooms.retrieve(room_id, \*\*params) -> RoomRetrieveResponse - client.rooms.update(room_id, \*\*params) -> RoomUpdateResponse - client.rooms.list(\*\*params) -> SyncDefaultFlatPagination[Room] - client.rooms.delete(room_id) -> None ## Actions Types: ```python from telnyx.types.rooms import ( ActionGenerateJoinClientTokenResponse, ActionRefreshClientTokenResponse, ) ``` Methods: - client.rooms.actions.generate_join_client_token(room_id, \*\*params) -> ActionGenerateJoinClientTokenResponse - client.rooms.actions.refresh_client_token(room_id, \*\*params) -> ActionRefreshClientTokenResponse ## Sessions Types: ```python from telnyx.types.rooms import SessionRetrieveResponse ``` Methods: - client.rooms.sessions.retrieve(room_session_id, \*\*params) -> SessionRetrieveResponse - client.rooms.sessions.list_0(\*\*params) -> SyncDefaultFlatPagination[RoomSession] - client.rooms.sessions.list_1(room_id, \*\*params) -> SyncDefaultFlatPagination[RoomSession] - client.rooms.sessions.retrieve_participants(room_session_id, \*\*params) -> SyncDefaultFlatPagination[RoomParticipant] ### Actions Types: ```python from telnyx.types.rooms.sessions import ( ActionsParticipantsRequest, ActionEndResponse, ActionKickResponse, ActionMuteResponse, ActionUnmuteResponse, ) ``` Methods: - client.rooms.sessions.actions.end(room_session_id) -> ActionEndResponse - client.rooms.sessions.actions.kick(room_session_id, \*\*params) -> ActionKickResponse - client.rooms.sessions.actions.mute(room_session_id, \*\*params) -> ActionMuteResponse - client.rooms.sessions.actions.unmute(room_session_id, \*\*params) -> ActionUnmuteResponse # Seti Types: ```python from telnyx.types import SetiRetrieveBlackBoxTestResultsResponse ``` Methods: - client.seti.retrieve_black_box_test_results(\*\*params) -> SetiRetrieveBlackBoxTestResultsResponse # ShortCodes Types: ```python from telnyx.types import ShortCodeRetrieveResponse, ShortCodeUpdateResponse ``` Methods: - client.short_codes.retrieve(id) -> ShortCodeRetrieveResponse - client.short_codes.update(id, \*\*params) -> ShortCodeUpdateResponse - client.short_codes.list(\*\*params) -> SyncDefaultFlatPagination[ShortCode] # SimCardDataUsageNotifications Types: ```python from telnyx.types import ( SimCardDataUsageNotification, SimCardDataUsageNotificationCreateResponse, SimCardDataUsageNotificationRetrieveResponse, SimCardDataUsageNotificationUpdateResponse, SimCardDataUsageNotificationDeleteResponse, ) ``` Methods: - client.sim_card_data_usage_notifications.create(\*\*params) -> SimCardDataUsageNotificationCreateResponse - client.sim_card_data_usage_notifications.retrieve(id) -> SimCardDataUsageNotificationRetrieveResponse - client.sim_card_data_usage_notifications.update(sim_card_data_usage_notification_id, \*\*params) -> SimCardDataUsageNotificationUpdateResponse - client.sim_card_data_usage_notifications.list(\*\*params) -> SyncDefaultFlatPagination[SimCardDataUsageNotification] - client.sim_card_data_usage_notifications.delete(id) -> SimCardDataUsageNotificationDeleteResponse # SimCardGroups Types: ```python from telnyx.types import ( ConsumedData, SimCardGroup, SimCardGroupCreateResponse, SimCardGroupRetrieveResponse, SimCardGroupUpdateResponse, SimCardGroupListResponse, SimCardGroupDeleteResponse, ) ``` Methods: - client.sim_card_groups.create(\*\*params) -> SimCardGroupCreateResponse - client.sim_card_groups.retrieve(id, \*\*params) -> SimCardGroupRetrieveResponse - client.sim_card_groups.update(id, \*\*params) -> SimCardGroupUpdateResponse - client.sim_card_groups.list(\*\*params) -> SyncDefaultFlatPagination[SimCardGroupListResponse] - client.sim_card_groups.delete(id) -> SimCardGroupDeleteResponse ## Actions Types: ```python from telnyx.types.sim_card_groups import ( SimCardGroupAction, ActionRetrieveResponse, ActionRemovePrivateWirelessGatewayResponse, ActionRemoveWirelessBlocklistResponse, ActionSetPrivateWirelessGatewayResponse, ActionSetWirelessBlocklistResponse, ) ``` Methods: - client.sim_card_groups.actions.retrieve(id) -> ActionRetrieveResponse - client.sim_card_groups.actions.list(\*\*params) -> SyncDefaultFlatPagination[SimCardGroupAction] - client.sim_card_groups.actions.remove_private_wireless_gateway(id) -> ActionRemovePrivateWirelessGatewayResponse - client.sim_card_groups.actions.remove_wireless_blocklist(id) -> ActionRemoveWirelessBlocklistResponse - client.sim_card_groups.actions.set_private_wireless_gateway(id, \*\*params) -> ActionSetPrivateWirelessGatewayResponse - client.sim_card_groups.actions.set_wireless_blocklist(id, \*\*params) -> ActionSetWirelessBlocklistResponse # SimCardOrderPreview Types: ```python from telnyx.types import SimCardOrderPreviewPreviewResponse ``` Methods: - client.sim_card_order_preview.preview(\*\*params) -> SimCardOrderPreviewPreviewResponse # SimCardOrders Types: ```python from telnyx.types import SimCardOrder, SimCardOrderCreateResponse, SimCardOrderRetrieveResponse ``` Methods: - client.sim_card_orders.create(\*\*params) -> SimCardOrderCreateResponse - client.sim_card_orders.retrieve(id) -> SimCardOrderRetrieveResponse - client.sim_card_orders.list(\*\*params) -> SyncDefaultFlatPagination[SimCardOrder] # SimCards Types: ```python from telnyx.types import ( SimCard, SimCardRetrieveResponse, SimCardUpdateResponse, SimCardDeleteResponse, SimCardGetActivationCodeResponse, SimCardGetDeviceDetailsResponse, SimCardGetPublicIPResponse, SimCardListWirelessConnectivityLogsResponse, ) ``` Methods: - client.sim_cards.retrieve(id, \*\*params) -> SimCardRetrieveResponse - client.sim_cards.update(sim_card_id, \*\*params) -> SimCardUpdateResponse - client.sim_cards.list(\*\*params) -> SyncDefaultFlatPagination[SimpleSimCard] - client.sim_cards.delete(id, \*\*params) -> SimCardDeleteResponse - client.sim_cards.get_activation_code(id) -> SimCardGetActivationCodeResponse - client.sim_cards.get_device_details(id) -> SimCardGetDeviceDetailsResponse - client.sim_cards.get_public_ip(id) -> SimCardGetPublicIPResponse - client.sim_cards.list_wireless_connectivity_logs(id, \*\*params) -> SyncDefaultFlatPagination[SimCardListWirelessConnectivityLogsResponse] ## Actions Types: ```python from telnyx.types.sim_cards import ( BulkSimCardAction, SimCardAction, WirelessSimCardAction, ActionRetrieveResponse, ActionBulkDisableVoiceResponse, ActionBulkEnableVoiceResponse, ActionBulkSetPublicIPsResponse, ActionDisableResponse, ActionDisableVoiceResponse, ActionEnableResponse, ActionEnableVoiceResponse, ActionRemovePublicIPResponse, ActionSetPublicIPResponse, ActionSetStandbyResponse, ActionValidateRegistrationCodesResponse, ) ``` Methods: - client.sim_cards.actions.retrieve(id) -> ActionRetrieveResponse - client.sim_cards.actions.list(\*\*params) -> SyncDefaultFlatPagination[WirelessSimCardAction] - client.sim_cards.actions.bulk_disable_voice(\*\*params) -> ActionBulkDisableVoiceResponse - client.sim_cards.actions.bulk_enable_voice(\*\*params) -> ActionBulkEnableVoiceResponse - client.sim_cards.actions.bulk_set_public_ips(\*\*params) -> ActionBulkSetPublicIPsResponse - client.sim_cards.actions.disable(id) -> ActionDisableResponse - client.sim_cards.actions.disable_voice(id) -> ActionDisableVoiceResponse - client.sim_cards.actions.enable(id) -> ActionEnableResponse - client.sim_cards.actions.enable_voice(id, \*\*params) -> ActionEnableVoiceResponse - client.sim_cards.actions.remove_public_ip(id) -> ActionRemovePublicIPResponse - client.sim_cards.actions.set_public_ip(id, \*\*params) -> ActionSetPublicIPResponse - client.sim_cards.actions.set_standby(id) -> ActionSetStandbyResponse - client.sim_cards.actions.validate_registration_codes(\*\*params) -> ActionValidateRegistrationCodesResponse # SiprecConnectors Types: ```python from telnyx.types import SiprecConnectorResponse ``` Methods: - client.siprec_connectors.create(\*\*params) -> SiprecConnectorResponse - client.siprec_connectors.retrieve(connector_name) -> SiprecConnectorResponse - client.siprec_connectors.update(connector_name, \*\*params) -> SiprecConnectorResponse - client.siprec_connectors.delete(connector_name) -> None # Storage Types: ```python from telnyx.types import StorageListMigrationSourceCoverageResponse ``` Methods: - client.storage.list_migration_source_coverage() -> StorageListMigrationSourceCoverageResponse ## Buckets Types: ```python from telnyx.types.storage import BucketCreatePresignedURLResponse ``` Methods: - client.storage.buckets.create_presigned_url(object_name, \*, bucket_name, \*\*params) -> BucketCreatePresignedURLResponse ### SslCertificate Types: ```python from telnyx.types.storage.buckets import ( SslCertificate, SslCertificateCreateResponse, SslCertificateRetrieveResponse, SslCertificateDeleteResponse, ) ``` Methods: - client.storage.buckets.ssl_certificate.create(bucket_name, \*\*params) -> SslCertificateCreateResponse - client.storage.buckets.ssl_certificate.retrieve(bucket_name) -> SslCertificateRetrieveResponse - client.storage.buckets.ssl_certificate.delete(bucket_name) -> SslCertificateDeleteResponse ### Usage Types: ```python from telnyx.types.storage.buckets import ( PaginationMetaSimple, UsageGetAPIUsageResponse, UsageGetBucketUsageResponse, ) ``` Methods: - client.storage.buckets.usage.get_api_usage(bucket_name, \*\*params) -> UsageGetAPIUsageResponse - client.storage.buckets.usage.get_bucket_usage(bucket_name) -> UsageGetBucketUsageResponse ## MigrationSources Types: ```python from telnyx.types.storage import ( MigrationSourceParams, MigrationSourceCreateResponse, MigrationSourceRetrieveResponse, MigrationSourceListResponse, MigrationSourceDeleteResponse, ) ``` Methods: - client.storage.migration_sources.create(\*\*params) -> MigrationSourceCreateResponse - client.storage.migration_sources.retrieve(id) -> MigrationSourceRetrieveResponse - client.storage.migration_sources.list() -> MigrationSourceListResponse - client.storage.migration_sources.delete(id) -> MigrationSourceDeleteResponse ## Migrations Types: ```python from telnyx.types.storage import ( MigrationParams, MigrationCreateResponse, MigrationRetrieveResponse, MigrationListResponse, ) ``` Methods: - client.storage.migrations.create(\*\*params) -> MigrationCreateResponse - client.storage.migrations.retrieve(id) -> MigrationRetrieveResponse - client.storage.migrations.list() -> MigrationListResponse ### Actions Types: ```python from telnyx.types.storage.migrations import ActionStopResponse ``` Methods: - client.storage.migrations.actions.stop(id) -> ActionStopResponse ## Kvs Types: ```python from telnyx.types.storage import EdgeComputePaginationMeta, KvNamespace, KvNamespaceResponseWrapper ``` Methods: - client.storage.kvs.create(\*\*params) -> KvNamespaceResponseWrapper - client.storage.kvs.retrieve(id) -> KvNamespaceResponseWrapper - client.storage.kvs.list(\*\*params) -> SyncDefaultFlatPagination[KvNamespace] - client.storage.kvs.delete(id) -> KvNamespaceResponseWrapper ### Keys Types: ```python from telnyx.types.storage.kvs import KeyListResponse ``` Methods: - client.storage.kvs.keys.retrieve(key, \*, id) -> BinaryAPIResponse - client.storage.kvs.keys.update(key, body, \*, id, \*\*params) -> None - client.storage.kvs.keys.list(id, \*\*params) -> SyncCursorFlatPagination[KeyListResponse] - client.storage.kvs.keys.delete(key, \*, id) -> None ## Cloudfs Types: ```python from telnyx.types.storage import ( CloudfsFilesystem, CloudfsFilesystemDetail, CloudfsFilesystemDetailResponseWrapper, CloudfsFilesystemResponseWrapper, CloudfsFilesystemStatus, CloudfListResponse, ) ``` Methods: - client.storage.cloudfs.create(\*\*params) -> CloudfsFilesystemResponseWrapper - client.storage.cloudfs.retrieve(id) -> CloudfsFilesystemDetailResponseWrapper - client.storage.cloudfs.update(id, \*\*params) -> CloudfsFilesystemDetailResponseWrapper - client.storage.cloudfs.list(\*\*params) -> SyncCloudfsCursorPagination[CloudfListResponse] - client.storage.cloudfs.delete(id) -> CloudfsFilesystemDetailResponseWrapper ### Actions Methods: - client.storage.cloudfs.actions.rotate_meta_token(id) -> CloudfsFilesystemResponseWrapper ## Sqldbs Types: ```python from telnyx.types.storage import SqlDatabase, SqlDatabaseResponseWrapper ``` Methods: - client.storage.sqldbs.create(\*\*params) -> SqlDatabaseResponseWrapper - client.storage.sqldbs.retrieve(id) -> SqlDatabaseResponseWrapper - client.storage.sqldbs.list(\*\*params) -> SyncDefaultFlatPagination[SqlDatabase] - client.storage.sqldbs.delete(id, \*\*params) -> None ### Actions Types: ```python from telnyx.types.storage.sqldbs import ActionQueryResponse ``` Methods: - client.storage.sqldbs.actions.query(id, \*\*params) -> ActionQueryResponse # SubNumberOrders Types: ```python from telnyx.types import ( NumbersSubNumberOrder, SubNumberOrder, SubNumberOrderRegulatoryRequirement, SubNumberOrderRetrieveResponse, SubNumberOrderUpdateResponse, SubNumberOrderListResponse, SubNumberOrderCancelResponse, SubNumberOrderUpdateRequirementGroupResponse, ) ``` Methods: - client.sub_number_orders.retrieve(sub_number_order_id, \*\*params) -> SubNumberOrderRetrieveResponse - client.sub_number_orders.update(sub_number_order_id, \*\*params) -> SubNumberOrderUpdateResponse - client.sub_number_orders.list(\*\*params) -> SubNumberOrderListResponse - client.sub_number_orders.cancel(sub_number_order_id) -> SubNumberOrderCancelResponse - client.sub_number_orders.update_requirement_group(id, \*\*params) -> SubNumberOrderUpdateRequirementGroupResponse # SubNumberOrdersReport Types: ```python from telnyx.types import ( SubNumberOrdersReport, SubNumberOrdersReportCreateResponse, SubNumberOrdersReportRetrieveResponse, SubNumberOrdersReportDownloadResponse, ) ``` Methods: - client.sub_number_orders_report.create(\*\*params) -> SubNumberOrdersReportCreateResponse - client.sub_number_orders_report.retrieve(report_id) -> SubNumberOrdersReportRetrieveResponse - client.sub_number_orders_report.download(report_id) -> str # TelephonyCredentials Types: ```python from telnyx.types import ( TelephonyCredential, TokenMaterial, TelephonyCredentialCreateResponse, TelephonyCredentialRetrieveResponse, TelephonyCredentialUpdateResponse, TelephonyCredentialDeleteResponse, TelephonyCredentialCreateTokenResponse, TelephonyCredentialRetrieveTokenMaterialResponse, ) ``` Methods: - client.telephony_credentials.create(\*\*params) -> TelephonyCredentialCreateResponse - client.telephony_credentials.retrieve(id) -> TelephonyCredentialRetrieveResponse - client.telephony_credentials.update(id, \*\*params) -> TelephonyCredentialUpdateResponse - client.telephony_credentials.list(\*\*params) -> SyncDefaultFlatPagination[TelephonyCredential] - client.telephony_credentials.delete(id) -> TelephonyCredentialDeleteResponse - client.telephony_credentials.create_token(id) -> str - client.telephony_credentials.retrieve_token_material(id) -> TelephonyCredentialRetrieveTokenMaterialResponse # Texml Types: ```python from telnyx.types import TexmlInitiateAICallResponse, TexmlSecretsResponse ``` Methods: - client.texml.initiate_ai_call(connection_id, \*\*params) -> TexmlInitiateAICallResponse - client.texml.secrets(\*\*params) -> TexmlSecretsResponse ## Calls Types: ```python from telnyx.types.texml import CallCreateResponse ``` Methods: - client.texml.calls.create(connection_id, \*\*params) -> CallCreateResponse ## Accounts Types: ```python from telnyx.types.texml import ( TexmlGetCallRecordingResponseBody, TexmlRecordingSubresourcesUris, AccountRetrieveTranscriptionsJsonResponse, ) ``` Methods: - client.texml.accounts.retrieve_recordings_json(account_sid, \*\*params) -> TexmlGetCallRecordingsResponseBody - client.texml.accounts.retrieve_transcriptions_json(account_sid, \*\*params) -> AccountRetrieveTranscriptionsJsonResponse ### Calls Types: ```python from telnyx.types.texml.accounts import ( CallResource, UpdateCall, CallCallsResponse, CallRetrieveCallsResponse, CallSiprecJsonResponse, CallStreamsJsonResponse, ) ``` Methods: - client.texml.accounts.calls.retrieve(call_sid, \*, account_sid) -> CallResource - client.texml.accounts.calls.update(call_sid, \*, account_sid, \*\*params) -> CallResource - client.texml.accounts.calls.calls(account_sid, \*\*params) -> CallCallsResponse - client.texml.accounts.calls.retrieve_calls(account_sid, \*\*params) -> CallRetrieveCallsResponse - client.texml.accounts.calls.siprec_json(call_sid, \*, account_sid, \*\*params) -> CallSiprecJsonResponse - client.texml.accounts.calls.streams_json(call_sid, \*, account_sid, \*\*params) -> CallStreamsJsonResponse #### RecordingsJson Types: ```python from telnyx.types.texml.accounts.calls import ( RecordingSource, TexmlCreateCallRecordingResponseBody, TexmlGetCallRecordingsResponseBody, TwimlRecordingChannels, ) ``` Methods: - client.texml.accounts.calls.recordings_json.recordings_json(call_sid, \*, account_sid, \*\*params) -> TexmlCreateCallRecordingResponseBody - client.texml.accounts.calls.recordings_json.retrieve_recordings_json(call_sid, \*, account_sid) -> TexmlGetCallRecordingsResponseBody #### Recordings Methods: - client.texml.accounts.calls.recordings.recording_sid_json(recording_sid, \*, account_sid, call_sid, \*\*params) -> TexmlCreateCallRecordingResponseBody #### Siprec Types: ```python from telnyx.types.texml.accounts.calls import SiprecSiprecSidJsonResponse ``` Methods: - client.texml.accounts.calls.siprec.siprec_sid_json(siprec_sid, \*, account_sid, call_sid, \*\*params) -> SiprecSiprecSidJsonResponse #### Streams Types: ```python from telnyx.types.texml.accounts.calls import StreamStreamingSidJsonResponse ``` Methods: - client.texml.accounts.calls.streams.streaming_sid_json(streaming_sid, \*, account_sid, call_sid, \*\*params) -> StreamStreamingSidJsonResponse ### Conferences Types: ```python from telnyx.types.texml.accounts import ( ConferenceResource, ConferenceRetrieveConferencesResponse, ConferenceRetrieveRecordingsResponse, ) ``` Methods: - client.texml.accounts.conferences.retrieve(conference_sid, \*, account_sid) -> ConferenceResource - client.texml.accounts.conferences.update(conference_sid, \*, account_sid, \*\*params) -> ConferenceResource - client.texml.accounts.conferences.retrieve_conferences(account_sid, \*\*params) -> ConferenceRetrieveConferencesResponse - client.texml.accounts.conferences.retrieve_recordings(conference_sid, \*, account_sid) -> ConferenceRetrieveRecordingsResponse - client.texml.accounts.conferences.retrieve_recordings_json(conference_sid, \*, account_sid) -> TexmlGetCallRecordingsResponseBody #### Participants Types: ```python from telnyx.types.texml.accounts.conferences import ( ParticipantResource, ParticipantParticipantsResponse, ParticipantRetrieveParticipantsResponse, ) ``` Methods: - client.texml.accounts.conferences.participants.retrieve(call_sid_or_participant_label, \*, account_sid, conference_sid) -> ParticipantResource - client.texml.accounts.conferences.participants.update(call_sid_or_participant_label, \*, account_sid, conference_sid, \*\*params) -> ParticipantResource - client.texml.accounts.conferences.participants.delete(call_sid_or_participant_label, \*, account_sid, conference_sid) -> None - client.texml.accounts.conferences.participants.participants(conference_sid, \*, account_sid, \*\*params) -> ParticipantParticipantsResponse - client.texml.accounts.conferences.participants.retrieve_participants(conference_sid, \*, account_sid) -> ParticipantRetrieveParticipantsResponse ### Recordings #### Json Methods: - client.texml.accounts.recordings.json.delete_recording_sid_json(recording_sid, \*, account_sid) -> None - client.texml.accounts.recordings.json.retrieve_recording_sid_json(recording_sid, \*, account_sid) -> TexmlGetCallRecordingResponseBody ### Transcriptions #### Json Types: ```python from telnyx.types.texml.accounts.transcriptions import TexmlRecordingTranscription ``` Methods: - client.texml.accounts.transcriptions.json.delete_recording_transcription_sid_json(recording_transcription_sid, \*, account_sid) -> None - client.texml.accounts.transcriptions.json.retrieve_recording_transcription_sid_json(recording_transcription_sid, \*, account_sid) -> TexmlRecordingTranscription ### Queues Types: ```python from telnyx.types.texml.accounts import QueueResource ``` Methods: - client.texml.accounts.queues.create(account_sid, \*\*params) -> QueueResource - client.texml.accounts.queues.retrieve(queue_sid, \*, account_sid) -> QueueResource - client.texml.accounts.queues.update(queue_sid, \*, account_sid, \*\*params) -> QueueResource - client.texml.accounts.queues.list(account_sid, \*\*params) -> SyncDefaultPaginationForQueues[QueueResource] - client.texml.accounts.queues.delete(queue_sid, \*, account_sid) -> None # TexmlApplications Types: ```python from telnyx.types import ( TexmlApplication, TexmlApplicationCreateResponse, TexmlApplicationRetrieveResponse, TexmlApplicationUpdateResponse, TexmlApplicationDeleteResponse, ) ``` Methods: - client.texml_applications.create(\*\*params) -> TexmlApplicationCreateResponse - client.texml_applications.retrieve(id) -> TexmlApplicationRetrieveResponse - client.texml_applications.update(id, \*\*params) -> TexmlApplicationUpdateResponse - client.texml_applications.list(\*\*params) -> SyncDefaultFlatPagination[TexmlApplication] - client.texml_applications.delete(id) -> TexmlApplicationDeleteResponse # TextToSpeech Types: ```python from telnyx.types import ( StreamClientEvent, StreamServerEvent, TextToSpeechGenerateSpeechResponse, TextToSpeechListVoicesResponse, ) ``` Methods: - client.text_to_speech.generate_speech(\*\*params) -> TextToSpeechGenerateSpeechResponse - client.text_to_speech.list_voices(\*\*params) -> TextToSpeechListVoicesResponse - client.text_to_speech.retrieve_speech(\*\*params) -> None # UsageReports Types: ```python from telnyx.types import UsageReportListResponse, UsageReportGetOptionsResponse ``` Methods: - client.usage_reports.list(\*\*params) -> SyncDefaultFlatPagination[UsageReportListResponse] - client.usage_reports.get_options(\*\*params) -> UsageReportGetOptionsResponse # UserAddresses Types: ```python from telnyx.types import ( UserAddress, UserAddressesUserAddress, UserAddressCreateResponse, UserAddressRetrieveResponse, ) ``` Methods: - client.user_addresses.create(\*\*params) -> UserAddressCreateResponse - client.user_addresses.retrieve(id) -> UserAddressRetrieveResponse - client.user_addresses.list(\*\*params) -> SyncDefaultFlatPagination[UserAddressesUserAddress] # UserTags Types: ```python from telnyx.types import UserTagListResponse ``` Methods: - client.user_tags.list(\*\*params) -> UserTagListResponse # Verifications Types: ```python from telnyx.types import ( CreateVerificationRequestSMS, CreateVerificationResponse, Verification, VerificationRetrieveResponse, ) ``` Methods: - client.verifications.retrieve(verification_id) -> VerificationRetrieveResponse - client.verifications.trigger_call(\*\*params) -> CreateVerificationResponse - client.verifications.trigger_flashcall(\*\*params) -> CreateVerificationResponse - client.verifications.trigger_sms(\*\*params) -> CreateVerificationResponse - client.verifications.trigger_whatsapp_verification(\*\*params) -> CreateVerificationResponse ## ByPhoneNumber Types: ```python from telnyx.types.verifications import VerifyMeta, ByPhoneNumberListResponse ``` Methods: - client.verifications.by_phone_number.list(phone_number) -> ByPhoneNumberListResponse ### Actions Types: ```python from telnyx.types.verifications.by_phone_number import VerifyVerificationCodeResponse ``` Methods: - client.verifications.by_phone_number.actions.verify(phone_number, \*\*params) -> VerifyVerificationCodeResponse ## Actions Methods: - client.verifications.actions.verify(verification_id, \*\*params) -> VerifyVerificationCodeResponse # VerifiedNumbers Types: ```python from telnyx.types import VerifiedNumber, VerifiedNumberDataWrapper, VerifiedNumberCreateResponse ``` Methods: - client.verified_numbers.create(\*\*params) -> VerifiedNumberCreateResponse - client.verified_numbers.retrieve(phone_number) -> VerifiedNumberDataWrapper - client.verified_numbers.list(\*\*params) -> SyncDefaultFlatPagination[VerifiedNumber] - client.verified_numbers.delete(phone_number) -> VerifiedNumberDataWrapper ## Actions Methods: - client.verified_numbers.actions.submit_verification_code(phone_number, \*\*params) -> VerifiedNumberDataWrapper # VerifyProfiles Types: ```python from telnyx.types import ( MessageTemplate, VerifyProfile, VerifyProfileData, VerifyProfileMessageTemplateResponse, VerifyProfileRetrieveTemplatesResponse, ) ``` Methods: - client.verify_profiles.create(\*\*params) -> VerifyProfileData - client.verify_profiles.retrieve(verify_profile_id) -> VerifyProfileData - client.verify_profiles.update(verify_profile_id, \*\*params) -> VerifyProfileData - client.verify_profiles.list(\*\*params) -> SyncDefaultFlatPagination[VerifyProfile] - client.verify_profiles.delete(verify_profile_id) -> VerifyProfileData - client.verify_profiles.create_template(\*\*params) -> MessageTemplate - client.verify_profiles.retrieve_templates() -> VerifyProfileRetrieveTemplatesResponse - client.verify_profiles.update_template(template_id, \*\*params) -> MessageTemplate # VirtualCrossConnects Types: ```python from telnyx.types import ( RegionOut, VirtualCrossConnectCombined, VirtualCrossConnectCreate, VirtualCrossConnectPatch, VirtualCrossConnectCreateResponse, VirtualCrossConnectRetrieveResponse, VirtualCrossConnectUpdateResponse, VirtualCrossConnectDeleteResponse, ) ``` Methods: - client.virtual_cross_connects.create(\*\*params) -> VirtualCrossConnectCreateResponse - client.virtual_cross_connects.retrieve(id) -> VirtualCrossConnectRetrieveResponse - client.virtual_cross_connects.update(id, \*\*params) -> VirtualCrossConnectUpdateResponse - client.virtual_cross_connects.list(\*\*params) -> SyncDefaultFlatPagination[VirtualCrossConnectCombined] - client.virtual_cross_connects.delete(id) -> VirtualCrossConnectDeleteResponse # VirtualCrossConnectsCoverage Types: ```python from telnyx.types import VirtualCrossConnectsCoverageListResponse ``` Methods: - client.virtual_cross_connects_coverage.list(\*\*params) -> SyncDefaultFlatPagination[VirtualCrossConnectsCoverageListResponse] # WebhookDeliveries Types: ```python from telnyx.types import Attempt, HTTP, WebhookDelivery, WebhookDeliveryRetrieveResponse ``` Methods: - client.webhook_deliveries.retrieve(id) -> WebhookDeliveryRetrieveResponse - client.webhook_deliveries.list(\*\*params) -> SyncDefaultFlatPagination[WebhookDelivery] # WireguardInterfaces Types: ```python from telnyx.types import ( WireguardInterface, WireguardInterfaceRead, WireguardInterfaceCreateResponse, WireguardInterfaceRetrieveResponse, WireguardInterfaceDeleteResponse, ) ``` Methods: - client.wireguard_interfaces.create(\*\*params) -> WireguardInterfaceCreateResponse - client.wireguard_interfaces.retrieve(id) -> WireguardInterfaceRetrieveResponse - client.wireguard_interfaces.list(\*\*params) -> SyncDefaultFlatPagination[WireguardInterfaceRead] - client.wireguard_interfaces.delete(id) -> WireguardInterfaceDeleteResponse # WireguardPeers Types: ```python from telnyx.types import ( WireguardPeer, WireguardPeerPatch, WireguardPeerCreateResponse, WireguardPeerRetrieveResponse, WireguardPeerUpdateResponse, WireguardPeerDeleteResponse, WireguardPeerRetrieveConfigResponse, ) ``` Methods: - client.wireguard_peers.create(\*\*params) -> WireguardPeerCreateResponse - client.wireguard_peers.retrieve(id) -> WireguardPeerRetrieveResponse - client.wireguard_peers.update(id, \*\*params) -> WireguardPeerUpdateResponse - client.wireguard_peers.list(\*\*params) -> SyncDefaultFlatPagination[WireguardPeer] - client.wireguard_peers.delete(id) -> WireguardPeerDeleteResponse - client.wireguard_peers.retrieve_config(id) -> str # Wireless Types: ```python from telnyx.types import WirelessRetrieveRegionsResponse ``` Methods: - client.wireless.retrieve_regions(\*\*params) -> WirelessRetrieveRegionsResponse ## DetailRecordsReports Types: ```python from telnyx.types.wireless import ( WdrReport, DetailRecordsReportCreateResponse, DetailRecordsReportRetrieveResponse, DetailRecordsReportListResponse, DetailRecordsReportDeleteResponse, ) ``` Methods: - client.wireless.detail_records_reports.create(\*\*params) -> DetailRecordsReportCreateResponse - client.wireless.detail_records_reports.retrieve(id) -> DetailRecordsReportRetrieveResponse - client.wireless.detail_records_reports.list(\*\*params) -> DetailRecordsReportListResponse - client.wireless.detail_records_reports.delete(id) -> DetailRecordsReportDeleteResponse # WirelessBlocklistValues Types: ```python from telnyx.types import WirelessBlocklistValueListResponse ``` Methods: - client.wireless_blocklist_values.list(\*\*params) -> WirelessBlocklistValueListResponse # WirelessBlocklists Types: ```python from telnyx.types import ( WirelessBlocklist, WirelessWirelessBlocklist, WirelessBlocklistCreateResponse, WirelessBlocklistRetrieveResponse, WirelessBlocklistUpdateResponse, ) ``` Methods: - client.wireless_blocklists.create(\*\*params) -> WirelessBlocklistCreateResponse - client.wireless_blocklists.retrieve(id) -> WirelessBlocklistRetrieveResponse - client.wireless_blocklists.update(id, \*\*params) -> WirelessBlocklistUpdateResponse - client.wireless_blocklists.list(\*\*params) -> SyncDefaultFlatPagination[WirelessWirelessBlocklist] - client.wireless_blocklists.delete(id) -> None # WellKnown Types: ```python from telnyx.types import ( WellKnownRetrieveAuthorizationServerMetadataResponse, WellKnownRetrieveProtectedResourceMetadataResponse, ) ``` Methods: - client.well_known.retrieve_authorization_server_metadata() -> WellKnownRetrieveAuthorizationServerMetadataResponse - client.well_known.retrieve_protected_resource_metadata() -> WellKnownRetrieveProtectedResourceMetadataResponse # InexplicitNumberOrders Types: ```python from telnyx.types import ( InexplicitNumberOrderResponse, InexplicitNumberOrderCreateResponse, InexplicitNumberOrderRetrieveResponse, ) ``` Methods: - client.inexplicit_number_orders.create(\*\*params) -> InexplicitNumberOrderCreateResponse - client.inexplicit_number_orders.retrieve(id) -> InexplicitNumberOrderRetrieveResponse - client.inexplicit_number_orders.list(\*\*params) -> SyncDefaultFlatPaginationForInexplicitNumberOrders[InexplicitNumberOrderResponse] # MobilePhoneNumbers Types: ```python from telnyx.types import ( MobilePhoneNumber, MobilePhoneNumberRetrieveResponse, MobilePhoneNumberUpdateResponse, ) ``` Methods: - client.mobile_phone_numbers.retrieve(id) -> MobilePhoneNumberRetrieveResponse - client.mobile_phone_numbers.update(id, \*\*params) -> MobilePhoneNumberUpdateResponse - client.mobile_phone_numbers.list(\*\*params) -> SyncDefaultFlatPagination[MobilePhoneNumber] ## Messaging Types: ```python from telnyx.types.mobile_phone_numbers import ( MobilePhoneNumberWithMessagingSettings, MessagingRetrieveResponse, ) ``` Methods: - client.mobile_phone_numbers.messaging.retrieve(id) -> MessagingRetrieveResponse - client.mobile_phone_numbers.messaging.list(\*\*params) -> SyncDefaultFlatPagination[MobilePhoneNumberWithMessagingSettings] # MobileVoiceConnections Types: ```python from telnyx.types import ( MobileVoiceConnection, MobileVoiceConnectionCreateResponse, MobileVoiceConnectionRetrieveResponse, MobileVoiceConnectionUpdateResponse, MobileVoiceConnectionDeleteResponse, ) ``` Methods: - client.mobile_voice_connections.create(\*\*params) -> MobileVoiceConnectionCreateResponse - client.mobile_voice_connections.retrieve(id) -> MobileVoiceConnectionRetrieveResponse - client.mobile_voice_connections.update(id, \*\*params) -> MobileVoiceConnectionUpdateResponse - client.mobile_voice_connections.list(\*\*params) -> SyncDefaultFlatPagination[MobileVoiceConnection] - client.mobile_voice_connections.delete(id) -> MobileVoiceConnectionDeleteResponse # Messaging10dlc Types: ```python from telnyx.types import Messaging10dlcGetEnumResponse ``` Methods: - client.messaging_10dlc.get_enum(endpoint) -> Messaging10dlcGetEnumResponse ## Brand Types: ```python from telnyx.types.messaging_10dlc import ( AltBusinessIDType, BrandIdentityStatus, BrandOptionalAttributes, BrandSMSOtpStatus, EntityType, StockExchange, TelnyxBrand, Vertical, BrandRetrieveResponse, BrandListResponse, BrandGetFeedbackResponse, BrandTriggerSMSOtpResponse, ) ``` Methods: - client.messaging_10dlc.brand.create(\*\*params) -> TelnyxBrand - client.messaging_10dlc.brand.retrieve(brand_id) -> BrandRetrieveResponse - client.messaging_10dlc.brand.update(brand_id, \*\*params) -> TelnyxBrand - client.messaging_10dlc.brand.list(\*\*params) -> SyncPerPagePaginationV2[BrandListResponse] - client.messaging_10dlc.brand.delete(brand_id) -> None - client.messaging_10dlc.brand.get_feedback(brand_id) -> BrandGetFeedbackResponse - client.messaging_10dlc.brand.get_sms_otp_by_reference(reference_id, \*\*params) -> BrandSMSOtpStatus - client.messaging_10dlc.brand.resend_2fa_email(brand_id) -> None - client.messaging_10dlc.brand.retrieve_sms_otp_status(brand_id) -> BrandSMSOtpStatus - client.messaging_10dlc.brand.revet(brand_id) -> TelnyxBrand - client.messaging_10dlc.brand.trigger_sms_otp(brand_id, \*\*params) -> BrandTriggerSMSOtpResponse - client.messaging_10dlc.brand.verify_sms_otp(brand_id, \*\*params) -> None ### ExternalVetting Types: ```python from telnyx.types.messaging_10dlc.brand import ExternalVetting, ExternalVettingListResponse ``` Methods: - client.messaging_10dlc.brand.external_vetting.list(brand_id) -> ExternalVettingListResponse - client.messaging_10dlc.brand.external_vetting.imports(brand_id, \*\*params) -> ExternalVetting - client.messaging_10dlc.brand.external_vetting.order(brand_id, \*\*params) -> ExternalVetting ## Campaign Types: ```python from telnyx.types.messaging_10dlc import ( CampaignSharingStatus, TelnyxCampaignCsp, CampaignListResponse, CampaignAcceptSharingResponse, CampaignDeactivateResponse, CampaignGetMnoMetadataResponse, CampaignGetOperationStatusResponse, CampaignGetSharingStatusResponse, CampaignSubmitAppealResponse, ) ``` Methods: - client.messaging_10dlc.campaign.retrieve(campaign_id) -> TelnyxCampaignCsp - client.messaging_10dlc.campaign.update(campaign_id, \*\*params) -> TelnyxCampaignCsp - client.messaging_10dlc.campaign.list(\*\*params) -> SyncPerPagePaginationV2[CampaignListResponse] - client.messaging_10dlc.campaign.accept_sharing(campaign_id) -> CampaignAcceptSharingResponse - client.messaging_10dlc.campaign.deactivate(campaign_id) -> CampaignDeactivateResponse - client.messaging_10dlc.campaign.get_mno_metadata(campaign_id) -> CampaignGetMnoMetadataResponse - client.messaging_10dlc.campaign.get_operation_status(campaign_id) -> CampaignGetOperationStatusResponse - client.messaging_10dlc.campaign.get_sharing_status(campaign_id) -> CampaignGetSharingStatusResponse - client.messaging_10dlc.campaign.submit_appeal(campaign_id, \*\*params) -> CampaignSubmitAppealResponse ### Usecase Types: ```python from telnyx.types.messaging_10dlc.campaign import UsecaseGetCostResponse ``` Methods: - client.messaging_10dlc.campaign.usecase.get_cost(\*\*params) -> UsecaseGetCostResponse ### Osr Types: ```python from telnyx.types.messaging_10dlc.campaign import OsrGetAttributesResponse ``` Methods: - client.messaging_10dlc.campaign.osr.get_attributes(campaign_id) -> OsrGetAttributesResponse ## CampaignBuilder Methods: - client.messaging_10dlc.campaign_builder.submit(\*\*params) -> TelnyxCampaignCsp ### Brand Types: ```python from telnyx.types.messaging_10dlc.campaign_builder import BrandQualifyByUsecaseResponse ``` Methods: - client.messaging_10dlc.campaign_builder.brand.qualify_by_usecase(usecase, \*, brand_id) -> BrandQualifyByUsecaseResponse ## PartnerCampaigns Types: ```python from telnyx.types.messaging_10dlc import ( TelnyxDownstreamCampaign, PartnerCampaignListSharedByMeResponse, PartnerCampaignRetrieveSharingStatusResponse, ) ``` Methods: - client.messaging_10dlc.partner_campaigns.retrieve(campaign_id) -> TelnyxDownstreamCampaign - client.messaging_10dlc.partner_campaigns.update(campaign_id, \*\*params) -> TelnyxDownstreamCampaign - client.messaging_10dlc.partner_campaigns.list(\*\*params) -> SyncPerPagePaginationV2[TelnyxDownstreamCampaign] - client.messaging_10dlc.partner_campaigns.list_shared_by_me(\*\*params) -> SyncPerPagePaginationV2[PartnerCampaignListSharedByMeResponse] - client.messaging_10dlc.partner_campaigns.retrieve_sharing_status(campaign_id) -> PartnerCampaignRetrieveSharingStatusResponse ## PhoneNumberCampaigns Types: ```python from telnyx.types.messaging_10dlc import PhoneNumberCampaign, PhoneNumberCampaignCreate ``` Methods: - client.messaging_10dlc.phone_number_campaigns.create(\*\*params) -> PhoneNumberCampaign - client.messaging_10dlc.phone_number_campaigns.retrieve(phone_number) -> PhoneNumberCampaign - client.messaging_10dlc.phone_number_campaigns.update(campaign_phone_number, \*\*params) -> PhoneNumberCampaign - client.messaging_10dlc.phone_number_campaigns.list(\*\*params) -> SyncPerPagePaginationV2[PhoneNumberCampaign] - client.messaging_10dlc.phone_number_campaigns.delete(phone_number) -> PhoneNumberCampaign ## PhoneNumberAssignmentByProfile Types: ```python from telnyx.types.messaging_10dlc import ( ProfileAssignmentPhoneNumbers, TaskStatus, PhoneNumberAssignmentByProfileAssignResponse, PhoneNumberAssignmentByProfileListPhoneNumberStatusResponse, PhoneNumberAssignmentByProfileRetrievePhoneNumberStatusResponse, PhoneNumberAssignmentByProfileRetrieveStatusResponse, ) ``` Methods: - client.messaging_10dlc.phone_number_assignment_by_profile.assign(\*\*params) -> PhoneNumberAssignmentByProfileAssignResponse - client.messaging_10dlc.phone_number_assignment_by_profile.list_phone_number_status(task_id, \*\*params) -> PhoneNumberAssignmentByProfileListPhoneNumberStatusResponse - client.messaging_10dlc.phone_number_assignment_by_profile.retrieve_phone_number_status(task_id, \*\*params) -> PhoneNumberAssignmentByProfileRetrievePhoneNumberStatusResponse - client.messaging_10dlc.phone_number_assignment_by_profile.retrieve_status(task_id) -> PhoneNumberAssignmentByProfileRetrieveStatusResponse # Organizations ## Users Types: ```python from telnyx.types.organizations import ( OrganizationUser, UserGroupReference, UserRetrieveResponse, UserGetGroupsReportResponse, ) ``` Methods: - client.organizations.users.retrieve(id, \*\*params) -> UserRetrieveResponse - client.organizations.users.list(\*\*params) -> SyncDefaultFlatPagination[OrganizationUser] - client.organizations.users.get_groups_report() -> UserGetGroupsReportResponse ### Actions Types: ```python from telnyx.types.organizations.users import ActionRemoveResponse ``` Methods: - client.organizations.users.actions.remove(id) -> ActionRemoveResponse # AlphanumericSenderIDs Types: ```python from telnyx.types import ( AlphanumericSenderID, MessagingPaginationMeta0b38e7044b, AlphanumericSenderIDCreateResponse, AlphanumericSenderIDRetrieveResponse, AlphanumericSenderIDDeleteResponse, ) ``` Methods: - client.alphanumeric_sender_ids.create(\*\*params) -> AlphanumericSenderIDCreateResponse - client.alphanumeric_sender_ids.retrieve(id) -> AlphanumericSenderIDRetrieveResponse - client.alphanumeric_sender_ids.list(\*\*params) -> SyncDefaultFlatPagination[AlphanumericSenderID] - client.alphanumeric_sender_ids.delete(id) -> AlphanumericSenderIDDeleteResponse # MessagingProfileMetrics Types: ```python from telnyx.types import MessagingMetricsTimeFrame, MessagingProfileMetricListResponse ``` Methods: - client.messaging_profile_metrics.list(\*\*params) -> MessagingProfileMetricListResponse # SessionAnalysis Types: ```python from telnyx.types import EventNode, SessionAnalysisRetrieveResponse ``` Methods: - client.session_analysis.retrieve(event_id, \*, record_type, \*\*params) -> SessionAnalysisRetrieveResponse ## Metadata Types: ```python from telnyx.types.session_analysis import ( ChildRelationshipInfo, MetadataFieldMapping, ParentRelationshipInfo, MetadataRetrieveResponse, MetadataRetrieveRecordTypeResponse, ) ``` Methods: - client.session_analysis.metadata.retrieve() -> MetadataRetrieveResponse - client.session_analysis.metadata.retrieve_record_type(record_type) -> MetadataRetrieveRecordTypeResponse # Whatsapp ## BusinessAccounts Types: ```python from telnyx.types.whatsapp import BusinessAccountRetrieveResponse, BusinessAccountListResponse ``` Methods: - client.whatsapp.business_accounts.retrieve(id) -> BusinessAccountRetrieveResponse - client.whatsapp.business_accounts.list(\*\*params) -> SyncDefaultFlatPagination[BusinessAccountListResponse] - client.whatsapp.business_accounts.delete(id) -> None ### PhoneNumbers Methods: - client.whatsapp.business_accounts.phone_numbers.list(id, \*\*params) -> SyncDefaultFlatPagination[WhatsappPhoneResponse] - client.whatsapp.business_accounts.phone_numbers.initialize_verification(id, \*\*params) -> None ### Settings Types: ```python from telnyx.types.whatsapp.business_accounts import ( WabaSettings, SettingRetrieveResponse, SettingUpdateResponse, ) ``` Methods: - client.whatsapp.business_accounts.settings.retrieve(id) -> SettingRetrieveResponse - client.whatsapp.business_accounts.settings.update(id, \*\*params) -> SettingUpdateResponse ## Templates Types: ```python from telnyx.types.whatsapp import ( WhatsappTemplateBodyComponent, WhatsappTemplateButtonsComponent, WhatsappTemplateCarouselComponent, WhatsappTemplateFooterComponent, WhatsappTemplateHeaderComponent, TemplateCreateResponse, ) ``` Methods: - client.whatsapp.templates.create(\*\*params) -> TemplateCreateResponse - client.whatsapp.templates.list(\*\*params) -> SyncDefaultFlatPagination[WhatsappTemplateData] ## PhoneNumbers Types: ```python from telnyx.types.whatsapp import ( WhatsappPhoneResponse, PhoneNumberGetResponse, PhoneNumberRetrieveConversationWindowResponse, PhoneNumberRetrievePhoneNumberResponse, ) ``` Methods: - client.whatsapp.phone_numbers.list(\*\*params) -> SyncDefaultFlatPagination[WhatsappPhoneResponse] - client.whatsapp.phone_numbers.delete(phone_number) -> None - client.whatsapp.phone_numbers.get(\*\*params) -> PhoneNumberGetResponse - client.whatsapp.phone_numbers.resend_verification(phone_number, \*\*params) -> None - client.whatsapp.phone_numbers.retrieve_conversation_window(phone_number, \*\*params) -> PhoneNumberRetrieveConversationWindowResponse - client.whatsapp.phone_numbers.retrieve_phone_number(phone_number) -> PhoneNumberRetrievePhoneNumberResponse - client.whatsapp.phone_numbers.verify(phone_number, \*\*params) -> None ### CallingSettings Types: ```python from telnyx.types.whatsapp.phone_numbers import ( WhatsappCallingSettingsData, CallingSettingRetrieveResponse, CallingSettingUpdateResponse, ) ``` Methods: - client.whatsapp.phone_numbers.calling_settings.retrieve(phone_number) -> CallingSettingRetrieveResponse - client.whatsapp.phone_numbers.calling_settings.update(phone_number, \*\*params) -> CallingSettingUpdateResponse ### Profile Types: ```python from telnyx.types.whatsapp.phone_numbers import ( WhatsappProfileData, ProfileRetrieveResponse, ProfileUpdateResponse, ) ``` Methods: - client.whatsapp.phone_numbers.profile.retrieve(phone_number) -> ProfileRetrieveResponse - client.whatsapp.phone_numbers.profile.update(phone_number, \*\*params) -> ProfileUpdateResponse #### Photo Types: ```python from telnyx.types.whatsapp.phone_numbers.profile import PhotoRetrieveResponse, PhotoUploadResponse ``` Methods: - client.whatsapp.phone_numbers.profile.photo.retrieve(phone_number) -> PhotoRetrieveResponse - client.whatsapp.phone_numbers.profile.photo.delete(phone_number) -> None - client.whatsapp.phone_numbers.profile.photo.upload(phone_number, \*\*params) -> PhotoUploadResponse ### ConversationalComponents Types: ```python from telnyx.types.whatsapp.phone_numbers import ( WhatsappConversationalComponent, ConversationalComponentListResponse, ConversationalComponentPatchAllResponse, ) ``` Methods: - client.whatsapp.phone_numbers.conversational_components.list(phone_number) -> ConversationalComponentListResponse - client.whatsapp.phone_numbers.conversational_components.patch_all(phone_number, \*\*params) -> ConversationalComponentPatchAllResponse ### CallingRouting Types: ```python from telnyx.types.whatsapp.phone_numbers import ( WhatsappCallingRoutingData, CallingRoutingListResponse, CallingRoutingPatchAllResponse, ) ``` Methods: - client.whatsapp.phone_numbers.calling_routing.list(id) -> CallingRoutingListResponse - client.whatsapp.phone_numbers.calling_routing.patch_all(id, \*\*params) -> CallingRoutingPatchAllResponse ## UserData Types: ```python from telnyx.types.whatsapp import WhatsappUserData, UserDataRetrieveResponse, UserDataUpdateResponse ``` Methods: - client.whatsapp.user_data.retrieve() -> UserDataRetrieveResponse - client.whatsapp.user_data.update(\*\*params) -> UserDataUpdateResponse ## Signup Types: ```python from telnyx.types.whatsapp import SignupListResponse, SignupRetrieveStatusResponse ``` Methods: - client.whatsapp.signup.list(\*\*params) -> SyncDefaultFlatPagination[SignupListResponse] - client.whatsapp.signup.retrieve_status(id) -> SignupRetrieveStatusResponse ## HostedSignups Types: ```python from telnyx.types.whatsapp import ( WhatsappHostedSignup, HostedSignupCreateResponse, HostedSignupRetrieveResponse, ) ``` Methods: - client.whatsapp.hosted_signups.create(\*\*params) -> HostedSignupCreateResponse - client.whatsapp.hosted_signups.retrieve(id) -> HostedSignupRetrieveResponse - client.whatsapp.hosted_signups.list(\*\*params) -> SyncDefaultFlatPagination[WhatsappHostedSignup] # WhatsappMessageTemplates Types: ```python from telnyx.types import ( WhatsappMessageTemplateRetrieveResponse, WhatsappMessageTemplateUpdateResponse, ) ``` Methods: - client.whatsapp_message_templates.retrieve(id) -> WhatsappMessageTemplateRetrieveResponse - client.whatsapp_message_templates.update(id, \*\*params) -> WhatsappMessageTemplateUpdateResponse - client.whatsapp_message_templates.delete(id) -> None # X402 ## CreditAccount Types: ```python from telnyx.types.x402 import CreditAccountCreateQuoteResponse, CreditAccountSettleResponse ``` Methods: - client.x402.credit_account.create_quote(\*\*params) -> CreditAccountCreateQuoteResponse - client.x402.credit_account.settle(\*\*params) -> CreditAccountSettleResponse ### Payments Types: ```python from telnyx.types.x402.credit_account import X402TransactionRecord, PaymentRetrieveResponse ``` Methods: - client.x402.credit_account.payments.retrieve(id) -> PaymentRetrieveResponse - client.x402.credit_account.payments.list(\*\*params) -> SyncDefaultFlatPagination[X402TransactionRecord] # VoiceClones Types: ```python from telnyx.types import VoiceCloneData, VoiceCloneResponse, VoiceDesignsPaginationMeta ``` Methods: - client.voice_clones.create(\*\*params) -> VoiceCloneResponse - client.voice_clones.update(id, \*\*params) -> VoiceCloneResponse - client.voice_clones.list(\*\*params) -> SyncDefaultFlatPagination[VoiceCloneData] - client.voice_clones.delete(id) -> None - client.voice_clones.create_from_upload(\*\*params) -> VoiceCloneResponse - client.voice_clones.download_sample(id) -> BinaryAPIResponse # VoiceDesigns Types: ```python from telnyx.types import ( VoiceDesignData, VoiceDesignResponse, VoiceDesignSummaryData, VoiceDesignRenameResponse, ) ``` Methods: - client.voice_designs.create(\*\*params) -> VoiceDesignResponse - client.voice_designs.retrieve(id, \*\*params) -> VoiceDesignResponse - client.voice_designs.list(\*\*params) -> SyncDefaultFlatPagination[VoiceDesignSummaryData] - client.voice_designs.delete(id) -> None - client.voice_designs.delete_version(version, \*, id) -> None - client.voice_designs.download_sample(id, \*\*params) -> BinaryAPIResponse - client.voice_designs.rename(id, \*\*params) -> VoiceDesignRenameResponse # TrafficPolicyProfiles Types: ```python from telnyx.types import ( TrafficPolicyProfile, TrafficPolicyProfileCreateResponse, TrafficPolicyProfileRetrieveResponse, TrafficPolicyProfileUpdateResponse, TrafficPolicyProfileDeleteResponse, TrafficPolicyProfileListServicesResponse, ) ``` Methods: - client.traffic_policy_profiles.create(\*\*params) -> TrafficPolicyProfileCreateResponse - client.traffic_policy_profiles.retrieve(id) -> TrafficPolicyProfileRetrieveResponse - client.traffic_policy_profiles.update(id, \*\*params) -> TrafficPolicyProfileUpdateResponse - client.traffic_policy_profiles.list(\*\*params) -> SyncDefaultFlatPagination[TrafficPolicyProfile] - client.traffic_policy_profiles.delete(id) -> TrafficPolicyProfileDeleteResponse - client.traffic_policy_profiles.list_services(\*\*params) -> SyncDefaultFlatPagination[TrafficPolicyProfileListServicesResponse] # Enterprises Types: ```python from telnyx.types import ( BillingContact, EnterprisePublic, EnterprisePublicWrapped, NumberReputationPaginationMeta, OrganizationContact, PhysicalAddress, ) ``` Methods: - client.enterprises.create(\*\*params) -> EnterprisePublicWrapped - client.enterprises.retrieve(enterprise_id) -> EnterprisePublicWrapped - client.enterprises.update(enterprise_id, \*\*params) -> EnterprisePublicWrapped - client.enterprises.list(\*\*params) -> SyncDefaultFlatPagination[EnterprisePublic] - client.enterprises.delete(enterprise_id) -> None - client.enterprises.branded_calling(enterprise_id) -> EnterprisePublicWrapped ## Reputation Types: ```python from telnyx.types.enterprises import ( EnterpriseReputationPublic, EnterpriseReputationPublicWrapped, ReputationCheckFrequency, ) ``` Methods: - client.enterprises.reputation.retrieve(enterprise_id) -> EnterpriseReputationPublicWrapped - client.enterprises.reputation.disable(enterprise_id) -> None - client.enterprises.reputation.enable(enterprise_id, \*\*params) -> EnterpriseReputationPublicWrapped - client.enterprises.reputation.update_frequency(enterprise_id, \*\*params) -> EnterpriseReputationPublicWrapped - client.enterprises.reputation.update_webhook(enterprise_id, \*\*params) -> EnterpriseReputationPublicWrapped ### Numbers Types: ```python from telnyx.types.enterprises.reputation import ( ReputationNumberSource, ReputationOwnershipStatus, ReputationPhoneNumber, ReputationPhoneNumberList, ReputationPhoneNumberListWithReputation, ReputationPhoneNumberWithReputation, NumberRefreshResponse, NumberRetrieveOwnershipResponse, ) ``` Methods: - client.enterprises.reputation.numbers.retrieve(phone_number, \*, enterprise_id, \*\*params) -> ReputationPhoneNumberWithReputation - client.enterprises.reputation.numbers.list(enterprise_id, \*\*params) -> SyncDefaultFlatPagination[ReputationPhoneNumber] - client.enterprises.reputation.numbers.associate(enterprise_id, \*\*params) -> ReputationPhoneNumberList - client.enterprises.reputation.numbers.disassociate(phone_number, \*, enterprise_id) -> None - client.enterprises.reputation.numbers.ownership_confirm(phone_number, \*, enterprise_id, \*\*params) -> ReputationPhoneNumberWithReputation - client.enterprises.reputation.numbers.refresh(enterprise_id, \*\*params) -> NumberRefreshResponse - client.enterprises.reputation.numbers.retrieve_ownership(phone_number, \*, enterprise_id) -> NumberRetrieveOwnershipResponse ### Loa Types: ```python from telnyx.types.enterprises.reputation import AgentInput ``` Methods: - client.enterprises.reputation.loa.update(enterprise_id, \*\*params) -> EnterpriseReputationPublicWrapped - client.enterprises.reputation.loa.render(enterprise_id, \*\*params) -> BinaryAPIResponse ### Remediation Types: ```python from telnyx.types.enterprises.reputation import ( RemediationPerNumberResults, RemediationRequest, RemediationRequestWrapped, RemediationStatus, RemediationListResponse, ) ``` Methods: - client.enterprises.reputation.remediation.create(enterprise_id, \*\*params) -> RemediationRequestWrapped - client.enterprises.reputation.remediation.retrieve(remediation_id, \*, enterprise_id) -> RemediationRequestWrapped - client.enterprises.reputation.remediation.list(enterprise_id, \*\*params) -> SyncDefaultFlatPagination[RemediationListResponse] ### ExternalVerification Types: ```python from telnyx.types.enterprises.reputation import ( ExternalVerification, ExternalVerificationStatus, ExternalVerificationWrapped, ) ``` Methods: - client.enterprises.reputation.external_verification.create(enterprise_id, \*\*params) -> ExternalVerificationWrapped - client.enterprises.reputation.external_verification.list(enterprise_id) -> ExternalVerificationWrapped ## Dir Methods: - client.enterprises.dir.create(enterprise_id, \*\*params) -> DirWrapped - client.enterprises.dir.list(enterprise_id, \*\*params) -> SyncDefaultFlatPagination[Dir] ## VerifyEmail Types: ```python from telnyx.types.enterprises import ( EnterpriseEmailVerificationStatus, EnterpriseEmailVerificationStatusWrapped, ) ``` Methods: - client.enterprises.verify_email.create(enterprise_id) -> EnterpriseEmailVerificationStatusWrapped - client.enterprises.verify_email.confirm(enterprise_id, \*\*params) -> EnterpriseEmailVerificationStatusWrapped # Reputation ## Numbers Methods: - client.reputation.numbers.retrieve(phone_number, \*\*params) -> ReputationPhoneNumberWithReputation - client.reputation.numbers.list(\*\*params) -> SyncDefaultFlatPagination[ReputationPhoneNumber] - client.reputation.numbers.delete(phone_number) -> None # TermsOfService Types: ```python from telnyx.types import TermsOfServiceRetrieveInfoResponse, TermsOfServiceRetrieveStatusResponse ``` Methods: - client.terms_of_service.retrieve_info(\*\*params) -> TermsOfServiceRetrieveInfoResponse - client.terms_of_service.retrieve_status(\*\*params) -> TermsOfServiceRetrieveStatusResponse ## NumberReputation Methods: - client.terms_of_service.number_reputation.agree() -> TosAgreementWrapped ## Agreements Types: ```python from telnyx.types.terms_of_service import TosAgreement, TosAgreementWrapped, TosProductType ``` Methods: - client.terms_of_service.agreements.retrieve(agreement_id) -> TosAgreementWrapped - client.terms_of_service.agreements.list(\*\*params) -> SyncDefaultFlatPagination[TosAgreement] ## BrandedCalling Methods: - client.terms_of_service.branded_calling.agree() -> TosAgreementWrapped # PronunciationDicts Types: ```python from telnyx.types import ( PronunciationDictAliasItem, PronunciationDictData, PronunciationDictItem, PronunciationDictPhonemeItem, PronunciationDictResponse, ) ``` Methods: - client.pronunciation_dicts.create(\*\*params) -> PronunciationDictResponse - client.pronunciation_dicts.retrieve(id) -> PronunciationDictResponse - client.pronunciation_dicts.update(id, \*\*params) -> PronunciationDictResponse - client.pronunciation_dicts.list(\*\*params) -> SyncDefaultFlatPagination[PronunciationDictData] - client.pronunciation_dicts.delete(id) -> None # UacConnections Types: ```python from telnyx.types import ( UacConnection, UacExternalSettings, UacInbound, UacInboundRequest, UacInternalSettings, UacOutbound, UacConnectionCreateResponse, UacConnectionRetrieveResponse, UacConnectionUpdateResponse, UacConnectionDeleteResponse, ) ``` Methods: - client.uac_connections.create(\*\*params) -> UacConnectionCreateResponse - client.uac_connections.retrieve(id) -> UacConnectionRetrieveResponse - client.uac_connections.update(id, \*\*params) -> UacConnectionUpdateResponse - client.uac_connections.list(\*\*params) -> SyncDefaultFlatPagination[UacConnection] - client.uac_connections.delete(id) -> UacConnectionDeleteResponse ## Actions Types: ```python from telnyx.types.uac_connections import ActionCheckRegistrationStatusResponse ``` Methods: - client.uac_connections.actions.check_registration_status(id) -> ActionCheckRegistrationStatusResponse # VoiceSDKCallReports Types: ```python from telnyx.types import ( VoiceSDKCallReport, VoiceSDKCallReportLogEntry, VoiceSDKCallReportRetrieveResponse, ) ``` Methods: - client.voice_sdk_call_reports.retrieve(call_id) -> VoiceSDKCallReportRetrieveResponse - client.voice_sdk_call_reports.list(\*\*params) -> SyncDefaultFlatPagination[VoiceSDKCallReport] # CallReasons Types: ```python from telnyx.types import ( BrandedCallingPaginationMeta, CallReasonListResponse, CallReasonValidateResponse, ) ``` Methods: - client.call_reasons.list(\*\*params) -> SyncDefaultFlatPagination[CallReasonListResponse] - client.call_reasons.validate(\*\*params) -> CallReasonValidateResponse # Dir Types: ```python from telnyx.types import ( BpoAuthorizationInput, Dir, DirList, DirStatus, DirWrapped, Document, SignaturePayload, DirDeleteResponse, DirListDocumentTypesResponse, DirRetrieveBpoAuthorizationsResponse, ) ``` Methods: - client.dir.retrieve(dir_id) -> DirWrapped - client.dir.update(dir_id, \*\*params) -> DirWrapped - client.dir.list(\*\*params) -> SyncDefaultFlatPagination[Dir] - client.dir.delete(dir_id) -> DirDeleteResponse - client.dir.bpo_loa(dir_id, \*\*params) -> BinaryAPIResponse - client.dir.list_document_types() -> DirListDocumentTypesResponse - client.dir.list_infringement_claims(dir_id, \*\*params) -> SyncDefaultFlatPagination[InfringementClaim] - client.dir.new_loa(dir_id, \*\*params) -> BinaryAPIResponse - client.dir.retrieve_bpo_authorizations(dir_id, \*\*params) -> DirRetrieveBpoAuthorizationsResponse - client.dir.submit(dir_id) -> DirWrapped - client.dir.update_infringement(dir_id, \*\*params) -> DirWrapped ## Comments Types: ```python from telnyx.types.dir import CommentType, DirComment, CommentCreateResponse ``` Methods: - client.dir.comments.create(dir_id, \*\*params) -> CommentCreateResponse - client.dir.comments.list(dir_id, \*\*params) -> SyncDefaultFlatPagination[DirComment] ## PhoneNumberBatches Types: ```python from telnyx.types.dir import ( DirPhoneNumberStatus, PhoneNumberBatch, PhoneNumberBatchRetrieveResponse, ) ``` Methods: - client.dir.phone_number_batches.retrieve(batch_id, \*, dir_id) -> PhoneNumberBatchRetrieveResponse - client.dir.phone_number_batches.list(dir_id, \*\*params) -> SyncDefaultFlatPagination[PhoneNumberBatch] ## PhoneNumbers Types: ```python from telnyx.types.dir import ( DirPhoneNumber, RejectionReason, PhoneNumberAddResponse, PhoneNumberRemoveResponse, ) ``` Methods: - client.dir.phone_numbers.list(dir_id, \*\*params) -> SyncDefaultFlatPagination[DirPhoneNumber] - client.dir.phone_numbers.add(dir_id, \*\*params) -> PhoneNumberAddResponse - client.dir.phone_numbers.remove(dir_id, \*\*params) -> PhoneNumberRemoveResponse ## References Types: ```python from telnyx.types.dir import Reference, ReferenceInput, ReferenceList, ReferenceUpdateResponse ``` Methods: - client.dir.references.create(dir_id, \*\*params) -> ReferenceList - client.dir.references.update(slot, \*, dir_id, ref_type, \*\*params) -> ReferenceUpdateResponse - client.dir.references.list(dir_id) -> ReferenceList ## VerifyEmail Types: ```python from telnyx.types.dir import EmailVerificationStatus, EmailVerificationStatusWrapped ``` Methods: - client.dir.verify_email.create(dir_id) -> EmailVerificationStatusWrapped - client.dir.verify_email.list(dir_id) -> EmailVerificationStatusWrapped - client.dir.verify_email.confirm(dir_id, \*\*params) -> EmailVerificationStatusWrapped # InfringementClaims Types: ```python from telnyx.types import InfringementClaim, InfringementClaimWrapped ``` Methods: - client.infringement_claims.retrieve(claim_id) -> InfringementClaimWrapped - client.infringement_claims.contest(claim_id, \*\*params) -> InfringementClaimWrapped # EmailBlocks Types: ```python from telnyx.types import ( EmailBlock, EmailBlockResponse, OffsetMeta, EmailBlockRetrieveEventsResponse, EmailBlockRetrieveExportResponse, ) ``` Methods: - client.email_blocks.create(\*\*params) -> EmailBlockResponse - client.email_blocks.retrieve(id) -> EmailBlockResponse - client.email_blocks.list(\*\*params) -> SyncDefaultFlatPagination[EmailBlock] - client.email_blocks.delete(id) -> EmailBlockResponse - client.email_blocks.retrieve_events(id, \*\*params) -> SyncDefaultFlatPagination[EmailBlockRetrieveEventsResponse] - client.email_blocks.retrieve_export(\*\*params) -> str ## Imports Types: ```python from telnyx.types.email_blocks import EmailBlockImport, EmailBlockImportResponse ``` Methods: - client.email_blocks.imports.create(\*\*params) -> EmailBlockImportResponse - client.email_blocks.imports.retrieve(id) -> EmailBlockImportResponse # EmailDomains Types: ```python from telnyx.types import ( DNSRecord, DomainsTrackingSettings, EmailDmarcPolicy, EmailDomain, EmailDomainResponse, EmailDomainStatus, EmailDomainType, EmailDomainVerification, EmailDomainRetrieveDNSRecordsResponse, EmailDomainRetrieveHealthResponse, EmailDomainRotateDkimResponse, ) ``` Methods: - client.email_domains.create(\*\*params) -> EmailDomainResponse - client.email_domains.retrieve(id) -> EmailDomainResponse - client.email_domains.update(id, \*\*params) -> EmailDomainResponse - client.email_domains.list(\*\*params) -> SyncDefaultFlatPagination[EmailDomain] - client.email_domains.delete(id, \*\*params) -> EmailDomainResponse - client.email_domains.retrieve_dns_records(domain_id) -> EmailDomainRetrieveDNSRecordsResponse - client.email_domains.retrieve_health(id) -> EmailDomainRetrieveHealthResponse - client.email_domains.rotate_dkim(domain_id) -> EmailDomainRotateDkimResponse - client.email_domains.verify(domain_id) -> EmailDomainResponse ## Webhooks Types: ```python from telnyx.types.email_domains import ( EmailWebhook, EmailWebhookEvent, EmailWebhookResponse, OffsetPaginationMeta, ) ``` Methods: - client.email_domains.webhooks.create(domain_id, \*\*params) -> EmailWebhookResponse - client.email_domains.webhooks.retrieve(id, \*, domain_id) -> EmailWebhookResponse - client.email_domains.webhooks.update(id, \*, domain_id, \*\*params) -> EmailWebhookResponse - client.email_domains.webhooks.list(domain_id, \*\*params) -> SyncDefaultFlatPagination[EmailWebhook] - client.email_domains.webhooks.delete(id, \*, domain_id) -> EmailWebhookResponse # EmailEvents Types: ```python from telnyx.types import ( EmailEventType, EmailWebhookRecipient, TimeRange, EmailEventListResponse, EmailEventRetrieveStatsResponse, ) ``` Methods: - client.email_events.list(\*\*params) -> SyncEmailEventsCursorPagination[EmailEventListResponse] - client.email_events.retrieve_stats(\*\*params) -> EmailEventRetrieveStatsResponse # EmailInboxes Types: ```python from telnyx.types import EmailInbox, EmailInboxResponse ``` Methods: - client.email_inboxes.create(\*\*params) -> EmailInboxResponse - client.email_inboxes.retrieve(id) -> EmailInboxResponse - client.email_inboxes.list(\*\*params) -> SyncEmailCursorPagination[EmailInbox] - client.email_inboxes.delete(id) -> None ## Drafts Types: ```python from telnyx.types.email_inboxes import ( EmailAddress, EmailDraft, EmailDraftRequest, EmailDraftResponse, EmailMessage, EmailMessageResponse, ) ``` Methods: - client.email_inboxes.drafts.create(inbox_id, \*\*params) -> EmailDraftResponse - client.email_inboxes.drafts.retrieve(draft_id, \*, inbox_id) -> EmailDraftResponse - client.email_inboxes.drafts.update(draft_id, \*, inbox_id, \*\*params) -> EmailDraftResponse - client.email_inboxes.drafts.list(inbox_id, \*\*params) -> SyncEmailBracketCursorPagination[EmailDraft] - client.email_inboxes.drafts.delete(draft_id, \*, inbox_id) -> None - client.email_inboxes.drafts.patch(draft_id, \*, inbox_id, \*\*params) -> EmailDraftResponse - client.email_inboxes.drafts.send(draft_id, \*, inbox_id) -> EmailMessageResponse ## Filters Types: ```python from telnyx.types.email_inboxes import ( InboxFilters, MutateInboxFiltersRequest, FilterListResponse, FilterAddResponse, FilterDeleteAllResponse, FilterReplaceResponse, ) ``` Methods: - client.email_inboxes.filters.list(inbox_id) -> FilterListResponse - client.email_inboxes.filters.add(inbox_id, \*\*params) -> FilterAddResponse - client.email_inboxes.filters.delete_all(inbox_id, \*\*params) -> FilterDeleteAllResponse - client.email_inboxes.filters.replace(inbox_id, \*\*params) -> FilterReplaceResponse ## Messages Types: ```python from telnyx.types.email_inboxes import MessageUpdateResponse ``` Methods: - client.email_inboxes.messages.update(message_id, \*, inbox_id, \*\*params) -> MessageUpdateResponse - client.email_inboxes.messages.list(inbox_id, \*\*params) -> SyncEmailBracketCursorPagination[InboundMessage] - client.email_inboxes.messages.drafts(message_id, \*, inbox_id, \*\*params) -> EmailDraftResponse ### Actions Types: ```python from telnyx.types.email_inboxes.messages import ( InboxActionEmailAddressInput, InboxActionRecipientInput, ReplyEmailInboxMessageRequest, ) ``` Methods: - client.email_inboxes.messages.actions.forward(message_id, \*, inbox_id, \*\*params) -> EmailMessageResponse - client.email_inboxes.messages.actions.reply(message_id, \*, inbox_id, \*\*params) -> EmailMessageResponse - client.email_inboxes.messages.actions.reply_all(message_id, \*, inbox_id, \*\*params) -> EmailMessageResponse ### Labels Types: ```python from telnyx.types.email_inboxes.messages import ( LabelMutationRequest, LabelCreateResponse, LabelDeleteAllResponse, ) ``` Methods: - client.email_inboxes.messages.labels.create(message_id, \*, inbox_id, \*\*params) -> LabelCreateResponse - client.email_inboxes.messages.labels.delete_all(message_id, \*, inbox_id, \*\*params) -> LabelDeleteAllResponse ## Threads Types: ```python from telnyx.types.email_inboxes import ( EmailPaginationMeta, InboundEmailAddress, InboundThread, InboundThreadDetail, InboundThreadListResponse, ThreadMessage, ThreadRetrieveResponse, ) ``` Methods: - client.email_inboxes.threads.retrieve(thread_id, \*, inbox_id, \*\*params) -> ThreadRetrieveResponse - client.email_inboxes.threads.list(inbox_id, \*\*params) -> SyncEmailBracketCursorPagination[InboundThread] ### Labels Types: ```python from telnyx.types.email_inboxes.threads import LabelCreateResponse, LabelDeleteAllResponse ``` Methods: - client.email_inboxes.threads.labels.create(thread_id, \*, inbox_id, \*\*params) -> LabelCreateResponse - client.email_inboxes.threads.labels.delete_all(thread_id, \*, inbox_id, \*\*params) -> LabelDeleteAllResponse # EmailMessages Types: ```python from telnyx.types import ( AttachmentRequest, EmailAddressInput, EmailMessageDetailResponse, MessageEvent, SuppressedRecipient, TrackingSettings, EmailMessageBatchResponse, ) ``` Methods: - client.email_messages.create(\*\*params) -> EmailMessageResponse - client.email_messages.retrieve(id) -> EmailMessageDetailResponse - client.email_messages.list(\*\*params) -> SyncEmailCursorPagination[EmailMessage] - client.email_messages.delete(id) -> None - client.email_messages.batch(\*\*params) -> EmailMessageBatchResponse - client.email_messages.delete_all(\*\*params) -> None - client.email_messages.delete_schedule(email_id) -> EmailMessageResponse - client.email_messages.retrieve_events(email_id, \*\*params) -> SyncEmailCursorPagination[MessageEvent] - client.email_messages.update_schedule(email_id, \*\*params) -> EmailMessageDetailResponse ## Recipients Types: ```python from telnyx.types.email_messages import EmailRecipient, RecipientRetrieveResponse ``` Methods: - client.email_messages.recipients.retrieve(recipient_id, \*, email_id) -> RecipientRetrieveResponse - client.email_messages.recipients.list(email_id, \*\*params) -> SyncEmailCursorPagination[EmailRecipient] # EmailTemplates Types: ```python from telnyx.types import ( EmailTemplate, EmailTemplateCommon, EmailTemplateResponse, UpdateEmailTemplateRequest, VariableSchemaEntry, EmailTemplateRenderResponse, ) ``` Methods: - client.email_templates.create(\*\*params) -> EmailTemplateResponse - client.email_templates.retrieve(id) -> EmailTemplateResponse - client.email_templates.update(id, \*\*params) -> EmailTemplateResponse - client.email_templates.list(\*\*params) -> SyncEmailCursorPagination[EmailTemplate] - client.email_templates.delete(id) -> None - client.email_templates.render(id, \*\*params) -> EmailTemplateRenderResponse - client.email_templates.replace(id, \*\*params) -> EmailTemplateResponse # EmailThreads Types: ```python from telnyx.types import EmailThreadRetrieveResponse ``` Methods: - client.email_threads.retrieve(thread_id, \*\*params) -> EmailThreadRetrieveResponse - client.email_threads.list(\*\*params) -> SyncEmailBracketCursorPagination[InboundThread] # EmailUnsubscribeGroups Types: ```python from telnyx.types import GroupListMeta, UnsubscribeGroup, UnsubscribeGroupResponse ``` Methods: - client.email_unsubscribe_groups.create(\*\*params) -> UnsubscribeGroupResponse - client.email_unsubscribe_groups.retrieve(id) -> UnsubscribeGroupResponse - client.email_unsubscribe_groups.update(id, \*\*params) -> UnsubscribeGroupResponse - client.email_unsubscribe_groups.list(\*\*params) -> SyncDefaultFlatPagination[UnsubscribeGroup] - client.email_unsubscribe_groups.delete(id, \*\*params) -> None ## Suppressions Methods: - client.email_unsubscribe_groups.suppressions.create(id, \*\*params) -> EmailBlockResponse - client.email_unsubscribe_groups.suppressions.list(id, \*\*params) -> SyncDefaultFlatPagination[EmailBlock] - client.email_unsubscribe_groups.suppressions.delete(email, \*, id) -> None # EmailValidations Types: ```python from telnyx.types import EmailValidationCheck, EmailValidationChecks, EmailValidationCreateResponse ``` Methods: - client.email_validations.create(\*\*params) -> EmailValidationCreateResponse ## Batch Types: ```python from telnyx.types.email_validations import ( EmailValidationBatchStatus, BatchCreateResponse, BatchRetrieveResponse, ) ``` Methods: - client.email_validations.batch.create(\*\*params) -> BatchCreateResponse - client.email_validations.batch.retrieve(id) -> BatchRetrieveResponse # Pricing ## Products Types: ```python from telnyx.types.pricing import ( PricingPaginationMeta, PricingTier, ProductRetrieveResponse, ProductListResponse, ) ``` Methods: - client.pricing.products.retrieve(slug, \*\*params) -> SyncDefaultFlatPagination[ProductRetrieveResponse] - client.pricing.products.list(\*\*params) -> SyncDefaultFlatPagination[ProductListResponse] # WebSearch Types: ```python from telnyx.types import WebSearchResult, WebSearchCreateResponse, WebSearchContentsResponse ``` Methods: - client.web_search.create(\*\*params) -> WebSearchCreateResponse - client.web_search.contents(\*\*params) -> WebSearchContentsResponse ## Research Types: ```python from telnyx.types.web_search import ( ResearchCitation, ResearchCreateResponse, ResearchRetrieveResponse, ) ``` Methods: - client.web_search.research.create(\*\*params) -> ResearchCreateResponse - client.web_search.research.retrieve(task_id) -> ResearchRetrieveResponse # MeetingSessions Types: ```python from telnyx.types import ( MeetingSession, MeetingSessionLeavePolicy, MeetingSessionRecordingDestination, MeetingSessionRecordingExport, MeetingSessionResponse, MeetingSessionListResponse, MeetingSessionDeleteRecordingMediaResponse, MeetingSessionRetrieveEventsResponse, MeetingSessionRetrieveRecordingsResponse, MeetingSessionRetrieveTranscriptResponse, ) ``` Methods: - client.meeting_sessions.create(\*\*params) -> MeetingSessionResponse - client.meeting_sessions.retrieve(id) -> MeetingSessionResponse - client.meeting_sessions.update(id, \*\*params) -> MeetingSessionResponse - client.meeting_sessions.list(\*\*params) -> MeetingSessionListResponse - client.meeting_sessions.delete(id) -> MeetingSessionResponse - client.meeting_sessions.delete_recording_media(id) -> MeetingSessionDeleteRecordingMediaResponse - client.meeting_sessions.retrieve_events(id, \*\*params) -> MeetingSessionRetrieveEventsResponse - client.meeting_sessions.retrieve_recordings(id) -> MeetingSessionRetrieveRecordingsResponse - client.meeting_sessions.retrieve_transcript(id, \*\*params) -> MeetingSessionRetrieveTranscriptResponse ## Actions Types: ```python from telnyx.types.meeting_sessions import ActionAcceptedResponse ``` Methods: - client.meeting_sessions.actions.send_chat(id, \*\*params) -> ActionAcceptedResponse - client.meeting_sessions.actions.speak(id, \*\*params) -> ActionAcceptedResponse - client.meeting_sessions.actions.stop_speaking(id) -> ActionAcceptedResponse ## Artifacts Types: ```python from telnyx.types.meeting_sessions import ( MeetingSessionArtifact, MeetingSessionArtifactResponse, ArtifactListResponse, ) ``` Methods: - client.meeting_sessions.artifacts.create(id, \*\*params) -> MeetingSessionArtifactResponse - client.meeting_sessions.artifacts.retrieve(artifact_id, \*, id) -> MeetingSessionArtifactResponse - client.meeting_sessions.artifacts.list(id) -> ArtifactListResponse # ExternalRequirements ## SubNumberOrders Types: ```python from telnyx.types.external_requirements import ( SubNumberOrderRetrieveResponse, SubNumberOrderUpdateResponse, ) ``` Methods: - client.external_requirements.sub_number_orders.retrieve(sub_number_order_id, \*, regulatory_requirement_id) -> SubNumberOrderRetrieveResponse - client.external_requirements.sub_number_orders.update(sub_number_order_id, \*, regulatory_requirement_id, \*\*params) -> SubNumberOrderUpdateResponse # Compute Types: ```python from telnyx.types import ComputeRetrieveResponse ``` Methods: - client.compute.retrieve(id) -> ComputeRetrieveResponse ## Funcs Types: ```python from telnyx.types.compute import ( FunctionsObservabilityPaginationMeta, LogsMeta, FuncListResponse, FuncRetrieveLogsResponse, FuncRetrieveMetricAggregatesResponse, FuncRetrieveRevisionsResponse, FuncRetrieveShipInspectionResponse, ) ``` Methods: - client.compute.funcs.list(\*\*params) -> SyncDefaultFlatPagination[FuncListResponse] - client.compute.funcs.retrieve_logs(id, \*\*params) -> FuncRetrieveLogsResponse - client.compute.funcs.retrieve_metric_aggregates(id, \*\*params) -> FuncRetrieveMetricAggregatesResponse - client.compute.funcs.retrieve_revisions(id, \*\*params) -> FuncRetrieveRevisionsResponse - client.compute.funcs.retrieve_ship_inspection(id) -> FuncRetrieveShipInspectionResponse ### Export Types: ```python from telnyx.types.compute.funcs import FuncLogExportConfig, FuncLogExportConfigResponse ``` Methods: - client.compute.funcs.export.create(id, \*\*params) -> FuncLogExportConfigResponse - client.compute.funcs.export.list(id) -> FuncLogExportConfigResponse - client.compute.funcs.export.delete_all(id) -> None # NoiseSuppressionEngines Types: ```python from telnyx.types import NoiseSuppressionEngineListResponse ``` Methods: - client.noise_suppression_engines.list() -> NoiseSuppressionEngineListResponse # BotChallenge Types: ```python from telnyx.types import BotChallengeCreateResponse ``` Methods: - client.bot_challenge.create(\*\*params) -> BotChallengeCreateResponse # BotSessions Types: ```python from telnyx.types import BotSessionListResponse ``` Methods: - client.bot_sessions.list(\*\*params) -> BotSessionListResponse # BotSignup Types: ```python from telnyx.types import SuccessResponse ``` Methods: - client.bot_signup.create(\*\*params) -> SuccessResponse - client.bot_signup.resend_magic_link(\*\*params) -> SuccessResponse # MachinePayments Types: ```python from telnyx.types import MachinePaymentAccountCreditResponse ``` Methods: - client.machine_payments.account_credit(\*\*params) -> MachinePaymentAccountCreditResponse # SpendLimits Types: ```python from telnyx.types import ( SpendLimit, SpendLimitBlock, SpendLimitPeriod, SpendLimitResponse, SpendLimitListResponse, ) ``` Methods: - client.spend_limits.create(\*\*params) -> SpendLimitResponse - client.spend_limits.update(product, \*\*params) -> SpendLimitResponse - client.spend_limits.list() -> SpendLimitListResponse - client.spend_limits.delete(product, \*\*params) -> SpendLimitResponse # LlmTokenGateway ## Usage Types: ```python from telnyx.types.llm_token_gateway import ( GuardrailFinding, UsageRetrieveExportResponse, UsageRetrieveSummaryResponse, ) ``` Methods: - client.llm_token_gateway.usage.retrieve_export(\*\*params) -> UsageRetrieveExportResponse - client.llm_token_gateway.usage.retrieve_summary(\*\*params) -> UsageRetrieveSummaryResponse ## Spend Types: ```python from telnyx.types.llm_token_gateway import ( SpendGroupBy, SpendRetrieveEventsResponse, SpendRetrieveSummaryResponse, ) ``` Methods: - client.llm_token_gateway.spend.retrieve_events(\*\*params) -> SpendRetrieveEventsResponse - client.llm_token_gateway.spend.retrieve_summary(\*\*params) -> SpendRetrieveSummaryResponse ## TokenGroups Types: ```python from telnyx.types.llm_token_gateway import ( AIGatewayResourcesPageMeta, BudgetDuration, TokenGroup, TokenGroupResponse, ) ``` Methods: - client.llm_token_gateway.token_groups.create(\*\*params) -> TokenGroupResponse - client.llm_token_gateway.token_groups.retrieve(id) -> TokenGroupResponse - client.llm_token_gateway.token_groups.update(id, \*\*params) -> TokenGroupResponse - client.llm_token_gateway.token_groups.list(\*\*params) -> SyncDefaultFlatPagination[TokenGroup] - client.llm_token_gateway.token_groups.delete(id) -> None ## TokenKeys Types: ```python from telnyx.types.llm_token_gateway import TokenKey, TokenKeyResponse ``` Methods: - client.llm_token_gateway.token_keys.create(\*\*params) -> TokenKeyResponse - client.llm_token_gateway.token_keys.retrieve(id) -> TokenKeyResponse - client.llm_token_gateway.token_keys.update(id, \*\*params) -> TokenKeyResponse - client.llm_token_gateway.token_keys.list(\*\*params) -> SyncDefaultFlatPagination[TokenKey] - client.llm_token_gateway.token_keys.delete(id) -> None # SipRegistrationStatus Types: ```python from telnyx.types import SipRegistrationStatusListResponse ``` Methods: - client.sip_registration_status.list(\*\*params) -> SipRegistrationStatusListResponse # DialMetrics Types: ```python from telnyx.types import DialMetricListResponse ``` Methods: - client.dial_metrics.list(\*\*params) -> SyncCloudfsCursorPagination[DialMetricListResponse] # TailscaleSubnetRouters Types: ```python from telnyx.types import ( TailscaleSubnetRouter, TailscaleSubnetRouterCreateResponse, TailscaleSubnetRouterRetrieveResponse, TailscaleSubnetRouterUpdateResponse, TailscaleSubnetRouterDeleteResponse, ) ``` Methods: - client.tailscale_subnet_routers.create(\*\*params) -> TailscaleSubnetRouterCreateResponse - client.tailscale_subnet_routers.retrieve(id) -> TailscaleSubnetRouterRetrieveResponse - client.tailscale_subnet_routers.update(id, \*\*params) -> TailscaleSubnetRouterUpdateResponse - client.tailscale_subnet_routers.list(\*\*params) -> SyncDefaultFlatPagination[TailscaleSubnetRouter] - client.tailscale_subnet_routers.delete(id) -> TailscaleSubnetRouterDeleteResponse # ArtifactDownloads Methods: - client.artifact_downloads.retrieve(artifact_id, \*\*params) -> BinaryAPIResponse # Email ## DedicatedIPs Types: ```python from telnyx.types.email import DedicatedIP, DedicatedIPShowResponse, DedicatedIPListResponse ``` Methods: - client.email.dedicated_ips.create(\*\*params) -> DedicatedIPShowResponse - client.email.dedicated_ips.retrieve(id) -> DedicatedIPShowResponse - client.email.dedicated_ips.update(id, \*\*params) -> DedicatedIPShowResponse - client.email.dedicated_ips.list(\*\*params) -> DedicatedIPListResponse - client.email.dedicated_ips.delete(id, \*\*params) -> DedicatedIPShowResponse ### Actions Methods: - client.email.dedicated_ips.actions.complete_warmup(id) -> DedicatedIPShowResponse - client.email.dedicated_ips.actions.pause_warmup(id) -> DedicatedIPShowResponse - client.email.dedicated_ips.actions.resume_warmup(id) -> DedicatedIPShowResponse - client.email.dedicated_ips.actions.start_warmup(id) -> DedicatedIPShowResponse ## IPPools Types: ```python from telnyx.types.email import IPPool, IPPoolShowResponse, IPPoolListResponse ``` Methods: - client.email.ip_pools.create(\*\*params) -> IPPoolShowResponse - client.email.ip_pools.retrieve(id) -> IPPoolShowResponse - client.email.ip_pools.update(id, \*\*params) -> IPPoolShowResponse - client.email.ip_pools.list() -> IPPoolListResponse - client.email.ip_pools.delete(id, \*\*params) -> None ### IPs Types: ```python from telnyx.types.email.ip_pools import IPCreateResponse ``` Methods: - client.email.ip_pools.ips.create(id, \*\*params) -> IPCreateResponse - client.email.ip_pools.ips.delete(ip_id, \*, id, \*\*params) -> None # NetworkRoutes Types: ```python from telnyx.types import ( NetappsCursorPaginationMeta, NetworkRoute, NetworkRouteCreateResponse, NetworkRouteRetrieveResponse, NetworkRouteListResponse, ) ``` Methods: - client.network_routes.create(\*\*params) -> NetworkRouteCreateResponse - client.network_routes.retrieve(id) -> NetworkRouteRetrieveResponse - client.network_routes.list(\*\*params) -> NetworkRouteListResponse - client.network_routes.delete(id) -> None # PayConnectors Types: ```python from telnyx.types import GenericPayConnectorConfig, PayConnector, PayConnectorResponse ``` Methods: - client.pay_connectors.create(\*\*params) -> PayConnectorResponse - client.pay_connectors.retrieve(name) -> PayConnectorResponse - client.pay_connectors.update(name, \*\*params) -> PayConnectorResponse - client.pay_connectors.list(\*\*params) -> SyncEmailBracketCursorPagination[PayConnector] - client.pay_connectors.delete(name) -> None # Tunnels Types: ```python from telnyx.types import ( Tunnel, TunnelWithToken, TunnelCreateResponse, TunnelRetrieveResponse, TunnelListResponse, ) ``` Methods: - client.tunnels.create(\*\*params) -> TunnelCreateResponse - client.tunnels.retrieve(id) -> TunnelRetrieveResponse - client.tunnels.list(\*\*params) -> TunnelListResponse - client.tunnels.delete(id) -> None ## Actions Types: ```python from telnyx.types.tunnels import ActionRotateTokenResponse ``` Methods: - client.tunnels.actions.rotate_token(id) -> ActionRotateTokenResponse # UserProfile Types: ```python from telnyx.types import UserProfile, UserProfileListResponse, UserProfilePatchAllResponse ``` Methods: - client.user_profile.list() -> UserProfileListResponse - client.user_profile.patch_all(\*\*params) -> UserProfilePatchAllResponse # AgentGateways Types: ```python from telnyx.types import ( AgentGateway, AgentGatewayResponse, AgentGatewayRetrieveModelsResponse, AgentGatewayRetrieveSpendLogsResponse, ) ``` Methods: - client.agent_gateways.create(\*\*params) -> AgentGatewayResponse - client.agent_gateways.retrieve(instance_id) -> AgentGatewayResponse - client.agent_gateways.list(\*\*params) -> SyncDefaultFlatPagination[AgentGateway] - client.agent_gateways.delete(instance_id) -> AgentGatewayResponse - client.agent_gateways.retrieve_models(instance_id) -> AgentGatewayRetrieveModelsResponse - client.agent_gateways.retrieve_spend_logs(instance_id, \*\*params) -> AgentGatewayRetrieveSpendLogsResponse ## APIs Types: ```python from telnyx.types.agent_gateways import ( AgentGatewayAPI, AgentGatewayAPIResponse, AgentGatewayNoAuth, AgentGatewayOAuthClientCredentials, AgentGatewayPassthroughAuth, AgentGatewayShownAuth, AgentGatewayStaticAuth, APIListResponse, ) ``` Methods: - client.agent_gateways.apis.create(instance_id, \*\*params) -> AgentGatewayAPIResponse - client.agent_gateways.apis.update(api_id, \*, instance_id, \*\*params) -> AgentGatewayAPIResponse - client.agent_gateways.apis.list(instance_id) -> APIListResponse - client.agent_gateways.apis.delete(api_id, \*, instance_id) -> AgentGatewayAPIResponse ## Guardrails Types: ```python from telnyx.types.agent_gateways import ( AgentGatewayGuardrail, AgentGatewayGuardrailResponse, GuardrailListResponse, ) ``` Methods: - client.agent_gateways.guardrails.create(instance_id, \*\*params) -> AgentGatewayGuardrailResponse - client.agent_gateways.guardrails.update(guardrail_id, \*, instance_id, \*\*params) -> AgentGatewayGuardrailResponse - client.agent_gateways.guardrails.list(instance_id) -> GuardrailListResponse - client.agent_gateways.guardrails.delete(guardrail_id, \*, instance_id) -> AgentGatewayGuardrailResponse ## Keys Types: ```python from telnyx.types.agent_gateways import ( AgentGatewayKey, AgentGatewayKeyResponse, KeyCreateResponse, KeyListResponse, ) ``` Methods: - client.agent_gateways.keys.create(instance_id, \*\*params) -> KeyCreateResponse - client.agent_gateways.keys.update(key_id, \*, instance_id, \*\*params) -> AgentGatewayKeyResponse - client.agent_gateways.keys.list(instance_id, \*\*params) -> KeyListResponse - client.agent_gateways.keys.delete(key_id, \*, instance_id) -> AgentGatewayKeyResponse ### ToolPermissions Types: ```python from telnyx.types.agent_gateways.keys import ( AgentGatewayToolPermissions, AgentGatewayToolPermissionsResponse, ) ``` Methods: - client.agent_gateways.keys.tool_permissions.create(key_id, \*, instance_id, \*\*params) -> AgentGatewayToolPermissionsResponse - client.agent_gateways.keys.tool_permissions.list(key_id, \*, instance_id) -> AgentGatewayToolPermissionsResponse ## McpServers Types: ```python from telnyx.types.agent_gateways import ( AgentGatewayAwsSigV4Auth, AgentGatewayMcpServer, AgentGatewayMcpServerResponse, McpServerListResponse, ) ``` Methods: - client.agent_gateways.mcp_servers.create(instance_id, \*\*params) -> AgentGatewayMcpServerResponse - client.agent_gateways.mcp_servers.update(server_id, \*, instance_id, \*\*params) -> AgentGatewayMcpServerResponse - client.agent_gateways.mcp_servers.list(instance_id) -> McpServerListResponse - client.agent_gateways.mcp_servers.delete(server_id, \*, instance_id) -> AgentGatewayMcpServerResponse ## Policies Types: ```python from telnyx.types.agent_gateways import ( AgentGatewayPolicy, AgentGatewayPolicyGuardrails, AgentGatewayPolicyPipeline, AgentGatewayPolicyResponse, AgentGatewayPolicyStep, PolicyListResponse, ) ``` Methods: - client.agent_gateways.policies.create(instance_id, \*\*params) -> AgentGatewayPolicyResponse - client.agent_gateways.policies.retrieve(name, \*, instance_id) -> AgentGatewayPolicyResponse - client.agent_gateways.policies.update(name, \*, instance_id, \*\*params) -> AgentGatewayPolicyResponse - client.agent_gateways.policies.list(instance_id) -> PolicyListResponse - client.agent_gateways.policies.delete(name, \*, instance_id) -> AgentGatewayPolicyResponse ## PolicyAttachments Types: ```python from telnyx.types.agent_gateways import ( AgentGatewayPolicyAttachment, AgentGatewayPolicyAttachmentResponse, PolicyAttachmentListResponse, ) ``` Methods: - client.agent_gateways.policy_attachments.create(instance_id, \*\*params) -> AgentGatewayPolicyAttachmentResponse - client.agent_gateways.policy_attachments.list(instance_id) -> PolicyAttachmentListResponse - client.agent_gateways.policy_attachments.delete(attachment_id, \*, instance_id) -> AgentGatewayPolicyAttachmentResponse ## Teams Types: ```python from telnyx.types.agent_gateways import AgentGatewayTeam, AgentGatewayTeamResponse, TeamListResponse ``` Methods: - client.agent_gateways.teams.create(instance_id, \*\*params) -> AgentGatewayTeamResponse - client.agent_gateways.teams.update(team_id, \*, instance_id, \*\*params) -> AgentGatewayTeamResponse - client.agent_gateways.teams.list(instance_id) -> TeamListResponse - client.agent_gateways.teams.delete(team_id, \*, instance_id) -> AgentGatewayTeamResponse ### ToolPermissions Methods: - client.agent_gateways.teams.tool_permissions.create(team_id, \*, instance_id, \*\*params) -> AgentGatewayToolPermissionsResponse - client.agent_gateways.teams.tool_permissions.list(team_id, \*, instance_id) -> AgentGatewayToolPermissionsResponse # CalendarConnections Types: ```python from telnyx.types import ( CalendarConnection, CalendarConnectionResponse, MeetingSessionAssistant, CalendarConnectionCreateResponse, CalendarConnectionUpdateResponse, CalendarConnectionListResponse, ) ``` Methods: - client.calendar_connections.create(\*\*params) -> CalendarConnectionCreateResponse - client.calendar_connections.retrieve(id) -> CalendarConnectionResponse - client.calendar_connections.update(id, \*\*params) -> CalendarConnectionUpdateResponse - client.calendar_connections.list() -> CalendarConnectionListResponse - client.calendar_connections.delete(id) -> CalendarConnectionResponse ## Meetings Types: ```python from telnyx.types.calendar_connections import ( CalendarMeeting, MeetingUpdateResponse, MeetingListResponse, ) ``` Methods: - client.calendar_connections.meetings.update(meeting_id, \*, id, \*\*params) -> MeetingUpdateResponse - client.calendar_connections.meetings.list(id, \*\*params) -> MeetingListResponse # MeetingBot ## Calendar Types: ```python from telnyx.types.meeting_bot import CalendarRetrieveOAuthCallbackResponse ``` Methods: - client.meeting_bot.calendar.retrieve_oauth_callback(\*\*params) -> str