twilio-ruby 5.9.0 → 5.10.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (112) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGES.md +12 -0
  3. data/README.md +2 -2
  4. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/local.rb +36 -24
  5. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/mobile.rb +34 -25
  6. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number/toll_free.rb +30 -21
  7. data/lib/twilio-ruby/rest/api/v2010/account/available_phone_number.rb +1 -1
  8. data/lib/twilio-ruby/rest/api/v2010/account/call/feedback.rb +10 -4
  9. data/lib/twilio-ruby/rest/api/v2010/account/conference/participant.rb +2 -2
  10. data/lib/twilio-ruby/rest/api/v2010/account/key.rb +2 -4
  11. data/lib/twilio-ruby/rest/api/v2010/account/message/feedback.rb +1 -1
  12. data/lib/twilio-ruby/rest/api/v2010/account/message.rb +6 -4
  13. data/lib/twilio-ruby/rest/api/v2010/account/new_key.rb +6 -7
  14. data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result/payload.rb +1 -1
  15. data/lib/twilio-ruby/rest/api/v2010/account/recording/add_on_result.rb +1 -1
  16. data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list/credential.rb +12 -4
  17. data/lib/twilio-ruby/rest/api/v2010/account/sip/credential_list.rb +11 -6
  18. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/credential_list_mapping.rb +10 -8
  19. data/lib/twilio-ruby/rest/api/v2010/account/sip/domain/ip_access_control_list_mapping.rb +10 -8
  20. data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list/ip_address.rb +11 -9
  21. data/lib/twilio-ruby/rest/api/v2010/account/sip/ip_access_control_list.rb +0 -1
  22. data/lib/twilio-ruby/rest/api/v2010/account/sip.rb +2 -1
  23. data/lib/twilio-ruby/rest/api/v2010/account/usage/record/last_month.rb +9 -6
  24. data/lib/twilio-ruby/rest/api/v2010/account/usage/record.rb +9 -3
  25. data/lib/twilio-ruby/rest/api/v2010/account.rb +13 -9
  26. data/lib/twilio-ruby/rest/chat/v1/credential.rb +42 -24
  27. data/lib/twilio-ruby/rest/chat/v1/service/channel/invite.rb +38 -18
  28. data/lib/twilio-ruby/rest/chat/v1/service/channel/member.rb +60 -24
  29. data/lib/twilio-ruby/rest/chat/v1/service/channel/message.rb +28 -18
  30. data/lib/twilio-ruby/rest/chat/v1/service/channel.rb +33 -24
  31. data/lib/twilio-ruby/rest/chat/v1/service/role.rb +26 -16
  32. data/lib/twilio-ruby/rest/chat/v1/service/user/user_channel.rb +4 -2
  33. data/lib/twilio-ruby/rest/chat/v1/service/user.rb +43 -24
  34. data/lib/twilio-ruby/rest/chat/v1/service.rb +74 -44
  35. data/lib/twilio-ruby/rest/chat/v2/credential.rb +61 -27
  36. data/lib/twilio-ruby/rest/chat/v2/service/channel/invite.rb +41 -18
  37. data/lib/twilio-ruby/rest/chat/v2/service/channel/member.rb +43 -25
  38. data/lib/twilio-ruby/rest/chat/v2/service/channel/message.rb +76 -37
  39. data/lib/twilio-ruby/rest/chat/v2/service/channel/webhook.rb +432 -0
  40. data/lib/twilio-ruby/rest/chat/v2/service/channel.rb +90 -35
  41. data/lib/twilio-ruby/rest/chat/v2/service/role.rb +23 -16
  42. data/lib/twilio-ruby/rest/chat/v2/service/user/user_channel.rb +4 -2
  43. data/lib/twilio-ruby/rest/chat/v2/service/user.rb +43 -25
  44. data/lib/twilio-ruby/rest/chat/v2/service.rb +93 -53
  45. data/lib/twilio-ruby/rest/chat.rb +4 -2
  46. data/lib/twilio-ruby/rest/ip_messaging/v1/credential.rb +42 -24
  47. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/invite.rb +38 -18
  48. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/member.rb +60 -24
  49. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel/message.rb +28 -18
  50. data/lib/twilio-ruby/rest/ip_messaging/v1/service/channel.rb +33 -24
  51. data/lib/twilio-ruby/rest/ip_messaging/v1/service/role.rb +26 -16
  52. data/lib/twilio-ruby/rest/ip_messaging/v1/service/user/user_channel.rb +4 -2
  53. data/lib/twilio-ruby/rest/ip_messaging/v1/service/user.rb +43 -24
  54. data/lib/twilio-ruby/rest/ip_messaging/v1/service.rb +74 -44
  55. data/lib/twilio-ruby/rest/ip_messaging/v2/credential.rb +61 -27
  56. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/invite.rb +41 -18
  57. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/member.rb +43 -25
  58. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/message.rb +76 -37
  59. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel/webhook.rb +432 -0
  60. data/lib/twilio-ruby/rest/ip_messaging/v2/service/channel.rb +90 -35
  61. data/lib/twilio-ruby/rest/ip_messaging/v2/service/role.rb +23 -16
  62. data/lib/twilio-ruby/rest/ip_messaging/v2/service/user/user_channel.rb +4 -2
  63. data/lib/twilio-ruby/rest/ip_messaging/v2/service/user.rb +43 -25
  64. data/lib/twilio-ruby/rest/ip_messaging/v2/service.rb +93 -53
  65. data/lib/twilio-ruby/rest/ip_messaging.rb +4 -2
  66. data/lib/twilio-ruby/rest/messaging/v1/service/short_code.rb +12 -11
  67. data/lib/twilio-ruby/rest/monitor/v1/event.rb +11 -11
  68. data/lib/twilio-ruby/rest/monitor.rb +1 -1
  69. data/lib/twilio-ruby/rest/notify/v1/credential.rb +47 -22
  70. data/lib/twilio-ruby/rest/notify/v1/service/binding.rb +59 -26
  71. data/lib/twilio-ruby/rest/notify/v1/service/notification.rb +104 -29
  72. data/lib/twilio-ruby/rest/notify/v1/service.rb +86 -48
  73. data/lib/twilio-ruby/rest/preview/hosted_numbers/authorization_document.rb +2 -2
  74. data/lib/twilio-ruby/rest/preview/marketplace.rb +13 -13
  75. data/lib/twilio-ruby/rest/preview/understand/assistant/field_type/field_value.rb +22 -16
  76. data/lib/twilio-ruby/rest/preview/understand/assistant/field_type.rb +21 -15
  77. data/lib/twilio-ruby/rest/preview/understand/assistant/intent/field.rb +17 -14
  78. data/lib/twilio-ruby/rest/preview/understand/assistant/intent/sample.rb +36 -25
  79. data/lib/twilio-ruby/rest/preview/understand/assistant/intent.rb +21 -15
  80. data/lib/twilio-ruby/rest/preview/understand/assistant/model_build.rb +19 -13
  81. data/lib/twilio-ruby/rest/preview/understand/assistant/query.rb +42 -28
  82. data/lib/twilio-ruby/rest/preview/understand/assistant.rb +39 -21
  83. data/lib/twilio-ruby/rest/preview.rb +10 -9
  84. data/lib/twilio-ruby/rest/pricing/v1/messaging/country.rb +5 -5
  85. data/lib/twilio-ruby/rest/pricing/v1/phone_number/country.rb +4 -4
  86. data/lib/twilio-ruby/rest/pricing/v1/voice/country.rb +3 -3
  87. data/lib/twilio-ruby/rest/pricing/v1/voice/number.rb +5 -5
  88. data/lib/twilio-ruby/rest/sync/v1/service/document.rb +12 -13
  89. data/lib/twilio-ruby/rest/sync/v1/service/sync_list/sync_list_item.rb +28 -22
  90. data/lib/twilio-ruby/rest/sync/v1/service/sync_list.rb +7 -5
  91. data/lib/twilio-ruby/rest/sync/v1/service/sync_map/sync_map_item.rb +31 -14
  92. data/lib/twilio-ruby/rest/sync/v1/service/sync_map.rb +3 -3
  93. data/lib/twilio-ruby/rest/sync/v1/service/sync_stream.rb +2 -2
  94. data/lib/twilio-ruby/rest/sync/v1/service.rb +24 -27
  95. data/lib/twilio-ruby/rest/video/v1/composition.rb +1 -1
  96. data/lib/twilio-ruby/rest/video/v1/recording.rb +45 -31
  97. data/lib/twilio-ruby/rest/video/v1/room/recording.rb +1 -1
  98. data/lib/twilio-ruby/rest/video/v1/room/room_participant.rb +18 -6
  99. data/lib/twilio-ruby/rest/video/v1.rb +13 -12
  100. data/lib/twilio-ruby/rest/video.rb +9 -8
  101. data/lib/twilio-ruby/rest/wireless/v1/command.rb +43 -33
  102. data/lib/twilio-ruby/rest/wireless/v1/rate_plan.rb +48 -35
  103. data/lib/twilio-ruby/rest/wireless/v1/sim/data_session.rb +21 -23
  104. data/lib/twilio-ruby/rest/wireless/v1/sim/usage_record.rb +32 -22
  105. data/lib/twilio-ruby/rest/wireless/v1/sim.rb +121 -70
  106. data/lib/twilio-ruby/rest/wireless.rb +6 -3
  107. data/lib/twilio-ruby/version.rb +1 -1
  108. data/spec/integration/chat/v2/service/channel/webhook_spec.rb +307 -0
  109. data/spec/integration/chat/v2/service/channel_spec.rb +4 -0
  110. data/spec/integration/ip_messaging/v2/service/channel/webhook_spec.rb +307 -0
  111. data/spec/integration/ip_messaging/v2/service/channel_spec.rb +4 -0
  112. metadata +9 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d2668bc72407cd9d9b495cfe2069b7110738f9c6
