wxc_sdk.person_settings package
Person settings
- class wxc_sdk.person_settings.PersonSettingsApi(session: RestSession)[source]
Bases:
ApiChildAPI for all user level settings
- agent_caller_id: AgentCallerIdApi
agent caller id Api
- appservices: AppServicesApi
Person’s Application Services Settings
- base = 'people'
- call_bridge: CallBridgeApi
Call bridge settings for a person
- call_intercept: CallInterceptApi
Call Intercept Settings for a Person
- call_recording: CallRecordingApi
Call Recording Settings for a Person
- call_waiting: CallWaitingApi
Call Waiting Settings for a Person
- calling_behavior: CallingBehaviorApi
Person’s Calling Behavior
- caller_id: CallerIdApi
Caller ID Settings for a Person
- exec_assistant: ExecAssistantApi
Executive Assistant Settings for a Person
- forwarding: PersonForwardingApi
Forwarding Settings for a Person
- hoteling: HotelingApi
Hoteling Settings for a Person
- monitoring: MonitoringApi
Person’s Monitoring Settings
- numbers: NumbersApi
Phone Numbers for a Person
- permissions_in: IncomingPermissionsApi
Incoming Permission Settings for a Person
- permissions_out: OutgoingPermissionsApi
Person’s Outgoing Calling Permissions Settings
- preferred_answer: PreferredAnswerApi
Preferred answer endpoint settings
- privacy: PrivacyApi
Person’s Privacy Settings
- push_to_talk: PushToTalkApi
Push-to-Talk Settings for a Person
- receptionist: ReceptionistApi
Receptionist Client Settings for a Person
- schedules: ScheduleApi
Schedules for a Person
- voicemail: VoicemailApi
Voicemail Settings for a Person
- reset_vm_pin(person_id: str, org_id: str | None = None)[source]
Reset Voicemail PIN
Reset a voicemail PIN for a person.
The voicemail feature transfers callers to voicemail based on your settings. You can then retrieve voice messages via Voicemail. A voicemail PIN is used to retrieve your voicemail messages.
This API requires a full or user administrator auth token with the spark-admin:people_write scope.
- Parameters:
person_id – Unique identifier for the person.
org_id – Person is in this organization. Only admin users of another organization (such as partners) may use this parameter as the default is the same organization as the token used to access API.
- devices(person_id: str, org_id: str | None = None) PersonDevicesResponse[source]
Get all devices for a person.
This requires a full or read-only administrator auth token with a scope of spark-admin:telephony_config_read.
- Parameters:
person_id (str) – Person to retrieve devices for
org_id (str) – organization that person belongs to
- Returns:
device info for user
- Return type:
- class wxc_sdk.person_settings.DeviceOwner(*, id: str = None, lastName: str | None = None, firstName: str | None = None, type: UserType, location: IdAndName | None = None)[source]
Bases:
ApiModel- owner_id: str
unique identifier for user or workspace the device is owned by
- last_name: str | None
last name of device owner.
- first_name: str | None
First name of device owner.
- class wxc_sdk.person_settings.DeviceActivationState(value=<no_arg>, names=None, module=None, qualname=None, type=None, start=1, boundary=None)[source]
Bases:
str,SafeEnumAn enumeration.
- activating = 'ACTIVATING'
- activated = 'ACTIVATED'
- deactivated = 'DEACTIVATED'
- class wxc_sdk.person_settings.Hoteling(*, enabled: bool | None = None, limitGuestUse: bool | None = None, guestHoursLimit: int | None = None)[source]
Bases:
ApiModel- enabled: bool | None
Enable/Disable hoteling Host. Enabling the device for hoteling means that a guest(end user) can log into this host(workspace device) and use this device as if it were their own. This is useful when traveling to a remote office but still needing to place/receive calls with their telephone number and access features normally available to them on their office phone.
- limit_guest_use: bool | None
Enable limiting the time a guest can use the device. The time limit is configured via guestHoursLimit.
- guest_hours_limit: int | None
Time Limit in hours until hoteling is enabled. Mandatory if limitGuestUse is enabled.
- class wxc_sdk.person_settings.TelephonyDevice(*, id: str, description: list[str], model: str, mac: str | None = None, ipAddress: str | None = None, primaryOwner: bool, hoteling: Hoteling | None = None, type: PrimaryOrShared, owner: DeviceOwner | None = None, activationState: DeviceActivationState, location: IdAndName | None = None)[source]
Bases:
ApiModel- device_id: str
Unique identifier for a device.
- description: list[str]
Comma separated array of tags used to describe device.
- model: str
Identifier for device model.
- mac: str | None
MAC address of device.
- ip_address: str | None
IP address of device.
- primary_owner: bool
This field indicates whether the person or the workspace is the owner of the device, and points to a primary Line/Port of the device.
- hoteling: Hoteling | None
Hoteling settings, which are available when the device is the user’s primary device and device type is PRIMARY
- device_type: PrimaryOrShared
Indicates if the line is acting as a primary line or a shared line for this device.
- owner: DeviceOwner | None
Owner of device.
- activation_state: DeviceActivationState
Activation state of device.
- class wxc_sdk.person_settings.PersonDevicesResponse(*, devices: list[TelephonyDevice], maxDeviceCount: int)[source]
Bases:
ApiModel- devices: list[TelephonyDevice]
Array of devices available to person.
- max_device_count: int
Maximum number of devices a person can be assigned to.
Submodules
- wxc_sdk.person_settings.agent_caller_id module
- wxc_sdk.person_settings.appservices module
AppServicesSettingsAppServicesSettings.ring_devices_for_click_to_dial_calls_enabledAppServicesSettings.ring_devices_for_group_page_enabledAppServicesSettings.ring_devices_for_call_park_enabledAppServicesSettings.desktop_client_enabledAppServicesSettings.desktop_client_idAppServicesSettings.tablet_client_enabledAppServicesSettings.mobile_client_enabledAppServicesSettings.available_line_countAppServicesSettings.browser_client_enabledAppServicesSettings.browser_client_id
AppServicesApi
- wxc_sdk.person_settings.barge module
- wxc_sdk.person_settings.call_intercept module
- wxc_sdk.person_settings.call_recording module
RecordNotificationTypeNotificationRepeatNotificationCallRecordingSettingCallRecordingSetting.enabledCallRecordingSetting.recordCallRecordingSetting.record_voicemail_enabledCallRecordingSetting.start_stop_announcement_enabledCallRecordingSetting.notificationCallRecordingSetting.repeatCallRecordingSetting.service_providerCallRecordingSetting.external_groupCallRecordingSetting.external_identifierCallRecordingSetting.start_stop_announcementCallRecordingSetting.default()
StartStopAnnouncementCallRecordingApi
- wxc_sdk.person_settings.call_waiting module
- wxc_sdk.person_settings.callbridge module
- wxc_sdk.person_settings.caller_id module
CallerIdApiCallerIdCallerId.caller_id_typesCallerId.selectedCallerId.direct_numberCallerId.extension_numberCallerId.location_numberCallerId.mobile_numberCallerId.toll_free_location_numberCallerId.custom_numberCallerId.first_nameCallerId.last_nameCallerId.block_in_forward_calls_enabledCallerId.external_caller_id_name_policyCallerId.custom_external_caller_id_nameCallerId.location_external_caller_id_nameCallerId.additional_external_caller_id_direct_line_enabledCallerId.additional_external_caller_id_location_number_enabledCallerId.additional_external_caller_id_custom_numberCallerId.fields_for_updateCallerId.configure_params()
ExternalCallerIdNamePolicyCallerIdSelectedType
- wxc_sdk.person_settings.calling_behavior module
- wxc_sdk.person_settings.common module
- wxc_sdk.person_settings.dnd module
- wxc_sdk.person_settings.exec_assistant module
- wxc_sdk.person_settings.forwarding module
- wxc_sdk.person_settings.hoteling module
- wxc_sdk.person_settings.monitoring module
- wxc_sdk.person_settings.numbers module
- wxc_sdk.person_settings.permissions_in module
- wxc_sdk.person_settings.permissions_out module
OutgoingPermissionCallTypeOutgoingPermissionCallType.internal_callOutgoingPermissionCallType.localOutgoingPermissionCallType.toll_freeOutgoingPermissionCallType.tollOutgoingPermissionCallType.nationalOutgoingPermissionCallType.internationalOutgoingPermissionCallType.operator_assistedOutgoingPermissionCallType.chargeable_directory_assistedOutgoingPermissionCallType.special_services_iOutgoingPermissionCallType.special_services_iiOutgoingPermissionCallType.premium_services_iOutgoingPermissionCallType.premium_services_ii
ActionCallTypePermissionCallingPermissionsCallingPermissions.ConfigCallingPermissions.internal_callCallingPermissions.localCallingPermissions.toll_freeCallingPermissions.tollCallingPermissions.nationalCallingPermissions.internationalCallingPermissions.operator_assistedCallingPermissions.chargeable_directory_assistedCallingPermissions.special_services_iCallingPermissions.special_services_iiCallingPermissions.premium_services_iCallingPermissions.premium_services_iiCallingPermissions.for_call_type()CallingPermissions.permissions_dict()CallingPermissions.allow_all()CallingPermissions.default()
OutgoingPermissionsAutoTransferNumbersDigitPatternDigitPatternsDigitPatternsApiTransferNumbersApiAuthCodesAccessCodesApiOutgoingPermissionsApi
- wxc_sdk.person_settings.preferred_answer module
- wxc_sdk.person_settings.privacy module
- wxc_sdk.person_settings.push_to_talk module
- wxc_sdk.person_settings.receptionist module
- wxc_sdk.person_settings.voicemail module
VoicemailApiVoicemailEnabledWithGreetingUnansweredCallsVoicemailSettingsVoicemailSettings.enabledVoicemailSettings.send_all_callsVoicemailSettings.send_busy_callsVoicemailSettings.send_unanswered_callsVoicemailSettings.notificationsVoicemailSettings.transfer_to_numberVoicemailSettings.email_copy_of_messageVoicemailSettings.message_storageVoicemailSettings.fax_messageVoicemailSettings.voice_message_forwarding_enabledVoicemailSettings.default()