plivo 4.61.4 → 4.62.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 +4 -4
- data/CHANGELOG.md +8 -0
- data/README.md +1 -1
- data/lib/plivo/resources/calls.rb +6 -0
- data/lib/plivo/resources/media.rb +13 -2
- data/lib/plivo/version.rb +1 -1
- data/lib/plivo/xml/record.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 13c2fd610b217dfc2c71ed97fca15d2d6f4fbf1b
|
4
|
+
data.tar.gz: e69c1e2d7e29c5dc66fff2d10f2f0ee110ea3860
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0505f0b6b61652f3a45e4d2281440264877099dbc722cd2fa6e31fb88d3e24a7cc30aba4d482f62373a163ddf565bd9c9b22aa1c2baf0edd048bdbfaba684056
|
7
|
+
data.tar.gz: b5507ed81a5899df3a6d3acb179c44a9e5c0c9d2c45a9ae14d27a1d5ed5646467142caad4cf4a8a64d5be34dc5cd7b4e9fb95d1b14423727a80898833aad7209
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## [4.62.1](https://github.com/plivo/plivo-ruby/tree/v4.62.1) (2025-08-06)
|
4
|
+
**Feature - Expanded Media Type Support for Media Upload**
|
5
|
+
- Added support for additional media file formats: GIF, MP3, WAV, OGG, 3GPP, 3GPP2, VCARD, CSV, XLS, XLSX, and PLAIN text files
|
6
|
+
|
7
|
+
## [4.62.0](https://github.com/plivo/plivo-ruby/tree/v4.62.0) (2025-04-30)
|
8
|
+
**Feature - New Param added for Start Recording API.**
|
9
|
+
- Support `record_channel_type` in Start Recording API and `recordChannelType` in Record XML.
|
10
|
+
|
3
11
|
## [4.61.4](https://github.com/plivo/plivo-ruby/tree/v4.61.4) (2025-02-25)
|
4
12
|
**Feature - Supporting parameter_name in WhatsApp Template .**
|
5
13
|
- Supporting `parameter_name` in WhatsApp Template .
|
data/README.md
CHANGED
@@ -99,6 +99,12 @@ module Plivo
|
|
99
99
|
params[:transcription_type] = options[:transcription_type]
|
100
100
|
end
|
101
101
|
|
102
|
+
if options.key?(:record_channel_type) &&
|
103
|
+
valid_param?(:record_channel_type, options[:record_channel_type],
|
104
|
+
[String, Symbol], true)
|
105
|
+
params[:record_channel_type] = options[:record_channel_type]
|
106
|
+
end
|
107
|
+
|
102
108
|
perform_action('Record', 'POST', params, true)
|
103
109
|
end
|
104
110
|
|
@@ -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 '
|
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
|
|
data/lib/plivo/version.rb
CHANGED
data/lib/plivo/xml/record.rb
CHANGED
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.
|
4
|
+
version: 4.62.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: 2025-
|
11
|
+
date: 2025-08-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|