twilio-ruby 7.8.5 → 7.8.6
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/CHANGES.md +7 -0
- data/README.md +2 -2
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/local.rb +3 -3
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/machine_to_machine.rb +3 -3
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/mobile.rb +3 -3
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/national.rb +3 -3
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/shared_cost.rb +3 -3
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/toll_free.rb +3 -3
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/voip.rb +3 -3
- data/lib/twilio-ruby/rest/iam_base.rb +1 -6
- data/lib/twilio-ruby/rest/lookups/v2/phone_number.rb +8 -8
- data/lib/twilio-ruby/rest/lookups/v2/query.rb +1 -1
- data/lib/twilio-ruby/rest/messaging/v1/tollfree_verification.rb +10 -3
- data/lib/twilio-ruby/rest/numbers/v1/porting_port_in.rb +7 -0
- data/lib/twilio-ruby/twiml/voice_response.rb +44 -0
- data/lib/twilio-ruby/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: feb6f65e211aada50780fefd064f9163a3de1bd9
|
|
4
|
+
data.tar.gz: 4b97e2cd38e0e78b56dc5abc8b0b479e9925e4d6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 125d53fda89d48409b2f883d730bc00f287f9366050e34fafa95f1eaaf9b167ed09b2f47b309faac4abb898cb0adfe7608afbf24d49950361f6ec62f4e750c1a
|
|
7
|
+
data.tar.gz: 0cf62cdd5add65a42e221de1b4b1549d42a42a978119e34148cfffcbea9b309015e75cc705c9ab9c3e1f63ec393f2de3920925598f366dd58aaf43cff80a3e1d
|
data/CHANGES.md
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
twilio-ruby changelog
|
|
2
2
|
=====================
|
|
3
3
|
|
|
4
|
+
[2025-11-11] Version 7.8.6
|
|
5
|
+
--------------------------
|
|
6
|
+
**Twiml**
|
|
7
|
+
- Add new noun `<ConversationRelaySession>`
|
|
8
|
+
- Add support for `<Recording>` noun under `<Start>` verb
|
|
9
|
+
|
|
10
|
+
|
|
4
11
|
[2025-10-28] Version 7.8.5
|
|
5
12
|
--------------------------
|
|
6
13
|
**Ai**
|
data/README.md
CHANGED
|
@@ -39,13 +39,13 @@ This library supports the following Ruby implementations:
|
|
|
39
39
|
To install using [Bundler][bundler] grab the latest stable version:
|
|
40
40
|
|
|
41
41
|
```ruby
|
|
42
|
-
gem 'twilio-ruby', '~> 7.8.
|
|
42
|
+
gem 'twilio-ruby', '~> 7.8.6'
|
|
43
43
|
```
|
|
44
44
|
|
|
45
45
|
To manually install `twilio-ruby` via [Rubygems][rubygems] simply gem install:
|
|
46
46
|
|
|
47
47
|
```bash
|
|
48
|
-
gem install twilio-ruby -v 7.8.
|
|
48
|
+
gem install twilio-ruby -v 7.8.6
|
|
49
49
|
```
|
|
50
50
|
|
|
51
51
|
To build and install the development branch yourself from the latest source:
|
|
@@ -39,7 +39,7 @@ module Twilio
|
|
|
39
39
|
# Unlike stream(), this operation is eager and will load `limit` records into
|
|
40
40
|
# memory before returning.
|
|
41
41
|
# @param [String] area_code The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada.
|
|
42
|
-
# @param [String] contains Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can't be adjacent to each other.
|
|
42
|
+
# @param [String] contains Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters, and wildcards cannot be used between non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can't be adjacent to each other.
|
|
43
43
|
# @param [Boolean] sms_enabled Whether the phone numbers can receive text messages. Can be: `true` or `false`.
|
|
44
44
|
# @param [Boolean] mms_enabled Whether the phone numbers can receive MMS messages. Can be: `true` or `false`.
|
|
45
45
|
# @param [Boolean] voice_enabled Whether the phone numbers can receive calls. Can be: `true` or `false`.
|
|
@@ -93,7 +93,7 @@ module Twilio
|
|
|
93
93
|
# This operation lazily loads records as efficiently as possible until the limit
|
|
94
94
|
# is reached.
|
|
95
95
|
# @param [String] area_code The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada.
|
|
96
|
-
# @param [String] contains Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can't be adjacent to each other.
|
|
96
|
+
# @param [String] contains Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters, and wildcards cannot be used between non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can't be adjacent to each other.
|
|
97
97
|
# @param [Boolean] sms_enabled Whether the phone numbers can receive text messages. Can be: `true` or `false`.
|
|
98
98
|
# @param [Boolean] mms_enabled Whether the phone numbers can receive MMS messages. Can be: `true` or `false`.
|
|
99
99
|
# @param [Boolean] voice_enabled Whether the phone numbers can receive calls. Can be: `true` or `false`.
|
|
@@ -162,7 +162,7 @@ module Twilio
|
|
|
162
162
|
# Retrieve a single page of LocalInstance records from the API.
|
|
163
163
|
# Request is executed immediately.
|
|
164
164
|
# @param [String] area_code The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada.
|
|
165
|
-
# @param [String] contains Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can't be adjacent to each other.
|
|
165
|
+
# @param [String] contains Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters, and wildcards cannot be used between non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can't be adjacent to each other.
|
|
166
166
|
# @param [Boolean] sms_enabled Whether the phone numbers can receive text messages. Can be: `true` or `false`.
|
|
167
167
|
# @param [Boolean] mms_enabled Whether the phone numbers can receive MMS messages. Can be: `true` or `false`.
|
|
168
168
|
# @param [Boolean] voice_enabled Whether the phone numbers can receive calls. Can be: `true` or `false`.
|
data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number_country/machine_to_machine.rb
CHANGED
|
@@ -39,7 +39,7 @@ module Twilio
|
|
|
39
39
|
# Unlike stream(), this operation is eager and will load `limit` records into
|
|
40
40
|
# memory before returning.
|
|
41
41
|
# @param [String] area_code The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada.
|
|
42
|
-
# @param [String] contains Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can't be adjacent to each other.
|
|
42
|
+
# @param [String] contains Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters, and wildcards cannot be used between non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can't be adjacent to each other.
|
|
43
43
|
# @param [Boolean] sms_enabled Whether the phone numbers can receive text messages. Can be: `true` or `false`.
|
|
44
44
|
# @param [Boolean] mms_enabled Whether the phone numbers can receive MMS messages. Can be: `true` or `false`.
|
|
45
45
|
# @param [Boolean] voice_enabled Whether the phone numbers can receive calls. Can be: `true` or `false`.
|
|
@@ -93,7 +93,7 @@ module Twilio
|
|
|
93
93
|
# This operation lazily loads records as efficiently as possible until the limit
|
|
94
94
|
# is reached.
|
|
95
95
|
# @param [String] area_code The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada.
|
|
96
|
-
# @param [String] contains Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can't be adjacent to each other.
|
|
96
|
+
# @param [String] contains Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters, and wildcards cannot be used between non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can't be adjacent to each other.
|
|
97
97
|
# @param [Boolean] sms_enabled Whether the phone numbers can receive text messages. Can be: `true` or `false`.
|
|
98
98
|
# @param [Boolean] mms_enabled Whether the phone numbers can receive MMS messages. Can be: `true` or `false`.
|
|
99
99
|
# @param [Boolean] voice_enabled Whether the phone numbers can receive calls. Can be: `true` or `false`.
|
|
@@ -162,7 +162,7 @@ module Twilio
|
|
|
162
162
|
# Retrieve a single page of MachineToMachineInstance records from the API.
|
|
163
163
|
# Request is executed immediately.
|
|
164
164
|
# @param [String] area_code The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada.
|
|
165
|
-
# @param [String] contains Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can't be adjacent to each other.
|
|
165
|
+
# @param [String] contains Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters, and wildcards cannot be used between non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can't be adjacent to each other.
|
|
166
166
|
# @param [Boolean] sms_enabled Whether the phone numbers can receive text messages. Can be: `true` or `false`.
|
|
167
167
|
# @param [Boolean] mms_enabled Whether the phone numbers can receive MMS messages. Can be: `true` or `false`.
|
|
168
168
|
# @param [Boolean] voice_enabled Whether the phone numbers can receive calls. Can be: `true` or `false`.
|
|
@@ -39,7 +39,7 @@ module Twilio
|
|
|
39
39
|
# Unlike stream(), this operation is eager and will load `limit` records into
|
|
40
40
|
# memory before returning.
|
|
41
41
|
# @param [String] area_code The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada.
|
|
42
|
-
# @param [String] contains Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can't be adjacent to each other.
|
|
42
|
+
# @param [String] contains Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters, and wildcards cannot be used between non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can't be adjacent to each other.
|
|
43
43
|
# @param [Boolean] sms_enabled Whether the phone numbers can receive text messages. Can be: `true` or `false`.
|
|
44
44
|
# @param [Boolean] mms_enabled Whether the phone numbers can receive MMS messages. Can be: `true` or `false`.
|
|
45
45
|
# @param [Boolean] voice_enabled Whether the phone numbers can receive calls. Can be: `true` or `false`.
|
|
@@ -93,7 +93,7 @@ module Twilio
|
|
|
93
93
|
# This operation lazily loads records as efficiently as possible until the limit
|
|
94
94
|
# is reached.
|
|
95
95
|
# @param [String] area_code The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada.
|
|
96
|
-
# @param [String] contains Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can't be adjacent to each other.
|
|
96
|
+
# @param [String] contains Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters, and wildcards cannot be used between non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can't be adjacent to each other.
|
|
97
97
|
# @param [Boolean] sms_enabled Whether the phone numbers can receive text messages. Can be: `true` or `false`.
|
|
98
98
|
# @param [Boolean] mms_enabled Whether the phone numbers can receive MMS messages. Can be: `true` or `false`.
|
|
99
99
|
# @param [Boolean] voice_enabled Whether the phone numbers can receive calls. Can be: `true` or `false`.
|
|
@@ -162,7 +162,7 @@ module Twilio
|
|
|
162
162
|
# Retrieve a single page of MobileInstance records from the API.
|
|
163
163
|
# Request is executed immediately.
|
|
164
164
|
# @param [String] area_code The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada.
|
|
165
|
-
# @param [String] contains Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can't be adjacent to each other.
|
|
165
|
+
# @param [String] contains Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters, and wildcards cannot be used between non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can't be adjacent to each other.
|
|
166
166
|
# @param [Boolean] sms_enabled Whether the phone numbers can receive text messages. Can be: `true` or `false`.
|
|
167
167
|
# @param [Boolean] mms_enabled Whether the phone numbers can receive MMS messages. Can be: `true` or `false`.
|
|
168
168
|
# @param [Boolean] voice_enabled Whether the phone numbers can receive calls. Can be: `true` or `false`.
|
|
@@ -39,7 +39,7 @@ module Twilio
|
|
|
39
39
|
# Unlike stream(), this operation is eager and will load `limit` records into
|
|
40
40
|
# memory before returning.
|
|
41
41
|
# @param [String] area_code The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada.
|
|
42
|
-
# @param [String] contains Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can't be adjacent to each other.
|
|
42
|
+
# @param [String] contains Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters, and wildcards cannot be used between non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can't be adjacent to each other.
|
|
43
43
|
# @param [Boolean] sms_enabled Whether the phone numbers can receive text messages. Can be: `true` or `false`.
|
|
44
44
|
# @param [Boolean] mms_enabled Whether the phone numbers can receive MMS messages. Can be: `true` or `false`.
|
|
45
45
|
# @param [Boolean] voice_enabled Whether the phone numbers can receive calls. Can be: `true` or `false`.
|
|
@@ -93,7 +93,7 @@ module Twilio
|
|
|
93
93
|
# This operation lazily loads records as efficiently as possible until the limit
|
|
94
94
|
# is reached.
|
|
95
95
|
# @param [String] area_code The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada.
|
|
96
|
-
# @param [String] contains Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can't be adjacent to each other.
|
|
96
|
+
# @param [String] contains Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters, and wildcards cannot be used between non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can't be adjacent to each other.
|
|
97
97
|
# @param [Boolean] sms_enabled Whether the phone numbers can receive text messages. Can be: `true` or `false`.
|
|
98
98
|
# @param [Boolean] mms_enabled Whether the phone numbers can receive MMS messages. Can be: `true` or `false`.
|
|
99
99
|
# @param [Boolean] voice_enabled Whether the phone numbers can receive calls. Can be: `true` or `false`.
|
|
@@ -162,7 +162,7 @@ module Twilio
|
|
|
162
162
|
# Retrieve a single page of NationalInstance records from the API.
|
|
163
163
|
# Request is executed immediately.
|
|
164
164
|
# @param [String] area_code The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada.
|
|
165
|
-
# @param [String] contains Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can't be adjacent to each other.
|
|
165
|
+
# @param [String] contains Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters, and wildcards cannot be used between non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can't be adjacent to each other.
|
|
166
166
|
# @param [Boolean] sms_enabled Whether the phone numbers can receive text messages. Can be: `true` or `false`.
|
|
167
167
|
# @param [Boolean] mms_enabled Whether the phone numbers can receive MMS messages. Can be: `true` or `false`.
|
|
168
168
|
# @param [Boolean] voice_enabled Whether the phone numbers can receive calls. Can be: `true` or `false`.
|
|
@@ -39,7 +39,7 @@ module Twilio
|
|
|
39
39
|
# Unlike stream(), this operation is eager and will load `limit` records into
|
|
40
40
|
# memory before returning.
|
|
41
41
|
# @param [String] area_code The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada.
|
|
42
|
-
# @param [String] contains Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can't be adjacent to each other.
|
|
42
|
+
# @param [String] contains Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters, and wildcards cannot be used between non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can't be adjacent to each other.
|
|
43
43
|
# @param [Boolean] sms_enabled Whether the phone numbers can receive text messages. Can be: `true` or `false`.
|
|
44
44
|
# @param [Boolean] mms_enabled Whether the phone numbers can receive MMS messages. Can be: `true` or `false`.
|
|
45
45
|
# @param [Boolean] voice_enabled Whether the phone numbers can receive calls. Can be: `true` or `false`.
|
|
@@ -93,7 +93,7 @@ module Twilio
|
|
|
93
93
|
# This operation lazily loads records as efficiently as possible until the limit
|
|
94
94
|
# is reached.
|
|
95
95
|
# @param [String] area_code The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada.
|
|
96
|
-
# @param [String] contains Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can't be adjacent to each other.
|
|
96
|
+
# @param [String] contains Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters, and wildcards cannot be used between non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can't be adjacent to each other.
|
|
97
97
|
# @param [Boolean] sms_enabled Whether the phone numbers can receive text messages. Can be: `true` or `false`.
|
|
98
98
|
# @param [Boolean] mms_enabled Whether the phone numbers can receive MMS messages. Can be: `true` or `false`.
|
|
99
99
|
# @param [Boolean] voice_enabled Whether the phone numbers can receive calls. Can be: `true` or `false`.
|
|
@@ -162,7 +162,7 @@ module Twilio
|
|
|
162
162
|
# Retrieve a single page of SharedCostInstance records from the API.
|
|
163
163
|
# Request is executed immediately.
|
|
164
164
|
# @param [String] area_code The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada.
|
|
165
|
-
# @param [String] contains Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can't be adjacent to each other.
|
|
165
|
+
# @param [String] contains Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters, and wildcards cannot be used between non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can't be adjacent to each other.
|
|
166
166
|
# @param [Boolean] sms_enabled Whether the phone numbers can receive text messages. Can be: `true` or `false`.
|
|
167
167
|
# @param [Boolean] mms_enabled Whether the phone numbers can receive MMS messages. Can be: `true` or `false`.
|
|
168
168
|
# @param [Boolean] voice_enabled Whether the phone numbers can receive calls. Can be: `true` or `false`.
|
|
@@ -39,7 +39,7 @@ module Twilio
|
|
|
39
39
|
# Unlike stream(), this operation is eager and will load `limit` records into
|
|
40
40
|
# memory before returning.
|
|
41
41
|
# @param [String] area_code The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada.
|
|
42
|
-
# @param [String] contains Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can't be adjacent to each other.
|
|
42
|
+
# @param [String] contains Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters, and wildcards cannot be used between non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can't be adjacent to each other.
|
|
43
43
|
# @param [Boolean] sms_enabled Whether the phone numbers can receive text messages. Can be: `true` or `false`.
|
|
44
44
|
# @param [Boolean] mms_enabled Whether the phone numbers can receive MMS messages. Can be: `true` or `false`.
|
|
45
45
|
# @param [Boolean] voice_enabled Whether the phone numbers can receive calls. Can be: `true` or `false`.
|
|
@@ -93,7 +93,7 @@ module Twilio
|
|
|
93
93
|
# This operation lazily loads records as efficiently as possible until the limit
|
|
94
94
|
# is reached.
|
|
95
95
|
# @param [String] area_code The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada.
|
|
96
|
-
# @param [String] contains Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can't be adjacent to each other.
|
|
96
|
+
# @param [String] contains Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters, and wildcards cannot be used between non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can't be adjacent to each other.
|
|
97
97
|
# @param [Boolean] sms_enabled Whether the phone numbers can receive text messages. Can be: `true` or `false`.
|
|
98
98
|
# @param [Boolean] mms_enabled Whether the phone numbers can receive MMS messages. Can be: `true` or `false`.
|
|
99
99
|
# @param [Boolean] voice_enabled Whether the phone numbers can receive calls. Can be: `true` or `false`.
|
|
@@ -162,7 +162,7 @@ module Twilio
|
|
|
162
162
|
# Retrieve a single page of TollFreeInstance records from the API.
|
|
163
163
|
# Request is executed immediately.
|
|
164
164
|
# @param [String] area_code The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada.
|
|
165
|
-
# @param [String] contains Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can't be adjacent to each other.
|
|
165
|
+
# @param [String] contains Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters, and wildcards cannot be used between non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can't be adjacent to each other.
|
|
166
166
|
# @param [Boolean] sms_enabled Whether the phone numbers can receive text messages. Can be: `true` or `false`.
|
|
167
167
|
# @param [Boolean] mms_enabled Whether the phone numbers can receive MMS messages. Can be: `true` or `false`.
|
|
168
168
|
# @param [Boolean] voice_enabled Whether the phone numbers can receive calls. Can be: `true` or `false`.
|
|
@@ -39,7 +39,7 @@ module Twilio
|
|
|
39
39
|
# Unlike stream(), this operation is eager and will load `limit` records into
|
|
40
40
|
# memory before returning.
|
|
41
41
|
# @param [String] area_code The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada.
|
|
42
|
-
# @param [String] contains Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can't be adjacent to each other.
|
|
42
|
+
# @param [String] contains Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters, and wildcards cannot be used between non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can't be adjacent to each other.
|
|
43
43
|
# @param [Boolean] sms_enabled Whether the phone numbers can receive text messages. Can be: `true` or `false`.
|
|
44
44
|
# @param [Boolean] mms_enabled Whether the phone numbers can receive MMS messages. Can be: `true` or `false`.
|
|
45
45
|
# @param [Boolean] voice_enabled Whether the phone numbers can receive calls. Can be: `true` or `false`.
|
|
@@ -93,7 +93,7 @@ module Twilio
|
|
|
93
93
|
# This operation lazily loads records as efficiently as possible until the limit
|
|
94
94
|
# is reached.
|
|
95
95
|
# @param [String] area_code The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada.
|
|
96
|
-
# @param [String] contains Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can't be adjacent to each other.
|
|
96
|
+
# @param [String] contains Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters, and wildcards cannot be used between non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can't be adjacent to each other.
|
|
97
97
|
# @param [Boolean] sms_enabled Whether the phone numbers can receive text messages. Can be: `true` or `false`.
|
|
98
98
|
# @param [Boolean] mms_enabled Whether the phone numbers can receive MMS messages. Can be: `true` or `false`.
|
|
99
99
|
# @param [Boolean] voice_enabled Whether the phone numbers can receive calls. Can be: `true` or `false`.
|
|
@@ -162,7 +162,7 @@ module Twilio
|
|
|
162
162
|
# Retrieve a single page of VoipInstance records from the API.
|
|
163
163
|
# Request is executed immediately.
|
|
164
164
|
# @param [String] area_code The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada.
|
|
165
|
-
# @param [String] contains Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can't be adjacent to each other.
|
|
165
|
+
# @param [String] contains Matching pattern to identify phone numbers. This pattern can be between 2 and 16 characters long and allows all digits (0-9) and all non-diacritic latin alphabet letters (a-z, A-Z). It accepts four meta-characters: `*`, `%`, `+`, `$`. The `*` and `%` meta-characters can appear multiple times in the pattern. To match wildcards at the beginning or end of the pattern, use `*` to match any single character or `%` to match a sequence of characters. If you use the wildcard patterns, it must include at least two non-meta-characters, and wildcards cannot be used between non-meta-characters. To match the beginning of a pattern, start the pattern with `+`. To match the end of the pattern, append the pattern with `$`. These meta-characters can't be adjacent to each other.
|
|
166
166
|
# @param [Boolean] sms_enabled Whether the phone numbers can receive text messages. Can be: `true` or `false`.
|
|
167
167
|
# @param [Boolean] mms_enabled Whether the phone numbers can receive MMS messages. Can be: `true` or `false`.
|
|
168
168
|
# @param [Boolean] voice_enabled Whether the phone numbers can receive calls. Can be: `true` or `false`.
|
|
@@ -21,17 +21,12 @@ module Twilio
|
|
|
21
21
|
@base_url = "https://iam.twilio.com"
|
|
22
22
|
@host = "iam.twilio.com"
|
|
23
23
|
@port = 443
|
|
24
|
-
@v1 = nil
|
|
25
|
-
end
|
|
26
|
-
|
|
27
|
-
def v1
|
|
28
|
-
@v1 ||= Iam::V1.new self
|
|
29
24
|
end
|
|
30
25
|
|
|
31
26
|
##
|
|
32
27
|
# Provide a user friendly representation
|
|
33
28
|
def to_s
|
|
34
|
-
'<Twilio::REST::Iam
|
|
29
|
+
'<Twilio::REST::Iam>';
|
|
35
30
|
end
|
|
36
31
|
end
|
|
37
32
|
end
|
|
@@ -253,49 +253,49 @@ module Twilio
|
|
|
253
253
|
end
|
|
254
254
|
|
|
255
255
|
##
|
|
256
|
-
# @return [
|
|
256
|
+
# @return [CallerNameInfo]
|
|
257
257
|
def caller_name
|
|
258
258
|
@properties['caller_name']
|
|
259
259
|
end
|
|
260
260
|
|
|
261
261
|
##
|
|
262
|
-
# @return [
|
|
262
|
+
# @return [SimSwapInfo]
|
|
263
263
|
def sim_swap
|
|
264
264
|
@properties['sim_swap']
|
|
265
265
|
end
|
|
266
266
|
|
|
267
267
|
##
|
|
268
|
-
# @return [
|
|
268
|
+
# @return [CallForwardingInfo]
|
|
269
269
|
def call_forwarding
|
|
270
270
|
@properties['call_forwarding']
|
|
271
271
|
end
|
|
272
272
|
|
|
273
273
|
##
|
|
274
|
-
# @return [
|
|
274
|
+
# @return [LineTypeIntelligenceInfo]
|
|
275
275
|
def line_type_intelligence
|
|
276
276
|
@properties['line_type_intelligence']
|
|
277
277
|
end
|
|
278
278
|
|
|
279
279
|
##
|
|
280
|
-
# @return [
|
|
280
|
+
# @return [LineStatusInfo]
|
|
281
281
|
def line_status
|
|
282
282
|
@properties['line_status']
|
|
283
283
|
end
|
|
284
284
|
|
|
285
285
|
##
|
|
286
|
-
# @return [
|
|
286
|
+
# @return [IdentityMatchInfo]
|
|
287
287
|
def identity_match
|
|
288
288
|
@properties['identity_match']
|
|
289
289
|
end
|
|
290
290
|
|
|
291
291
|
##
|
|
292
|
-
# @return [
|
|
292
|
+
# @return [ReassignedNumberInfo]
|
|
293
293
|
def reassigned_number
|
|
294
294
|
@properties['reassigned_number']
|
|
295
295
|
end
|
|
296
296
|
|
|
297
297
|
##
|
|
298
|
-
# @return [
|
|
298
|
+
# @return [SmsPumpingRiskInfo]
|
|
299
299
|
def sms_pumping_risk
|
|
300
300
|
@properties['sms_pumping_risk']
|
|
301
301
|
end
|
|
@@ -166,6 +166,7 @@ module Twilio
|
|
|
166
166
|
# @param [Status] status The compliance status of the Tollfree Verification record.
|
|
167
167
|
# @param [String] external_reference_id Customer supplied reference id for the Tollfree Verification record.
|
|
168
168
|
# @param [Boolean] include_sub_accounts Whether to include Tollfree Verifications from sub accounts in list response.
|
|
169
|
+
# @param [Array[String]] trust_product_sid The trust product sids / tollfree bundle sids of tollfree verifications
|
|
169
170
|
# @param [Integer] limit Upper limit for the number of records to return. stream()
|
|
170
171
|
# guarantees to never return more than limit. Default is no limit
|
|
171
172
|
# @param [Integer] page_size Number of records to fetch per request, when
|
|
@@ -173,12 +174,13 @@ module Twilio
|
|
|
173
174
|
# but a limit is defined, stream() will attempt to read the limit with the most
|
|
174
175
|
# efficient page size, i.e. min(limit, 1000)
|
|
175
176
|
# @return [Array] Array of up to limit results
|
|
176
|
-
def list(tollfree_phone_number_sid: :unset, status: :unset, external_reference_id: :unset, include_sub_accounts: :unset, limit: nil, page_size: nil)
|
|
177
|
+
def list(tollfree_phone_number_sid: :unset, status: :unset, external_reference_id: :unset, include_sub_accounts: :unset, trust_product_sid: :unset, limit: nil, page_size: nil)
|
|
177
178
|
self.stream(
|
|
178
179
|
tollfree_phone_number_sid: tollfree_phone_number_sid,
|
|
179
180
|
status: status,
|
|
180
181
|
external_reference_id: external_reference_id,
|
|
181
182
|
include_sub_accounts: include_sub_accounts,
|
|
183
|
+
trust_product_sid: trust_product_sid,
|
|
182
184
|
limit: limit,
|
|
183
185
|
page_size: page_size
|
|
184
186
|
).entries
|
|
@@ -192,6 +194,7 @@ module Twilio
|
|
|
192
194
|
# @param [Status] status The compliance status of the Tollfree Verification record.
|
|
193
195
|
# @param [String] external_reference_id Customer supplied reference id for the Tollfree Verification record.
|
|
194
196
|
# @param [Boolean] include_sub_accounts Whether to include Tollfree Verifications from sub accounts in list response.
|
|
197
|
+
# @param [Array[String]] trust_product_sid The trust product sids / tollfree bundle sids of tollfree verifications
|
|
195
198
|
# @param [Integer] limit Upper limit for the number of records to return. stream()
|
|
196
199
|
# guarantees to never return more than limit. Default is no limit
|
|
197
200
|
# @param [Integer] page_size Number of records to fetch per request, when
|
|
@@ -199,7 +202,7 @@ module Twilio
|
|
|
199
202
|
# but a limit is defined, stream() will attempt to read the limit with the most
|
|
200
203
|
# efficient page size, i.e. min(limit, 1000)
|
|
201
204
|
# @return [Enumerable] Enumerable that will yield up to limit results
|
|
202
|
-
def stream(tollfree_phone_number_sid: :unset, status: :unset, external_reference_id: :unset, include_sub_accounts: :unset, limit: nil, page_size: nil)
|
|
205
|
+
def stream(tollfree_phone_number_sid: :unset, status: :unset, external_reference_id: :unset, include_sub_accounts: :unset, trust_product_sid: :unset, limit: nil, page_size: nil)
|
|
203
206
|
limits = @version.read_limits(limit, page_size)
|
|
204
207
|
|
|
205
208
|
page = self.page(
|
|
@@ -207,6 +210,7 @@ module Twilio
|
|
|
207
210
|
status: status,
|
|
208
211
|
external_reference_id: external_reference_id,
|
|
209
212
|
include_sub_accounts: include_sub_accounts,
|
|
213
|
+
trust_product_sid: trust_product_sid,
|
|
210
214
|
page_size: limits[:page_size], )
|
|
211
215
|
|
|
212
216
|
@version.stream(page, limit: limits[:limit], page_limit: limits[:page_limit])
|
|
@@ -233,16 +237,19 @@ module Twilio
|
|
|
233
237
|
# @param [Status] status The compliance status of the Tollfree Verification record.
|
|
234
238
|
# @param [String] external_reference_id Customer supplied reference id for the Tollfree Verification record.
|
|
235
239
|
# @param [Boolean] include_sub_accounts Whether to include Tollfree Verifications from sub accounts in list response.
|
|
240
|
+
# @param [Array[String]] trust_product_sid The trust product sids / tollfree bundle sids of tollfree verifications
|
|
236
241
|
# @param [String] page_token PageToken provided by the API
|
|
237
242
|
# @param [Integer] page_number Page Number, this value is simply for client state
|
|
238
243
|
# @param [Integer] page_size Number of records to return, defaults to 50
|
|
239
244
|
# @return [Page] Page of TollfreeVerificationInstance
|
|
240
|
-
def page(tollfree_phone_number_sid: :unset, status: :unset, external_reference_id: :unset, include_sub_accounts: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
245
|
+
def page(tollfree_phone_number_sid: :unset, status: :unset, external_reference_id: :unset, include_sub_accounts: :unset, trust_product_sid: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
|
|
241
246
|
params = Twilio::Values.of({
|
|
242
247
|
'TollfreePhoneNumberSid' => tollfree_phone_number_sid,
|
|
243
248
|
'Status' => status,
|
|
244
249
|
'ExternalReferenceId' => external_reference_id,
|
|
245
250
|
'IncludeSubAccounts' => include_sub_accounts,
|
|
251
|
+
|
|
252
|
+
'TrustProductSid' => Twilio.serialize_list(trust_product_sid) { |e| e },
|
|
246
253
|
'PageToken' => page_token,
|
|
247
254
|
'Page' => page_number,
|
|
248
255
|
'PageSize' => page_size,
|
|
@@ -270,6 +270,7 @@ module Twilio
|
|
|
270
270
|
'documents' => payload['documents'],
|
|
271
271
|
'date_created' => Twilio.deserialize_iso8601_datetime(payload['date_created']),
|
|
272
272
|
'support_ticket_id' => payload['support_ticket_id'] == nil ? payload['support_ticket_id'] : payload['support_ticket_id'].to_i,
|
|
273
|
+
'signature_request_url' => payload['signature_request_url'],
|
|
273
274
|
}
|
|
274
275
|
|
|
275
276
|
# Context
|
|
@@ -390,6 +391,12 @@ module Twilio
|
|
|
390
391
|
@properties['support_ticket_id']
|
|
391
392
|
end
|
|
392
393
|
|
|
394
|
+
##
|
|
395
|
+
# @return [String]
|
|
396
|
+
def signature_request_url
|
|
397
|
+
@properties['signature_request_url']
|
|
398
|
+
end
|
|
399
|
+
|
|
393
400
|
##
|
|
394
401
|
# Delete the PortingPortInInstance
|
|
395
402
|
# @return [Boolean] True if delete succeeds, false otherwise
|
|
@@ -553,6 +553,30 @@ module Twilio
|
|
|
553
553
|
yield(transcription) if block_given?
|
|
554
554
|
append(transcription)
|
|
555
555
|
end
|
|
556
|
+
|
|
557
|
+
##
|
|
558
|
+
# Create a new <Recording> element
|
|
559
|
+
# recording_status_callback:: Recording Status Callback URL
|
|
560
|
+
# recording_status_callback_method:: Recording Status Callback URL method
|
|
561
|
+
# recording_status_callback_event:: Recording Status Callback Events
|
|
562
|
+
# trim:: Trim the recording
|
|
563
|
+
# track:: To indicate which audio track should be recorded
|
|
564
|
+
# channels:: The recording channels for the final recording
|
|
565
|
+
# keyword_args:: additional attributes
|
|
566
|
+
def recording(recording_status_callback: nil, recording_status_callback_method: nil, recording_status_callback_event: nil, trim: nil, track: nil, channels: nil, **keyword_args)
|
|
567
|
+
append(Recording.new(recording_status_callback: recording_status_callback, recording_status_callback_method: recording_status_callback_method, recording_status_callback_event: recording_status_callback_event, trim: trim, track: track, channels: channels, **keyword_args))
|
|
568
|
+
end
|
|
569
|
+
end
|
|
570
|
+
|
|
571
|
+
##
|
|
572
|
+
# <Recording> TwiML Noun
|
|
573
|
+
class Recording < TwiML
|
|
574
|
+
def initialize(**keyword_args)
|
|
575
|
+
super(**keyword_args)
|
|
576
|
+
@name = 'Recording'
|
|
577
|
+
|
|
578
|
+
yield(self) if block_given?
|
|
579
|
+
end
|
|
556
580
|
end
|
|
557
581
|
|
|
558
582
|
##
|
|
@@ -2058,6 +2082,26 @@ module Twilio
|
|
|
2058
2082
|
def ai_session(ai_connector: nil, ai_session_configuration: nil, **keyword_args)
|
|
2059
2083
|
append(AiSession.new(ai_connector: ai_connector, ai_session_configuration: ai_session_configuration, **keyword_args))
|
|
2060
2084
|
end
|
|
2085
|
+
|
|
2086
|
+
##
|
|
2087
|
+
# Create a new <ConversationRelaySession> element
|
|
2088
|
+
# connector:: The unique name or installed add-on sid that identifies the installed addon resource for the ConversationRelaySession Connector
|
|
2089
|
+
# session_configuration:: The unique name or id of the ConversationRelaySession Configuration resource.
|
|
2090
|
+
# keyword_args:: additional attributes
|
|
2091
|
+
def conversation_relay_session(connector: nil, session_configuration: nil, **keyword_args)
|
|
2092
|
+
append(ConversationRelaySession.new(connector: connector, session_configuration: session_configuration, **keyword_args))
|
|
2093
|
+
end
|
|
2094
|
+
end
|
|
2095
|
+
|
|
2096
|
+
##
|
|
2097
|
+
# <ConversationRelaySession> TwiML Noun
|
|
2098
|
+
class ConversationRelaySession < TwiML
|
|
2099
|
+
def initialize(**keyword_args)
|
|
2100
|
+
super(**keyword_args)
|
|
2101
|
+
@name = 'ConversationRelaySession'
|
|
2102
|
+
|
|
2103
|
+
yield(self) if block_given?
|
|
2104
|
+
end
|
|
2061
2105
|
end
|
|
2062
2106
|
|
|
2063
2107
|
##
|
data/lib/twilio-ruby/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: twilio-ruby
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 7.8.
|
|
4
|
+
version: 7.8.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Twilio API Team
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-
|
|
11
|
+
date: 2025-11-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jwt
|