2323 "TransferTransferVoicemailDetectionOnVoicemailDetected" ,
2424 "TransferTransferVoicemailDetectionOnVoicemailDetectedVoicemailMessage" ,
2525 "Invite" ,
26- "InviteInviteConfig " ,
27- "InviteInviteConfigCustomHeader " ,
28- "InviteInviteConfigTargetsUnionMember0 " ,
29- "InviteInviteConfigVoicemailDetection " ,
30- "InviteInviteConfigVoicemailDetectionOnVoicemailDetected " ,
26+ "InviteInvite " ,
27+ "InviteInviteCustomHeader " ,
28+ "InviteInviteTargetsUnionMember0 " ,
29+ "InviteInviteVoicemailDetection " ,
30+ "InviteInviteVoicemailDetectionOnVoicemailDetected " ,
3131 "Refer" ,
3232 "ReferRefer" ,
3333 "ReferReferTarget" ,
@@ -244,7 +244,7 @@ class Transfer(TypedDict, total=False):
244244 type : Required [Literal ["transfer" ]]
245245
246246
247- class InviteInviteConfigCustomHeader (TypedDict , total = False ):
247+ class InviteInviteCustomHeader (TypedDict , total = False ):
248248 name : str
249249
250250 value : str
@@ -256,22 +256,22 @@ class InviteInviteConfigCustomHeader(TypedDict, total=False):
256256 """
257257
258258
259- class InviteInviteConfigTargetsUnionMember0 (TypedDict , total = False ):
259+ class InviteInviteTargetsUnionMember0 (TypedDict , total = False ):
260260 to : Required [str ]
261261 """The destination number or SIP URI of the call."""
262262
263263 name : str
264264 """The name of the target."""
265265
266266
267- class InviteInviteConfigVoicemailDetectionOnVoicemailDetected (TypedDict , total = False ):
267+ class InviteInviteVoicemailDetectionOnVoicemailDetected (TypedDict , total = False ):
268268 """Action to take when voicemail is detected on the invited call."""
269269
270270 action : Literal ["stop_invite" ]
271271 """The action to take when voicemail is detected."""
272272
273273
274- class InviteInviteConfigVoicemailDetection (TypedDict , total = False ):
274+ class InviteInviteVoicemailDetection (TypedDict , total = False ):
275275 """
276276 Configuration for voicemail detection (AMD - Answering Machine Detection) on the invited call.
277277 """
@@ -283,24 +283,24 @@ class InviteInviteConfigVoicemailDetection(TypedDict, total=False):
283283 detection.
284284 """
285285
286- on_voicemail_detected : InviteInviteConfigVoicemailDetectionOnVoicemailDetected
286+ on_voicemail_detected : InviteInviteVoicemailDetectionOnVoicemailDetected
287287 """Action to take when voicemail is detected on the invited call."""
288288
289289
290- _InviteInviteConfigReservedKeywords = TypedDict (
291- "_InviteInviteConfigReservedKeywords " ,
290+ _InviteInviteReservedKeywords = TypedDict (
291+ "_InviteInviteReservedKeywords " ,
292292 {
293293 "from" : str ,
294294 },
295295 total = False ,
296296)
297297
298298
299- class InviteInviteConfig ( _InviteInviteConfigReservedKeywords , total = False ):
300- custom_headers : Iterable [InviteInviteConfigCustomHeader ]
299+ class InviteInvite ( _InviteInviteReservedKeywords , total = False ):
300+ custom_headers : Iterable [InviteInviteCustomHeader ]
301301 """Custom headers to be added to the SIP INVITE for the invite command."""
302302
303- targets : Union [Iterable [InviteInviteConfigTargetsUnionMember0 ], str , None ]
303+ targets : Union [Iterable [InviteInviteTargetsUnionMember0 ], str , None ]
304304 """The different possible targets of the invite.
305305
306306 The assistant will be able to choose one of the targets to invite to the call.
@@ -310,15 +310,15 @@ class InviteInviteConfig(_InviteInviteConfigReservedKeywords, total=False):
310310 and targets may be supplied dynamically at runtime.
311311 """
312312
313- voicemail_detection : InviteInviteConfigVoicemailDetection
313+ voicemail_detection : InviteInviteVoicemailDetection
314314 """
315315 Configuration for voicemail detection (AMD - Answering Machine Detection) on the
316316 invited call.
317317 """
318318
319319
320320class Invite (TypedDict , total = False ):
321- invite_config : Required [InviteInviteConfig ]
321+ invite : Required [InviteInvite ]
322322
323323 type : Required [Literal ["invite" ]]
324324
0 commit comments