plivo 4.41.0 → 4.42.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3cf9bd895d56db51752dbe68b26be13aff5698e7
4
- data.tar.gz: c04de3751e88af3dfdd33ecd2d59302df6b0c75f
3
+ metadata.gz: 7e80e8ca16eb8c91e39dcf495ffaeaaa57d2b7de
4
+ data.tar.gz: 9bc7a4286410725263d6bd12cf3ff919b36590e8
5
5
  SHA512:
6
- metadata.gz: 13533f5616a94d8fd1dd95b838f057afa397f3d7a0cdab031c059e25d61696e66c021cc02149089da0131a0a516e03d175a78ce57b63c751decfe89e4a9721da
7
- data.tar.gz: 4f51b9ab0c06f30fd897a91adce01711ba55e5e04f5443be7035e6273d97dbd4c32093b71cef8929fc5424032d8d48eccf9860b9384cd08509c59f4f983cf86a
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
@@ -9,7 +9,7 @@ The Plivo Ruby SDK makes it simpler to integrate communications into your Ruby a
9
9
  Add this line to your application's Gemfile:
10
10
 
11
11
  ```ruby
12
- gem 'plivo', '>= 4.41.0'
12
+ gem 'plivo', '>= 4.42.0'
13
13
  ```
14
14
 
15
15
  And then execute:
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Plivo
2
- VERSION = "4.41.0".freeze
2
+ VERSION = "4.42.0".freeze
3
3
  end
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.41.0
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-03 00:00:00.000000000 Z
11
+ date: 2023-05-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday