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,250 +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 EnvelopeTransferRuleInformation
17
- # The last position in the result set.
18
- attr_accessor :end_position
19
-
20
- #
21
- attr_accessor :envelope_transfer_rules
22
-
23
- # The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null.
24
- attr_accessor :next_uri
25
-
26
- # The postal code for the billing address.
27
- attr_accessor :previous_uri
28
-
29
- # The number of results returned in this response.
30
- attr_accessor :result_set_size
31
-
32
- # Starting position of the current result set.
33
- attr_accessor :start_position
34
-
35
- # The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response.
36
- attr_accessor :total_set_size
37
-
38
-
39
- # Attribute mapping from ruby-style variable name to JSON key.
40
- def self.attribute_map
41
- {
42
- :'end_position' => :'endPosition',
43
- :'envelope_transfer_rules' => :'envelopeTransferRules',
44
- :'next_uri' => :'nextUri',
45
- :'previous_uri' => :'previousUri',
46
- :'result_set_size' => :'resultSetSize',
47
- :'start_position' => :'startPosition',
48
- :'total_set_size' => :'totalSetSize'
49
- }
50
- end
51
-
52
- # Attribute type mapping.
53
- def self.swagger_types
54
- {
55
- :'end_position' => :'String',
56
- :'envelope_transfer_rules' => :'Array<EnvelopeTransferRule>',
57
- :'next_uri' => :'String',
58
- :'previous_uri' => :'String',
59
- :'result_set_size' => :'String',
60
- :'start_position' => :'String',
61
- :'total_set_size' => :'String'
62
- }
63
- end
64
-
65
- # Initializes the object
66
- # @param [Hash] attributes Model attributes in the form of hash
67
- def initialize(attributes = {})
68
- return unless attributes.is_a?(Hash)
69
-
70
- # convert string to symbol for hash key
71
- attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
72
-
73
- if attributes.has_key?(:'endPosition')
74
- self.end_position = attributes[:'endPosition']
75
- end
76
-
77
- if attributes.has_key?(:'envelopeTransferRules')
78
- if (value = attributes[:'envelopeTransferRules']).is_a?(Array)
79
- self.envelope_transfer_rules = value
80
- end
81
- end
82
-
83
- if attributes.has_key?(:'nextUri')
84
- self.next_uri = attributes[:'nextUri']
85
- end
86
-
87
- if attributes.has_key?(:'previousUri')
88
- self.previous_uri = attributes[:'previousUri']
89
- end
90
-
91
- if attributes.has_key?(:'resultSetSize')
92
- self.result_set_size = attributes[:'resultSetSize']
93
- end
94
-
95
- if attributes.has_key?(:'startPosition')
96
- self.start_position = attributes[:'startPosition']
97
- end
98
-
99
- if attributes.has_key?(:'totalSetSize')
100
- self.total_set_size = attributes[:'totalSetSize']
101
- end
102
-
103
- end
104
-
105
- # Show invalid properties with the reasons. Usually used together with valid?
106
- # @return Array for valid properies with the reasons
107
- def list_invalid_properties
108
- invalid_properties = Array.new
109
- return invalid_properties
110
- end
111
-
112
- # Check to see if the all the properties in the model are valid
113
- # @return true if the model is valid
114
- def valid?
115
- return true
116
- end
117
-
118
- # Checks equality by comparing each attribute.
119
- # @param [Object] Object to be compared
120
- def ==(o)
121
- return true if self.equal?(o)
122
- self.class == o.class &&
123
- end_position == o.end_position &&
124
- envelope_transfer_rules == o.envelope_transfer_rules &&
125
- next_uri == o.next_uri &&
126
- previous_uri == o.previous_uri &&
127
- result_set_size == o.result_set_size &&
128
- start_position == o.start_position &&
129
- total_set_size == o.total_set_size
130
- end
131
-
132
- # @see the `==` method
133
- # @param [Object] Object to be compared
134
- def eql?(o)
135
- self == o
136
- end
137
-
138
- # Calculates hash code according to all attributes.
139
- # @return [Fixnum] Hash code
140
- def hash
141
- [end_position, envelope_transfer_rules, next_uri, previous_uri, result_set_size, start_position, total_set_size].hash
142
- end
143
-
144
- # Builds the object from hash
145
- # @param [Hash] attributes Model attributes in the form of hash
146
- # @return [Object] Returns the model itself
147
- def build_from_hash(attributes)
148
- return nil unless attributes.is_a?(Hash)
149
- self.class.swagger_types.each_pair do |key, type|
150
- if type =~ /\AArray<(.*)>/i
151
- # check to ensure the input is an array given that the the attribute
152
- # is documented as an array but the input is not
153
- if attributes[self.class.attribute_map[key]].is_a?(Array)
154
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
155
- end
156
- elsif !attributes[self.class.attribute_map[key]].nil?
157
- self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
158
- end # or else data not found in attributes(hash), not an issue as the data can be optional
159
- end
160
-
161
- self
162
- end
163
-
164
- # Deserializes the data based on type
165
- # @param string type Data type
166
- # @param string value Value to be deserialized
167
- # @return [Object] Deserialized data
168
- def _deserialize(type, value)
169
- case type.to_sym
170
- when :DateTime
171
- DateTime.parse(value)
172
- when :Date
173
- Date.parse(value)
174
- when :String
175
- value.to_s
176
- when :Integer
177
- value.to_i
178
- when :Float
179
- value.to_f
180
- when :BOOLEAN
181
- if value.to_s =~ /\A(true|t|yes|y|1)\z/i
182
- true
183
- else
184
- false
185
- end
186
- when :Object
187
- # generic object (usually a Hash), return directly
188
- value
189
- when /\AArray<(?<inner_type>.+)>\z/
190
- inner_type = Regexp.last_match[:inner_type]
191
- value.map { |v| _deserialize(inner_type, v) }
192
- when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
193
- k_type = Regexp.last_match[:k_type]
194
- v_type = Regexp.last_match[:v_type]
195
- {}.tap do |hash|
196
- value.each do |k, v|
197
- hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
198
- end
199
- end
200
- else # model
201
- temp_model = DocuSign_eSign.const_get(type).new
202
- temp_model.build_from_hash(value)
203
- end
204
- end
205
-
206
- # Returns the string representation of the object
207
- # @return [String] String presentation of the object
208
- def to_s
209
- to_hash.to_s
210
- end
211
-
212
- # to_body is an alias to to_hash (backward compatibility)
213
- # @return [Hash] Returns the object in the form of hash
214
- def to_body
215
- to_hash
216
- end
217
-
218
- # Returns the object in the form of hash
219
- # @return [Hash] Returns the object in the form of hash
220
- def to_hash
221
- hash = {}
222
- self.class.attribute_map.each_pair do |attr, param|
223
- value = self.send(attr)
224
- next if value.nil?
225
- hash[param] = _to_hash(value)
226
- end
227
- hash
228
- end
229
-
230
- # Outputs non-array value in the form of hash
231
- # For object, use to_hash. Otherwise, just return the value
232
- # @param [Object] value Any valid value
233
- # @return [Hash] Returns the value in the form of hash
234
- def _to_hash(value)
235
- if value.is_a?(Array)
236
- value.compact.map{ |v| _to_hash(v) }
237
- elsif value.is_a?(Hash)
238
- {}.tap do |hash|
239
- value.each { |k, v| hash[k] = _to_hash(v) }
240
- end
241
- elsif value.respond_to? :to_hash
242
- value.to_hash
243
- else
244
- value
245
- end
246
- end
247
-
248
- end
249
-
250
- end
@@ -1,279 +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 EnvelopeTransferRuleRequest
17
- #
18
- attr_accessor :carbon_copy_original_owner
19
-
20
- #
21
- attr_accessor :enabled
22
-
23
- #
24
- attr_accessor :envelope_transfer_rule_id
25
-
26
- #
27
- attr_accessor :event_type
28
-
29
- #
30
- attr_accessor :from_groups
31
-
32
- #
33
- attr_accessor :from_users
34
-
35
- #
36
- attr_accessor :modified_date
37
-
38
- attr_accessor :modified_user
39
-
40
- attr_accessor :to_folder
41
-
42
- attr_accessor :to_user
43
-
44
-
45
- # Attribute mapping from ruby-style variable name to JSON key.
46
- def self.attribute_map
47
- {
48
- :'carbon_copy_original_owner' => :'carbonCopyOriginalOwner',
49
- :'enabled' => :'enabled',
50
- :'envelope_transfer_rule_id' => :'envelopeTransferRuleId',
51
- :'event_type' => :'eventType',
52
- :'from_groups' => :'fromGroups',
53
- :'from_users' => :'fromUsers',
54
- :'modified_date' => :'modifiedDate',
55
- :'modified_user' => :'modifiedUser',
56
- :'to_folder' => :'toFolder',
57
- :'to_user' => :'toUser'
58
- }
59
- end
60
-
61
- # Attribute type mapping.
62
- def self.swagger_types
63
- {
64
- :'carbon_copy_original_owner' => :'String',
65
- :'enabled' => :'String',
66
- :'envelope_transfer_rule_id' => :'String',
67
- :'event_type' => :'String',
68
- :'from_groups' => :'Array<Group>',
69
- :'from_users' => :'Array<UserInformation>',
70
- :'modified_date' => :'String',
71
- :'modified_user' => :'UserInformation',
72
- :'to_folder' => :'Folder',
73
- :'to_user' => :'UserInformation'
74
- }
75
- end
76
-
77
- # Initializes the object
78
- # @param [Hash] attributes Model attributes in the form of hash
79
- def initialize(attributes = {})
80
- return unless attributes.is_a?(Hash)
81
-
82
- # convert string to symbol for hash key
83
- attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
84
-
85
- if attributes.has_key?(:'carbonCopyOriginalOwner')
86
- self.carbon_copy_original_owner = attributes[:'carbonCopyOriginalOwner']
87
- end
88
-
89
- if attributes.has_key?(:'enabled')
90
- self.enabled = attributes[:'enabled']
91
- end
92
-
93
- if attributes.has_key?(:'envelopeTransferRuleId')
94
- self.envelope_transfer_rule_id = attributes[:'envelopeTransferRuleId']
95
- end
96
-
97
- if attributes.has_key?(:'eventType')
98
- self.event_type = attributes[:'eventType']
99
- end
100
-
101
- if attributes.has_key?(:'fromGroups')
102
- if (value = attributes[:'fromGroups']).is_a?(Array)
103
- self.from_groups = value
104
- end
105
- end
106
-
107
- if attributes.has_key?(:'fromUsers')
108
- if (value = attributes[:'fromUsers']).is_a?(Array)
109
- self.from_users = value
110
- end
111
- end
112
-
113
- if attributes.has_key?(:'modifiedDate')
114
- self.modified_date = attributes[:'modifiedDate']
115
- end
116
-
117
- if attributes.has_key?(:'modifiedUser')
118
- self.modified_user = attributes[:'modifiedUser']
119
- end
120
-
121
- if attributes.has_key?(:'toFolder')
122
- self.to_folder = attributes[:'toFolder']
123
- end
124
-
125
- if attributes.has_key?(:'toUser')
126
- self.to_user = attributes[:'toUser']
127
- end
128
-
129
- end
130
-
131
- # Show invalid properties with the reasons. Usually used together with valid?
132
- # @return Array for valid properies with the reasons
133
- def list_invalid_properties
134
- invalid_properties = Array.new
135
- return invalid_properties
136
- end
137
-
138
- # Check to see if the all the properties in the model are valid
139
- # @return true if the model is valid
140
- def valid?
141
- return true
142
- end
143
-
144
- # Checks equality by comparing each attribute.
145
- # @param [Object] Object to be compared
146
- def ==(o)
147
- return true if self.equal?(o)
148
- self.class == o.class &&
149
- carbon_copy_original_owner == o.carbon_copy_original_owner &&
150
- enabled == o.enabled &&
151
- envelope_transfer_rule_id == o.envelope_transfer_rule_id &&
152
- event_type == o.event_type &&
153
- from_groups == o.from_groups &&
154
- from_users == o.from_users &&
155
- modified_date == o.modified_date &&
156
- modified_user == o.modified_user &&
157
- to_folder == o.to_folder &&
158
- to_user == o.to_user
159
- end
160
-
161
- # @see the `==` method
162
- # @param [Object] Object to be compared
163
- def eql?(o)
164
- self == o
165
- end
166
-
167
- # Calculates hash code according to all attributes.
168
- # @return [Fixnum] Hash code
169
- def hash
170
- [carbon_copy_original_owner, enabled, envelope_transfer_rule_id, event_type, from_groups, from_users, modified_date, modified_user, to_folder, to_user].hash
171
- end
172
-
173
- # Builds the object from hash
174
- # @param [Hash] attributes Model attributes in the form of hash
175
- # @return [Object] Returns the model itself
176
- def build_from_hash(attributes)
177
- return nil unless attributes.is_a?(Hash)
178
- self.class.swagger_types.each_pair do |key, type|
179
- if type =~ /\AArray<(.*)>/i
180
- # check to ensure the input is an array given that the the attribute
181
- # is documented as an array but the input is not
182
- if attributes[self.class.attribute_map[key]].is_a?(Array)
183
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
184
- end
185
- elsif !attributes[self.class.attribute_map[key]].nil?
186
- self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
187
- end # or else data not found in attributes(hash), not an issue as the data can be optional
188
- end
189
-
190
- self
191
- end
192
-
193
- # Deserializes the data based on type
194
- # @param string type Data type
195
- # @param string value Value to be deserialized
196
- # @return [Object] Deserialized data
197
- def _deserialize(type, value)
198
- case type.to_sym
199
- when :DateTime
200
- DateTime.parse(value)
201
- when :Date
202
- Date.parse(value)
203
- when :String
204
- value.to_s
205
- when :Integer
206
- value.to_i
207
- when :Float
208
- value.to_f
209
- when :BOOLEAN
210
- if value.to_s =~ /\A(true|t|yes|y|1)\z/i
211
- true
212
- else
213
- false
214
- end
215
- when :Object
216
- # generic object (usually a Hash), return directly
217
- value
218
- when /\AArray<(?<inner_type>.+)>\z/
219
- inner_type = Regexp.last_match[:inner_type]
220
- value.map { |v| _deserialize(inner_type, v) }
221
- when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
222
- k_type = Regexp.last_match[:k_type]
223
- v_type = Regexp.last_match[:v_type]
224
- {}.tap do |hash|
225
- value.each do |k, v|
226
- hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
227
- end
228
- end
229
- else # model
230
- temp_model = DocuSign_eSign.const_get(type).new
231
- temp_model.build_from_hash(value)
232
- end
233
- end
234
-
235
- # Returns the string representation of the object
236
- # @return [String] String presentation of the object
237
- def to_s
238
- to_hash.to_s
239
- end
240
-
241
- # to_body is an alias to to_hash (backward compatibility)
242
- # @return [Hash] Returns the object in the form of hash
243
- def to_body
244
- to_hash
245
- end
246
-
247
- # Returns the object in the form of hash
248
- # @return [Hash] Returns the object in the form of hash
249
- def to_hash
250
- hash = {}
251
- self.class.attribute_map.each_pair do |attr, param|
252
- value = self.send(attr)
253
- next if value.nil?
254
- hash[param] = _to_hash(value)
255
- end
256
- hash
257
- end
258
-
259
- # Outputs non-array value in the form of hash
260
- # For object, use to_hash. Otherwise, just return the value
261
- # @param [Object] value Any valid value
262
- # @return [Hash] Returns the value in the form of hash
263
- def _to_hash(value)
264
- if value.is_a?(Array)
265
- value.compact.map{ |v| _to_hash(v) }
266
- elsif value.is_a?(Hash)
267
- {}.tap do |hash|
268
- value.each { |k, v| hash[k] = _to_hash(v) }
269
- end
270
- elsif value.respond_to? :to_hash
271
- value.to_hash
272
- else
273
- value
274
- end
275
- end
276
-
277
- end
278
-
279
- end