plivo 4.63.1 → 4.63.3
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 +11 -0
- data/lib/plivo/resources/numbers.rb +5 -3
- 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
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 80b84a25946b1558d38a3baf1859ee6b13b216da64b0f43152d94091525e0ef7
|
|
4
|
+
data.tar.gz: 8a208268dbf6803c7efe9d1d350655fb6ed4e32a6b126599d71f018daebb5014
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 447f295c5f3503c04d23f9b7fafd0fa5d16c9094bd44d967820c6fe57067bdf26f4c1ac93b47d40423ce4e2d59eebff637febdc2c5e10721c1a44e113d4f70d0
|
|
7
|
+
data.tar.gz: d323a00459ceebe9080f31a2d700ef28a659af680eca57858534f88cf1db242b7bc46dd2a37a44e3b14cd3391ca5a746136adbe120dd20b89778573920380dba
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## [4.63.3](https://github.com/plivo/plivo-ruby/tree/v4.63.3) (2026-06-11)
|
|
4
|
+
**Feature - Compliance application support at number purchase**
|
|
5
|
+
- Added `compliance_application_id` optional parameter to PhoneNumber `buy` method, sent as the `compliance_application_id` API parameter for purchasing regulated numbers that require a linked regulatory compliance application at purchase time
|
|
6
|
+
|
|
7
|
+
## [4.63.2](https://github.com/plivo/plivo-ruby/tree/v4.63.2) (2026-05-26)
|
|
8
|
+
**Feature - Profile API DBA field support**
|
|
9
|
+
- Added Doing Business As (DBA) field support to Profile API
|
|
10
|
+
|
|
11
|
+
**Feature - Expose sub_account_name on Number resource**
|
|
12
|
+
- Added `sub_account_name` to `Number#to_s` output, surfacing the subaccount's name alongside the existing `sub_account` (auth_id) on rented number listing and get APIs
|
|
13
|
+
|
|
3
14
|
## [4.63.1](https://github.com/plivo/plivo-ruby/tree/v4.63.1) (2026-04-16)
|
|
4
15
|
**Bug Fix - PhoneNumber Compliance API response mapping**
|
|
5
16
|
- Fixed GET single compliance to unwrap `compliance` wrapper key from API response, making all fields directly accessible on the resource object
|
|
@@ -9,12 +9,13 @@ module Plivo
|
|
|
9
9
|
super
|
|
10
10
|
end
|
|
11
11
|
|
|
12
|
-
def buy(app_id = nil, verification_info = nil, cnam_lookup = nil, ha_enable = nil)
|
|
12
|
+
def buy(app_id = nil, verification_info = nil, cnam_lookup = nil, ha_enable = nil, compliance_application_id = 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
17
|
params[:ha_enable] = ha_enable unless ha_enable.nil?
|
|
18
|
+
params[:compliance_application_id] = compliance_application_id unless compliance_application_id.nil?
|
|
18
19
|
perform_action(nil, 'POST', params, true)
|
|
19
20
|
end
|
|
20
21
|
|
|
@@ -123,10 +124,10 @@ module Plivo
|
|
|
123
124
|
end
|
|
124
125
|
end
|
|
125
126
|
|
|
126
|
-
def buy(number, app_id = nil, verification_info = nil, cnam_lookup = nil, ha_enable = nil)
|
|
127
|
+
def buy(number, app_id = nil, verification_info = nil, cnam_lookup = nil, ha_enable = nil, compliance_application_id = nil)
|
|
127
128
|
valid_param?(:number, number, [Integer, String, Symbol], true)
|
|
128
129
|
PhoneNumber.new(@_client,
|
|
129
|
-
resource_id: number).buy(app_id, verification_info, cnam_lookup, ha_enable)
|
|
130
|
+
resource_id: number).buy(app_id, verification_info, cnam_lookup, ha_enable, compliance_application_id)
|
|
130
131
|
end
|
|
131
132
|
end
|
|
132
133
|
|
|
@@ -183,6 +184,7 @@ module Plivo
|
|
|
183
184
|
sms_enabled: @sms_enabled,
|
|
184
185
|
sms_rate: @sms_rate,
|
|
185
186
|
sub_account: @sub_account,
|
|
187
|
+
sub_account_name: @sub_account_name,
|
|
186
188
|
voice_enabled: @voice_enabled,
|
|
187
189
|
voice_rate: @voice_rate,
|
|
188
190
|
tendlc_campaign_id: @tendlc_campaign_id,
|
|
@@ -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':'', 'business_contact_email':''}
|
|
86
|
+
# {'address': {}, 'authorized_contact': {}, 'entity_type':'', 'vertical': '', 'company_name': '', 'website':'', 'business_contact_email':'', 'doing_business_as':''}
|
|
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.63.
|
|
4
|
+
version: 4.63.3
|
|
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-
|
|
11
|
+
date: 2026-06-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|