4
- data.tar.gz: 100681bc6b203cf585b33d84c19830c0693ceb27
3
+ metadata.gz: 843223e6f0d1c7a92a7ab13f3930e0386ebd6f15
4
+ data.tar.gz: ebfc1d58258f67bf87f2995815ad0f2ab3bb6bb1
5
5
  SHA512:
6
- metadata.gz: 41bc8928fafdfe7c496226129c0e55eaf7892218e8ed151855fe79a3806c801ceb0d65aaed962eac66726b2954faaa2720647df7c07af4770e4e629df03f1c99
7
- data.tar.gz: 9918116537ce84d427d456bd3d6ce3981675500650541df719addb30a7a526438694e27ce4c0c6a492d2f82c3b16988f63aca9623e5bd7e5c8571d5534b58d8b
6
+ metadata.gz: 80907a343296c2717b10f7fcc173560709c21670eee7b2d7d684c0114540b02ba5b35e569a27de5fd33441c16be81f15e0396739a36a1056d683fa5270e77c98
7
+ data.tar.gz: 4a1d1f4c0989dc6f48c26fd7ac5fec9c9da4dae4e6546a2ccbd4380945c284c34fe89c00bcc4e579211979af24589fbe4f72d2c3f3ea3a5ae75759284eb919d7
data/CHANGES.md CHANGED
@@ -1,6 +1,18 @@
1
1
  twilio-ruby changelog
2
2
  =====================
3
3
 
4
+ [2018-05-11] Version 5.10.0
5
+ ----------------------------
6
+ **Chat**
7
+ - Add Channel Webhooks resource
8
+
9
+ **Monitor**
10
+ - Update event filtering to support date/time **(breaking change)**
11
+
12
+ **Wireless**
13
+ - Updated `maturity` to `ga` for all wireless apis
14
+
15
+
4
16
  [2018-04-27] Version 5.9.0
5
17
  ---------------------------
6
18
  **Library**
data/README.md CHANGED
@@ -27,13 +27,13 @@ in-line code documentation here in the library.
27
27
  To install using [Bundler][bundler] grab the latest stable version:
28
28
 
29
29
  ```ruby
30
- gem 'twilio-ruby', '~> 5.9.0'
30
+ gem 'twilio-ruby', '~> 5.10.0'
31
31
  ```
32
32
 
33
33
  To manually install `twilio-ruby` via [Rubygems][rubygems] simply gem install:
34
34
 
35
35
  ```bash
36
- gem install twilio-ruby -v 5.9.0
36
+ gem install twilio-ruby -v 5.10.0
37
37
  ```
38
38
 
39
39
  To build and install the development branch yourself from the latest source:
@@ -62,27 +62,31 @@ module Twilio
62
62
  # @param [Boolean] beta Include phone numbers new to the Twilio platform. Possible
63
63
  # values are either `true` or `false`. Default is `true`.
64
64
  # @param [String] near_number Given a phone number, find a geographically close
65
- # number within `Distance` miles. Distance defaults to 25 miles.
65
+ # number within `Distance` miles. Distance defaults to 25 miles. *Limited to US
66
+ # and Canadian phone numbers.*
66
67
  # @param [String] near_lat_long Given a latitude/longitude pair `lat,long` find
67
- # geographically close numbers within `Distance` miles.
68
+ # geographically close numbers within `Distance` miles. *Limited to US and
69
+ # Canadian phone numbers.*
68
70
  # @param [String] distance Specifies the search radius for a `Near-` query in
69
71
  # miles. If not specified this defaults to 25 miles. Maximum searchable distance
70
- # is 500 miles.
72
+ # is 500 miles. *Limited to US and Canadian phone numbers.*
71
73
  # @param [String] in_postal_code Limit results to a particular postal code. Given
72
- # a phone number, search within the same postal code as that number.
74
+ # a phone number, search within the same postal code as that number. *Limited to
75
+ # US and Canadian phone numbers.*
73
76
  # @param [String] in_region Limit results to a particular region (i.e.
74
77
  # State/Province). Given a phone number, search within the same Region as that
75
- # number.
78
+ # number. *Limited to US and Canadian phone numbers.*
76
79
  # @param [String] in_rate_center Limit results to a specific rate center, or given
77
80
  # a phone number search within the same rate center as that number. Requires
78
- # InLata to be set as well.
81
+ # InLata to be set as well. *Limited to US and Canadian phone numbers.*
79
82
  # @param [String] in_lata Limit results to a specific Local access and transport
80
83
  # area ([LATA](http://en.wikipedia.org/wiki/Local_access_and_transport_area)).
81
84
  # Given a phone number, search within the same
82
85
  # [LATA](http://en.wikipedia.org/wiki/Local_access_and_transport_area) as that
83
- # number.
86
+ # number. *Limited to US and Canadian phone numbers.*
84
87
  # @param [String] in_locality Limit results to a particular locality (i.e. City).
85
- # Given a phone number, search within the same Locality as that number.
88
+ # Given a phone number, search within the same Locality as that number. *Limited
89
+ # to US and Canadian phone numbers.*
86
90
  # @param [Boolean] fax_enabled This indicates whether the phone numbers can
87
91
  # receive faxes. Possible values are `true` or `false`.
88
92
  # @param [Integer] limit Upper limit for the number of records to return. stream()
@@ -151,27 +155,31 @@ module Twilio
151
155
  # @param [Boolean] beta Include phone numbers new to the Twilio platform. Possible
152
156
  # values are either `true` or `false`. Default is `true`.
153
157
  # @param [String] near_number Given a phone number, find a geographically close
154
- # number within `Distance` miles. Distance defaults to 25 miles.
158
+ # number within `Distance` miles. Distance defaults to 25 miles. *Limited to US
159
+ # and Canadian phone numbers.*
155
160
  # @param [String] near_lat_long Given a latitude/longitude pair `lat,long` find
156
- # geographically close numbers within `Distance` miles.
161
+ # geographically close numbers within `Distance` miles. *Limited to US and
162
+ # Canadian phone numbers.*
157
163
  # @param [String] distance Specifies the search radius for a `Near-` query in
158
164
  # miles. If not specified this defaults to 25 miles. Maximum searchable distance
159
- # is 500 miles.
165
+ # is 500 miles. *Limited to US and Canadian phone numbers.*
160
166
  # @param [String] in_postal_code Limit results to a particular postal code. Given
161
- # a phone number, search within the same postal code as that number.
167
+ # a phone number, search within the same postal code as that number. *Limited to
168
+ # US and Canadian phone numbers.*
162
169
  # @param [String] in_region Limit results to a particular region (i.e.
163
170
  # State/Province). Given a phone number, search within the same Region as that
164
- # number.
171
+ # number. *Limited to US and Canadian phone numbers.*
165
172
  # @param [String] in_rate_center Limit results to a specific rate center, or given
166
173
  # a phone number search within the same rate center as that number. Requires
167
- # InLata to be set as well.
174
+ # InLata to be set as well. *Limited to US and Canadian phone numbers.*
168
175
  # @param [String] in_lata Limit results to a specific Local access and transport
169
176
  # area ([LATA](http://en.wikipedia.org/wiki/Local_access_and_transport_area)).
170
177
  # Given a phone number, search within the same
171
178
  # [LATA](http://en.wikipedia.org/wiki/Local_access_and_transport_area) as that
172
- # number.
179
+ # number. *Limited to US and Canadian phone numbers.*
173
180
  # @param [String] in_locality Limit results to a particular locality (i.e. City).
174
- # Given a phone number, search within the same Locality as that number.
181
+ # Given a phone number, search within the same Locality as that number. *Limited
182
+ # to US and Canadian phone numbers.*
175
183
  # @param [Boolean] fax_enabled This indicates whether the phone numbers can
176
184
  # receive faxes. Possible values are `true` or `false`.
177
185
  # @param [Integer] limit Upper limit for the number of records to return. stream()
@@ -256,27 +264,31 @@ module Twilio
256
264
  # @param [Boolean] beta Include phone numbers new to the Twilio platform. Possible
257
265
  # values are either `true` or `false`. Default is `true`.
258
266
  # @param [String] near_number Given a phone number, find a geographically close
259
- # number within `Distance` miles. Distance defaults to 25 miles.
267
+ # number within `Distance` miles. Distance defaults to 25 miles. *Limited to US
268
+ # and Canadian phone numbers.*
260
269
  # @param [String] near_lat_long Given a latitude/longitude pair `lat,long` find
261
- # geographically close numbers within `Distance` miles.
270
+ # geographically close numbers within `Distance` miles. *Limited to US and
271
+ # Canadian phone numbers.*
262
272
  # @param [String] distance Specifies the search radius for a `Near-` query in
263
273
  # miles. If not specified this defaults to 25 miles. Maximum searchable distance
264
- # is 500 miles.
274
+ # is 500 miles. *Limited to US and Canadian phone numbers.*
265
275
  # @param [String] in_postal_code Limit results to a particular postal code. Given
266
- # a phone number, search within the same postal code as that number.
276
+ # a phone number, search within the same postal code as that number. *Limited to
277
+ # US and Canadian phone numbers.*
267
278
  # @param [String] in_region Limit results to a particular region (i.e.
268
279
  # State/Province). Given a phone number, search within the same Region as that
