plivo 4.40.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 53994706ec6a6d40e9ec003fad9ccf5f0852acc1
4
- data.tar.gz: e1a3004ce5d2b4ee64b9d6280db389debf57c9bd
3
+ metadata.gz: 7e80e8ca16eb8c91e39dcf495ffaeaaa57d2b7de
4
+ data.tar.gz: 9bc7a4286410725263d6bd12cf3ff919b36590e8
5
5
  SHA512:
6
- metadata.gz: 0bf7f473f1b70a49f5c908becaeb3b1614cbc12ecf0f5675e0f7b6d8f8d481ae51371ccfb324f6dd1199794bfddffba043ea3847cf7b40928df93bc3590e4793
7
- data.tar.gz: ae2e03e0bc55462723afdcc88641066f57f0b6d0927febc66dcec97b5e4ba77a33417096f90e4dcaacbe6a066a1be777c9034aa118f27d16cbb736efeebad1e1
6
+ metadata.gz: a2587df8a9d194c111c7586a8b030aa02f8e4a6cb33d2ebf0404b5a9245bb673a794e90f81c1acc31db4198dcd19abd3b3b517f3c69586308c466e614236fa07
7
+ data.tar.gz: 0dce892a4df04db97ed1956063060071b7084ebfac5254035392cb14a31bfa23d199b275538613ab065034c9aaa2bff70602c706f6ec00fc28d37377ad3df0b9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
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
+
8
+ ## [4.41.0](https://github.com/plivo/plivo-ruby/tree/v4.41.0) (2023-04-25)
9
+ **Adding new attribute - 'replaced_sender' in Get Message and List Message APIs**
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)
3
11
 
4
12
  ## [4.40.0](https://github.com/plivo/plivo-ruby/tree/v4.37.0) (2023-04-11)
5
13
  **Feature - Added New Param 'source_ip' in GetCall and ListCalls**
data/README.md CHANGED
@@ -9,9 +9,8 @@ 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
-
13
- gem 'plivo', '>= 4.39.0'
14
-
12
+ gem 'plivo', '>= 4.42.0'
13
+ ```
15
14
 
16
15
  And then execute:
17
16
 
@@ -35,7 +35,8 @@ module Plivo
35
35
  destination_country_iso2: @destination_country_iso2,
36
36
  tendlc_registration_status: @tendlc_registration_status,
37
37
  requester_ip: @requester_ip,
38
- is_domestic: @is_domestic
38
+ is_domestic: @is_domestic,
39
+ replaced_sender: @replaced_sender
39
40
  }.to_s
40
41
  end
41
42
  end
@@ -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.40.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.40.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-04-11 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