twilio-ruby 5.26.0 → 5.27.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/.travis.yml +5 -6
- data/CHANGES.md +21 -0
- data/README.md +28 -19
- data/VERSIONS.md +9 -10
- data/lib/twilio-ruby.rb +4 -2
- data/lib/twilio-ruby/framework/domain.rb +1 -1
- data/lib/twilio-ruby/http/http_client.rb +9 -3
- data/lib/twilio-ruby/rest/api/v2010/account/address.rb +3 -3
- data/lib/twilio-ruby/rest/api/v2010/account/address/dependent_phone_number.rb +2 -2
- data/lib/twilio-ruby/rest/api/v2010/account/application.rb +3 -3
- data/lib/twilio-ruby/rest/api/v2010/account/authorized_connect_app.rb +3 -3
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number.rb +1 -1
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/local.rb +18 -18
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/machine_to_machine.rb +18 -18
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/mobile.rb +18 -18
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/national.rb +18 -18
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/shared_cost.rb +18 -18
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/toll_free.rb +18 -18
- data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/voip.rb +18 -18
- data/lib/twilio-ruby/rest/api/v2010/account/call.rb +3 -3
- data/lib/twilio-ruby/rest/api/v2010/account/call/feedback.rb +3 -3
- data/lib/twilio-ruby/rest/api/v2010/account/call/feedback_summary.rb +3 -3
- data/lib/twilio-ruby/rest/api/v2010/account/call/notification.rb +6 -6
- data/lib/twilio-ruby/rest/api/v2010/account/call/recording.rb +6 -6
- data/lib/twilio-ruby/rest/api/v2010/account/conference.rb +3 -3
- data/lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb +5 -5
- data/lib/twilio-ruby/rest/api/v2010/account/conference/recording.rb +3 -3
- data/lib/twilio-ruby/rest/api/v2010/account/connect_app.rb +3 -3
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number.rb +5 -5
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on.rb +4 -4
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/assigned_add_on/assigned_add_on_extension.rb +4 -4
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/local.rb +2 -2
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/mobile.rb +2 -2
- data/lib/twilio-ruby/rest/api/v2010/account/incoming_phone_number/toll_free.rb +2 -2
- data/lib/twilio-ruby/rest/api/v2010/account/key.rb +1 -1
- data/lib/twilio-ruby/rest/api/v2010/account/message.rb +6 -6
- data/lib/twilio-ruby/rest/api/v2010/account/message/feedback.rb +3 -5
- data/lib/twilio-ruby/rest/api/v2010/account/message/media.rb +3 -3
- data/lib/twilio-ruby/rest/api/v2010/account/notification.rb +3 -3
- data/lib/twilio-ruby/rest/api/v2010/account/outgoing_caller_id.rb +3 -3
- data/lib/twilio-ruby/rest/api/v2010/account/queue.rb +3 -3
- data/lib/twilio-ruby/rest/api/v2010/account/queue/member.rb +5 -5
- data/lib/twilio-ruby/rest/api/v2010/account/recording.rb +6 -6
- data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result.rb +3 -3
- data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result/payload.rb +3 -3
- data/lib/twilio-ruby/rest/api/v2010/account/recording/transcription.rb +3 -3
- data/lib/twilio-ruby/rest/api/v2010/account/short_code.rb +3 -3
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain.rb +1 -1
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types.rb +2 -2
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_calls_mapping.rb +2 -2
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_calls_mapping/auth_calls_credential_list_mapping.rb +3 -3
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_calls_mapping/auth_calls_ip_access_control_list_mapping.rb +3 -3
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_registrations_mapping.rb +2 -2
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_registrations_mapping/auth_registrations_credential_list_mapping.rb +3 -3
- data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/credential_list_mapping.rb +1 -1
- data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list.rb +1 -1
- data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list/ip_address.rb +1 -1
- data/lib/twilio-ruby/rest/api/v2010/account/token.rb +2 -2
- data/lib/twilio-ruby/rest/api/v2010/account/transcription.rb +3 -3
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record.rb +3 -3
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/all_time.rb +3 -3
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/daily.rb +3 -3
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/last_month.rb +3 -3
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/monthly.rb +3 -3
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/this_month.rb +3 -3
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/today.rb +3 -3
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/yearly.rb +3 -3
- data/lib/twilio-ruby/rest/api/v2010/account/usage/record/yesterday.rb +3 -3
- data/lib/twilio-ruby/rest/api/v2010/account/usage/trigger.rb +10 -10
- data/lib/twilio-ruby/rest/api/v2010/account/validation_request.rb +2 -2
- data/lib/twilio-ruby/rest/authy/v1/service/entity/factor/challenge.rb +1 -1
- data/lib/twilio-ruby/rest/autopilot/v1/assistant/task/field.rb +1 -1
- data/lib/twilio-ruby/rest/chat/v2/service.rb +12 -6
- data/lib/twilio-ruby/rest/chat/v2/service/binding.rb +12 -12
- data/lib/twilio-ruby/rest/chat/v2/service/channel.rb +6 -6
- data/lib/twilio-ruby/rest/chat/v2/service/channel/invite.rb +17 -16
- data/lib/twilio-ruby/rest/chat/v2/service/channel/member.rb +35 -35
- data/lib/twilio-ruby/rest/chat/v2/service/channel/message.rb +6 -6
- data/lib/twilio-ruby/rest/chat/v2/service/channel/webhook.rb +6 -6
- data/lib/twilio-ruby/rest/chat/v2/service/role.rb +8 -8
- data/lib/twilio-ruby/rest/chat/v2/service/user.rb +16 -12
- data/lib/twilio-ruby/rest/chat/v2/service/user/user_binding.rb +12 -12
- data/lib/twilio-ruby/rest/chat/v2/service/user/user_channel.rb +13 -11
- data/lib/twilio-ruby/rest/client.rb +2 -2
- data/lib/twilio-ruby/rest/conversations/v1/conversation.rb +4 -4
- data/lib/twilio-ruby/rest/conversations/v1/conversation/message.rb +4 -4
- data/lib/twilio-ruby/rest/conversations/v1/conversation/participant.rb +4 -4
- data/lib/twilio-ruby/rest/conversations/v1/conversation/webhook.rb +4 -4
- data/lib/twilio-ruby/rest/conversations/v1/webhook.rb +4 -4
- data/lib/twilio-ruby/rest/fax/v1/fax.rb +11 -5
- data/lib/twilio-ruby/rest/ip_messaging/v2/service.rb +12 -6
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/binding.rb +12 -12
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel.rb +6 -6
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/invite.rb +17 -16
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/member.rb +35 -35
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/message.rb +6 -6
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/webhook.rb +6 -6
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/role.rb +8 -8
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/user.rb +16 -12
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/user/user_binding.rb +12 -12
- data/lib/twilio-ruby/rest/ip_messaging/v2/service/user/user_channel.rb +13 -11
- data/lib/twilio-ruby/rest/lookups/v1/phone_number.rb +5 -5
- data/lib/twilio-ruby/rest/monitor/v1.rb +1 -1
- data/lib/twilio-ruby/rest/monitor/v1/alert.rb +16 -16
- data/lib/twilio-ruby/rest/pricing/v1/voice/number.rb +1 -1
- data/lib/twilio-ruby/rest/pricing/v2/voice/number.rb +1 -1
- data/lib/twilio-ruby/security/request_validator.rb +1 -1
- data/lib/twilio-ruby/util/configuration.rb +10 -5
- data/lib/twilio-ruby/version.rb +1 -1
- data/spec/http/http_client_spec.rb +2 -2
- data/spec/integration/lookups/v1/phone_number_spec.rb +1 -1
- data/spec/integration/monitor/v1/alert_spec.rb +5 -28
- data/spec/integration/pricing/v1/voice/number_spec.rb +1 -1
- data/spec/integration/pricing/v2/voice/number_spec.rb +1 -1
- data/spec/rest/client_spec.rb +22 -0
- data/spec/twilio_spec.rb +3 -1
- data/spec/util/configuration_spec.rb +6 -0
- metadata +4 -3
|
@@ -38,7 +38,7 @@ module Twilio
|
|
|
38
38
|
# @param [String] contains The pattern on which to match phone numbers. Valid
|
|
39
39
|
# characters are `*`, `0-9`, `a-z`, and `A-Z`. The `*` character matches any
|
|
40
40
|
# single digit. For examples, see [Example
|
|
41
|
-
# 2](https://www.twilio.com/docs/api/
|
|
41
|
+
# 2](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-2) and [Example 3](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-3). If specified, this value must have at least two characters.
|
|
42
42
|
# @param [Boolean] sms_enabled Whether the phone numbers can receive text
|
|
43
43
|
# messages. Can be: `true` or `false`.
|
|
44
44
|
# @param [Boolean] mms_enabled Whether the phone numbers can receive MMS messages.
|
|
@@ -46,14 +46,14 @@ module Twilio
|
|
|
46
46
|
# @param [Boolean] voice_enabled Whether the phone numbers can receive calls. Can
|
|
47
47
|
# be: `true` or `false`.
|
|
48
48
|
# @param [Boolean] exclude_all_address_required Whether to exclude phone numbers
|
|
49
|
-
# that require an [Address](https://www.twilio.com/docs/usage/api/
|
|
49
|
+
# that require an [Address](https://www.twilio.com/docs/usage/api/address). Can
|
|
50
50
|
# be: `true` or `false` and the default is `false`.
|
|
51
51
|
# @param [Boolean] exclude_local_address_required Whether to exclude phone numbers
|
|
52
|
-
# that require a local [Address](https://www.twilio.com/docs/usage/api/
|
|
52
|
+
# that require a local [Address](https://www.twilio.com/docs/usage/api/address).
|
|
53
53
|
# Can be: `true` or `false` and the default is `false`.
|
|
54
54
|
# @param [Boolean] exclude_foreign_address_required Whether to exclude phone
|
|
55
55
|
# numbers that require a foreign
|
|
56
|
-
# [Address](https://www.twilio.com/docs/usage/api/
|
|
56
|
+
# [Address](https://www.twilio.com/docs/usage/api/address). Can be: `true` or
|
|
57
57
|
# `false` and the default is `false`.
|
|
58
58
|
# @param [Boolean] beta Whether to read phone numbers that are new to the Twilio
|
|
59
59
|
# platform. Can be: `true` or `false` and the default is `true`.
|
|
@@ -76,9 +76,9 @@ module Twilio
|
|
|
76
76
|
# a phone number search within the same rate center as that number. Requires
|
|
77
77
|
# `in_lata` to be set as well. Applies to only phone numbers in the US and Canada.
|
|
78
78
|
# @param [String] in_lata Limit results to a specific local access and transport
|
|
79
|
-
# area ([LATA](
|
|
79
|
+
# area ([LATA](https://en.wikipedia.org/wiki/Local_access_and_transport_area)).
|
|
80
80
|
# Given a phone number, search within the same
|
|
81
|
-
# [LATA](
|
|
81
|
+
# [LATA](https://en.wikipedia.org/wiki/Local_access_and_transport_area) as that
|
|
82
82
|
# number. Applies to only phone numbers in the US and Canada.
|
|
83
83
|
# @param [String] in_locality Limit results to a particular locality or city.
|
|
84
84
|
# Given a phone number, search within the same Locality as that number.
|
|
@@ -125,7 +125,7 @@ module Twilio
|
|
|
125
125
|
# @param [String] contains The pattern on which to match phone numbers. Valid
|
|
126
126
|
# characters are `*`, `0-9`, `a-z`, and `A-Z`. The `*` character matches any
|
|
127
127
|
# single digit. For examples, see [Example
|
|
128
|
-
# 2](https://www.twilio.com/docs/api/
|
|
128
|
+
# 2](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-2) and [Example 3](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-3). If specified, this value must have at least two characters.
|
|
129
129
|
# @param [Boolean] sms_enabled Whether the phone numbers can receive text
|
|
130
130
|
# messages. Can be: `true` or `false`.
|
|
131
131
|
# @param [Boolean] mms_enabled Whether the phone numbers can receive MMS messages.
|
|
@@ -133,14 +133,14 @@ module Twilio
|
|
|
133
133
|
# @param [Boolean] voice_enabled Whether the phone numbers can receive calls. Can
|
|
134
134
|
# be: `true` or `false`.
|
|
135
135
|
# @param [Boolean] exclude_all_address_required Whether to exclude phone numbers
|
|
136
|
-
# that require an [Address](https://www.twilio.com/docs/usage/api/
|
|
136
|
+
# that require an [Address](https://www.twilio.com/docs/usage/api/address). Can
|
|
137
137
|
# be: `true` or `false` and the default is `false`.
|
|
138
138
|
# @param [Boolean] exclude_local_address_required Whether to exclude phone numbers
|
|
139
|
-
# that require a local [Address](https://www.twilio.com/docs/usage/api/
|
|
139
|
+
# that require a local [Address](https://www.twilio.com/docs/usage/api/address).
|
|
140
140
|
# Can be: `true` or `false` and the default is `false`.
|
|
141
141
|
# @param [Boolean] exclude_foreign_address_required Whether to exclude phone
|
|
142
142
|
# numbers that require a foreign
|
|
143
|
-
# [Address](https://www.twilio.com/docs/usage/api/
|
|
143
|
+
# [Address](https://www.twilio.com/docs/usage/api/address). Can be: `true` or
|
|
144
144
|
# `false` and the default is `false`.
|
|
145
145
|
# @param [Boolean] beta Whether to read phone numbers that are new to the Twilio
|
|
146
146
|
# platform. Can be: `true` or `false` and the default is `true`.
|
|
@@ -163,9 +163,9 @@ module Twilio
|
|
|
163
163
|
# a phone number search within the same rate center as that number. Requires
|
|
164
164
|
# `in_lata` to be set as well. Applies to only phone numbers in the US and Canada.
|
|
165
165
|
# @param [String] in_lata Limit results to a specific local access and transport
|
|
166
|
-
# area ([LATA](
|
|
166
|
+
# area ([LATA](https://en.wikipedia.org/wiki/Local_access_and_transport_area)).
|
|
167
167
|
# Given a phone number, search within the same
|
|
168
|
-
# [LATA](
|
|
168
|
+
# [LATA](https://en.wikipedia.org/wiki/Local_access_and_transport_area) as that
|
|
169
169
|
# number. Applies to only phone numbers in the US and Canada.
|
|
170
170
|
# @param [String] in_locality Limit results to a particular locality or city.
|
|
171
171
|
# Given a phone number, search within the same Locality as that number.
|
|
@@ -228,7 +228,7 @@ module Twilio
|
|
|
228
228
|
# @param [String] contains The pattern on which to match phone numbers. Valid
|
|
229
229
|
# characters are `*`, `0-9`, `a-z`, and `A-Z`. The `*` character matches any
|
|
230
230
|
# single digit. For examples, see [Example
|
|
231
|
-
# 2](https://www.twilio.com/docs/api/
|
|
231
|
+
# 2](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-2) and [Example 3](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-3). If specified, this value must have at least two characters.
|
|
232
232
|
# @param [Boolean] sms_enabled Whether the phone numbers can receive text
|
|
233
233
|
# messages. Can be: `true` or `false`.
|
|
234
234
|
# @param [Boolean] mms_enabled Whether the phone numbers can receive MMS messages.
|
|
@@ -236,14 +236,14 @@ module Twilio
|
|
|
236
236
|
# @param [Boolean] voice_enabled Whether the phone numbers can receive calls. Can
|
|
237
237
|
# be: `true` or `false`.
|
|
238
238
|
# @param [Boolean] exclude_all_address_required Whether to exclude phone numbers
|
|
239
|
-
# that require an [Address](https://www.twilio.com/docs/usage/api/
|
|
239
|
+
# that require an [Address](https://www.twilio.com/docs/usage/api/address). Can
|
|
240
240
|
# be: `true` or `false` and the default is `false`.
|
|
241
241
|
# @param [Boolean] exclude_local_address_required Whether to exclude phone numbers
|
|
242
|
-
# that require a local [Address](https://www.twilio.com/docs/usage/api/
|
|
242
|
+
# that require a local [Address](https://www.twilio.com/docs/usage/api/address).
|
|
243
243
|
# Can be: `true` or `false` and the default is `false`.
|
|
244
244
|
# @param [Boolean] exclude_foreign_address_required Whether to exclude phone
|
|
245
245
|
# numbers that require a foreign
|
|
246
|
-
# [Address](https://www.twilio.com/docs/usage/api/
|
|
246
|
+
# [Address](https://www.twilio.com/docs/usage/api/address). Can be: `true` or
|
|
247
247
|
# `false` and the default is `false`.
|
|
248
248
|
# @param [Boolean] beta Whether to read phone numbers that are new to the Twilio
|
|
249
249
|
# platform. Can be: `true` or `false` and the default is `true`.
|
|
@@ -266,9 +266,9 @@ module Twilio
|
|
|
266
266
|
# a phone number search within the same rate center as that number. Requires
|
|
267
267
|
# `in_lata` to be set as well. Applies to only phone numbers in the US and Canada.
|
|
268
268
|
# @param [String] in_lata Limit results to a specific local access and transport
|
|
269
|
-
# area ([LATA](
|
|
269
|
+
# area ([LATA](https://en.wikipedia.org/wiki/Local_access_and_transport_area)).
|
|
270
270
|
# Given a phone number, search within the same
|
|
271
|
-
# [LATA](
|
|
271
|
+
# [LATA](https://en.wikipedia.org/wiki/Local_access_and_transport_area) as that
|
|
272
272
|
# number. Applies to only phone numbers in the US and Canada.
|
|
273
273
|
# @param [String] in_locality Limit results to a particular locality or city.
|
|
274
274
|
# Given a phone number, search within the same Locality as that number.
|
|
@@ -38,7 +38,7 @@ module Twilio
|
|
|
38
38
|
# @param [String] contains The pattern on which to match phone numbers. Valid
|
|
39
39
|
# characters are `*`, `0-9`, `a-z`, and `A-Z`. The `*` character matches any
|
|
40
40
|
# single digit. For examples, see [Example
|
|
41
|
-
# 2](https://www.twilio.com/docs/api/
|
|
41
|
+
# 2](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-2) and [Example 3](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-3). If specified, this value must have at least two characters.
|
|
42
42
|
# @param [Boolean] sms_enabled Whether the phone numbers can receive text
|
|
43
43
|
# messages. Can be: `true` or `false`.
|
|
44
44
|
# @param [Boolean] mms_enabled Whether the phone numbers can receive MMS messages.
|
|
@@ -46,14 +46,14 @@ module Twilio
|
|
|
46
46
|
# @param [Boolean] voice_enabled Whether the phone numbers can receive calls. Can
|
|
47
47
|
# be: `true` or `false`.
|
|
48
48
|
# @param [Boolean] exclude_all_address_required Whether to exclude phone numbers
|
|
49
|
-
# that require an [Address](https://www.twilio.com/docs/usage/api/
|
|
49
|
+
# that require an [Address](https://www.twilio.com/docs/usage/api/address). Can
|
|
50
50
|
# be: `true` or `false` and the default is `false`.
|
|
51
51
|
# @param [Boolean] exclude_local_address_required Whether to exclude phone numbers
|
|
52
|
-
# that require a local [Address](https://www.twilio.com/docs/usage/api/
|
|
52
|
+
# that require a local [Address](https://www.twilio.com/docs/usage/api/address).
|
|
53
53
|
# Can be: `true` or `false` and the default is `false`.
|
|
54
54
|
# @param [Boolean] exclude_foreign_address_required Whether to exclude phone
|
|
55
55
|
# numbers that require a foreign
|
|
56
|
-
# [Address](https://www.twilio.com/docs/usage/api/
|
|
56
|
+
# [Address](https://www.twilio.com/docs/usage/api/address). Can be: `true` or
|
|
57
57
|
# `false` and the default is `false`.
|
|
58
58
|
# @param [Boolean] beta Whether to read phone numbers that are new to the Twilio
|
|
59
59
|
# platform. Can be: `true` or `false` and the default is `true`.
|
|
@@ -76,9 +76,9 @@ module Twilio
|
|
|
76
76
|
# a phone number search within the same rate center as that number. Requires
|
|
77
77
|
# `in_lata` to be set as well. Applies to only phone numbers in the US and Canada.
|
|
78
78
|
# @param [String] in_lata Limit results to a specific local access and transport
|
|
79
|
-
# area ([LATA](
|
|
79
|
+
# area ([LATA](https://en.wikipedia.org/wiki/Local_access_and_transport_area)).
|
|
80
80
|
# Given a phone number, search within the same
|
|
81
|
-
# [LATA](
|
|
81
|
+
# [LATA](https://en.wikipedia.org/wiki/Local_access_and_transport_area) as that
|
|
82
82
|
# number. Applies to only phone numbers in the US and Canada.
|
|
83
83
|
# @param [String] in_locality Limit results to a particular locality or city.
|
|
84
84
|
# Given a phone number, search within the same Locality as that number.
|
|
@@ -125,7 +125,7 @@ module Twilio
|
|
|
125
125
|
# @param [String] contains The pattern on which to match phone numbers. Valid
|
|
126
126
|
# characters are `*`, `0-9`, `a-z`, and `A-Z`. The `*` character matches any
|
|
127
127
|
# single digit. For examples, see [Example
|
|
128
|
-
# 2](https://www.twilio.com/docs/api/
|
|
128
|
+
# 2](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-2) and [Example 3](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-3). If specified, this value must have at least two characters.
|
|
129
129
|
# @param [Boolean] sms_enabled Whether the phone numbers can receive text
|
|
130
130
|
# messages. Can be: `true` or `false`.
|
|
131
131
|
# @param [Boolean] mms_enabled Whether the phone numbers can receive MMS messages.
|
|
@@ -133,14 +133,14 @@ module Twilio
|
|
|
133
133
|
# @param [Boolean] voice_enabled Whether the phone numbers can receive calls. Can
|
|
134
134
|
# be: `true` or `false`.
|
|
135
135
|
# @param [Boolean] exclude_all_address_required Whether to exclude phone numbers
|
|
136
|
-
# that require an [Address](https://www.twilio.com/docs/usage/api/
|
|
136
|
+
# that require an [Address](https://www.twilio.com/docs/usage/api/address). Can
|
|
137
137
|
# be: `true` or `false` and the default is `false`.
|
|
138
138
|
# @param [Boolean] exclude_local_address_required Whether to exclude phone numbers
|
|
139
|
-
# that require a local [Address](https://www.twilio.com/docs/usage/api/
|
|
139
|
+
# that require a local [Address](https://www.twilio.com/docs/usage/api/address).
|
|
140
140
|
# Can be: `true` or `false` and the default is `false`.
|
|
141
141
|
# @param [Boolean] exclude_foreign_address_required Whether to exclude phone
|
|
142
142
|
# numbers that require a foreign
|
|
143
|
-
# [Address](https://www.twilio.com/docs/usage/api/
|
|
143
|
+
# [Address](https://www.twilio.com/docs/usage/api/address). Can be: `true` or
|
|
144
144
|
# `false` and the default is `false`.
|
|
145
145
|
# @param [Boolean] beta Whether to read phone numbers that are new to the Twilio
|
|
146
146
|
# platform. Can be: `true` or `false` and the default is `true`.
|
|
@@ -163,9 +163,9 @@ module Twilio
|
|
|
163
163
|
# a phone number search within the same rate center as that number. Requires
|
|
164
164
|
# `in_lata` to be set as well. Applies to only phone numbers in the US and Canada.
|
|
165
165
|
# @param [String] in_lata Limit results to a specific local access and transport
|
|
166
|
-
# area ([LATA](
|
|
166
|
+
# area ([LATA](https://en.wikipedia.org/wiki/Local_access_and_transport_area)).
|
|
167
167
|
# Given a phone number, search within the same
|
|
168
|
-
# [LATA](
|
|
168
|
+
# [LATA](https://en.wikipedia.org/wiki/Local_access_and_transport_area) as that
|
|
169
169
|
# number. Applies to only phone numbers in the US and Canada.
|
|
170
170
|
# @param [String] in_locality Limit results to a particular locality or city.
|
|
171
171
|
# Given a phone number, search within the same Locality as that number.
|
|
@@ -228,7 +228,7 @@ module Twilio
|
|
|
228
228
|
# @param [String] contains The pattern on which to match phone numbers. Valid
|
|
229
229
|
# characters are `*`, `0-9`, `a-z`, and `A-Z`. The `*` character matches any
|
|
230
230
|
# single digit. For examples, see [Example
|
|
231
|
-
# 2](https://www.twilio.com/docs/api/
|
|
231
|
+
# 2](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-2) and [Example 3](https://www.twilio.com/docs/phone-numbers/api/availablephonenumber-resource#local-get-basic-example-3). If specified, this value must have at least two characters.
|
|
232
232
|
# @param [Boolean] sms_enabled Whether the phone numbers can receive text
|
|
233
233
|
# messages. Can be: `true` or `false`.
|
|
234
234
|
# @param [Boolean] mms_enabled Whether the phone numbers can receive MMS messages.
|
|
@@ -236,14 +236,14 @@ module Twilio
|
|
|
236
236
|
# @param [Boolean] voice_enabled Whether the phone numbers can receive calls. Can
|
|
237
237
|
# be: `true` or `false`.
|
|
238
238
|
# @param [Boolean] exclude_all_address_required Whether to exclude phone numbers
|
|
239
|
-
# that require an [Address](https://www.twilio.com/docs/usage/api/
|
|
239
|
+
# that require an [Address](https://www.twilio.com/docs/usage/api/address). Can
|
|
240
240
|
# be: `true` or `false` and the default is `false`.
|
|
241
241
|
# @param [Boolean] exclude_local_address_required Whether to exclude phone numbers
|
|
242
|
-
# that require a local [Address](https://www.twilio.com/docs/usage/api/
|
|
242
|
+
# that require a local [Address](https://www.twilio.com/docs/usage/api/address).
|
|
243
243
|
# Can be: `true` or `false` and the default is `false`.
|
|
244
244
|
# @param [Boolean] exclude_foreign_address_required Whether to exclude phone
|
|
245
245
|
# numbers that require a foreign
|
|
246
|
-
# [Address](https://www.twilio.com/docs/usage/api/
|
|
246
|
+
# [Address](https://www.twilio.com/docs/usage/api/address). Can be: `true` or
|
|
247
247
|
# `false` and the default is `false`.
|
|
248
248
|
# @param [Boolean] beta Whether to read phone numbers that are new to the Twilio
|
|
249
249
|
# platform. Can be: `true` or `false` and the default is `true`.
|
|
@@ -266,9 +266,9 @@ module Twilio
|
|
|
266
266
|
# a phone number search within the same rate center as that number. Requires
|
|
267
267
|
# `in_lata` to be set as well. Applies to only phone numbers in the US and Canada.
|
|
268
268
|
# @param [String] in_lata Limit results to a specific local access and transport
|
|
269
|
-
# area ([LATA](
|
|
269
|
+
# area ([LATA](https://en.wikipedia.org/wiki/Local_access_and_transport_area)).
|
|
270
270
|
# Given a phone number, search within the same
|
|
271
|
-
# [LATA](
|
|
271
|
+
# [LATA](https://en.wikipedia.org/wiki/Local_access_and_transport_area) as that
|
|
272
272
|
# number. Applies to only phone numbers in the US and Canada.
|
|
273
273
|
# @param [String] in_locality Limit results to a particular locality or city.
|
|
274
274
|
# Given a phone number, search within the same Locality as that number.
|
|
@@ -16,7 +16,7 @@ module Twilio
|
|
|
16
16
|
# Initialize the CallList
|
|
17
17
|
# @param [Version] version Version that contains the resource
|
|
18
18
|
# @param [String] account_sid The SID of the
|
|
19
|
-
# [Account](https://www.twilio.com/docs/api/
|
|
19
|
+
# [Account](https://www.twilio.com/docs/iam/api/account) that created this Call
|
|
20
20
|
# resource.
|
|
21
21
|
# @return [CallList] CallList
|
|
22
22
|
def initialize(version, account_sid: nil)
|
|
@@ -393,7 +393,7 @@ module Twilio
|
|
|
393
393
|
# Initialize the CallContext
|
|
394
394
|
# @param [Version] version Version that contains the resource
|
|
395
395
|
# @param [String] account_sid The SID of the
|
|
396
|
-
# [Account](https://www.twilio.com/docs/api/
|
|
396
|
+
# [Account](https://www.twilio.com/docs/iam/api/account) that created the Call
|
|
397
397
|
# resource(s) to fetch.
|
|
398
398
|
# @param [String] sid The Twilio-provided string that uniquely identifies the Call
|
|
399
399
|
# resource to fetch
|
|
@@ -559,7 +559,7 @@ module Twilio
|
|
|
559
559
|
# @param [Version] version Version that contains the resource
|
|
560
560
|
# @param [Hash] payload payload that contains response from Twilio
|
|
561
561
|
# @param [String] account_sid The SID of the
|
|
562
|
-
# [Account](https://www.twilio.com/docs/api/
|
|
562
|
+
# [Account](https://www.twilio.com/docs/iam/api/account) that created this Call
|
|
563
563
|
# resource.
|
|
564
564
|
# @param [String] sid The Twilio-provided string that uniquely identifies the Call
|
|
565
565
|
# resource to fetch
|
|
@@ -17,7 +17,7 @@ module Twilio
|
|
|
17
17
|
# Initialize the FeedbackList
|
|
18
18
|
# @param [Version] version Version that contains the resource
|
|
19
19
|
# @param [String] account_sid The unique id of the
|
|
20
|
-
# [Account](https://www.twilio.com/docs/api/
|
|
20
|
+
# [Account](https://www.twilio.com/docs/iam/api/account) responsible for this
|
|
21
21
|
# resource.
|
|
22
22
|
# @param [String] call_sid The unique string that that we created to identify this
|
|
23
23
|
# Call resource.
|
|
@@ -75,7 +75,7 @@ module Twilio
|
|
|
75
75
|
# Initialize the FeedbackContext
|
|
76
76
|
# @param [Version] version Version that contains the resource
|
|
77
77
|
# @param [String] account_sid The unique id of the
|
|
78
|
-
# [Account](https://www.twilio.com/docs/api/
|
|
78
|
+
# [Account](https://www.twilio.com/docs/iam/api/account) responsible for this
|
|
79
79
|
# resource.
|
|
80
80
|
# @param [String] call_sid The call sid that uniquely identifies the call
|
|
81
81
|
# @return [FeedbackContext] FeedbackContext
|
|
@@ -189,7 +189,7 @@ module Twilio
|
|
|
189
189
|
# @param [Version] version Version that contains the resource
|
|
190
190
|
# @param [Hash] payload payload that contains response from Twilio
|
|
191
191
|
# @param [String] account_sid The unique id of the
|
|
192
|
-
# [Account](https://www.twilio.com/docs/api/
|
|
192
|
+
# [Account](https://www.twilio.com/docs/iam/api/account) responsible for this
|
|
193
193
|
# resource.
|
|
194
194
|
# @param [String] call_sid The unique string that that we created to identify this
|
|
195
195
|
# Call resource.
|
|
@@ -17,7 +17,7 @@ module Twilio
|
|
|
17
17
|
# Initialize the FeedbackSummaryList
|
|
18
18
|
# @param [Version] version Version that contains the resource
|
|
19
19
|
# @param [String] account_sid The SID of the
|
|
20
|
-
# [Account](https://www.twilio.com/docs/api/
|
|
20
|
+
# [Account](https://www.twilio.com/docs/iam/api/account) that created this Call
|
|
21
21
|
# resource.
|
|
22
22
|
# @return [FeedbackSummaryList] FeedbackSummaryList
|
|
23
23
|
def initialize(version, account_sid: nil)
|
|
@@ -102,7 +102,7 @@ module Twilio
|
|
|
102
102
|
# Initialize the FeedbackSummaryContext
|
|
103
103
|
# @param [Version] version Version that contains the resource
|
|
104
104
|
# @param [String] account_sid The unique id of the
|
|
105
|
-
# [Account](https://www.twilio.com/docs/api/
|
|
105
|
+
# [Account](https://www.twilio.com/docs/iam/api/account) responsible for this
|
|
106
106
|
# resource.
|
|
107
107
|
# @param [String] sid A 34 character string that uniquely identifies this
|
|
108
108
|
# resource.
|
|
@@ -163,7 +163,7 @@ module Twilio
|
|
|
163
163
|
# @param [Version] version Version that contains the resource
|
|
164
164
|
# @param [Hash] payload payload that contains response from Twilio
|
|
165
165
|
# @param [String] account_sid The SID of the
|
|
166
|
-
# [Account](https://www.twilio.com/docs/api/
|
|
166
|
+
# [Account](https://www.twilio.com/docs/iam/api/account) that created this Call
|
|
167
167
|
# resource.
|
|
168
168
|
# @param [String] sid A 34 character string that uniquely identifies this
|
|
169
169
|
# resource.
|
|
@@ -17,10 +17,10 @@ module Twilio
|
|
|
17
17
|
# Initialize the NotificationList
|
|
18
18
|
# @param [Version] version Version that contains the resource
|
|
19
19
|
# @param [String] account_sid The SID of the
|
|
20
|
-
# [Account](https://www.twilio.com/docs/api/
|
|
20
|
+
# [Account](https://www.twilio.com/docs/iam/api/account) that created the Call
|
|
21
21
|
# Notification resource.
|
|
22
22
|
# @param [String] call_sid The SID of the
|
|
23
|
-
# [Call](https://www.twilio.com/docs/api/
|
|
23
|
+
# [Call](https://www.twilio.com/docs/voice/api/call) the Call Notification
|
|
24
24
|
# resource is associated with.
|
|
25
25
|
# @return [NotificationList] NotificationList
|
|
26
26
|
def initialize(version, account_sid: nil, call_sid: nil)
|
|
@@ -194,9 +194,9 @@ module Twilio
|
|
|
194
194
|
# Initialize the NotificationContext
|
|
195
195
|
# @param [Version] version Version that contains the resource
|
|
196
196
|
# @param [String] account_sid The SID of the
|
|
197
|
-
# [Account](https://www.twilio.com/docs/api/
|
|
197
|
+
# [Account](https://www.twilio.com/docs/iam/api/account) that created the Call
|
|
198
198
|
# Notification resource to fetch.
|
|
199
|
-
# @param [String] call_sid The [Call](https://www.twilio.com/docs/api/
|
|
199
|
+
# @param [String] call_sid The [Call](https://www.twilio.com/docs/voice/api/call)
|
|
200
200
|
# SID of the Call Notification resource to fetch.
|
|
201
201
|
# @param [String] sid The Twilio-provided string that uniquely identifies the Call
|
|
202
202
|
# Notification resource to fetch.
|
|
@@ -258,10 +258,10 @@ module Twilio
|
|
|
258
258
|
# @param [Version] version Version that contains the resource
|
|
259
259
|
# @param [Hash] payload payload that contains response from Twilio
|
|
260
260
|
# @param [String] account_sid The SID of the
|
|
261
|
-
# [Account](https://www.twilio.com/docs/api/
|
|
261
|
+
# [Account](https://www.twilio.com/docs/iam/api/account) that created the Call
|
|
262
262
|
# Notification resource.
|
|
263
263
|
# @param [String] call_sid The SID of the
|
|
264
|
-
# [Call](https://www.twilio.com/docs/api/
|
|
264
|
+
# [Call](https://www.twilio.com/docs/voice/api/call) the Call Notification
|
|
265
265
|
# resource is associated with.
|
|
266
266
|
# @param [String] sid The Twilio-provided string that uniquely identifies the Call
|
|
267
267
|
# Notification resource to fetch.
|
|
@@ -17,10 +17,10 @@ module Twilio
|
|
|
17
17
|
# Initialize the RecordingList
|
|
18
18
|
# @param [Version] version Version that contains the resource
|
|
19
19
|
# @param [String] account_sid The SID of the
|
|
20
|
-
# [Account](https://www.twilio.com/docs/api/
|
|
20
|
+
# [Account](https://www.twilio.com/docs/iam/api/account) that created the
|
|
21
21
|
# Recording resource.
|
|
22
22
|
# @param [String] call_sid The SID of the
|
|
23
|
-
# [Call](https://www.twilio.com/docs/api/
|
|
23
|
+
# [Call](https://www.twilio.com/docs/voice/api/call) the Recording resource is
|
|
24
24
|
# associated with.
|
|
25
25
|
# @return [RecordingList] RecordingList
|
|
26
26
|
def initialize(version, account_sid: nil, call_sid: nil)
|
|
@@ -229,9 +229,9 @@ module Twilio
|
|
|
229
229
|
# Initialize the RecordingContext
|
|
230
230
|
# @param [Version] version Version that contains the resource
|
|
231
231
|
# @param [String] account_sid The SID of the
|
|
232
|
-
# [Account](https://www.twilio.com/docs/api/
|
|
232
|
+
# [Account](https://www.twilio.com/docs/iam/api/account) that created the
|
|
233
233
|
# Recording resource to fetch.
|
|
234
|
-
# @param [String] call_sid The [Call](https://www.twilio.com/docs/api/
|
|
234
|
+
# @param [String] call_sid The [Call](https://www.twilio.com/docs/voice/api/call)
|
|
235
235
|
# SID of the resource to fetch.
|
|
236
236
|
# @param [String] sid The Twilio-provided string that uniquely identifies the
|
|
237
237
|
# Recording resource to fetch.
|
|
@@ -321,10 +321,10 @@ module Twilio
|
|
|
321
321
|
# @param [Version] version Version that contains the resource
|
|
322
322
|
# @param [Hash] payload payload that contains response from Twilio
|
|
323
323
|
# @param [String] account_sid The SID of the
|
|
324
|
-
# [Account](https://www.twilio.com/docs/api/
|
|
324
|
+
# [Account](https://www.twilio.com/docs/iam/api/account) that created the
|
|
325
325
|
# Recording resource.
|
|
326
326
|
# @param [String] call_sid The SID of the
|
|
327
|
-
# [Call](https://www.twilio.com/docs/api/
|
|
327
|
+
# [Call](https://www.twilio.com/docs/voice/api/call) the Recording resource is
|
|
328
328
|
# associated with.
|
|
329
329
|
# @param [String] sid The Twilio-provided string that uniquely identifies the
|
|
330
330
|
# Recording resource to fetch.
|
|
@@ -16,7 +16,7 @@ module Twilio
|
|
|
16
16
|
# Initialize the ConferenceList
|
|
17
17
|
# @param [Version] version Version that contains the resource
|
|
18
18
|
# @param [String] account_sid The SID of the
|
|
19
|
-
# [Account](https://www.twilio.com/docs/api/
|
|
19
|
+
# [Account](https://www.twilio.com/docs/iam/api/account) that created this
|
|
20
20
|
# Conference resource.
|
|
21
21
|
# @return [ConferenceList] ConferenceList
|
|
22
22
|
def initialize(version, account_sid: nil)
|
|
@@ -209,7 +209,7 @@ module Twilio
|
|
|
209
209
|
# Initialize the ConferenceContext
|
|
210
210
|
# @param [Version] version Version that contains the resource
|
|
211
211
|
# @param [String] account_sid The SID of the
|
|
212
|
-
# [Account](https://www.twilio.com/docs/api/
|
|
212
|
+
# [Account](https://www.twilio.com/docs/iam/api/account) that created the
|
|
213
213
|
# Conference resource(s) to fetch.
|
|
214
214
|
# @param [String] sid The Twilio-provided string that uniquely identifies the
|
|
215
215
|
# Conference resource to fetch
|
|
@@ -343,7 +343,7 @@ module Twilio
|
|
|
343
343
|
# @param [Version] version Version that contains the resource
|
|
344
344
|
# @param [Hash] payload payload that contains response from Twilio
|
|
345
345
|
# @param [String] account_sid The SID of the
|
|
346
|
-
# [Account](https://www.twilio.com/docs/api/
|
|
346
|
+
# [Account](https://www.twilio.com/docs/iam/api/account) that created this
|
|
347
347
|
# Conference resource.
|
|
348
348
|
# @param [String] sid The Twilio-provided string that uniquely identifies the
|
|
349
349
|
# Conference resource to fetch
|
|
@@ -17,7 +17,7 @@ module Twilio
|
|
|
17
17
|
# Initialize the ParticipantList
|
|
18
18
|
# @param [Version] version Version that contains the resource
|
|
19
19
|
# @param [String] account_sid The SID of the
|
|
20
|
-
# [Account](https://www.twilio.com/docs/api/
|
|
20
|
+
# [Account](https://www.twilio.com/docs/iam/api/account) that created the
|
|
21
21
|
# Participant resource.
|
|
22
22
|
# @param [String] conference_sid The SID of the conference the participant is in.
|
|
23
23
|
# @return [ParticipantList] ParticipantList
|
|
@@ -333,11 +333,11 @@ module Twilio
|
|
|
333
333
|
# Initialize the ParticipantContext
|
|
334
334
|
# @param [Version] version Version that contains the resource
|
|
335
335
|
# @param [String] account_sid The SID of the
|
|
336
|
-
# [Account](https://www.twilio.com/docs/api/
|
|
336
|
+
# [Account](https://www.twilio.com/docs/iam/api/account) that created the
|
|
337
337
|
# Participant resource to fetch.
|
|
338
338
|
# @param [String] conference_sid The SID of the conference with the participant to
|
|
339
339
|
# fetch.
|
|
340
|
-
# @param [String] call_sid The [Call](https://www.twilio.com/docs/api/
|
|
340
|
+
# @param [String] call_sid The [Call](https://www.twilio.com/docs/voice/api/call)
|
|
341
341
|
# SID of the resource to fetch.
|
|
342
342
|
# @return [ParticipantContext] ParticipantContext
|
|
343
343
|
def initialize(version, account_sid, conference_sid, call_sid)
|
|
@@ -465,10 +465,10 @@ module Twilio
|
|
|
465
465
|
# @param [Version] version Version that contains the resource
|
|
466
466
|
# @param [Hash] payload payload that contains response from Twilio
|
|
467
467
|
# @param [String] account_sid The SID of the
|
|
468
|
-
# [Account](https://www.twilio.com/docs/api/
|
|
468
|
+
# [Account](https://www.twilio.com/docs/iam/api/account) that created the
|
|
469
469
|
# Participant resource.
|
|
470
470
|
# @param [String] conference_sid The SID of the conference the participant is in.
|
|
471
|
-
# @param [String] call_sid The [Call](https://www.twilio.com/docs/api/
|
|
471
|
+
# @param [String] call_sid The [Call](https://www.twilio.com/docs/voice/api/call)
|
|
472
472
|
# SID of the resource to fetch.
|
|
473
473
|
# @return [ParticipantInstance] ParticipantInstance
|
|
474
474
|
def initialize(version, payload, account_sid: nil, conference_sid: nil, call_sid: nil)
|
|
@@ -17,7 +17,7 @@ module Twilio
|
|
|
17
17
|
# Initialize the RecordingList
|
|
18
18
|
# @param [Version] version Version that contains the resource
|
|
19
19
|
# @param [String] account_sid The SID of the
|
|
20
|
-
# [Account](https://www.twilio.com/docs/api/
|
|
20
|
+
# [Account](https://www.twilio.com/docs/iam/api/account) that created the
|
|
21
21
|
# Conference Recording resource.
|
|
22
22
|
# @param [String] conference_sid The Conference SID that identifies the conference
|
|
23
23
|
# associated with the recording.
|
|
@@ -181,7 +181,7 @@ module Twilio
|
|
|
181
181
|
# Initialize the RecordingContext
|
|
182
182
|
# @param [Version] version Version that contains the resource
|
|
183
183
|
# @param [String] account_sid The SID of the
|
|
184
|
-
# [Account](https://www.twilio.com/docs/api/
|
|
184
|
+
# [Account](https://www.twilio.com/docs/iam/api/account) that created the
|
|
185
185
|
# Conference Recording resource to fetch.
|
|
186
186
|
# @param [String] conference_sid The Conference SID that identifies the conference
|
|
187
187
|
# associated with the recording to fetch.
|
|
@@ -273,7 +273,7 @@ module Twilio
|
|
|
273
273
|
# @param [Version] version Version that contains the resource
|
|
274
274
|
# @param [Hash] payload payload that contains response from Twilio
|
|
275
275
|
# @param [String] account_sid The SID of the
|
|
276
|
-
# [Account](https://www.twilio.com/docs/api/
|
|
276
|
+
# [Account](https://www.twilio.com/docs/iam/api/account) that created the
|
|
277
277
|
# Conference Recording resource.
|
|
278
278
|
# @param [String] conference_sid The Conference SID that identifies the conference
|
|
279
279
|
# associated with the recording.
|