269
- # number.
280
+ # number. *Limited to US and Canadian phone numbers.*
270
281
  # @param [String] in_rate_center Limit results to a specific rate center, or given
271
282
  # a phone number search within the same rate center as that number. Requires
272
- # InLata to be set as well.
283
+ # InLata to be set as well. *Limited to US and Canadian phone numbers.*
273
284
  # @param [String] in_lata Limit results to a specific Local access and transport
274
285
  # area ([LATA](http://en.wikipedia.org/wiki/Local_access_and_transport_area)).
275
286
  # Given a phone number, search within the same
276
287
  # [LATA](http://en.wikipedia.org/wiki/Local_access_and_transport_area) as that
277
- # number.
288
+ # number. *Limited to US and Canadian phone numbers.*
278
289
  # @param [String] in_locality Limit results to a particular locality (i.e. City).
279
- # Given a phone number, search within the same Locality as that number.
290
+ # Given a phone number, search within the same Locality as that number. *Limited
291
+ # to US and Canadian phone numbers.*
280
292
  # @param [Boolean] fax_enabled This indicates whether the phone numbers can
281
293
  # receive faxes. Possible values are `true` or `false`.
282
294
  # @param [String] page_token PageToken provided by the API
@@ -62,25 +62,28 @@ module Twilio
62
62
  # @param [Boolean] beta Include phone numbers new to the Twilio platform. Possible
63
63
  # values are either `true` or `false`. Default is `true`.
64
64
  # @param [String] near_number Given a phone number, find a geographically close
65
- # number within `Distance` miles. Distance defaults to 25 miles.
65
+ # number within `Distance` miles. Distance defaults to 25 miles. *Limited to US
66
+ # and Canadian phone numbers.*
66
67
  # @param [String] near_lat_long Given a latitude/longitude pair `lat,long` find
67
- # geographically close numbers within `Distance` miles.
68
+ # geographically close numbers within `Distance` miles. *Limited to US and
69
+ # Canadian phone numbers.*
68
70
  # @param [String] distance Specifies the search radius for a `Near-` query in
69
71
  # miles. If not specified this defaults to 25 miles. Maximum searchable distance
70
- # is 500 miles.
72
+ # is 500 miles. *Limited to US and Canadian phone numbers.*
71
73
  # @param [String] in_postal_code Limit results to a particular postal code. Given
72
- # a phone number, search within the same postal code as that number.
73
- # @param [String] in_region Limit results to a particular region (i.e.
74
+ # a phone number, search within the same postal code as that number. *Limited to
75
+ # US and Canadian phone numbers.*
76
+ # @param [String] in_region Limit results to a particular region (i.e.
74
77
  # State/Province). Given a phone number, search within the same Region as that
75
- # number.
78
+ # number. *Limited to US and Canadian phone numbers.*
76
79
  # @param [String] in_rate_center Limit results to a specific rate center, or given
77
80
  # a phone number search within the same rate center as that number. Requires
78
- # InLata to be set as well.
81
+ # InLata to be set as well. *Limited to US and Canadian phone numbers.*
79
82
  # @param [String] in_lata Limit results to a specific Local access and transport
80
83
  # area ([LATA](http://en.wikipedia.org/wiki/Local_access_and_transport_area)).
81
84
  # Given a phone number, search within the same
82
85
  # [LATA](http://en.wikipedia.org/wiki/Local_access_and_transport_area) as that
83
- # number.
86
+ # number. *Limited to US and Canadian phone numbers.*
84
87
  # @param [String] in_locality Limit results to a particular locality (i.e. City).
85
88
  # Given a phone number, search within the same Locality as that number.
86
89
  # @param [Boolean] fax_enabled This indicates whether the phone numbers can
@@ -151,25 +154,28 @@ module Twilio
151
154
  # @param [Boolean] beta Include phone numbers new to the Twilio platform. Possible
152
155
  # values are either `true` or `false`. Default is `true`.
153
156
  # @param [String] near_number Given a phone number, find a geographically close
154
- # number within `Distance` miles. Distance defaults to 25 miles.
157
+ # number within `Distance` miles. Distance defaults to 25 miles. *Limited to US
158
+ # and Canadian phone numbers.*
155
159
  # @param [String] near_lat_long Given a latitude/longitude pair `lat,long` find
156
- # geographically close numbers within `Distance` miles.
160
+ # geographically close numbers within `Distance` miles. *Limited to US and
161
+ # Canadian phone numbers.*
157
162
  # @param [String] distance Specifies the search radius for a `Near-` query in
158
163
  # miles. If not specified this defaults to 25 miles. Maximum searchable distance
159
- # is 500 miles.
164
+ # is 500 miles. *Limited to US and Canadian phone numbers.*
160
165
  # @param [String] in_postal_code Limit results to a particular postal code. Given
161
- # a phone number, search within the same postal code as that number.
162
- # @param [String] in_region Limit results to a particular region (i.e.
166
+ # a phone number, search within the same postal code as that number. *Limited to
167
+ # US and Canadian phone numbers.*
168
+ # @param [String] in_region Limit results to a particular region (i.e.
163
169
  # State/Province). Given a phone number, search within the same Region as that
164
- # number.
170
+ # number. *Limited to US and Canadian phone numbers.*
165
171
  # @param [String] in_rate_center Limit results to a specific rate center, or given
166
172
  # a phone number search within the same rate center as that number. Requires
167
- # InLata to be set as well.
173
+ # InLata to be set as well. *Limited to US and Canadian phone numbers.*
168
174
  # @param [String] in_lata Limit results to a specific Local access and transport
169
175
  # area ([LATA](http://en.wikipedia.org/wiki/Local_access_and_transport_area)).
170
176
  # Given a phone number, search within the same
171
177
  # [LATA](http://en.wikipedia.org/wiki/Local_access_and_transport_area) as that
172
- # number.
178
+ # number. *Limited to US and Canadian phone numbers.*
173
179
  # @param [String] in_locality Limit results to a particular locality (i.e. City).
174
180
  # Given a phone number, search within the same Locality as that number.
175
181
  # @param [Boolean] fax_enabled This indicates whether the phone numbers can
@@ -256,25 +262,28 @@ module Twilio
256
262
  # @param [Boolean] beta Include phone numbers new to the Twilio platform. Possible
257
263
  # values are either `true` or `false`. Default is `true`.
258
264
  # @param [String] near_number Given a phone number, find a geographically close
259
- # number within `Distance` miles. Distance defaults to 25 miles.
265
+ # number within `Distance` miles. Distance defaults to 25 miles. *Limited to US
266
+ # and Canadian phone numbers.*
260
267
  # @param [String] near_lat_long Given a latitude/longitude pair `lat,long` find
261
- # geographically close numbers within `Distance` miles.
268
+ # geographically close numbers within `Distance` miles. *Limited to US and
269
+ # Canadian phone numbers.*
262
270
  # @param [String] distance Specifies the search radius for a `Near-` query in
263
271
  # miles. If not specified this defaults to 25 miles. Maximum searchable distance
264
- # is 500 miles.
272
+ # is 500 miles. *Limited to US and Canadian phone numbers.*
265
273
  # @param [String] in_postal_code Limit results to a particular postal code. Given
266
- # a phone number, search within the same postal code as that number.
267
- # @param [String] in_region Limit results to a particular region (i.e.
274
+ # a phone number, search within the same postal code as that number. *Limited to
275
+ # US and Canadian phone numbers.*
276
+ # @param [String] in_region Limit results to a particular region (i.e.
268
277
  # State/Province). Given a phone number, search within the same Region as that
269
- # number.
278
+ # number. *Limited to US and Canadian phone numbers.*
270
279
  # @param [String] in_rate_center Limit results to a specific rate center, or given
271
280
  # a phone number search within the same rate center as that number. Requires
272
- # InLata to be set as well.
281
+ # InLata to be set as well. *Limited to US and Canadian phone numbers.*
273
282
  # @param [String] in_lata Limit results to a specific Local access and transport
274
283
  # area ([LATA](http://en.wikipedia.org/wiki/Local_access_and_transport_area)).
275
284
  # Given a phone number, search within the same
276
285
  # [LATA](http://en.wikipedia.org/wiki/Local_access_and_transport_area) as that
277
- # number.
286
+ # number. *Limited to US and Canadian phone numbers.*
278
287
  # @param [String] in_locality Limit results to a particular locality (i.e. City).
279
288
  # Given a phone number, search within the same Locality as that number.
280
289
  # @param [Boolean] fax_enabled This indicates whether the phone numbers can
@@ -406,7 +415,7 @@ module Twilio
406
415
  end
407
416
 
408
417
  ##
409
- # @return [String] The phone number, in E.
418
+ # @return [String] The phone number, in E.164 format.
410
419
  def phone_number
411
420
  @properties['phone_number']
412
421
  end
@@ -62,25 +62,28 @@ module Twilio
62
62
  # @param [Boolean] beta Include phone numbers new to the Twilio platform. Possible
63
63
  # values are either `true` or `false`. Default is `true`.
64
64
  # @param [String] near_number Given a phone number, find a geographically close
65
- # number within `Distance` miles. Distance defaults to 25 miles.
65
+ # number within `Distance` miles. Distance defaults to 25 miles. *Limited to US
66
+ # and Canadian phone numbers.*
66
67
  # @param [String] near_lat_long Given a latitude/longitude pair `lat,long` find
67
- # geographically close numbers within `Distance` miles.
68
+ # geographically close numbers within `Distance` miles. *Limited to US and
69
+ # Canadian phone numbers.*
68
70
  # @param [String] distance Specifies the search radius for a `Near-` query in
69
71
  # miles. If not specified this defaults to 25 miles. Maximum searchable distance
