plivo 4.41.0 → 4.42.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/README.md +1 -1
- data/lib/plivo/resources/numbers.rb +8 -2
- data/lib/plivo/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7e80e8ca16eb8c91e39dcf495ffaeaaa57d2b7de
|
|
4
|
+
data.tar.gz: 9bc7a4286410725263d6bd12cf3ff919b36590e8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a2587df8a9d194c111c7586a8b030aa02f8e4a6cb33d2ebf0404b5a9245bb673a794e90f81c1acc31db4198dcd19abd3b3b517f3c69586308c466e614236fa07
|
|
7
|
+
data.tar.gz: 0dce892a4df04db97ed1956063060071b7084ebfac5254035392cb14a31bfa23d199b275538613ab065034c9aaa2bff70602c706f6ec00fc28d37377ad3df0b9
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## [4.42.0](https://github.com/plivo/plivo-ruby/tree/v4.42.0) (2023-05-04)
|
|
4
|
+
**Adding new attribute - 'renewalDate' in Get Number and List Number APIs**
|
|
5
|
+
- Add New Param `renewalDate` to the response of the [list all numbers API], [list single number API]
|
|
6
|
+
- Add 3 new filters to AccountPhoneNumber - list all my numbers API:`renewal_date`, `renewal_date__gt`, `renewal_date__gte`,`renewal_date__lt` and `renewal_date__lte` (https://www.plivo.com/docs/numbers/api/account-phone-number#list-all-my-numbers)
|
|
7
|
+
|
|
3
8
|
## [4.41.0](https://github.com/plivo/plivo-ruby/tree/v4.41.0) (2023-04-25)
|
|
4
9
|
**Adding new attribute - 'replaced_sender' in Get Message and List Message APIs**
|
|
5
10
|
- Add `replaced_sender` to the response for the [list all messages API](https://www.plivo.com/docs/sms/api/message/list-all-messages/) and the [get message details API](https://www.plivo.com/docs/sms/api/message#retrieve-a-message)
|
data/README.md
CHANGED
|
@@ -182,7 +182,8 @@ module Plivo
|
|
|
182
182
|
voice_rate: @voice_rate,
|
|
183
183
|
tendlc_campaign_id: @tendlc_campaign_id,
|
|
184
184
|
tendlc_registration_status: @tendlc_registration_status,
|
|
185
|
-
toll_free_sms_verification: @toll_free_sms_verification
|
|
185
|
+
toll_free_sms_verification: @toll_free_sms_verification,
|
|
186
|
+
renewal_date: @renewal_date
|
|
186
187
|
}.to_s
|
|
187
188
|
end
|
|
188
189
|
end
|
|
@@ -220,6 +221,11 @@ module Plivo
|
|
|
220
221
|
# - unverified - Returns a list of SMS-enabled US/CA toll-free numbers that are not verified.
|
|
221
222
|
# - pending_verification - Returns a list of SMS-enabled US/CA toll-free numbers that are pending verification
|
|
222
223
|
# - verified - Returns a list of SMS-enabled US/CA toll-free numbers that are verified for enhanced outbound SMS limits.
|
|
224
|
+
# @option options [String] :renewal_date Returns phone numbers that will be renewed on the specified date. Format: YYYY-MM-DD
|
|
225
|
+
# @option options [String] :renewal_date__lt Returns phone numbers that will be renewed before the specified date. Format: YYYY-MM-DD
|
|
226
|
+
# @option options [String] :renewal_date__lte Returns phone numbers that will be renewed on or before the specified date. Format: YYYY-MM-DD
|
|
227
|
+
# @option options [String] :renewal_date__gt Returns phone numbers that will be renewed after the specified date. Format: YYYY-MM-DD
|
|
228
|
+
# @option options [String] :renewal_date__gte Returns phone numbers that will be renewed on or after the specified date. Format: YYYY-MM-DD
|
|
223
229
|
def list(options = nil)
|
|
224
230
|
return perform_list if options.nil?
|
|
225
231
|
|
|
@@ -227,7 +233,7 @@ module Plivo
|
|
|
227
233
|
|
|
228
234
|
params = {}
|
|
229
235
|
|
|
230
|
-
%i[number_startswith subaccount alias tendlc_campaign_id tendlc_registration_status toll_free_sms_verification].each do |param|
|
|
236
|
+
%i[number_startswith subaccount alias tendlc_campaign_id tendlc_registration_status toll_free_sms_verification renewal_date renewal_date__lt renewal_date__lte renewal_date__gt renewal_date__gte].each do |param|
|
|
231
237
|
if options.key?(param) &&
|
|
232
238
|
valid_param?(param, options[param], [String, Symbol], true)
|
|
233
239
|
params[param] = options[param]
|
data/lib/plivo/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: plivo
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.
|
|
4
|
+
version: 4.42.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- The Plivo SDKs Team
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-05-
|
|
11
|
+
date: 2023-05-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|