docusign_esign 3.10.0 → 3.12.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +13 -1
  3. data/docusign_esign-2.12.0.rc1.gem +0 -0
  4. data/docusign_esign-3.12.0.rc1.gem +0 -0
  5. data/docusign_esign.gemspec +1 -0
  6. data/lib/docusign_esign/api/envelopes_api.rb +0 -287
  7. data/lib/docusign_esign/api/users_api.rb +45 -9
  8. data/lib/docusign_esign/client/api_client.rb +3 -2
  9. data/lib/docusign_esign/configuration.rb +2 -1
  10. data/lib/docusign_esign/models/account_billing_plan.rb +31 -1
  11. data/lib/docusign_esign/models/account_billing_plan_response.rb +11 -1
  12. data/lib/docusign_esign/models/account_signature_definition.rb +11 -1
  13. data/lib/docusign_esign/models/agent.rb +20 -1
  14. data/lib/docusign_esign/models/carbon_copy.rb +20 -1
  15. data/lib/docusign_esign/models/certified_delivery.rb +20 -1
  16. data/lib/docusign_esign/models/credit_card_information.rb +24 -4
  17. data/lib/docusign_esign/models/downgrade_billing_plan_information.rb +44 -4
  18. data/lib/docusign_esign/models/downgrade_plan_update_response.rb +54 -4
  19. data/lib/docusign_esign/models/editor.rb +20 -1
  20. data/lib/docusign_esign/models/envelope_form_data.rb +1 -1
  21. data/lib/docusign_esign/models/in_person_signer.rb +11 -1
  22. data/lib/docusign_esign/models/initial_here.rb +11 -1
  23. data/lib/docusign_esign/models/intermediary.rb +20 -1
  24. data/lib/docusign_esign/models/notary_host.rb +11 -1
  25. data/lib/docusign_esign/models/notary_recipient.rb +20 -1
  26. data/lib/docusign_esign/models/payment_method_with_options.rb +13 -1
  27. data/lib/docusign_esign/models/prefill_form_data.rb +216 -0
  28. data/lib/docusign_esign/models/prefill_tabs.rb +25 -1
  29. data/lib/docusign_esign/models/recipient_preview_request.rb +10 -1
  30. data/lib/docusign_esign/models/recipient_proof_file.rb +11 -1
  31. data/lib/docusign_esign/models/recipient_token_client_ur_ls.rb +174 -0
  32. data/lib/docusign_esign/models/recipient_view_request.rb +10 -1
  33. data/lib/docusign_esign/models/report_in_product_run_response_row_fields.rb +121 -1
  34. data/lib/docusign_esign/models/seal_sign.rb +11 -1
  35. data/lib/docusign_esign/models/sender_company.rb +1011 -0
  36. data/lib/docusign_esign/models/sender_name.rb +1011 -0
  37. data/lib/docusign_esign/models/sign_here.rb +11 -1
  38. data/lib/docusign_esign/models/signer.rb +20 -1
  39. data/lib/docusign_esign/models/signer_attachment.rb +11 -1
  40. data/lib/docusign_esign/models/template_role.rb +10 -1
  41. data/lib/docusign_esign/models/template_tabs.rb +1 -1
  42. data/lib/docusign_esign/models/user_account_management_granular_information.rb +20 -1
  43. data/lib/docusign_esign/models/user_signature_definition.rb +11 -1
  44. data/lib/docusign_esign/models/witness.rb +20 -1
  45. data/lib/docusign_esign/version.rb +1 -1
  46. data/lib/docusign_esign.rb +5 -3
  47. data/runLinter.sh +1 -0
  48. data/tests/Gemfile.lock +3 -3
  49. metadata +29 -5
  50. data/docusign_esign-2.10.0.gem +0 -0
  51. data/docusign_esign-2.10.0.rc1.gem +0 -0
  52. data/docusign_esign-3.10.0.rc1.gem +0 -0
@@ -19,6 +19,12 @@ module DocuSign_eSign
19
19
  # Specifies a tag on the document in a location where the recipient can select one option from a group of options using a radio button. The radio buttons do not have to be on the same page in a document.
20
20
  attr_accessor :radio_group_tabs
21
21
 
22
+ #
23
+ attr_accessor :sender_company_tabs
24
+
25
+ #
26
+ attr_accessor :sender_name_tabs
27
+
22
28
  #
23
29
  attr_accessor :tab_groups
24
30
 
@@ -30,6 +36,8 @@ module DocuSign_eSign
30
36
  {
31
37
  :'checkbox_tabs' => :'checkboxTabs',
32
38
  :'radio_group_tabs' => :'radioGroupTabs',
39
+ :'sender_company_tabs' => :'senderCompanyTabs',
40
+ :'sender_name_tabs' => :'senderNameTabs',
33
41
  :'tab_groups' => :'tabGroups',
34
42
  :'text_tabs' => :'textTabs'
35
43
  }
@@ -40,6 +48,8 @@ module DocuSign_eSign
40
48
  {
41
49
  :'checkbox_tabs' => :'Array<Checkbox>',
42
50
  :'radio_group_tabs' => :'Array<RadioGroup>',
51
+ :'sender_company_tabs' => :'Array<SenderCompany>',
52
+ :'sender_name_tabs' => :'Array<SenderName>',
43
53
  :'tab_groups' => :'Array<TabGroup>',
44
54
  :'text_tabs' => :'Array<Text>'
45
55
  }
@@ -65,6 +75,18 @@ module DocuSign_eSign
65
75
  end
66
76
  end
67
77
 
78
+ if attributes.has_key?(:'senderCompanyTabs')
79
+ if (value = attributes[:'senderCompanyTabs']).is_a?(Array)
80
+ self.sender_company_tabs = value
81
+ end
82
+ end
83
+
84
+ if attributes.has_key?(:'senderNameTabs')
85
+ if (value = attributes[:'senderNameTabs']).is_a?(Array)
86
+ self.sender_name_tabs = value
87
+ end
88
+ end
89
+
68
90
  if attributes.has_key?(:'tabGroups')
69
91
  if (value = attributes[:'tabGroups']).is_a?(Array)
70
92
  self.tab_groups = value
@@ -98,6 +120,8 @@ module DocuSign_eSign
98
120
  self.class == o.class &&
99
121
  checkbox_tabs == o.checkbox_tabs &&
100
122
  radio_group_tabs == o.radio_group_tabs &&
123
+ sender_company_tabs == o.sender_company_tabs &&
124
+ sender_name_tabs == o.sender_name_tabs &&
101
125
  tab_groups == o.tab_groups &&
102
126
  text_tabs == o.text_tabs
103
127
  end
@@ -111,7 +135,7 @@ module DocuSign_eSign
111
135
  # Calculates hash code according to all attributes.
112
136
  # @return [Fixnum] Hash code
113
137
  def hash
114
- [checkbox_tabs, radio_group_tabs, tab_groups, text_tabs].hash
138
+ [checkbox_tabs, radio_group_tabs, sender_company_tabs, sender_name_tabs, tab_groups, text_tabs].hash
115
139
  end
116
140
 
117
141
  # Builds the object from hash
@@ -22,6 +22,8 @@ module DocuSign_eSign
22
22
  #
23
23
  attr_accessor :authentication_method
24
24
 
25
+ attr_accessor :client_ur_ls
26
+
25
27
  #
26
28
  attr_accessor :ping_frequency
27
29
 
@@ -49,6 +51,7 @@ module DocuSign_eSign
49
51
  :'assertion_id' => :'assertionId',
50
52
  :'authentication_instant' => :'authenticationInstant',
51
53
  :'authentication_method' => :'authenticationMethod',
54
+ :'client_ur_ls' => :'clientURLs',
52
55
  :'ping_frequency' => :'pingFrequency',
53
56
  :'ping_url' => :'pingUrl',
54
57
  :'recipient_id' => :'recipientId',
@@ -65,6 +68,7 @@ module DocuSign_eSign
65
68
  :'assertion_id' => :'String',
66
69
  :'authentication_instant' => :'String',
67
70
  :'authentication_method' => :'String',
71
+ :'client_ur_ls' => :'RecipientTokenClientURLs',
68
72
  :'ping_frequency' => :'String',
69
73
  :'ping_url' => :'String',
70
74
  :'recipient_id' => :'String',
@@ -95,6 +99,10 @@ module DocuSign_eSign
95
99
  self.authentication_method = attributes[:'authenticationMethod']
96
100
  end
97
101
 
102
+ if attributes.has_key?(:'clientURLs')
103
+ self.client_ur_ls = attributes[:'clientURLs']
104
+ end
105
+
98
106
  if attributes.has_key?(:'pingFrequency')
99
107
  self.ping_frequency = attributes[:'pingFrequency']
100
108
  end
@@ -145,6 +153,7 @@ module DocuSign_eSign
145
153
  assertion_id == o.assertion_id &&
146
154
  authentication_instant == o.authentication_instant &&
147
155
  authentication_method == o.authentication_method &&
156
+ client_ur_ls == o.client_ur_ls &&
148
157
  ping_frequency == o.ping_frequency &&
149
158
  ping_url == o.ping_url &&
150
159
  recipient_id == o.recipient_id &&
@@ -163,7 +172,7 @@ module DocuSign_eSign
163
172
  # Calculates hash code according to all attributes.
164
173
  # @return [Fixnum] Hash code
165
174
  def hash
166
- [assertion_id, authentication_instant, authentication_method, ping_frequency, ping_url, recipient_id, return_url, security_domain, x_frame_options, x_frame_options_allow_from_url].hash
175
+ [assertion_id, authentication_instant, authentication_method, client_ur_ls, ping_frequency, ping_url, recipient_id, return_url, security_domain, x_frame_options, x_frame_options_allow_from_url].hash
167
176
  end
168
177
 
169
178
  # Builds the object from hash
@@ -13,12 +13,16 @@ require 'date'
13
13
 
14
14
  module DocuSign_eSign
15
15
  class RecipientProofFile
16
+ #
17
+ attr_accessor :has_identity_attempts
18
+
16
19
  #
17
20
  attr_accessor :is_in_proof_file
18
21
 
19
22
  # Attribute mapping from ruby-style variable name to JSON key.
20
23
  def self.attribute_map
21
24
  {
25
+ :'has_identity_attempts' => :'hasIdentityAttempts',
22
26
  :'is_in_proof_file' => :'isInProofFile'
23
27
  }
24
28
  end
@@ -26,6 +30,7 @@ module DocuSign_eSign
26
30
  # Attribute type mapping.
27
31
  def self.swagger_types
28
32
  {
33
+ :'has_identity_attempts' => :'String',
29
34
  :'is_in_proof_file' => :'String'
30
35
  }
31
36
  end
@@ -38,6 +43,10 @@ module DocuSign_eSign
38
43
  # convert string to symbol for hash key
39
44
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
40
45
 
46
+ if attributes.has_key?(:'hasIdentityAttempts')
47
+ self.has_identity_attempts = attributes[:'hasIdentityAttempts']
48
+ end
49
+
41
50
  if attributes.has_key?(:'isInProofFile')
42
51
  self.is_in_proof_file = attributes[:'isInProofFile']
43
52
  end
@@ -61,6 +70,7 @@ module DocuSign_eSign
61
70
  def ==(o)
62
71
  return true if self.equal?(o)
63
72
  self.class == o.class &&
73
+ has_identity_attempts == o.has_identity_attempts &&
64
74
  is_in_proof_file == o.is_in_proof_file
65
75
  end
66
76
 
@@ -73,7 +83,7 @@ module DocuSign_eSign
73
83
  # Calculates hash code according to all attributes.
74
84
  # @return [Fixnum] Hash code
75
85
  def hash
76
- [is_in_proof_file].hash
86
+ [has_identity_attempts, is_in_proof_file].hash
77
87
  end
78
88
 
79
89
  # Builds the object from hash
@@ -0,0 +1,174 @@
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 RecipientTokenClientURLs
16
+ # Attribute mapping from ruby-style variable name to JSON key.
17
+ def self.attribute_map
18
+ {
19
+ }
20
+ end
21
+
22
+ # Attribute type mapping.
23
+ def self.swagger_types
24
+ {
25
+ }
26
+ end
27
+
28
+ # Initializes the object
29
+ # @param [Hash] attributes Model attributes in the form of hash
30
+ def initialize(attributes = {})
31
+ return unless attributes.is_a?(Hash)
32
+
33
+ # convert string to symbol for hash key
34
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
35
+ end
36
+
37
+ # Show invalid properties with the reasons. Usually used together with valid?
38
+ # @return Array for valid properties with the reasons
39
+ def list_invalid_properties
40
+ invalid_properties = Array.new
41
+ invalid_properties
42
+ end
43
+
44
+ # Check to see if the all the properties in the model are valid
45
+ # @return true if the model is valid
46
+ def valid?
47
+ true
48
+ end
49
+
50
+ # Checks equality by comparing each attribute.
51
+ # @param [Object] Object to be compared
52
+ def ==(o)
53
+ return true if self.equal?(o)
54
+ self.class == o.class
55
+ end
56
+
57
+ # @see the `==` method
58
+ # @param [Object] Object to be compared
59
+ def eql?(o)
60
+ self == o
61
+ end
62
+
63
+ # Calculates hash code according to all attributes.
64
+ # @return [Fixnum] Hash code
65
+ def hash
66
+ [].hash
67
+ end
68
+
69
+ # Builds the object from hash
70
+ # @param [Hash] attributes Model attributes in the form of hash
71
+ # @return [Object] Returns the model itself
72
+ def build_from_hash(attributes)
73
+ return nil unless attributes.is_a?(Hash)
74
+ self.class.swagger_types.each_pair do |key, type|
75
+ if type =~ /\AArray<(.*)>/i
76
+ # check to ensure the input is an array given that the attribute
77
+ # is documented as an array but the input is not
78
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
79
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
80
+ end
81
+ elsif !attributes[self.class.attribute_map[key]].nil?
82
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
83
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
84
+ end
85
+
86
+ self
87
+ end
88
+
89
+ # Deserializes the data based on type
90
+ # @param string type Data type
91
+ # @param string value Value to be deserialized
92
+ # @return [Object] Deserialized data
93
+ def _deserialize(type, value)
94
+ case type.to_sym
95
+ when :DateTime
96
+ DateTime.parse(value)
97
+ when :Date
98
+ Date.parse(value)
99
+ when :String
100
+ value.to_s
101
+ when :Integer
102
+ value.to_i
103
+ when :Float
104
+ value.to_f
105
+ when :BOOLEAN
106
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
107
+ true
108
+ else
109
+ false
110
+ end
111
+ when :Object
112
+ # generic object (usually a Hash), return directly
113
+ value
114
+ when /\AArray<(?<inner_type>.+)>\z/
115
+ inner_type = Regexp.last_match[:inner_type]
116
+ value.map { |v| _deserialize(inner_type, v) }
117
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
118
+ k_type = Regexp.last_match[:k_type]
119
+ v_type = Regexp.last_match[:v_type]
120
+ {}.tap do |hash|
121
+ value.each do |k, v|
122
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
123
+ end
124
+ end
125
+ else # model
126
+ temp_model = DocuSign_eSign.const_get(type).new
127
+ temp_model.build_from_hash(value)
128
+ end
129
+ end
130
+
131
+ # Returns the string representation of the object
132
+ # @return [String] String presentation of the object
133
+ def to_s
134
+ to_hash.to_s
135
+ end
136
+
137
+ # to_body is an alias to to_hash (backward compatibility)
138
+ # @return [Hash] Returns the object in the form of hash
139
+ def to_body
140
+ to_hash
141
+ end
142
+
143
+ # Returns the object in the form of hash
144
+ # @return [Hash] Returns the object in the form of hash
145
+ def to_hash
146
+ hash = {}
147
+ self.class.attribute_map.each_pair do |attr, param|
148
+ value = self.send(attr)
149
+ next if value.nil?
150
+ hash[param] = _to_hash(value)
151
+ end
152
+ hash
153
+ end
154
+
155
+ # Outputs non-array value in the form of hash
156
+ # For object, use to_hash. Otherwise, just return the value
157
+ # @param [Object] value Any valid value
158
+ # @return [Hash] Returns the value in the form of hash
159
+ def _to_hash(value)
160
+ if value.is_a?(Array)
161
+ value.compact.map { |v| _to_hash(v) }
162
+ elsif value.is_a?(Hash)
163
+ {}.tap do |hash|
164
+ value.each { |k, v| hash[k] = _to_hash(v) }
165
+ end
166
+ elsif value.respond_to? :to_hash
167
+ value.to_hash
168
+ else
169
+ value
170
+ end
171
+ end
172
+
173
+ end
174
+ end
@@ -22,6 +22,8 @@ module DocuSign_eSign
22
22
  # A sender created value that indicates the convention used to authenticate the signer. This information is included in the Certificate of Completion.
23
23
  attr_accessor :authentication_method
24
24
 
25
+ attr_accessor :client_ur_ls
26
+
25
27
  # A sender created value that shows the recipient is embedded (captive). Maximum length: 100 characters.
26
28
  attr_accessor :client_user_id
27
29
 
@@ -67,6 +69,7 @@ module DocuSign_eSign
67
69
  :'assertion_id' => :'assertionId',
68
70
  :'authentication_instant' => :'authenticationInstant',
69
71
  :'authentication_method' => :'authenticationMethod',
72
+ :'client_ur_ls' => :'clientURLs',
70
73
  :'client_user_id' => :'clientUserId',
71
74
  :'email' => :'email',
72
75
  :'frame_ancestors' => :'frameAncestors',
@@ -89,6 +92,7 @@ module DocuSign_eSign
89
92
  :'assertion_id' => :'String',
90
93
  :'authentication_instant' => :'String',
91
94
  :'authentication_method' => :'String',
95
+ :'client_ur_ls' => :'RecipientTokenClientURLs',
92
96
  :'client_user_id' => :'String',
93
97
  :'email' => :'String',
94
98
  :'frame_ancestors' => :'Array<String>',
@@ -125,6 +129,10 @@ module DocuSign_eSign
125
129
  self.authentication_method = attributes[:'authenticationMethod']
126
130
  end
127
131
 
132
+ if attributes.has_key?(:'clientURLs')
133
+ self.client_ur_ls = attributes[:'clientURLs']
134
+ end
135
+
128
136
  if attributes.has_key?(:'clientUserId')
129
137
  self.client_user_id = attributes[:'clientUserId']
130
138
  end
@@ -203,6 +211,7 @@ module DocuSign_eSign
203
211
  assertion_id == o.assertion_id &&
204
212
  authentication_instant == o.authentication_instant &&
205
213
  authentication_method == o.authentication_method &&
214
+ client_ur_ls == o.client_ur_ls &&
206
215
  client_user_id == o.client_user_id &&
207
216
  email == o.email &&
208
217
  frame_ancestors == o.frame_ancestors &&
@@ -227,7 +236,7 @@ module DocuSign_eSign
227
236
  # Calculates hash code according to all attributes.
228
237
  # @return [Fixnum] Hash code
229
238
  def hash
230
- [assertion_id, authentication_instant, authentication_method, client_user_id, email, frame_ancestors, message_origins, ping_frequency, ping_url, recipient_id, return_url, security_domain, user_id, user_name, x_frame_options, x_frame_options_allow_from_url].hash
239
+ [assertion_id, authentication_instant, authentication_method, client_ur_ls, client_user_id, email, frame_ancestors, message_origins, ping_frequency, ping_url, recipient_id, return_url, security_domain, user_id, user_name, x_frame_options, x_frame_options_allow_from_url].hash
231
240
  end
232
241
 
233
242
  # Builds the object from hash
@@ -52,6 +52,12 @@ module DocuSign_eSign
52
52
  #
53
53
  attr_accessor :created_date
54
54
 
55
+ #
56
+ attr_accessor :created_on
57
+
58
+ #
59
+ attr_accessor :creator
60
+
55
61
  #
56
62
  attr_accessor :custom_field
57
63
 
@@ -175,9 +181,15 @@ module DocuSign_eSign
175
181
  #
176
182
  attr_accessor :last_activity_date
177
183
 
184
+ #
185
+ attr_accessor :last_modified
186
+
178
187
  #
179
188
  attr_accessor :last_sent_date
180
189
 
190
+ #
191
+ attr_accessor :last_used
192
+
181
193
  #
182
194
  attr_accessor :metadata_removed
183
195
 
@@ -220,6 +232,15 @@ module DocuSign_eSign
220
232
  #
221
233
  attr_accessor :number_total_recipients
222
234
 
235
+ #
236
+ attr_accessor :other_recipients_list
237
+
238
+ #
239
+ attr_accessor :owner
240
+
241
+ #
242
+ attr_accessor :owner_mail
243
+
223
244
  #
224
245
  attr_accessor :period_end
225
246
 
@@ -271,6 +292,9 @@ module DocuSign_eSign
271
292
  #
272
293
  attr_accessor :recipient_name
273
294
 
295
+ #
296
+ attr_accessor :recipient_role_name
297
+
274
298
  #
275
299
  attr_accessor :recipient_template_role_name
276
300
 
@@ -313,6 +337,12 @@ module DocuSign_eSign
313
337
  #
314
338
  attr_accessor :sender_user_id
315
339
 
340
+ #
341
+ attr_accessor :signature_type
342
+
343
+ #
344
+ attr_accessor :signature_type_value
345
+
316
346
  #
317
347
  attr_accessor :sign_date
318
348
 
@@ -349,6 +379,12 @@ module DocuSign_eSign
349
379
  #
350
380
  attr_accessor :successes
351
381
 
382
+ # The unique identifier of the template. If this is not provided, DocuSign will generate a value.
383
+ attr_accessor :template_id
384
+
385
+ #
386
+ attr_accessor :template_name
387
+
352
388
  #
353
389
  attr_accessor :templates_created
354
390
 
@@ -425,6 +461,8 @@ module DocuSign_eSign
425
461
  :'completed' => :'completed',
426
462
  :'completed_ts' => :'completedTs',
427
463
  :'created_date' => :'createdDate',
464
+ :'created_on' => :'createdOn',
465
+ :'creator' => :'creator',
428
466
  :'custom_field' => :'customField',
429
467
  :'declined_date' => :'declinedDate',
430
468
  :'declined_reason' => :'declinedReason',
@@ -466,7 +504,9 @@ module DocuSign_eSign
466
504
  :'ip_address' => :'ipAddress',
467
505
  :'last_activity' => :'lastActivity',
468
506
  :'last_activity_date' => :'lastActivityDate',
507
+ :'last_modified' => :'lastModified',
469
508
  :'last_sent_date' => :'lastSentDate',
509
+ :'last_used' => :'lastUsed',
470
510
  :'metadata_removed' => :'metadataRemoved',
471
511
  :'not_signed' => :'notSigned',
472
512
  :'number_of_authenticated_recipients' => :'numberOfAuthenticatedRecipients',
@@ -481,6 +521,9 @@ module DocuSign_eSign
481
521
  :'number_of_total_signers' => :'numberOfTotalSigners',
482
522
  :'number_of_unique_senders' => :'numberOfUniqueSenders',
483
523
  :'number_total_recipients' => :'numberTotalRecipients',
524
+ :'other_recipients_list' => :'otherRecipientsList',
525
+ :'owner' => :'owner',
526
+ :'owner_mail' => :'ownerMail',
484
527
  :'period_end' => :'periodEnd',
485
528
  :'period_start' => :'periodStart',
486
529
  :'phone_calls_attempted' => :'phoneCallsAttempted',
@@ -498,6 +541,7 @@ module DocuSign_eSign
498
541
  :'recipient_email' => :'recipientEmail',
499
542
  :'recipient_id' => :'recipientId',
500
543
  :'recipient_name' => :'recipientName',
544
+ :'recipient_role_name' => :'recipientRoleName',
501
545
  :'recipient_template_role_name' => :'recipientTemplateRoleName',
502
546
  :'recipient_title' => :'recipientTitle',
503
547
  :'recipient_type' => :'recipientType',
@@ -512,6 +556,8 @@ module DocuSign_eSign
512
556
  :'sender_job_title' => :'senderJobTitle',
513
557
  :'sender_name' => :'senderName',
514
558
  :'sender_user_id' => :'senderUserId',
559
+ :'signature_type' => :'signatureType',
560
+ :'signature_type_value' => :'signatureTypeValue',
515
561
  :'sign_date' => :'signDate',
516
562
  :'signed' => :'signed',
517
563
  :'signed_date' => :'signedDate',
@@ -524,6 +570,8 @@ module DocuSign_eSign
524
570
  :'status_comment' => :'statusComment',
525
571
  :'subject' => :'subject',
526
572
  :'successes' => :'successes',
573
+ :'template_id' => :'templateId',
574
+ :'template_name' => :'templateName',
527
575
  :'templates_created' => :'templatesCreated',
528
576
  :'templates_created_count' => :'templatesCreatedCount',
529
577
  :'terminal_status_date' => :'terminalStatusDate',
@@ -563,6 +611,8 @@ module DocuSign_eSign
563
611
  :'completed' => :'String',
564
612
  :'completed_ts' => :'String',
565
613
  :'created_date' => :'String',
614
+ :'created_on' => :'String',
615
+ :'creator' => :'String',
566
616
  :'custom_field' => :'String',
567
617
  :'declined_date' => :'String',
568
618
  :'declined_reason' => :'String',
@@ -604,7 +654,9 @@ module DocuSign_eSign
604
654
  :'ip_address' => :'String',
605
655
  :'last_activity' => :'String',
606
656
  :'last_activity_date' => :'String',
657
+ :'last_modified' => :'String',
607
658
  :'last_sent_date' => :'String',
659
+ :'last_used' => :'String',
608
660
  :'metadata_removed' => :'String',
609
661
  :'not_signed' => :'String',
610
662
  :'number_of_authenticated_recipients' => :'String',
@@ -619,6 +671,9 @@ module DocuSign_eSign
619
671
  :'number_of_total_signers' => :'String',
620
672
  :'number_of_unique_senders' => :'String',
621
673
  :'number_total_recipients' => :'String',
674
+ :'other_recipients_list' => :'String',
675
+ :'owner' => :'String',
676
+ :'owner_mail' => :'String',
622
677
  :'period_end' => :'String',
623
678
  :'period_start' => :'String',
624
679
  :'phone_calls_attempted' => :'String',
@@ -636,6 +691,7 @@ module DocuSign_eSign
636
691
  :'recipient_email' => :'String',
637
692
  :'recipient_id' => :'String',
638
693
  :'recipient_name' => :'String',
694
+ :'recipient_role_name' => :'String',
639
695
  :'recipient_template_role_name' => :'String',
640
696
  :'recipient_title' => :'String',
641
697
  :'recipient_type' => :'String',
@@ -650,6 +706,8 @@ module DocuSign_eSign
650
706
  :'sender_job_title' => :'String',
651
707
  :'sender_name' => :'String',
652
708
  :'sender_user_id' => :'String',
709
+ :'signature_type' => :'String',
710
+ :'signature_type_value' => :'String',
653
711
  :'sign_date' => :'String',
654
712
  :'signed' => :'String',
655
713
  :'signed_date' => :'String',
@@ -662,6 +720,8 @@ module DocuSign_eSign
662
720
  :'status_comment' => :'String',
663
721
  :'subject' => :'String',
664
722
  :'successes' => :'String',
723
+ :'template_id' => :'String',
724
+ :'template_name' => :'String',
665
725
  :'templates_created' => :'String',
666
726
  :'templates_created_count' => :'String',
667
727
  :'terminal_status_date' => :'String',
@@ -745,6 +805,14 @@ module DocuSign_eSign
745
805
  self.created_date = attributes[:'createdDate']
746
806
  end
747
807
 
808
+ if attributes.has_key?(:'createdOn')
809
+ self.created_on = attributes[:'createdOn']
810
+ end
811
+
812
+ if attributes.has_key?(:'creator')
813
+ self.creator = attributes[:'creator']
814
+ end
815
+
748
816
  if attributes.has_key?(:'customField')
749
817
  self.custom_field = attributes[:'customField']
750
818
  end
@@ -909,10 +977,18 @@ module DocuSign_eSign
909
977
  self.last_activity_date = attributes[:'lastActivityDate']
910
978
  end
911
979
 
980
+ if attributes.has_key?(:'lastModified')
981
+ self.last_modified = attributes[:'lastModified']
982
+ end
983
+
912
984
  if attributes.has_key?(:'lastSentDate')
913
985
  self.last_sent_date = attributes[:'lastSentDate']
914
986
  end
915
987
 
988
+ if attributes.has_key?(:'lastUsed')
989
+ self.last_used = attributes[:'lastUsed']
990
+ end
991
+
916
992
  if attributes.has_key?(:'metadataRemoved')
917
993
  self.metadata_removed = attributes[:'metadataRemoved']
918
994
  end
@@ -969,6 +1045,18 @@ module DocuSign_eSign
969
1045
  self.number_total_recipients = attributes[:'numberTotalRecipients']
970
1046
  end
971
1047
 
1048
+ if attributes.has_key?(:'otherRecipientsList')
1049
+ self.other_recipients_list = attributes[:'otherRecipientsList']
1050
+ end
1051
+
1052
+ if attributes.has_key?(:'owner')
1053
+ self.owner = attributes[:'owner']
1054
+ end
1055
+
1056
+ if attributes.has_key?(:'ownerMail')
1057
+ self.owner_mail = attributes[:'ownerMail']
1058
+ end
1059
+
972
1060
  if attributes.has_key?(:'periodEnd')
973
1061
  self.period_end = attributes[:'periodEnd']
974
1062
  end
@@ -1037,6 +1125,10 @@ module DocuSign_eSign
1037
1125
  self.recipient_name = attributes[:'recipientName']
1038
1126
  end
1039
1127
 
1128
+ if attributes.has_key?(:'recipientRoleName')
1129
+ self.recipient_role_name = attributes[:'recipientRoleName']
1130
+ end
1131
+
1040
1132
  if attributes.has_key?(:'recipientTemplateRoleName')
1041
1133
  self.recipient_template_role_name = attributes[:'recipientTemplateRoleName']
1042
1134
  end
@@ -1093,6 +1185,14 @@ module DocuSign_eSign
1093
1185
  self.sender_user_id = attributes[:'senderUserId']
1094
1186
  end
1095
1187
 
1188
+ if attributes.has_key?(:'signatureType')
1189
+ self.signature_type = attributes[:'signatureType']
1190
+ end
1191
+
1192
+ if attributes.has_key?(:'signatureTypeValue')
1193
+ self.signature_type_value = attributes[:'signatureTypeValue']
1194
+ end
1195
+
1096
1196
  if attributes.has_key?(:'signDate')
1097
1197
  self.sign_date = attributes[:'signDate']
1098
1198
  end
@@ -1141,6 +1241,14 @@ module DocuSign_eSign
1141
1241
  self.successes = attributes[:'successes']
1142
1242
  end
1143
1243
 
1244
+ if attributes.has_key?(:'templateId')
1245
+ self.template_id = attributes[:'templateId']
1246
+ end
1247
+
1248
+ if attributes.has_key?(:'templateName')
1249
+ self.template_name = attributes[:'templateName']
1250
+ end
1251
+
1144
1252
  if attributes.has_key?(:'templatesCreated')
1145
1253
  self.templates_created = attributes[:'templatesCreated']
1146
1254
  end
@@ -1253,6 +1361,8 @@ module DocuSign_eSign
1253
1361
  completed == o.completed &&
1254
1362
  completed_ts == o.completed_ts &&
1255
1363
  created_date == o.created_date &&
1364
+ created_on == o.created_on &&
1365
+ creator == o.creator &&
1256
1366
  custom_field == o.custom_field &&
1257
1367
  declined_date == o.declined_date &&
1258
1368
  declined_reason == o.declined_reason &&
@@ -1294,7 +1404,9 @@ module DocuSign_eSign
1294
1404
  ip_address == o.ip_address &&
1295
1405
  last_activity == o.last_activity &&
1296
1406
  last_activity_date == o.last_activity_date &&
1407
+ last_modified == o.last_modified &&
1297
1408
  last_sent_date == o.last_sent_date &&
1409
+ last_used == o.last_used &&
1298
1410
  metadata_removed == o.metadata_removed &&
1299
1411
  not_signed == o.not_signed &&
1300
1412
  number_of_authenticated_recipients == o.number_of_authenticated_recipients &&
@@ -1309,6 +1421,9 @@ module DocuSign_eSign
1309
1421
  number_of_total_signers == o.number_of_total_signers &&
1310
1422
  number_of_unique_senders == o.number_of_unique_senders &&
1311
1423
  number_total_recipients == o.number_total_recipients &&
1424
+ other_recipients_list == o.other_recipients_list &&
1425
+ owner == o.owner &&
1426
+ owner_mail == o.owner_mail &&
1312
1427
  period_end == o.period_end &&
1313
1428
  period_start == o.period_start &&
1314
1429
  phone_calls_attempted == o.phone_calls_attempted &&
@@ -1326,6 +1441,7 @@ module DocuSign_eSign
1326
1441
  recipient_email == o.recipient_email &&
1327
1442
  recipient_id == o.recipient_id &&
1328
1443
  recipient_name == o.recipient_name &&
1444
+ recipient_role_name == o.recipient_role_name &&
1329
1445
  recipient_template_role_name == o.recipient_template_role_name &&
1330
1446
  recipient_title == o.recipient_title &&
1331
1447
  recipient_type == o.recipient_type &&
@@ -1340,6 +1456,8 @@ module DocuSign_eSign
1340
1456
  sender_job_title == o.sender_job_title &&
1341
1457
  sender_name == o.sender_name &&
1342
1458
  sender_user_id == o.sender_user_id &&
1459
+ signature_type == o.signature_type &&
1460
+ signature_type_value == o.signature_type_value &&
1343
1461
  sign_date == o.sign_date &&
1344
1462
  signed == o.signed &&
1345
1463
  signed_date == o.signed_date &&
@@ -1352,6 +1470,8 @@ module DocuSign_eSign
1352
1470
  status_comment == o.status_comment &&
1353
1471
  subject == o.subject &&
1354
1472
  successes == o.successes &&
1473
+ template_id == o.template_id &&
1474
+ template_name == o.template_name &&
1355
1475
  templates_created == o.templates_created &&