70
- # is 500 miles.
72
+ # is 500 miles. *Limited to US and Canadian phone numbers.*
71
73
  # @param [String] in_postal_code Limit results to a particular postal code. Given
72
- # a phone number, search within the same postal code as that number.
74
+ # a phone number, search within the same postal code as that number. *Limited to
75
+ # US and Canadian phone numbers.*
73
76
  # @param [String] in_region Limit results to a particular region (i.e.
74
77
  # State/Province). Given a phone number, search within the same Region as that
75
- # number.
78
+ # number. *Limited to US and Canadian phone numbers.*
76
79
  # @param [String] in_rate_center Limit results to a specific rate center, or given
77
80
  # a phone number search within the same rate center as that number. Requires
78
- # InLata to be set as well.
81
+ # InLata to be set as well. *Limited to US and Canadian phone numbers.*
79
82
  # @param [String] in_lata Limit results to a specific Local access and transport
80
83
  # area ([LATA](http://en.wikipedia.org/wiki/Local_access_and_transport_area)).
81
84
  # Given a phone number, search within the same
82
85
  # [LATA](http://en.wikipedia.org/wiki/Local_access_and_transport_area) as that
83
- # number.
86
+ # number. *Limited to US and Canadian phone numbers.*
84
87
  # @param [String] in_locality Limit results to a particular locality (i.e. City).
85
88
  # Given a phone number, search within the same Locality as that number.
86
89
  # @param [Boolean] fax_enabled This indicates whether the phone numbers can
@@ -151,25 +154,28 @@ module Twilio
151
154
  # @param [Boolean] beta Include phone numbers new to the Twilio platform. Possible
152
155
  # values are either `true` or `false`. Default is `true`.
153
156
  # @param [String] near_number Given a phone number, find a geographically close
154
- # number within `Distance` miles. Distance defaults to 25 miles.
157
+ # number within `Distance` miles. Distance defaults to 25 miles. *Limited to US
158
+ # and Canadian phone numbers.*
155
159
  # @param [String] near_lat_long Given a latitude/longitude pair `lat,long` find
156
- # geographically close numbers within `Distance` miles.
160
+ # geographically close numbers within `Distance` miles. *Limited to US and
161
+ # Canadian phone numbers.*
157
162
  # @param [String] distance Specifies the search radius for a `Near-` query in
158
163
  # miles. If not specified this defaults to 25 miles. Maximum searchable distance
159
- # is 500 miles.
164
+ # is 500 miles. *Limited to US and Canadian phone numbers.*
160
165
  # @param [String] in_postal_code Limit results to a particular postal code. Given
161
- # a phone number, search within the same postal code as that number.
166
+ # a phone number, search within the same postal code as that number. *Limited to
167
+ # US and Canadian phone numbers.*
162
168
  # @param [String] in_region Limit results to a particular region (i.e.
163
169
  # State/Province). Given a phone number, search within the same Region as that
164
- # number.
170
+ # number. *Limited to US and Canadian phone numbers.*
165
171
  # @param [String] in_rate_center Limit results to a specific rate center, or given
166
172
  # a phone number search within the same rate center as that number. Requires
167
- # InLata to be set as well.
173
+ # InLata to be set as well. *Limited to US and Canadian phone numbers.*
168
174
  # @param [String] in_lata Limit results to a specific Local access and transport
169
175
  # area ([LATA](http://en.wikipedia.org/wiki/Local_access_and_transport_area)).
170
176
  # Given a phone number, search within the same
171
177
  # [LATA](http://en.wikipedia.org/wiki/Local_access_and_transport_area) as that
172
- # number.
178
+ # number. *Limited to US and Canadian phone numbers.*
173
179
  # @param [String] in_locality Limit results to a particular locality (i.e. City).
174
180
  # Given a phone number, search within the same Locality as that number.
175
181
  # @param [Boolean] fax_enabled This indicates whether the phone numbers can
@@ -256,25 +262,28 @@ module Twilio
256
262
  # @param [Boolean] beta Include phone numbers new to the Twilio platform. Possible
257
263
  # values are either `true` or `false`. Default is `true`.
258
264
  # @param [String] near_number Given a phone number, find a geographically close
259
- # number within `Distance` miles. Distance defaults to 25 miles.
265
+ # number within `Distance` miles. Distance defaults to 25 miles. *Limited to US
266
+ # and Canadian phone numbers.*
260
267
  # @param [String] near_lat_long Given a latitude/longitude pair `lat,long` find
261
- # geographically close numbers within `Distance` miles.
268
+ # geographically close numbers within `Distance` miles. *Limited to US and
269
+ # Canadian phone numbers.*
262
270
  # @param [String] distance Specifies the search radius for a `Near-` query in
263
271
  # miles. If not specified this defaults to 25 miles. Maximum searchable distance
264
- # is 500 miles.
272
+ # is 500 miles. *Limited to US and Canadian phone numbers.*
265
273
  # @param [String] in_postal_code Limit results to a particular postal code. Given
266
- # a phone number, search within the same postal code as that number.
274
+ # a phone number, search within the same postal code as that number. *Limited to
275
+ # US and Canadian phone numbers.*
267
276
  # @param [String] in_region Limit results to a particular region (i.e.
268
277
  # State/Province). Given a phone number, search within the same Region as that
269
- # number.
278
+ # number. *Limited to US and Canadian phone numbers.*
270
279
  # @param [String] in_rate_center Limit results to a specific rate center, or given
271
280
  # a phone number search within the same rate center as that number. Requires
272
- # InLata to be set as well.
281
+ # InLata to be set as well. *Limited to US and Canadian phone numbers.*
273
282
  # @param [String] in_lata Limit results to a specific Local access and transport
274
283
  # area ([LATA](http://en.wikipedia.org/wiki/Local_access_and_transport_area)).
275
284
  # Given a phone number, search within the same
276
285
  # [LATA](http://en.wikipedia.org/wiki/Local_access_and_transport_area) as that
277
- # number.
286
+ # number. *Limited to US and Canadian phone numbers.*
278
287
  # @param [String] in_locality Limit results to a particular locality (i.e. City).
279
288
  # Given a phone number, search within the same Locality as that number.
280
289
  # @param [Boolean] fax_enabled This indicates whether the phone numbers can
@@ -371,7 +371,7 @@ module Twilio
371
371
  end
372
372
 
373
373
  ##
374
- # @return [Boolean] The beta
374
+ # @return [Boolean] True if new to Twilio platform.
375
375
  def beta
376
376
  @properties['beta']
377
377
  end
@@ -86,8 +86,11 @@ module Twilio
86
86
  ##
87
87
  # Retrieve a single page of FeedbackInstance records from the API.
88
88
  # Request is executed immediately.
89
- # @param [String] quality_score The quality_score
90
- # @param [feedback.Issues] issue The issue
89
+ # @param [String] quality_score An integer `1` to `5` quality score where `1`
90
+ # represents very poor call quality and `5` represents a perfect call.
91
+ # @param [feedback.Issues] issue One or more issues experienced during the call.
92
+ # The issues can be: `imperfect-audio`, `dropped-call`, `incorrect-caller-id`,
93
+ # `post-dial-delay`, `digits-not-captured`, `audio-latency`, or `one-way-audio`.
91
94
  # @return [FeedbackInstance] Newly created FeedbackInstance
92
95
  def create(quality_score: nil, issue: :unset)
93
96
  data = Twilio::Values.of({
@@ -242,8 +245,11 @@ module Twilio
242
245
  ##
243
246
  # Retrieve a single page of FeedbackInstance records from the API.
244
247
  # Request is executed immediately.
245
- # @param [String] quality_score The quality_score
246
- # @param [feedback.Issues] issue The issue
248
+ # @param [String] quality_score An integer `1` to `5` quality score where `1`
249
+ # represents very poor call quality and `5` represents a perfect call.
250
+ # @param [feedback.Issues] issue One or more issues experienced during the call.
251
+ # The issues can be: `imperfect-audio`, `dropped-call`, `incorrect-caller-id`,
252
+ # `post-dial-delay`, `digits-not-captured`, `audio-latency`, or `one-way-audio`.
247
253
  # @return [FeedbackInstance] Newly created FeedbackInstance
248
254
  def create(quality_score: nil, issue: :unset)
249
255
  context.create(quality_score: quality_score, issue: issue, )
@@ -299,7 +299,7 @@ module Twilio
299
299
  # will un-hold.
300
300
  # @param [String] hold_url The 'HoldUrl' attribute lets you specify a URL for
301
301
  # music that plays when a participant is held. The URL may be an MP3, a WAV or a
302
- # TwiML document that uses <Play> <Say> or <Redirect>.
302
+ # TwiML document that uses `<Play>`, `<Say>` or `<Redirect>`.
303
303
  # @param [String] hold_method Specify GET or POST, defaults to GET
304
304
  # @param [String] announce_url The announce_url
305
305
  # @param [String] announce_method The announce_method
@@ -481,7 +481,7 @@ module Twilio
481
481
  # will un-hold.
482
482
  # @param [String] hold_url The 'HoldUrl' attribute lets you specify a URL for
483
483
  # music that plays when a participant is held. The URL may be an MP3, a WAV or a
484
- # TwiML document that uses &lt;Play&gt; &lt;Say&gt; or &lt;Redirect&gt;.
484
+ # TwiML document that uses `<Play>`, `<Say>` or `<Redirect>`.
485
485
  # @param [String] hold_method Specify GET or POST, defaults to GET
486
486
  # @param [String] announce_url The announce_url
487
487
  # @param [String] announce_method The announce_method