telnyx 4.1.0 → 4.2.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 +15 -0
- data/README.md +1 -1
- data/lib/telnyx/models/calls/action_start_transcription_params.rb +3 -3
- data/lib/telnyx/models/calls/transcription_start_request.rb +56 -56
- data/lib/telnyx/models/messaging_profile.rb +9 -1
- data/lib/telnyx/models/messaging_profile_create_params.rb +9 -1
- data/lib/telnyx/models/messaging_profile_update_params.rb +9 -1
- data/lib/telnyx/models/network_list_interfaces_response.rb +114 -0
- data/lib/telnyx/models/public_internet_gateway_create_response.rb +115 -0
- data/lib/telnyx/models/public_internet_gateway_delete_response.rb +115 -0
- data/lib/telnyx/models/public_internet_gateway_list_response.rb +114 -0
- data/lib/telnyx/models/public_internet_gateway_retrieve_response.rb +115 -0
- data/lib/telnyx/models/texml/accounts/call_calls_params.rb +33 -1
- data/lib/telnyx/models/texml/accounts/conferences/participant_participants_params.rb +33 -1
- data/lib/telnyx/models/virtual_cross_connect_create_response.rb +275 -0
- data/lib/telnyx/models/virtual_cross_connect_delete_response.rb +275 -0
- data/lib/telnyx/models/virtual_cross_connect_list_response.rb +274 -0
- data/lib/telnyx/models/virtual_cross_connect_retrieve_response.rb +275 -0
- data/lib/telnyx/models/virtual_cross_connect_update_response.rb +275 -0
- data/lib/telnyx/models/wireguard_interface_create_response.rb +131 -0
- data/lib/telnyx/models/wireguard_interface_delete_response.rb +131 -0
- data/lib/telnyx/models/wireguard_interface_list_response.rb +130 -0
- data/lib/telnyx/models/wireguard_interface_retrieve_response.rb +131 -0
- data/lib/telnyx/models/wireguard_peer_create_response.rb +78 -0
- data/lib/telnyx/models/wireguard_peer_delete_response.rb +78 -0
- data/lib/telnyx/models/wireguard_peer_list_response.rb +77 -0
- data/lib/telnyx/models/wireguard_peer_retrieve_response.rb +78 -0
- data/lib/telnyx/models/wireguard_peer_update_response.rb +78 -0
- data/lib/telnyx/resources/calls/actions.rb +1 -1
- data/lib/telnyx/resources/messaging_profiles.rb +6 -2
- data/lib/telnyx/resources/texml/accounts/calls.rb +3 -1
- data/lib/telnyx/resources/texml/accounts/conferences/participants.rb +3 -1
- data/lib/telnyx/version.rb +1 -1
- data/rbi/telnyx/models/calls/action_start_transcription_params.rbi +6 -6
- data/rbi/telnyx/models/calls/transcription_start_request.rbi +266 -263
- data/rbi/telnyx/models/messaging_profile.rbi +11 -0
- data/rbi/telnyx/models/messaging_profile_create_params.rbi +11 -0
- data/rbi/telnyx/models/messaging_profile_update_params.rbi +11 -0
- data/rbi/telnyx/models/network_list_interfaces_response.rbi +202 -0
- data/rbi/telnyx/models/public_internet_gateway_create_response.rbi +202 -0
- data/rbi/telnyx/models/public_internet_gateway_delete_response.rbi +202 -0
- data/rbi/telnyx/models/public_internet_gateway_list_response.rbi +202 -0
- data/rbi/telnyx/models/public_internet_gateway_retrieve_response.rbi +202 -0
- data/rbi/telnyx/models/texml/accounts/call_calls_params.rbi +65 -0
- data/rbi/telnyx/models/texml/accounts/conferences/participant_participants_params.rbi +67 -0
- data/rbi/telnyx/models/virtual_cross_connect_create_response.rbi +444 -0
- data/rbi/telnyx/models/virtual_cross_connect_delete_response.rbi +444 -0
- data/rbi/telnyx/models/virtual_cross_connect_list_response.rbi +444 -0
- data/rbi/telnyx/models/virtual_cross_connect_retrieve_response.rbi +444 -0
- data/rbi/telnyx/models/virtual_cross_connect_update_response.rbi +444 -0
- data/rbi/telnyx/models/wireguard_interface_create_response.rbi +224 -0
- data/rbi/telnyx/models/wireguard_interface_delete_response.rbi +224 -0
- data/rbi/telnyx/models/wireguard_interface_list_response.rbi +224 -0
- data/rbi/telnyx/models/wireguard_interface_retrieve_response.rbi +224 -0
- data/rbi/telnyx/models/wireguard_peer_create_response.rbi +125 -0
- data/rbi/telnyx/models/wireguard_peer_delete_response.rbi +125 -0
- data/rbi/telnyx/models/wireguard_peer_list_response.rbi +125 -0
- data/rbi/telnyx/models/wireguard_peer_retrieve_response.rbi +125 -0
- data/rbi/telnyx/models/wireguard_peer_update_response.rbi +125 -0
- data/rbi/telnyx/resources/calls/actions.rbi +5 -5
- data/rbi/telnyx/resources/messaging_profiles.rbi +6 -0
- data/rbi/telnyx/resources/texml/accounts/calls.rbi +7 -0
- data/rbi/telnyx/resources/texml/accounts/conferences/participants.rbi +7 -0
- data/sig/telnyx/models/calls/action_start_transcription_params.rbs +5 -5
- data/sig/telnyx/models/calls/transcription_start_request.rbs +83 -83
- data/sig/telnyx/models/messaging_profile.rbs +7 -0
- data/sig/telnyx/models/messaging_profile_create_params.rbs +7 -0
- data/sig/telnyx/models/messaging_profile_update_params.rbs +7 -0
- data/sig/telnyx/models/network_list_interfaces_response.rbs +110 -0
- data/sig/telnyx/models/public_internet_gateway_create_response.rbs +110 -0
- data/sig/telnyx/models/public_internet_gateway_delete_response.rbs +110 -0
- data/sig/telnyx/models/public_internet_gateway_list_response.rbs +110 -0
- data/sig/telnyx/models/public_internet_gateway_retrieve_response.rbs +110 -0
- data/sig/telnyx/models/texml/accounts/call_calls_params.rbs +21 -0
- data/sig/telnyx/models/texml/accounts/conferences/participant_participants_params.rbs +21 -0
- data/sig/telnyx/models/virtual_cross_connect_create_response.rbs +219 -0
- data/sig/telnyx/models/virtual_cross_connect_delete_response.rbs +219 -0
- data/sig/telnyx/models/virtual_cross_connect_list_response.rbs +219 -0
- data/sig/telnyx/models/virtual_cross_connect_retrieve_response.rbs +219 -0
- data/sig/telnyx/models/virtual_cross_connect_update_response.rbs +219 -0
- data/sig/telnyx/models/wireguard_interface_create_response.rbs +124 -0
- data/sig/telnyx/models/wireguard_interface_delete_response.rbs +124 -0
- data/sig/telnyx/models/wireguard_interface_list_response.rbs +124 -0
- data/sig/telnyx/models/wireguard_interface_retrieve_response.rbs +124 -0
- data/sig/telnyx/models/wireguard_peer_create_response.rbs +68 -0
- data/sig/telnyx/models/wireguard_peer_delete_response.rbs +68 -0
- data/sig/telnyx/models/wireguard_peer_list_response.rbs +68 -0
- data/sig/telnyx/models/wireguard_peer_retrieve_response.rbs +68 -0
- data/sig/telnyx/models/wireguard_peer_update_response.rbs +68 -0
- data/sig/telnyx/resources/calls/actions.rbs +1 -1
- data/sig/telnyx/resources/messaging_profiles.rbs +2 -0
- data/sig/telnyx/resources/texml/accounts/calls.rbs +1 -0
- data/sig/telnyx/resources/texml/accounts/conferences/participants.rbs +1 -0
- metadata +2 -2
@@ -11,6 +11,121 @@ module Telnyx
|
|
11
11
|
|
12
12
|
# @!method initialize(data: nil)
|
13
13
|
# @param data [Telnyx::Models::PublicInternetGatewayCreateResponse::Data]
|
14
|
+
|
15
|
+
# @see Telnyx::Models::PublicInternetGatewayCreateResponse#data
|
16
|
+
class Data < Telnyx::Internal::Type::BaseModel
|
17
|
+
# @!attribute name
|
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 region
|
30
|
+
#
|
31
|
+
# @return [Telnyx::Models::PublicInternetGatewayCreateResponse::Data::Region, nil]
|
32
|
+
optional :region, -> { Telnyx::Models::PublicInternetGatewayCreateResponse::Data::Region }
|
33
|
+
|
34
|
+
# @!attribute region_code
|
35
|
+
# The region interface is deployed to.
|
36
|
+
#
|
37
|
+
# @return [String, nil]
|
38
|
+
optional :region_code, String
|
39
|
+
|
40
|
+
response_only do
|
41
|
+
# @!attribute id
|
42
|
+
# Identifies the resource.
|
43
|
+
#
|
44
|
+
# @return [String, nil]
|
45
|
+
optional :id, String
|
46
|
+
|
47
|
+
# @!attribute created_at
|
48
|
+
# ISO 8601 formatted date-time indicating when the resource was created.
|
49
|
+
#
|
50
|
+
# @return [String, nil]
|
51
|
+
optional :created_at, String
|
52
|
+
|
53
|
+
# @!attribute record_type
|
54
|
+
# Identifies the type of the resource.
|
55
|
+
#
|
56
|
+
# @return [String, nil]
|
57
|
+
optional :record_type, String
|
58
|
+
|
59
|
+
# @!attribute updated_at
|
60
|
+
# ISO 8601 formatted date-time indicating when the resource was updated.
|
61
|
+
#
|
62
|
+
# @return [String, nil]
|
63
|
+
optional :updated_at, String
|
64
|
+
|
65
|
+
# @!attribute status
|
66
|
+
# The current status of the interface deployment.
|
67
|
+
#
|
68
|
+
# @return [Symbol, Telnyx::Models::InterfaceStatus, nil]
|
69
|
+
optional :status, enum: -> { Telnyx::InterfaceStatus }
|
70
|
+
|
71
|
+
# @!attribute public_ip
|
72
|
+
# The publically accessible ip for this interface.
|
73
|
+
#
|
74
|
+
# @return [String, nil]
|
75
|
+
optional :public_ip, String
|
76
|
+
end
|
77
|
+
|
78
|
+
# @!method initialize(id: nil, created_at: nil, record_type: nil, updated_at: nil, name: nil, network_id: nil, status: nil, public_ip: nil, region: nil, region_code: nil)
|
79
|
+
# @param id [String] Identifies the resource.
|
80
|
+
#
|
81
|
+
# @param created_at [String] ISO 8601 formatted date-time indicating when the resource was created.
|
82
|
+
#
|
83
|
+
# @param record_type [String] Identifies the type of the resource.
|
84
|
+
#
|
85
|
+
# @param updated_at [String] ISO 8601 formatted date-time indicating when the resource was updated.
|
86
|
+
#
|
87
|
+
# @param name [String] A user specified name for the interface.
|
88
|
+
#
|
89
|
+
# @param network_id [String] The id of the network associated with the interface.
|
90
|
+
#
|
91
|
+
# @param status [Symbol, Telnyx::Models::InterfaceStatus] The current status of the interface deployment.
|
92
|
+
#
|
93
|
+
# @param public_ip [String] The publically accessible ip for this interface.
|
94
|
+
#
|
95
|
+
# @param region [Telnyx::Models::PublicInternetGatewayCreateResponse::Data::Region]
|
96
|
+
#
|
97
|
+
# @param region_code [String] The region interface is deployed to.
|
98
|
+
|
99
|
+
# @see Telnyx::Models::PublicInternetGatewayCreateResponse::Data#region
|
100
|
+
class Region < Telnyx::Internal::Type::BaseModel
|
101
|
+
# @!attribute code
|
102
|
+
# Region code of the interface.
|
103
|
+
#
|
104
|
+
# @return [String, nil]
|
105
|
+
optional :code, String
|
106
|
+
|
107
|
+
# @!attribute name
|
108
|
+
# Region name of the interface.
|
109
|
+
#
|
110
|
+
# @return [String, nil]
|
111
|
+
optional :name, String
|
112
|
+
|
113
|
+
response_only do
|
114
|
+
# @!attribute record_type
|
115
|
+
# Identifies the type of the resource.
|
116
|
+
#
|
117
|
+
# @return [String, nil]
|
118
|
+
optional :record_type, String
|
119
|
+
end
|
120
|
+
|
121
|
+
# @!method initialize(code: nil, name: nil, record_type: nil)
|
122
|
+
# @param code [String] Region code of the interface.
|
123
|
+
#
|
124
|
+
# @param name [String] Region name of the interface.
|
125
|
+
#
|
126
|
+
# @param record_type [String] Identifies the type of the resource.
|
127
|
+
end
|
128
|
+
end
|
14
129
|
end
|
15
130
|
end
|
16
131
|
end
|
@@ -11,6 +11,121 @@ module Telnyx
|
|
11
11
|
|
12
12
|
# @!method initialize(data: nil)
|
13
13
|
# @param data [Telnyx::Models::PublicInternetGatewayDeleteResponse::Data]
|
14
|
+
|
15
|
+
# @see Telnyx::Models::PublicInternetGatewayDeleteResponse#data
|
16
|
+
class Data < Telnyx::Internal::Type::BaseModel
|
17
|
+
# @!attribute name
|
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 region
|
30
|
+
#
|
31
|
+
# @return [Telnyx::Models::PublicInternetGatewayDeleteResponse::Data::Region, nil]
|
32
|
+
optional :region, -> { Telnyx::Models::PublicInternetGatewayDeleteResponse::Data::Region }
|
33
|
+
|
34
|
+
# @!attribute region_code
|
35
|
+
# The region interface is deployed to.
|
36
|
+
#
|
37
|
+
# @return [String, nil]
|
38
|
+
optional :region_code, String
|
39
|
+
|
40
|
+
response_only do
|
41
|
+
# @!attribute id
|
42
|
+
# Identifies the resource.
|
43
|
+
#
|
44
|
+
# @return [String, nil]
|
45
|
+
optional :id, String
|
46
|
+
|
47
|
+
# @!attribute created_at
|
48
|
+
# ISO 8601 formatted date-time indicating when the resource was created.
|
49
|
+
#
|
50
|
+
# @return [String, nil]
|
51
|
+
optional :created_at, String
|
52
|
+
|
53
|
+
# @!attribute record_type
|
54
|
+
# Identifies the type of the resource.
|
55
|
+
#
|
56
|
+
# @return [String, nil]
|
57
|
+
optional :record_type, String
|
58
|
+
|
59
|
+
# @!attribute updated_at
|
60
|
+
# ISO 8601 formatted date-time indicating when the resource was updated.
|
61
|
+
#
|
62
|
+
# @return [String, nil]
|
63
|
+
optional :updated_at, String
|
64
|
+
|
65
|
+
# @!attribute status
|
66
|
+
# The current status of the interface deployment.
|
67
|
+
#
|
68
|
+
# @return [Symbol, Telnyx::Models::InterfaceStatus, nil]
|
69
|
+
optional :status, enum: -> { Telnyx::InterfaceStatus }
|
70
|
+
|
71
|
+
# @!attribute public_ip
|
72
|
+
# The publically accessible ip for this interface.
|
73
|
+
#
|
74
|
+
# @return [String, nil]
|
75
|
+
optional :public_ip, String
|
76
|
+
end
|
77
|
+
|
78
|
+
# @!method initialize(id: nil, created_at: nil, record_type: nil, updated_at: nil, name: nil, network_id: nil, status: nil, public_ip: nil, region: nil, region_code: nil)
|
79
|
+
# @param id [String] Identifies the resource.
|
80
|
+
#
|
81
|
+
# @param created_at [String] ISO 8601 formatted date-time indicating when the resource was created.
|
82
|
+
#
|
83
|
+
# @param record_type [String] Identifies the type of the resource.
|
84
|
+
#
|
85
|
+
# @param updated_at [String] ISO 8601 formatted date-time indicating when the resource was updated.
|
86
|
+
#
|
87
|
+
# @param name [String] A user specified name for the interface.
|
88
|
+
#
|
89
|
+
# @param network_id [String] The id of the network associated with the interface.
|
90
|
+
#
|
91
|
+
# @param status [Symbol, Telnyx::Models::InterfaceStatus] The current status of the interface deployment.
|
92
|
+
#
|
93
|
+
# @param public_ip [String] The publically accessible ip for this interface.
|
94
|
+
#
|
95
|
+
# @param region [Telnyx::Models::PublicInternetGatewayDeleteResponse::Data::Region]
|
96
|
+
#
|
97
|
+
# @param region_code [String] The region interface is deployed to.
|
98
|
+
|
99
|
+
# @see Telnyx::Models::PublicInternetGatewayDeleteResponse::Data#region
|
100
|
+
class Region < Telnyx::Internal::Type::BaseModel
|
101
|
+
# @!attribute code
|
102
|
+
# Region code of the interface.
|
103
|
+
#
|
104
|
+
# @return [String, nil]
|
105
|
+
optional :code, String
|
106
|
+
|
107
|
+
# @!attribute name
|
108
|
+
# Region name of the interface.
|
109
|
+
#
|
110
|
+
# @return [String, nil]
|
111
|
+
optional :name, String
|
112
|
+
|
113
|
+
response_only do
|
114
|
+
# @!attribute record_type
|
115
|
+
# Identifies the type of the resource.
|
116
|
+
#
|
117
|
+
# @return [String, nil]
|
118
|
+
optional :record_type, String
|
119
|
+
end
|
120
|
+
|
121
|
+
# @!method initialize(code: nil, name: nil, record_type: nil)
|
122
|
+
# @param code [String] Region code of the interface.
|
123
|
+
#
|
124
|
+
# @param name [String] Region name of the interface.
|
125
|
+
#
|
126
|
+
# @param record_type [String] Identifies the type of the resource.
|
127
|
+
end
|
128
|
+
end
|
14
129
|
end
|
15
130
|
end
|
16
131
|
end
|
@@ -18,6 +18,120 @@ module Telnyx
|
|
18
18
|
# @!method initialize(data: nil, meta: nil)
|
19
19
|
# @param data [Array<Telnyx::Models::PublicInternetGatewayListResponse::Data>]
|
20
20
|
# @param meta [Telnyx::Models::PaginationMeta]
|
21
|
+
|
22
|
+
class Data < Telnyx::Internal::Type::BaseModel
|
23
|
+
# @!attribute name
|
24
|
+
# A user specified name for the interface.
|
25
|
+
#
|
26
|
+
# @return [String, nil]
|
27
|
+
optional :name, String
|
28
|
+
|
29
|
+
# @!attribute network_id
|
30
|
+
# The id of the network associated with the interface.
|
31
|
+
#
|
32
|
+
# @return [String, nil]
|
33
|
+
optional :network_id, String
|
34
|
+
|
35
|
+
# @!attribute region
|
36
|
+
#
|
37
|
+
# @return [Telnyx::Models::PublicInternetGatewayListResponse::Data::Region, nil]
|
38
|
+
optional :region, -> { Telnyx::Models::PublicInternetGatewayListResponse::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 public_ip
|
78
|
+
# The publically accessible ip for this interface.
|
79
|
+
#
|
80
|
+
# @return [String, nil]
|
81
|
+
optional :public_ip, String
|
82
|
+
end
|
83
|
+
|
84
|
+
# @!method initialize(id: nil, created_at: nil, record_type: nil, updated_at: nil, name: nil, network_id: nil, status: nil, public_ip: nil, region: nil, region_code: nil)
|
85
|
+
# @param id [String] Identifies the resource.
|
86
|
+
#
|
87
|
+
# @param created_at [String] ISO 8601 formatted date-time indicating when the resource was created.
|
88
|
+
#
|
89
|
+
# @param record_type [String] Identifies the type of the resource.
|
90
|
+
#
|
91
|
+
# @param updated_at [String] ISO 8601 formatted date-time indicating when the resource was updated.
|
92
|
+
#
|
93
|
+
# @param name [String] A user specified name for the interface.
|
94
|
+
#
|
95
|
+
# @param network_id [String] The id of the network associated with the interface.
|
96
|
+
#
|
97
|
+
# @param status [Symbol, Telnyx::Models::InterfaceStatus] The current status of the interface deployment.
|
98
|
+
#
|
99
|
+
# @param public_ip [String] The publically accessible ip for this interface.
|
100
|
+
#
|
101
|
+
# @param region [Telnyx::Models::PublicInternetGatewayListResponse::Data::Region]
|
102
|
+
#
|
103
|
+
# @param region_code [String] The region interface is deployed to.
|
104
|
+
|
105
|
+
# @see Telnyx::Models::PublicInternetGatewayListResponse::Data#region
|
106
|
+
class Region < Telnyx::Internal::Type::BaseModel
|
107
|
+
# @!attribute code
|
108
|
+
# Region code of the interface.
|
109
|
+
#
|
110
|
+
# @return [String, nil]
|
111
|
+
optional :code, String
|
112
|
+
|
113
|
+
# @!attribute name
|
114
|
+
# Region name of the interface.
|
115
|
+
#
|
116
|
+
# @return [String, nil]
|
117
|
+
optional :name, String
|
118
|
+
|
119
|
+
response_only do
|
120
|
+
# @!attribute record_type
|
121
|
+
# Identifies the type of the resource.
|
122
|
+
#
|
123
|
+
# @return [String, nil]
|
124
|
+
optional :record_type, String
|
125
|
+
end
|
126
|
+
|
127
|
+
# @!method initialize(code: nil, name: nil, record_type: nil)
|
128
|
+
# @param code [String] Region code of the interface.
|
129
|
+
#
|
130
|
+
# @param name [String] Region name of the interface.
|
131
|
+
#
|
132
|
+
# @param record_type [String] Identifies the type of the resource.
|
133
|
+
end
|
134
|
+
end
|
21
135
|
end
|
22
136
|
end
|
23
137
|
end
|
@@ -11,6 +11,121 @@ module Telnyx
|
|
11
11
|
|
12
12
|
# @!method initialize(data: nil)
|
13
13
|
# @param data [Telnyx::Models::PublicInternetGatewayRetrieveResponse::Data]
|
14
|
+
|
15
|
+
# @see Telnyx::Models::PublicInternetGatewayRetrieveResponse#data
|
16
|
+
class Data < Telnyx::Internal::Type::BaseModel
|
17
|
+
# @!attribute name
|
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 region
|
30
|
+
#
|
31
|
+
# @return [Telnyx::Models::PublicInternetGatewayRetrieveResponse::Data::Region, nil]
|
32
|
+
optional :region, -> { Telnyx::Models::PublicInternetGatewayRetrieveResponse::Data::Region }
|
33
|
+
|
34
|
+
# @!attribute region_code
|
35
|
+
# The region interface is deployed to.
|
36
|
+
#
|
37
|
+
# @return [String, nil]
|
38
|
+
optional :region_code, String
|
39
|
+
|
40
|
+
response_only do
|
41
|
+
# @!attribute id
|
42
|
+
# Identifies the resource.
|
43
|
+
#
|
44
|
+
# @return [String, nil]
|
45
|
+
optional :id, String
|
46
|
+
|
47
|
+
# @!attribute created_at
|
48
|
+
# ISO 8601 formatted date-time indicating when the resource was created.
|
49
|
+
#
|
50
|
+
# @return [String, nil]
|
51
|
+
optional :created_at, String
|
52
|
+
|
53
|
+
# @!attribute record_type
|
54
|
+
# Identifies the type of the resource.
|
55
|
+
#
|
56
|
+
# @return [String, nil]
|
57
|
+
optional :record_type, String
|
58
|
+
|
59
|
+
# @!attribute updated_at
|
60
|
+
# ISO 8601 formatted date-time indicating when the resource was updated.
|
61
|
+
#
|
62
|
+
# @return [String, nil]
|
63
|
+
optional :updated_at, String
|
64
|
+
|
65
|
+
# @!attribute status
|
66
|
+
# The current status of the interface deployment.
|
67
|
+
#
|
68
|
+
# @return [Symbol, Telnyx::Models::InterfaceStatus, nil]
|
69
|
+
optional :status, enum: -> { Telnyx::InterfaceStatus }
|
70
|
+
|
71
|
+
# @!attribute public_ip
|
72
|
+
# The publically accessible ip for this interface.
|
73
|
+
#
|
74
|
+
# @return [String, nil]
|
75
|
+
optional :public_ip, String
|
76
|
+
end
|
77
|
+
|
78
|
+
# @!method initialize(id: nil, created_at: nil, record_type: nil, updated_at: nil, name: nil, network_id: nil, status: nil, public_ip: nil, region: nil, region_code: nil)
|
79
|
+
# @param id [String] Identifies the resource.
|
80
|
+
#
|
81
|
+
# @param created_at [String] ISO 8601 formatted date-time indicating when the resource was created.
|
82
|
+
#
|
83
|
+
# @param record_type [String] Identifies the type of the resource.
|
84
|
+
#
|
85
|
+
# @param updated_at [String] ISO 8601 formatted date-time indicating when the resource was updated.
|
86
|
+
#
|
87
|
+
# @param name [String] A user specified name for the interface.
|
88
|
+
#
|
89
|
+
# @param network_id [String] The id of the network associated with the interface.
|
90
|
+
#
|
91
|
+
# @param status [Symbol, Telnyx::Models::InterfaceStatus] The current status of the interface deployment.
|
92
|
+
#
|
93
|
+
# @param public_ip [String] The publically accessible ip for this interface.
|
94
|
+
#
|
95
|
+
# @param region [Telnyx::Models::PublicInternetGatewayRetrieveResponse::Data::Region]
|
96
|
+
#
|
97
|
+
# @param region_code [String] The region interface is deployed to.
|
98
|
+
|
99
|
+
# @see Telnyx::Models::PublicInternetGatewayRetrieveResponse::Data#region
|
100
|
+
class Region < Telnyx::Internal::Type::BaseModel
|
101
|
+
# @!attribute code
|
102
|
+
# Region code of the interface.
|
103
|
+
#
|
104
|
+
# @return [String, nil]
|
105
|
+
optional :code, String
|
106
|
+
|
107
|
+
# @!attribute name
|
108
|
+
# Region name of the interface.
|
109
|
+
#
|
110
|
+
# @return [String, nil]
|
111
|
+
optional :name, String
|
112
|
+
|
113
|
+
response_only do
|
114
|
+
# @!attribute record_type
|
115
|
+
# Identifies the type of the resource.
|
116
|
+
#
|
117
|
+
# @return [String, nil]
|
118
|
+
optional :record_type, String
|
119
|
+
end
|
120
|
+
|
121
|
+
# @!method initialize(code: nil, name: nil, record_type: nil)
|
122
|
+
# @param code [String] Region code of the interface.
|
123
|
+
#
|
124
|
+
# @param name [String] Region name of the interface.
|
125
|
+
#
|
126
|
+
# @param record_type [String] Identifies the type of the resource.
|
127
|
+
end
|
128
|
+
end
|
14
129
|
end
|
15
130
|
end
|
16
131
|
end
|
@@ -77,6 +77,17 @@ module Telnyx
|
|
77
77
|
Telnyx::Internal::Type::Boolean,
|
78
78
|
api_name: :CancelPlaybackOnMachineDetection
|
79
79
|
|
80
|
+
# @!attribute custom_headers
|
81
|
+
# Custom HTTP headers to be sent with the call. Each header should be an object
|
82
|
+
# with 'name' and 'value' properties.
|
83
|
+
#
|
84
|
+
# @return [Array<Telnyx::Models::Texml::Accounts::CallCallsParams::CustomHeader>, nil]
|
85
|
+
optional :custom_headers,
|
86
|
+
-> {
|
87
|
+
Telnyx::Internal::Type::ArrayOf[Telnyx::Texml::Accounts::CallCallsParams::CustomHeader]
|
88
|
+
},
|
89
|
+
api_name: :CustomHeaders
|
90
|
+
|
80
91
|
# @!attribute detection_mode
|
81
92
|
# Allows you to chose between Premium and Standard detections.
|
82
93
|
#
|
@@ -251,7 +262,7 @@ module Telnyx
|
|
251
262
|
enum: -> { Telnyx::Texml::Accounts::CallCallsParams::URLMethod },
|
252
263
|
api_name: :UrlMethod
|
253
264
|
|
254
|
-
# @!method initialize(application_sid:, from:, to:, async_amd: nil, async_amd_status_callback: nil, async_amd_status_callback_method: nil, caller_id: nil, cancel_playback_on_detect_message_end: nil, cancel_playback_on_machine_detection: nil, detection_mode: nil, fallback_url: nil, machine_detection: nil, machine_detection_silence_timeout: nil, machine_detection_speech_end_threshold: nil, machine_detection_speech_threshold: nil, machine_detection_timeout: nil, preferred_codecs: nil, record: nil, recording_channels: nil, recording_status_callback: nil, recording_status_callback_event: nil, recording_status_callback_method: nil, recording_timeout: nil, recording_track: nil, send_recording_url: nil, sip_auth_password: nil, sip_auth_username: nil, status_callback: nil, status_callback_event: nil, status_callback_method: nil, trim: nil, url: nil, url_method: nil, request_options: {})
|
265
|
+
# @!method initialize(application_sid:, from:, to:, async_amd: nil, async_amd_status_callback: nil, async_amd_status_callback_method: nil, caller_id: nil, cancel_playback_on_detect_message_end: nil, cancel_playback_on_machine_detection: nil, custom_headers: nil, detection_mode: nil, fallback_url: nil, machine_detection: nil, machine_detection_silence_timeout: nil, machine_detection_speech_end_threshold: nil, machine_detection_speech_threshold: nil, machine_detection_timeout: nil, preferred_codecs: nil, record: nil, recording_channels: nil, recording_status_callback: nil, recording_status_callback_event: nil, recording_status_callback_method: nil, recording_timeout: nil, recording_track: nil, send_recording_url: nil, sip_auth_password: nil, sip_auth_username: nil, status_callback: nil, status_callback_event: nil, status_callback_method: nil, trim: nil, url: nil, url_method: nil, request_options: {})
|
255
266
|
# Some parameter documentations has been truncated, see
|
256
267
|
# {Telnyx::Models::Texml::Accounts::CallCallsParams} for more details.
|
257
268
|
#
|
@@ -273,6 +284,8 @@ module Telnyx
|
|
273
284
|
#
|
274
285
|
# @param cancel_playback_on_machine_detection [Boolean] Whether to cancel ongoing playback on `machine` detection. Defaults to `true`.
|
275
286
|
#
|
287
|
+
# @param custom_headers [Array<Telnyx::Models::Texml::Accounts::CallCallsParams::CustomHeader>] Custom HTTP headers to be sent with the call. Each header should be an object wi
|
288
|
+
#
|
276
289
|
# @param detection_mode [Symbol, Telnyx::Models::Texml::Accounts::CallCallsParams::DetectionMode] Allows you to chose between Premium and Standard detections.
|
277
290
|
#
|
278
291
|
# @param fallback_url [String] A failover URL for which Telnyx will retrieve the TeXML call instructions if the
|
@@ -335,6 +348,25 @@ module Telnyx
|
|
335
348
|
# @return [Array<Symbol>]
|
336
349
|
end
|
337
350
|
|
351
|
+
class CustomHeader < Telnyx::Internal::Type::BaseModel
|
352
|
+
# @!attribute name
|
353
|
+
# The name of the custom header
|
354
|
+
#
|
355
|
+
# @return [String]
|
356
|
+
required :name, String
|
357
|
+
|
358
|
+
# @!attribute value
|
359
|
+
# The value of the custom header
|
360
|
+
#
|
361
|
+
# @return [String]
|
362
|
+
required :value, String
|
363
|
+
|
364
|
+
# @!method initialize(name:, value:)
|
365
|
+
# @param name [String] The name of the custom header
|
366
|
+
#
|
367
|
+
# @param value [String] The value of the custom header
|
368
|
+
end
|
369
|
+
|
338
370
|
# Allows you to chose between Premium and Standard detections.
|
339
371
|
module DetectionMode
|
340
372
|
extend Telnyx::Internal::Type::Enum
|
@@ -166,6 +166,17 @@ module Telnyx
|
|
166
166
|
},
|
167
167
|
api_name: :ConferenceTrim
|
168
168
|
|
169
|
+
# @!attribute custom_headers
|
170
|
+
# Custom HTTP headers to be sent with the call. Each header should be an object
|
171
|
+
# with 'name' and 'value' properties.
|
172
|
+
#
|
173
|
+
# @return [Array<Telnyx::Models::Texml::Accounts::Conferences::ParticipantParticipantsParams::CustomHeader>, nil]
|
174
|
+
optional :custom_headers,
|
175
|
+
-> {
|
176
|
+
Telnyx::Internal::Type::ArrayOf[Telnyx::Texml::Accounts::Conferences::ParticipantParticipantsParams::CustomHeader]
|
177
|
+
},
|
178
|
+
api_name: :CustomHeaders
|
179
|
+
|
169
180
|
# @!attribute early_media
|
170
181
|
# Whether participant shall be bridged to conference before the participant
|
171
182
|
# answers (from early media if available). Defaults to `false`.
|
@@ -379,7 +390,7 @@ module Telnyx
|
|
379
390
|
# @return [String, nil]
|
380
391
|
optional :wait_url, String, api_name: :WaitUrl
|
381
392
|
|
382
|
-
# @!method initialize(account_sid:, amd_status_callback: nil, amd_status_callback_method: nil, beep: nil, caller_id: nil, call_sid_to_coach: nil, cancel_playback_on_detect_message_end: nil, cancel_playback_on_machine_detection: nil, coaching: nil, conference_record: nil, conference_recording_status_callback: nil, conference_recording_status_callback_event: nil, conference_recording_status_callback_method: nil, conference_recording_timeout: nil, conference_status_callback: nil, conference_status_callback_event: nil, conference_status_callback_method: nil, conference_trim: nil, early_media: nil, end_conference_on_exit: nil, from: nil, machine_detection: nil, machine_detection_silence_timeout: nil, machine_detection_speech_end_threshold: nil, machine_detection_speech_threshold: nil, machine_detection_timeout: nil, max_participants: nil, muted: nil, preferred_codecs: nil, record: nil, recording_channels: nil, recording_status_callback: nil, recording_status_callback_event: nil, recording_status_callback_method: nil, recording_track: nil, sip_auth_password: nil, sip_auth_username: nil, start_conference_on_enter: nil, status_callback: nil, status_callback_event: nil, status_callback_method: nil, time_limit: nil, timeout_seconds: nil, to: nil, trim: nil, wait_url: nil, request_options: {})
|
393
|
+
# @!method initialize(account_sid:, amd_status_callback: nil, amd_status_callback_method: nil, beep: nil, caller_id: nil, call_sid_to_coach: nil, cancel_playback_on_detect_message_end: nil, cancel_playback_on_machine_detection: nil, coaching: nil, conference_record: nil, conference_recording_status_callback: nil, conference_recording_status_callback_event: nil, conference_recording_status_callback_method: nil, conference_recording_timeout: nil, conference_status_callback: nil, conference_status_callback_event: nil, conference_status_callback_method: nil, conference_trim: nil, custom_headers: nil, early_media: nil, end_conference_on_exit: nil, from: nil, machine_detection: nil, machine_detection_silence_timeout: nil, machine_detection_speech_end_threshold: nil, machine_detection_speech_threshold: nil, machine_detection_timeout: nil, max_participants: nil, muted: nil, preferred_codecs: nil, record: nil, recording_channels: nil, recording_status_callback: nil, recording_status_callback_event: nil, recording_status_callback_method: nil, recording_track: nil, sip_auth_password: nil, sip_auth_username: nil, start_conference_on_enter: nil, status_callback: nil, status_callback_event: nil, status_callback_method: nil, time_limit: nil, timeout_seconds: nil, to: nil, trim: nil, wait_url: nil, request_options: {})
|
383
394
|
# Some parameter documentations has been truncated, see
|
384
395
|
# {Telnyx::Models::Texml::Accounts::Conferences::ParticipantParticipantsParams}
|
385
396
|
# for more details.
|
@@ -420,6 +431,8 @@ module Telnyx
|
|
420
431
|
#
|
421
432
|
# @param conference_trim [Symbol, Telnyx::Models::Texml::Accounts::Conferences::ParticipantParticipantsParams::ConferenceTrim] Whether to trim any leading and trailing silence from the conference recording.
|
422
433
|
#
|
434
|
+
# @param custom_headers [Array<Telnyx::Models::Texml::Accounts::Conferences::ParticipantParticipantsParams::CustomHeader>] Custom HTTP headers to be sent with the call. Each header should be an object wi
|
435
|
+
#
|
423
436
|
# @param early_media [Boolean] Whether participant shall be bridged to conference before the participant answer
|
424
437
|
#
|
425
438
|
# @param end_conference_on_exit [Boolean] Whether to end the conference when the participant leaves. Defaults to `false`.
|
@@ -553,6 +566,25 @@ module Telnyx
|
|
553
566
|
# @return [Array<Symbol>]
|
554
567
|
end
|
555
568
|
|
569
|
+
class CustomHeader < Telnyx::Internal::Type::BaseModel
|
570
|
+
# @!attribute name
|
571
|
+
# The name of the custom header
|
572
|
+
#
|
573
|
+
# @return [String]
|
574
|
+
required :name, String
|
575
|
+
|
576
|
+
# @!attribute value
|
577
|
+
# The value of the custom header
|
578
|
+
#
|
579
|
+
# @return [String]
|
580
|
+
required :value, String
|
581
|
+
|
582
|
+
# @!method initialize(name:, value:)
|
583
|
+
# @param name [String] The name of the custom header
|
584
|
+
#
|
585
|
+
# @param value [String] The value of the custom header
|
586
|
+
end
|
587
|
+
|
556
588
|
# Whether to detect if a human or an answering machine picked up the call. Use
|
557
589
|
# `Enable` if you would like to ne notified as soon as the called party is
|
558
590
|
# identified. Use `DetectMessageEnd`, if you would like to leave a message on an
|