plivo 4.62.3 → 4.62.5
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 +9 -0
- data/lib/plivo/resources/numbers.rb +8 -5
- data/lib/plivo/resources/profile.rb +1 -1
- data/lib/plivo/version.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: ab232d10176adbaaf1375e8d53cf04fc9cbca55c
|
|
4
|
+
data.tar.gz: b092be2a259e7dd451db35a742951c7291b47094
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d7c2b0e1b7fd3b27ec9634187f5fdafb5b7ede1b11531901b9ba23de9024c0da81c668bddc3897d6c7202ea2065814d809077b83f541e69887e783f66d145022
|
|
7
|
+
data.tar.gz: 3c6b3aea56c356103037991df5815d9d12424929ba93a9ef1639c7328ec6d7852961c85c3402260a60b10505a2a6f8d3ea38244a2706c47f54efe9997222fc6d
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## [4.62.5](https://github.com/plivo/plivo-ruby/tree/v4.62.5) (2026-01-21)
|
|
4
|
+
**Feature - HA Number support**
|
|
5
|
+
- Added `ha_enable` optional parameter to PhoneNumber `buy` method
|
|
6
|
+
- Added `fallback_number` field to PhoneNumber and Number response objects
|
|
7
|
+
|
|
8
|
+
## [4.62.4](https://github.com/plivo/plivo-ruby/tree/v4.62.4) (2026-01-13)
|
|
9
|
+
**Feature - Profile API business_contact_email support**
|
|
10
|
+
- Added `business_contact_email` parameter support to Profile `create` and `update` methods for PUBLIC entity types
|
|
11
|
+
|
|
3
12
|
## [4.62.3](https://github.com/plivo/plivo-ruby/tree/v4.62.3) (2026-01-08)
|
|
4
13
|
**Bug Fix - Lookup valid param fix**
|
|
5
14
|
- Fixed undefined method valid_param error in LookupBaseResource class by adding missing include Plivo::Utils module inclusion
|
|
@@ -9,11 +9,12 @@ module Plivo
|
|
|
9
9
|
super
|
|
10
10
|
end
|
|
11
11
|
|
|
12
|
-
def buy(app_id = nil, verification_info = nil, cnam_lookup = nil)
|
|
12
|
+
def buy(app_id = nil, verification_info = nil, cnam_lookup = nil, ha_enable = nil)
|
|
13
13
|
params = {}
|
|
14
14
|
params[:app_id] = app_id unless app_id.nil?
|
|
15
15
|
params[:verification_info] = verification_info unless verification_info.nil?
|
|
16
16
|
params[:cnam_lookup] = cnam_lookup unless cnam_lookup.nil?
|
|
17
|
+
params[:ha_enable] = ha_enable unless ha_enable.nil?
|
|
17
18
|
perform_action(nil, 'POST', params, true)
|
|
18
19
|
end
|
|
19
20
|
|
|
@@ -39,7 +40,8 @@ module Plivo
|
|
|
39
40
|
tendlc_registration_status: @tendlc_registration_status,
|
|
40
41
|
toll_free_sms_verification: @toll_free_sms_verification,
|
|
41
42
|
toll_free_sms_verification_id: @toll_free_sms_verification_id,
|
|
42
|
-
toll_free_sms_verification_order_status: @toll_free_sms_verification_order_status
|
|
43
|
+
toll_free_sms_verification_order_status: @toll_free_sms_verification_order_status,
|
|
44
|
+
fallback_number: @fallback_number
|
|
43
45
|
}.to_s
|
|
44
46
|
end
|
|
45
47
|
end
|
|
@@ -121,10 +123,10 @@ module Plivo
|
|
|
121
123
|
end
|
|
122
124
|
end
|
|
123
125
|
|
|
124
|
-
def buy(number, app_id = nil, verification_info = nil, cnam_lookup = nil)
|
|
126
|
+
def buy(number, app_id = nil, verification_info = nil, cnam_lookup = nil, ha_enable = nil)
|
|
125
127
|
valid_param?(:number, number, [Integer, String, Symbol], true)
|
|
126
128
|
PhoneNumber.new(@_client,
|
|
127
|
-
resource_id: number).buy(app_id, verification_info, cnam_lookup)
|
|
129
|
+
resource_id: number).buy(app_id, verification_info, cnam_lookup, ha_enable)
|
|
128
130
|
end
|
|
129
131
|
end
|
|
130
132
|
|
|
@@ -189,7 +191,8 @@ module Plivo
|
|
|
189
191
|
renewal_date: @renewal_date,
|
|
190
192
|
cnam_lookup: @cnam_lookup,
|
|
191
193
|
toll_free_sms_verification_id: @toll_free_sms_verification_id,
|
|
192
|
-
toll_free_sms_verification_order_status: @toll_free_sms_verification_order_status
|
|
194
|
+
toll_free_sms_verification_order_status: @toll_free_sms_verification_order_status,
|
|
195
|
+
fallback_number: @fallback_number
|
|
193
196
|
}.to_s
|
|
194
197
|
end
|
|
195
198
|
end
|
|
@@ -83,7 +83,7 @@ module Plivo
|
|
|
83
83
|
|
|
84
84
|
##
|
|
85
85
|
# Update a Profile
|
|
86
|
-
# {'address': {}, 'authorized_contact': {}, 'entity_type':'', 'vertical': '', 'company_name': '', 'website':''}
|
|
86
|
+
# {'address': {}, 'authorized_contact': {}, 'entity_type':'', 'vertical': '', 'company_name': '', 'website':'', 'business_contact_email':''}
|
|
87
87
|
def update(profile_uuid, options = nil)
|
|
88
88
|
valid_param?(:options, options, Hash, true)
|
|
89
89
|
perform_action_with_identifier(profile_uuid, "POST", options)
|
data/lib/plivo/version.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.62.
|
|
4
|
+
version: 4.62.5
|
|
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: 2026-01-
|
|
11
|
+
date: 2026-01-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|