docusign_esign 2.10.0 → 2.11.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -1
- data/lib/docusign_esign.rb +1 -1
- data/lib/docusign_esign/models/account_billing_plan.rb +21 -1
- data/lib/docusign_esign/models/envelope_form_data.rb +1 -1
- data/lib/docusign_esign/models/prefill_form_data.rb +216 -0
- data/lib/docusign_esign/models/template_tabs.rb +1 -1
- data/lib/docusign_esign/version.rb +1 -1
- data/tests/Gemfile.lock +2 -6
- metadata +5 -6
- data/docusign_esign-2.10.0.rc1.gem +0 -0
- data/docusign_esign-3.10.0.rc1.gem +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5c4afb12ac80a8bdef2671c0ed64f8f5a98e662f6ac3369cefa9acdbd530df79
|
4
|
+
data.tar.gz: c351c1befd6d87ef03725e616b396173afbcf1962b5af63ae18efb511fa8a340
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cdd5a0e1b474d28f45d278c5efc002507e386b9cc4dce1da31ecac854bb32d1f6ca259d7727c82e663d44f921ca46df834529a1414fcfe2d2b6e3a119f2129bd
|
7
|
+
data.tar.gz: d6a9c8ba071ef5244f0f437976a780b874c040ee274abe8a333fa76ba130fd335d0d97e48f99b235c7ac84cc5c28426aaa71e89c9b9f2424a9d8eb1c526d8b21
|
data/CHANGELOG.md
CHANGED
@@ -3,7 +3,14 @@ All notable changes to this project will be documented in this file.
|
|
3
3
|
|
4
4
|
See [DocuSign Support Center](https://support.docusign.com/en/releasenotes/) for Product Release Notes.
|
5
5
|
|
6
|
-
## [v2.
|
6
|
+
## [v2.11.0-rc1] - eSignature API v2-21.2.00.00 - 2021-07-13
|
7
|
+
### Added
|
8
|
+
- Added new models and properties.
|
9
|
+
### Changed
|
10
|
+
- Added support for version v2-21.2.00.00 of the DocuSign eSignature API.
|
11
|
+
- Updated the SDK release version.
|
12
|
+
|
13
|
+
## [v2.10.0] - eSignature API v2-21.1.02.00 - 2021-06-04
|
7
14
|
### Breaking
|
8
15
|
- Removed methods `get_account_settings_export`,`get_seal_providers` from Accounts.
|
9
16
|
- Removed methods `create_connect_secret`,`delete_connect_secret`,`generate_connect_secret`,`get_connect_secrets` from Connect.
|
data/lib/docusign_esign.rb
CHANGED
@@ -167,7 +167,6 @@ require 'docusign_esign/models/envelope_document'
|
|
167
167
|
require 'docusign_esign/models/envelope_documents_result'
|
168
168
|
require 'docusign_esign/models/envelope_event'
|
169
169
|
require 'docusign_esign/models/envelope_form_data'
|
170
|
-
require 'docusign_esign/models/envelope_form_data_prefill_form_data'
|
171
170
|
require 'docusign_esign/models/envelope_id'
|
172
171
|
require 'docusign_esign/models/envelope_ids_request'
|
173
172
|
require 'docusign_esign/models/envelope_notification_request'
|
@@ -263,6 +262,7 @@ require 'docusign_esign/models/power_form_senders_response'
|
|
263
262
|
require 'docusign_esign/models/power_forms_form_data_response'
|
264
263
|
require 'docusign_esign/models/power_forms_request'
|
265
264
|
require 'docusign_esign/models/power_forms_response'
|
265
|
+
require 'docusign_esign/models/prefill_form_data'
|
266
266
|
require 'docusign_esign/models/property_metadata'
|
267
267
|
require 'docusign_esign/models/province'
|
268
268
|
require 'docusign_esign/models/provisioning_information'
|
@@ -71,6 +71,12 @@ module DocuSign_eSign
|
|
71
71
|
# The name of the Billing Plan.
|
72
72
|
attr_accessor :plan_name
|
73
73
|
|
74
|
+
#
|
75
|
+
attr_accessor :plan_start_date
|
76
|
+
|
77
|
+
#
|
78
|
+
attr_accessor :renewal_date
|
79
|
+
|
74
80
|
# The renewal status for the account. The acceptable values are: * auto: The account automatically renews. * queued_for_close: Account will be closed at the billingPeriodEndDate. * queued_for_downgrade: Account will be downgraded at the billingPeriodEndDate.
|
75
81
|
attr_accessor :renewal_status
|
76
82
|
|
@@ -105,6 +111,8 @@ module DocuSign_eSign
|
|
105
111
|
:'plan_feature_sets' => :'planFeatureSets',
|
106
112
|
:'plan_id' => :'planId',
|
107
113
|
:'plan_name' => :'planName',
|
114
|
+
:'plan_start_date' => :'planStartDate',
|
115
|
+
:'renewal_date' => :'renewalDate',
|
108
116
|
:'renewal_status' => :'renewalStatus',
|
109
117
|
:'seat_discounts' => :'seatDiscounts',
|
110
118
|
:'support_incident_fee' => :'supportIncidentFee',
|
@@ -134,6 +142,8 @@ module DocuSign_eSign
|
|
134
142
|
:'plan_feature_sets' => :'Array<FeatureSet>',
|
135
143
|
:'plan_id' => :'String',
|
136
144
|
:'plan_name' => :'String',
|
145
|
+
:'plan_start_date' => :'String',
|
146
|
+
:'renewal_date' => :'String',
|
137
147
|
:'renewal_status' => :'String',
|
138
148
|
:'seat_discounts' => :'Array<SeatDiscount>',
|
139
149
|
:'support_incident_fee' => :'String',
|
@@ -229,6 +239,14 @@ module DocuSign_eSign
|
|
229
239
|
self.plan_name = attributes[:'planName']
|
230
240
|
end
|
231
241
|
|
242
|
+
if attributes.has_key?(:'planStartDate')
|
243
|
+
self.plan_start_date = attributes[:'planStartDate']
|
244
|
+
end
|
245
|
+
|
246
|
+
if attributes.has_key?(:'renewalDate')
|
247
|
+
self.renewal_date = attributes[:'renewalDate']
|
248
|
+
end
|
249
|
+
|
232
250
|
if attributes.has_key?(:'renewalStatus')
|
233
251
|
self.renewal_status = attributes[:'renewalStatus']
|
234
252
|
end
|
@@ -285,6 +303,8 @@ module DocuSign_eSign
|
|
285
303
|
plan_feature_sets == o.plan_feature_sets &&
|
286
304
|
plan_id == o.plan_id &&
|
287
305
|
plan_name == o.plan_name &&
|
306
|
+
plan_start_date == o.plan_start_date &&
|
307
|
+
renewal_date == o.renewal_date &&
|
288
308
|
renewal_status == o.renewal_status &&
|
289
309
|
seat_discounts == o.seat_discounts &&
|
290
310
|
support_incident_fee == o.support_incident_fee &&
|
@@ -300,7 +320,7 @@ module DocuSign_eSign
|
|
300
320
|
# Calculates hash code according to all attributes.
|
301
321
|
# @return [Fixnum] Hash code
|
302
322
|
def hash
|
303
|
-
[add_ons, app_store_receipt_expiration_date, app_store_receipt_purchase_date, can_cancel_renewal, can_upgrade, currency_code, enable_support, included_seats, incremental_seats, is_downgrade, notification_type, other_discount_percent, payment_cycle, payment_method, per_seat_price, plan_classification, plan_feature_sets, plan_id, plan_name, renewal_status, seat_discounts, support_incident_fee, support_plan_fee].hash
|
323
|
+
[add_ons, app_store_receipt_expiration_date, app_store_receipt_purchase_date, can_cancel_renewal, can_upgrade, currency_code, enable_support, included_seats, incremental_seats, is_downgrade, notification_type, other_discount_percent, payment_cycle, payment_method, per_seat_price, plan_classification, plan_feature_sets, plan_id, plan_name, plan_start_date, renewal_date, renewal_status, seat_discounts, support_incident_fee, support_plan_fee].hash
|
304
324
|
end
|
305
325
|
|
306
326
|
# Builds the object from hash
|
@@ -52,7 +52,7 @@ module DocuSign_eSign
|
|
52
52
|
:'email_subject' => :'String',
|
53
53
|
:'envelope_id' => :'String',
|
54
54
|
:'form_data' => :'Array<NameValue>',
|
55
|
-
:'prefill_form_data' => :'
|
55
|
+
:'prefill_form_data' => :'PrefillFormData',
|
56
56
|
:'recipient_form_data' => :'Array<RecipientFormData>',
|
57
57
|
:'sent_date_time' => :'String',
|
58
58
|
:'status' => :'String'
|
@@ -0,0 +1,216 @@
|
|
1
|
+
=begin
|
2
|
+
#DocuSign REST API
|
3
|
+
|
4
|
+
#The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign.
|
5
|
+
|
6
|
+
OpenAPI spec version: v2
|
7
|
+
Contact: devcenter@docusign.com
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
|
10
|
+
=end
|
11
|
+
|
12
|
+
require 'date'
|
13
|
+
|
14
|
+
module DocuSign_eSign
|
15
|
+
class PrefillFormData
|
16
|
+
#
|
17
|
+
attr_accessor :form_data
|
18
|
+
|
19
|
+
#
|
20
|
+
attr_accessor :sender_email
|
21
|
+
|
22
|
+
#
|
23
|
+
attr_accessor :sender_name
|
24
|
+
|
25
|
+
#
|
26
|
+
attr_accessor :sender_user_id
|
27
|
+
|
28
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
29
|
+
def self.attribute_map
|
30
|
+
{
|
31
|
+
:'form_data' => :'formData',
|
32
|
+
:'sender_email' => :'senderEmail',
|
33
|
+
:'sender_name' => :'senderName',
|
34
|
+
:'sender_user_id' => :'senderUserId'
|
35
|
+
}
|
36
|
+
end
|
37
|
+
|
38
|
+
# Attribute type mapping.
|
39
|
+
def self.swagger_types
|
40
|
+
{
|
41
|
+
:'form_data' => :'Array<NameValue>',
|
42
|
+
:'sender_email' => :'String',
|
43
|
+
:'sender_name' => :'String',
|
44
|
+
:'sender_user_id' => :'String'
|
45
|
+
}
|
46
|
+
end
|
47
|
+
|
48
|
+
# Initializes the object
|
49
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
50
|
+
def initialize(attributes = {})
|
51
|
+
return unless attributes.is_a?(Hash)
|
52
|
+
|
53
|
+
# convert string to symbol for hash key
|
54
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
55
|
+
|
56
|
+
if attributes.has_key?(:'formData')
|
57
|
+
if (value = attributes[:'formData']).is_a?(Array)
|
58
|
+
self.form_data = value
|
59
|
+
end
|
60
|
+
end
|
61
|
+
|
62
|
+
if attributes.has_key?(:'senderEmail')
|
63
|
+
self.sender_email = attributes[:'senderEmail']
|
64
|
+
end
|
65
|
+
|
66
|
+
if attributes.has_key?(:'senderName')
|
67
|
+
self.sender_name = attributes[:'senderName']
|
68
|
+
end
|
69
|
+
|
70
|
+
if attributes.has_key?(:'senderUserId')
|
71
|
+
self.sender_user_id = attributes[:'senderUserId']
|
72
|
+
end
|
73
|
+
end
|
74
|
+
|
75
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
76
|
+
# @return Array for valid properties with the reasons
|
77
|
+
def list_invalid_properties
|
78
|
+
invalid_properties = Array.new
|
79
|
+
invalid_properties
|
80
|
+
end
|
81
|
+
|
82
|
+
# Check to see if the all the properties in the model are valid
|
83
|
+
# @return true if the model is valid
|
84
|
+
def valid?
|
85
|
+
true
|
86
|
+
end
|
87
|
+
|
88
|
+
# Checks equality by comparing each attribute.
|
89
|
+
# @param [Object] Object to be compared
|
90
|
+
def ==(o)
|
91
|
+
return true if self.equal?(o)
|
92
|
+
self.class == o.class &&
|
93
|
+
form_data == o.form_data &&
|
94
|
+
sender_email == o.sender_email &&
|
95
|
+
sender_name == o.sender_name &&
|
96
|
+
sender_user_id == o.sender_user_id
|
97
|
+
end
|
98
|
+
|
99
|
+
# @see the `==` method
|
100
|
+
# @param [Object] Object to be compared
|
101
|
+
def eql?(o)
|
102
|
+
self == o
|
103
|
+
end
|
104
|
+
|
105
|
+
# Calculates hash code according to all attributes.
|
106
|
+
# @return [Fixnum] Hash code
|
107
|
+
def hash
|
108
|
+
[form_data, sender_email, sender_name, sender_user_id].hash
|
109
|
+
end
|
110
|
+
|
111
|
+
# Builds the object from hash
|
112
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
113
|
+
# @return [Object] Returns the model itself
|
114
|
+
def build_from_hash(attributes)
|
115
|
+
return nil unless attributes.is_a?(Hash)
|
116
|
+
self.class.swagger_types.each_pair do |key, type|
|
117
|
+
if type =~ /\AArray<(.*)>/i
|
118
|
+
# check to ensure the input is an array given that the attribute
|
119
|
+
# is documented as an array but the input is not
|
120
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
121
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
122
|
+
end
|
123
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
124
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
125
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
126
|
+
end
|
127
|
+
|
128
|
+
self
|
129
|
+
end
|
130
|
+
|
131
|
+
# Deserializes the data based on type
|
132
|
+
# @param string type Data type
|
133
|
+
# @param string value Value to be deserialized
|
134
|
+
# @return [Object] Deserialized data
|
135
|
+
def _deserialize(type, value)
|
136
|
+
case type.to_sym
|
137
|
+
when :DateTime
|
138
|
+
DateTime.parse(value)
|
139
|
+
when :Date
|
140
|
+
Date.parse(value)
|
141
|
+
when :String
|
142
|
+
value.to_s
|
143
|
+
when :Integer
|
144
|
+
value.to_i
|
145
|
+
when :Float
|
146
|
+
value.to_f
|
147
|
+
when :BOOLEAN
|
148
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
149
|
+
true
|
150
|
+
else
|
151
|
+
false
|
152
|
+
end
|
153
|
+
when :Object
|
154
|
+
# generic object (usually a Hash), return directly
|
155
|
+
value
|
156
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
157
|
+
inner_type = Regexp.last_match[:inner_type]
|
158
|
+
value.map { |v| _deserialize(inner_type, v) }
|
159
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
160
|
+
k_type = Regexp.last_match[:k_type]
|
161
|
+
v_type = Regexp.last_match[:v_type]
|
162
|
+
{}.tap do |hash|
|
163
|
+
value.each do |k, v|
|
164
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
165
|
+
end
|
166
|
+
end
|
167
|
+
else # model
|
168
|
+
temp_model = DocuSign_eSign.const_get(type).new
|
169
|
+
temp_model.build_from_hash(value)
|
170
|
+
end
|
171
|
+
end
|
172
|
+
|
173
|
+
# Returns the string representation of the object
|
174
|
+
# @return [String] String presentation of the object
|
175
|
+
def to_s
|
176
|
+
to_hash.to_s
|
177
|
+
end
|
178
|
+
|
179
|
+
# to_body is an alias to to_hash (backward compatibility)
|
180
|
+
# @return [Hash] Returns the object in the form of hash
|
181
|
+
def to_body
|
182
|
+
to_hash
|
183
|
+
end
|
184
|
+
|
185
|
+
# Returns the object in the form of hash
|
186
|
+
# @return [Hash] Returns the object in the form of hash
|
187
|
+
def to_hash
|
188
|
+
hash = {}
|
189
|
+
self.class.attribute_map.each_pair do |attr, param|
|
190
|
+
value = self.send(attr)
|
191
|
+
next if value.nil?
|
192
|
+
hash[param] = _to_hash(value)
|
193
|
+
end
|
194
|
+
hash
|
195
|
+
end
|
196
|
+
|
197
|
+
# Outputs non-array value in the form of hash
|
198
|
+
# For object, use to_hash. Otherwise, just return the value
|
199
|
+
# @param [Object] value Any valid value
|
200
|
+
# @return [Hash] Returns the value in the form of hash
|
201
|
+
def _to_hash(value)
|
202
|
+
if value.is_a?(Array)
|
203
|
+
value.compact.map { |v| _to_hash(v) }
|
204
|
+
elsif value.is_a?(Hash)
|
205
|
+
{}.tap do |hash|
|
206
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
207
|
+
end
|
208
|
+
elsif value.respond_to? :to_hash
|
209
|
+
value.to_hash
|
210
|
+
else
|
211
|
+
value
|
212
|
+
end
|
213
|
+
end
|
214
|
+
|
215
|
+
end
|
216
|
+
end
|
@@ -144,7 +144,7 @@ module DocuSign_eSign
|
|
144
144
|
:'full_name_tabs' => :'Array<FullName>',
|
145
145
|
:'initial_here_tabs' => :'Array<InitialHere>',
|
146
146
|
:'last_name_tabs' => :'Array<LastName>',
|
147
|
-
:'list_tabs' => :'Array<
|
147
|
+
:'list_tabs' => :'Array<List>',
|
148
148
|
:'notarize_tabs' => :'Array<Notarize>',
|
149
149
|
:'note_tabs' => :'Array<Note>',
|
150
150
|
:'number_tabs' => :'Array<Number>',
|
data/tests/Gemfile.lock
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ..
|
3
3
|
specs:
|
4
|
-
docusign_esign (
|
5
|
-
addressable (~> 2.7, >= 2.7.0)
|
4
|
+
docusign_esign (3.11.0.rc1)
|
6
5
|
json (~> 2.1, >= 2.1.0)
|
7
6
|
jwt (~> 2.2, >= 2.2.1)
|
8
7
|
typhoeus (~> 1.0, >= 1.0.1)
|
@@ -10,15 +9,12 @@ PATH
|
|
10
9
|
GEM
|
11
10
|
remote: https://rubygems.org/
|
12
11
|
specs:
|
13
|
-
addressable (2.7.0)
|
14
|
-
public_suffix (>= 2.0.2, < 5.0)
|
15
12
|
diff-lcs (1.4.4)
|
16
13
|
ethon (0.14.0)
|
17
14
|
ffi (>= 1.15.0)
|
18
|
-
ffi (1.15.
|
15
|
+
ffi (1.15.3)
|
19
16
|
json (2.5.1)
|
20
17
|
jwt (2.2.3)
|
21
|
-
public_suffix (4.0.6)
|
22
18
|
rspec (3.9.0)
|
23
19
|
rspec-core (~> 3.9.0)
|
24
20
|
rspec-expectations (~> 3.9.0)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: docusign_esign
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.11.0.rc1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- DocuSign
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-07-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jwt
|
@@ -285,8 +285,6 @@ files:
|
|
285
285
|
- LICENSE
|
286
286
|
- README.md
|
287
287
|
- Rakefile
|
288
|
-
- docusign_esign-2.10.0.rc1.gem
|
289
|
-
- docusign_esign-3.10.0.rc1.gem
|
290
288
|
- docusign_esign.gemspec
|
291
289
|
- git_push.sh
|
292
290
|
- lib/docusign_esign.rb
|
@@ -569,6 +567,7 @@ files:
|
|
569
567
|
- lib/docusign_esign/models/power_forms_form_data_response.rb
|
570
568
|
- lib/docusign_esign/models/power_forms_request.rb
|
571
569
|
- lib/docusign_esign/models/power_forms_response.rb
|
570
|
+
- lib/docusign_esign/models/prefill_form_data.rb
|
572
571
|
- lib/docusign_esign/models/property_metadata.rb
|
573
572
|
- lib/docusign_esign/models/province.rb
|
574
573
|
- lib/docusign_esign/models/provisioning_information.rb
|
@@ -712,9 +711,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
712
711
|
version: '1.9'
|
713
712
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
714
713
|
requirements:
|
715
|
-
- - "
|
714
|
+
- - ">"
|
716
715
|
- !ruby/object:Gem::Version
|
717
|
-
version:
|
716
|
+
version: 1.3.1
|
718
717
|
requirements: []
|
719
718
|
rubygems_version: 3.0.3
|
720
719
|
signing_key:
|
Binary file
|
Binary file
|