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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3b904e37c728e7361a0e4ad43f9302fc39f09dea88d3ce0c7c7c763b29282f5f
4
- data.tar.gz: 3df71c5a41b9d3396398046c926cb324013aa8a7046976b6c44b6f4c9bfd1431
3
+ metadata.gz: 80b84a25946b1558d38a3baf1859ee6b13b216da64b0f43152d94091525e0ef7
4
+ data.tar.gz: 8a208268dbf6803c7efe9d1d350655fb6ed4e32a6b126599d71f018daebb5014
5
5
  SHA512:
6
- metadata.gz: 8878f8bf2f322bbb1640ca403c917864970c9a014675a84a2492f652a855697ab98da486c7b85e70886f075b1a604e143decf8f67e04eb356db42a85ed9b1054
7
- data.tar.gz: 42f4fe995b8c9d4a054cca33330bdc214e4ba4e2c5b2e91cf4a40e990c8cd50aeb46c3a9ad07201b8125f637d8306e44cab570a05682c5bf58f62294c89f25d2
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
@@ -1,3 +1,3 @@
1
1
  module Plivo
2
- VERSION = "4.63.1".freeze
2
+ VERSION = "4.63.3".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.63.1
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-04-17 00:00:00.000000000 Z
11
+ date: 2026-06-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday