File tree Expand file tree Collapse file tree 8 files changed +17
-6
lines changed Expand file tree Collapse file tree 8 files changed +17
-6
lines changed Original file line number Diff line number Diff line change 11[GLOBAL ]
2- pants_version = ' 2.23.0 '
2+ pants_version = ' 2.24.2 '
33
44backend_packages = [
55 ' pants.backend.python' ,
@@ -21,7 +21,7 @@ enabled = false
2121root_patterns = [' /' , ' src/' , ' tests/' ]
2222
2323[python ]
24- interpreter_constraints = [' ==3.12 .*' ]
24+ interpreter_constraints = [' ==3.13 .*' ]
2525
2626[pytest ]
2727args = [' -vv' , ' --no-header' ]
Original file line number Diff line number Diff line change 1+ # 1.4.0
2+ - Increase maximum value of call ` length_timer ` to 86400s
3+ - Add additional fields ` eventUrl ` and ` eventMethod ` to NCCO model
4+
15# 1.3.0
26- Add new ` headers ` and ` standard_headers ` options to the ` Sip ` data model
37- Add new ` standardHeaders ` option to the ` SipEndpoint ` NCCO model
Original file line number Diff line number Diff line change 1- __version__ = '1.3 .0'
1+ __version__ = '1.4 .0'
Original file line number Diff line number Diff line change @@ -88,6 +88,8 @@ class Conversation(NccoAction):
8888 hear. If not provided, the participant can hear everyone. If an empty list
8989 is provided, the participant will not hear any other participants.
9090 mute (Optional[bool]): Mute the participant.
91+ eventUrl (Optional[list[str]]): The URL to send asynchronous events to.
92+ eventMethod (Optional[str]): The HTTP method used to send the event to `eventUrl`.
9193
9294 Raises:
9395 NccoActionError: If the `mute` option is used with the `canSpeak` option.
@@ -101,6 +103,8 @@ class Conversation(NccoAction):
101103 canSpeak : Optional [list [str ]] = None
102104 canHear : Optional [list [str ]] = None
103105 mute : Optional [bool ] = None
106+ eventUrl : Optional [list ] = None
107+ eventMethod : Optional [str ] = None
104108 action : NccoActionType = NccoActionType .CONVERSATION
105109
106110 @model_validator (mode = 'after' )
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ class CreateCallRequest(BaseModel):
6565 event_method : Optional [Literal ['POST' , 'GET' ]] = None
6666 machine_detection : Optional [Literal ['continue' , 'hangup' ]] = None
6767 advanced_machine_detection : Optional [AdvancedMachineDetection ] = None
68- length_timer : Optional [int ] = Field (None , ge = 1 , le = 7200 )
68+ length_timer : Optional [int ] = Field (None , ge = 1 , le = 86400 )
6969 ringing_timer : Optional [int ] = Field (None , ge = 1 , le = 120 )
7070
7171 @model_validator (mode = 'after' )
Original file line number Diff line number Diff line change 1+ # 4.4.1
2+ - Update some Voice API parameters
3+
14# 4.4.0
25Vonage Voice Package:
36- Add new ` headers ` and ` standard_headers ` options to the ` Sip ` data model
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ dependencies = [
2121 " vonage-verify>=2.1.0" ,
2222 " vonage-verify-legacy>=1.0.1" ,
2323 " vonage-video>=1.2.0" ,
24- " vonage-voice>=1.3 .0" ,
24+ " vonage-voice>=1.4 .0" ,
2525]
2626classifiers = [
2727 " Programming Language :: Python" ,
Original file line number Diff line number Diff line change 1- __version__ = '4.4.0 '
1+ __version__ = '4.4.1 '
You can’t perform that action at this time.
0 commit comments