plivo 4.36.0 → 4.37.1

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: 8201cbdabff4391e2817f5f463d0d0e0ea8ce901
4
- data.tar.gz: 4eab07c89d90f39d164d37c3b873954f9cbaa201
3
+ metadata.gz: 9868a4be02dd30339bda337a837f89304bbc22fc
4
+ data.tar.gz: '08438aa41d55f366e04c23a8c9c19cf80a4eda57'
5
5
  SHA512:
6
- metadata.gz: ce66937423df4e70bfb62455c904b818c7882e275a774c2d814881eb6e077ba42ee29d898471e7a1882f2099dbb3fbfdc362dbd141aa9ed087554c2baafb1f86
7
- data.tar.gz: 97b29ec6835d373389535e554ff390bd6f0a481a3f53a862a700dbef46400c9ddfe5133507061cb3452f0ee67d3f6d31999638c518be7847797b2d88a125ec9b
6
+ metadata.gz: 9221a5183a4a060ab3422bcb6c8a96103aac4631162f30333f01a4d1b89433dfb029a416656d4d5c9f47d349fda8c22beba493c3b8088158dd3c60e517d26a79
7
+ data.tar.gz: 4635e9c48e4f789c24da1c72e8e318f9a898684b5a2dea920aad46a1786c9336a4692c5ffd08ab2037dc559aa083cbe509e0820c5d142f7a3472ff1606a6a683
data/CHANGELOG.md CHANGED
@@ -1,4 +1,11 @@
1
1
  # Change Log
2
+ ## [4.37.1](https://github.com/plivo/plivo-ruby/tree/v4.37.1) (2023-02-23)
3
+ **Bug fix on Messaging object **
4
+ -
5
+ ## [4.37.0](https://github.com/plivo/plivo-ruby/tree/v4.37.0) (2023-02-23)
6
+ **Feature - Enhance MDR filtering capabilities **
7
+ - Added new fields on MDR object response
8
+
2
9
 
3
10
  ## [4.36.0](https://github.com/plivo/plivo-ruby/tree/v4.36.0) (2022-01-25)
4
11
  **Adding new attribute - 'requester_ip' in Get Message and List Mssage APIs**
@@ -8,6 +15,7 @@
8
15
  **Adding new attribute - 'message_expiry' in Send Message API**
9
16
  - Added new attribute - message_expiry in Send Message API
10
17
 
18
+
11
19
  ## [4.34.0](https://github.com/plivo/plivo-ruby/tree/v4.34.0) (2022-12-16)
12
20
  **10DLC: Update Campaign API**
13
21
  - Added Update Campaign API
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.36.0'
12
+ gem 'plivo', '>= 4.37.1'
13
13
  ```
14
14
 
15
15
  And then execute:
@@ -31,6 +31,9 @@ module Plivo
31
31
  total_rate: @total_rate,
32
32
  powerpack_id: @powerpack_id,
33
33
  units: @units,
34
+ tendlc_campaign_id: @tendlc_campaign_id,
35
+ destination_country_iso2: @destination_country_iso2,
36
+ tendlc_registration_status: @tendlc_registration_status,
34
37
  requester_ip: @requester_ip
35
38
  }.to_s
36
39
  end
@@ -256,6 +259,9 @@ module Plivo
256
259
  # @option options[List]: media_urls Minimum one media url should be present in Media urls list to send mms. Maximum allowd 10 media urls inside the list (e.g, media_urls : ['https//example.com/test.jpg', 'https://example.com/abcd.gif'])
257
260
  # @option options[List]: media_ids Minimum one media ids should be present in Media ids list to send mms. Maximum allowd 10 media ids inside the list (e.g, media_ids : ['1fs211ba-355b-11ea-bbc9-02121c1190q7'])
258
261
  # @option options [String] :powerpack_id Filter the results by powerpack id
262
+ # @option options [string]: tendlc_campaign_id - exact tendlc campaign id search
263
+ # @option options [string]:destination_country_iso2 - valid 2 character country_iso2
264
+ # @option options [string] : tendlc_registration_status - registered or unregistered enum allowed
259
265
  def list(options = nil)
260
266
  return perform_list if options.nil?
261
267
  valid_param?(:options, options, Hash, true)
@@ -263,7 +269,7 @@ module Plivo
263
269
  params = {}
264
270
  params_expected = %i[
265
271
  subaccount message_time message_time__gt message_time__gte
266
- message_time__lt message_time__lte error_code powerpack_id
272
+ message_time__lt message_time__lte error_code powerpack_id tendlc_campaign_id tendlc_registration_status destination_country_iso2
267
273
  ]
268
274
  params_expected.each do |param|
269
275
  if options.key?(param) &&
data/lib/plivo/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Plivo
2
- VERSION = "4.36.0".freeze
2
+ VERSION = "4.37.1".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.36.0
4
+ version: 4.37.1
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-01-30 00:00:00.000000000 Z
11
+ date: 2023-02-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday