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 BccEmailArchiveHistoryList
17
- #
18
- attr_accessor :bcc_email_archive_history
19
-
20
- # The last position in the result set.
21
- attr_accessor :end_position
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
- :'bcc_email_archive_history' => :'bccEmailArchiveHistory',
43
- :'end_position' => :'endPosition',
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
- :'bcc_email_archive_history' => :'Array<BccEmailArchiveHistory>',
56
- :'end_position' => :'String',
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?(:'bccEmailArchiveHistory')
74
- if (value = attributes[:'bccEmailArchiveHistory']).is_a?(Array)
75
- self.bcc_email_archive_history = value
76
- end
77
- end
78
-
79
- if attributes.has_key?(:'endPosition')
80
- self.end_position = attributes[:'endPosition']
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
- bcc_email_archive_history == o.bcc_email_archive_history &&
124
- end_position == o.end_position &&
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
- [bcc_email_archive_history, end_position, 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,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 BccEmailArchiveList
17
- #
18
- attr_accessor :bcc_email_archives
19
-
20
- # The last position in the result set.
21
- attr_accessor :end_position
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
- :'bcc_email_archives' => :'bccEmailArchives',
43
- :'end_position' => :'endPosition',
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
- :'bcc_email_archives' => :'Array<BccEmailArchive>',
56
- :'end_position' => :'String',
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?(:'bccEmailArchives')
74
- if (value = attributes[:'bccEmailArchives']).is_a?(Array)
75
- self.bcc_email_archives = value
76
- end
77
- end
78
-
79
- if attributes.has_key?(:'endPosition')
80
- self.end_position = attributes[:'endPosition']
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
- bcc_email_archives == o.bcc_email_archives &&
124
- end_position == o.end_position &&
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
- [bcc_email_archives, end_position, 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