plivo 4.36.0 → 4.37.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: 8201cbdabff4391e2817f5f463d0d0e0ea8ce901
4
- data.tar.gz: 4eab07c89d90f39d164d37c3b873954f9cbaa201
3
+ metadata.gz: 9bce183c37b08afe3c1c818c760ea19e23d59aa0
4
+ data.tar.gz: 758f85c1a34e730fdb6319f504b325f563087613
5
5
  SHA512:
6
- metadata.gz: ce66937423df4e70bfb62455c904b818c7882e275a774c2d814881eb6e077ba42ee29d898471e7a1882f2099dbb3fbfdc362dbd141aa9ed087554c2baafb1f86
7
- data.tar.gz: 97b29ec6835d373389535e554ff390bd6f0a481a3f53a862a700dbef46400c9ddfe5133507061cb3452f0ee67d3f6d31999638c518be7847797b2d88a125ec9b
6
+ metadata.gz: 12826d9c8f1e56072dabf04120e67df56d6e1a7d5a0c6385c59ae8c419139d5c6d31c46543b1a17a6d21acdb84c31424de2d5be448dd88face0933e4d0b88452
7
+ data.tar.gz: 2e06406a3690697d405b1cb89dae6bebc5bc3bace1a3f463fa665ef36e62c43179838436abc56478614bfed1f9772ea3bb4c4f272389aa0cb35e6e7493a94d08
data/CHANGELOG.md CHANGED
@@ -1,4 +1,8 @@
1
1
  # Change Log
2
+ ## [4.37.0](https://github.com/plivo/plivo-ruby/tree/v4.37.0) (2023-02-23)
3
+ **Feature - Enhance MDR filtering capabilities **
4
+ - Added new fields on MDR object response
5
+
2
6
 
3
7
  ## [4.36.0](https://github.com/plivo/plivo-ruby/tree/v4.36.0) (2022-01-25)
4
8
  **Adding new attribute - 'requester_ip' in Get Message and List Mssage APIs**
@@ -8,6 +12,7 @@
8
12
  **Adding new attribute - 'message_expiry' in Send Message API**
9
13
  - Added new attribute - message_expiry in Send Message API
10
14
 
15
+
11
16
  ## [4.34.0](https://github.com/plivo/plivo-ruby/tree/v4.34.0) (2022-12-16)
12
17
  **10DLC: Update Campaign API**
13
18
  - 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.0'
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.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.36.0
4
+ version: 4.37.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-01-30 00:00:00.000000000 Z
11
+ date: 2023-02-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday