telnyx 5.80.0 → 5.82.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/README.md +1 -1
- data/lib/telnyx/models/hosted_number_order_event_webhook_event.rb +256 -0
- data/lib/telnyx/models/unsafe_unwrap_webhook_event.rb +3 -1
- data/lib/telnyx/models/unwrap_webhook_event.rb +3 -1
- data/lib/telnyx/models/verify_profile.rb +87 -1
- data/lib/telnyx/models/verify_profile_create_params.rb +25 -10
- data/lib/telnyx/models/verify_profile_update_params.rb +25 -10
- data/lib/telnyx/models.rb +2 -0
- data/lib/telnyx/resources/webhooks.rb +2 -2
- data/lib/telnyx/version.rb +1 -1
- data/lib/telnyx.rb +1 -0
- data/rbi/telnyx/models/hosted_number_order_event_webhook_event.rbi +697 -0
- data/rbi/telnyx/models/unsafe_unwrap_webhook_event.rbi +1 -0
- data/rbi/telnyx/models/unwrap_webhook_event.rbi +1 -0
- data/rbi/telnyx/models/verify_profile.rbi +131 -3
- data/rbi/telnyx/models/verify_profile_create_params.rbi +24 -13
- data/rbi/telnyx/models/verify_profile_update_params.rbi +24 -13
- data/rbi/telnyx/models.rbi +3 -0
- data/rbi/telnyx/resources/webhooks.rbi +2 -0
- data/sig/telnyx/models/hosted_number_order_event_webhook_event.rbs +281 -0
- data/sig/telnyx/models/unsafe_unwrap_webhook_event.rbs +1 -0
- data/sig/telnyx/models/unwrap_webhook_event.rbs +1 -0
- data/sig/telnyx/models/verify_profile.rbs +74 -3
- data/sig/telnyx/models/verify_profile_create_params.rbs +15 -7
- data/sig/telnyx/models/verify_profile_update_params.rbs +15 -7
- data/sig/telnyx/models.rbs +2 -0
- data/sig/telnyx/resources/webhooks.rbs +2 -0
- metadata +5 -2
|
@@ -13,7 +13,8 @@ module Telnyx
|
|
|
13
13
|
sms: Telnyx::VerifyProfile::SMS,
|
|
14
14
|
updated_at: String,
|
|
15
15
|
webhook_failover_url: String,
|
|
16
|
-
webhook_url: String
|
|
16
|
+
webhook_url: String,
|
|
17
|
+
whatsapp: Telnyx::VerifyProfile::Whatsapp
|
|
17
18
|
}
|
|
18
19
|
|
|
19
20
|
class VerifyProfile < Telnyx::Internal::Type::BaseModel
|
|
@@ -69,6 +70,12 @@ module Telnyx
|
|
|
69
70
|
|
|
70
71
|
def webhook_url=: (String) -> String
|
|
71
72
|
|
|
73
|
+
attr_reader whatsapp: Telnyx::VerifyProfile::Whatsapp?
|
|
74
|
+
|
|
75
|
+
def whatsapp=: (
|
|
76
|
+
Telnyx::VerifyProfile::Whatsapp
|
|
77
|
+
) -> Telnyx::VerifyProfile::Whatsapp
|
|
78
|
+
|
|
72
79
|
def initialize: (
|
|
73
80
|
?id: String,
|
|
74
81
|
?call: Telnyx::VerifyProfile::Call,
|
|
@@ -81,7 +88,8 @@ module Telnyx
|
|
|
81
88
|
?sms: Telnyx::VerifyProfile::SMS,
|
|
82
89
|
?updated_at: String,
|
|
83
90
|
?webhook_failover_url: String,
|
|
84
|
-
?webhook_url: String
|
|
91
|
+
?webhook_url: String,
|
|
92
|
+
?whatsapp: Telnyx::VerifyProfile::Whatsapp
|
|
85
93
|
) -> void
|
|
86
94
|
|
|
87
95
|
def to_hash: -> {
|
|
@@ -96,7 +104,8 @@ module Telnyx
|
|
|
96
104
|
sms: Telnyx::VerifyProfile::SMS,
|
|
97
105
|
updated_at: String,
|
|
98
106
|
webhook_failover_url: String,
|
|
99
|
-
webhook_url: String
|
|
107
|
+
webhook_url: String,
|
|
108
|
+
whatsapp: Telnyx::VerifyProfile::Whatsapp
|
|
100
109
|
}
|
|
101
110
|
|
|
102
111
|
type call =
|
|
@@ -284,6 +293,68 @@ module Telnyx
|
|
|
284
293
|
whitelisted_destinations: ::Array[String]
|
|
285
294
|
}
|
|
286
295
|
end
|
|
296
|
+
|
|
297
|
+
type whatsapp =
|
|
298
|
+
{
|
|
299
|
+
app_name: String,
|
|
300
|
+
code_length: Integer,
|
|
301
|
+
default_verification_timeout_secs: Integer,
|
|
302
|
+
messaging_template_id: String,
|
|
303
|
+
sender_phone_number: String?,
|
|
304
|
+
template_id: String?,
|
|
305
|
+
waba_id: String?,
|
|
306
|
+
whitelisted_destinations: ::Array[String]
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
class Whatsapp < Telnyx::Internal::Type::BaseModel
|
|
310
|
+
attr_reader app_name: String?
|
|
311
|
+
|
|
312
|
+
def app_name=: (String) -> String
|
|
313
|
+
|
|
314
|
+
attr_reader code_length: Integer?
|
|
315
|
+
|
|
316
|
+
def code_length=: (Integer) -> Integer
|
|
317
|
+
|
|
318
|
+
attr_reader default_verification_timeout_secs: Integer?
|
|
319
|
+
|
|
320
|
+
def default_verification_timeout_secs=: (Integer) -> Integer
|
|
321
|
+
|
|
322
|
+
attr_reader messaging_template_id: String?
|
|
323
|
+
|
|
324
|
+
def messaging_template_id=: (String) -> String
|
|
325
|
+
|
|
326
|
+
attr_accessor sender_phone_number: String?
|
|
327
|
+
|
|
328
|
+
attr_accessor template_id: String?
|
|
329
|
+
|
|
330
|
+
attr_accessor waba_id: String?
|
|
331
|
+
|
|
332
|
+
attr_reader whitelisted_destinations: ::Array[String]?
|
|
333
|
+
|
|
334
|
+
def whitelisted_destinations=: (::Array[String]) -> ::Array[String]
|
|
335
|
+
|
|
336
|
+
def initialize: (
|
|
337
|
+
?app_name: String,
|
|
338
|
+
?code_length: Integer,
|
|
339
|
+
?default_verification_timeout_secs: Integer,
|
|
340
|
+
?messaging_template_id: String,
|
|
341
|
+
?sender_phone_number: String?,
|
|
342
|
+
?template_id: String?,
|
|
343
|
+
?waba_id: String?,
|
|
344
|
+
?whitelisted_destinations: ::Array[String]
|
|
345
|
+
) -> void
|
|
346
|
+
|
|
347
|
+
def to_hash: -> {
|
|
348
|
+
app_name: String,
|
|
349
|
+
code_length: Integer,
|
|
350
|
+
default_verification_timeout_secs: Integer,
|
|
351
|
+
messaging_template_id: String,
|
|
352
|
+
sender_phone_number: String?,
|
|
353
|
+
template_id: String?,
|
|
354
|
+
waba_id: String?,
|
|
355
|
+
whitelisted_destinations: ::Array[String]
|
|
356
|
+
}
|
|
357
|
+
end
|
|
287
358
|
end
|
|
288
359
|
end
|
|
289
360
|
end
|
|
@@ -276,33 +276,41 @@ module Telnyx
|
|
|
276
276
|
|
|
277
277
|
type whatsapp =
|
|
278
278
|
{
|
|
279
|
-
app_name: String,
|
|
280
279
|
default_verification_timeout_secs: Integer,
|
|
280
|
+
sender_phone_number: String?,
|
|
281
|
+
template_id: String?,
|
|
282
|
+
waba_id: String?,
|
|
281
283
|
whitelisted_destinations: ::Array[String]
|
|
282
284
|
}
|
|
283
285
|
|
|
284
286
|
class Whatsapp < Telnyx::Internal::Type::BaseModel
|
|
285
|
-
attr_reader app_name: String?
|
|
286
|
-
|
|
287
|
-
def app_name=: (String) -> String
|
|
288
|
-
|
|
289
287
|
attr_reader default_verification_timeout_secs: Integer?
|
|
290
288
|
|
|
291
289
|
def default_verification_timeout_secs=: (Integer) -> Integer
|
|
292
290
|
|
|
291
|
+
attr_accessor sender_phone_number: String?
|
|
292
|
+
|
|
293
|
+
attr_accessor template_id: String?
|
|
294
|
+
|
|
295
|
+
attr_accessor waba_id: String?
|
|
296
|
+
|
|
293
297
|
attr_reader whitelisted_destinations: ::Array[String]?
|
|
294
298
|
|
|
295
299
|
def whitelisted_destinations=: (::Array[String]) -> ::Array[String]
|
|
296
300
|
|
|
297
301
|
def initialize: (
|
|
298
|
-
?app_name: String,
|
|
299
302
|
?default_verification_timeout_secs: Integer,
|
|
303
|
+
?sender_phone_number: String?,
|
|
304
|
+
?template_id: String?,
|
|
305
|
+
?waba_id: String?,
|
|
300
306
|
?whitelisted_destinations: ::Array[String]
|
|
301
307
|
) -> void
|
|
302
308
|
|
|
303
309
|
def to_hash: -> {
|
|
304
|
-
app_name: String,
|
|
305
310
|
default_verification_timeout_secs: Integer,
|
|
311
|
+
sender_phone_number: String?,
|
|
312
|
+
template_id: String?,
|
|
313
|
+
waba_id: String?,
|
|
306
314
|
whitelisted_destinations: ::Array[String]
|
|
307
315
|
}
|
|
308
316
|
end
|
|
@@ -283,33 +283,41 @@ module Telnyx
|
|
|
283
283
|
|
|
284
284
|
type whatsapp =
|
|
285
285
|
{
|
|
286
|
-
app_name: String,
|
|
287
286
|
default_verification_timeout_secs: Integer,
|
|
287
|
+
sender_phone_number: String?,
|
|
288
|
+
template_id: String?,
|
|
289
|
+
waba_id: String?,
|
|
288
290
|
whitelisted_destinations: ::Array[String]
|
|
289
291
|
}
|
|
290
292
|
|
|
291
293
|
class Whatsapp < Telnyx::Internal::Type::BaseModel
|
|
292
|
-
attr_reader app_name: String?
|
|
293
|
-
|
|
294
|
-
def app_name=: (String) -> String
|
|
295
|
-
|
|
296
294
|
attr_reader default_verification_timeout_secs: Integer?
|
|
297
295
|
|
|
298
296
|
def default_verification_timeout_secs=: (Integer) -> Integer
|
|
299
297
|
|
|
298
|
+
attr_accessor sender_phone_number: String?
|
|
299
|
+
|
|
300
|
+
attr_accessor template_id: String?
|
|
301
|
+
|
|
302
|
+
attr_accessor waba_id: String?
|
|
303
|
+
|
|
300
304
|
attr_reader whitelisted_destinations: ::Array[String]?
|
|
301
305
|
|
|
302
306
|
def whitelisted_destinations=: (::Array[String]) -> ::Array[String]
|
|
303
307
|
|
|
304
308
|
def initialize: (
|
|
305
|
-
?app_name: String,
|
|
306
309
|
?default_verification_timeout_secs: Integer,
|
|
310
|
+
?sender_phone_number: String?,
|
|
311
|
+
?template_id: String?,
|
|
312
|
+
?waba_id: String?,
|
|
307
313
|
?whitelisted_destinations: ::Array[String]
|
|
308
314
|
) -> void
|
|
309
315
|
|
|
310
316
|
def to_hash: -> {
|
|
311
|
-
app_name: String,
|
|
312
317
|
default_verification_timeout_secs: Integer,
|
|
318
|
+
sender_phone_number: String?,
|
|
319
|
+
template_id: String?,
|
|
320
|
+
waba_id: String?,
|
|
313
321
|
whitelisted_destinations: ::Array[String]
|
|
314
322
|
}
|
|
315
323
|
end
|
data/sig/telnyx/models.rbs
CHANGED
|
@@ -661,6 +661,8 @@ module Telnyx
|
|
|
661
661
|
|
|
662
662
|
class HostedNumber = Telnyx::Models::HostedNumber
|
|
663
663
|
|
|
664
|
+
class HostedNumberOrderEventWebhookEvent = Telnyx::Models::HostedNumberOrderEventWebhookEvent
|
|
665
|
+
|
|
664
666
|
class HTTP = Telnyx::Models::HTTP
|
|
665
667
|
|
|
666
668
|
class InboundChannelListParams = Telnyx::Models::InboundChannelListParams
|
|
@@ -62,6 +62,7 @@ module Telnyx
|
|
|
62
62
|
| Telnyx::FaxMediaProcessed
|
|
63
63
|
| Telnyx::FaxQueued
|
|
64
64
|
| Telnyx::FaxSendingStarted
|
|
65
|
+
| Telnyx::HostedNumberOrderEventWebhookEvent
|
|
65
66
|
| Telnyx::InboundMessageWebhookEvent
|
|
66
67
|
| Telnyx::NumberOrderStatusUpdate
|
|
67
68
|
| Telnyx::ReplacedLinkClickWebhookEvent
|
|
@@ -130,6 +131,7 @@ module Telnyx
|
|
|
130
131
|
| Telnyx::FaxMediaProcessed
|
|
131
132
|
| Telnyx::FaxQueued
|
|
132
133
|
| Telnyx::FaxSendingStarted
|
|
134
|
+
| Telnyx::HostedNumberOrderEventWebhookEvent
|
|
133
135
|
| Telnyx::InboundMessageWebhookEvent
|
|
134
136
|
| Telnyx::NumberOrderStatusUpdate
|
|
135
137
|
| Telnyx::ReplacedLinkClickWebhookEvent
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: telnyx
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 5.
|
|
4
|
+
version: 5.82.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Telnyx
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-04-
|
|
11
|
+
date: 2026-04-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cgi
|
|
@@ -1028,6 +1028,7 @@ files:
|
|
|
1028
1028
|
- lib/telnyx/models/global_ip_usage_retrieve_params.rb
|
|
1029
1029
|
- lib/telnyx/models/global_ip_usage_retrieve_response.rb
|
|
1030
1030
|
- lib/telnyx/models/hosted_number.rb
|
|
1031
|
+
- lib/telnyx/models/hosted_number_order_event_webhook_event.rb
|
|
1031
1032
|
- lib/telnyx/models/http.rb
|
|
1032
1033
|
- lib/telnyx/models/inbound_channel_list_params.rb
|
|
1033
1034
|
- lib/telnyx/models/inbound_channel_list_response.rb
|
|
@@ -3710,6 +3711,7 @@ files:
|
|
|
3710
3711
|
- rbi/telnyx/models/global_ip_usage_retrieve_params.rbi
|
|
3711
3712
|
- rbi/telnyx/models/global_ip_usage_retrieve_response.rbi
|
|
3712
3713
|
- rbi/telnyx/models/hosted_number.rbi
|
|
3714
|
+
- rbi/telnyx/models/hosted_number_order_event_webhook_event.rbi
|
|
3713
3715
|
- rbi/telnyx/models/http.rbi
|
|
3714
3716
|
- rbi/telnyx/models/inbound_channel_list_params.rbi
|
|
3715
3717
|
- rbi/telnyx/models/inbound_channel_list_response.rbi
|
|
@@ -6383,6 +6385,7 @@ files:
|
|
|
6383
6385
|
- sig/telnyx/models/global_ip_usage_retrieve_params.rbs
|
|
6384
6386
|
- sig/telnyx/models/global_ip_usage_retrieve_response.rbs
|
|
6385
6387
|
- sig/telnyx/models/hosted_number.rbs
|
|
6388
|
+
- sig/telnyx/models/hosted_number_order_event_webhook_event.rbs
|
|
6386
6389
|
- sig/telnyx/models/http.rbs
|
|
6387
6390
|
- sig/telnyx/models/inbound_channel_list_params.rbs
|
|
6388
6391
|
- sig/telnyx/models/inbound_channel_list_response.rbs
|