telnyx 5.85.0 → 5.86.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 +9 -0
- data/README.md +1 -1
- data/lib/telnyx/models/ai/transcription_settings.rb +32 -13
- data/lib/telnyx/models/ai/transcription_settings_config.rb +30 -1
- data/lib/telnyx/models/verify_profile.rb +17 -71
- data/lib/telnyx/models/verify_profile_create_params.rb +25 -69
- data/lib/telnyx/models/verify_profile_update_params.rb +23 -111
- data/lib/telnyx/resources/verify_profiles.rb +17 -6
- data/lib/telnyx/version.rb +1 -1
- data/rbi/telnyx/models/ai/transcription_settings.rbi +51 -16
- data/rbi/telnyx/models/ai/transcription_settings_config.rbi +43 -0
- data/rbi/telnyx/models/verify_profile.rbi +22 -115
- data/rbi/telnyx/models/verify_profile_create_params.rbi +22 -118
- data/rbi/telnyx/models/verify_profile_update_params.rbi +20 -205
- data/rbi/telnyx/resources/verify_profiles.rbi +12 -6
- data/sig/telnyx/models/ai/transcription_settings.rbs +11 -0
- data/sig/telnyx/models/ai/transcription_settings_config.rbs +21 -0
- data/sig/telnyx/models/verify_profile.rbs +14 -61
- data/sig/telnyx/models/verify_profile_create_params.rbs +14 -63
- data/sig/telnyx/models/verify_profile_update_params.rbs +12 -103
- data/sig/telnyx/resources/verify_profiles.rbs +4 -3
- metadata +2 -2
|
@@ -20,15 +20,19 @@ module Telnyx
|
|
|
20
20
|
sig { params(call: Telnyx::VerifyProfileUpdateParams::Call::OrHash).void }
|
|
21
21
|
attr_writer :call
|
|
22
22
|
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
# The maximum daily spend allowed on this verify profile, in USD.
|
|
24
|
+
sig { returns(T.nilable(Float)) }
|
|
25
|
+
attr_reader :daily_spend_limit
|
|
25
26
|
|
|
26
|
-
sig
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
27
|
+
sig { params(daily_spend_limit: Float).void }
|
|
28
|
+
attr_writer :daily_spend_limit
|
|
29
|
+
|
|
30
|
+
# Whether the daily spend limit is enforced for this verify profile.
|
|
31
|
+
sig { returns(T.nilable(T::Boolean)) }
|
|
32
|
+
attr_reader :daily_spend_limit_enabled
|
|
33
|
+
|
|
34
|
+
sig { params(daily_spend_limit_enabled: T::Boolean).void }
|
|
35
|
+
attr_writer :daily_spend_limit_enabled
|
|
32
36
|
|
|
33
37
|
sig { returns(T.nilable(String)) }
|
|
34
38
|
attr_reader :language
|
|
@@ -42,12 +46,6 @@ module Telnyx
|
|
|
42
46
|
sig { params(name: String).void }
|
|
43
47
|
attr_writer :name
|
|
44
48
|
|
|
45
|
-
sig { returns(T.nilable(Telnyx::VerifyProfileUpdateParams::Rcs)) }
|
|
46
|
-
attr_reader :rcs
|
|
47
|
-
|
|
48
|
-
sig { params(rcs: Telnyx::VerifyProfileUpdateParams::Rcs::OrHash).void }
|
|
49
|
-
attr_writer :rcs
|
|
50
|
-
|
|
51
49
|
sig { returns(T.nilable(Telnyx::VerifyProfileUpdateParams::SMS)) }
|
|
52
50
|
attr_reader :sms
|
|
53
51
|
|
|
@@ -80,10 +78,10 @@ module Telnyx
|
|
|
80
78
|
params(
|
|
81
79
|
verify_profile_id: String,
|
|
82
80
|
call: Telnyx::VerifyProfileUpdateParams::Call::OrHash,
|
|
83
|
-
|
|
81
|
+
daily_spend_limit: Float,
|
|
82
|
+
daily_spend_limit_enabled: T::Boolean,
|
|
84
83
|
language: String,
|
|
85
84
|
name: String,
|
|
86
|
-
rcs: Telnyx::VerifyProfileUpdateParams::Rcs::OrHash,
|
|
87
85
|
sms: Telnyx::VerifyProfileUpdateParams::SMS::OrHash,
|
|
88
86
|
webhook_failover_url: String,
|
|
89
87
|
webhook_url: String,
|
|
@@ -94,10 +92,12 @@ module Telnyx
|
|
|
94
92
|
def self.new(
|
|
95
93
|
verify_profile_id:,
|
|
96
94
|
call: nil,
|
|
97
|
-
|
|
95
|
+
# The maximum daily spend allowed on this verify profile, in USD.
|
|
96
|
+
daily_spend_limit: nil,
|
|
97
|
+
# Whether the daily spend limit is enforced for this verify profile.
|
|
98
|
+
daily_spend_limit_enabled: nil,
|
|
98
99
|
language: nil,
|
|
99
100
|
name: nil,
|
|
100
|
-
rcs: nil,
|
|
101
101
|
sms: nil,
|
|
102
102
|
webhook_failover_url: nil,
|
|
103
103
|
webhook_url: nil,
|
|
@@ -111,10 +111,10 @@ module Telnyx
|
|
|
111
111
|
{
|
|
112
112
|
verify_profile_id: String,
|
|
113
113
|
call: Telnyx::VerifyProfileUpdateParams::Call,
|
|
114
|
-
|
|
114
|
+
daily_spend_limit: Float,
|
|
115
|
+
daily_spend_limit_enabled: T::Boolean,
|
|
115
116
|
language: String,
|
|
116
117
|
name: String,
|
|
117
|
-
rcs: Telnyx::VerifyProfileUpdateParams::Rcs,
|
|
118
118
|
sms: Telnyx::VerifyProfileUpdateParams::SMS,
|
|
119
119
|
webhook_failover_url: String,
|
|
120
120
|
webhook_url: String,
|
|
@@ -224,191 +224,6 @@ module Telnyx
|
|
|
224
224
|
end
|
|
225
225
|
end
|
|
226
226
|
|
|
227
|
-
class Flashcall < Telnyx::Internal::Type::BaseModel
|
|
228
|
-
OrHash =
|
|
229
|
-
T.type_alias do
|
|
230
|
-
T.any(
|
|
231
|
-
Telnyx::VerifyProfileUpdateParams::Flashcall,
|
|
232
|
-
Telnyx::Internal::AnyHash
|
|
233
|
-
)
|
|
234
|
-
end
|
|
235
|
-
|
|
236
|
-
# The name that identifies the application requesting 2fa in the verification
|
|
237
|
-
# message.
|
|
238
|
-
sig { returns(T.nilable(String)) }
|
|
239
|
-
attr_reader :app_name
|
|
240
|
-
|
|
241
|
-
sig { params(app_name: String).void }
|
|
242
|
-
attr_writer :app_name
|
|
243
|
-
|
|
244
|
-
# For every request that is initiated via this Verify profile, this sets the
|
|
245
|
-
# number of seconds before a verification request code expires. Once the
|
|
246
|
-
# verification request expires, the user cannot use the code to verify their
|
|
247
|
-
# identity.
|
|
248
|
-
sig { returns(T.nilable(Integer)) }
|
|
249
|
-
attr_reader :default_verification_timeout_secs
|
|
250
|
-
|
|
251
|
-
sig { params(default_verification_timeout_secs: Integer).void }
|
|
252
|
-
attr_writer :default_verification_timeout_secs
|
|
253
|
-
|
|
254
|
-
# Enabled country destinations to send verification codes. The elements in the
|
|
255
|
-
# list must be valid ISO 3166-1 alpha-2 country codes. If set to `["*"]`, all
|
|
256
|
-
# destinations will be allowed. **Conditionally required:** this field must be
|
|
257
|
-
# provided when your organization is configured to require explicit whitelisted
|
|
258
|
-
# destinations; otherwise it is optional.
|
|
259
|
-
sig { returns(T.nilable(T::Array[String])) }
|
|
260
|
-
attr_reader :whitelisted_destinations
|
|
261
|
-
|
|
262
|
-
sig { params(whitelisted_destinations: T::Array[String]).void }
|
|
263
|
-
attr_writer :whitelisted_destinations
|
|
264
|
-
|
|
265
|
-
sig do
|
|
266
|
-
params(
|
|
267
|
-
app_name: String,
|
|
268
|
-
default_verification_timeout_secs: Integer,
|
|
269
|
-
whitelisted_destinations: T::Array[String]
|
|
270
|
-
).returns(T.attached_class)
|
|
271
|
-
end
|
|
272
|
-
def self.new(
|
|
273
|
-
# The name that identifies the application requesting 2fa in the verification
|
|
274
|
-
# message.
|
|
275
|
-
app_name: nil,
|
|
276
|
-
# For every request that is initiated via this Verify profile, this sets the
|
|
277
|
-
# number of seconds before a verification request code expires. Once the
|
|
278
|
-
# verification request expires, the user cannot use the code to verify their
|
|
279
|
-
# identity.
|
|
280
|
-
default_verification_timeout_secs: nil,
|
|
281
|
-
# Enabled country destinations to send verification codes. The elements in the
|
|
282
|
-
# list must be valid ISO 3166-1 alpha-2 country codes. If set to `["*"]`, all
|
|
283
|
-
# destinations will be allowed. **Conditionally required:** this field must be
|
|
284
|
-
# provided when your organization is configured to require explicit whitelisted
|
|
285
|
-
# destinations; otherwise it is optional.
|
|
286
|
-
whitelisted_destinations: nil
|
|
287
|
-
)
|
|
288
|
-
end
|
|
289
|
-
|
|
290
|
-
sig do
|
|
291
|
-
override.returns(
|
|
292
|
-
{
|
|
293
|
-
app_name: String,
|
|
294
|
-
default_verification_timeout_secs: Integer,
|
|
295
|
-
whitelisted_destinations: T::Array[String]
|
|
296
|
-
}
|
|
297
|
-
)
|
|
298
|
-
end
|
|
299
|
-
def to_hash
|
|
300
|
-
end
|
|
301
|
-
end
|
|
302
|
-
|
|
303
|
-
class Rcs < Telnyx::Internal::Type::BaseModel
|
|
304
|
-
OrHash =
|
|
305
|
-
T.type_alias do
|
|
306
|
-
T.any(
|
|
307
|
-
Telnyx::VerifyProfileUpdateParams::Rcs,
|
|
308
|
-
Telnyx::Internal::AnyHash
|
|
309
|
-
)
|
|
310
|
-
end
|
|
311
|
-
|
|
312
|
-
# The name that identifies the application requesting 2fa in the verification
|
|
313
|
-
# message.
|
|
314
|
-
sig { returns(T.nilable(String)) }
|
|
315
|
-
attr_reader :app_name
|
|
316
|
-
|
|
317
|
-
sig { params(app_name: String).void }
|
|
318
|
-
attr_writer :app_name
|
|
319
|
-
|
|
320
|
-
# The length of the verify code to generate.
|
|
321
|
-
sig { returns(T.nilable(Integer)) }
|
|
322
|
-
attr_reader :code_length
|
|
323
|
-
|
|
324
|
-
sig { params(code_length: Integer).void }
|
|
325
|
-
attr_writer :code_length
|
|
326
|
-
|
|
327
|
-
# For every request that is initiated via this Verify profile, this sets the
|
|
328
|
-
# number of seconds before a verification request code expires. Once the
|
|
329
|
-
# verification request expires, the user cannot use the code to verify their
|
|
330
|
-
# identity.
|
|
331
|
-
sig { returns(T.nilable(Integer)) }
|
|
332
|
-
attr_reader :default_verification_timeout_secs
|
|
333
|
-
|
|
334
|
-
sig { params(default_verification_timeout_secs: Integer).void }
|
|
335
|
-
attr_writer :default_verification_timeout_secs
|
|
336
|
-
|
|
337
|
-
# The message template identifier selected from /verify_profiles/templates
|
|
338
|
-
sig { returns(T.nilable(String)) }
|
|
339
|
-
attr_reader :messaging_template_id
|
|
340
|
-
|
|
341
|
-
sig { params(messaging_template_id: String).void }
|
|
342
|
-
attr_writer :messaging_template_id
|
|
343
|
-
|
|
344
|
-
# Enable SMS fallback when RCS delivery fails.
|
|
345
|
-
sig { returns(T.nilable(T::Boolean)) }
|
|
346
|
-
attr_reader :sms_fallback
|
|
347
|
-
|
|
348
|
-
sig { params(sms_fallback: T::Boolean).void }
|
|
349
|
-
attr_writer :sms_fallback
|
|
350
|
-
|
|
351
|
-
# Enabled country destinations to send verification codes. The elements in the
|
|
352
|
-
# list must be valid ISO 3166-1 alpha-2 country codes. If set to `["*"]`, all
|
|
353
|
-
# destinations will be allowed. **Conditionally required:** this field must be
|
|
354
|
-
# provided when your organization is configured to require explicit whitelisted
|
|
355
|
-
# destinations; otherwise it is optional.
|
|
356
|
-
sig { returns(T.nilable(T::Array[String])) }
|
|
357
|
-
attr_reader :whitelisted_destinations
|
|
358
|
-
|
|
359
|
-
sig { params(whitelisted_destinations: T::Array[String]).void }
|
|
360
|
-
attr_writer :whitelisted_destinations
|
|
361
|
-
|
|
362
|
-
sig do
|
|
363
|
-
params(
|
|
364
|
-
app_name: String,
|
|
365
|
-
code_length: Integer,
|
|
366
|
-
default_verification_timeout_secs: Integer,
|
|
367
|
-
messaging_template_id: String,
|
|
368
|
-
sms_fallback: T::Boolean,
|
|
369
|
-
whitelisted_destinations: T::Array[String]
|
|
370
|
-
).returns(T.attached_class)
|
|
371
|
-
end
|
|
372
|
-
def self.new(
|
|
373
|
-
# The name that identifies the application requesting 2fa in the verification
|
|
374
|
-
# message.
|
|
375
|
-
app_name: nil,
|
|
376
|
-
# The length of the verify code to generate.
|
|
377
|
-
code_length: nil,
|
|
378
|
-
# For every request that is initiated via this Verify profile, this sets the
|
|
379
|
-
# number of seconds before a verification request code expires. Once the
|
|
380
|
-
# verification request expires, the user cannot use the code to verify their
|
|
381
|
-
# identity.
|
|
382
|
-
default_verification_timeout_secs: nil,
|
|
383
|
-
# The message template identifier selected from /verify_profiles/templates
|
|
384
|
-
messaging_template_id: nil,
|
|
385
|
-
# Enable SMS fallback when RCS delivery fails.
|
|
386
|
-
sms_fallback: nil,
|
|
387
|
-
# Enabled country destinations to send verification codes. The elements in the
|
|
388
|
-
# list must be valid ISO 3166-1 alpha-2 country codes. If set to `["*"]`, all
|
|
389
|
-
# destinations will be allowed. **Conditionally required:** this field must be
|
|
390
|
-
# provided when your organization is configured to require explicit whitelisted
|
|
391
|
-
# destinations; otherwise it is optional.
|
|
392
|
-
whitelisted_destinations: nil
|
|
393
|
-
)
|
|
394
|
-
end
|
|
395
|
-
|
|
396
|
-
sig do
|
|
397
|
-
override.returns(
|
|
398
|
-
{
|
|
399
|
-
app_name: String,
|
|
400
|
-
code_length: Integer,
|
|
401
|
-
default_verification_timeout_secs: Integer,
|
|
402
|
-
messaging_template_id: String,
|
|
403
|
-
sms_fallback: T::Boolean,
|
|
404
|
-
whitelisted_destinations: T::Array[String]
|
|
405
|
-
}
|
|
406
|
-
)
|
|
407
|
-
end
|
|
408
|
-
def to_hash
|
|
409
|
-
end
|
|
410
|
-
end
|
|
411
|
-
|
|
412
227
|
class SMS < Telnyx::Internal::Type::BaseModel
|
|
413
228
|
OrHash =
|
|
414
229
|
T.type_alias do
|
|
@@ -9,9 +9,10 @@ module Telnyx
|
|
|
9
9
|
params(
|
|
10
10
|
name: String,
|
|
11
11
|
call: Telnyx::VerifyProfileCreateParams::Call::OrHash,
|
|
12
|
+
daily_spend_limit: Float,
|
|
13
|
+
daily_spend_limit_enabled: T::Boolean,
|
|
12
14
|
flashcall: Telnyx::VerifyProfileCreateParams::Flashcall::OrHash,
|
|
13
15
|
language: String,
|
|
14
|
-
rcs: Telnyx::VerifyProfileCreateParams::Rcs::OrHash,
|
|
15
16
|
sms: Telnyx::VerifyProfileCreateParams::SMS::OrHash,
|
|
16
17
|
webhook_failover_url: String,
|
|
17
18
|
webhook_url: String,
|
|
@@ -22,9 +23,12 @@ module Telnyx
|
|
|
22
23
|
def create(
|
|
23
24
|
name:,
|
|
24
25
|
call: nil,
|
|
26
|
+
# The maximum daily spend allowed on this verify profile, in USD.
|
|
27
|
+
daily_spend_limit: nil,
|
|
28
|
+
# Whether the daily spend limit is enforced for this verify profile.
|
|
29
|
+
daily_spend_limit_enabled: nil,
|
|
25
30
|
flashcall: nil,
|
|
26
31
|
language: nil,
|
|
27
|
-
rcs: nil,
|
|
28
32
|
sms: nil,
|
|
29
33
|
webhook_failover_url: nil,
|
|
30
34
|
webhook_url: nil,
|
|
@@ -52,10 +56,10 @@ module Telnyx
|
|
|
52
56
|
params(
|
|
53
57
|
verify_profile_id: String,
|
|
54
58
|
call: Telnyx::VerifyProfileUpdateParams::Call::OrHash,
|
|
55
|
-
|
|
59
|
+
daily_spend_limit: Float,
|
|
60
|
+
daily_spend_limit_enabled: T::Boolean,
|
|
56
61
|
language: String,
|
|
57
62
|
name: String,
|
|
58
|
-
rcs: Telnyx::VerifyProfileUpdateParams::Rcs::OrHash,
|
|
59
63
|
sms: Telnyx::VerifyProfileUpdateParams::SMS::OrHash,
|
|
60
64
|
webhook_failover_url: String,
|
|
61
65
|
webhook_url: String,
|
|
@@ -67,10 +71,12 @@ module Telnyx
|
|
|
67
71
|
# The identifier of the Verify profile to update.
|
|
68
72
|
verify_profile_id,
|
|
69
73
|
call: nil,
|
|
70
|
-
|
|
74
|
+
# The maximum daily spend allowed on this verify profile, in USD.
|
|
75
|
+
daily_spend_limit: nil,
|
|
76
|
+
# Whether the daily spend limit is enforced for this verify profile.
|
|
77
|
+
daily_spend_limit_enabled: nil,
|
|
71
78
|
language: nil,
|
|
72
79
|
name: nil,
|
|
73
|
-
rcs: nil,
|
|
74
80
|
sms: nil,
|
|
75
81
|
webhook_failover_url: nil,
|
|
76
82
|
webhook_url: nil,
|
|
@@ -3,6 +3,7 @@ module Telnyx
|
|
|
3
3
|
module AI
|
|
4
4
|
type transcription_settings =
|
|
5
5
|
{
|
|
6
|
+
api_key_ref: String,
|
|
6
7
|
language: String,
|
|
7
8
|
model: Telnyx::Models::AI::TranscriptionSettings::model,
|
|
8
9
|
region: String,
|
|
@@ -10,6 +11,10 @@ module Telnyx
|
|
|
10
11
|
}
|
|
11
12
|
|
|
12
13
|
class TranscriptionSettings < Telnyx::Internal::Type::BaseModel
|
|
14
|
+
attr_reader api_key_ref: String?
|
|
15
|
+
|
|
16
|
+
def api_key_ref=: (String) -> String
|
|
17
|
+
|
|
13
18
|
attr_reader language: String?
|
|
14
19
|
|
|
15
20
|
def language=: (String) -> String
|
|
@@ -31,6 +36,7 @@ module Telnyx
|
|
|
31
36
|
) -> Telnyx::AI::TranscriptionSettingsConfig
|
|
32
37
|
|
|
33
38
|
def initialize: (
|
|
39
|
+
?api_key_ref: String,
|
|
34
40
|
?language: String,
|
|
35
41
|
?model: Telnyx::Models::AI::TranscriptionSettings::model,
|
|
36
42
|
?region: String,
|
|
@@ -38,6 +44,7 @@ module Telnyx
|
|
|
38
44
|
) -> void
|
|
39
45
|
|
|
40
46
|
def to_hash: -> {
|
|
47
|
+
api_key_ref: String,
|
|
41
48
|
language: String,
|
|
42
49
|
model: Telnyx::Models::AI::TranscriptionSettings::model,
|
|
43
50
|
region: String,
|
|
@@ -49,6 +56,8 @@ module Telnyx
|
|
|
49
56
|
| :"deepgram/nova-3"
|
|
50
57
|
| :"deepgram/nova-2"
|
|
51
58
|
| :"azure/fast"
|
|
59
|
+
| :"assemblyai/universal-streaming"
|
|
60
|
+
| :"xai/grok-stt"
|
|
52
61
|
| :"distil-whisper/distil-large-v2"
|
|
53
62
|
| :"openai/whisper-large-v3-turbo"
|
|
54
63
|
|
|
@@ -59,6 +68,8 @@ module Telnyx
|
|
|
59
68
|
DEEPGRAM_NOVA_3: :"deepgram/nova-3"
|
|
60
69
|
DEEPGRAM_NOVA_2: :"deepgram/nova-2"
|
|
61
70
|
AZURE_FAST: :"azure/fast"
|
|
71
|
+
ASSEMBLYAI_UNIVERSAL_STREAMING: :"assemblyai/universal-streaming"
|
|
72
|
+
XAI_GROK_STT: :"xai/grok-stt"
|
|
62
73
|
DISTIL_WHISPER_DISTIL_LARGE_V2: :"distil-whisper/distil-large-v2"
|
|
63
74
|
OPENAI_WHISPER_LARGE_V3_TURBO: :"openai/whisper-large-v3-turbo"
|
|
64
75
|
|
|
@@ -4,9 +4,12 @@ module Telnyx
|
|
|
4
4
|
type transcription_settings_config =
|
|
5
5
|
{
|
|
6
6
|
eager_eot_threshold: Float,
|
|
7
|
+
end_of_turn_confidence_threshold: Float,
|
|
7
8
|
eot_threshold: Float,
|
|
8
9
|
eot_timeout_ms: Integer,
|
|
9
10
|
keyterm: String,
|
|
11
|
+
max_turn_silence: Integer,
|
|
12
|
+
min_turn_silence: Integer,
|
|
10
13
|
numerals: bool,
|
|
11
14
|
smart_format: bool
|
|
12
15
|
}
|
|
@@ -16,6 +19,10 @@ module Telnyx
|
|
|
16
19
|
|
|
17
20
|
def eager_eot_threshold=: (Float) -> Float
|
|
18
21
|
|
|
22
|
+
attr_reader end_of_turn_confidence_threshold: Float?
|
|
23
|
+
|
|
24
|
+
def end_of_turn_confidence_threshold=: (Float) -> Float
|
|
25
|
+
|
|
19
26
|
attr_reader eot_threshold: Float?
|
|
20
27
|
|
|
21
28
|
def eot_threshold=: (Float) -> Float
|
|
@@ -28,6 +35,14 @@ module Telnyx
|
|
|
28
35
|
|
|
29
36
|
def keyterm=: (String) -> String
|
|
30
37
|
|
|
38
|
+
attr_reader max_turn_silence: Integer?
|
|
39
|
+
|
|
40
|
+
def max_turn_silence=: (Integer) -> Integer
|
|
41
|
+
|
|
42
|
+
attr_reader min_turn_silence: Integer?
|
|
43
|
+
|
|
44
|
+
def min_turn_silence=: (Integer) -> Integer
|
|
45
|
+
|
|
31
46
|
attr_reader numerals: bool?
|
|
32
47
|
|
|
33
48
|
def numerals=: (bool) -> bool
|
|
@@ -38,18 +53,24 @@ module Telnyx
|
|
|
38
53
|
|
|
39
54
|
def initialize: (
|
|
40
55
|
?eager_eot_threshold: Float,
|
|
56
|
+
?end_of_turn_confidence_threshold: Float,
|
|
41
57
|
?eot_threshold: Float,
|
|
42
58
|
?eot_timeout_ms: Integer,
|
|
43
59
|
?keyterm: String,
|
|
60
|
+
?max_turn_silence: Integer,
|
|
61
|
+
?min_turn_silence: Integer,
|
|
44
62
|
?numerals: bool,
|
|
45
63
|
?smart_format: bool
|
|
46
64
|
) -> void
|
|
47
65
|
|
|
48
66
|
def to_hash: -> {
|
|
49
67
|
eager_eot_threshold: Float,
|
|
68
|
+
end_of_turn_confidence_threshold: Float,
|
|
50
69
|
eot_threshold: Float,
|
|
51
70
|
eot_timeout_ms: Integer,
|
|
52
71
|
keyterm: String,
|
|
72
|
+
max_turn_silence: Integer,
|
|
73
|
+
min_turn_silence: Integer,
|
|
53
74
|
numerals: bool,
|
|
54
75
|
smart_format: bool
|
|
55
76
|
}
|
|
@@ -5,10 +5,11 @@ module Telnyx
|
|
|
5
5
|
id: String,
|
|
6
6
|
call: Telnyx::VerifyProfile::Call,
|
|
7
7
|
created_at: String,
|
|
8
|
+
daily_spend_limit: Float,
|
|
9
|
+
daily_spend_limit_enabled: bool,
|
|
8
10
|
flashcall: Telnyx::VerifyProfile::Flashcall,
|
|
9
11
|
language: String,
|
|
10
12
|
name: String,
|
|
11
|
-
rcs: Telnyx::VerifyProfile::Rcs,
|
|
12
13
|
record_type: Telnyx::Models::VerifyProfile::record_type,
|
|
13
14
|
sms: Telnyx::VerifyProfile::SMS,
|
|
14
15
|
updated_at: String,
|
|
@@ -30,6 +31,14 @@ module Telnyx
|
|
|
30
31
|
|
|
31
32
|
def created_at=: (String) -> String
|
|
32
33
|
|
|
34
|
+
attr_reader daily_spend_limit: Float?
|
|
35
|
+
|
|
36
|
+
def daily_spend_limit=: (Float) -> Float
|
|
37
|
+
|
|
38
|
+
attr_reader daily_spend_limit_enabled: bool?
|
|
39
|
+
|
|
40
|
+
def daily_spend_limit_enabled=: (bool) -> bool
|
|
41
|
+
|
|
33
42
|
attr_reader flashcall: Telnyx::VerifyProfile::Flashcall?
|
|
34
43
|
|
|
35
44
|
def flashcall=: (
|
|
@@ -44,10 +53,6 @@ module Telnyx
|
|
|
44
53
|
|
|
45
54
|
def name=: (String) -> String
|
|
46
55
|
|
|
47
|
-
attr_reader rcs: Telnyx::VerifyProfile::Rcs?
|
|
48
|
-
|
|
49
|
-
def rcs=: (Telnyx::VerifyProfile::Rcs) -> Telnyx::VerifyProfile::Rcs
|
|
50
|
-
|
|
51
56
|
attr_reader record_type: Telnyx::Models::VerifyProfile::record_type?
|
|
52
57
|
|
|
53
58
|
def record_type=: (
|
|
@@ -80,10 +85,11 @@ module Telnyx
|
|
|
80
85
|
?id: String,
|
|
81
86
|
?call: Telnyx::VerifyProfile::Call,
|
|
82
87
|
?created_at: String,
|
|
88
|
+
?daily_spend_limit: Float,
|
|
89
|
+
?daily_spend_limit_enabled: bool,
|
|
83
90
|
?flashcall: Telnyx::VerifyProfile::Flashcall,
|
|
84
91
|
?language: String,
|
|
85
92
|
?name: String,
|
|
86
|
-
?rcs: Telnyx::VerifyProfile::Rcs,
|
|
87
93
|
?record_type: Telnyx::Models::VerifyProfile::record_type,
|
|
88
94
|
?sms: Telnyx::VerifyProfile::SMS,
|
|
89
95
|
?updated_at: String,
|
|
@@ -96,10 +102,11 @@ module Telnyx
|
|
|
96
102
|
id: String,
|
|
97
103
|
call: Telnyx::VerifyProfile::Call,
|
|
98
104
|
created_at: String,
|
|
105
|
+
daily_spend_limit: Float,
|
|
106
|
+
daily_spend_limit_enabled: bool,
|
|
99
107
|
flashcall: Telnyx::VerifyProfile::Flashcall,
|
|
100
108
|
language: String,
|
|
101
109
|
name: String,
|
|
102
|
-
rcs: Telnyx::VerifyProfile::Rcs,
|
|
103
110
|
record_type: Telnyx::Models::VerifyProfile::record_type,
|
|
104
111
|
sms: Telnyx::VerifyProfile::SMS,
|
|
105
112
|
updated_at: String,
|
|
@@ -178,60 +185,6 @@ module Telnyx
|
|
|
178
185
|
}
|
|
179
186
|
end
|
|
180
187
|
|
|
181
|
-
type rcs =
|
|
182
|
-
{
|
|
183
|
-
app_name: String,
|
|
184
|
-
code_length: Integer,
|
|
185
|
-
default_verification_timeout_secs: Integer,
|
|
186
|
-
messaging_template_id: String,
|
|
187
|
-
sms_fallback: bool,
|
|
188
|
-
whitelisted_destinations: ::Array[String]
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
class Rcs < Telnyx::Internal::Type::BaseModel
|
|
192
|
-
attr_reader app_name: String?
|
|
193
|
-
|
|
194
|
-
def app_name=: (String) -> String
|
|
195
|
-
|
|
196
|
-
attr_reader code_length: Integer?
|
|
197
|
-
|
|
198
|
-
def code_length=: (Integer) -> Integer
|
|
199
|
-
|
|
200
|
-
attr_reader default_verification_timeout_secs: Integer?
|
|
201
|
-
|
|
202
|
-
def default_verification_timeout_secs=: (Integer) -> Integer
|
|
203
|
-
|
|
204
|
-
attr_reader messaging_template_id: String?
|
|
205
|
-
|
|
206
|
-
def messaging_template_id=: (String) -> String
|
|
207
|
-
|
|
208
|
-
attr_reader sms_fallback: bool?
|
|
209
|
-
|
|
210
|
-
def sms_fallback=: (bool) -> bool
|
|
211
|
-
|
|
212
|
-
attr_reader whitelisted_destinations: ::Array[String]?
|
|
213
|
-
|
|
214
|
-
def whitelisted_destinations=: (::Array[String]) -> ::Array[String]
|
|
215
|
-
|
|
216
|
-
def initialize: (
|
|
217
|
-
?app_name: String,
|
|
218
|
-
?code_length: Integer,
|
|
219
|
-
?default_verification_timeout_secs: Integer,
|
|
220
|
-
?messaging_template_id: String,
|
|
221
|
-
?sms_fallback: bool,
|
|
222
|
-
?whitelisted_destinations: ::Array[String]
|
|
223
|
-
) -> void
|
|
224
|
-
|
|
225
|
-
def to_hash: -> {
|
|
226
|
-
app_name: String,
|
|
227
|
-
code_length: Integer,
|
|
228
|
-
default_verification_timeout_secs: Integer,
|
|
229
|
-
messaging_template_id: String,
|
|
230
|
-
sms_fallback: bool,
|
|
231
|
-
whitelisted_destinations: ::Array[String]
|
|
232
|
-
}
|
|
233
|
-
end
|
|
234
|
-
|
|
235
188
|
type record_type = :verification_profile
|
|
236
189
|
|
|
237
190
|
module RecordType
|
|
@@ -4,9 +4,10 @@ module Telnyx
|
|
|
4
4
|
{
|
|
5
5
|
name: String,
|
|
6
6
|
call: Telnyx::VerifyProfileCreateParams::Call,
|
|
7
|
+
daily_spend_limit: Float,
|
|
8
|
+
daily_spend_limit_enabled: bool,
|
|
7
9
|
flashcall: Telnyx::VerifyProfileCreateParams::Flashcall,
|
|
8
10
|
language: String,
|
|
9
|
-
rcs: Telnyx::VerifyProfileCreateParams::Rcs,
|
|
10
11
|
sms: Telnyx::VerifyProfileCreateParams::SMS,
|
|
11
12
|
webhook_failover_url: String,
|
|
12
13
|
webhook_url: String,
|
|
@@ -26,6 +27,14 @@ module Telnyx
|
|
|
26
27
|
Telnyx::VerifyProfileCreateParams::Call
|
|
27
28
|
) -> Telnyx::VerifyProfileCreateParams::Call
|
|
28
29
|
|
|
30
|
+
attr_reader daily_spend_limit: Float?
|
|
31
|
+
|
|
32
|
+
def daily_spend_limit=: (Float) -> Float
|
|
33
|
+
|
|
34
|
+
attr_reader daily_spend_limit_enabled: bool?
|
|
35
|
+
|
|
36
|
+
def daily_spend_limit_enabled=: (bool) -> bool
|
|
37
|
+
|
|
29
38
|
attr_reader flashcall: Telnyx::VerifyProfileCreateParams::Flashcall?
|
|
30
39
|
|
|
31
40
|
def flashcall=: (
|
|
@@ -36,12 +45,6 @@ module Telnyx
|
|
|
36
45
|
|
|
37
46
|
def language=: (String) -> String
|
|
38
47
|
|
|
39
|
-
attr_reader rcs: Telnyx::VerifyProfileCreateParams::Rcs?
|
|
40
|
-
|
|
41
|
-
def rcs=: (
|
|
42
|
-
Telnyx::VerifyProfileCreateParams::Rcs
|
|
43
|
-
) -> Telnyx::VerifyProfileCreateParams::Rcs
|
|
44
|
-
|
|
45
48
|
attr_reader sms: Telnyx::VerifyProfileCreateParams::SMS?
|
|
46
49
|
|
|
47
50
|
def sms=: (
|
|
@@ -65,9 +68,10 @@ module Telnyx
|
|
|
65
68
|
def initialize: (
|
|
66
69
|
name: String,
|
|
67
70
|
?call: Telnyx::VerifyProfileCreateParams::Call,
|
|
71
|
+
?daily_spend_limit: Float,
|
|
72
|
+
?daily_spend_limit_enabled: bool,
|
|
68
73
|
?flashcall: Telnyx::VerifyProfileCreateParams::Flashcall,
|
|
69
74
|
?language: String,
|
|
70
|
-
?rcs: Telnyx::VerifyProfileCreateParams::Rcs,
|
|
71
75
|
?sms: Telnyx::VerifyProfileCreateParams::SMS,
|
|
72
76
|
?webhook_failover_url: String,
|
|
73
77
|
?webhook_url: String,
|
|
@@ -78,9 +82,10 @@ module Telnyx
|
|
|
78
82
|
def to_hash: -> {
|
|
79
83
|
name: String,
|
|
80
84
|
call: Telnyx::VerifyProfileCreateParams::Call,
|
|
85
|
+
daily_spend_limit: Float,
|
|
86
|
+
daily_spend_limit_enabled: bool,
|
|
81
87
|
flashcall: Telnyx::VerifyProfileCreateParams::Flashcall,
|
|
82
88
|
language: String,
|
|
83
|
-
rcs: Telnyx::VerifyProfileCreateParams::Rcs,
|
|
84
89
|
sms: Telnyx::VerifyProfileCreateParams::SMS,
|
|
85
90
|
webhook_failover_url: String,
|
|
86
91
|
webhook_url: String,
|
|
@@ -168,60 +173,6 @@ module Telnyx
|
|
|
168
173
|
}
|
|
169
174
|
end
|
|
170
175
|
|
|
171
|
-
type rcs =
|
|
172
|
-
{
|
|
173
|
-
app_name: String,
|
|
174
|
-
code_length: Integer,
|
|
175
|
-
default_verification_timeout_secs: Integer,
|
|
176
|
-
messaging_template_id: String,
|
|
177
|
-
sms_fallback: bool,
|
|
178
|
-
whitelisted_destinations: ::Array[String]
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
class Rcs < Telnyx::Internal::Type::BaseModel
|
|
182
|
-
attr_reader app_name: String?
|
|
183
|
-
|
|
184
|
-
def app_name=: (String) -> String
|
|
185
|
-
|
|
186
|
-
attr_reader code_length: Integer?
|
|
187
|
-
|
|
188
|
-
def code_length=: (Integer) -> Integer
|
|
189
|
-
|
|
190
|
-
attr_reader default_verification_timeout_secs: Integer?
|
|
191
|
-
|
|
192
|
-
def default_verification_timeout_secs=: (Integer) -> Integer
|
|
193
|
-
|
|
194
|
-
attr_reader messaging_template_id: String?
|
|
195
|
-
|
|
196
|
-
def messaging_template_id=: (String) -> String
|
|
197
|
-
|
|
198
|
-
attr_reader sms_fallback: bool?
|
|
199
|
-
|
|
200
|
-
def sms_fallback=: (bool) -> bool
|
|
201
|
-
|
|
202
|
-
attr_reader whitelisted_destinations: ::Array[String]?
|
|
203
|
-
|
|
204
|
-
def whitelisted_destinations=: (::Array[String]) -> ::Array[String]
|
|
205
|
-
|
|
206
|
-
def initialize: (
|
|
207
|
-
?app_name: String,
|
|
208
|
-
?code_length: Integer,
|
|
209
|
-
?default_verification_timeout_secs: Integer,
|
|
210
|
-
?messaging_template_id: String,
|
|
211
|
-
?sms_fallback: bool,
|
|
212
|
-
?whitelisted_destinations: ::Array[String]
|
|
213
|
-
) -> void
|
|
214
|
-
|
|
215
|
-
def to_hash: -> {
|
|
216
|
-
app_name: String,
|
|
217
|
-
code_length: Integer,
|
|
218
|
-
default_verification_timeout_secs: Integer,
|
|
219
|
-
messaging_template_id: String,
|
|
220
|
-
sms_fallback: bool,
|
|
221
|
-
whitelisted_destinations: ::Array[String]
|
|
222
|
-
}
|
|
223
|
-
end
|
|
224
|
-
|
|
225
176
|
type sms =
|
|
226
177
|
{
|
|
227
178
|
alpha_sender: String?,
|