twilio-ruby 7.7.2 → 7.8.1
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 +26 -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/api/v2010/account/recording.rb +1 -1
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/all_time.rb +4 -4
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/daily.rb +4 -4
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/last_month.rb +4 -4
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/monthly.rb +4 -4
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/this_month.rb +4 -4
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/today.rb +4 -4
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/yearly.rb +4 -4
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/yesterday.rb +4 -4
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record.rb +4 -4
- data/lib/twilio-ruby/rest/api/v2010/account/usage/trigger.rb +5 -5
- data/lib/twilio-ruby/rest/content/v1/content.rb +42 -2
- data/lib/twilio-ruby/rest/intelligence/v2/service.rb +17 -1
- data/lib/twilio-ruby/rest/intelligence/v2/transcript/encrypted_operator_results.rb +217 -0
- data/lib/twilio-ruby/rest/intelligence/v2/transcript/encrypted_sentences.rb +217 -0
- data/lib/twilio-ruby/rest/intelligence/v2/transcript.rb +43 -0
- data/lib/twilio-ruby/rest/messaging/v2/channels_sender.rb +29 -29
- data/lib/twilio-ruby/rest/messaging/v2.rb +1 -1
- data/lib/twilio-ruby/rest/numbers/v1/porting_port_in.rb +3 -3
- data/lib/twilio-ruby/rest/numbers/v3/hosted_number_order.rb +339 -0
- data/lib/twilio-ruby/rest/numbers/v3.rb +40 -0
- data/lib/twilio-ruby/rest/numbers_base.rb +5 -0
- data/lib/twilio-ruby/rest/oauth/v2/token.rb +186 -0
- data/lib/twilio-ruby/rest/oauth/v2.rb +40 -0
- data/lib/twilio-ruby/rest/oauth_base.rb +6 -1
- data/lib/twilio-ruby/rest/verify/v2/new_challenge.rb +335 -0
- data/lib/twilio-ruby/rest/verify/v2/service/new_factor.rb +297 -0
- data/lib/twilio-ruby/rest/verify/v2/service.rb +38 -0
- data/lib/twilio-ruby/rest/verify/v2.rb +15 -0
- data/lib/twilio-ruby/rest/voice_base.rb +6 -1
- data/lib/twilio-ruby/twiml/voice_response.rb +20 -0
- data/lib/twilio-ruby/version.rb +1 -1
- data/twilio-ruby.gemspec +1 -1
- metadata +12 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 63da26cfdb1e46e561d69fc12866a3d6fe004da7
|
4
|
+
data.tar.gz: 483a0abb0e0d9dee81f63057e181faaad5b193b5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e8df0759d0aa220c2b26e26fe4210641eb87cdcb645a1efc4c83ca8fed8bf60c92ea148435798302e1e2dac9f13fd26ab4ae907d2718c4036e6169d5530beee9
|
7
|
+
data.tar.gz: 3db5b3c4c4343e61a5f8371c6671c28064b31053b1d11963cbbdd6e7913ee5834d34df51b530dbd4b9d43ba7837dd0da0e332ae4935cd85ed365e82e32b9e481
|
data/CHANGES.md
CHANGED
@@ -1,6 +1,32 @@
|
|
1
1
|
twilio-ruby changelog
|
2
2
|
=====================
|
3
3
|
|
4
|
+
[2025-09-18] Version 7.8.1
|
5
|
+
--------------------------
|
6
|
+
**Library - Chore**
|
7
|
+
- [PR #753](https://github.com/twilio/twilio-ruby/pull/753): Support JWT 3.x. Thanks to [@hieuk09](https://github.com/hieuk09)!
|
8
|
+
|
9
|
+
**Api**
|
10
|
+
- Add `date_created` property to media resource and date_created filtering parameters for read action
|
11
|
+
- Updated the Recordings Resource `channels` property to clarify channels = # of channels in the recording resource and how to specify the # of channels in recording download
|
12
|
+
|
13
|
+
**Intelligence**
|
14
|
+
- Add encryption_credential_sid field in transcripts and services in v2
|
15
|
+
|
16
|
+
**Trusthub**
|
17
|
+
- Remove beta feature flag for all TH APIs
|
18
|
+
- Remove beta feature flag for ComplianceInquiries API to support OneConsole traffic
|
19
|
+
|
20
|
+
**Twiml**
|
21
|
+
- Add new noun `<AiSession>`
|
22
|
+
|
23
|
+
|
24
|
+
[2025-09-04] Version 7.8.0
|
25
|
+
--------------------------
|
26
|
+
**Api**
|
27
|
+
- Remove usage category enum from usage record and usage triggers API **(breaking change)**
|
28
|
+
|
29
|
+
|
4
30
|
[2025-08-28] Version 7.7.2
|
5
31
|
--------------------------
|
6
32
|
**Studio**
|
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.
|
42
|
+
gem 'twilio-ruby', '~> 7.8.1'
|
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.
|
48
|
+
gem install twilio-ruby -v 7.8.1
|
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
|
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.
|
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
|
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.
|
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
|
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.
|
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
|
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.
|
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
|
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.
|
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
|
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.
|
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
|
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.
|
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
|
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.
|
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
|
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.
|
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
|
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.
|
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
|
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.
|
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
|
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.
|
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
|
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.
|
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
|
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.
|
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
|
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.
|
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
|
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.
|
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
|
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.
|
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
|
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.
|
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
|
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.
|
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
|
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.
|
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
|
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.
|
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`.
|
@@ -428,7 +428,7 @@ module Twilio
|
|
428
428
|
end
|
429
429
|
|
430
430
|
##
|
431
|
-
# @return [String] The number of channels in the
|
431
|
+
# @return [String] The number of channels in the recording resource. For information on specifying the number of channels in the downloaded recording file, check out [Fetch a Recording’s media file](https://www.twilio.com/docs/voice/api/recording#download-dual-channel-media-file).
|
432
432
|
def channels
|
433
433
|
@properties['channels']
|
434
434
|
end
|
@@ -39,7 +39,7 @@ module Twilio
|
|
39
39
|
# Lists AllTimeInstance records from the API as a list.
|
40
40
|
# Unlike stream(), this operation is eager and will load `limit` records into
|
41
41
|
# memory before returning.
|
42
|
-
# @param [
|
42
|
+
# @param [String] category The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved.
|
43
43
|
# @param [Date] start_date Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date.
|
44
44
|
# @param [Date] end_date Only include usage that occurred on or before this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `+30days`, which will set the end date to 30 days from the current date.
|
45
45
|
# @param [Boolean] include_subaccounts Whether to include usage from the master account and all its subaccounts. Can be: `true` (the default) to include usage from the master account and all subaccounts or `false` to retrieve usage from only the specified account.
|
@@ -65,7 +65,7 @@ module Twilio
|
|
65
65
|
# Streams Instance records from the API as an Enumerable.
|
66
66
|
# This operation lazily loads records as efficiently as possible until the limit
|
67
67
|
# is reached.
|
68
|
-
# @param [
|
68
|
+
# @param [String] category The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved.
|
69
69
|
# @param [Date] start_date Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date.
|
70
70
|
# @param [Date] end_date Only include usage that occurred on or before this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `+30days`, which will set the end date to 30 days from the current date.
|
71
71
|
# @param [Boolean] include_subaccounts Whether to include usage from the master account and all its subaccounts. Can be: `true` (the default) to include usage from the master account and all subaccounts or `false` to retrieve usage from only the specified account.
|
@@ -106,7 +106,7 @@ module Twilio
|
|
106
106
|
##
|
107
107
|
# Retrieve a single page of AllTimeInstance records from the API.
|
108
108
|
# Request is executed immediately.
|
109
|
-
# @param [
|
109
|
+
# @param [String] category The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved.
|
110
110
|
# @param [Date] start_date Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date.
|
111
111
|
# @param [Date] end_date Only include usage that occurred on or before this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `+30days`, which will set the end date to 30 days from the current date.
|
112
112
|
# @param [Boolean] include_subaccounts Whether to include usage from the master account and all its subaccounts. Can be: `true` (the default) to include usage from the master account and all subaccounts or `false` to retrieve usage from only the specified account.
|
@@ -235,7 +235,7 @@ module Twilio
|
|
235
235
|
end
|
236
236
|
|
237
237
|
##
|
238
|
-
# @return [
|
238
|
+
# @return [String] The category of usage. For more information, see [Usage Categories](https://www.twilio.com/docs/usage/api/usage-record#usage-categories).
|
239
239
|
def category
|
240
240
|
@properties['category']
|
241
241
|
end
|
@@ -39,7 +39,7 @@ module Twilio
|
|
39
39
|
# Lists DailyInstance records from the API as a list.
|
40
40
|
# Unlike stream(), this operation is eager and will load `limit` records into
|
41
41
|
# memory before returning.
|
42
|
-
# @param [
|
42
|
+
# @param [String] category The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved.
|
43
43
|
# @param [Date] start_date Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date.
|
44
44
|
# @param [Date] end_date Only include usage that occurred on or before this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `+30days`, which will set the end date to 30 days from the current date.
|
45
45
|
# @param [Boolean] include_subaccounts Whether to include usage from the master account and all its subaccounts. Can be: `true` (the default) to include usage from the master account and all subaccounts or `false` to retrieve usage from only the specified account.
|
@@ -65,7 +65,7 @@ module Twilio
|
|
65
65
|
# Streams Instance records from the API as an Enumerable.
|
66
66
|
# This operation lazily loads records as efficiently as possible until the limit
|
67
67
|
# is reached.
|
68
|
-
# @param [
|
68
|
+
# @param [String] category The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved.
|
69
69
|
# @param [Date] start_date Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date.
|
70
70
|
# @param [Date] end_date Only include usage that occurred on or before this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `+30days`, which will set the end date to 30 days from the current date.
|
71
71
|
# @param [Boolean] include_subaccounts Whether to include usage from the master account and all its subaccounts. Can be: `true` (the default) to include usage from the master account and all subaccounts or `false` to retrieve usage from only the specified account.
|
@@ -106,7 +106,7 @@ module Twilio
|
|
106
106
|
##
|
107
107
|
# Retrieve a single page of DailyInstance records from the API.
|
108
108
|
# Request is executed immediately.
|
109
|
-
# @param [
|
109
|
+
# @param [String] category The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved.
|
110
110
|
# @param [Date] start_date Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date.
|
111
111
|
# @param [Date] end_date Only include usage that occurred on or before this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `+30days`, which will set the end date to 30 days from the current date.
|
112
112
|
# @param [Boolean] include_subaccounts Whether to include usage from the master account and all its subaccounts. Can be: `true` (the default) to include usage from the master account and all subaccounts or `false` to retrieve usage from only the specified account.
|
@@ -235,7 +235,7 @@ module Twilio
|
|
235
235
|
end
|
236
236
|
|
237
237
|
##
|
238
|
-
# @return [
|
238
|
+
# @return [String] The category of usage. For more information, see [Usage Categories](https://www.twilio.com/docs/usage/api/usage-record#usage-categories).
|
239
239
|
def category
|
240
240
|
@properties['category']
|
241
241
|
end
|
@@ -39,7 +39,7 @@ module Twilio
|
|
39
39
|
# Lists LastMonthInstance records from the API as a list.
|
40
40
|
# Unlike stream(), this operation is eager and will load `limit` records into
|
41
41
|
# memory before returning.
|
42
|
-
# @param [
|
42
|
+
# @param [String] category The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved.
|
43
43
|
# @param [Date] start_date Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date.
|
44
44
|
# @param [Date] end_date Only include usage that occurred on or before this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `+30days`, which will set the end date to 30 days from the current date.
|
45
45
|
# @param [Boolean] include_subaccounts Whether to include usage from the master account and all its subaccounts. Can be: `true` (the default) to include usage from the master account and all subaccounts or `false` to retrieve usage from only the specified account.
|
@@ -65,7 +65,7 @@ module Twilio
|
|
65
65
|
# Streams Instance records from the API as an Enumerable.
|
66
66
|
# This operation lazily loads records as efficiently as possible until the limit
|
67
67
|
# is reached.
|
68
|
-
# @param [
|
68
|
+
# @param [String] category The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved.
|
69
69
|
# @param [Date] start_date Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date.
|
70
70
|
# @param [Date] end_date Only include usage that occurred on or before this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `+30days`, which will set the end date to 30 days from the current date.
|
71
71
|
# @param [Boolean] include_subaccounts Whether to include usage from the master account and all its subaccounts. Can be: `true` (the default) to include usage from the master account and all subaccounts or `false` to retrieve usage from only the specified account.
|
@@ -106,7 +106,7 @@ module Twilio
|
|
106
106
|
##
|
107
107
|
# Retrieve a single page of LastMonthInstance records from the API.
|
108
108
|
# Request is executed immediately.
|
109
|
-
# @param [
|
109
|
+
# @param [String] category The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved.
|
110
110
|
# @param [Date] start_date Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date.
|
111
111
|
# @param [Date] end_date Only include usage that occurred on or before this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `+30days`, which will set the end date to 30 days from the current date.
|
112
112
|
# @param [Boolean] include_subaccounts Whether to include usage from the master account and all its subaccounts. Can be: `true` (the default) to include usage from the master account and all subaccounts or `false` to retrieve usage from only the specified account.
|
@@ -235,7 +235,7 @@ module Twilio
|
|
235
235
|
end
|
236
236
|
|
237
237
|
##
|
238
|
-
# @return [
|
238
|
+
# @return [String] The category of usage. For more information, see [Usage Categories](https://www.twilio.com/docs/usage/api/usage-record#usage-categories).
|
239
239
|
def category
|
240
240
|
@properties['category']
|
241
241
|
end
|
@@ -39,7 +39,7 @@ module Twilio
|
|
39
39
|
# Lists MonthlyInstance records from the API as a list.
|
40
40
|
# Unlike stream(), this operation is eager and will load `limit` records into
|
41
41
|
# memory before returning.
|
42
|
-
# @param [
|
42
|
+
# @param [String] category The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved.
|
43
43
|
# @param [Date] start_date Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date.
|
44
44
|
# @param [Date] end_date Only include usage that occurred on or before this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `+30days`, which will set the end date to 30 days from the current date.
|
45
45
|
# @param [Boolean] include_subaccounts Whether to include usage from the master account and all its subaccounts. Can be: `true` (the default) to include usage from the master account and all subaccounts or `false` to retrieve usage from only the specified account.
|
@@ -65,7 +65,7 @@ module Twilio
|
|
65
65
|
# Streams Instance records from the API as an Enumerable.
|
66
66
|
# This operation lazily loads records as efficiently as possible until the limit
|
67
67
|
# is reached.
|
68
|
-
# @param [
|
68
|
+
# @param [String] category The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved.
|
69
69
|
# @param [Date] start_date Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date.
|
70
70
|
# @param [Date] end_date Only include usage that occurred on or before this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `+30days`, which will set the end date to 30 days from the current date.
|
71
71
|
# @param [Boolean] include_subaccounts Whether to include usage from the master account and all its subaccounts. Can be: `true` (the default) to include usage from the master account and all subaccounts or `false` to retrieve usage from only the specified account.
|
@@ -106,7 +106,7 @@ module Twilio
|
|
106
106
|
##
|
107
107
|
# Retrieve a single page of MonthlyInstance records from the API.
|
108
108
|
# Request is executed immediately.
|
109
|
-
# @param [
|
109
|
+
# @param [String] category The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved.
|
110
110
|
# @param [Date] start_date Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date.
|
111
111
|
# @param [Date] end_date Only include usage that occurred on or before this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `+30days`, which will set the end date to 30 days from the current date.
|
112
112
|
# @param [Boolean] include_subaccounts Whether to include usage from the master account and all its subaccounts. Can be: `true` (the default) to include usage from the master account and all subaccounts or `false` to retrieve usage from only the specified account.
|
@@ -235,7 +235,7 @@ module Twilio
|
|
235
235
|
end
|
236
236
|
|
237
237
|
##
|
238
|
-
# @return [
|
238
|
+
# @return [String] The category of usage. For more information, see [Usage Categories](https://www.twilio.com/docs/usage/api/usage-record#usage-categories).
|
239
239
|
def category
|
240
240
|
@properties['category']
|
241
241
|
end
|
@@ -39,7 +39,7 @@ module Twilio
|
|
39
39
|
# Lists ThisMonthInstance records from the API as a list.
|
40
40
|
# Unlike stream(), this operation is eager and will load `limit` records into
|
41
41
|
# memory before returning.
|
42
|
-
# @param [
|
42
|
+
# @param [String] category The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved.
|
43
43
|
# @param [Date] start_date Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date.
|
44
44
|
# @param [Date] end_date Only include usage that occurred on or before this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `+30days`, which will set the end date to 30 days from the current date.
|
45
45
|
# @param [Boolean] include_subaccounts Whether to include usage from the master account and all its subaccounts. Can be: `true` (the default) to include usage from the master account and all subaccounts or `false` to retrieve usage from only the specified account.
|
@@ -65,7 +65,7 @@ module Twilio
|
|
65
65
|
# Streams Instance records from the API as an Enumerable.
|
66
66
|
# This operation lazily loads records as efficiently as possible until the limit
|
67
67
|
# is reached.
|
68
|
-
# @param [
|
68
|
+
# @param [String] category The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved.
|
69
69
|
# @param [Date] start_date Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date.
|
70
70
|
# @param [Date] end_date Only include usage that occurred on or before this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `+30days`, which will set the end date to 30 days from the current date.
|
71
71
|
# @param [Boolean] include_subaccounts Whether to include usage from the master account and all its subaccounts. Can be: `true` (the default) to include usage from the master account and all subaccounts or `false` to retrieve usage from only the specified account.
|
@@ -106,7 +106,7 @@ module Twilio
|
|
106
106
|
##
|
107
107
|
# Retrieve a single page of ThisMonthInstance records from the API.
|
108
108
|
# Request is executed immediately.
|
109
|
-
# @param [
|
109
|
+
# @param [String] category The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved.
|
110
110
|
# @param [Date] start_date Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date.
|
111
111
|
# @param [Date] end_date Only include usage that occurred on or before this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `+30days`, which will set the end date to 30 days from the current date.
|
112
112
|
# @param [Boolean] include_subaccounts Whether to include usage from the master account and all its subaccounts. Can be: `true` (the default) to include usage from the master account and all subaccounts or `false` to retrieve usage from only the specified account.
|
@@ -235,7 +235,7 @@ module Twilio
|
|
235
235
|
end
|
236
236
|
|
237
237
|
##
|
238
|
-
# @return [
|
238
|
+
# @return [String] The category of usage. For more information, see [Usage Categories](https://www.twilio.com/docs/usage/api/usage-record#usage-categories).
|
239
239
|
def category
|
240
240
|
@properties['category']
|
241
241
|
end
|
@@ -39,7 +39,7 @@ module Twilio
|
|
39
39
|
# Lists TodayInstance records from the API as a list.
|
40
40
|
# Unlike stream(), this operation is eager and will load `limit` records into
|
41
41
|
# memory before returning.
|
42
|
-
# @param [
|
42
|
+
# @param [String] category The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved.
|
43
43
|
# @param [Date] start_date Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date.
|
44
44
|
# @param [Date] end_date Only include usage that occurred on or before this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `+30days`, which will set the end date to 30 days from the current date.
|
45
45
|
# @param [Boolean] include_subaccounts Whether to include usage from the master account and all its subaccounts. Can be: `true` (the default) to include usage from the master account and all subaccounts or `false` to retrieve usage from only the specified account.
|
@@ -65,7 +65,7 @@ module Twilio
|
|
65
65
|
# Streams Instance records from the API as an Enumerable.
|
66
66
|
# This operation lazily loads records as efficiently as possible until the limit
|
67
67
|
# is reached.
|
68
|
-
# @param [
|
68
|
+
# @param [String] category The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved.
|
69
69
|
# @param [Date] start_date Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date.
|
70
70
|
# @param [Date] end_date Only include usage that occurred on or before this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `+30days`, which will set the end date to 30 days from the current date.
|
71
71
|
# @param [Boolean] include_subaccounts Whether to include usage from the master account and all its subaccounts. Can be: `true` (the default) to include usage from the master account and all subaccounts or `false` to retrieve usage from only the specified account.
|
@@ -106,7 +106,7 @@ module Twilio
|
|
106
106
|
##
|
107
107
|
# Retrieve a single page of TodayInstance records from the API.
|
108
108
|
# Request is executed immediately.
|
109
|
-
# @param [
|
109
|
+
# @param [String] category The [usage category](https://www.twilio.com/docs/usage/api/usage-record#usage-categories) of the UsageRecord resources to read. Only UsageRecord resources in the specified category are retrieved.
|
110
110
|
# @param [Date] start_date Only include usage that has occurred on or after this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `-30days`, which will set the start date to be 30 days before the current date.
|
111
111
|
# @param [Date] end_date Only include usage that occurred on or before this date. Specify the date in GMT and format as `YYYY-MM-DD`. You can also specify offsets from the current date, such as: `+30days`, which will set the end date to 30 days from the current date.
|
112
112
|
# @param [Boolean] include_subaccounts Whether to include usage from the master account and all its subaccounts. Can be: `true` (the default) to include usage from the master account and all subaccounts or `false` to retrieve usage from only the specified account.
|
@@ -235,7 +235,7 @@ module Twilio
|
|
235
235
|
end
|
236
236
|
|
237
237
|
##
|
238
|
-
# @return [
|
238
|
+
# @return [String] The category of usage. For more information, see [Usage Categories](https://www.twilio.com/docs/usage/api/usage-record#usage-categories).
|
239
239
|
def category
|
240
240
|
@properties['category']
|
241
241
|
end
|