plivo 4.63.3 → 4.63.4
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 +4 -0
- data/lib/plivo/resources/tollfree_verification.rb +19 -3
- 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: d727f995df68531e016dbc2975e399e80f5bf9eb839fffa15d91990f022856ea
|
|
4
|
+
data.tar.gz: 54ade4f376628a27d9e4f9dc684d70c72f3f02811dbbf26ca909723baf9dcdce
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f934465d8bd59a005ac9e8abb3e4845cb06c9970515fed9cdbee488745d1e9ee47145eb6e809857b5e8968371093cb649a5701e578ae552fed9780a1389051d3
|
|
7
|
+
data.tar.gz: 7c3c38c7e67555db08fc1369590df23ab9197b6d2122956636d9f98a00143e39e37409eb55c97e26a4e53f7cfe51c6cf1c2095416b20017be41a487f2e482258
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## [4.63.4](https://github.com/plivo/plivo-ruby/tree/v4.63.4) (2026-07-28)
|
|
4
|
+
**Feature - Toll-free verification terms, privacy, opt-in and help fields**
|
|
5
|
+
- Added optional `terms_and_conditions_link`, `privacy_policy_link`, `optin_message` and `help_message` parameters to the toll-free verification create and update methods
|
|
6
|
+
|
|
3
7
|
## [4.63.3](https://github.com/plivo/plivo-ruby/tree/v4.63.3) (2026-06-11)
|
|
4
8
|
**Feature - Compliance application support at number purchase**
|
|
5
9
|
- 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
|
|
@@ -15,7 +15,7 @@ module Plivo
|
|
|
15
15
|
valid_param?(:options, options, Hash, true)
|
|
16
16
|
|
|
17
17
|
params = {}
|
|
18
|
-
params_expected = %i[ usecase usecase_summary profile_uuid optin_type optin_image_url volume message_sample callback_method callback_url extra_data additional_information ]
|
|
18
|
+
params_expected = %i[ usecase usecase_summary profile_uuid optin_type optin_image_url volume message_sample callback_method callback_url extra_data additional_information terms_and_conditions_link privacy_policy_link optin_message help_message ]
|
|
19
19
|
params_expected.each do |param|
|
|
20
20
|
if options.key?(param) &&
|
|
21
21
|
valid_param?(param, options[param], [String, Symbol], false)
|
|
@@ -41,6 +41,10 @@ module Plivo
|
|
|
41
41
|
callback_url: @callback_url,
|
|
42
42
|
extra_data: @extra_data,
|
|
43
43
|
additional_information: @additional_information,
|
|
44
|
+
terms_and_conditions_link: @terms_and_conditions_link,
|
|
45
|
+
privacy_policy_link: @privacy_policy_link,
|
|
46
|
+
optin_message: @optin_message,
|
|
47
|
+
help_message: @help_message,
|
|
44
48
|
message_sample: @message_sample,
|
|
45
49
|
optin_image_url: @optin_image_url,
|
|
46
50
|
optin_type: @optin_type,
|
|
@@ -121,8 +125,12 @@ module Plivo
|
|
|
121
125
|
# @param [String] callback_method
|
|
122
126
|
# @param [String] extra_data
|
|
123
127
|
# @param [String] additional_information
|
|
128
|
+
# @param [String] terms_and_conditions_link
|
|
129
|
+
# @param [String] privacy_policy_link
|
|
130
|
+
# @param [String] optin_message
|
|
131
|
+
# @param [String] help_message
|
|
124
132
|
# return [TollfreeVerification] TollfreeVerification
|
|
125
|
-
def create(number, usecase, usecase_summary, profile_uuid, optin_type, optin_image_url, volume, message_sample, callback_url = nil, callback_method = nil, extra_data = nil, additional_information = nil)
|
|
133
|
+
def create(number, usecase, usecase_summary, profile_uuid, optin_type, optin_image_url, volume, message_sample, callback_url = nil, callback_method = nil, extra_data = nil, additional_information = nil, terms_and_conditions_link = nil, privacy_policy_link = nil, optin_message = nil, help_message = nil)
|
|
126
134
|
valid_param?(:number, number, [String, Symbol], true)
|
|
127
135
|
valid_param?(:usecase, usecase, [String, Symbol], true)
|
|
128
136
|
valid_param?(:usecase_summary, usecase_summary, [String, Symbol], true)
|
|
@@ -135,6 +143,10 @@ module Plivo
|
|
|
135
143
|
valid_param?(:callback_method, callback_method, [String, Symbol], false)
|
|
136
144
|
valid_param?(:extra_data, extra_data, [String, Symbol], false)
|
|
137
145
|
valid_param?(:additional_information, additional_information, [String, Symbol], false)
|
|
146
|
+
valid_param?(:terms_and_conditions_link, terms_and_conditions_link, [String, Symbol], false)
|
|
147
|
+
valid_param?(:privacy_policy_link, privacy_policy_link, [String, Symbol], false)
|
|
148
|
+
valid_param?(:optin_message, optin_message, [String, Symbol], false)
|
|
149
|
+
valid_param?(:help_message, help_message, [String, Symbol], false)
|
|
138
150
|
|
|
139
151
|
params = {
|
|
140
152
|
number: number,
|
|
@@ -148,7 +160,11 @@ module Plivo
|
|
|
148
160
|
callback_url: callback_url,
|
|
149
161
|
callback_method: callback_method,
|
|
150
162
|
extra_data: extra_data,
|
|
151
|
-
additional_information: additional_information
|
|
163
|
+
additional_information: additional_information,
|
|
164
|
+
terms_and_conditions_link: terms_and_conditions_link,
|
|
165
|
+
privacy_policy_link: privacy_policy_link,
|
|
166
|
+
optin_message: optin_message,
|
|
167
|
+
help_message: help_message
|
|
152
168
|
}.delete_if { |key, value| value.nil? }
|
|
153
169
|
|
|
154
170
|
return perform_create(params)
|
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.4
|
|
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-07-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|