Skip to content

PhoneNumberConfig

Source code in docs_src/capo_connect/types/phone_number_config.py
class PhoneNumberConfig(TypedDict, closed=True):
    channel: "capo_connect.types.channel.Channel"
    """<p>The channel for this phone number configuration. <b>Only <code>VOICE</code> is supported for this data type.</b> </p>"""
    phone_type: "capo_connect.types.phone_type.PhoneType"
    """<p>The phone type. Valid values: SOFT_PHONE, DESK_PHONE.</p>"""
    phone_number: NotRequired[
        "capo_connect.types.sensitive_phone_number.SensitivePhoneNumber"
    ]
    """<p>The phone number for the user's desk phone.</p>"""

channel instance-attribute

channel: Channel

The channel for this phone number configuration. Only VOICE is supported for this data type.

phone_number instance-attribute

phone_number: NotRequired[SensitivePhoneNumber]

The phone number for the user's desk phone.

phone_type instance-attribute

phone_type: PhoneType

The phone type. Valid values: SOFT_PHONE, DESK_PHONE.