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 DisplayAppliancePage
17
- # Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.
18
- attr_accessor :document_id
19
-
20
- #
21
- attr_accessor :document_name
22
-
23
- #
24
- attr_accessor :external_document_id
25
-
26
- # Height of the tab in pixels.
27
- attr_accessor :height
28
-
29
- #
30
- attr_accessor :is_first_page
31
-
32
- #
33
- attr_accessor :page_id
34
-
35
- #
36
- attr_accessor :page_no
37
-
38
- #
39
- attr_accessor :page_status
40
-
41
- #
42
- attr_accessor :page_type
43
-
44
- # Width of the tab in pixels.
45
- attr_accessor :width
46
-
47
-
48
- # Attribute mapping from ruby-style variable name to JSON key.
49
- def self.attribute_map
50
- {
51
- :'document_id' => :'documentId',
52
- :'document_name' => :'documentName',
53
- :'external_document_id' => :'externalDocumentId',
54
- :'height' => :'height',
55
- :'is_first_page' => :'isFirstPage',
56
- :'page_id' => :'pageId',
57
- :'page_no' => :'pageNo',
58
- :'page_status' => :'pageStatus',
59
- :'page_type' => :'pageType',
60
- :'width' => :'width'
61
- }
62
- end
63
-
64
- # Attribute type mapping.
65
- def self.swagger_types
66
- {
67
- :'document_id' => :'String',
68
- :'document_name' => :'String',
69
- :'external_document_id' => :'String',
70
- :'height' => :'Integer',
71
- :'is_first_page' => :'BOOLEAN',
72
- :'page_id' => :'String',
73
- :'page_no' => :'Integer',
74
- :'page_status' => :'String',
75
- :'page_type' => :'String',
76
- :'width' => :'Integer'
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?(:'documentId')
89
- self.document_id = attributes[:'documentId']
90
- end
91
-
92
- if attributes.has_key?(:'documentName')
93
- self.document_name = attributes[:'documentName']
94
- end
95
-
96
- if attributes.has_key?(:'externalDocumentId')
97
- self.external_document_id = attributes[:'externalDocumentId']
98
- end
99
-
100
- if attributes.has_key?(:'height')
101
- self.height = attributes[:'height']
102
- end
103
-
104
- if attributes.has_key?(:'isFirstPage')
105
- self.is_first_page = attributes[:'isFirstPage']
106
- end
107
-
108
- if attributes.has_key?(:'pageId')
109
- self.page_id = attributes[:'pageId']
110
- end
111
-
112
- if attributes.has_key?(:'pageNo')
113
- self.page_no = attributes[:'pageNo']
114
- end
115
-
116
- if attributes.has_key?(:'pageStatus')
117
- self.page_status = attributes[:'pageStatus']
118
- end
119
-
120
- if attributes.has_key?(:'pageType')
121
- self.page_type = attributes[:'pageType']
122
- end
123
-
124
- if attributes.has_key?(:'width')
125
- self.width = attributes[:'width']
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
- document_id == o.document_id &&
149
- document_name == o.document_name &&
150
- external_document_id == o.external_document_id &&
151
- height == o.height &&
152
- is_first_page == o.is_first_page &&
153
- page_id == o.page_id &&
154
- page_no == o.page_no &&
155
- page_status == o.page_status &&
156
- page_type == o.page_type &&
157
- width == o.width
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
- [document_id, document_name, external_document_id, height, is_first_page, page_id, page_no, page_status, page_type, width].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,267 +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 DisplayAppliancePdf
17
- attr_accessor :attachment_info
18
-
19
- #
20
- attr_accessor :doc_name
21
-
22
- # Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.
23
- attr_accessor :document_id
24
-
25
- #
26
- attr_accessor :latest_pdf
27
-
28
- #
29
- attr_accessor :latest_pdf_id
30
-
31
- #
32
- attr_accessor :original_pdf
33
-
34
- #
35
- attr_accessor :original_pdf_id
36
-
37
- #
38
- attr_accessor :page_count
39
-
40
- #
41
- attr_accessor :pdf_type
42
-
43
-
44
- # Attribute mapping from ruby-style variable name to JSON key.
45
- def self.attribute_map
46
- {
47
- :'attachment_info' => :'attachmentInfo',
48
- :'doc_name' => :'docName',
49
- :'document_id' => :'documentId',
50
- :'latest_pdf' => :'latestPdf',
51
- :'latest_pdf_id' => :'latestPDFId',
52
- :'original_pdf' => :'originalPdf',
53
- :'original_pdf_id' => :'originalPDFId',
54
- :'page_count' => :'pageCount',
55
- :'pdf_type' => :'pdfType'
56
- }
57
- end
58
-
59
- # Attribute type mapping.
60
- def self.swagger_types
61
- {
62
- :'attachment_info' => :'DisplayApplianceSignerAttachment',
63
- :'doc_name' => :'String',
64
- :'document_id' => :'String',
65
- :'latest_pdf' => :'String',
66
- :'latest_pdf_id' => :'String',
67
- :'original_pdf' => :'String',
68
- :'original_pdf_id' => :'String',
69
- :'page_count' => :'Integer',
70
- :'pdf_type' => :'String'
71
- }
72
- end
73
-
74
- # Initializes the object
75
- # @param [Hash] attributes Model attributes in the form of hash
76
- def initialize(attributes = {})
77
- return unless attributes.is_a?(Hash)
78
-
79
- # convert string to symbol for hash key
80
- attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
81
-
82
- if attributes.has_key?(:'attachmentInfo')
83
- self.attachment_info = attributes[:'attachmentInfo']
84
- end
85
-
86
- if attributes.has_key?(:'docName')
87
- self.doc_name = attributes[:'docName']
88
- end
89
-
90
- if attributes.has_key?(:'documentId')
91
- self.document_id = attributes[:'documentId']
92
- end
93
-
94
- if attributes.has_key?(:'latestPdf')
95
- self.latest_pdf = attributes[:'latestPdf']
96
- end
97
-
98
- if attributes.has_key?(:'latestPDFId')
99
- self.latest_pdf_id = attributes[:'latestPDFId']
100
- end
101
-
102
- if attributes.has_key?(:'originalPdf')
103
- self.original_pdf = attributes[:'originalPdf']
104
- end
105
-
106
- if attributes.has_key?(:'originalPDFId')
107
- self.original_pdf_id = attributes[:'originalPDFId']
108
- end
109
-
110
- if attributes.has_key?(:'pageCount')
111
- self.page_count = attributes[:'pageCount']
112
- end
113
-
114
- if attributes.has_key?(:'pdfType')
115
- self.pdf_type = attributes[:'pdfType']
116
- end
117
-
118
- end
119
-
120
- # Show invalid properties with the reasons. Usually used together with valid?
121
- # @return Array for valid properies with the reasons
122
- def list_invalid_properties
123
- invalid_properties = Array.new
124
- return invalid_properties
125
- end
126
-
127
- # Check to see if the all the properties in the model are valid
128
- # @return true if the model is valid
129
- def valid?
130
- return true
131
- end
132
-
133
- # Checks equality by comparing each attribute.
134
- # @param [Object] Object to be compared
135
- def ==(o)
136
- return true if self.equal?(o)
137
- self.class == o.class &&
138
- attachment_info == o.attachment_info &&
139
- doc_name == o.doc_name &&
140
- document_id == o.document_id &&
141
- latest_pdf == o.latest_pdf &&
142
- latest_pdf_id == o.latest_pdf_id &&
143
- original_pdf == o.original_pdf &&
144
- original_pdf_id == o.original_pdf_id &&
145
- page_count == o.page_count &&
146
- pdf_type == o.pdf_type
147
- end
148
-
149
- # @see the `==` method
150
- # @param [Object] Object to be compared
151
- def eql?(o)
152
- self == o
153
- end
154
-
155
- # Calculates hash code according to all attributes.
156
- # @return [Fixnum] Hash code
157
- def hash
158
- [attachment_info, doc_name, document_id, latest_pdf, latest_pdf_id, original_pdf, original_pdf_id, page_count, pdf_type].hash
159
- end
160
-
161
- # Builds the object from hash
162
- # @param [Hash] attributes Model attributes in the form of hash
163
- # @return [Object] Returns the model itself
164
- def build_from_hash(attributes)
165
- return nil unless attributes.is_a?(Hash)
166
- self.class.swagger_types.each_pair do |key, type|
167
- if type =~ /\AArray<(.*)>/i
168
- # check to ensure the input is an array given that the the attribute
169
- # is documented as an array but the input is not
170
- if attributes[self.class.attribute_map[key]].is_a?(Array)
171
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
172
- end
173
- elsif !attributes[self.class.attribute_map[key]].nil?
174
- self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
175
- end # or else data not found in attributes(hash), not an issue as the data can be optional
176
- end
177
-
178
- self
179
- end
180
-
181
- # Deserializes the data based on type
182
- # @param string type Data type
183
- # @param string value Value to be deserialized
184
- # @return [Object] Deserialized data
185
- def _deserialize(type, value)
186
- case type.to_sym
187
- when :DateTime
188
- DateTime.parse(value)
189
- when :Date
190
- Date.parse(value)
191
- when :String
192
- value.to_s
193
- when :Integer
194
- value.to_i
195
- when :Float
196
- value.to_f
197
- when :BOOLEAN
198
- if value.to_s =~ /\A(true|t|yes|y|1)\z/i
199
- true
200
- else
201
- false
202
- end
203
- when :Object
204
- # generic object (usually a Hash), return directly
205
- value
206
- when /\AArray<(?<inner_type>.+)>\z/
207
- inner_type = Regexp.last_match[:inner_type]
208
- value.map { |v| _deserialize(inner_type, v) }
209
- when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
210
- k_type = Regexp.last_match[:k_type]
211
- v_type = Regexp.last_match[:v_type]
212
- {}.tap do |hash|
213
- value.each do |k, v|
214
- hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
215
- end
216
- end
217
- else # model
218
- temp_model = DocuSign_eSign.const_get(type).new
219
- temp_model.build_from_hash(value)
220
- end
221
- end
222
-
223
- # Returns the string representation of the object
224
- # @return [String] String presentation of the object
225
- def to_s
226
- to_hash.to_s
227
- end
228
-
229
- # to_body is an alias to to_hash (backward compatibility)
230
- # @return [Hash] Returns the object in the form of hash
231
- def to_body
232
- to_hash
233
- end
234
-
235
- # Returns the object in the form of hash
236
- # @return [Hash] Returns the object in the form of hash
237
- def to_hash
238
- hash = {}
239
- self.class.attribute_map.each_pair do |attr, param|
240
- value = self.send(attr)
241
- next if value.nil?
242
- hash[param] = _to_hash(value)
243
- end
244
- hash
245
- end
246
-
247
- # Outputs non-array value in the form of hash
248
- # For object, use to_hash. Otherwise, just return the value
249
- # @param [Object] value Any valid value
250
- # @return [Hash] Returns the value in the form of hash
251
- def _to_hash(value)
252
- if value.is_a?(Array)
253
- value.compact.map{ |v| _to_hash(v) }
254
- elsif value.is_a?(Hash)
255
- {}.tap do |hash|
256
- value.each { |k, v| hash[k] = _to_hash(v) }
257
- end
258
- elsif value.respond_to? :to_hash
259
- value.to_hash
260
- else
261
- value
262
- end
263
- end
264
-
265
- end
266
-
267
- end