telnyx 5.26.0 → 5.28.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/README.md +1 -1
- data/lib/telnyx/models/ai/mission_create_response.rb +3 -73
- data/lib/telnyx/models/ai/{mission_list_response.rb → mission_data.rb} +5 -5
- data/lib/telnyx/models/ai/mission_retrieve_response.rb +3 -73
- data/lib/telnyx/models/ai/mission_update_mission_response.rb +3 -74
- data/lib/telnyx/models/ai/missions/{run_list_response.rb → mission_run_data.rb} +7 -5
- data/lib/telnyx/models/ai/missions/run_cancel_run_response.rb +3 -89
- data/lib/telnyx/models/ai/missions/run_create_response.rb +3 -89
- data/lib/telnyx/models/ai/missions/run_pause_run_response.rb +3 -89
- data/lib/telnyx/models/ai/missions/run_resume_run_response.rb +3 -89
- data/lib/telnyx/models/ai/missions/run_retrieve_response.rb +3 -89
- data/lib/telnyx/models/ai/missions/run_update_response.rb +3 -89
- data/lib/telnyx/models/ai/missions/runs/plan_add_steps_to_plan_response.rb +3 -77
- data/lib/telnyx/models/ai/missions/runs/plan_create_response.rb +3 -76
- data/lib/telnyx/models/ai/missions/runs/plan_get_step_details_response.rb +3 -77
- data/lib/telnyx/models/ai/missions/runs/plan_retrieve_response.rb +3 -76
- data/lib/telnyx/models/ai/missions/runs/plan_step_data.rb +83 -0
- data/lib/telnyx/models/ai/missions/runs/plan_update_step_response.rb +3 -76
- data/lib/telnyx/models/calls/action_gather_using_speak_params.rb +4 -39
- data/lib/telnyx/models/calls/action_speak_params.rb +4 -39
- data/lib/telnyx/models/conferences/action_speak_params.rb +4 -39
- data/lib/telnyx/models/global_ip_assignment.rb +1 -0
- data/lib/telnyx/models/global_ip_assignment_create_response.rb +2 -2
- data/lib/telnyx/models/global_ip_assignment_delete_response.rb +2 -2
- data/lib/telnyx/models/global_ip_assignment_retrieve_response.rb +2 -2
- data/lib/telnyx/models/global_ip_assignment_update_params.rb +1 -1
- data/lib/telnyx/models/global_ip_assignment_update_response.rb +2 -2
- data/lib/telnyx/models/global_ip_create_response.rb +2 -34
- data/lib/telnyx/models/global_ip_delete_response.rb +2 -34
- data/lib/telnyx/models/global_ip_health_check_create_response.rb +2 -36
- data/lib/telnyx/models/global_ip_health_check_delete_response.rb +2 -36
- data/lib/telnyx/models/global_ip_health_check_list_response.rb +2 -36
- data/lib/telnyx/models/global_ip_health_check_retrieve_response.rb +2 -36
- data/lib/telnyx/models/global_ip_list_response.rb +2 -34
- data/lib/telnyx/models/global_ip_retrieve_response.rb +2 -34
- data/lib/telnyx/models/messaging_10dlc/brand_get_sms_otp_by_reference_params.rb +24 -0
- data/lib/telnyx/models/messaging_10dlc/brand_get_sms_otp_by_reference_response.rb +82 -0
- data/lib/telnyx/models/minimax_voice_settings.rb +52 -0
- data/lib/telnyx/models/network_create.rb +2 -36
- data/lib/telnyx/models/network_create_response.rb +2 -36
- data/lib/telnyx/models/network_delete_response.rb +2 -36
- data/lib/telnyx/models/network_list_interfaces_response.rb +2 -112
- data/lib/telnyx/models/network_list_response.rb +2 -36
- data/lib/telnyx/models/network_retrieve_response.rb +2 -36
- data/lib/telnyx/models/network_update_response.rb +2 -36
- data/lib/telnyx/models/networks/default_gateway_create_response.rb +2 -34
- data/lib/telnyx/models/networks/default_gateway_delete_response.rb +2 -34
- data/lib/telnyx/models/networks/default_gateway_retrieve_response.rb +2 -34
- data/lib/telnyx/models/public_internet_gateway_create_response.rb +2 -75
- data/lib/telnyx/models/public_internet_gateway_delete_response.rb +2 -75
- data/lib/telnyx/models/public_internet_gateway_list_response.rb +2 -75
- data/lib/telnyx/models/public_internet_gateway_retrieve_response.rb +2 -75
- data/lib/telnyx/models/record.rb +42 -0
- data/lib/telnyx/models/virtual_cross_connect_create_response.rb +272 -2
- data/lib/telnyx/models/virtual_cross_connect_delete_response.rb +272 -2
- data/lib/telnyx/models/virtual_cross_connect_list_response.rb +271 -2
- data/lib/telnyx/models/virtual_cross_connect_retrieve_response.rb +272 -2
- data/lib/telnyx/models/virtual_cross_connect_update_response.rb +272 -2
- data/lib/telnyx/models/wireguard_interface_create_response.rb +2 -128
- data/lib/telnyx/models/wireguard_interface_delete_response.rb +2 -128
- data/lib/telnyx/models/wireguard_interface_list_response.rb +2 -128
- data/lib/telnyx/models/wireguard_interface_retrieve_response.rb +2 -128
- data/lib/telnyx/models/wireguard_peer_create_response.rb +75 -2
- data/lib/telnyx/models/wireguard_peer_delete_response.rb +75 -2
- data/lib/telnyx/models/wireguard_peer_list_response.rb +75 -2
- data/lib/telnyx/models/wireguard_peer_retrieve_response.rb +75 -2
- data/lib/telnyx/models/wireguard_peer_update_response.rb +75 -2
- data/lib/telnyx/models.rb +4 -0
- data/lib/telnyx/resources/ai/missions/runs.rb +4 -4
- data/lib/telnyx/resources/ai/missions.rb +2 -2
- data/lib/telnyx/resources/calls/actions.rb +2 -2
- data/lib/telnyx/resources/conferences/actions.rb +1 -1
- data/lib/telnyx/resources/global_ip_assignments.rb +1 -1
- data/lib/telnyx/resources/messaging_10dlc/brand.rb +35 -0
- data/lib/telnyx/version.rb +1 -1
- data/lib/telnyx.rb +8 -4
- data/rbi/telnyx/models/ai/mission_create_response.rbi +6 -147
- data/rbi/telnyx/models/ai/{mission_list_response.rbi → mission_data.rbi} +9 -22
- data/rbi/telnyx/models/ai/mission_retrieve_response.rbi +6 -147
- data/rbi/telnyx/models/ai/mission_update_mission_response.rbi +6 -147
- data/rbi/telnyx/models/ai/missions/{run_list_response.rbi → mission_run_data.rbi} +15 -19
- data/rbi/telnyx/models/ai/missions/run_cancel_run_response.rbi +6 -185
- data/rbi/telnyx/models/ai/missions/run_create_response.rbi +6 -183
- data/rbi/telnyx/models/ai/missions/run_pause_run_response.rbi +6 -185
- data/rbi/telnyx/models/ai/missions/run_resume_run_response.rbi +6 -185
- data/rbi/telnyx/models/ai/missions/run_retrieve_response.rbi +6 -185
- data/rbi/telnyx/models/ai/missions/run_update_response.rbi +6 -183
- data/rbi/telnyx/models/ai/missions/runs/plan_add_steps_to_plan_response.rbi +3 -165
- data/rbi/telnyx/models/ai/missions/runs/plan_create_response.rbi +3 -165
- data/rbi/telnyx/models/ai/missions/runs/plan_get_step_details_response.rbi +4 -161
- data/rbi/telnyx/models/ai/missions/runs/plan_retrieve_response.rbi +3 -165
- data/rbi/telnyx/models/ai/missions/runs/plan_step_data.rbi +159 -0
- data/rbi/telnyx/models/ai/missions/runs/plan_update_step_response.rbi +4 -161
- data/rbi/telnyx/models/calls/action_gather_using_speak_params.rbi +5 -68
- data/rbi/telnyx/models/calls/action_speak_params.rbi +5 -68
- data/rbi/telnyx/models/conferences/action_speak_params.rbi +5 -68
- data/rbi/telnyx/models/global_ip_assignment_update_params.rbi +2 -11
- data/rbi/telnyx/models/global_ip_create_response.rbi +1 -45
- data/rbi/telnyx/models/global_ip_delete_response.rbi +1 -45
- data/rbi/telnyx/models/global_ip_health_check_create_response.rbi +1 -45
- data/rbi/telnyx/models/global_ip_health_check_delete_response.rbi +1 -45
- data/rbi/telnyx/models/global_ip_health_check_list_response.rbi +1 -45
- data/rbi/telnyx/models/global_ip_health_check_retrieve_response.rbi +1 -45
- data/rbi/telnyx/models/global_ip_list_response.rbi +1 -45
- data/rbi/telnyx/models/global_ip_retrieve_response.rbi +1 -45
- data/rbi/telnyx/models/messaging_10dlc/brand_get_sms_otp_by_reference_params.rbi +48 -0
- data/rbi/telnyx/models/messaging_10dlc/brand_get_sms_otp_by_reference_response.rbi +110 -0
- data/rbi/telnyx/models/minimax_voice_settings.rbi +90 -0
- data/rbi/telnyx/models/network_create.rbi +4 -58
- data/rbi/telnyx/models/network_create_response.rbi +3 -57
- data/rbi/telnyx/models/network_delete_response.rbi +3 -57
- data/rbi/telnyx/models/network_list_interfaces_response.rbi +4 -181
- data/rbi/telnyx/models/network_list_response.rbi +3 -57
- data/rbi/telnyx/models/network_retrieve_response.rbi +3 -57
- data/rbi/telnyx/models/network_update_response.rbi +3 -57
- data/rbi/telnyx/models/networks/default_gateway_create_response.rbi +1 -45
- data/rbi/telnyx/models/networks/default_gateway_delete_response.rbi +1 -45
- data/rbi/telnyx/models/networks/default_gateway_retrieve_response.rbi +1 -45
- data/rbi/telnyx/models/public_internet_gateway_create_response.rbi +4 -112
- data/rbi/telnyx/models/public_internet_gateway_delete_response.rbi +4 -112
- data/rbi/telnyx/models/public_internet_gateway_list_response.rbi +4 -112
- data/rbi/telnyx/models/public_internet_gateway_retrieve_response.rbi +4 -112
- data/rbi/telnyx/models/record.rbi +70 -0
- data/rbi/telnyx/models/virtual_cross_connect_create_response.rbi +449 -4
- data/rbi/telnyx/models/virtual_cross_connect_delete_response.rbi +449 -4
- data/rbi/telnyx/models/virtual_cross_connect_list_response.rbi +444 -4
- data/rbi/telnyx/models/virtual_cross_connect_retrieve_response.rbi +449 -4
- data/rbi/telnyx/models/virtual_cross_connect_update_response.rbi +449 -4
- data/rbi/telnyx/models/wireguard_interface_create_response.rbi +4 -210
- data/rbi/telnyx/models/wireguard_interface_delete_response.rbi +4 -210
- data/rbi/telnyx/models/wireguard_interface_list_response.rbi +4 -204
- data/rbi/telnyx/models/wireguard_interface_retrieve_response.rbi +4 -210
- data/rbi/telnyx/models/wireguard_peer_create_response.rbi +111 -4
- data/rbi/telnyx/models/wireguard_peer_delete_response.rbi +111 -4
- data/rbi/telnyx/models/wireguard_peer_list_response.rbi +111 -4
- data/rbi/telnyx/models/wireguard_peer_retrieve_response.rbi +111 -4
- data/rbi/telnyx/models/wireguard_peer_update_response.rbi +111 -4
- data/rbi/telnyx/models.rbi +4 -0
- data/rbi/telnyx/resources/ai/missions/runs.rbi +2 -2
- data/rbi/telnyx/resources/ai/missions.rbi +1 -3
- data/rbi/telnyx/resources/calls/actions.rbi +2 -2
- data/rbi/telnyx/resources/conferences/actions.rbi +1 -1
- data/rbi/telnyx/resources/messaging_10dlc/brand.rbi +30 -0
- data/sig/telnyx/models/ai/mission_create_response.rbs +4 -85
- data/sig/telnyx/models/ai/{mission_list_response.rbs → mission_data.rbs} +7 -7
- data/sig/telnyx/models/ai/mission_retrieve_response.rbs +4 -85
- data/sig/telnyx/models/ai/mission_update_mission_response.rbs +4 -85
- data/sig/telnyx/models/ai/missions/{run_list_response.rbs → mission_run_data.rbs} +9 -7
- data/sig/telnyx/models/ai/missions/run_cancel_run_response.rbs +4 -103
- data/sig/telnyx/models/ai/missions/run_create_response.rbs +4 -103
- data/sig/telnyx/models/ai/missions/run_pause_run_response.rbs +4 -103
- data/sig/telnyx/models/ai/missions/run_resume_run_response.rbs +4 -103
- data/sig/telnyx/models/ai/missions/run_retrieve_response.rbs +4 -103
- data/sig/telnyx/models/ai/missions/run_update_response.rbs +4 -103
- data/sig/telnyx/models/ai/missions/runs/plan_add_steps_to_plan_response.rbs +4 -86
- data/sig/telnyx/models/ai/missions/runs/plan_create_response.rbs +4 -86
- data/sig/telnyx/models/ai/missions/runs/plan_get_step_details_response.rbs +4 -88
- data/sig/telnyx/models/ai/missions/runs/plan_retrieve_response.rbs +4 -86
- data/sig/telnyx/models/ai/missions/runs/plan_step_data.rbs +89 -0
- data/sig/telnyx/models/ai/missions/runs/plan_update_step_response.rbs +4 -88
- data/sig/telnyx/models/calls/action_gather_using_speak_params.rbs +1 -34
- data/sig/telnyx/models/calls/action_speak_params.rbs +1 -34
- data/sig/telnyx/models/conferences/action_speak_params.rbs +1 -34
- data/sig/telnyx/models/global_ip_assignment_update_params.rbs +3 -17
- data/sig/telnyx/models/global_ip_create_response.rbs +9 -37
- data/sig/telnyx/models/global_ip_delete_response.rbs +9 -37
- data/sig/telnyx/models/global_ip_health_check_create_response.rbs +7 -35
- data/sig/telnyx/models/global_ip_health_check_delete_response.rbs +7 -35
- data/sig/telnyx/models/global_ip_health_check_list_response.rbs +7 -35
- data/sig/telnyx/models/global_ip_health_check_retrieve_response.rbs +7 -35
- data/sig/telnyx/models/global_ip_list_response.rbs +9 -37
- data/sig/telnyx/models/global_ip_retrieve_response.rbs +9 -37
- data/sig/telnyx/models/messaging_10dlc/brand_get_sms_otp_by_reference_params.rbs +27 -0
- data/sig/telnyx/models/messaging_10dlc/brand_get_sms_otp_by_reference_response.rbs +63 -0
- data/sig/telnyx/models/minimax_voice_settings.rbs +51 -0
- data/sig/telnyx/models/network_create.rbs +6 -39
- data/sig/telnyx/models/network_create_response.rbs +6 -41
- data/sig/telnyx/models/network_delete_response.rbs +6 -41
- data/sig/telnyx/models/network_list_interfaces_response.rbs +4 -106
- data/sig/telnyx/models/network_list_response.rbs +6 -41
- data/sig/telnyx/models/network_retrieve_response.rbs +6 -41
- data/sig/telnyx/models/network_update_response.rbs +6 -41
- data/sig/telnyx/models/networks/default_gateway_create_response.rbs +7 -35
- data/sig/telnyx/models/networks/default_gateway_delete_response.rbs +7 -35
- data/sig/telnyx/models/networks/default_gateway_retrieve_response.rbs +7 -35
- data/sig/telnyx/models/public_internet_gateway_create_response.rbs +4 -73
- data/sig/telnyx/models/public_internet_gateway_delete_response.rbs +4 -73
- data/sig/telnyx/models/public_internet_gateway_list_response.rbs +4 -73
- data/sig/telnyx/models/public_internet_gateway_retrieve_response.rbs +4 -73
- data/sig/telnyx/models/record.rbs +43 -0
- data/sig/telnyx/models/virtual_cross_connect_create_response.rbs +225 -4
- data/sig/telnyx/models/virtual_cross_connect_delete_response.rbs +225 -4
- data/sig/telnyx/models/virtual_cross_connect_list_response.rbs +225 -4
- data/sig/telnyx/models/virtual_cross_connect_retrieve_response.rbs +225 -4
- data/sig/telnyx/models/virtual_cross_connect_update_response.rbs +225 -4
- data/sig/telnyx/models/wireguard_interface_create_response.rbs +4 -120
- data/sig/telnyx/models/wireguard_interface_delete_response.rbs +4 -120
- data/sig/telnyx/models/wireguard_interface_list_response.rbs +4 -120
- data/sig/telnyx/models/wireguard_interface_retrieve_response.rbs +4 -120
- data/sig/telnyx/models/wireguard_peer_create_response.rbs +64 -4
- data/sig/telnyx/models/wireguard_peer_delete_response.rbs +64 -4
- data/sig/telnyx/models/wireguard_peer_list_response.rbs +64 -4
- data/sig/telnyx/models/wireguard_peer_retrieve_response.rbs +64 -4
- data/sig/telnyx/models/wireguard_peer_update_response.rbs +64 -4
- data/sig/telnyx/models.rbs +4 -0
- data/sig/telnyx/resources/ai/missions/runs.rbs +2 -2
- data/sig/telnyx/resources/ai/missions.rbs +1 -1
- data/sig/telnyx/resources/messaging_10dlc/brand.rbs +6 -0
- metadata +23 -11
- data/lib/telnyx/models/ai/missions/run_list_runs_response.rb +0 -95
- data/rbi/telnyx/models/ai/missions/run_list_runs_response.rbi +0 -180
- data/sig/telnyx/models/ai/missions/run_list_runs_response.rbs +0 -102
|
@@ -13,134 +13,8 @@ module Telnyx
|
|
|
13
13
|
# @param data [Telnyx::Models::WireguardInterfaceRetrieveResponse::Data]
|
|
14
14
|
|
|
15
15
|
# @see Telnyx::Models::WireguardInterfaceRetrieveResponse#data
|
|
16
|
-
class Data < Telnyx::
|
|
17
|
-
# @!
|
|
18
|
-
# A user specified name for the interface.
|
|
19
|
-
#
|
|
20
|
-
# @return [String, nil]
|
|
21
|
-
optional :name, String
|
|
22
|
-
|
|
23
|
-
# @!attribute network_id
|
|
24
|
-
# The id of the network associated with the interface.
|
|
25
|
-
#
|
|
26
|
-
# @return [String, nil]
|
|
27
|
-
optional :network_id, String
|
|
28
|
-
|
|
29
|
-
# @!attribute enable_sip_trunking
|
|
30
|
-
# Enable SIP traffic forwarding over VPN interface.
|
|
31
|
-
#
|
|
32
|
-
# @return [Boolean, nil]
|
|
33
|
-
optional :enable_sip_trunking, Telnyx::Internal::Type::Boolean
|
|
34
|
-
|
|
35
|
-
# @!attribute region
|
|
36
|
-
#
|
|
37
|
-
# @return [Telnyx::Models::WireguardInterfaceRetrieveResponse::Data::Region, nil]
|
|
38
|
-
optional :region, -> { Telnyx::Models::WireguardInterfaceRetrieveResponse::Data::Region }
|
|
39
|
-
|
|
40
|
-
# @!attribute region_code
|
|
41
|
-
# The region interface is deployed to.
|
|
42
|
-
#
|
|
43
|
-
# @return [String, nil]
|
|
44
|
-
optional :region_code, String
|
|
45
|
-
|
|
46
|
-
response_only do
|
|
47
|
-
# @!attribute id
|
|
48
|
-
# Identifies the resource.
|
|
49
|
-
#
|
|
50
|
-
# @return [String, nil]
|
|
51
|
-
optional :id, String
|
|
52
|
-
|
|
53
|
-
# @!attribute created_at
|
|
54
|
-
# ISO 8601 formatted date-time indicating when the resource was created.
|
|
55
|
-
#
|
|
56
|
-
# @return [String, nil]
|
|
57
|
-
optional :created_at, String
|
|
58
|
-
|
|
59
|
-
# @!attribute record_type
|
|
60
|
-
# Identifies the type of the resource.
|
|
61
|
-
#
|
|
62
|
-
# @return [String, nil]
|
|
63
|
-
optional :record_type, String
|
|
64
|
-
|
|
65
|
-
# @!attribute updated_at
|
|
66
|
-
# ISO 8601 formatted date-time indicating when the resource was updated.
|
|
67
|
-
#
|
|
68
|
-
# @return [String, nil]
|
|
69
|
-
optional :updated_at, String
|
|
70
|
-
|
|
71
|
-
# @!attribute status
|
|
72
|
-
# The current status of the interface deployment.
|
|
73
|
-
#
|
|
74
|
-
# @return [Symbol, Telnyx::Models::InterfaceStatus, nil]
|
|
75
|
-
optional :status, enum: -> { Telnyx::InterfaceStatus }
|
|
76
|
-
|
|
77
|
-
# @!attribute endpoint
|
|
78
|
-
# The Telnyx WireGuard peers `Peer.endpoint` value.
|
|
79
|
-
#
|
|
80
|
-
# @return [String, nil]
|
|
81
|
-
optional :endpoint, String
|
|
82
|
-
|
|
83
|
-
# @!attribute public_key
|
|
84
|
-
# The Telnyx WireGuard peers `Peer.PublicKey`.
|
|
85
|
-
#
|
|
86
|
-
# @return [String, nil]
|
|
87
|
-
optional :public_key, String
|
|
88
|
-
end
|
|
89
|
-
|
|
90
|
-
# @!method initialize(id: nil, created_at: nil, record_type: nil, updated_at: nil, name: nil, network_id: nil, status: nil, enable_sip_trunking: nil, endpoint: nil, public_key: nil, region: nil, region_code: nil)
|
|
91
|
-
# @param id [String] Identifies the resource.
|
|
92
|
-
#
|
|
93
|
-
# @param created_at [String] ISO 8601 formatted date-time indicating when the resource was created.
|
|
94
|
-
#
|
|
95
|
-
# @param record_type [String] Identifies the type of the resource.
|
|
96
|
-
#
|
|
97
|
-
# @param updated_at [String] ISO 8601 formatted date-time indicating when the resource was updated.
|
|
98
|
-
#
|
|
99
|
-
# @param name [String] A user specified name for the interface.
|
|
100
|
-
#
|
|
101
|
-
# @param network_id [String] The id of the network associated with the interface.
|
|
102
|
-
#
|
|
103
|
-
# @param status [Symbol, Telnyx::Models::InterfaceStatus] The current status of the interface deployment.
|
|
104
|
-
#
|
|
105
|
-
# @param enable_sip_trunking [Boolean] Enable SIP traffic forwarding over VPN interface.
|
|
106
|
-
#
|
|
107
|
-
# @param endpoint [String] The Telnyx WireGuard peers `Peer.endpoint` value.
|
|
108
|
-
#
|
|
109
|
-
# @param public_key [String] The Telnyx WireGuard peers `Peer.PublicKey`.
|
|
110
|
-
#
|
|
111
|
-
# @param region [Telnyx::Models::WireguardInterfaceRetrieveResponse::Data::Region]
|
|
112
|
-
#
|
|
113
|
-
# @param region_code [String] The region interface is deployed to.
|
|
114
|
-
|
|
115
|
-
# @see Telnyx::Models::WireguardInterfaceRetrieveResponse::Data#region
|
|
116
|
-
class Region < Telnyx::Internal::Type::BaseModel
|
|
117
|
-
# @!attribute code
|
|
118
|
-
# Region code of the interface.
|
|
119
|
-
#
|
|
120
|
-
# @return [String, nil]
|
|
121
|
-
optional :code, String
|
|
122
|
-
|
|
123
|
-
# @!attribute name
|
|
124
|
-
# Region name of the interface.
|
|
125
|
-
#
|
|
126
|
-
# @return [String, nil]
|
|
127
|
-
optional :name, String
|
|
128
|
-
|
|
129
|
-
response_only do
|
|
130
|
-
# @!attribute record_type
|
|
131
|
-
# Identifies the type of the resource.
|
|
132
|
-
#
|
|
133
|
-
# @return [String, nil]
|
|
134
|
-
optional :record_type, String
|
|
135
|
-
end
|
|
136
|
-
|
|
137
|
-
# @!method initialize(code: nil, name: nil, record_type: nil)
|
|
138
|
-
# @param code [String] Region code of the interface.
|
|
139
|
-
#
|
|
140
|
-
# @param name [String] Region name of the interface.
|
|
141
|
-
#
|
|
142
|
-
# @param record_type [String] Identifies the type of the resource.
|
|
143
|
-
end
|
|
16
|
+
class Data < Telnyx::Models::Record
|
|
17
|
+
# @!method initialize
|
|
144
18
|
end
|
|
145
19
|
end
|
|
146
20
|
end
|
|
@@ -13,8 +13,81 @@ module Telnyx
|
|
|
13
13
|
# @param data [Telnyx::Models::WireguardPeerCreateResponse::Data]
|
|
14
14
|
|
|
15
15
|
# @see Telnyx::Models::WireguardPeerCreateResponse#data
|
|
16
|
-
class Data < Telnyx::
|
|
17
|
-
# @!
|
|
16
|
+
class Data < Telnyx::Internal::Type::BaseModel
|
|
17
|
+
# @!attribute public_key
|
|
18
|
+
# The WireGuard `PublicKey`.<br /><br />If you do not provide a Public Key, a new
|
|
19
|
+
# Public and Private key pair will be generated for you.
|
|
20
|
+
#
|
|
21
|
+
# @return [String, nil]
|
|
22
|
+
optional :public_key, String
|
|
23
|
+
|
|
24
|
+
# @!attribute wireguard_interface_id
|
|
25
|
+
# The id of the wireguard interface associated with the peer.
|
|
26
|
+
#
|
|
27
|
+
# @return [String, nil]
|
|
28
|
+
optional :wireguard_interface_id, String
|
|
29
|
+
|
|
30
|
+
response_only do
|
|
31
|
+
# @!attribute id
|
|
32
|
+
# Identifies the resource.
|
|
33
|
+
#
|
|
34
|
+
# @return [String, nil]
|
|
35
|
+
optional :id, String
|
|
36
|
+
|
|
37
|
+
# @!attribute created_at
|
|
38
|
+
# ISO 8601 formatted date-time indicating when the resource was created.
|
|
39
|
+
#
|
|
40
|
+
# @return [String, nil]
|
|
41
|
+
optional :created_at, String
|
|
42
|
+
|
|
43
|
+
# @!attribute record_type
|
|
44
|
+
# Identifies the type of the resource.
|
|
45
|
+
#
|
|
46
|
+
# @return [String, nil]
|
|
47
|
+
optional :record_type, String
|
|
48
|
+
|
|
49
|
+
# @!attribute updated_at
|
|
50
|
+
# ISO 8601 formatted date-time indicating when the resource was updated.
|
|
51
|
+
#
|
|
52
|
+
# @return [String, nil]
|
|
53
|
+
optional :updated_at, String
|
|
54
|
+
|
|
55
|
+
# @!attribute last_seen
|
|
56
|
+
# ISO 8601 formatted date-time indicating when peer sent traffic last time.
|
|
57
|
+
#
|
|
58
|
+
# @return [String, nil]
|
|
59
|
+
optional :last_seen, String
|
|
60
|
+
|
|
61
|
+
# @!attribute private_key
|
|
62
|
+
# Your WireGuard `Interface.PrivateKey`.<br /><br />This attribute is only ever
|
|
63
|
+
# utlised if, on POST, you do NOT provide your own `public_key`. In which case, a
|
|
64
|
+
# new Public and Private key pair will be generated for you. When your
|
|
65
|
+
# `private_key` is returned, you must save this immediately as we do not save it
|
|
66
|
+
# within Telnyx. If you lose your Private Key, it can not be recovered.
|
|
67
|
+
#
|
|
68
|
+
# @return [String, nil]
|
|
69
|
+
optional :private_key, String
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
# @!method initialize(id: nil, created_at: nil, record_type: nil, updated_at: nil, public_key: nil, last_seen: nil, private_key: nil, wireguard_interface_id: nil)
|
|
73
|
+
# Some parameter documentations has been truncated, see
|
|
74
|
+
# {Telnyx::Models::WireguardPeerCreateResponse::Data} for more details.
|
|
75
|
+
#
|
|
76
|
+
# @param id [String] Identifies the resource.
|
|
77
|
+
#
|
|
78
|
+
# @param created_at [String] ISO 8601 formatted date-time indicating when the resource was created.
|
|
79
|
+
#
|
|
80
|
+
# @param record_type [String] Identifies the type of the resource.
|
|
81
|
+
#
|
|
82
|
+
# @param updated_at [String] ISO 8601 formatted date-time indicating when the resource was updated.
|
|
83
|
+
#
|
|
84
|
+
# @param public_key [String] The WireGuard `PublicKey`.<br /><br />If you do not provide a Public Key, a new
|
|
85
|
+
#
|
|
86
|
+
# @param last_seen [String] ISO 8601 formatted date-time indicating when peer sent traffic last time.
|
|
87
|
+
#
|
|
88
|
+
# @param private_key [String] Your WireGuard `Interface.PrivateKey`.<br /><br />This attribute is only ever ut
|
|
89
|
+
#
|
|
90
|
+
# @param wireguard_interface_id [String] The id of the wireguard interface associated with the peer.
|
|
18
91
|
end
|
|
19
92
|
end
|
|
20
93
|
end
|
|
@@ -13,8 +13,81 @@ module Telnyx
|
|
|
13
13
|
# @param data [Telnyx::Models::WireguardPeerDeleteResponse::Data]
|
|
14
14
|
|
|
15
15
|
# @see Telnyx::Models::WireguardPeerDeleteResponse#data
|
|
16
|
-
class Data < Telnyx::
|
|
17
|
-
# @!
|
|
16
|
+
class Data < Telnyx::Internal::Type::BaseModel
|
|
17
|
+
# @!attribute public_key
|
|
18
|
+
# The WireGuard `PublicKey`.<br /><br />If you do not provide a Public Key, a new
|
|
19
|
+
# Public and Private key pair will be generated for you.
|
|
20
|
+
#
|
|
21
|
+
# @return [String, nil]
|
|
22
|
+
optional :public_key, String
|
|
23
|
+
|
|
24
|
+
# @!attribute wireguard_interface_id
|
|
25
|
+
# The id of the wireguard interface associated with the peer.
|
|
26
|
+
#
|
|
27
|
+
# @return [String, nil]
|
|
28
|
+
optional :wireguard_interface_id, String
|
|
29
|
+
|
|
30
|
+
response_only do
|
|
31
|
+
# @!attribute id
|
|
32
|
+
# Identifies the resource.
|
|
33
|
+
#
|
|
34
|
+
# @return [String, nil]
|
|
35
|
+
optional :id, String
|
|
36
|
+
|
|
37
|
+
# @!attribute created_at
|
|
38
|
+
# ISO 8601 formatted date-time indicating when the resource was created.
|
|
39
|
+
#
|
|
40
|
+
# @return [String, nil]
|
|
41
|
+
optional :created_at, String
|
|
42
|
+
|
|
43
|
+
# @!attribute record_type
|
|
44
|
+
# Identifies the type of the resource.
|
|
45
|
+
#
|
|
46
|
+
# @return [String, nil]
|
|
47
|
+
optional :record_type, String
|
|
48
|
+
|
|
49
|
+
# @!attribute updated_at
|
|
50
|
+
# ISO 8601 formatted date-time indicating when the resource was updated.
|
|
51
|
+
#
|
|
52
|
+
# @return [String, nil]
|
|
53
|
+
optional :updated_at, String
|
|
54
|
+
|
|
55
|
+
# @!attribute last_seen
|
|
56
|
+
# ISO 8601 formatted date-time indicating when peer sent traffic last time.
|
|
57
|
+
#
|
|
58
|
+
# @return [String, nil]
|
|
59
|
+
optional :last_seen, String
|
|
60
|
+
|
|
61
|
+
# @!attribute private_key
|
|
62
|
+
# Your WireGuard `Interface.PrivateKey`.<br /><br />This attribute is only ever
|
|
63
|
+
# utlised if, on POST, you do NOT provide your own `public_key`. In which case, a
|
|
64
|
+
# new Public and Private key pair will be generated for you. When your
|
|
65
|
+
# `private_key` is returned, you must save this immediately as we do not save it
|
|
66
|
+
# within Telnyx. If you lose your Private Key, it can not be recovered.
|
|
67
|
+
#
|
|
68
|
+
# @return [String, nil]
|
|
69
|
+
optional :private_key, String
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
# @!method initialize(id: nil, created_at: nil, record_type: nil, updated_at: nil, public_key: nil, last_seen: nil, private_key: nil, wireguard_interface_id: nil)
|
|
73
|
+
# Some parameter documentations has been truncated, see
|
|
74
|
+
# {Telnyx::Models::WireguardPeerDeleteResponse::Data} for more details.
|
|
75
|
+
#
|
|
76
|
+
# @param id [String] Identifies the resource.
|
|
77
|
+
#
|
|
78
|
+
# @param created_at [String] ISO 8601 formatted date-time indicating when the resource was created.
|
|
79
|
+
#
|
|
80
|
+
# @param record_type [String] Identifies the type of the resource.
|
|
81
|
+
#
|
|
82
|
+
# @param updated_at [String] ISO 8601 formatted date-time indicating when the resource was updated.
|
|
83
|
+
#
|
|
84
|
+
# @param public_key [String] The WireGuard `PublicKey`.<br /><br />If you do not provide a Public Key, a new
|
|
85
|
+
#
|
|
86
|
+
# @param last_seen [String] ISO 8601 formatted date-time indicating when peer sent traffic last time.
|
|
87
|
+
#
|
|
88
|
+
# @param private_key [String] Your WireGuard `Interface.PrivateKey`.<br /><br />This attribute is only ever ut
|
|
89
|
+
#
|
|
90
|
+
# @param wireguard_interface_id [String] The id of the wireguard interface associated with the peer.
|
|
18
91
|
end
|
|
19
92
|
end
|
|
20
93
|
end
|
|
@@ -3,8 +3,81 @@
|
|
|
3
3
|
module Telnyx
|
|
4
4
|
module Models
|
|
5
5
|
# @see Telnyx::Resources::WireguardPeers#list
|
|
6
|
-
class WireguardPeerListResponse < Telnyx::
|
|
7
|
-
# @!
|
|
6
|
+
class WireguardPeerListResponse < Telnyx::Internal::Type::BaseModel
|
|
7
|
+
# @!attribute public_key
|
|
8
|
+
# The WireGuard `PublicKey`.<br /><br />If you do not provide a Public Key, a new
|
|
9
|
+
# Public and Private key pair will be generated for you.
|
|
10
|
+
#
|
|
11
|
+
# @return [String, nil]
|
|
12
|
+
optional :public_key, String
|
|
13
|
+
|
|
14
|
+
# @!attribute wireguard_interface_id
|
|
15
|
+
# The id of the wireguard interface associated with the peer.
|
|
16
|
+
#
|
|
17
|
+
# @return [String, nil]
|
|
18
|
+
optional :wireguard_interface_id, String
|
|
19
|
+
|
|
20
|
+
response_only do
|
|
21
|
+
# @!attribute id
|
|
22
|
+
# Identifies the resource.
|
|
23
|
+
#
|
|
24
|
+
# @return [String, nil]
|
|
25
|
+
optional :id, String
|
|
26
|
+
|
|
27
|
+
# @!attribute created_at
|
|
28
|
+
# ISO 8601 formatted date-time indicating when the resource was created.
|
|
29
|
+
#
|
|
30
|
+
# @return [String, nil]
|
|
31
|
+
optional :created_at, String
|
|
32
|
+
|
|
33
|
+
# @!attribute record_type
|
|
34
|
+
# Identifies the type of the resource.
|
|
35
|
+
#
|
|
36
|
+
# @return [String, nil]
|
|
37
|
+
optional :record_type, String
|
|
38
|
+
|
|
39
|
+
# @!attribute updated_at
|
|
40
|
+
# ISO 8601 formatted date-time indicating when the resource was updated.
|
|
41
|
+
#
|
|
42
|
+
# @return [String, nil]
|
|
43
|
+
optional :updated_at, String
|
|
44
|
+
|
|
45
|
+
# @!attribute last_seen
|
|
46
|
+
# ISO 8601 formatted date-time indicating when peer sent traffic last time.
|
|
47
|
+
#
|
|
48
|
+
# @return [String, nil]
|
|
49
|
+
optional :last_seen, String
|
|
50
|
+
|
|
51
|
+
# @!attribute private_key
|
|
52
|
+
# Your WireGuard `Interface.PrivateKey`.<br /><br />This attribute is only ever
|
|
53
|
+
# utlised if, on POST, you do NOT provide your own `public_key`. In which case, a
|
|
54
|
+
# new Public and Private key pair will be generated for you. When your
|
|
55
|
+
# `private_key` is returned, you must save this immediately as we do not save it
|
|
56
|
+
# within Telnyx. If you lose your Private Key, it can not be recovered.
|
|
57
|
+
#
|
|
58
|
+
# @return [String, nil]
|
|
59
|
+
optional :private_key, String
|
|
60
|
+
end
|
|
61
|
+
|
|
62
|
+
# @!method initialize(id: nil, created_at: nil, record_type: nil, updated_at: nil, public_key: nil, last_seen: nil, private_key: nil, wireguard_interface_id: nil)
|
|
63
|
+
# Some parameter documentations has been truncated, see
|
|
64
|
+
# {Telnyx::Models::WireguardPeerListResponse} for more details.
|
|
65
|
+
#
|
|
66
|
+
# @param id [String] Identifies the resource.
|
|
67
|
+
#
|
|
68
|
+
# @param created_at [String] ISO 8601 formatted date-time indicating when the resource was created.
|
|
69
|
+
#
|
|
70
|
+
# @param record_type [String] Identifies the type of the resource.
|
|
71
|
+
#
|
|
72
|
+
# @param updated_at [String] ISO 8601 formatted date-time indicating when the resource was updated.
|
|
73
|
+
#
|
|
74
|
+
# @param public_key [String] The WireGuard `PublicKey`.<br /><br />If you do not provide a Public Key, a new
|
|
75
|
+
#
|
|
76
|
+
# @param last_seen [String] ISO 8601 formatted date-time indicating when peer sent traffic last time.
|
|
77
|
+
#
|
|
78
|
+
# @param private_key [String] Your WireGuard `Interface.PrivateKey`.<br /><br />This attribute is only ever ut
|
|
79
|
+
#
|
|
80
|
+
# @param wireguard_interface_id [String] The id of the wireguard interface associated with the peer.
|
|
8
81
|
end
|
|
9
82
|
end
|
|
10
83
|
end
|
|
@@ -13,8 +13,81 @@ module Telnyx
|
|
|
13
13
|
# @param data [Telnyx::Models::WireguardPeerRetrieveResponse::Data]
|
|
14
14
|
|
|
15
15
|
# @see Telnyx::Models::WireguardPeerRetrieveResponse#data
|
|
16
|
-
class Data < Telnyx::
|
|
17
|
-
# @!
|
|
16
|
+
class Data < Telnyx::Internal::Type::BaseModel
|
|
17
|
+
# @!attribute public_key
|
|
18
|
+
# The WireGuard `PublicKey`.<br /><br />If you do not provide a Public Key, a new
|
|
19
|
+
# Public and Private key pair will be generated for you.
|
|
20
|
+
#
|
|
21
|
+
# @return [String, nil]
|
|
22
|
+
optional :public_key, String
|
|
23
|
+
|
|
24
|
+
# @!attribute wireguard_interface_id
|
|
25
|
+
# The id of the wireguard interface associated with the peer.
|
|
26
|
+
#
|
|
27
|
+
# @return [String, nil]
|
|
28
|
+
optional :wireguard_interface_id, String
|
|
29
|
+
|
|
30
|
+
response_only do
|
|
31
|
+
# @!attribute id
|
|
32
|
+
# Identifies the resource.
|
|
33
|
+
#
|
|
34
|
+
# @return [String, nil]
|
|
35
|
+
optional :id, String
|
|
36
|
+
|
|
37
|
+
# @!attribute created_at
|
|
38
|
+
# ISO 8601 formatted date-time indicating when the resource was created.
|
|
39
|
+
#
|
|
40
|
+
# @return [String, nil]
|
|
41
|
+
optional :created_at, String
|
|
42
|
+
|
|
43
|
+
# @!attribute record_type
|
|
44
|
+
# Identifies the type of the resource.
|
|
45
|
+
#
|
|
46
|
+
# @return [String, nil]
|
|
47
|
+
optional :record_type, String
|
|
48
|
+
|
|
49
|
+
# @!attribute updated_at
|
|
50
|
+
# ISO 8601 formatted date-time indicating when the resource was updated.
|
|
51
|
+
#
|
|
52
|
+
# @return [String, nil]
|
|
53
|
+
optional :updated_at, String
|
|
54
|
+
|
|
55
|
+
# @!attribute last_seen
|
|
56
|
+
# ISO 8601 formatted date-time indicating when peer sent traffic last time.
|
|
57
|
+
#
|
|
58
|
+
# @return [String, nil]
|
|
59
|
+
optional :last_seen, String
|
|
60
|
+
|
|
61
|
+
# @!attribute private_key
|
|
62
|
+
# Your WireGuard `Interface.PrivateKey`.<br /><br />This attribute is only ever
|
|
63
|
+
# utlised if, on POST, you do NOT provide your own `public_key`. In which case, a
|
|
64
|
+
# new Public and Private key pair will be generated for you. When your
|
|
65
|
+
# `private_key` is returned, you must save this immediately as we do not save it
|
|
66
|
+
# within Telnyx. If you lose your Private Key, it can not be recovered.
|
|
67
|
+
#
|
|
68
|
+
# @return [String, nil]
|
|
69
|
+
optional :private_key, String
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
# @!method initialize(id: nil, created_at: nil, record_type: nil, updated_at: nil, public_key: nil, last_seen: nil, private_key: nil, wireguard_interface_id: nil)
|
|
73
|
+
# Some parameter documentations has been truncated, see
|
|
74
|
+
# {Telnyx::Models::WireguardPeerRetrieveResponse::Data} for more details.
|
|
75
|
+
#
|
|
76
|
+
# @param id [String] Identifies the resource.
|
|
77
|
+
#
|
|
78
|
+
# @param created_at [String] ISO 8601 formatted date-time indicating when the resource was created.
|
|
79
|
+
#
|
|
80
|
+
# @param record_type [String] Identifies the type of the resource.
|
|
81
|
+
#
|
|
82
|
+
# @param updated_at [String] ISO 8601 formatted date-time indicating when the resource was updated.
|
|
83
|
+
#
|
|
84
|
+
# @param public_key [String] The WireGuard `PublicKey`.<br /><br />If you do not provide a Public Key, a new
|
|
85
|
+
#
|
|
86
|
+
# @param last_seen [String] ISO 8601 formatted date-time indicating when peer sent traffic last time.
|
|
87
|
+
#
|
|
88
|
+
# @param private_key [String] Your WireGuard `Interface.PrivateKey`.<br /><br />This attribute is only ever ut
|
|
89
|
+
#
|
|
90
|
+
# @param wireguard_interface_id [String] The id of the wireguard interface associated with the peer.
|
|
18
91
|
end
|
|
19
92
|
end
|
|
20
93
|
end
|
|
@@ -13,8 +13,81 @@ module Telnyx
|
|
|
13
13
|
# @param data [Telnyx::Models::WireguardPeerUpdateResponse::Data]
|
|
14
14
|
|
|
15
15
|
# @see Telnyx::Models::WireguardPeerUpdateResponse#data
|
|
16
|
-
class Data < Telnyx::
|
|
17
|
-
# @!
|
|
16
|
+
class Data < Telnyx::Internal::Type::BaseModel
|
|
17
|
+
# @!attribute public_key
|
|
18
|
+
# The WireGuard `PublicKey`.<br /><br />If you do not provide a Public Key, a new
|
|
19
|
+
# Public and Private key pair will be generated for you.
|
|
20
|
+
#
|
|
21
|
+
# @return [String, nil]
|
|
22
|
+
optional :public_key, String
|
|
23
|
+
|
|
24
|
+
# @!attribute wireguard_interface_id
|
|
25
|
+
# The id of the wireguard interface associated with the peer.
|
|
26
|
+
#
|
|
27
|
+
# @return [String, nil]
|
|
28
|
+
optional :wireguard_interface_id, String
|
|
29
|
+
|
|
30
|
+
response_only do
|
|
31
|
+
# @!attribute id
|
|
32
|
+
# Identifies the resource.
|
|
33
|
+
#
|
|
34
|
+
# @return [String, nil]
|
|
35
|
+
optional :id, String
|
|
36
|
+
|
|
37
|
+
# @!attribute created_at
|
|
38
|
+
# ISO 8601 formatted date-time indicating when the resource was created.
|
|
39
|
+
#
|
|
40
|
+
# @return [String, nil]
|
|
41
|
+
optional :created_at, String
|
|
42
|
+
|
|
43
|
+
# @!attribute record_type
|
|
44
|
+
# Identifies the type of the resource.
|
|
45
|
+
#
|
|
46
|
+
# @return [String, nil]
|
|
47
|
+
optional :record_type, String
|
|
48
|
+
|
|
49
|
+
# @!attribute updated_at
|
|
50
|
+
# ISO 8601 formatted date-time indicating when the resource was updated.
|
|
51
|
+
#
|
|
52
|
+
# @return [String, nil]
|
|
53
|
+
optional :updated_at, String
|
|
54
|
+
|
|
55
|
+
# @!attribute last_seen
|
|
56
|
+
# ISO 8601 formatted date-time indicating when peer sent traffic last time.
|
|
57
|
+
#
|
|
58
|
+
# @return [String, nil]
|
|
59
|
+
optional :last_seen, String
|
|
60
|
+
|
|
61
|
+
# @!attribute private_key
|
|
62
|
+
# Your WireGuard `Interface.PrivateKey`.<br /><br />This attribute is only ever
|
|
63
|
+
# utlised if, on POST, you do NOT provide your own `public_key`. In which case, a
|
|
64
|
+
# new Public and Private key pair will be generated for you. When your
|
|
65
|
+
# `private_key` is returned, you must save this immediately as we do not save it
|
|
66
|
+
# within Telnyx. If you lose your Private Key, it can not be recovered.
|
|
67
|
+
#
|
|
68
|
+
# @return [String, nil]
|
|
69
|
+
optional :private_key, String
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
# @!method initialize(id: nil, created_at: nil, record_type: nil, updated_at: nil, public_key: nil, last_seen: nil, private_key: nil, wireguard_interface_id: nil)
|
|
73
|
+
# Some parameter documentations has been truncated, see
|
|
74
|
+
# {Telnyx::Models::WireguardPeerUpdateResponse::Data} for more details.
|
|
75
|
+
#
|
|
76
|
+
# @param id [String] Identifies the resource.
|
|
77
|
+
#
|
|
78
|
+
# @param created_at [String] ISO 8601 formatted date-time indicating when the resource was created.
|
|
79
|
+
#
|
|
80
|
+
# @param record_type [String] Identifies the type of the resource.
|
|
81
|
+
#
|
|
82
|
+
# @param updated_at [String] ISO 8601 formatted date-time indicating when the resource was updated.
|
|
83
|
+
#
|
|
84
|
+
# @param public_key [String] The WireGuard `PublicKey`.<br /><br />If you do not provide a Public Key, a new
|
|
85
|
+
#
|
|
86
|
+
# @param last_seen [String] ISO 8601 formatted date-time indicating when peer sent traffic last time.
|
|
87
|
+
#
|
|
88
|
+
# @param private_key [String] Your WireGuard `Interface.PrivateKey`.<br /><br />This attribute is only ever ut
|
|
89
|
+
#
|
|
90
|
+
# @param wireguard_interface_id [String] The id of the wireguard interface associated with the peer.
|
|
18
91
|
end
|
|
19
92
|
end
|
|
20
93
|
end
|
data/lib/telnyx/models.rb
CHANGED
|
@@ -831,6 +831,8 @@ module Telnyx
|
|
|
831
831
|
|
|
832
832
|
Metadata = Telnyx::Models::Metadata
|
|
833
833
|
|
|
834
|
+
MinimaxVoiceSettings = Telnyx::Models::MinimaxVoiceSettings
|
|
835
|
+
|
|
834
836
|
MobileNetworkOperatorListParams = Telnyx::Models::MobileNetworkOperatorListParams
|
|
835
837
|
|
|
836
838
|
MobilePhoneNumber = Telnyx::Models::MobilePhoneNumber
|
|
@@ -1182,6 +1184,8 @@ module Telnyx
|
|
|
1182
1184
|
|
|
1183
1185
|
RcsSuggestion = Telnyx::Models::RcsSuggestion
|
|
1184
1186
|
|
|
1187
|
+
Record = Telnyx::Models::Record
|
|
1188
|
+
|
|
1185
1189
|
RecordingDeleteParams = Telnyx::Models::RecordingDeleteParams
|
|
1186
1190
|
|
|
1187
1191
|
RecordingListParams = Telnyx::Models::RecordingListParams
|
|
@@ -114,7 +114,7 @@ module Telnyx
|
|
|
114
114
|
#
|
|
115
115
|
# @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
116
116
|
#
|
|
117
|
-
# @return [Telnyx::Internal::DefaultFlatPagination<Telnyx::Models::AI::Missions::
|
|
117
|
+
# @return [Telnyx::Internal::DefaultFlatPagination<Telnyx::Models::AI::Missions::MissionRunData>]
|
|
118
118
|
#
|
|
119
119
|
# @see Telnyx::Models::AI::Missions::RunListParams
|
|
120
120
|
def list(mission_id, params = {})
|
|
@@ -124,7 +124,7 @@ module Telnyx
|
|
|
124
124
|
path: ["ai/missions/%1$s/runs", mission_id],
|
|
125
125
|
query: parsed.transform_keys(page_number: "page[number]", page_size: "page[size]"),
|
|
126
126
|
page: Telnyx::Internal::DefaultFlatPagination,
|
|
127
|
-
model: Telnyx::
|
|
127
|
+
model: Telnyx::AI::Missions::MissionRunData,
|
|
128
128
|
options: options
|
|
129
129
|
)
|
|
130
130
|
end
|
|
@@ -166,7 +166,7 @@ module Telnyx
|
|
|
166
166
|
#
|
|
167
167
|
# @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
168
168
|
#
|
|
169
|
-
# @return [Telnyx::Internal::DefaultFlatPagination<Telnyx::Models::AI::Missions::
|
|
169
|
+
# @return [Telnyx::Internal::DefaultFlatPagination<Telnyx::Models::AI::Missions::MissionRunData>]
|
|
170
170
|
#
|
|
171
171
|
# @see Telnyx::Models::AI::Missions::RunListRunsParams
|
|
172
172
|
def list_runs(params = {})
|
|
@@ -176,7 +176,7 @@ module Telnyx
|
|
|
176
176
|
path: "ai/missions/runs",
|
|
177
177
|
query: parsed.transform_keys(page_number: "page[number]", page_size: "page[size]"),
|
|
178
178
|
page: Telnyx::Internal::DefaultFlatPagination,
|
|
179
|
-
model: Telnyx::
|
|
179
|
+
model: Telnyx::AI::Missions::MissionRunData,
|
|
180
180
|
options: options
|
|
181
181
|
)
|
|
182
182
|
end
|
|
@@ -71,7 +71,7 @@ module Telnyx
|
|
|
71
71
|
#
|
|
72
72
|
# @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
73
73
|
#
|
|
74
|
-
# @return [Telnyx::Internal::DefaultFlatPagination<Telnyx::Models::AI::
|
|
74
|
+
# @return [Telnyx::Internal::DefaultFlatPagination<Telnyx::Models::AI::MissionData>]
|
|
75
75
|
#
|
|
76
76
|
# @see Telnyx::Models::AI::MissionListParams
|
|
77
77
|
def list(params = {})
|
|
@@ -81,7 +81,7 @@ module Telnyx
|
|
|
81
81
|
path: "ai/missions",
|
|
82
82
|
query: parsed.transform_keys(page_number: "page[number]", page_size: "page[size]"),
|
|
83
83
|
page: Telnyx::Internal::DefaultFlatPagination,
|
|
84
|
-
model: Telnyx::
|
|
84
|
+
model: Telnyx::AI::MissionData,
|
|
85
85
|
options: options
|
|
86
86
|
)
|
|
87
87
|
end
|
|
@@ -459,7 +459,7 @@ module Telnyx
|
|
|
459
459
|
#
|
|
460
460
|
# @param valid_digits [String] A list of all digits accepted as valid.
|
|
461
461
|
#
|
|
462
|
-
# @param voice_settings [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::
|
|
462
|
+
# @param voice_settings [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::MinimaxVoiceSettings] The settings associated with the voice selected
|
|
463
463
|
#
|
|
464
464
|
# @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
465
465
|
#
|
|
@@ -799,7 +799,7 @@ module Telnyx
|
|
|
799
799
|
#
|
|
800
800
|
# @param stop [String] When specified, it stops the current audio being played. Specify `current` to st
|
|
801
801
|
#
|
|
802
|
-
# @param voice_settings [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::
|
|
802
|
+
# @param voice_settings [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::MinimaxVoiceSettings] The settings associated with the voice selected
|
|
803
803
|
#
|
|
804
804
|
# @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
805
805
|
#
|
|
@@ -399,7 +399,7 @@ module Telnyx
|
|
|
399
399
|
#
|
|
400
400
|
# @param region [Symbol, Telnyx::Models::Conferences::ActionSpeakParams::Region] Region where the conference data is located. Defaults to the region defined in u
|
|
401
401
|
#
|
|
402
|
-
# @param voice_settings [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::
|
|
402
|
+
# @param voice_settings [Telnyx::Models::Calls::ElevenLabsVoiceSettings, Telnyx::Models::Calls::TelnyxVoiceSettings, Telnyx::Models::Calls::AwsVoiceSettings, Telnyx::Models::MinimaxVoiceSettings] The settings associated with the voice selected
|
|
403
403
|
#
|
|
404
404
|
# @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
405
405
|
#
|
|
@@ -73,7 +73,7 @@ module Telnyx
|
|
|
73
73
|
# @param page_size [Integer]
|
|
74
74
|
# @param request_options [Telnyx::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
75
75
|
#
|
|
76
|
-
# @return [Telnyx::Internal::DefaultFlatPagination<GlobalIPAssignment>]
|
|
76
|
+
# @return [Telnyx::Internal::DefaultFlatPagination<Telnyx::Models::GlobalIPAssignment>]
|
|
77
77
|
#
|
|
78
78
|
# @see Telnyx::Models::GlobalIPAssignmentListParams
|
|
79
79
|
def list(params = {})
|