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
@@ -20,6 +20,11 @@ module DocuSign_eSign
|
|
20
20
|
#
|
21
21
|
attr_accessor :ask_an_admin
|
22
22
|
|
23
|
+
#
|
24
|
+
attr_accessor :clickwrap_schema_version
|
25
|
+
|
26
|
+
attr_accessor :clickwrap_schema_version_metadata
|
27
|
+
|
23
28
|
#
|
24
29
|
attr_accessor :enable_admin_message
|
25
30
|
|
@@ -102,6 +107,8 @@ module DocuSign_eSign
|
|
102
107
|
{
|
103
108
|
:'admin_message' => :'adminMessage',
|
104
109
|
:'ask_an_admin' => :'askAnAdmin',
|
110
|
+
:'clickwrap_schema_version' => :'clickwrapSchemaVersion',
|
111
|
+
:'clickwrap_schema_version_metadata' => :'clickwrapSchemaVersionMetadata',
|
105
112
|
:'enable_admin_message' => :'enableAdminMessage',
|
106
113
|
:'enable_admin_message_metadata' => :'enableAdminMessageMetadata',
|
107
114
|
:'enable_easy_sign_can_use_multi_template_apply' => :'enableEasySignCanUseMultiTemplateApply',
|
@@ -136,6 +143,8 @@ module DocuSign_eSign
|
|
136
143
|
{
|
137
144
|
:'admin_message' => :'AdminMessage',
|
138
145
|
:'ask_an_admin' => :'AskAnAdmin',
|
146
|
+
:'clickwrap_schema_version' => :'String',
|
147
|
+
:'clickwrap_schema_version_metadata' => :'SettingsMetadata',
|
139
148
|
:'enable_admin_message' => :'String',
|
140
149
|
:'enable_admin_message_metadata' => :'SettingsMetadata',
|
141
150
|
:'enable_easy_sign_can_use_multi_template_apply' => :'String',
|
@@ -181,6 +190,14 @@ module DocuSign_eSign
|
|
181
190
|
self.ask_an_admin = attributes[:'askAnAdmin']
|
182
191
|
end
|
183
192
|
|
193
|
+
if attributes.has_key?(:'clickwrapSchemaVersion')
|
194
|
+
self.clickwrap_schema_version = attributes[:'clickwrapSchemaVersion']
|
195
|
+
end
|
196
|
+
|
197
|
+
if attributes.has_key?(:'clickwrapSchemaVersionMetadata')
|
198
|
+
self.clickwrap_schema_version_metadata = attributes[:'clickwrapSchemaVersionMetadata']
|
199
|
+
end
|
200
|
+
|
184
201
|
if attributes.has_key?(:'enableAdminMessage')
|
185
202
|
self.enable_admin_message = attributes[:'enableAdminMessage']
|
186
203
|
end
|
@@ -306,6 +323,8 @@ module DocuSign_eSign
|
|
306
323
|
self.class == o.class &&
|
307
324
|
admin_message == o.admin_message &&
|
308
325
|
ask_an_admin == o.ask_an_admin &&
|
326
|
+
clickwrap_schema_version == o.clickwrap_schema_version &&
|
327
|
+
clickwrap_schema_version_metadata == o.clickwrap_schema_version_metadata &&
|
309
328
|
enable_admin_message == o.enable_admin_message &&
|
310
329
|
enable_admin_message_metadata == o.enable_admin_message_metadata &&
|
311
330
|
enable_easy_sign_can_use_multi_template_apply == o.enable_easy_sign_can_use_multi_template_apply &&
|
@@ -343,7 +362,7 @@ module DocuSign_eSign
|
|
343
362
|
# Calculates hash code according to all attributes.
|
344
363
|
# @return [Fixnum] Hash code
|
345
364
|
def hash
|
346
|
-
[admin_message, ask_an_admin, enable_admin_message, enable_admin_message_metadata, enable_easy_sign_can_use_multi_template_apply, enable_easy_sign_can_use_multi_template_apply_metadata, enable_easy_sign_template_upload, enable_easy_sign_template_upload_metadata, enable_envelope_copy_with_data, enable_envelope_copy_with_data_metadata, enable_legacy_sendflow_link, enable_legacy_sendflow_link_metadata, has_external_linked_accounts, has_external_linked_accounts_metadata, hide_send_an_envelope, hide_send_an_envelope_metadata, hide_use_a_template, hide_use_a_template_in_prepare, hide_use_a_template_in_prepare_metadata, hide_use_a_template_metadata, order_based_recipient_id_generation, order_based_recipient_id_generation_metadata, remove_envelope_forwarding, remove_envelope_forwarding_metadata, should_redact_access_code, should_redact_access_code_metadata, upload_new_image_to_sign_or_initial, upload_new_image_to_sign_or_initial_metadata].hash
|
365
|
+
[admin_message, ask_an_admin, clickwrap_schema_version, clickwrap_schema_version_metadata, enable_admin_message, enable_admin_message_metadata, enable_easy_sign_can_use_multi_template_apply, enable_easy_sign_can_use_multi_template_apply_metadata, enable_easy_sign_template_upload, enable_easy_sign_template_upload_metadata, enable_envelope_copy_with_data, enable_envelope_copy_with_data_metadata, enable_legacy_sendflow_link, enable_legacy_sendflow_link_metadata, has_external_linked_accounts, has_external_linked_accounts_metadata, hide_send_an_envelope, hide_send_an_envelope_metadata, hide_use_a_template, hide_use_a_template_in_prepare, hide_use_a_template_in_prepare_metadata, hide_use_a_template_metadata, order_based_recipient_id_generation, order_based_recipient_id_generation_metadata, remove_envelope_forwarding, remove_envelope_forwarding_metadata, should_redact_access_code, should_redact_access_code_metadata, upload_new_image_to_sign_or_initial, upload_new_image_to_sign_or_initial_metadata].hash
|
347
366
|
end
|
348
367
|
|
349
368
|
# Builds the object from hash
|
@@ -17,6 +17,9 @@ module DocuSign_eSign
|
|
17
17
|
# An optional array of strings that allows the sender to provide custom data about the recipient. This information is returned in the envelope status but otherwise not used by DocuSign. Each customField string can be a maximum of 100 characters.
|
18
18
|
attr_accessor :custom_fields
|
19
19
|
|
20
|
+
#
|
21
|
+
attr_accessor :doc_gen_form_fields
|
22
|
+
|
20
23
|
#
|
21
24
|
attr_accessor :email_blurb
|
22
25
|
|
@@ -30,6 +33,7 @@ module DocuSign_eSign
|
|
30
33
|
def self.attribute_map
|
31
34
|
{
|
32
35
|
:'custom_fields' => :'customFields',
|
36
|
+
:'doc_gen_form_fields' => :'docGenFormFields',
|
33
37
|
:'email_blurb' => :'emailBlurb',
|
34
38
|
:'email_subject' => :'emailSubject',
|
35
39
|
:'recipients' => :'recipients'
|
@@ -40,6 +44,7 @@ module DocuSign_eSign
|
|
40
44
|
def self.swagger_types
|
41
45
|
{
|
42
46
|
:'custom_fields' => :'Array<BulkSendingCopyCustomField>',
|
47
|
+
:'doc_gen_form_fields' => :'Array<BulksendingCopyDocGenFormField>',
|
43
48
|
:'email_blurb' => :'String',
|
44
49
|
:'email_subject' => :'String',
|
45
50
|
:'recipients' => :'Array<BulkSendingCopyRecipient>'
|
@@ -60,6 +65,12 @@ module DocuSign_eSign
|
|
60
65
|
end
|
61
66
|
end
|
62
67
|
|
68
|
+
if attributes.has_key?(:'docGenFormFields')
|
69
|
+
if (value = attributes[:'docGenFormFields']).is_a?(Array)
|
70
|
+
self.doc_gen_form_fields = value
|
71
|
+
end
|
72
|
+
end
|
73
|
+
|
63
74
|
if attributes.has_key?(:'emailBlurb')
|
64
75
|
self.email_blurb = attributes[:'emailBlurb']
|
65
76
|
end
|
@@ -94,6 +105,7 @@ module DocuSign_eSign
|
|
94
105
|
return true if self.equal?(o)
|
95
106
|
self.class == o.class &&
|
96
107
|
custom_fields == o.custom_fields &&
|
108
|
+
doc_gen_form_fields == o.doc_gen_form_fields &&
|
97
109
|
email_blurb == o.email_blurb &&
|
98
110
|
email_subject == o.email_subject &&
|
99
111
|
recipients == o.recipients
|
@@ -108,7 +120,7 @@ module DocuSign_eSign
|
|
108
120
|
# Calculates hash code according to all attributes.
|
109
121
|
# @return [Fixnum] Hash code
|
110
122
|
def hash
|
111
|
-
[custom_fields, email_blurb, email_subject, recipients].hash
|
123
|
+
[custom_fields, doc_gen_form_fields, email_blurb, email_subject, recipients].hash
|
112
124
|
end
|
113
125
|
|
114
126
|
# Builds the object from hash
|
@@ -53,6 +53,8 @@ module DocuSign_eSign
|
|
53
53
|
#
|
54
54
|
attr_accessor :identification_method
|
55
55
|
|
56
|
+
attr_accessor :identity_verification
|
57
|
+
|
56
58
|
#
|
57
59
|
attr_accessor :name
|
58
60
|
|
@@ -102,6 +104,7 @@ module DocuSign_eSign
|
|
102
104
|
:'id_check_configuration_name' => :'idCheckConfigurationName',
|
103
105
|
:'id_check_information_input' => :'idCheckInformationInput',
|
104
106
|
:'identification_method' => :'identificationMethod',
|
107
|
+
:'identity_verification' => :'identityVerification',
|
105
108
|
:'name' => :'name',
|
106
109
|
:'note' => :'note',
|
107
110
|
:'phone_authentication' => :'phoneAuthentication',
|
@@ -132,6 +135,7 @@ module DocuSign_eSign
|
|
132
135
|
:'id_check_configuration_name' => :'String',
|
133
136
|
:'id_check_information_input' => :'IdCheckInformationInput',
|
134
137
|
:'identification_method' => :'String',
|
138
|
+
:'identity_verification' => :'RecipientIdentityVerification',
|
135
139
|
:'name' => :'String',
|
136
140
|
:'note' => :'String',
|
137
141
|
:'phone_authentication' => :'RecipientPhoneAuthentication',
|
@@ -208,6 +212,10 @@ module DocuSign_eSign
|
|
208
212
|
self.identification_method = attributes[:'identificationMethod']
|
209
213
|
end
|
210
214
|
|
215
|
+
if attributes.has_key?(:'identityVerification')
|
216
|
+
self.identity_verification = attributes[:'identityVerification']
|
217
|
+
end
|
218
|
+
|
211
219
|
if attributes.has_key?(:'name')
|
212
220
|
self.name = attributes[:'name']
|
213
221
|
end
|
@@ -290,6 +298,7 @@ module DocuSign_eSign
|
|
290
298
|
id_check_configuration_name == o.id_check_configuration_name &&
|
291
299
|
id_check_information_input == o.id_check_information_input &&
|
292
300
|
identification_method == o.identification_method &&
|
301
|
+
identity_verification == o.identity_verification &&
|
293
302
|
name == o.name &&
|
294
303
|
note == o.note &&
|
295
304
|
phone_authentication == o.phone_authentication &&
|
@@ -312,7 +321,7 @@ module DocuSign_eSign
|
|
312
321
|
# Calculates hash code according to all attributes.
|
313
322
|
# @return [Fixnum] Hash code
|
314
323
|
def hash
|
315
|
-
[access_code, client_user_id, custom_fields, delivery_method, email, email_notification, embedded_recipient_start_url, fax_number, host_email, host_name, id_check_configuration_name, id_check_information_input, identification_method, name, note, phone_authentication, recipient_id, recipient_signature_providers, role_name, signer_name, signing_group_id, sms_authentication, social_authentications, tabs].hash
|
324
|
+
[access_code, client_user_id, custom_fields, delivery_method, email, email_notification, embedded_recipient_start_url, fax_number, host_email, host_name, id_check_configuration_name, id_check_information_input, identification_method, identity_verification, name, note, phone_authentication, recipient_id, recipient_signature_providers, role_name, signer_name, signing_group_id, sms_authentication, social_authentications, tabs].hash
|
316
325
|
end
|
317
326
|
|
318
327
|
# Builds the object from hash
|
@@ -0,0 +1,194 @@
|
|
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 BulksendingCopyDocGenFormField
|
16
|
+
#
|
17
|
+
attr_accessor :label
|
18
|
+
|
19
|
+
# Specifies the value of the tab.
|
20
|
+
attr_accessor :value
|
21
|
+
|
22
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
23
|
+
def self.attribute_map
|
24
|
+
{
|
25
|
+
:'label' => :'label',
|
26
|
+
:'value' => :'value'
|
27
|
+
}
|
28
|
+
end
|
29
|
+
|
30
|
+
# Attribute type mapping.
|
31
|
+
def self.swagger_types
|
32
|
+
{
|
33
|
+
:'label' => :'String',
|
34
|
+
:'value' => :'String'
|
35
|
+
}
|
36
|
+
end
|
37
|
+
|
38
|
+
# Initializes the object
|
39
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
40
|
+
def initialize(attributes = {})
|
41
|
+
return unless attributes.is_a?(Hash)
|
42
|
+
|
43
|
+
# convert string to symbol for hash key
|
44
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
45
|
+
|
46
|
+
if attributes.has_key?(:'label')
|
47
|
+
self.label = attributes[:'label']
|
48
|
+
end
|
49
|
+
|
50
|
+
if attributes.has_key?(:'value')
|
51
|
+
self.value = attributes[:'value']
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
56
|
+
# @return Array for valid properties with the reasons
|
57
|
+
def list_invalid_properties
|
58
|
+
invalid_properties = Array.new
|
59
|
+
invalid_properties
|
60
|
+
end
|
61
|
+
|
62
|
+
# Check to see if the all the properties in the model are valid
|
63
|
+
# @return true if the model is valid
|
64
|
+
def valid?
|
65
|
+
true
|
66
|
+
end
|
67
|
+
|
68
|
+
# Checks equality by comparing each attribute.
|
69
|
+
# @param [Object] Object to be compared
|
70
|
+
def ==(o)
|
71
|
+
return true if self.equal?(o)
|
72
|
+
self.class == o.class &&
|
73
|
+
label == o.label &&
|
74
|
+
value == o.value
|
75
|
+
end
|
76
|
+
|
77
|
+
# @see the `==` method
|
78
|
+
# @param [Object] Object to be compared
|
79
|
+
def eql?(o)
|
80
|
+
self == o
|
81
|
+
end
|
82
|
+
|
83
|
+
# Calculates hash code according to all attributes.
|
84
|
+
# @return [Fixnum] Hash code
|
85
|
+
def hash
|
86
|
+
[label, value].hash
|
87
|
+
end
|
88
|
+
|
89
|
+
# Builds the object from hash
|
90
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
91
|
+
# @return [Object] Returns the model itself
|
92
|
+
def build_from_hash(attributes)
|
93
|
+
return nil unless attributes.is_a?(Hash)
|
94
|
+
self.class.swagger_types.each_pair do |key, type|
|
95
|
+
if type =~ /\AArray<(.*)>/i
|
96
|
+
# check to ensure the input is an array given that the attribute
|
97
|
+
# is documented as an array but the input is not
|
98
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
99
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
100
|
+
end
|
101
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
102
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
103
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
104
|
+
end
|
105
|
+
|
106
|
+
self
|
107
|
+
end
|
108
|
+
|
109
|
+
# Deserializes the data based on type
|
110
|
+
# @param string type Data type
|
111
|
+
# @param string value Value to be deserialized
|
112
|
+
# @return [Object] Deserialized data
|
113
|
+
def _deserialize(type, value)
|
114
|
+
case type.to_sym
|
115
|
+
when :DateTime
|
116
|
+
DateTime.parse(value)
|
117
|
+
when :Date
|
118
|
+
Date.parse(value)
|
119
|
+
when :String
|
120
|
+
value.to_s
|
121
|
+
when :Integer
|
122
|
+
value.to_i
|
123
|
+
when :Float
|
124
|
+
value.to_f
|
125
|
+
when :BOOLEAN
|
126
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
127
|
+
true
|
128
|
+
else
|
129
|
+
false
|
130
|
+
end
|
131
|
+
when :Object
|
132
|
+
# generic object (usually a Hash), return directly
|
133
|
+
value
|
134
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
135
|
+
inner_type = Regexp.last_match[:inner_type]
|
136
|
+
value.map { |v| _deserialize(inner_type, v) }
|
137
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
138
|
+
k_type = Regexp.last_match[:k_type]
|
139
|
+
v_type = Regexp.last_match[:v_type]
|
140
|
+
{}.tap do |hash|
|
141
|
+
value.each do |k, v|
|
142
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
143
|
+
end
|
144
|
+
end
|
145
|
+
else # model
|
146
|
+
temp_model = DocuSign_eSign.const_get(type).new
|
147
|
+
temp_model.build_from_hash(value)
|
148
|
+
end
|
149
|
+
end
|
150
|
+
|
151
|
+
# Returns the string representation of the object
|
152
|
+
# @return [String] String presentation of the object
|
153
|
+
def to_s
|
154
|
+
to_hash.to_s
|
155
|
+
end
|
156
|
+
|
157
|
+
# to_body is an alias to to_hash (backward compatibility)
|
158
|
+
# @return [Hash] Returns the object in the form of hash
|
159
|
+
def to_body
|
160
|
+
to_hash
|
161
|
+
end
|
162
|
+
|
163
|
+
# Returns the object in the form of hash
|
164
|
+
# @return [Hash] Returns the object in the form of hash
|
165
|
+
def to_hash
|
166
|
+
hash = {}
|
167
|
+
self.class.attribute_map.each_pair do |attr, param|
|
168
|
+
value = self.send(attr)
|
169
|
+
next if value.nil?
|
170
|
+
hash[param] = _to_hash(value)
|
171
|
+
end
|
172
|
+
hash
|
173
|
+
end
|
174
|
+
|
175
|
+
# Outputs non-array value in the form of hash
|
176
|
+
# For object, use to_hash. Otherwise, just return the value
|
177
|
+
# @param [Object] value Any valid value
|
178
|
+
# @return [Hash] Returns the value in the form of hash
|
179
|
+
def _to_hash(value)
|
180
|
+
if value.is_a?(Array)
|
181
|
+
value.compact.map { |v| _to_hash(v) }
|
182
|
+
elsif value.is_a?(Hash)
|
183
|
+
{}.tap do |hash|
|
184
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
185
|
+
end
|
186
|
+
elsif value.respond_to? :to_hash
|
187
|
+
value.to_hash
|
188
|
+
else
|
189
|
+
value
|
190
|
+
end
|
191
|
+
end
|
192
|
+
|
193
|
+
end
|
194
|
+
end
|
@@ -77,12 +77,18 @@ module DocuSign_eSign
|
|
77
77
|
#
|
78
78
|
attr_accessor :include_hmac
|
79
79
|
|
80
|
+
#
|
81
|
+
attr_accessor :include_o_auth
|
82
|
+
|
80
83
|
# When set to **true**, Connect will include the sender account as Custom Field in the data.
|
81
84
|
attr_accessor :include_sender_accountas_custom_field
|
82
85
|
|
83
86
|
# When set to **true**, Connect will include the envelope time zone information.
|
84
87
|
attr_accessor :include_time_zone_information
|
85
88
|
|
89
|
+
#
|
90
|
+
attr_accessor :integrator_managed
|
91
|
+
|
86
92
|
# The name of the Connect configuration. The name helps identify the configuration in the list.
|
87
93
|
attr_accessor :name
|
88
94
|
|
@@ -161,8 +167,10 @@ module DocuSign_eSign
|
|
161
167
|
:'include_documents' => :'includeDocuments',
|
162
168
|
:'include_envelope_void_reason' => :'includeEnvelopeVoidReason',
|
163
169
|
:'include_hmac' => :'includeHMAC',
|
170
|
+
:'include_o_auth' => :'includeOAuth',
|
164
171
|
:'include_sender_accountas_custom_field' => :'includeSenderAccountasCustomField',
|
165
172
|
:'include_time_zone_information' => :'includeTimeZoneInformation',
|
173
|
+
:'integrator_managed' => :'integratorManaged',
|
166
174
|
:'name' => :'name',
|
167
175
|
:'password' => :'password',
|
168
176
|
:'recipient_events' => :'recipientEvents',
|
@@ -208,8 +216,10 @@ module DocuSign_eSign
|
|
208
216
|
:'include_documents' => :'String',
|
209
217
|
:'include_envelope_void_reason' => :'String',
|
210
218
|
:'include_hmac' => :'String',
|
219
|
+
:'include_o_auth' => :'String',
|
211
220
|
:'include_sender_accountas_custom_field' => :'String',
|
212
221
|
:'include_time_zone_information' => :'String',
|
222
|
+
:'integrator_managed' => :'String',
|
213
223
|
:'name' => :'String',
|
214
224
|
:'password' => :'String',
|
215
225
|
:'recipient_events' => :'Array<String>',
|
@@ -329,6 +339,10 @@ module DocuSign_eSign
|
|
329
339
|
self.include_hmac = attributes[:'includeHMAC']
|
330
340
|
end
|
331
341
|
|
342
|
+
if attributes.has_key?(:'includeOAuth')
|
343
|
+
self.include_o_auth = attributes[:'includeOAuth']
|
344
|
+
end
|
345
|
+
|
332
346
|
if attributes.has_key?(:'includeSenderAccountasCustomField')
|
333
347
|
self.include_sender_accountas_custom_field = attributes[:'includeSenderAccountasCustomField']
|
334
348
|
end
|
@@ -337,6 +351,10 @@ module DocuSign_eSign
|
|
337
351
|
self.include_time_zone_information = attributes[:'includeTimeZoneInformation']
|
338
352
|
end
|
339
353
|
|
354
|
+
if attributes.has_key?(:'integratorManaged')
|
355
|
+
self.integrator_managed = attributes[:'integratorManaged']
|
356
|
+
end
|
357
|
+
|
340
358
|
if attributes.has_key?(:'name')
|
341
359
|
self.name = attributes[:'name']
|
342
360
|
end
|
@@ -457,8 +475,10 @@ module DocuSign_eSign
|
|
457
475
|
include_documents == o.include_documents &&
|
458
476
|
include_envelope_void_reason == o.include_envelope_void_reason &&
|
459
477
|
include_hmac == o.include_hmac &&
|
478
|
+
include_o_auth == o.include_o_auth &&
|
460
479
|
include_sender_accountas_custom_field == o.include_sender_accountas_custom_field &&
|
461
480
|
include_time_zone_information == o.include_time_zone_information &&
|
481
|
+
integrator_managed == o.integrator_managed &&
|
462
482
|
name == o.name &&
|
463
483
|
password == o.password &&
|
464
484
|
recipient_events == o.recipient_events &&
|
@@ -488,7 +508,7 @@ module DocuSign_eSign
|
|
488
508
|
# Calculates hash code according to all attributes.
|
489
509
|
# @return [Fixnum] Hash code
|
490
510
|
def hash
|
491
|
-
[allow_envelope_publish, allow_salesforce_publish, all_users, all_users_except, configuration_type, connect_id, delivery_mode, disabled_by, enable_log, envelope_events, event_data, events, external_folder_id, external_folder_label, group_ids, include_certificate_of_completion, include_cert_soap_header, include_document_fields, include_documents, include_envelope_void_reason, include_hmac, include_sender_accountas_custom_field, include_time_zone_information, name, password, recipient_events, require_mutual_tls, requires_acknowledgement, salesforce_api_version, salesforce_authcode, salesforce_call_back_url, salesforce_documents_as_content_files, sender_override, sender_selectable_items, sf_objects, sign_message_with_x509_certificate, soap_namespace, url_to_publish_to, user_ids, user_name, use_soap_interface].hash
|
511
|
+
[allow_envelope_publish, allow_salesforce_publish, all_users, all_users_except, configuration_type, connect_id, delivery_mode, disabled_by, enable_log, envelope_events, event_data, events, external_folder_id, external_folder_label, group_ids, include_certificate_of_completion, include_cert_soap_header, include_document_fields, include_documents, include_envelope_void_reason, include_hmac, include_o_auth, include_sender_accountas_custom_field, include_time_zone_information, integrator_managed, name, password, recipient_events, require_mutual_tls, requires_acknowledgement, salesforce_api_version, salesforce_authcode, salesforce_call_back_url, salesforce_documents_as_content_files, sender_override, sender_selectable_items, sf_objects, sign_message_with_x509_certificate, soap_namespace, url_to_publish_to, user_ids, user_name, use_soap_interface].hash
|
492
512
|
end
|
493
513
|
|
494
514
|
# Builds the object from hash
|
@@ -22,6 +22,9 @@ module DocuSign_eSign
|
|
22
22
|
#
|
23
23
|
attr_accessor :client_secret
|
24
24
|
|
25
|
+
#
|
26
|
+
attr_accessor :custom_parameters
|
27
|
+
|
25
28
|
#
|
26
29
|
attr_accessor :scope
|
27
30
|
|
@@ -31,6 +34,7 @@ module DocuSign_eSign
|
|
31
34
|
:'authorization_server_url' => :'authorizationServerUrl',
|
32
35
|
:'client_id' => :'clientId',
|
33
36
|
:'client_secret' => :'clientSecret',
|
37
|
+
:'custom_parameters' => :'customParameters',
|
34
38
|
:'scope' => :'scope'
|
35
39
|
}
|
36
40
|
end
|
@@ -41,6 +45,7 @@ module DocuSign_eSign
|
|
41
45
|
:'authorization_server_url' => :'String',
|
42
46
|
:'client_id' => :'String',
|
43
47
|
:'client_secret' => :'String',
|
48
|
+
:'custom_parameters' => :'String',
|
44
49
|
:'scope' => :'String'
|
45
50
|
}
|
46
51
|
end
|
@@ -65,6 +70,10 @@ module DocuSign_eSign
|
|
65
70
|
self.client_secret = attributes[:'clientSecret']
|
66
71
|
end
|
67
72
|
|
73
|
+
if attributes.has_key?(:'customParameters')
|
74
|
+
self.custom_parameters = attributes[:'customParameters']
|
75
|
+
end
|
76
|
+
|
68
77
|
if attributes.has_key?(:'scope')
|
69
78
|
self.scope = attributes[:'scope']
|
70
79
|
end
|
@@ -91,6 +100,7 @@ module DocuSign_eSign
|
|
91
100
|
authorization_server_url == o.authorization_server_url &&
|
92
101
|
client_id == o.client_id &&
|
93
102
|
client_secret == o.client_secret &&
|
103
|
+
custom_parameters == o.custom_parameters &&
|
94
104
|
scope == o.scope
|
95
105
|
end
|
96
106
|
|
@@ -103,7 +113,7 @@ module DocuSign_eSign
|
|
103
113
|
# Calculates hash code according to all attributes.
|
104
114
|
# @return [Fixnum] Hash code
|
105
115
|
def hash
|
106
|
-
[authorization_server_url, client_id, client_secret, scope].hash
|
116
|
+
[authorization_server_url, client_id, client_secret, custom_parameters, scope].hash
|
107
117
|
end
|
108
118
|
|
109
119
|
# Builds the object from hash
|
@@ -40,6 +40,8 @@ module DocuSign_eSign
|
|
40
40
|
#
|
41
41
|
attr_accessor :name
|
42
42
|
|
43
|
+
attr_accessor :notary_contact_details
|
44
|
+
|
43
45
|
#
|
44
46
|
attr_accessor :organization
|
45
47
|
|
@@ -67,6 +69,7 @@ module DocuSign_eSign
|
|
67
69
|
:'error_details' => :'errorDetails',
|
68
70
|
:'is_owner' => :'isOwner',
|
69
71
|
:'name' => :'name',
|
72
|
+
:'notary_contact_details' => :'notaryContactDetails',
|
70
73
|
:'organization' => :'organization',
|
71
74
|
:'room_contact_type' => :'roomContactType',
|
72
75
|
:'shared' => :'shared',
|
@@ -87,6 +90,7 @@ module DocuSign_eSign
|
|
87
90
|
:'error_details' => :'ErrorDetails',
|
88
91
|
:'is_owner' => :'BOOLEAN',
|
89
92
|
:'name' => :'String',
|
93
|
+
:'notary_contact_details' => :'NotaryContactDetails',
|
90
94
|
:'organization' => :'String',
|
91
95
|
:'room_contact_type' => :'String',
|
92
96
|
:'shared' => :'String',
|
@@ -143,6 +147,10 @@ module DocuSign_eSign
|
|
143
147
|
self.name = attributes[:'name']
|
144
148
|
end
|
145
149
|
|
150
|
+
if attributes.has_key?(:'notaryContactDetails')
|
151
|
+
self.notary_contact_details = attributes[:'notaryContactDetails']
|
152
|
+
end
|
153
|
+
|
146
154
|
if attributes.has_key?(:'organization')
|
147
155
|
self.organization = attributes[:'organization']
|
148
156
|
end
|
@@ -191,6 +199,7 @@ module DocuSign_eSign
|
|
191
199
|
error_details == o.error_details &&
|
192
200
|
is_owner == o.is_owner &&
|
193
201
|
name == o.name &&
|
202
|
+
notary_contact_details == o.notary_contact_details &&
|
194
203
|
organization == o.organization &&
|
195
204
|
room_contact_type == o.room_contact_type &&
|
196
205
|
shared == o.shared &&
|
@@ -207,7 +216,7 @@ module DocuSign_eSign
|
|
207
216
|
# Calculates hash code according to all attributes.
|
208
217
|
# @return [Fixnum] Hash code
|
209
218
|
def hash
|
210
|
-
[cloud_provider, cloud_provider_container_id, contact_id, contact_phone_numbers, contact_uri, emails, error_details, is_owner, name, organization, room_contact_type, shared, signing_group, signing_group_name].hash
|
219
|
+
[cloud_provider, cloud_provider_container_id, contact_id, contact_phone_numbers, contact_uri, emails, error_details, is_owner, name, notary_contact_details, organization, room_contact_type, shared, signing_group, signing_group_name].hash
|
211
220
|
end
|
212
221
|
|
213
222
|
# Builds the object from hash
|
@@ -13,13 +13,13 @@ require 'date'
|
|
13
13
|
|
14
14
|
module DocuSign_eSign
|
15
15
|
class DelayedRouting
|
16
|
-
#
|
16
|
+
# An ISO 8601 formatted datetime string indicating the date and time that the envelope is (or was) scheduled to be sent to the recipients associated with the current workflow step or null if the envelope has not yet begun processing the current workflow step.
|
17
17
|
attr_accessor :resume_date
|
18
18
|
|
19
|
-
#
|
19
|
+
# A list of envelope delay rules specified by the user indicating how and when the envelope should be sent in the future for the current workflow step and its associated recipients. Currently only 1 rule may be specified.
|
20
20
|
attr_accessor :rules
|
21
21
|
|
22
|
-
#
|
22
|
+
# \\\"pending\\\" if the current workflow step has not been reached and the delay has not yet started. \\\"started\\\" if the delay is in progress. \\\"completed\\\" if the delay has elapsed and the envelope has been sent to the current workflow step's recipients.
|
23
23
|
attr_accessor :status
|
24
24
|
|
25
25
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -28,10 +28,10 @@ module DocuSign_eSign
|
|
28
28
|
# Attribute mapping from ruby-style variable name to JSON key.
|
29
29
|
def self.attribute_map
|
30
30
|
{
|
31
|
-
:'email' => :'
|
32
|
-
:'name' => :'
|
33
|
-
:'user_authorization_id' => :'
|
34
|
-
:'user_id' => :'
|
31
|
+
:'email' => :'email',
|
32
|
+
:'name' => :'name',
|
33
|
+
:'user_authorization_id' => :'userAuthorizationId',
|
34
|
+
:'user_id' => :'userId'
|
35
35
|
}
|
36
36
|
end
|
37
37
|
|
@@ -53,20 +53,20 @@ module DocuSign_eSign
|
|
53
53
|
# convert string to symbol for hash key
|
54
54
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
55
55
|
|
56
|
-
if attributes.has_key?(:'
|
57
|
-
self.email = attributes[:'
|
56
|
+
if attributes.has_key?(:'email')
|
57
|
+
self.email = attributes[:'email']
|
58
58
|
end
|
59
59
|
|
60
|
-
if attributes.has_key?(:'
|
61
|
-
self.name = attributes[:'
|
60
|
+
if attributes.has_key?(:'name')
|
61
|
+
self.name = attributes[:'name']
|
62
62
|
end
|
63
63
|
|
64
|
-
if attributes.has_key?(:'
|
65
|
-
self.user_authorization_id = attributes[:'
|
64
|
+
if attributes.has_key?(:'userAuthorizationId')
|
65
|
+
self.user_authorization_id = attributes[:'userAuthorizationId']
|
66
66
|
end
|
67
67
|
|
68
|
-
if attributes.has_key?(:'
|
69
|
-
self.user_id = attributes[:'
|
68
|
+
if attributes.has_key?(:'userId')
|
69
|
+
self.user_id = attributes[:'userId']
|
70
70
|
end
|
71
71
|
end
|
72
72
|
|