@@ -45,7 +45,7 @@ def __init__(self):
4545 'disconnect_type' : 'str' ,
4646 'start_hold_time' : 'datetime' ,
4747 'dialer_preview' : 'ConversationNotificationDialerPreview' ,
48- 'voicemail' : 'DocumentDataV2NotificationWorkspace ' ,
48+ 'voicemail' : 'ConversationNotificationVoicemail ' ,
4949 'callback_numbers' : 'list[str]' ,
5050 'callback_user_name' : 'str' ,
5151 'script_id' : 'str' ,
@@ -124,7 +124,7 @@ def state(self, state):
124124 :param state: The state of this ConversationNotificationCallbacks.
125125 :type: str
126126 """
127- allowed_values = ["ALERTING" , "DIALING" , "CONTACTING" , "OFFERING" , "CONNECTED" , "DISCONNECTED" , "TERMINATED" , "SCHEDULED" , "NONE" ]
127+ allowed_values = ["ALERTING" , "DIALING" , "CONTACTING" , "OFFERING" , "CONNECTED" , "DISCONNECTED" , "TERMINATED" , "SCHEDULED" , "UPLOADING" , " NONE" ]
128128 if state .lower () not in map (str .lower , allowed_values ):
129129 # print "Invalid value for state -> " + state
130130 self ._state = "outdated_sdk_version"
@@ -284,7 +284,7 @@ def voicemail(self):
284284
285285
286286 :return: The voicemail of this ConversationNotificationCallbacks.
287- :rtype: DocumentDataV2NotificationWorkspace
287+ :rtype: ConversationNotificationVoicemail
288288 """
289289 return self ._voicemail
290290
@@ -295,7 +295,7 @@ def voicemail(self, voicemail):
295295
296296
297297 :param voicemail: The voicemail of this ConversationNotificationCallbacks.
298- :type: DocumentDataV2NotificationWorkspace
298+ :type: ConversationNotificationVoicemail
299299 """
300300
301301 self ._voicemail = voicemail
0 commit comments