plivo 4.62.0 → 4.62.2

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: 1851463b5af5e5e2c6ebca819fd78d52f8ee2212
4
- data.tar.gz: b5a6fa1efa1f0164cf695ae465c19ab5b27581a7
3
+ metadata.gz: e3f9133af2a73f06ffdabad52f5350d1e9f178f6
4
+ data.tar.gz: a7725db00d443a0a02821491bdd2c091c0b7a280
5
5
  SHA512:
6
- metadata.gz: 83cb052981fa58a65914debc7169b3302ed30b1ef9475d24a957c24a5dbbd789b82bf82c932bcf9550cb6e8f92fc0fd229ab689647d55fc2e91c37157cb96605
7
- data.tar.gz: 903a98bdf2371da100c3d86f132ab9a7d5514abc3dd3e77639de946f4ff834775fae1d1269dc2b43fbef337776ca988817d6cf1e4356acff8e5add3207745fdc
6
+ metadata.gz: 4937f37ae2f514a5209c7452538a2555d9f8d7483e03a7ed92d53dfc147ca209210575e837bab3b1fd3e9c4786fc18a816966c2bfdd365e9fd28f552e3ee2ec9
7
+ data.tar.gz: b58ff23e1d5028c42210ce15831bc9c73a2c55315abb9f90f7fc02386c70baa4609257541733c518a17dda1430220fdffdafa9c690d7cb2e736a6c8092ac295a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Change Log
2
2
 
3
+ ## [4.62.2](https://github.com/plivo/plivo-ruby/tree/v4.62.2) (2025-10-17)
4
+ **Feature - Regulatory Compliance: Add rejection_reason to Compliance Application**
5
+ - Added `rejection_reason` field to Compliance Application response object.
6
+
7
+ ## [4.62.1](https://github.com/plivo/plivo-ruby/tree/v4.62.1) (2025-08-06)
8
+ **Feature - Expanded Media Type Support for Media Upload**
9
+ - Added support for additional media file formats: GIF, MP3, WAV, OGG, 3GPP, 3GPP2, VCARD, CSV, XLS, XLSX, and PLAIN text files
10
+
3
11
  ## [4.62.0](https://github.com/plivo/plivo-ruby/tree/v4.62.0) (2025-04-30)
4
12
  **Feature - New Param added for Start Recording API.**
5
13
  - Support `record_channel_type` in Start Recording API and `recordChannelType` in Record XML.
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.62.0'
12
+ gem 'plivo', '>= 4.62.1'
13
13
  ```
14
14
 
15
15
  And then execute:
@@ -79,11 +79,22 @@ module Plivo
79
79
  when 'jpeg' then 'image/jpeg'
80
80
  when 'jpg' then 'image/jpeg'
81
81
  when 'png' then 'image/png'
82
+ when 'gif' then 'image/gif'
83
+ when 'mp3' then 'audio/mp3'
84
+ when 'mp4' then 'video/mp4'
85
+ when 'mpeg' then 'video/mpeg'
86
+ when 'wav' then 'audio/wav'
87
+ when 'ogg' then 'audio/ogg'
88
+ when '3gpp' then 'video/3gpp'
89
+ when '3gpp2' then 'video/3gpp2'
90
+ when 'vcard' then 'text/vcard'
91
+ when 'csv' then 'text/csv'
82
92
  when 'pdf' then 'application/pdf'
93
+ when 'xls' then 'application/vnd.ms-excel'
94
+ when 'xlsx' then 'application/vnd.ms-excel'
83
95
  when 'xcf' then 'image/xcf'
84
96
  when 'text' then 'text/plain'
85
- when 'mpeg' then 'video/mpeg'
86
- when 'mp4' then 'video/mp4'
97
+ when 'plain' then 'text/plain'
87
98
  else raise_invalid_request("#{file_extension} is not yet supported for upload")
88
99
  end
89
100
 
@@ -453,6 +453,7 @@ module Plivo
453
453
  country_iso2: @country_iso2,
454
454
  number_type: @number_type,
455
455
  compliance_requirement_id: @compliance_requirement_id,
456
+ rejection_reason: @rejection_reason,
456
457
  documents: @documents,
457
458
  }.delete_if { |key, value| value.nil? }.to_s
458
459
  end
data/lib/plivo/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Plivo
2
- VERSION = "4.62.0".freeze
2
+ VERSION = "4.62.2".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.62.0
4
+ version: 4.62.2
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: 2025-04-30 00:00:00.000000000 Z
11
+ date: 2025-10-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday