docusign_esign 3.7.0.rc1 → 3.8.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (55) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +8 -9
  3. data/docusign_esign-2.8.0.rc1.gem +0 -0
  4. data/lib/docusign_esign.rb +29 -1
  5. data/lib/docusign_esign/api/accounts_api.rb +65 -8
  6. data/lib/docusign_esign/api/bulk_envelopes_api.rb +22 -298
  7. data/lib/docusign_esign/api/connect_api.rb +196 -0
  8. data/lib/docusign_esign/api/envelopes_api.rb +1502 -78
  9. data/lib/docusign_esign/api/groups_api.rb +9 -9
  10. data/lib/docusign_esign/api/trust_service_providers_api.rb +232 -0
  11. data/lib/docusign_esign/api/users_api.rb +52 -0
  12. data/lib/docusign_esign/models/account_billing_plan.rb +11 -1
  13. data/lib/docusign_esign/models/account_information.rb +34 -4
  14. data/lib/docusign_esign/models/account_settings_information.rb +134 -1
  15. data/lib/docusign_esign/models/account_ui_settings.rb +20 -1
  16. data/lib/docusign_esign/models/bulk_send_batch_request.rb +184 -0
  17. data/lib/docusign_esign/models/bulk_send_batch_status.rb +21 -1
  18. data/lib/docusign_esign/models/complete_sign_hash_response.rb +7 -11
  19. data/lib/docusign_esign/models/complete_sign_request.rb +7 -11
  20. data/lib/docusign_esign/models/credential.rb +7 -11
  21. data/lib/docusign_esign/models/display_appliance_account.rb +224 -0
  22. data/lib/docusign_esign/models/display_appliance_info.rb +174 -0
  23. data/lib/docusign_esign/models/display_appliance_pdf.rb +174 -0
  24. data/lib/docusign_esign/models/display_appliance_signer_attachment.rb +174 -0
  25. data/lib/docusign_esign/models/document.rb +11 -1
  26. data/lib/docusign_esign/models/document_security_store.rb +7 -11
  27. data/lib/docusign_esign/models/document_update_info.rb +7 -11
  28. data/lib/docusign_esign/models/envelope_form_data.rb +13 -1
  29. data/lib/docusign_esign/models/external_claim.rb +7 -11
  30. data/lib/docusign_esign/models/group_brands.rb +207 -0
  31. data/lib/docusign_esign/models/payment_details.rb +10 -1
  32. data/lib/docusign_esign/models/payment_signer_values.rb +184 -0
  33. data/lib/docusign_esign/models/prefill_tabs.rb +222 -0
  34. data/lib/docusign_esign/models/revision.rb +7 -11
  35. data/lib/docusign_esign/models/seal.rb +8 -12
  36. data/lib/docusign_esign/models/sender.rb +7 -11
  37. data/lib/docusign_esign/models/sign_hash_document.rb +7 -11
  38. data/lib/docusign_esign/models/sign_hash_session_info_response.rb +7 -11
  39. data/lib/docusign_esign/models/sign_session_info_request.rb +7 -11
  40. data/lib/docusign_esign/models/signature_data_info.rb +7 -11
  41. data/lib/docusign_esign/models/signature_properties.rb +7 -11
  42. data/lib/docusign_esign/models/tab_account_settings.rb +20 -1
  43. data/lib/docusign_esign/models/tabs.rb +10 -1
  44. data/lib/docusign_esign/models/template_tabs.rb +10 -1
  45. data/lib/docusign_esign/models/time_stamp_field.rb +7 -11
  46. data/lib/docusign_esign/models/tsp_health_check_request.rb +7 -11
  47. data/lib/docusign_esign/models/tsp_health_check_status_description.rb +7 -11
  48. data/lib/docusign_esign/models/update_transaction_request.rb +7 -11
  49. data/lib/docusign_esign/models/update_transaction_response.rb +7 -11
  50. data/lib/docusign_esign/models/user.rb +7 -11
  51. data/lib/docusign_esign/models/user_info_response.rb +7 -11
  52. data/lib/docusign_esign/models/user_information.rb +11 -1
  53. data/lib/docusign_esign/version.rb +1 -1
  54. data/tests/Gemfile.lock +9 -5
  55. metadata +11 -2
@@ -12,7 +12,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git
12
12
  require 'date'
13
13
 
14
14
  module DocuSign_eSign
15
-
16
15
  class Revision
17
16
  #
18
17
  attr_accessor :end_data
@@ -31,7 +30,6 @@ module DocuSign_eSign
31
30
  #
32
31
  attr_accessor :start_data
33
32
 
34
-
35
33
  # Attribute mapping from ruby-style variable name to JSON key.
36
34
  def self.attribute_map
37
35
  {
@@ -62,7 +60,7 @@ module DocuSign_eSign
62
60
  return unless attributes.is_a?(Hash)
63
61
 
64
62
  # convert string to symbol for hash key
65
- attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
63
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
66
64
 
67
65
  if attributes.has_key?(:'endData')
68
66
  self.end_data = attributes[:'endData']
@@ -87,20 +85,19 @@ module DocuSign_eSign
87
85
  if attributes.has_key?(:'startData')
88
86
  self.start_data = attributes[:'startData']
89
87
  end
90
-
91
88
  end
92
89
 
93
90
  # Show invalid properties with the reasons. Usually used together with valid?
94
- # @return Array for valid properies with the reasons
91
+ # @return Array for valid properties with the reasons
95
92
  def list_invalid_properties
96
93
  invalid_properties = Array.new
97
- return invalid_properties
94
+ invalid_properties
98
95
  end
99
96
 
100
97
  # Check to see if the all the properties in the model are valid
101
98
  # @return true if the model is valid
102
99
  def valid?
103
- return true
100
+ true
104
101
  end
105
102
 
106
103
  # Checks equality by comparing each attribute.
@@ -135,10 +132,10 @@ module DocuSign_eSign
135
132
  return nil unless attributes.is_a?(Hash)
136
133
  self.class.swagger_types.each_pair do |key, type|
137
134
  if type =~ /\AArray<(.*)>/i
138
- # check to ensure the input is an array given that the the attribute
135
+ # check to ensure the input is an array given that the attribute
139
136
  # is documented as an array but the input is not
140
137
  if attributes[self.class.attribute_map[key]].is_a?(Array)
141
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
138
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
142
139
  end
143
140
  elsif !attributes[self.class.attribute_map[key]].nil?
144
141
  self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
@@ -220,7 +217,7 @@ module DocuSign_eSign
220
217
  # @return [Hash] Returns the value in the form of hash
221
218
  def _to_hash(value)
222
219
  if value.is_a?(Array)
223
- value.compact.map{ |v| _to_hash(v) }
220
+ value.compact.map { |v| _to_hash(v) }
224
221
  elsif value.is_a?(Hash)
225
222
  {}.tap do |hash|
226
223
  value.each { |k, v| hash[k] = _to_hash(v) }
@@ -233,5 +230,4 @@ module DocuSign_eSign
233
230
  end
234
231
 
235
232
  end
236
-
237
233
  end
@@ -12,7 +12,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git
12
12
  require 'date'
13
13
 
14
14
  module DocuSign_eSign
15
-
16
15
  class Seal
17
16
  #
18
17
  attr_accessor :configuration
@@ -20,7 +19,6 @@ module DocuSign_eSign
20
19
  #
21
20
  attr_accessor :seal_identifier
22
21
 
23
-
24
22
  # Attribute mapping from ruby-style variable name to JSON key.
25
23
  def self.attribute_map
26
24
  {
@@ -43,10 +41,10 @@ module DocuSign_eSign
43
41
  return unless attributes.is_a?(Hash)
44
42
 
45
43
  # convert string to symbol for hash key
46
- attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
44
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
47
45
 
48
46
  if attributes.has_key?(:'configuration')
49
- if (value = attributes[:'configuration']).is_a?(Array)
47
+ if (value = attributes[:'configuration']).is_a?(Hash)
50
48
  self.configuration = value
51
49
  end
52
50
  end
@@ -54,20 +52,19 @@ module DocuSign_eSign
54
52
  if attributes.has_key?(:'sealIdentifier')
55
53
  self.seal_identifier = attributes[:'sealIdentifier']
56
54
  end
57
-
58
55
  end
59
56
 
60
57
  # Show invalid properties with the reasons. Usually used together with valid?
61
- # @return Array for valid properies with the reasons
58
+ # @return Array for valid properties with the reasons
62
59
  def list_invalid_properties
63
60
  invalid_properties = Array.new
64
- return invalid_properties
61
+ invalid_properties
65
62
  end
66
63
 
67
64
  # Check to see if the all the properties in the model are valid
68
65
  # @return true if the model is valid
69
66
  def valid?
70
- return true
67
+ true
71
68
  end
72
69
 
73
70
  # Checks equality by comparing each attribute.
@@ -98,10 +95,10 @@ module DocuSign_eSign
98
95
  return nil unless attributes.is_a?(Hash)
99
96
  self.class.swagger_types.each_pair do |key, type|
100
97
  if type =~ /\AArray<(.*)>/i
101
- # check to ensure the input is an array given that the the attribute
98
+ # check to ensure the input is an array given that the attribute
102
99
  # is documented as an array but the input is not
103
100
  if attributes[self.class.attribute_map[key]].is_a?(Array)
104
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
101
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
105
102
  end
106
103
  elsif !attributes[self.class.attribute_map[key]].nil?
107
104
  self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
@@ -183,7 +180,7 @@ module DocuSign_eSign
183
180
  # @return [Hash] Returns the value in the form of hash
184
181
  def _to_hash(value)
185
182
  if value.is_a?(Array)
186
- value.compact.map{ |v| _to_hash(v) }
183
+ value.compact.map { |v| _to_hash(v) }
187
184
  elsif value.is_a?(Hash)
188
185
  {}.tap do |hash|
189
186
  value.each { |k, v| hash[k] = _to_hash(v) }
@@ -196,5 +193,4 @@ module DocuSign_eSign
196
193
  end
197
194
 
198
195
  end
199
-
200
196
  end
@@ -12,7 +12,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git
12
12
  require 'date'
13
13
 
14
14
  module DocuSign_eSign
15
-
16
15
  class Sender
17
16
  # The GUID associated with the account ID.
18
17
  attr_accessor :account_id_guid
@@ -20,7 +19,6 @@ module DocuSign_eSign
20
19
  #
21
20
  attr_accessor :company_name
22
21
 
23
-
24
22
  # Attribute mapping from ruby-style variable name to JSON key.
25
23
  def self.attribute_map
26
24
  {
@@ -43,7 +41,7 @@ module DocuSign_eSign
43
41
  return unless attributes.is_a?(Hash)
44
42
 
45
43
  # convert string to symbol for hash key
46
- attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
44
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
47
45
 
48
46
  if attributes.has_key?(:'accountIdGuid')
49
47
  self.account_id_guid = attributes[:'accountIdGuid']
@@ -52,20 +50,19 @@ module DocuSign_eSign
52
50
  if attributes.has_key?(:'companyName')
53
51
  self.company_name = attributes[:'companyName']
54
52
  end
55
-
56
53
  end
57
54
 
58
55
  # Show invalid properties with the reasons. Usually used together with valid?
59
- # @return Array for valid properies with the reasons
56
+ # @return Array for valid properties with the reasons
60
57
  def list_invalid_properties
61
58
  invalid_properties = Array.new
62
- return invalid_properties
59
+ invalid_properties
63
60
  end
64
61
 
65
62
  # Check to see if the all the properties in the model are valid
66
63
  # @return true if the model is valid
67
64
  def valid?
68
- return true
65
+ true
69
66
  end
70
67
 
71
68
  # Checks equality by comparing each attribute.
@@ -96,10 +93,10 @@ module DocuSign_eSign
96
93
  return nil unless attributes.is_a?(Hash)
97
94
  self.class.swagger_types.each_pair do |key, type|
98
95
  if type =~ /\AArray<(.*)>/i
99
- # check to ensure the input is an array given that the the attribute
96
+ # check to ensure the input is an array given that the attribute
100
97
  # is documented as an array but the input is not
101
98
  if attributes[self.class.attribute_map[key]].is_a?(Array)
102
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
99
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
103
100
  end
104
101
  elsif !attributes[self.class.attribute_map[key]].nil?
105
102
  self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
@@ -181,7 +178,7 @@ module DocuSign_eSign
181
178
  # @return [Hash] Returns the value in the form of hash
182
179
  def _to_hash(value)
183
180
  if value.is_a?(Array)
184
- value.compact.map{ |v| _to_hash(v) }
181
+ value.compact.map { |v| _to_hash(v) }
185
182
  elsif value.is_a?(Hash)
186
183
  {}.tap do |hash|
187
184
  value.each { |k, v| hash[k] = _to_hash(v) }
@@ -194,5 +191,4 @@ module DocuSign_eSign
194
191
  end
195
192
 
196
193
  end
197
-
198
194
  end
@@ -12,7 +12,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git
12
12
  require 'date'
13
13
 
14
14
  module DocuSign_eSign
15
-
16
15
  class SignHashDocument
17
16
  #
18
17
  attr_accessor :data
@@ -37,7 +36,6 @@ module DocuSign_eSign
37
36
  #
38
37
  attr_accessor :signature_type
39
38
 
40
-
41
39
  # Attribute mapping from ruby-style variable name to JSON key.
42
40
  def self.attribute_map
43
41
  {
@@ -72,7 +70,7 @@ module DocuSign_eSign
72
70
  return unless attributes.is_a?(Hash)
73
71
 
74
72
  # convert string to symbol for hash key
75
- attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
73
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
76
74
 
77
75
  if attributes.has_key?(:'data')
78
76
  self.data = attributes[:'data']
@@ -107,20 +105,19 @@ module DocuSign_eSign
107
105
  if attributes.has_key?(:'signatureType')
108
106
  self.signature_type = attributes[:'signatureType']
109
107
  end
110
-
111
108
  end
112
109
 
113
110
  # Show invalid properties with the reasons. Usually used together with valid?
114
- # @return Array for valid properies with the reasons
111
+ # @return Array for valid properties with the reasons
115
112
  def list_invalid_properties
116
113
  invalid_properties = Array.new
117
- return invalid_properties
114
+ invalid_properties
118
115
  end
119
116
 
120
117
  # Check to see if the all the properties in the model are valid
121
118
  # @return true if the model is valid
122
119
  def valid?
123
- return true
120
+ true
124
121
  end
125
122
 
126
123
  # Checks equality by comparing each attribute.
@@ -157,10 +154,10 @@ module DocuSign_eSign
157
154
  return nil unless attributes.is_a?(Hash)
158
155
  self.class.swagger_types.each_pair do |key, type|
159
156
  if type =~ /\AArray<(.*)>/i
160
- # check to ensure the input is an array given that the the attribute
157
+ # check to ensure the input is an array given that the attribute
161
158
  # is documented as an array but the input is not
162
159
  if attributes[self.class.attribute_map[key]].is_a?(Array)
163
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
160
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
164
161
  end
165
162
  elsif !attributes[self.class.attribute_map[key]].nil?
166
163
  self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
@@ -242,7 +239,7 @@ module DocuSign_eSign
242
239
  # @return [Hash] Returns the value in the form of hash
243
240
  def _to_hash(value)
244
241
  if value.is_a?(Array)
245
- value.compact.map{ |v| _to_hash(v) }
242
+ value.compact.map { |v| _to_hash(v) }
246
243
  elsif value.is_a?(Hash)
247
244
  {}.tap do |hash|
248
245
  value.each { |k, v| hash[k] = _to_hash(v) }
@@ -255,5 +252,4 @@ module DocuSign_eSign
255
252
  end
256
253
 
257
254
  end
258
-
259
255
  end
@@ -12,7 +12,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git
12
12
  require 'date'
13
13
 
14
14
  module DocuSign_eSign
15
-
16
15
  class SignHashSessionInfoResponse
17
16
  # Complex element contains the details on the documents in the envelope.
18
17
  attr_accessor :documents
@@ -35,7 +34,6 @@ module DocuSign_eSign
35
34
 
36
35
  attr_accessor :user
37
36
 
38
-
39
37
  # Attribute mapping from ruby-style variable name to JSON key.
40
38
  def self.attribute_map
41
39
  {
@@ -70,7 +68,7 @@ module DocuSign_eSign
70
68
  return unless attributes.is_a?(Hash)
71
69
 
72
70
  # convert string to symbol for hash key
73
- attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
71
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
74
72
 
75
73
  if attributes.has_key?(:'documents')
76
74
  if (value = attributes[:'documents']).is_a?(Array)
@@ -105,20 +103,19 @@ module DocuSign_eSign
105
103
  if attributes.has_key?(:'user')
106
104
  self.user = attributes[:'user']
107
105
  end
108
-
109
106
  end
110
107
 
111
108
  # Show invalid properties with the reasons. Usually used together with valid?
112
- # @return Array for valid properies with the reasons
109
+ # @return Array for valid properties with the reasons
113
110
  def list_invalid_properties
114
111
  invalid_properties = Array.new
115
- return invalid_properties
112
+ invalid_properties
116
113
  end
117
114
 
118
115
  # Check to see if the all the properties in the model are valid
119
116
  # @return true if the model is valid
120
117
  def valid?
121
- return true
118
+ true
122
119
  end
123
120
 
124
121
  # Checks equality by comparing each attribute.
@@ -155,10 +152,10 @@ module DocuSign_eSign
155
152
  return nil unless attributes.is_a?(Hash)
156
153
  self.class.swagger_types.each_pair do |key, type|
157
154
  if type =~ /\AArray<(.*)>/i
158
- # check to ensure the input is an array given that the the attribute
155
+ # check to ensure the input is an array given that the attribute
159
156
  # is documented as an array but the input is not
160
157
  if attributes[self.class.attribute_map[key]].is_a?(Array)
161
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
158
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
162
159
  end
163
160
  elsif !attributes[self.class.attribute_map[key]].nil?
164
161
  self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
@@ -240,7 +237,7 @@ module DocuSign_eSign
240
237
  # @return [Hash] Returns the value in the form of hash
241
238
  def _to_hash(value)
242
239
  if value.is_a?(Array)
243
- value.compact.map{ |v| _to_hash(v) }
240
+ value.compact.map { |v| _to_hash(v) }
244
241
  elsif value.is_a?(Hash)
245
242
  {}.tap do |hash|
246
243
  value.each { |k, v| hash[k] = _to_hash(v) }
@@ -253,5 +250,4 @@ module DocuSign_eSign
253
250
  end
254
251
 
255
252
  end
256
-
257
253
  end
@@ -12,7 +12,6 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git
12
12
  require 'date'
13
13
 
14
14
  module DocuSign_eSign
15
-
16
15
  class SignSessionInfoRequest
17
16
  #
18
17
  attr_accessor :certificate
@@ -26,7 +25,6 @@ module DocuSign_eSign
26
25
  # Specifies the physical location where the signing takes place. It can have two enumeration values; InPerson and Online. The default value is Online.
27
26
  attr_accessor :signing_location
28
27
 
29
-
30
28
  # Attribute mapping from ruby-style variable name to JSON key.
31
29
  def self.attribute_map
32
30
  {
@@ -53,7 +51,7 @@ module DocuSign_eSign
53
51
  return unless attributes.is_a?(Hash)
54
52
 
55
53
  # convert string to symbol for hash key
56
- attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
54
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
57
55
 
58
56
  if attributes.has_key?(:'certificate')
59
57
  self.certificate = attributes[:'certificate']
@@ -70,20 +68,19 @@ module DocuSign_eSign
70
68
  if attributes.has_key?(:'signingLocation')
71
69
  self.signing_location = attributes[:'signingLocation']
72
70
  end
73
-
74
71
  end
75
72
 
76
73
  # Show invalid properties with the reasons. Usually used together with valid?
77
- # @return Array for valid properies with the reasons
74
+ # @return Array for valid properties with the reasons
78
75
  def list_invalid_properties
79
76
  invalid_properties = Array.new
80
- return invalid_properties
77
+ invalid_properties
81
78
  end
82
79
 
83
80
  # Check to see if the all the properties in the model are valid
84
81
  # @return true if the model is valid
85
82
  def valid?
86
- return true
83
+ true
87
84
  end
88
85
 
89
86
  # Checks equality by comparing each attribute.
@@ -116,10 +113,10 @@ module DocuSign_eSign
116
113
  return nil unless attributes.is_a?(Hash)
117
114
  self.class.swagger_types.each_pair do |key, type|
118
115
  if type =~ /\AArray<(.*)>/i
119
- # check to ensure the input is an array given that the the attribute
116
+ # check to ensure the input is an array given that the attribute
120
117
  # is documented as an array but the input is not
121
118
  if attributes[self.class.attribute_map[key]].is_a?(Array)
122
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
119
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
123
120
  end
124
121
  elsif !attributes[self.class.attribute_map[key]].nil?
125
122
  self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
@@ -201,7 +198,7 @@ module DocuSign_eSign
201
198
  # @return [Hash] Returns the value in the form of hash
202
199
  def _to_hash(value)
203
200
  if value.is_a?(Array)
204
- value.compact.map{ |v| _to_hash(v) }
201
+ value.compact.map { |v| _to_hash(v) }
205
202
  elsif value.is_a?(Hash)
206
203
  {}.tap do |hash|
207
204
  value.each { |k, v| hash[k] = _to_hash(v) }
@@ -214,5 +211,4 @@ module DocuSign_eSign
214
211
  end
215
212
 
216
213
  end
217
-
218
214
  end