docusign_esign 3.19.0 → 3.21.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/lib/docusign_esign/api/accounts_api.rb +4 -4
- data/lib/docusign_esign/api/connect_api.rb +51 -0
- data/lib/docusign_esign/api/envelopes_api.rb +16 -65
- data/lib/docusign_esign/api/folders_api.rb +8 -0
- data/lib/docusign_esign/api/templates_api.rb +0 -73
- data/lib/docusign_esign/client/api_client.rb +1 -1
- data/lib/docusign_esign/models/account_identity_verification_workflow.rb +11 -1
- data/lib/docusign_esign/models/account_settings_information.rb +338 -15
- data/lib/docusign_esign/models/account_ui_settings.rb +20 -1
- data/lib/docusign_esign/models/bulk_sending_copy.rb +13 -1
- data/lib/docusign_esign/models/bulk_sending_copy_recipient.rb +10 -1
- data/lib/docusign_esign/models/bulksending_copy_doc_gen_form_field.rb +194 -0
- data/lib/docusign_esign/models/connect_custom_configuration.rb +21 -1
- data/lib/docusign_esign/models/connect_o_auth_config.rb +11 -1
- data/lib/docusign_esign/models/contact.rb +10 -1
- data/lib/docusign_esign/models/delayed_routing.rb +3 -3
- data/lib/docusign_esign/models/delegation_info.rb +12 -12
- data/lib/docusign_esign/models/doc_gen_form_field.rb +224 -0
- data/lib/docusign_esign/models/doc_gen_syntax_error.rb +204 -0
- data/lib/docusign_esign/models/document.rb +23 -1
- data/lib/docusign_esign/models/envelope.rb +11 -1
- data/lib/docusign_esign/models/envelope_definition.rb +11 -1
- data/lib/docusign_esign/models/envelope_delay_rule.rb +3 -2
- data/lib/docusign_esign/models/envelope_document.rb +45 -1
- data/lib/docusign_esign/models/envelope_template.rb +21 -1
- data/lib/docusign_esign/models/event_notification.rb +21 -1
- data/lib/docusign_esign/models/id_evidence_view_link.rb +3 -3
- data/lib/docusign_esign/models/initial_here.rb +1 -1
- data/lib/docusign_esign/models/jurisdiction_summary.rb +214 -0
- data/lib/docusign_esign/models/locale_policy_tab.rb +14 -4
- data/lib/docusign_esign/models/notary_contact_details.rb +196 -0
- data/lib/docusign_esign/models/numerical.rb +1279 -0
- data/lib/docusign_esign/models/recipient_form_data.rb +12 -12
- data/lib/docusign_esign/models/recipient_identity_verification.rb +14 -4
- data/lib/docusign_esign/models/scheduled_sending.rb +3 -3
- data/lib/docusign_esign/models/tab_metadata.rb +11 -1
- data/lib/docusign_esign/models/tabs.rb +13 -1
- data/lib/docusign_esign/models/template_role.rb +11 -1
- data/lib/docusign_esign/models/template_tabs.rb +13 -1
- data/lib/docusign_esign/models/user_account_management_granular_information.rb +20 -1
- data/lib/docusign_esign/version.rb +1 -1
- data/lib/docusign_esign.rb +6 -4
- metadata +8 -2
@@ -0,0 +1,224 @@
|
|
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.1
|
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 DocGenFormField
|
16
|
+
#
|
17
|
+
attr_accessor :label
|
18
|
+
|
19
|
+
#
|
20
|
+
attr_accessor :name
|
21
|
+
|
22
|
+
# When set to **true**, the signer is required to fill out this tab
|
23
|
+
attr_accessor :required
|
24
|
+
|
25
|
+
#
|
26
|
+
attr_accessor :type
|
27
|
+
|
28
|
+
# Specifies the value of the tab.
|
29
|
+
attr_accessor :value
|
30
|
+
|
31
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
32
|
+
def self.attribute_map
|
33
|
+
{
|
34
|
+
:'label' => :'label',
|
35
|
+
:'name' => :'name',
|
36
|
+
:'required' => :'required',
|
37
|
+
:'type' => :'type',
|
38
|
+
:'value' => :'value'
|
39
|
+
}
|
40
|
+
end
|
41
|
+
|
42
|
+
# Attribute type mapping.
|
43
|
+
def self.swagger_types
|
44
|
+
{
|
45
|
+
:'label' => :'String',
|
46
|
+
:'name' => :'String',
|
47
|
+
:'required' => :'String',
|
48
|
+
:'type' => :'String',
|
49
|
+
:'value' => :'String'
|
50
|
+
}
|
51
|
+
end
|
52
|
+
|
53
|
+
# Initializes the object
|
54
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
55
|
+
def initialize(attributes = {})
|
56
|
+
return unless attributes.is_a?(Hash)
|
57
|
+
|
58
|
+
# convert string to symbol for hash key
|
59
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
60
|
+
|
61
|
+
if attributes.has_key?(:'label')
|
62
|
+
self.label = attributes[:'label']
|
63
|
+
end
|
64
|
+
|
65
|
+
if attributes.has_key?(:'name')
|
66
|
+
self.name = attributes[:'name']
|
67
|
+
end
|
68
|
+
|
69
|
+
if attributes.has_key?(:'required')
|
70
|
+
self.required = attributes[:'required']
|
71
|
+
end
|
72
|
+
|
73
|
+
if attributes.has_key?(:'type')
|
74
|
+
self.type = attributes[:'type']
|
75
|
+
end
|
76
|
+
|
77
|
+
if attributes.has_key?(:'value')
|
78
|
+
self.value = attributes[:'value']
|
79
|
+
end
|
80
|
+
end
|
81
|
+
|
82
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
83
|
+
# @return Array for valid properties with the reasons
|
84
|
+
def list_invalid_properties
|
85
|
+
invalid_properties = Array.new
|
86
|
+
invalid_properties
|
87
|
+
end
|
88
|
+
|
89
|
+
# Check to see if the all the properties in the model are valid
|
90
|
+
# @return true if the model is valid
|
91
|
+
def valid?
|
92
|
+
true
|
93
|
+
end
|
94
|
+
|
95
|
+
# Checks equality by comparing each attribute.
|
96
|
+
# @param [Object] Object to be compared
|
97
|
+
def ==(o)
|
98
|
+
return true if self.equal?(o)
|
99
|
+
self.class == o.class &&
|
100
|
+
label == o.label &&
|
101
|
+
name == o.name &&
|
102
|
+
required == o.required &&
|
103
|
+
type == o.type &&
|
104
|
+
value == o.value
|
105
|
+
end
|
106
|
+
|
107
|
+
# @see the `==` method
|
108
|
+
# @param [Object] Object to be compared
|
109
|
+
def eql?(o)
|
110
|
+
self == o
|
111
|
+
end
|
112
|
+
|
113
|
+
# Calculates hash code according to all attributes.
|
114
|
+
# @return [Fixnum] Hash code
|
115
|
+
def hash
|
116
|
+
[label, name, required, type, value].hash
|
117
|
+
end
|
118
|
+
|
119
|
+
# Builds the object from hash
|
120
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
121
|
+
# @return [Object] Returns the model itself
|
122
|
+
def build_from_hash(attributes)
|
123
|
+
return nil unless attributes.is_a?(Hash)
|
124
|
+
self.class.swagger_types.each_pair do |key, type|
|
125
|
+
if type =~ /\AArray<(.*)>/i
|
126
|
+
# check to ensure the input is an array given that the attribute
|
127
|
+
# is documented as an array but the input is not
|
128
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
129
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
130
|
+
end
|
131
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
132
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
133
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
134
|
+
end
|
135
|
+
|
136
|
+
self
|
137
|
+
end
|
138
|
+
|
139
|
+
# Deserializes the data based on type
|
140
|
+
# @param string type Data type
|
141
|
+
# @param string value Value to be deserialized
|
142
|
+
# @return [Object] Deserialized data
|
143
|
+
def _deserialize(type, value)
|
144
|
+
case type.to_sym
|
145
|
+
when :DateTime
|
146
|
+
DateTime.parse(value)
|
147
|
+
when :Date
|
148
|
+
Date.parse(value)
|
149
|
+
when :String
|
150
|
+
value.to_s
|
151
|
+
when :Integer
|
152
|
+
value.to_i
|
153
|
+
when :Float
|
154
|
+
value.to_f
|
155
|
+
when :BOOLEAN
|
156
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
157
|
+
true
|
158
|
+
else
|
159
|
+
false
|
160
|
+
end
|
161
|
+
when :Object
|
162
|
+
# generic object (usually a Hash), return directly
|
163
|
+
value
|
164
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
165
|
+
inner_type = Regexp.last_match[:inner_type]
|
166
|
+
value.map { |v| _deserialize(inner_type, v) }
|
167
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
168
|
+
k_type = Regexp.last_match[:k_type]
|
169
|
+
v_type = Regexp.last_match[:v_type]
|
170
|
+
{}.tap do |hash|
|
171
|
+
value.each do |k, v|
|
172
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
173
|
+
end
|
174
|
+
end
|
175
|
+
else # model
|
176
|
+
temp_model = DocuSign_eSign.const_get(type).new
|
177
|
+
temp_model.build_from_hash(value)
|
178
|
+
end
|
179
|
+
end
|
180
|
+
|
181
|
+
# Returns the string representation of the object
|
182
|
+
# @return [String] String presentation of the object
|
183
|
+
def to_s
|
184
|
+
to_hash.to_s
|
185
|
+
end
|
186
|
+
|
187
|
+
# to_body is an alias to to_hash (backward compatibility)
|
188
|
+
# @return [Hash] Returns the object in the form of hash
|
189
|
+
def to_body
|
190
|
+
to_hash
|
191
|
+
end
|
192
|
+
|
193
|
+
# Returns the object in the form of hash
|
194
|
+
# @return [Hash] Returns the object in the form of hash
|
195
|
+
def to_hash
|
196
|
+
hash = {}
|
197
|
+
self.class.attribute_map.each_pair do |attr, param|
|
198
|
+
value = self.send(attr)
|
199
|
+
next if value.nil?
|
200
|
+
hash[param] = _to_hash(value)
|
201
|
+
end
|
202
|
+
hash
|
203
|
+
end
|
204
|
+
|
205
|
+
# Outputs non-array value in the form of hash
|
206
|
+
# For object, use to_hash. Otherwise, just return the value
|
207
|
+
# @param [Object] value Any valid value
|
208
|
+
# @return [Hash] Returns the value in the form of hash
|
209
|
+
def _to_hash(value)
|
210
|
+
if value.is_a?(Array)
|
211
|
+
value.compact.map { |v| _to_hash(v) }
|
212
|
+
elsif value.is_a?(Hash)
|
213
|
+
{}.tap do |hash|
|
214
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
215
|
+
end
|
216
|
+
elsif value.respond_to? :to_hash
|
217
|
+
value.to_hash
|
218
|
+
else
|
219
|
+
value
|
220
|
+
end
|
221
|
+
end
|
222
|
+
|
223
|
+
end
|
224
|
+
end
|
@@ -0,0 +1,204 @@
|
|
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.1
|
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 DocGenSyntaxError
|
16
|
+
#
|
17
|
+
attr_accessor :error_code
|
18
|
+
|
19
|
+
#
|
20
|
+
attr_accessor :message
|
21
|
+
|
22
|
+
#
|
23
|
+
attr_accessor :tag_identifier
|
24
|
+
|
25
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
26
|
+
def self.attribute_map
|
27
|
+
{
|
28
|
+
:'error_code' => :'errorCode',
|
29
|
+
:'message' => :'message',
|
30
|
+
:'tag_identifier' => :'tagIdentifier'
|
31
|
+
}
|
32
|
+
end
|
33
|
+
|
34
|
+
# Attribute type mapping.
|
35
|
+
def self.swagger_types
|
36
|
+
{
|
37
|
+
:'error_code' => :'String',
|
38
|
+
:'message' => :'String',
|
39
|
+
:'tag_identifier' => :'String'
|
40
|
+
}
|
41
|
+
end
|
42
|
+
|
43
|
+
# Initializes the object
|
44
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
45
|
+
def initialize(attributes = {})
|
46
|
+
return unless attributes.is_a?(Hash)
|
47
|
+
|
48
|
+
# convert string to symbol for hash key
|
49
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
50
|
+
|
51
|
+
if attributes.has_key?(:'errorCode')
|
52
|
+
self.error_code = attributes[:'errorCode']
|
53
|
+
end
|
54
|
+
|
55
|
+
if attributes.has_key?(:'message')
|
56
|
+
self.message = attributes[:'message']
|
57
|
+
end
|
58
|
+
|
59
|
+
if attributes.has_key?(:'tagIdentifier')
|
60
|
+
self.tag_identifier = attributes[:'tagIdentifier']
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
65
|
+
# @return Array for valid properties with the reasons
|
66
|
+
def list_invalid_properties
|
67
|
+
invalid_properties = Array.new
|
68
|
+
invalid_properties
|
69
|
+
end
|
70
|
+
|
71
|
+
# Check to see if the all the properties in the model are valid
|
72
|
+
# @return true if the model is valid
|
73
|
+
def valid?
|
74
|
+
true
|
75
|
+
end
|
76
|
+
|
77
|
+
# Checks equality by comparing each attribute.
|
78
|
+
# @param [Object] Object to be compared
|
79
|
+
def ==(o)
|
80
|
+
return true if self.equal?(o)
|
81
|
+
self.class == o.class &&
|
82
|
+
error_code == o.error_code &&
|
83
|
+
message == o.message &&
|
84
|
+
tag_identifier == o.tag_identifier
|
85
|
+
end
|
86
|
+
|
87
|
+
# @see the `==` method
|
88
|
+
# @param [Object] Object to be compared
|
89
|
+
def eql?(o)
|
90
|
+
self == o
|
91
|
+
end
|
92
|
+
|
93
|
+
# Calculates hash code according to all attributes.
|
94
|
+
# @return [Fixnum] Hash code
|
95
|
+
def hash
|
96
|
+
[error_code, message, tag_identifier].hash
|
97
|
+
end
|
98
|
+
|
99
|
+
# Builds the object from hash
|
100
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
101
|
+
# @return [Object] Returns the model itself
|
102
|
+
def build_from_hash(attributes)
|
103
|
+
return nil unless attributes.is_a?(Hash)
|
104
|
+
self.class.swagger_types.each_pair do |key, type|
|
105
|
+
if type =~ /\AArray<(.*)>/i
|
106
|
+
# check to ensure the input is an array given that the attribute
|
107
|
+
# is documented as an array but the input is not
|
108
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
109
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
110
|
+
end
|
111
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
112
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
113
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
114
|
+
end
|
115
|
+
|
116
|
+
self
|
117
|
+
end
|
118
|
+
|
119
|
+
# Deserializes the data based on type
|
120
|
+
# @param string type Data type
|
121
|
+
# @param string value Value to be deserialized
|
122
|
+
# @return [Object] Deserialized data
|
123
|
+
def _deserialize(type, value)
|
124
|
+
case type.to_sym
|
125
|
+
when :DateTime
|
126
|
+
DateTime.parse(value)
|
127
|
+
when :Date
|
128
|
+
Date.parse(value)
|
129
|
+
when :String
|
130
|
+
value.to_s
|
131
|
+
when :Integer
|
132
|
+
value.to_i
|
133
|
+
when :Float
|
134
|
+
value.to_f
|
135
|
+
when :BOOLEAN
|
136
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
137
|
+
true
|
138
|
+
else
|
139
|
+
false
|
140
|
+
end
|
141
|
+
when :Object
|
142
|
+
# generic object (usually a Hash), return directly
|
143
|
+
value
|
144
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
145
|
+
inner_type = Regexp.last_match[:inner_type]
|
146
|
+
value.map { |v| _deserialize(inner_type, v) }
|
147
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
148
|
+
k_type = Regexp.last_match[:k_type]
|
149
|
+
v_type = Regexp.last_match[:v_type]
|
150
|
+
{}.tap do |hash|
|
151
|
+
value.each do |k, v|
|
152
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
153
|
+
end
|
154
|
+
end
|
155
|
+
else # model
|
156
|
+
temp_model = DocuSign_eSign.const_get(type).new
|
157
|
+
temp_model.build_from_hash(value)
|
158
|
+
end
|
159
|
+
end
|
160
|
+
|
161
|
+
# Returns the string representation of the object
|
162
|
+
# @return [String] String presentation of the object
|
163
|
+
def to_s
|
164
|
+
to_hash.to_s
|
165
|
+
end
|
166
|
+
|
167
|
+
# to_body is an alias to to_hash (backward compatibility)
|
168
|
+
# @return [Hash] Returns the object in the form of hash
|
169
|
+
def to_body
|
170
|
+
to_hash
|
171
|
+
end
|
172
|
+
|
173
|
+
# Returns the object in the form of hash
|
174
|
+
# @return [Hash] Returns the object in the form of hash
|
175
|
+
def to_hash
|
176
|
+
hash = {}
|
177
|
+
self.class.attribute_map.each_pair do |attr, param|
|
178
|
+
value = self.send(attr)
|
179
|
+
next if value.nil?
|
180
|
+
hash[param] = _to_hash(value)
|
181
|
+
end
|
182
|
+
hash
|
183
|
+
end
|
184
|
+
|
185
|
+
# Outputs non-array value in the form of hash
|
186
|
+
# For object, use to_hash. Otherwise, just return the value
|
187
|
+
# @param [Object] value Any valid value
|
188
|
+
# @return [Hash] Returns the value in the form of hash
|
189
|
+
def _to_hash(value)
|
190
|
+
if value.is_a?(Array)
|
191
|
+
value.compact.map { |v| _to_hash(v) }
|
192
|
+
elsif value.is_a?(Hash)
|
193
|
+
{}.tap do |hash|
|
194
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
195
|
+
end
|
196
|
+
elsif value.respond_to? :to_hash
|
197
|
+
value.to_hash
|
198
|
+
else
|
199
|
+
value
|
200
|
+
end
|
201
|
+
end
|
202
|
+
|
203
|
+
end
|
204
|
+
end
|
@@ -23,6 +23,9 @@ module DocuSign_eSign
|
|
23
23
|
#
|
24
24
|
attr_accessor :display
|
25
25
|
|
26
|
+
#
|
27
|
+
attr_accessor :doc_gen_form_fields
|
28
|
+
|
26
29
|
# The document's bytes. This field can be used to include a base64 version of the document bytes within an envelope definition instead of sending the document using a multi-part HTTP request. The maximum document size is smaller if this field is used due to the overhead of the base64 encoding.
|
27
30
|
attr_accessor :document_base64
|
28
31
|
|
@@ -47,6 +50,9 @@ module DocuSign_eSign
|
|
47
50
|
#
|
48
51
|
attr_accessor :include_in_download
|
49
52
|
|
53
|
+
#
|
54
|
+
attr_accessor :is_doc_gen_document
|
55
|
+
|
50
56
|
# Matchboxes define areas in a document for document matching when you are creating envelopes. They are only used when you upload and edit a template. A matchbox consists of 5 elements: * pageNumber - The document page number on which the matchbox will appear. * xPosition - The x position of the matchbox on a page. * yPosition - The y position of the matchbox on a page. * width - The width of the matchbox. * height - The height of the matchbox.
|
51
57
|
attr_accessor :match_boxes
|
52
58
|
|
@@ -95,6 +101,7 @@ module DocuSign_eSign
|
|
95
101
|
:'apply_anchor_tabs' => :'applyAnchorTabs',
|
96
102
|
:'assign_tabs_to_recipient_id' => :'assignTabsToRecipientId',
|
97
103
|
:'display' => :'display',
|
104
|
+
:'doc_gen_form_fields' => :'docGenFormFields',
|
98
105
|
:'document_base64' => :'documentBase64',
|
99
106
|
:'document_fields' => :'documentFields',
|
100
107
|
:'document_id' => :'documentId',
|
@@ -103,6 +110,7 @@ module DocuSign_eSign
|
|
103
110
|
:'file_format_hint' => :'fileFormatHint',
|
104
111
|
:'html_definition' => :'htmlDefinition',
|
105
112
|
:'include_in_download' => :'includeInDownload',
|
113
|
+
:'is_doc_gen_document' => :'isDocGenDocument',
|
106
114
|
:'match_boxes' => :'matchBoxes',
|
107
115
|
:'name' => :'name',
|
108
116
|
:'order' => :'order',
|
@@ -126,6 +134,7 @@ module DocuSign_eSign
|
|
126
134
|
:'apply_anchor_tabs' => :'String',
|
127
135
|
:'assign_tabs_to_recipient_id' => :'String',
|
128
136
|
:'display' => :'String',
|
137
|
+
:'doc_gen_form_fields' => :'Array<DocGenFormField>',
|
129
138
|
:'document_base64' => :'String',
|
130
139
|
:'document_fields' => :'Array<NameValue>',
|
131
140
|
:'document_id' => :'String',
|
@@ -134,6 +143,7 @@ module DocuSign_eSign
|
|
134
143
|
:'file_format_hint' => :'String',
|
135
144
|
:'html_definition' => :'DocumentHtmlDefinition',
|
136
145
|
:'include_in_download' => :'String',
|
146
|
+
:'is_doc_gen_document' => :'String',
|
137
147
|
:'match_boxes' => :'Array<MatchBox>',
|
138
148
|
:'name' => :'String',
|
139
149
|
:'order' => :'String',
|
@@ -171,6 +181,12 @@ module DocuSign_eSign
|
|
171
181
|
self.display = attributes[:'display']
|
172
182
|
end
|
173
183
|
|
184
|
+
if attributes.has_key?(:'docGenFormFields')
|
185
|
+
if (value = attributes[:'docGenFormFields']).is_a?(Array)
|
186
|
+
self.doc_gen_form_fields = value
|
187
|
+
end
|
188
|
+
end
|
189
|
+
|
174
190
|
if attributes.has_key?(:'documentBase64')
|
175
191
|
self.document_base64 = attributes[:'documentBase64']
|
176
192
|
end
|
@@ -205,6 +221,10 @@ module DocuSign_eSign
|
|
205
221
|
self.include_in_download = attributes[:'includeInDownload']
|
206
222
|
end
|
207
223
|
|
224
|
+
if attributes.has_key?(:'isDocGenDocument')
|
225
|
+
self.is_doc_gen_document = attributes[:'isDocGenDocument']
|
226
|
+
end
|
227
|
+
|
208
228
|
if attributes.has_key?(:'matchBoxes')
|
209
229
|
if (value = attributes[:'matchBoxes']).is_a?(Array)
|
210
230
|
self.match_boxes = value
|
@@ -285,6 +305,7 @@ module DocuSign_eSign
|
|
285
305
|
apply_anchor_tabs == o.apply_anchor_tabs &&
|
286
306
|
assign_tabs_to_recipient_id == o.assign_tabs_to_recipient_id &&
|
287
307
|
display == o.display &&
|
308
|
+
doc_gen_form_fields == o.doc_gen_form_fields &&
|
288
309
|
document_base64 == o.document_base64 &&
|
289
310
|
document_fields == o.document_fields &&
|
290
311
|
document_id == o.document_id &&
|
@@ -293,6 +314,7 @@ module DocuSign_eSign
|
|
293
314
|
file_format_hint == o.file_format_hint &&
|
294
315
|
html_definition == o.html_definition &&
|
295
316
|
include_in_download == o.include_in_download &&
|
317
|
+
is_doc_gen_document == o.is_doc_gen_document &&
|
296
318
|
match_boxes == o.match_boxes &&
|
297
319
|
name == o.name &&
|
298
320
|
order == o.order &&
|
@@ -318,7 +340,7 @@ module DocuSign_eSign
|
|
318
340
|
# Calculates hash code according to all attributes.
|
319
341
|
# @return [Fixnum] Hash code
|
320
342
|
def hash
|
321
|
-
[apply_anchor_tabs, assign_tabs_to_recipient_id, display, document_base64, document_fields, document_id, encrypted_with_key_manager, file_extension, file_format_hint, html_definition, include_in_download, match_boxes, name, order, pages, password, pdf_form_field_option, remote_url, signer_must_acknowledge, signer_must_acknowledge_use_account_default, tabs, template_locked, template_required, transform_pdf_fields, uri].hash
|
343
|
+
[apply_anchor_tabs, assign_tabs_to_recipient_id, display, doc_gen_form_fields, document_base64, document_fields, document_id, encrypted_with_key_manager, file_extension, file_format_hint, html_definition, include_in_download, is_doc_gen_document, match_boxes, name, order, pages, password, pdf_form_field_option, remote_url, signer_must_acknowledge, signer_must_acknowledge_use_account_default, tabs, template_locked, template_required, transform_pdf_fields, uri].hash
|
322
344
|
end
|
323
345
|
|
324
346
|
# Builds the object from hash
|
@@ -52,6 +52,9 @@ module DocuSign_eSign
|
|
52
52
|
#
|
53
53
|
attr_accessor :brand_lock
|
54
54
|
|
55
|
+
#
|
56
|
+
attr_accessor :burn_default_tab_data
|
57
|
+
|
55
58
|
# Retrieves a URI for an endpoint that allows you to easily retrieve certificate information.
|
56
59
|
attr_accessor :certificate_uri
|
57
60
|
|
@@ -263,6 +266,7 @@ module DocuSign_eSign
|
|
263
266
|
:'auto_navigation' => :'autoNavigation',
|
264
267
|
:'brand_id' => :'brandId',
|
265
268
|
:'brand_lock' => :'brandLock',
|
269
|
+
:'burn_default_tab_data' => :'burnDefaultTabData',
|
266
270
|
:'certificate_uri' => :'certificateUri',
|
267
271
|
:'completed_date_time' => :'completedDateTime',
|
268
272
|
:'copy_recipient_data' => :'copyRecipientData',
|
@@ -347,6 +351,7 @@ module DocuSign_eSign
|
|
347
351
|
:'auto_navigation' => :'String',
|
348
352
|
:'brand_id' => :'String',
|
349
353
|
:'brand_lock' => :'String',
|
354
|
+
:'burn_default_tab_data' => :'String',
|
350
355
|
:'certificate_uri' => :'String',
|
351
356
|
:'completed_date_time' => :'String',
|
352
357
|
:'copy_recipient_data' => :'String',
|
@@ -475,6 +480,10 @@ module DocuSign_eSign
|
|
475
480
|
self.brand_lock = attributes[:'brandLock']
|
476
481
|
end
|
477
482
|
|
483
|
+
if attributes.has_key?(:'burnDefaultTabData')
|
484
|
+
self.burn_default_tab_data = attributes[:'burnDefaultTabData']
|
485
|
+
end
|
486
|
+
|
478
487
|
if attributes.has_key?(:'certificateUri')
|
479
488
|
self.certificate_uri = attributes[:'certificateUri']
|
480
489
|
end
|
@@ -773,6 +782,7 @@ module DocuSign_eSign
|
|
773
782
|
auto_navigation == o.auto_navigation &&
|
774
783
|
brand_id == o.brand_id &&
|
775
784
|
brand_lock == o.brand_lock &&
|
785
|
+
burn_default_tab_data == o.burn_default_tab_data &&
|
776
786
|
certificate_uri == o.certificate_uri &&
|
777
787
|
completed_date_time == o.completed_date_time &&
|
778
788
|
copy_recipient_data == o.copy_recipient_data &&
|
@@ -849,7 +859,7 @@ module DocuSign_eSign
|
|
849
859
|
# Calculates hash code according to all attributes.
|
850
860
|
# @return [Fixnum] Hash code
|
851
861
|
def hash
|
852
|
-
[access_control_list_base64, allow_comments, allow_markup, allow_reassign, allow_view_history, any_signer, asynchronous, attachments_uri, authoritative_copy, authoritative_copy_default, auto_navigation, brand_id, brand_lock, certificate_uri, completed_date_time, copy_recipient_data, created_date_time, custom_fields, custom_fields_uri, declined_date_time, deleted_date_time, delivered_date_time, disable_responsive_document, document_base64, documents_combined_uri, documents_uri, email_blurb, email_settings, email_subject, enable_wet_sign, enforce_signer_visibility, envelope_attachments, envelope_custom_metadata, envelope_documents, envelope_id, envelope_id_stamping, envelope_location, envelope_metadata, envelope_uri, expire_after, expire_date_time, expire_enabled, external_envelope_id, folders, has_comments, has_form_data_changed, has_wav_file, holder, initial_sent_date_time, is21_cfr_part11, is_dynamic_envelope, is_signature_provider_envelope, last_modified_date_time, location, lock_information, message_lock, notification, notification_uri, power_form, purge_completed_date, purge_request_date, purge_state, recipients, recipients_lock, recipients_uri, sender, sent_date_time, signer_can_sign_on_mobile, signing_location, status, status_changed_date_time, status_date_time, templates_uri, transaction_id, use_disclosure, voided_date_time, voided_reason, workflow].hash
|
862
|
+
[access_control_list_base64, allow_comments, allow_markup, allow_reassign, allow_view_history, any_signer, asynchronous, attachments_uri, authoritative_copy, authoritative_copy_default, auto_navigation, brand_id, brand_lock, burn_default_tab_data, certificate_uri, completed_date_time, copy_recipient_data, created_date_time, custom_fields, custom_fields_uri, declined_date_time, deleted_date_time, delivered_date_time, disable_responsive_document, document_base64, documents_combined_uri, documents_uri, email_blurb, email_settings, email_subject, enable_wet_sign, enforce_signer_visibility, envelope_attachments, envelope_custom_metadata, envelope_documents, envelope_id, envelope_id_stamping, envelope_location, envelope_metadata, envelope_uri, expire_after, expire_date_time, expire_enabled, external_envelope_id, folders, has_comments, has_form_data_changed, has_wav_file, holder, initial_sent_date_time, is21_cfr_part11, is_dynamic_envelope, is_signature_provider_envelope, last_modified_date_time, location, lock_information, message_lock, notification, notification_uri, power_form, purge_completed_date, purge_request_date, purge_state, recipients, recipients_lock, recipients_uri, sender, sent_date_time, signer_can_sign_on_mobile, signing_location, status, status_changed_date_time, status_date_time, templates_uri, transaction_id, use_disclosure, voided_date_time, voided_reason, workflow].hash
|
853
863
|
end
|
854
864
|
|
855
865
|
# Builds the object from hash
|
@@ -62,6 +62,9 @@ module DocuSign_eSign
|
|
62
62
|
#
|
63
63
|
attr_accessor :brand_lock
|
64
64
|
|
65
|
+
#
|
66
|
+
attr_accessor :burn_default_tab_data
|
67
|
+
|
65
68
|
# Retrieves a URI for an endpoint that allows you to easily retrieve certificate information.
|
66
69
|
attr_accessor :certificate_uri
|
67
70
|
|
@@ -300,6 +303,7 @@ module DocuSign_eSign
|
|
300
303
|
:'auto_navigation' => :'autoNavigation',
|
301
304
|
:'brand_id' => :'brandId',
|
302
305
|
:'brand_lock' => :'brandLock',
|
306
|
+
:'burn_default_tab_data' => :'burnDefaultTabData',
|
303
307
|
:'certificate_uri' => :'certificateUri',
|
304
308
|
:'completed_date_time' => :'completedDateTime',
|
305
309
|
:'composite_templates' => :'compositeTemplates',
|
@@ -395,6 +399,7 @@ module DocuSign_eSign
|
|
395
399
|
:'auto_navigation' => :'String',
|
396
400
|
:'brand_id' => :'String',
|
397
401
|
:'brand_lock' => :'String',
|
402
|
+
:'burn_default_tab_data' => :'String',
|
398
403
|
:'certificate_uri' => :'String',
|
399
404
|
:'completed_date_time' => :'String',
|
400
405
|
:'composite_templates' => :'Array<CompositeTemplate>',
|
@@ -545,6 +550,10 @@ module DocuSign_eSign
|
|
545
550
|
self.brand_lock = attributes[:'brandLock']
|
546
551
|
end
|
547
552
|
|
553
|
+
if attributes.has_key?(:'burnDefaultTabData')
|
554
|
+
self.burn_default_tab_data = attributes[:'burnDefaultTabData']
|
555
|
+
end
|
556
|
+
|
548
557
|
if attributes.has_key?(:'certificateUri')
|
549
558
|
self.certificate_uri = attributes[:'certificateUri']
|
550
559
|
end
|
@@ -886,6 +895,7 @@ module DocuSign_eSign
|
|
886
895
|
auto_navigation == o.auto_navigation &&
|
887
896
|
brand_id == o.brand_id &&
|
888
897
|
brand_lock == o.brand_lock &&
|
898
|
+
burn_default_tab_data == o.burn_default_tab_data &&
|
889
899
|
certificate_uri == o.certificate_uri &&
|
890
900
|
completed_date_time == o.completed_date_time &&
|
891
901
|
composite_templates == o.composite_templates &&
|
@@ -970,7 +980,7 @@ module DocuSign_eSign
|
|
970
980
|
# Calculates hash code according to all attributes.
|
971
981
|
# @return [Fixnum] Hash code
|
972
982
|
def hash
|
973
|
-
[access_control_list_base64, accessibility, allow_comments, allow_markup, allow_reassign, allow_recipient_recursion, allow_view_history, any_signer, asynchronous, attachments, attachments_uri, authoritative_copy, authoritative_copy_default, auto_navigation, brand_id, brand_lock, certificate_uri, completed_date_time, composite_templates, copy_recipient_data, created_date_time, custom_fields, custom_fields_uri, declined_date_time, deleted_date_time, delivered_date_time, disable_responsive_document, document_base64, documents, documents_combined_uri, documents_uri, email_blurb, email_settings, email_subject, enable_wet_sign, enforce_signer_visibility, envelope_attachments, envelope_custom_metadata, envelope_documents, envelope_id, envelope_id_stamping, envelope_location, envelope_metadata, envelope_uri, event_notification, event_notifications, expire_after, expire_date_time, expire_enabled, external_envelope_id, folders, has_comments, has_form_data_changed, has_wav_file, holder, initial_sent_date_time, is21_cfr_part11, is_dynamic_envelope, is_signature_provider_envelope, last_modified_date_time, location, lock_information, message_lock, notification, notification_uri, password, power_form, purge_completed_date, purge_request_date, purge_state, recipients, recipients_lock, recipients_uri, recipient_view_request, sender, sent_date_time, signer_can_sign_on_mobile, signing_location, status, status_changed_date_time, status_date_time, template_id, template_roles, templates_uri, transaction_id, use_disclosure, voided_date_time, voided_reason, workflow].hash
|
983
|
+
[access_control_list_base64, accessibility, allow_comments, allow_markup, allow_reassign, allow_recipient_recursion, allow_view_history, any_signer, asynchronous, attachments, attachments_uri, authoritative_copy, authoritative_copy_default, auto_navigation, brand_id, brand_lock, burn_default_tab_data, certificate_uri, completed_date_time, composite_templates, copy_recipient_data, created_date_time, custom_fields, custom_fields_uri, declined_date_time, deleted_date_time, delivered_date_time, disable_responsive_document, document_base64, documents, documents_combined_uri, documents_uri, email_blurb, email_settings, email_subject, enable_wet_sign, enforce_signer_visibility, envelope_attachments, envelope_custom_metadata, envelope_documents, envelope_id, envelope_id_stamping, envelope_location, envelope_metadata, envelope_uri, event_notification, event_notifications, expire_after, expire_date_time, expire_enabled, external_envelope_id, folders, has_comments, has_form_data_changed, has_wav_file, holder, initial_sent_date_time, is21_cfr_part11, is_dynamic_envelope, is_signature_provider_envelope, last_modified_date_time, location, lock_information, message_lock, notification, notification_uri, password, power_form, purge_completed_date, purge_request_date, purge_state, recipients, recipients_lock, recipients_uri, recipient_view_request, sender, sent_date_time, signer_can_sign_on_mobile, signing_location, status, status_changed_date_time, status_date_time, template_id, template_roles, templates_uri, transaction_id, use_disclosure, voided_date_time, voided_reason, workflow].hash
|
974
984
|
end
|
975
985
|
|
976
986
|
# Builds the object from hash
|
@@ -12,11 +12,12 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
12
12
|
require 'date'
|
13
13
|
|
14
14
|
module DocuSign_eSign
|
15
|
+
# An envelope delay rule is a rule which determines how the envelope should be delayed either for sending or routing. It can expressed as either a delay in some number of days, hours, minutes and seconds or an exact resumeDate in the future.
|
15
16
|
class EnvelopeDelayRule
|
16
|
-
#
|
17
|
+
# A string timespan duration represented as d.hh:mm:ss where the d component is days, hh is hours measured on a 24-hour clock, mm is minutes and ss is seconds, indicating the expected delay for this envelope rule. The maximum delay is 30 days.
|
17
18
|
attr_accessor :delay
|
18
19
|
|
19
|
-
#
|
20
|
+
# A string formatted as an ISO 8601 DATETIME with TimeZone specified, indicating the expected resumeDate for this envelope rule. The specified datetime must occur in the future relative to the current UTC time hen the request is made. The maximum resumeDate must not exceed 30 days in the future.
|
20
21
|
attr_accessor :resume_date
|
21
22
|
|
22
23
|
# Attribute mapping from ruby-style variable name to JSON key.
|