telnyx 5.164.0 → 5.166.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 +26 -0
- data/README.md +1 -1
- data/lib/telnyx/client.rb +4 -5
- data/lib/telnyx/lib/webhook_verification.rb +54 -155
- data/lib/telnyx/lib.rb +3 -1
- data/lib/telnyx/models/ai/assistant_tool.rb +14 -1
- data/lib/telnyx/models/ai/transcription_settings.rb +20 -15
- data/lib/telnyx/models/ai/transcription_settings_config.rb +35 -10
- data/lib/telnyx/models/call_dial_params.rb +13 -1
- data/lib/telnyx/models/calls/action_transfer_params.rb +13 -1
- data/lib/telnyx/models/connection_rtcp_settings.rb +3 -3
- data/lib/telnyx/models/credential_connections/action_check_registration_status_response.rb +12 -12
- data/lib/telnyx/models/external_requirements/sub_number_order_retrieve_params.rb +28 -0
- data/lib/telnyx/models/external_requirements/sub_number_order_retrieve_response.rb +104 -0
- data/lib/telnyx/models/external_requirements/sub_number_order_update_params.rb +69 -0
- data/lib/telnyx/models/external_requirements/sub_number_order_update_response.rb +66 -0
- data/lib/telnyx/models/outbound_voice_profile.rb +14 -14
- data/lib/telnyx/models/outbound_voice_profile_create_params.rb +14 -14
- data/lib/telnyx/models/outbound_voice_profile_update_params.rb +14 -14
- data/lib/telnyx/models/uac_connections/action_check_registration_status_response.rb +12 -12
- data/lib/telnyx/models.rb +2 -2
- data/lib/telnyx/resources/calls/actions.rb +3 -1
- data/lib/telnyx/resources/calls.rb +3 -1
- data/lib/telnyx/resources/credential_connections/actions.rb +3 -3
- data/lib/telnyx/resources/external_requirements/sub_number_orders.rb +99 -0
- data/lib/telnyx/resources/external_requirements.rb +19 -0
- data/lib/telnyx/resources/outbound_voice_profiles.rb +2 -2
- data/lib/telnyx/resources/uac_connections/actions.rb +3 -3
- data/lib/telnyx/resources/webhooks.rb +1 -1
- data/lib/telnyx/version.rb +1 -1
- data/lib/telnyx.rb +6 -4
- data/rbi/telnyx/client.rbi +3 -4
- data/rbi/telnyx/models/ai/assistant_tool.rbi +21 -0
- data/rbi/telnyx/models/ai/transcription_settings.rbi +40 -28
- data/rbi/telnyx/models/ai/transcription_settings_config.rbi +52 -12
- data/rbi/telnyx/models/call_dial_params.rbi +19 -0
- data/rbi/telnyx/models/calls/action_transfer_params.rbi +19 -0
- data/rbi/telnyx/models/connection_rtcp_settings.rbi +4 -4
- data/rbi/telnyx/models/credential_connections/action_check_registration_status_response.rbi +18 -36
- data/rbi/telnyx/models/external_requirements/sub_number_order_retrieve_params.rbi +52 -0
- data/rbi/telnyx/models/external_requirements/sub_number_order_retrieve_response.rbi +248 -0
- data/rbi/telnyx/models/external_requirements/sub_number_order_update_params.rbi +119 -0
- data/rbi/telnyx/models/external_requirements/sub_number_order_update_response.rbi +159 -0
- data/rbi/telnyx/models/outbound_voice_profile.rbi +18 -18
- data/rbi/telnyx/models/outbound_voice_profile_create_params.rbi +18 -18
- data/rbi/telnyx/models/outbound_voice_profile_update_params.rbi +18 -18
- data/rbi/telnyx/models/uac_connections/action_check_registration_status_response.rbi +18 -36
- data/rbi/telnyx/models.rbi +2 -3
- data/rbi/telnyx/resources/calls/actions.rbi +7 -0
- data/rbi/telnyx/resources/calls.rbi +7 -0
- data/rbi/telnyx/resources/credential_connections/actions.rbi +3 -3
- data/rbi/telnyx/resources/external_requirements/sub_number_orders.rbi +71 -0
- data/rbi/telnyx/resources/external_requirements.rbi +16 -0
- data/rbi/telnyx/resources/outbound_voice_profiles.rbi +4 -4
- data/rbi/telnyx/resources/uac_connections/actions.rbi +3 -3
- data/sig/telnyx/client.rbs +2 -2
- data/sig/telnyx/models/ai/assistant_tool.rbs +7 -0
- data/sig/telnyx/models/ai/transcription_settings.rbs +2 -0
- data/sig/telnyx/models/ai/transcription_settings_config.rbs +14 -0
- data/sig/telnyx/models/call_dial_params.rbs +7 -0
- data/sig/telnyx/models/calls/action_transfer_params.rbs +7 -0
- data/sig/telnyx/models/credential_connections/action_check_registration_status_response.rbs +24 -36
- data/sig/telnyx/models/external_requirements/sub_number_order_retrieve_params.rbs +30 -0
- data/sig/telnyx/models/external_requirements/sub_number_order_retrieve_response.rbs +110 -0
- data/sig/telnyx/models/external_requirements/sub_number_order_update_params.rbs +50 -0
- data/sig/telnyx/models/external_requirements/sub_number_order_update_response.rbs +75 -0
- data/sig/telnyx/models/uac_connections/action_check_registration_status_response.rbs +24 -36
- data/sig/telnyx/models.rbs +2 -2
- data/sig/telnyx/resources/calls/actions.rbs +1 -0
- data/sig/telnyx/resources/calls.rbs +1 -0
- data/sig/telnyx/resources/external_requirements/sub_number_orders.rbs +22 -0
- data/sig/telnyx/resources/external_requirements.rbs +9 -0
- metadata +20 -26
- data/lib/telnyx/lib/webhooks_ed25519.rb +0 -63
- data/lib/telnyx/models/sip_registration_status_retrieve_params.rb +0 -59
- data/lib/telnyx/models/sip_registration_status_retrieve_response.rb +0 -214
- data/lib/telnyx/resources/sip_registration_status.rb +0 -59
- data/rbi/telnyx/models/sip_registration_status_retrieve_params.rbi +0 -124
- data/rbi/telnyx/models/sip_registration_status_retrieve_response.rbi +0 -416
- data/rbi/telnyx/resources/sip_registration_status.rbi +0 -52
- data/sig/telnyx/models/sip_registration_status_retrieve_params.rbs +0 -55
- data/sig/telnyx/models/sip_registration_status_retrieve_response.rbs +0 -195
- data/sig/telnyx/resources/sip_registration_status.rbs +0 -14
|
@@ -33,8 +33,8 @@ module Telnyx
|
|
|
33
33
|
# null (for no group assigned).
|
|
34
34
|
billing_group_id: nil,
|
|
35
35
|
call_recording: nil,
|
|
36
|
-
#
|
|
37
|
-
#
|
|
36
|
+
# Specifies the time window and call limits for calls made using this outbound
|
|
37
|
+
# voice profile. Note that all times are UTC in 24-hour clock time.
|
|
38
38
|
calling_window: nil,
|
|
39
39
|
# Must be no more than your global concurrent call limit. Null means no limit.
|
|
40
40
|
concurrent_call_limit: nil,
|
|
@@ -109,8 +109,8 @@ module Telnyx
|
|
|
109
109
|
# null (for no group assigned).
|
|
110
110
|
billing_group_id: nil,
|
|
111
111
|
call_recording: nil,
|
|
112
|
-
#
|
|
113
|
-
#
|
|
112
|
+
# Specifies the time window and call limits for calls made using this outbound
|
|
113
|
+
# voice profile.
|
|
114
114
|
calling_window: nil,
|
|
115
115
|
# Must be no more than your global concurrent call limit. Null means no limit.
|
|
116
116
|
concurrent_call_limit: nil,
|
|
@@ -5,9 +5,9 @@ module Telnyx
|
|
|
5
5
|
class UacConnections
|
|
6
6
|
# UAC connection operations
|
|
7
7
|
class Actions
|
|
8
|
-
#
|
|
9
|
-
#
|
|
10
|
-
# (`
|
|
8
|
+
# Returns the live SIP registration status for a UAC connection. Reports whether
|
|
9
|
+
# the endpoint is currently registered (`status`) and the timestamp of the last
|
|
10
|
+
# SIP registration event (`last_registration`).
|
|
11
11
|
sig do
|
|
12
12
|
params(
|
|
13
13
|
id: String,
|
data/sig/telnyx/client.rbs
CHANGED
|
@@ -348,8 +348,6 @@ module Telnyx
|
|
|
348
348
|
|
|
349
349
|
attr_reader voice_sdk_call_reports: Telnyx::Resources::VoiceSDKCallReports
|
|
350
350
|
|
|
351
|
-
attr_reader sip_registration_status: Telnyx::Resources::SipRegistrationStatus
|
|
352
|
-
|
|
353
351
|
attr_reader call_reasons: Telnyx::Resources::CallReasons
|
|
354
352
|
|
|
355
353
|
attr_reader dir: Telnyx::Resources::Dir
|
|
@@ -380,6 +378,8 @@ module Telnyx
|
|
|
380
378
|
|
|
381
379
|
attr_reader meeting_sessions: Telnyx::Resources::MeetingSessions
|
|
382
380
|
|
|
381
|
+
attr_reader external_requirements: Telnyx::Resources::ExternalRequirements
|
|
382
|
+
|
|
383
383
|
private def auth_headers: -> ::Hash[String, String]
|
|
384
384
|
|
|
385
385
|
private def bearer_auth: -> ::Hash[String, String]
|
|
@@ -211,6 +211,7 @@ module Telnyx
|
|
|
211
211
|
targets: Telnyx::Models::AI::AssistantTool::Transfer::Transfer::targets,
|
|
212
212
|
custom_headers: ::Array[Telnyx::AI::AssistantTool::Transfer::Transfer::CustomHeader],
|
|
213
213
|
description: String,
|
|
214
|
+
diversion: String,
|
|
214
215
|
voicemail_detection: Telnyx::AI::AssistantTool::Transfer::Transfer::VoicemailDetection,
|
|
215
216
|
warm_message_delay_ms: Integer?,
|
|
216
217
|
warm_transfer_acceptance: Telnyx::AI::AssistantTool::Transfer::Transfer::WarmTransferAcceptance,
|
|
@@ -232,6 +233,10 @@ module Telnyx
|
|
|
232
233
|
|
|
233
234
|
def description=: (String) -> String
|
|
234
235
|
|
|
236
|
+
attr_reader diversion: String?
|
|
237
|
+
|
|
238
|
+
def diversion=: (String) -> String
|
|
239
|
+
|
|
235
240
|
attr_reader voicemail_detection: Telnyx::AI::AssistantTool::Transfer::Transfer::VoicemailDetection?
|
|
236
241
|
|
|
237
242
|
def voicemail_detection=: (
|
|
@@ -255,6 +260,7 @@ module Telnyx
|
|
|
255
260
|
targets: Telnyx::Models::AI::AssistantTool::Transfer::Transfer::targets,
|
|
256
261
|
?custom_headers: ::Array[Telnyx::AI::AssistantTool::Transfer::Transfer::CustomHeader],
|
|
257
262
|
?description: String,
|
|
263
|
+
?diversion: String,
|
|
258
264
|
?voicemail_detection: Telnyx::AI::AssistantTool::Transfer::Transfer::VoicemailDetection,
|
|
259
265
|
?warm_message_delay_ms: Integer?,
|
|
260
266
|
?warm_transfer_acceptance: Telnyx::AI::AssistantTool::Transfer::Transfer::WarmTransferAcceptance,
|
|
@@ -266,6 +272,7 @@ module Telnyx
|
|
|
266
272
|
targets: Telnyx::Models::AI::AssistantTool::Transfer::Transfer::targets,
|
|
267
273
|
custom_headers: ::Array[Telnyx::AI::AssistantTool::Transfer::Transfer::CustomHeader],
|
|
268
274
|
description: String,
|
|
275
|
+
diversion: String,
|
|
269
276
|
voicemail_detection: Telnyx::AI::AssistantTool::Transfer::Transfer::VoicemailDetection,
|
|
270
277
|
warm_message_delay_ms: Integer?,
|
|
271
278
|
warm_transfer_acceptance: Telnyx::AI::AssistantTool::Transfer::Transfer::WarmTransferAcceptance,
|
|
@@ -59,6 +59,7 @@ module Telnyx
|
|
|
59
59
|
| :"assemblyai/universal-streaming"
|
|
60
60
|
| :"xai/grok-stt"
|
|
61
61
|
| :"soniox/stt-rt-v4"
|
|
62
|
+
| :"soniox/stt-rt-v5"
|
|
62
63
|
| :"nvidia/parakeet-v3"
|
|
63
64
|
| :"humain/realtime"
|
|
64
65
|
| :"reson8/turns"
|
|
@@ -76,6 +77,7 @@ module Telnyx
|
|
|
76
77
|
ASSEMBLYAI_UNIVERSAL_STREAMING: :"assemblyai/universal-streaming"
|
|
77
78
|
XAI_GROK_STT: :"xai/grok-stt"
|
|
78
79
|
SONIOX_STT_RT_V4: :"soniox/stt-rt-v4"
|
|
80
|
+
SONIOX_STT_RT_V5: :"soniox/stt-rt-v5"
|
|
79
81
|
NVIDIA_PARAKEET_V3: :"nvidia/parakeet-v3"
|
|
80
82
|
HUMAIN_REALTIME: :"humain/realtime"
|
|
81
83
|
RESON8_TURNS: :"reson8/turns"
|
|
@@ -3,6 +3,7 @@ module Telnyx
|
|
|
3
3
|
module AI
|
|
4
4
|
type transcription_settings_config =
|
|
5
5
|
{
|
|
6
|
+
context: String,
|
|
6
7
|
eager_eot_threshold: Float,
|
|
7
8
|
enable_endpoint_detection: bool,
|
|
8
9
|
end_of_turn_confidence_threshold: Float,
|
|
@@ -10,6 +11,7 @@ module Telnyx
|
|
|
10
11
|
eot_timeout_ms: Integer,
|
|
11
12
|
interim_results: bool,
|
|
12
13
|
keyterm: String,
|
|
14
|
+
language_hints: ::Array[String],
|
|
13
15
|
max_endpoint_delay_ms: Integer,
|
|
14
16
|
max_turn_silence: Integer,
|
|
15
17
|
min_turn_silence: Integer,
|
|
@@ -18,6 +20,10 @@ module Telnyx
|
|
|
18
20
|
}
|
|
19
21
|
|
|
20
22
|
class TranscriptionSettingsConfig < Telnyx::Internal::Type::BaseModel
|
|
23
|
+
attr_reader context: String?
|
|
24
|
+
|
|
25
|
+
def context=: (String) -> String
|
|
26
|
+
|
|
21
27
|
attr_reader eager_eot_threshold: Float?
|
|
22
28
|
|
|
23
29
|
def eager_eot_threshold=: (Float) -> Float
|
|
@@ -46,6 +52,10 @@ module Telnyx
|
|
|
46
52
|
|
|
47
53
|
def keyterm=: (String) -> String
|
|
48
54
|
|
|
55
|
+
attr_reader language_hints: ::Array[String]?
|
|
56
|
+
|
|
57
|
+
def language_hints=: (::Array[String]) -> ::Array[String]
|
|
58
|
+
|
|
49
59
|
attr_reader max_endpoint_delay_ms: Integer?
|
|
50
60
|
|
|
51
61
|
def max_endpoint_delay_ms=: (Integer) -> Integer
|
|
@@ -67,6 +77,7 @@ module Telnyx
|
|
|
67
77
|
def smart_format=: (bool) -> bool
|
|
68
78
|
|
|
69
79
|
def initialize: (
|
|
80
|
+
?context: String,
|
|
70
81
|
?eager_eot_threshold: Float,
|
|
71
82
|
?enable_endpoint_detection: bool,
|
|
72
83
|
?end_of_turn_confidence_threshold: Float,
|
|
@@ -74,6 +85,7 @@ module Telnyx
|
|
|
74
85
|
?eot_timeout_ms: Integer,
|
|
75
86
|
?interim_results: bool,
|
|
76
87
|
?keyterm: String,
|
|
88
|
+
?language_hints: ::Array[String],
|
|
77
89
|
?max_endpoint_delay_ms: Integer,
|
|
78
90
|
?max_turn_silence: Integer,
|
|
79
91
|
?min_turn_silence: Integer,
|
|
@@ -82,6 +94,7 @@ module Telnyx
|
|
|
82
94
|
) -> void
|
|
83
95
|
|
|
84
96
|
def to_hash: -> {
|
|
97
|
+
context: String,
|
|
85
98
|
eager_eot_threshold: Float,
|
|
86
99
|
enable_endpoint_detection: bool,
|
|
87
100
|
end_of_turn_confidence_threshold: Float,
|
|
@@ -89,6 +102,7 @@ module Telnyx
|
|
|
89
102
|
eot_timeout_ms: Integer,
|
|
90
103
|
interim_results: bool,
|
|
91
104
|
keyterm: String,
|
|
105
|
+
language_hints: ::Array[String],
|
|
92
106
|
max_endpoint_delay_ms: Integer,
|
|
93
107
|
max_turn_silence: Integer,
|
|
94
108
|
min_turn_silence: Integer,
|
|
@@ -19,6 +19,7 @@ module Telnyx
|
|
|
19
19
|
custom_headers: ::Array[Telnyx::CustomSipHeader],
|
|
20
20
|
deepfake_detection: Telnyx::CallDialParams::DeepfakeDetection,
|
|
21
21
|
dialogflow_config: Telnyx::DialogflowConfig,
|
|
22
|
+
diversion: String,
|
|
22
23
|
enable_dialogflow: bool,
|
|
23
24
|
from_display_name: String,
|
|
24
25
|
link_to: String,
|
|
@@ -151,6 +152,10 @@ module Telnyx
|
|
|
151
152
|
Telnyx::DialogflowConfig
|
|
152
153
|
) -> Telnyx::DialogflowConfig
|
|
153
154
|
|
|
155
|
+
attr_reader diversion: String?
|
|
156
|
+
|
|
157
|
+
def diversion=: (String) -> String
|
|
158
|
+
|
|
154
159
|
attr_reader enable_dialogflow: bool?
|
|
155
160
|
|
|
156
161
|
def enable_dialogflow=: (bool) -> bool
|
|
@@ -403,6 +408,7 @@ module Telnyx
|
|
|
403
408
|
?custom_headers: ::Array[Telnyx::CustomSipHeader],
|
|
404
409
|
?deepfake_detection: Telnyx::CallDialParams::DeepfakeDetection,
|
|
405
410
|
?dialogflow_config: Telnyx::DialogflowConfig,
|
|
411
|
+
?diversion: String,
|
|
406
412
|
?enable_dialogflow: bool,
|
|
407
413
|
?from_display_name: String,
|
|
408
414
|
?link_to: String,
|
|
@@ -471,6 +477,7 @@ module Telnyx
|
|
|
471
477
|
custom_headers: ::Array[Telnyx::CustomSipHeader],
|
|
472
478
|
deepfake_detection: Telnyx::CallDialParams::DeepfakeDetection,
|
|
473
479
|
dialogflow_config: Telnyx::DialogflowConfig,
|
|
480
|
+
diversion: String,
|
|
474
481
|
enable_dialogflow: bool,
|
|
475
482
|
from_display_name: String,
|
|
476
483
|
link_to: String,
|
|
@@ -11,6 +11,7 @@ module Telnyx
|
|
|
11
11
|
client_state: String,
|
|
12
12
|
command_id: String,
|
|
13
13
|
custom_headers: ::Array[Telnyx::CustomSipHeader],
|
|
14
|
+
diversion: String,
|
|
14
15
|
early_media: bool,
|
|
15
16
|
from: String,
|
|
16
17
|
from_display_name: String,
|
|
@@ -85,6 +86,10 @@ module Telnyx
|
|
|
85
86
|
::Array[Telnyx::CustomSipHeader]
|
|
86
87
|
) -> ::Array[Telnyx::CustomSipHeader]
|
|
87
88
|
|
|
89
|
+
attr_reader diversion: String?
|
|
90
|
+
|
|
91
|
+
def diversion=: (String) -> String
|
|
92
|
+
|
|
88
93
|
attr_reader early_media: bool?
|
|
89
94
|
|
|
90
95
|
def early_media=: (bool) -> bool
|
|
@@ -258,6 +263,7 @@ module Telnyx
|
|
|
258
263
|
?client_state: String,
|
|
259
264
|
?command_id: String,
|
|
260
265
|
?custom_headers: ::Array[Telnyx::CustomSipHeader],
|
|
266
|
+
?diversion: String,
|
|
261
267
|
?early_media: bool,
|
|
262
268
|
?from: String,
|
|
263
269
|
?from_display_name: String,
|
|
@@ -303,6 +309,7 @@ module Telnyx
|
|
|
303
309
|
client_state: String,
|
|
304
310
|
command_id: String,
|
|
305
311
|
custom_headers: ::Array[Telnyx::CustomSipHeader],
|
|
312
|
+
diversion: String,
|
|
306
313
|
early_media: bool,
|
|
307
314
|
from: String,
|
|
308
315
|
from_display_name: String,
|
|
@@ -23,36 +23,28 @@ module Telnyx
|
|
|
23
23
|
|
|
24
24
|
type data =
|
|
25
25
|
{
|
|
26
|
-
ip_address: String
|
|
27
|
-
last_registration: String
|
|
28
|
-
port: Integer
|
|
26
|
+
ip_address: String?,
|
|
27
|
+
last_registration: String?,
|
|
28
|
+
port: Integer?,
|
|
29
29
|
record_type: String,
|
|
30
|
-
sip_username: String
|
|
30
|
+
sip_username: String?,
|
|
31
31
|
status: Telnyx::Models::CredentialConnections::ActionCheckRegistrationStatusResponse::Data::status,
|
|
32
|
-
transport: String
|
|
33
|
-
user_agent: String
|
|
32
|
+
transport: String?,
|
|
33
|
+
user_agent: String?
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
class Data < Telnyx::Internal::Type::BaseModel
|
|
37
|
-
|
|
37
|
+
attr_accessor ip_address: String?
|
|
38
38
|
|
|
39
|
-
|
|
39
|
+
attr_accessor last_registration: String?
|
|
40
40
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
def last_registration=: (String) -> String
|
|
44
|
-
|
|
45
|
-
attr_reader port: Integer?
|
|
46
|
-
|
|
47
|
-
def port=: (Integer) -> Integer
|
|
41
|
+
attr_accessor port: Integer?
|
|
48
42
|
|
|
49
43
|
attr_reader record_type: String?
|
|
50
44
|
|
|
51
45
|
def record_type=: (String) -> String
|
|
52
46
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
def sip_username=: (String) -> String
|
|
47
|
+
attr_accessor sip_username: String?
|
|
56
48
|
|
|
57
49
|
attr_reader status: Telnyx::Models::CredentialConnections::ActionCheckRegistrationStatusResponse::Data::status?
|
|
58
50
|
|
|
@@ -60,34 +52,30 @@ module Telnyx
|
|
|
60
52
|
Telnyx::Models::CredentialConnections::ActionCheckRegistrationStatusResponse::Data::status
|
|
61
53
|
) -> Telnyx::Models::CredentialConnections::ActionCheckRegistrationStatusResponse::Data::status
|
|
62
54
|
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
def transport=: (String) -> String
|
|
66
|
-
|
|
67
|
-
attr_reader user_agent: String?
|
|
55
|
+
attr_accessor transport: String?
|
|
68
56
|
|
|
69
|
-
|
|
57
|
+
attr_accessor user_agent: String?
|
|
70
58
|
|
|
71
59
|
def initialize: (
|
|
72
|
-
?ip_address: String
|
|
73
|
-
?last_registration: String
|
|
74
|
-
?port: Integer
|
|
60
|
+
?ip_address: String?,
|
|
61
|
+
?last_registration: String?,
|
|
62
|
+
?port: Integer?,
|
|
75
63
|
?record_type: String,
|
|
76
|
-
?sip_username: String
|
|
64
|
+
?sip_username: String?,
|
|
77
65
|
?status: Telnyx::Models::CredentialConnections::ActionCheckRegistrationStatusResponse::Data::status,
|
|
78
|
-
?transport: String
|
|
79
|
-
?user_agent: String
|
|
66
|
+
?transport: String?,
|
|
67
|
+
?user_agent: String?
|
|
80
68
|
) -> void
|
|
81
69
|
|
|
82
70
|
def to_hash: -> {
|
|
83
|
-
ip_address: String
|
|
84
|
-
last_registration: String
|
|
85
|
-
port: Integer
|
|
71
|
+
ip_address: String?,
|
|
72
|
+
last_registration: String?,
|
|
73
|
+
port: Integer?,
|
|
86
74
|
record_type: String,
|
|
87
|
-
sip_username: String
|
|
75
|
+
sip_username: String?,
|
|
88
76
|
status: Telnyx::Models::CredentialConnections::ActionCheckRegistrationStatusResponse::Data::status,
|
|
89
|
-
transport: String
|
|
90
|
-
user_agent: String
|
|
77
|
+
transport: String?,
|
|
78
|
+
user_agent: String?
|
|
91
79
|
}
|
|
92
80
|
|
|
93
81
|
type status =
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
module ExternalRequirements
|
|
4
|
+
type sub_number_order_retrieve_params =
|
|
5
|
+
{ regulatory_requirement_id: String, sub_number_order_id: String }
|
|
6
|
+
& Telnyx::Internal::Type::request_parameters
|
|
7
|
+
|
|
8
|
+
class SubNumberOrderRetrieveParams < Telnyx::Internal::Type::BaseModel
|
|
9
|
+
extend Telnyx::Internal::Type::RequestParameters::Converter
|
|
10
|
+
include Telnyx::Internal::Type::RequestParameters
|
|
11
|
+
|
|
12
|
+
attr_accessor regulatory_requirement_id: String
|
|
13
|
+
|
|
14
|
+
attr_accessor sub_number_order_id: String
|
|
15
|
+
|
|
16
|
+
def initialize: (
|
|
17
|
+
regulatory_requirement_id: String,
|
|
18
|
+
sub_number_order_id: String,
|
|
19
|
+
?request_options: Telnyx::request_opts
|
|
20
|
+
) -> void
|
|
21
|
+
|
|
22
|
+
def to_hash: -> {
|
|
23
|
+
regulatory_requirement_id: String,
|
|
24
|
+
sub_number_order_id: String,
|
|
25
|
+
request_options: Telnyx::RequestOptions
|
|
26
|
+
}
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
module ExternalRequirements
|
|
4
|
+
type sub_number_order_retrieve_response =
|
|
5
|
+
{
|
|
6
|
+
data: Telnyx::Models::ExternalRequirements::SubNumberOrderRetrieveResponse::Data
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
class SubNumberOrderRetrieveResponse < Telnyx::Internal::Type::BaseModel
|
|
10
|
+
attr_reader data: Telnyx::Models::ExternalRequirements::SubNumberOrderRetrieveResponse::Data?
|
|
11
|
+
|
|
12
|
+
def data=: (
|
|
13
|
+
Telnyx::Models::ExternalRequirements::SubNumberOrderRetrieveResponse::Data
|
|
14
|
+
) -> Telnyx::Models::ExternalRequirements::SubNumberOrderRetrieveResponse::Data
|
|
15
|
+
|
|
16
|
+
def initialize: (
|
|
17
|
+
?data: Telnyx::Models::ExternalRequirements::SubNumberOrderRetrieveResponse::Data
|
|
18
|
+
) -> void
|
|
19
|
+
|
|
20
|
+
def to_hash: -> {
|
|
21
|
+
data: Telnyx::Models::ExternalRequirements::SubNumberOrderRetrieveResponse::Data
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
type data =
|
|
25
|
+
{
|
|
26
|
+
fields_required: ::Array[Telnyx::Models::ExternalRequirements::SubNumberOrderRetrieveResponse::Data::FieldsRequired],
|
|
27
|
+
regulatory_requirement_id: String,
|
|
28
|
+
requirement_action: Telnyx::Models::ExternalRequirements::SubNumberOrderRetrieveResponse::Data::RequirementAction
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
class Data < Telnyx::Internal::Type::BaseModel
|
|
32
|
+
attr_reader fields_required: ::Array[Telnyx::Models::ExternalRequirements::SubNumberOrderRetrieveResponse::Data::FieldsRequired]?
|
|
33
|
+
|
|
34
|
+
def fields_required=: (
|
|
35
|
+
::Array[Telnyx::Models::ExternalRequirements::SubNumberOrderRetrieveResponse::Data::FieldsRequired]
|
|
36
|
+
) -> ::Array[Telnyx::Models::ExternalRequirements::SubNumberOrderRetrieveResponse::Data::FieldsRequired]
|
|
37
|
+
|
|
38
|
+
attr_reader regulatory_requirement_id: String?
|
|
39
|
+
|
|
40
|
+
def regulatory_requirement_id=: (String) -> String
|
|
41
|
+
|
|
42
|
+
attr_reader requirement_action: Telnyx::Models::ExternalRequirements::SubNumberOrderRetrieveResponse::Data::RequirementAction?
|
|
43
|
+
|
|
44
|
+
def requirement_action=: (
|
|
45
|
+
Telnyx::Models::ExternalRequirements::SubNumberOrderRetrieveResponse::Data::RequirementAction
|
|
46
|
+
) -> Telnyx::Models::ExternalRequirements::SubNumberOrderRetrieveResponse::Data::RequirementAction
|
|
47
|
+
|
|
48
|
+
def initialize: (
|
|
49
|
+
?fields_required: ::Array[Telnyx::Models::ExternalRequirements::SubNumberOrderRetrieveResponse::Data::FieldsRequired],
|
|
50
|
+
?regulatory_requirement_id: String,
|
|
51
|
+
?requirement_action: Telnyx::Models::ExternalRequirements::SubNumberOrderRetrieveResponse::Data::RequirementAction
|
|
52
|
+
) -> void
|
|
53
|
+
|
|
54
|
+
def to_hash: -> {
|
|
55
|
+
fields_required: ::Array[Telnyx::Models::ExternalRequirements::SubNumberOrderRetrieveResponse::Data::FieldsRequired],
|
|
56
|
+
regulatory_requirement_id: String,
|
|
57
|
+
requirement_action: Telnyx::Models::ExternalRequirements::SubNumberOrderRetrieveResponse::Data::RequirementAction
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
type fields_required =
|
|
61
|
+
{ description: String, name: String, type: String, value: String? }
|
|
62
|
+
|
|
63
|
+
class FieldsRequired < Telnyx::Internal::Type::BaseModel
|
|
64
|
+
attr_reader description: String?
|
|
65
|
+
|
|
66
|
+
def description=: (String) -> String
|
|
67
|
+
|
|
68
|
+
attr_reader name: String?
|
|
69
|
+
|
|
70
|
+
def name=: (String) -> String
|
|
71
|
+
|
|
72
|
+
attr_reader type: String?
|
|
73
|
+
|
|
74
|
+
def type=: (String) -> String
|
|
75
|
+
|
|
76
|
+
attr_accessor value: String?
|
|
77
|
+
|
|
78
|
+
def initialize: (
|
|
79
|
+
?description: String,
|
|
80
|
+
?name: String,
|
|
81
|
+
?type: String,
|
|
82
|
+
?value: String?
|
|
83
|
+
) -> void
|
|
84
|
+
|
|
85
|
+
def to_hash: -> {
|
|
86
|
+
description: String,
|
|
87
|
+
name: String,
|
|
88
|
+
type: String,
|
|
89
|
+
value: String?
|
|
90
|
+
}
|
|
91
|
+
end
|
|
92
|
+
|
|
93
|
+
type requirement_action = { type: String, value: String? }
|
|
94
|
+
|
|
95
|
+
class RequirementAction < Telnyx::Internal::Type::BaseModel
|
|
96
|
+
attr_reader type: String?
|
|
97
|
+
|
|
98
|
+
def type=: (String) -> String
|
|
99
|
+
|
|
100
|
+
attr_accessor value: String?
|
|
101
|
+
|
|
102
|
+
def initialize: (?type: String, ?value: String?) -> void
|
|
103
|
+
|
|
104
|
+
def to_hash: -> { type: String, value: String? }
|
|
105
|
+
end
|
|
106
|
+
end
|
|
107
|
+
end
|
|
108
|
+
end
|
|
109
|
+
end
|
|
110
|
+
end
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
module ExternalRequirements
|
|
4
|
+
type sub_number_order_update_params =
|
|
5
|
+
{
|
|
6
|
+
regulatory_requirement_id: String,
|
|
7
|
+
sub_number_order_id: String,
|
|
8
|
+
requirement: Telnyx::ExternalRequirements::SubNumberOrderUpdateParams::Requirement
|
|
9
|
+
}
|
|
10
|
+
& Telnyx::Internal::Type::request_parameters
|
|
11
|
+
|
|
12
|
+
class SubNumberOrderUpdateParams < Telnyx::Internal::Type::BaseModel
|
|
13
|
+
extend Telnyx::Internal::Type::RequestParameters::Converter
|
|
14
|
+
include Telnyx::Internal::Type::RequestParameters
|
|
15
|
+
|
|
16
|
+
attr_accessor regulatory_requirement_id: String
|
|
17
|
+
|
|
18
|
+
attr_accessor sub_number_order_id: String
|
|
19
|
+
|
|
20
|
+
attr_accessor requirement: Telnyx::ExternalRequirements::SubNumberOrderUpdateParams::Requirement
|
|
21
|
+
|
|
22
|
+
def initialize: (
|
|
23
|
+
regulatory_requirement_id: String,
|
|
24
|
+
sub_number_order_id: String,
|
|
25
|
+
requirement: Telnyx::ExternalRequirements::SubNumberOrderUpdateParams::Requirement,
|
|
26
|
+
?request_options: Telnyx::request_opts
|
|
27
|
+
) -> void
|
|
28
|
+
|
|
29
|
+
def to_hash: -> {
|
|
30
|
+
regulatory_requirement_id: String,
|
|
31
|
+
sub_number_order_id: String,
|
|
32
|
+
requirement: Telnyx::ExternalRequirements::SubNumberOrderUpdateParams::Requirement,
|
|
33
|
+
request_options: Telnyx::RequestOptions
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
type requirement = { first_name: String, last_name: String }
|
|
37
|
+
|
|
38
|
+
class Requirement < Telnyx::Internal::Type::BaseModel
|
|
39
|
+
attr_accessor first_name: String
|
|
40
|
+
|
|
41
|
+
attr_accessor last_name: String
|
|
42
|
+
|
|
43
|
+
def initialize: (first_name: String, last_name: String) -> void
|
|
44
|
+
|
|
45
|
+
def to_hash: -> { first_name: String, last_name: String }
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
end
|
|
49
|
+
end
|
|
50
|
+
end
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
module ExternalRequirements
|
|
4
|
+
type sub_number_order_update_response =
|
|
5
|
+
{
|
|
6
|
+
data: Telnyx::Models::ExternalRequirements::SubNumberOrderUpdateResponse::Data
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
class SubNumberOrderUpdateResponse < Telnyx::Internal::Type::BaseModel
|
|
10
|
+
attr_reader data: Telnyx::Models::ExternalRequirements::SubNumberOrderUpdateResponse::Data?
|
|
11
|
+
|
|
12
|
+
def data=: (
|
|
13
|
+
Telnyx::Models::ExternalRequirements::SubNumberOrderUpdateResponse::Data
|
|
14
|
+
) -> Telnyx::Models::ExternalRequirements::SubNumberOrderUpdateResponse::Data
|
|
15
|
+
|
|
16
|
+
def initialize: (
|
|
17
|
+
?data: Telnyx::Models::ExternalRequirements::SubNumberOrderUpdateResponse::Data
|
|
18
|
+
) -> void
|
|
19
|
+
|
|
20
|
+
def to_hash: -> {
|
|
21
|
+
data: Telnyx::Models::ExternalRequirements::SubNumberOrderUpdateResponse::Data
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
type data =
|
|
25
|
+
{
|
|
26
|
+
regulatory_requirement_id: String,
|
|
27
|
+
requirement_action: Telnyx::Models::ExternalRequirements::SubNumberOrderUpdateResponse::Data::RequirementAction,
|
|
28
|
+
sub_order_id: String
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
class Data < Telnyx::Internal::Type::BaseModel
|
|
32
|
+
attr_reader regulatory_requirement_id: String?
|
|
33
|
+
|
|
34
|
+
def regulatory_requirement_id=: (String) -> String
|
|
35
|
+
|
|
36
|
+
attr_reader requirement_action: Telnyx::Models::ExternalRequirements::SubNumberOrderUpdateResponse::Data::RequirementAction?
|
|
37
|
+
|
|
38
|
+
def requirement_action=: (
|
|
39
|
+
Telnyx::Models::ExternalRequirements::SubNumberOrderUpdateResponse::Data::RequirementAction
|
|
40
|
+
) -> Telnyx::Models::ExternalRequirements::SubNumberOrderUpdateResponse::Data::RequirementAction
|
|
41
|
+
|
|
42
|
+
attr_reader sub_order_id: String?
|
|
43
|
+
|
|
44
|
+
def sub_order_id=: (String) -> String
|
|
45
|
+
|
|
46
|
+
def initialize: (
|
|
47
|
+
?regulatory_requirement_id: String,
|
|
48
|
+
?requirement_action: Telnyx::Models::ExternalRequirements::SubNumberOrderUpdateResponse::Data::RequirementAction,
|
|
49
|
+
?sub_order_id: String
|
|
50
|
+
) -> void
|
|
51
|
+
|
|
52
|
+
def to_hash: -> {
|
|
53
|
+
regulatory_requirement_id: String,
|
|
54
|
+
requirement_action: Telnyx::Models::ExternalRequirements::SubNumberOrderUpdateResponse::Data::RequirementAction,
|
|
55
|
+
sub_order_id: String
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
type requirement_action = { type: String, value: String? }
|
|
59
|
+
|
|
60
|
+
class RequirementAction < Telnyx::Internal::Type::BaseModel
|
|
61
|
+
attr_reader type: String?
|
|
62
|
+
|
|
63
|
+
def type=: (String) -> String
|
|
64
|
+
|
|
65
|
+
attr_accessor value: String?
|
|
66
|
+
|
|
67
|
+
def initialize: (?type: String, ?value: String?) -> void
|
|
68
|
+
|
|
69
|
+
def to_hash: -> { type: String, value: String? }
|
|
70
|
+
end
|
|
71
|
+
end
|
|
72
|
+
end
|
|
73
|
+
end
|
|
74
|
+
end
|
|
75
|
+
end
|