1356
1476
  templates_created_count == o.templates_created_count &&
1357
1477
  terminal_status_date == o.terminal_status_date &&
@@ -1383,7 +1503,7 @@ module DocuSign_eSign
1383
1503
  # Calculates hash code according to all attributes.
1384
1504
  # @return [Fixnum] Hash code
1385
1505
  def hash
1386
- [access_code_required, access_codes_attempted, access_codes_failed, account_id, authentication_category, authentication_success, authentication_type, average_time_to_complete_seconds, avg_complete_seconds, capture_method, completed, completed_ts, created_date, custom_field, declined_date, declined_reason, delivered_date, envelope_count, envelope_creator, envelope_id, envelope_initial_send_ts, envelopes_billed, envelopes_completed, envelopes_completed_count, envelopes_declined, envelopes_sent, envelopes_sent_count, envelopes_voided, envelope_voided_reason, eod_document_description, eod_document_name, eod_document_profile_id, eod_transaction_id, eod_transaction_name, event_date, expiration_date, expired_ts, failure_reason, failures, failure_vendor_code, failure_vendor_reason, first_send_ts, group_id, group_name, hours_to_complete_end, hours_to_complete_start, id_checks_attempted, id_checks_failed, id_country, id_method, initial_send_ts, ip_address, last_activity, last_activity_date, last_sent_date, metadata_removed, not_signed, number_of_authenticated_recipients, number_of_completed_signatures, number_of_documents, number_of_pages, number_of_recipients, number_of_sends, number_of_signers, number_of_total_documents, number_of_total_pages, number_of_total_signers, number_of_unique_senders, number_total_recipients, period_end, period_start, phone_calls_attempted, phone_calls_failed, pii_redacted, purge_date, reason_for_declining, reason_for_voiding, reassign_reason, received, recipient, recipient_action, recipient_company_name, recipient_country, recipient_email, recipient_id, recipient_name, recipient_template_role_name, recipient_title, recipient_type, recipient_user_id, remaining_signatures, routing_order, sender_account_id, sender_company_name, sender_country, sender_email, sender_ip_address, sender_job_title, sender_name, sender_user_id, sign_date, signed, signed_date, signed_on_mobile, signed_on_paper, signer_list, status, status_changed_date, status_changed_ts, status_comment, subject, successes, templates_created, templates_created_count, terminal_status_date, time_to_complete_seconds, time_to_deliver, total_documents, total_envelopes, total_pages, total_recipients, total_signers, unique_senders, user_account_email, user_account_name, user_account_status, user_count, user_id, verification_status, verification_type, view_date, voided_ts].hash
1506
+ [access_code_required, access_codes_attempted, access_codes_failed, account_id, authentication_category, authentication_success, authentication_type, average_time_to_complete_seconds, avg_complete_seconds, capture_method, completed, completed_ts, created_date, created_on, creator, custom_field, declined_date, declined_reason, delivered_date, envelope_count, envelope_creator, envelope_id, envelope_initial_send_ts, envelopes_billed, envelopes_completed, envelopes_completed_count, envelopes_declined, envelopes_sent, envelopes_sent_count, envelopes_voided, envelope_voided_reason, eod_document_description, eod_document_name, eod_document_profile_id, eod_transaction_id, eod_transaction_name, event_date, expiration_date, expired_ts, failure_reason, failures, failure_vendor_code, failure_vendor_reason, first_send_ts, group_id, group_name, hours_to_complete_end, hours_to_complete_start, id_checks_attempted, id_checks_failed, id_country, id_method, initial_send_ts, ip_address, last_activity, last_activity_date, last_modified, last_sent_date, last_used, metadata_removed, not_signed, number_of_authenticated_recipients, number_of_completed_signatures, number_of_documents, number_of_pages, number_of_recipients, number_of_sends, number_of_signers, number_of_total_documents, number_of_total_pages, number_of_total_signers, number_of_unique_senders, number_total_recipients, other_recipients_list, owner, owner_mail, period_end, period_start, phone_calls_attempted, phone_calls_failed, pii_redacted, purge_date, reason_for_declining, reason_for_voiding, reassign_reason, received, recipient, recipient_action, recipient_company_name, recipient_country, recipient_email, recipient_id, recipient_name, recipient_role_name, recipient_template_role_name, recipient_title, recipient_type, recipient_user_id, remaining_signatures, routing_order, sender_account_id, sender_company_name, sender_country, sender_email, sender_ip_address, sender_job_title, sender_name, sender_user_id, signature_type, signature_type_value, sign_date, signed, signed_date, signed_on_mobile, signed_on_paper, signer_list, status, status_changed_date, status_changed_ts, status_comment, subject, successes, template_id, template_name, templates_created, templates_created_count, terminal_status_date, time_to_complete_seconds, time_to_deliver, total_documents, total_envelopes, total_pages, total_recipients, total_signers, unique_senders, user_account_email, user_account_name, user_account_status, user_count, user_id, verification_status, verification_type, view_date, voided_ts].hash
1387
1507
  end
1388
1508
 
1389
1509
  # Builds the object from hash