docusign_esign 2.2.0.pre.rc1 → 2.2.0.rc2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (75) hide show
  1. checksums.yaml +4 -4
  2. data/docusign_esign-3.1.0.rc2.gem +0 -0
  3. data/lib/docusign_esign.rb +386 -450
  4. data/lib/docusign_esign/api/accounts_api.rb +2 -2
  5. data/lib/docusign_esign/api/bulk_envelopes_api.rb +3 -3
  6. data/lib/docusign_esign/version.rb +1 -1
  7. metadata +3 -70
  8. data/docusign_esign-3.1.0.pre.rc1.gem +0 -0
  9. data/lib/docusign_esign/api/.DS_Store +0 -0
  10. data/lib/docusign_esign/models/access_code_format.rb +0 -273
  11. data/lib/docusign_esign/models/account_notification.rb +0 -206
  12. data/lib/docusign_esign/models/account_ui_settings.rb +0 -330
  13. data/lib/docusign_esign/models/bcc_email_archive.rb +0 -276
  14. data/lib/docusign_esign/models/bcc_email_archive_history.rb +0 -237
  15. data/lib/docusign_esign/models/bcc_email_archive_history_list.rb +0 -250
  16. data/lib/docusign_esign/models/bcc_email_archive_list.rb +0 -250
  17. data/lib/docusign_esign/models/bulk_send_request.rb +0 -188
  18. data/lib/docusign_esign/models/bulk_send_response.rb +0 -222
  19. data/lib/docusign_esign/models/bulk_send_test_response.rb +0 -212
  20. data/lib/docusign_esign/models/bulk_sending_copy.rb +0 -222
  21. data/lib/docusign_esign/models/bulk_sending_copy_custom_field.rb +0 -198
  22. data/lib/docusign_esign/models/bulk_sending_copy_recipient.rb +0 -382
  23. data/lib/docusign_esign/models/bulk_sending_copy_tab.rb +0 -198
  24. data/lib/docusign_esign/models/bulk_sending_list.rb +0 -210
  25. data/lib/docusign_esign/models/bulk_sending_list_summaries.rb +0 -190
  26. data/lib/docusign_esign/models/bulk_sending_list_summary.rb +0 -218
  27. data/lib/docusign_esign/models/comment.rb +0 -392
  28. data/lib/docusign_esign/models/comment_history_result.rb +0 -220
  29. data/lib/docusign_esign/models/comment_publish.rb +0 -244
  30. data/lib/docusign_esign/models/comment_thread.rb +0 -961
  31. data/lib/docusign_esign/models/comments_publish.rb +0 -190
  32. data/lib/docusign_esign/models/connect_salesforce_field.rb +0 -258
  33. data/lib/docusign_esign/models/connect_salesforce_object.rb +0 -272
  34. data/lib/docusign_esign/models/connect_user_object.rb +0 -230
  35. data/lib/docusign_esign/models/direct_debit_processor_information.rb +0 -298
  36. data/lib/docusign_esign/models/display_appliance_document.rb +0 -258
  37. data/lib/docusign_esign/models/display_appliance_document_page.rb +0 -278
  38. data/lib/docusign_esign/models/display_appliance_envelope.rb +0 -328
  39. data/lib/docusign_esign/models/display_appliance_info.rb +0 -235
  40. data/lib/docusign_esign/models/display_appliance_page.rb +0 -278
  41. data/lib/docusign_esign/models/display_appliance_pdf.rb +0 -267
  42. data/lib/docusign_esign/models/display_appliance_recipient.rb +0 -388
  43. data/lib/docusign_esign/models/display_appliance_signer_attachment.rb +0 -248
  44. data/lib/docusign_esign/models/envelope_metadata.rb +0 -208
  45. data/lib/docusign_esign/models/envelope_purge_configuration.rb +0 -218
  46. data/lib/docusign_esign/models/envelope_transfer_rule.rb +0 -273
  47. data/lib/docusign_esign/models/envelope_transfer_rule_information.rb +0 -250
  48. data/lib/docusign_esign/models/envelope_transfer_rule_request.rb +0 -279
  49. data/lib/docusign_esign/models/external_claim.rb +0 -218
  50. data/lib/docusign_esign/models/external_document_sources.rb +0 -273
  51. data/lib/docusign_esign/models/favorite_templates_content_item.rb +0 -207
  52. data/lib/docusign_esign/models/favorite_templates_info.rb +0 -209
  53. data/lib/docusign_esign/models/feature_available_metadata.rb +0 -198
  54. data/lib/docusign_esign/models/folder_shared_item.rb +0 -289
  55. data/lib/docusign_esign/models/form_data_item.rb +0 -227
  56. data/lib/docusign_esign/models/graphics_context.rb +0 -208
  57. data/lib/docusign_esign/models/id_check_configuration.rb +0 -210
  58. data/lib/docusign_esign/models/id_check_security_step.rb +0 -188
  59. data/lib/docusign_esign/models/locale_policy.rb +0 -595
  60. data/lib/docusign_esign/models/locale_policy_tab.rb +0 -298
  61. data/lib/docusign_esign/models/notification_default_settings.rb +0 -196
  62. data/lib/docusign_esign/models/notification_defaults.rb +0 -196
  63. data/lib/docusign_esign/models/page_size.rb +0 -198
  64. data/lib/docusign_esign/models/path_extended_element.rb +0 -208
  65. data/lib/docusign_esign/models/pay_pal_legacy_settings.rb +0 -228
  66. data/lib/docusign_esign/models/payment_gateway_account_setting.rb +0 -218
  67. data/lib/docusign_esign/models/payment_method_with_options.rb +0 -200
  68. data/lib/docusign_esign/models/poly_line.rb +0 -218
  69. data/lib/docusign_esign/models/poly_line_overlay.rb +0 -885
  70. data/lib/docusign_esign/models/recipient_preview_request.rb +0 -278
  71. data/lib/docusign_esign/models/signature_properties.rb +0 -198
  72. data/lib/docusign_esign/models/tab_group.rb +0 -911
  73. data/lib/docusign_esign/models/workspace_settings.rb +0 -188
  74. data/tests/Gemfile.lock +0 -42
  75. data/tests/docs/private.pem +0 -27
@@ -1,278 +0,0 @@
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
-
16
- class RecipientPreviewRequest
17
- #
18
- attr_accessor :assertion_id
19
-
20
- #
21
- attr_accessor :authentication_instant
22
-
23
- #
24
- attr_accessor :authentication_method
25
-
26
- #
27
- attr_accessor :ping_frequency
28
-
29
- #
30
- attr_accessor :ping_url
31
-
32
- # Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.
33
- attr_accessor :recipient_id
34
-
35
- #
36
- attr_accessor :return_url
37
-
38
- #
39
- attr_accessor :security_domain
40
-
41
- #
42
- attr_accessor :x_frame_options
43
-
44
- #
45
- attr_accessor :x_frame_options_allow_from_url
46
-
47
-
48
- # Attribute mapping from ruby-style variable name to JSON key.
49
- def self.attribute_map
50
- {
51
- :'assertion_id' => :'assertionId',
52
- :'authentication_instant' => :'authenticationInstant',
53
- :'authentication_method' => :'authenticationMethod',
54
- :'ping_frequency' => :'pingFrequency',
55
- :'ping_url' => :'pingUrl',
56
- :'recipient_id' => :'recipientId',
57
- :'return_url' => :'returnUrl',
58
- :'security_domain' => :'securityDomain',
59
- :'x_frame_options' => :'xFrameOptions',
60
- :'x_frame_options_allow_from_url' => :'xFrameOptionsAllowFromUrl'
61
- }
62
- end
63
-
64
- # Attribute type mapping.
65
- def self.swagger_types
66
- {
67
- :'assertion_id' => :'String',
68
- :'authentication_instant' => :'String',
69
- :'authentication_method' => :'String',
70
- :'ping_frequency' => :'String',
71
- :'ping_url' => :'String',
72
- :'recipient_id' => :'String',
73
- :'return_url' => :'String',
74
- :'security_domain' => :'String',
75
- :'x_frame_options' => :'String',
76
- :'x_frame_options_allow_from_url' => :'String'
77
- }
78
- end
79
-
80
- # Initializes the object
81
- # @param [Hash] attributes Model attributes in the form of hash
82
- def initialize(attributes = {})
83
- return unless attributes.is_a?(Hash)
84
-
85
- # convert string to symbol for hash key
86
- attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
87
-
88
- if attributes.has_key?(:'assertionId')
89
- self.assertion_id = attributes[:'assertionId']
90
- end
91
-
92
- if attributes.has_key?(:'authenticationInstant')
93
- self.authentication_instant = attributes[:'authenticationInstant']
94
- end
95
-
96
- if attributes.has_key?(:'authenticationMethod')
97
- self.authentication_method = attributes[:'authenticationMethod']
98
- end
99
-
100
- if attributes.has_key?(:'pingFrequency')
101
- self.ping_frequency = attributes[:'pingFrequency']
102
- end
103
-
104
- if attributes.has_key?(:'pingUrl')
105
- self.ping_url = attributes[:'pingUrl']
106
- end
107
-
108
- if attributes.has_key?(:'recipientId')
109
- self.recipient_id = attributes[:'recipientId']
110
- end
111
-
112
- if attributes.has_key?(:'returnUrl')
113
- self.return_url = attributes[:'returnUrl']
114
- end
115
-
116
- if attributes.has_key?(:'securityDomain')
117
- self.security_domain = attributes[:'securityDomain']
118
- end
119
-
120
- if attributes.has_key?(:'xFrameOptions')
121
- self.x_frame_options = attributes[:'xFrameOptions']
122
- end
123
-
124
- if attributes.has_key?(:'xFrameOptionsAllowFromUrl')
125
- self.x_frame_options_allow_from_url = attributes[:'xFrameOptionsAllowFromUrl']
126
- end
127
-
128
- end
129
-
130
- # Show invalid properties with the reasons. Usually used together with valid?
131
- # @return Array for valid properies with the reasons
132
- def list_invalid_properties
133
- invalid_properties = Array.new
134
- return invalid_properties
135
- end
136
-
137
- # Check to see if the all the properties in the model are valid
138
- # @return true if the model is valid
139
- def valid?
140
- return true
141
- end
142
-
143
- # Checks equality by comparing each attribute.
144
- # @param [Object] Object to be compared
145
- def ==(o)
146
- return true if self.equal?(o)
147
- self.class == o.class &&
148
- assertion_id == o.assertion_id &&
149
- authentication_instant == o.authentication_instant &&
150
- authentication_method == o.authentication_method &&
151
- ping_frequency == o.ping_frequency &&
152
- ping_url == o.ping_url &&
153
- recipient_id == o.recipient_id &&
154
- return_url == o.return_url &&
155
- security_domain == o.security_domain &&
156
- x_frame_options == o.x_frame_options &&
157
- x_frame_options_allow_from_url == o.x_frame_options_allow_from_url
158
- end
159
-
160
- # @see the `==` method
161
- # @param [Object] Object to be compared
162
- def eql?(o)
163
- self == o
164
- end
165
-
166
- # Calculates hash code according to all attributes.
167
- # @return [Fixnum] Hash code
168
- def hash
169
- [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
170
- end
171
-
172
- # Builds the object from hash
173
- # @param [Hash] attributes Model attributes in the form of hash
174
- # @return [Object] Returns the model itself
175
- def build_from_hash(attributes)
176
- return nil unless attributes.is_a?(Hash)
177
- self.class.swagger_types.each_pair do |key, type|
178
- if type =~ /\AArray<(.*)>/i
179
- # check to ensure the input is an array given that the the attribute
180
- # is documented as an array but the input is not
181
- if attributes[self.class.attribute_map[key]].is_a?(Array)
182
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
183
- end
184
- elsif !attributes[self.class.attribute_map[key]].nil?
185
- self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
186
- end # or else data not found in attributes(hash), not an issue as the data can be optional
187
- end
188
-
189
- self
190
- end
191
-
192
- # Deserializes the data based on type
193
- # @param string type Data type
194
- # @param string value Value to be deserialized
195
- # @return [Object] Deserialized data
196
- def _deserialize(type, value)
197
- case type.to_sym
198
- when :DateTime
199
- DateTime.parse(value)
200
- when :Date
201
- Date.parse(value)
202
- when :String
203
- value.to_s
204
- when :Integer
205
- value.to_i
206
- when :Float
207
- value.to_f
208
- when :BOOLEAN
209
- if value.to_s =~ /\A(true|t|yes|y|1)\z/i
210
- true
211
- else
212
- false
213
- end
214
- when :Object
215
- # generic object (usually a Hash), return directly
216
- value
217
- when /\AArray<(?<inner_type>.+)>\z/
218
- inner_type = Regexp.last_match[:inner_type]
219
- value.map { |v| _deserialize(inner_type, v) }
220
- when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
221
- k_type = Regexp.last_match[:k_type]
222
- v_type = Regexp.last_match[:v_type]
223
- {}.tap do |hash|
224
- value.each do |k, v|
225
- hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
226
- end
227
- end
228
- else # model
229
- temp_model = DocuSign_eSign.const_get(type).new
230
- temp_model.build_from_hash(value)
231
- end
232
- end
233
-
234
- # Returns the string representation of the object
235
- # @return [String] String presentation of the object
236
- def to_s
237
- to_hash.to_s
238
- end
239
-
240
- # to_body is an alias to to_hash (backward compatibility)
241
- # @return [Hash] Returns the object in the form of hash
242
- def to_body
243
- to_hash
244
- end
245
-
246
- # Returns the object in the form of hash
247
- # @return [Hash] Returns the object in the form of hash
248
- def to_hash
249
- hash = {}
250
- self.class.attribute_map.each_pair do |attr, param|
251
- value = self.send(attr)
252
- next if value.nil?
253
- hash[param] = _to_hash(value)
254
- end
255
- hash
256
- end
257
-
258
- # Outputs non-array value in the form of hash
259
- # For object, use to_hash. Otherwise, just return the value
260
- # @param [Object] value Any valid value
261
- # @return [Hash] Returns the value in the form of hash
262
- def _to_hash(value)
263
- if value.is_a?(Array)
264
- value.compact.map{ |v| _to_hash(v) }
265
- elsif value.is_a?(Hash)
266
- {}.tap do |hash|
267
- value.each { |k, v| hash[k] = _to_hash(v) }
268
- end
269
- elsif value.respond_to? :to_hash
270
- value.to_hash
271
- else
272
- value
273
- end
274
- end
275
-
276
- end
277
-
278
- end
@@ -1,198 +0,0 @@
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
-
16
- class SignatureProperties
17
- #
18
- attr_accessor :filter
19
-
20
- #
21
- attr_accessor :sub_filter
22
-
23
-
24
- # Attribute mapping from ruby-style variable name to JSON key.
25
- def self.attribute_map
26
- {
27
- :'filter' => :'filter',
28
- :'sub_filter' => :'subFilter'
29
- }
30
- end
31
-
32
- # Attribute type mapping.
33
- def self.swagger_types
34
- {
35
- :'filter' => :'String',
36
- :'sub_filter' => :'String'
37
- }
38
- end
39
-
40
- # Initializes the object
41
- # @param [Hash] attributes Model attributes in the form of hash
42
- def initialize(attributes = {})
43
- return unless attributes.is_a?(Hash)
44
-
45
- # convert string to symbol for hash key
46
- attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
47
-
48
- if attributes.has_key?(:'filter')
49
- self.filter = attributes[:'filter']
50
- end
51
-
52
- if attributes.has_key?(:'subFilter')
53
- self.sub_filter = attributes[:'subFilter']
54
- end
55
-
56
- end
57
-
58
- # Show invalid properties with the reasons. Usually used together with valid?
59
- # @return Array for valid properies with the reasons
60
- def list_invalid_properties
61
- invalid_properties = Array.new
62
- return invalid_properties
63
- end
64
-
65
- # Check to see if the all the properties in the model are valid
66
- # @return true if the model is valid
67
- def valid?
68
- return true
69
- end
70
-
71
- # Checks equality by comparing each attribute.
72
- # @param [Object] Object to be compared
73
- def ==(o)
74
- return true if self.equal?(o)
75
- self.class == o.class &&
76
- filter == o.filter &&
77
- sub_filter == o.sub_filter
78
- end
79
-
80
- # @see the `==` method
81
- # @param [Object] Object to be compared
82
- def eql?(o)
83
- self == o
84
- end
85
-
86
- # Calculates hash code according to all attributes.
87
- # @return [Fixnum] Hash code
88
- def hash
89
- [filter, sub_filter].hash
90
- end
91
-
92
- # Builds the object from hash
93
- # @param [Hash] attributes Model attributes in the form of hash
94
- # @return [Object] Returns the model itself
95
- def build_from_hash(attributes)
96
- return nil unless attributes.is_a?(Hash)
97
- self.class.swagger_types.each_pair do |key, type|
98
- if type =~ /\AArray<(.*)>/i
99
- # check to ensure the input is an array given that the the attribute
100
- # is documented as an array but the input is not
101
- 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) } )
103
- end
104
- elsif !attributes[self.class.attribute_map[key]].nil?
105
- self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
106
- end # or else data not found in attributes(hash), not an issue as the data can be optional
107
- end
108
-
109
- self
110
- end
111
-
112
- # Deserializes the data based on type
113
- # @param string type Data type
114
- # @param string value Value to be deserialized
115
- # @return [Object] Deserialized data
116
- def _deserialize(type, value)
117
- case type.to_sym
118
- when :DateTime
119
- DateTime.parse(value)
120
- when :Date
121
- Date.parse(value)
122
- when :String
123
- value.to_s
124
- when :Integer
125
- value.to_i
126
- when :Float
127
- value.to_f
128
- when :BOOLEAN
129
- if value.to_s =~ /\A(true|t|yes|y|1)\z/i
130
- true
131
- else
132
- false
133
- end
134
- when :Object
135
- # generic object (usually a Hash), return directly
136
- value
137
- when /\AArray<(?<inner_type>.+)>\z/
138
- inner_type = Regexp.last_match[:inner_type]
139
- value.map { |v| _deserialize(inner_type, v) }
140
- when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
141
- k_type = Regexp.last_match[:k_type]
142
- v_type = Regexp.last_match[:v_type]
143
- {}.tap do |hash|
144
- value.each do |k, v|
145
- hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
146
- end
147
- end
148
- else # model
149
- temp_model = DocuSign_eSign.const_get(type).new
150
- temp_model.build_from_hash(value)
151
- end
152
- end
153
-
154
- # Returns the string representation of the object
155
- # @return [String] String presentation of the object
156
- def to_s
157
- to_hash.to_s
158
- end
159
-
160
- # to_body is an alias to to_hash (backward compatibility)
161
- # @return [Hash] Returns the object in the form of hash
162
- def to_body
163
- to_hash
164
- end
165
-
166
- # Returns the object in the form of hash
167
- # @return [Hash] Returns the object in the form of hash
168
- def to_hash
169
- hash = {}
170
- self.class.attribute_map.each_pair do |attr, param|
171
- value = self.send(attr)
172
- next if value.nil?
173
- hash[param] = _to_hash(value)
174
- end
175
- hash
176
- end
177
-
178
- # Outputs non-array value in the form of hash
179
- # For object, use to_hash. Otherwise, just return the value
180
- # @param [Object] value Any valid value
181
- # @return [Hash] Returns the value in the form of hash
182
- def _to_hash(value)
183
- if value.is_a?(Array)
184
- value.compact.map{ |v| _to_hash(v) }
185
- elsif value.is_a?(Hash)
186
- {}.tap do |hash|
187
- value.each { |k, v| hash[k] = _to_hash(v) }
188
- end
189
- elsif value.respond_to? :to_hash
190
- value.to_hash
191
- else
192
- value
193
- end
194
- end
195
-
196
- end
197
-
198
- end