docusign_esign 3.13.0 → 3.14.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +6 -0
  3. data/docusign_esign.gemspec +5 -5
  4. data/lib/docusign_esign/api/accounts_api.rb +26 -325
  5. data/lib/docusign_esign/api/connect_api.rb +7 -7
  6. data/lib/docusign_esign/api/envelopes_api.rb +10 -10
  7. data/lib/docusign_esign/api/organizations_api.rb +8 -60
  8. data/lib/docusign_esign/api/users_api.rb +4 -0
  9. data/lib/docusign_esign/client/api_client.rb +16 -10
  10. data/lib/docusign_esign/client/api_error.rb +1 -1
  11. data/lib/docusign_esign/client/auth/oauth.rb +1 -1
  12. data/lib/docusign_esign/models/account_billing_plan_response.rb +7 -8
  13. data/lib/docusign_esign/models/account_settings_information.rb +145 -1
  14. data/lib/docusign_esign/models/billing_entity_information_response.rb +214 -0
  15. data/lib/docusign_esign/models/bulk_send_batch_status.rb +10 -1
  16. data/lib/docusign_esign/models/bulk_send_envelopes_info.rb +204 -0
  17. data/lib/docusign_esign/models/checkbox.rb +21 -1
  18. data/lib/docusign_esign/models/connect_custom_configuration.rb +13 -1
  19. data/lib/docusign_esign/models/connect_user_info.rb +1 -11
  20. data/lib/docusign_esign/models/contact.rb +11 -1
  21. data/lib/docusign_esign/models/delayed_routing_api_model.rb +206 -0
  22. data/lib/docusign_esign/models/delegation_info.rb +214 -0
  23. data/lib/docusign_esign/models/envelope_delay_rule_api_model.rb +194 -0
  24. data/lib/docusign_esign/models/event_notification.rb +13 -1
  25. data/lib/docusign_esign/models/external_primary_account_recipient_auth_requirements.rb +214 -0
  26. data/lib/docusign_esign/models/integrated_connect_user_info_list.rb +6 -6
  27. data/lib/docusign_esign/models/linked_external_primary_account.rb +10 -1
  28. data/lib/docusign_esign/models/notary_recipient.rb +32 -1
  29. data/lib/docusign_esign/models/reserved_domain_existence.rb +194 -0
  30. data/lib/docusign_esign/models/scheduled_sending_api_model.rb +206 -0
  31. data/lib/docusign_esign/models/sender_email_notifications.rb +11 -1
  32. data/lib/docusign_esign/models/signer.rb +32 -1
  33. data/lib/docusign_esign/models/tab_account_settings.rb +20 -1
  34. data/lib/docusign_esign/models/user_account_management_granular_information.rb +20 -1
  35. data/lib/docusign_esign/models/witness.rb +32 -1
  36. data/lib/docusign_esign/models/workflow.rb +20 -1
  37. data/lib/docusign_esign/models/workflow_step.rb +10 -1
  38. data/lib/docusign_esign/version.rb +1 -1
  39. data/lib/docusign_esign.rb +8 -12
  40. metadata +14 -6
@@ -0,0 +1,206 @@
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
+ class ScheduledSendingApiModel
16
+ #
17
+ attr_accessor :resume_date
18
+
19
+ #
20
+ attr_accessor :rules
21
+
22
+ # Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.
23
+ attr_accessor :status
24
+
25
+ # Attribute mapping from ruby-style variable name to JSON key.
26
+ def self.attribute_map
27
+ {
28
+ :'resume_date' => :'ResumeDate',
29
+ :'rules' => :'Rules',
30
+ :'status' => :'Status'
31
+ }
32
+ end
33
+
34
+ # Attribute type mapping.
35
+ def self.swagger_types
36
+ {
37
+ :'resume_date' => :'String',
38
+ :'rules' => :'Array<EnvelopeDelayRuleApiModel>',
39
+ :'status' => :'String'
40
+ }
41
+ end
42
+
43
+ # Initializes the object
44
+ # @param [Hash] attributes Model attributes in the form of hash
45
+ def initialize(attributes = {})
46
+ return unless attributes.is_a?(Hash)
47
+
48
+ # convert string to symbol for hash key
49
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
50
+
51
+ if attributes.has_key?(:'ResumeDate')
52
+ self.resume_date = attributes[:'ResumeDate']
53
+ end
54
+
55
+ if attributes.has_key?(:'Rules')
56
+ if (value = attributes[:'Rules']).is_a?(Array)
57
+ self.rules = value
58
+ end
59
+ end
60
+
61
+ if attributes.has_key?(:'Status')
62
+ self.status = attributes[:'Status']
63
+ end
64
+ end
65
+
66
+ # Show invalid properties with the reasons. Usually used together with valid?
67
+ # @return Array for valid properties with the reasons
68
+ def list_invalid_properties
69
+ invalid_properties = Array.new
70
+ invalid_properties
71
+ end
72
+
73
+ # Check to see if the all the properties in the model are valid
74
+ # @return true if the model is valid
75
+ def valid?
76
+ true
77
+ end
78
+
79
+ # Checks equality by comparing each attribute.
80
+ # @param [Object] Object to be compared
81
+ def ==(o)
82
+ return true if self.equal?(o)
83
+ self.class == o.class &&
84
+ resume_date == o.resume_date &&
85
+ rules == o.rules &&
86
+ status == o.status
87
+ end
88
+
89
+ # @see the `==` method
90
+ # @param [Object] Object to be compared
91
+ def eql?(o)
92
+ self == o
93
+ end
94
+
95
+ # Calculates hash code according to all attributes.
96
+ # @return [Fixnum] Hash code
97
+ def hash
98
+ [resume_date, rules, status].hash
99
+ end
100
+
101
+ # Builds the object from hash
102
+ # @param [Hash] attributes Model attributes in the form of hash
103
+ # @return [Object] Returns the model itself
104
+ def build_from_hash(attributes)
105
+ return nil unless attributes.is_a?(Hash)
106
+ self.class.swagger_types.each_pair do |key, type|
107
+ if type =~ /\AArray<(.*)>/i
108
+ # check to ensure the input is an array given that the attribute
109
+ # is documented as an array but the input is not
110
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
111
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
112
+ end
113
+ elsif !attributes[self.class.attribute_map[key]].nil?
114
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
115
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
116
+ end
117
+
118
+ self
119
+ end
120
+
121
+ # Deserializes the data based on type
122
+ # @param string type Data type
123
+ # @param string value Value to be deserialized
124
+ # @return [Object] Deserialized data
125
+ def _deserialize(type, value)
126
+ case type.to_sym
127
+ when :DateTime
128
+ DateTime.parse(value)
129
+ when :Date
130
+ Date.parse(value)
131
+ when :String
132
+ value.to_s
133
+ when :Integer
134
+ value.to_i
135
+ when :Float
136
+ value.to_f
137
+ when :BOOLEAN
138
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
139
+ true
140
+ else
141
+ false
142
+ end
143
+ when :Object
144
+ # generic object (usually a Hash), return directly
145
+ value
146
+ when /\AArray<(?<inner_type>.+)>\z/
147
+ inner_type = Regexp.last_match[:inner_type]
148
+ value.map { |v| _deserialize(inner_type, v) }
149
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
150
+ k_type = Regexp.last_match[:k_type]
151
+ v_type = Regexp.last_match[:v_type]
152
+ {}.tap do |hash|
153
+ value.each do |k, v|
154
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
155
+ end
156
+ end
157
+ else # model
158
+ temp_model = DocuSign_eSign.const_get(type).new
159
+ temp_model.build_from_hash(value)
160
+ end
161
+ end
162
+
163
+ # Returns the string representation of the object
164
+ # @return [String] String presentation of the object
165
+ def to_s
166
+ to_hash.to_s
167
+ end
168
+
169
+ # to_body is an alias to to_hash (backward compatibility)
170
+ # @return [Hash] Returns the object in the form of hash
171
+ def to_body
172
+ to_hash
173
+ end
174
+
175
+ # Returns the object in the form of hash
176
+ # @return [Hash] Returns the object in the form of hash
177
+ def to_hash
178
+ hash = {}
179
+ self.class.attribute_map.each_pair do |attr, param|
180
+ value = self.send(attr)
181
+ next if value.nil?
182
+ hash[param] = _to_hash(value)
183
+ end
184
+ hash
185
+ end
186
+
187
+ # Outputs non-array value in the form of hash
188
+ # For object, use to_hash. Otherwise, just return the value
189
+ # @param [Object] value Any valid value
190
+ # @return [Hash] Returns the value in the form of hash
191
+ def _to_hash(value)
192
+ if value.is_a?(Array)
193
+ value.compact.map { |v| _to_hash(v) }
194
+ elsif value.is_a?(Hash)
195
+ {}.tap do |hash|
196
+ value.each { |k, v| hash[k] = _to_hash(v) }
197
+ end
198
+ elsif value.respond_to? :to_hash
199
+ value.to_hash
200
+ else
201
+ value
202
+ end
203
+ end
204
+
205
+ end
206
+ end
@@ -16,6 +16,9 @@ module DocuSign_eSign
16
16
  # When set to **true**, the sender receives notification if the signer changes.
17
17
  attr_accessor :changed_signer
18
18
 
19
+ #
20
+ attr_accessor :clickwrap_responses_limit_notification_email
21
+
19
22
  #
20
23
  attr_accessor :comments_only_private_and_mention
21
24
 
@@ -50,6 +53,7 @@ module DocuSign_eSign
50
53
  def self.attribute_map
51
54
  {
52
55
  :'changed_signer' => :'changedSigner',
56
+ :'clickwrap_responses_limit_notification_email' => :'clickwrapResponsesLimitNotificationEmail',
53
57
  :'comments_only_private_and_mention' => :'commentsOnlyPrivateAndMention',
54
58
  :'comments_receive_all' => :'commentsReceiveAll',
55
59
  :'delivery_failed' => :'deliveryFailed',
@@ -67,6 +71,7 @@ module DocuSign_eSign
67
71
  def self.swagger_types
68
72
  {
69
73
  :'changed_signer' => :'String',
74
+ :'clickwrap_responses_limit_notification_email' => :'String',
70
75
  :'comments_only_private_and_mention' => :'String',
71
76
  :'comments_receive_all' => :'String',
72
77
  :'delivery_failed' => :'String',
@@ -92,6 +97,10 @@ module DocuSign_eSign
92
97
  self.changed_signer = attributes[:'changedSigner']
93
98
  end
94
99
 
100
+ if attributes.has_key?(:'clickwrapResponsesLimitNotificationEmail')
101
+ self.clickwrap_responses_limit_notification_email = attributes[:'clickwrapResponsesLimitNotificationEmail']
102
+ end
103
+
95
104
  if attributes.has_key?(:'commentsOnlyPrivateAndMention')
96
105
  self.comments_only_private_and_mention = attributes[:'commentsOnlyPrivateAndMention']
97
106
  end
@@ -152,6 +161,7 @@ module DocuSign_eSign
152
161
  return true if self.equal?(o)
153
162
  self.class == o.class &&
154
163
  changed_signer == o.changed_signer &&
164
+ clickwrap_responses_limit_notification_email == o.clickwrap_responses_limit_notification_email &&
155
165
  comments_only_private_and_mention == o.comments_only_private_and_mention &&
156
166
  comments_receive_all == o.comments_receive_all &&
157
167
  delivery_failed == o.delivery_failed &&
@@ -173,7 +183,7 @@ module DocuSign_eSign
173
183
  # Calculates hash code according to all attributes.
174
184
  # @return [Fixnum] Hash code
175
185
  def hash
176
- [changed_signer, comments_only_private_and_mention, comments_receive_all, delivery_failed, envelope_complete, offline_signing_failed, powerform_responses_limit_notification_email, purge_documents, recipient_viewed, sender_envelope_declined, withdrawn_consent].hash
186
+ [changed_signer, clickwrap_responses_limit_notification_email, comments_only_private_and_mention, comments_receive_all, delivery_failed, envelope_complete, offline_signing_failed, powerform_responses_limit_notification_email, purge_documents, recipient_viewed, sender_envelope_declined, withdrawn_consent].hash
177
187
  end
178
188
 
179
189
  # Builds the object from hash
@@ -66,6 +66,11 @@ module DocuSign_eSign
66
66
  #
67
67
  attr_accessor :default_recipient
68
68
 
69
+ attr_accessor :delegated_by
70
+
71
+ #
72
+ attr_accessor :delegated_to
73
+
69
74
  # Reserved: For DocuSign use only.
70
75
  attr_accessor :delivered_date_time
71
76
 
@@ -149,6 +154,9 @@ module DocuSign_eSign
149
154
  #
150
155
  attr_accessor :notary_id
151
156
 
157
+ #
158
+ attr_accessor :notary_signer_email_sent
159
+
152
160
  # Specifies a note that is unique to this recipient. This note is sent to the recipient via the signing email. The note displays in the signing UI near the upper left corner of the document on the signing screen. Maximum Length: 1000 characters.
153
161
  attr_accessor :note
154
162
 
@@ -282,6 +290,8 @@ module DocuSign_eSign
282
290
  :'declined_date_time' => :'declinedDateTime',
283
291
  :'declined_reason' => :'declinedReason',
284
292
  :'default_recipient' => :'defaultRecipient',
293
+ :'delegated_by' => :'delegatedBy',
294
+ :'delegated_to' => :'delegatedTo',
285
295
  :'delivered_date_time' => :'deliveredDateTime',
286
296
  :'delivery_method' => :'deliveryMethod',
287
297
  :'delivery_method_metadata' => :'deliveryMethodMetadata',
@@ -314,6 +324,7 @@ module DocuSign_eSign
314
324
  :'name' => :'name',
315
325
  :'name_metadata' => :'nameMetadata',
316
326
  :'notary_id' => :'notaryId',
327
+ :'notary_signer_email_sent' => :'notarySignerEmailSent',
317
328
  :'note' => :'note',
318
329
  :'note_metadata' => :'noteMetadata',
319
330
  :'offline_attributes' => :'offlineAttributes',
@@ -380,6 +391,8 @@ module DocuSign_eSign
380
391
  :'declined_date_time' => :'String',
381
392
  :'declined_reason' => :'String',
382
393
  :'default_recipient' => :'String',
394
+ :'delegated_by' => :'DelegationInfo',
395
+ :'delegated_to' => :'Array<DelegationInfo>',
383
396
  :'delivered_date_time' => :'String',
384
397
  :'delivery_method' => :'String',
385
398
  :'delivery_method_metadata' => :'PropertyMetadata',
@@ -412,6 +425,7 @@ module DocuSign_eSign
412
425
  :'name' => :'String',
413
426
  :'name_metadata' => :'PropertyMetadata',
414
427
  :'notary_id' => :'String',
428
+ :'notary_signer_email_sent' => :'String',
415
429
  :'note' => :'String',
416
430
  :'note_metadata' => :'PropertyMetadata',
417
431
  :'offline_attributes' => :'OfflineAttributes',
@@ -541,6 +555,16 @@ module DocuSign_eSign
541
555
  self.default_recipient = attributes[:'defaultRecipient']
542
556
  end
543
557
 
558
+ if attributes.has_key?(:'delegatedBy')
559
+ self.delegated_by = attributes[:'delegatedBy']
560
+ end
561
+
562
+ if attributes.has_key?(:'delegatedTo')
563
+ if (value = attributes[:'delegatedTo']).is_a?(Array)
564
+ self.delegated_to = value
565
+ end
566
+ end
567
+
544
568
  if attributes.has_key?(:'deliveredDateTime')
545
569
  self.delivered_date_time = attributes[:'deliveredDateTime']
546
570
  end
@@ -673,6 +697,10 @@ module DocuSign_eSign
673
697
  self.notary_id = attributes[:'notaryId']
674
698
  end
675
699
 
700
+ if attributes.has_key?(:'notarySignerEmailSent')
701
+ self.notary_signer_email_sent = attributes[:'notarySignerEmailSent']
702
+ end
703
+
676
704
  if attributes.has_key?(:'note')
677
705
  self.note = attributes[:'note']
678
706
  end
@@ -888,6 +916,8 @@ module DocuSign_eSign
888
916
  declined_date_time == o.declined_date_time &&
889
917
  declined_reason == o.declined_reason &&
890
918
  default_recipient == o.default_recipient &&
919
+ delegated_by == o.delegated_by &&
920
+ delegated_to == o.delegated_to &&
891
921
  delivered_date_time == o.delivered_date_time &&
892
922
  delivery_method == o.delivery_method &&
893
923
  delivery_method_metadata == o.delivery_method_metadata &&
@@ -920,6 +950,7 @@ module DocuSign_eSign
920
950
  name == o.name &&
921
951
  name_metadata == o.name_metadata &&
922
952
  notary_id == o.notary_id &&
953
+ notary_signer_email_sent == o.notary_signer_email_sent &&
923
954
  note == o.note &&
924
955
  note_metadata == o.note_metadata &&
925
956
  offline_attributes == o.offline_attributes &&
@@ -973,7 +1004,7 @@ module DocuSign_eSign
973
1004
  # Calculates hash code according to all attributes.
974
1005
  # @return [Fixnum] Hash code
975
1006
  def hash
976
- [access_code, access_code_metadata, add_access_code_to_email, additional_notifications, agent_can_edit_email, agent_can_edit_name, allow_system_override_for_locked_recipient, auto_navigation, auto_responded_reason, bulk_recipients_uri, can_sign_offline, client_user_id, completed_count, creation_reason, custom_fields, declined_date_time, declined_reason, default_recipient, delivered_date_time, delivery_method, delivery_method_metadata, designator_id, designator_id_guid, document_visibility, email, email_metadata, email_notification, embedded_recipient_start_url, error_details, excluded_documents, fax_number, fax_number_metadata, first_name, first_name_metadata, full_name, full_name_metadata, id_check_configuration_name, id_check_configuration_name_metadata, id_check_information_input, identity_verification, inherit_email_notification_configuration, is_bulk_recipient, is_bulk_recipient_metadata, last_name, last_name_metadata, locked_recipient_phone_auth_editable, locked_recipient_sms_editable, name, name_metadata, notary_id, note, note_metadata, offline_attributes, phone_authentication, phone_number, proof_file, recipient_attachments, recipient_authentication_status, recipient_feature_metadata, recipient_id, recipient_id_guid, recipient_signature_providers, recipient_supplies_tabs, recipient_type, recipient_type_metadata, require_id_lookup, require_id_lookup_metadata, require_signer_certificate, require_sign_on_paper, require_upload_signature, role_name, routing_order, routing_order_metadata, sent_date_time, signature_info, signed_date_time, sign_in_each_location, sign_in_each_location_metadata, signing_group_id, signing_group_id_metadata, signing_group_name, signing_group_users, sms_authentication, social_authentications, status, status_code, suppress_emails, tabs, template_locked, template_required, total_tab_count, user_id].hash
1007
+ [access_code, access_code_metadata, add_access_code_to_email, additional_notifications, agent_can_edit_email, agent_can_edit_name, allow_system_override_for_locked_recipient, auto_navigation, auto_responded_reason, bulk_recipients_uri, can_sign_offline, client_user_id, completed_count, creation_reason, custom_fields, declined_date_time, declined_reason, default_recipient, delegated_by, delegated_to, delivered_date_time, delivery_method, delivery_method_metadata, designator_id, designator_id_guid, document_visibility, email, email_metadata, email_notification, embedded_recipient_start_url, error_details, excluded_documents, fax_number, fax_number_metadata, first_name, first_name_metadata, full_name, full_name_metadata, id_check_configuration_name, id_check_configuration_name_metadata, id_check_information_input, identity_verification, inherit_email_notification_configuration, is_bulk_recipient, is_bulk_recipient_metadata, last_name, last_name_metadata, locked_recipient_phone_auth_editable, locked_recipient_sms_editable, name, name_metadata, notary_id, notary_signer_email_sent, note, note_metadata, offline_attributes, phone_authentication, phone_number, proof_file, recipient_attachments, recipient_authentication_status, recipient_feature_metadata, recipient_id, recipient_id_guid, recipient_signature_providers, recipient_supplies_tabs, recipient_type, recipient_type_metadata, require_id_lookup, require_id_lookup_metadata, require_signer_certificate, require_sign_on_paper, require_upload_signature, role_name, routing_order, routing_order_metadata, sent_date_time, signature_info, signed_date_time, sign_in_each_location, sign_in_each_location_metadata, signing_group_id, signing_group_id_metadata, signing_group_name, signing_group_users, sms_authentication, social_authentications, status, status_code, suppress_emails, tabs, template_locked, template_required, total_tab_count, user_id].hash
977
1008
  end
978
1009
 
979
1010
  # Builds the object from hash
@@ -33,6 +33,11 @@ module DocuSign_eSign
33
33
 
34
34
  attr_accessor :check_box_tabs_metadata
35
35
 
36
+ #
37
+ attr_accessor :currency_tabs_enabled
38
+
39
+ attr_accessor :currency_tabs_metadata
40
+
36
41
  #
37
42
  attr_accessor :data_field_regex_enabled
38
43
 
@@ -129,6 +134,8 @@ module DocuSign_eSign
129
134
  :'calculated_fields_metadata' => :'calculatedFieldsMetadata',
130
135
  :'checkbox_tabs_enabled' => :'checkboxTabsEnabled',
131
136
  :'check_box_tabs_metadata' => :'checkBoxTabsMetadata',
137
+ :'currency_tabs_enabled' => :'currencyTabsEnabled',
138
+ :'currency_tabs_metadata' => :'currencyTabsMetadata',
132
139
  :'data_field_regex_enabled' => :'dataFieldRegexEnabled',
133
140
  :'data_field_regex_metadata' => :'dataFieldRegexMetadata',
134
141
  :'data_field_size_enabled' => :'dataFieldSizeEnabled',
@@ -177,6 +184,8 @@ module DocuSign_eSign
177
184
  :'calculated_fields_metadata' => :'SettingsMetadata',
178
185
  :'checkbox_tabs_enabled' => :'String',
179
186
  :'check_box_tabs_metadata' => :'SettingsMetadata',
187
+ :'currency_tabs_enabled' => :'String',
188
+ :'currency_tabs_metadata' => :'SettingsMetadata',
180
189
  :'data_field_regex_enabled' => :'String',
181
190
  :'data_field_regex_metadata' => :'SettingsMetadata',
182
191
  :'data_field_size_enabled' => :'String',
@@ -254,6 +263,14 @@ module DocuSign_eSign
254
263
  self.check_box_tabs_metadata = attributes[:'checkBoxTabsMetadata']
255
264
  end
256
265
 
266
+ if attributes.has_key?(:'currencyTabsEnabled')
267
+ self.currency_tabs_enabled = attributes[:'currencyTabsEnabled']
268
+ end
269
+
270
+ if attributes.has_key?(:'currencyTabsMetadata')
271
+ self.currency_tabs_metadata = attributes[:'currencyTabsMetadata']
272
+ end
273
+
257
274
  if attributes.has_key?(:'dataFieldRegexEnabled')
258
275
  self.data_field_regex_enabled = attributes[:'dataFieldRegexEnabled']
259
276
  end
@@ -417,6 +434,8 @@ module DocuSign_eSign
417
434
  calculated_fields_metadata == o.calculated_fields_metadata &&
418
435
  checkbox_tabs_enabled == o.checkbox_tabs_enabled &&
419
436
  check_box_tabs_metadata == o.check_box_tabs_metadata &&
437
+ currency_tabs_enabled == o.currency_tabs_enabled &&
438
+ currency_tabs_metadata == o.currency_tabs_metadata &&
420
439
  data_field_regex_enabled == o.data_field_regex_enabled &&
421
440
  data_field_regex_metadata == o.data_field_regex_metadata &&
422
441
  data_field_size_enabled == o.data_field_size_enabled &&
@@ -462,7 +481,7 @@ module DocuSign_eSign
462
481
  # Calculates hash code according to all attributes.
463
482
  # @return [Fixnum] Hash code
464
483
  def hash
465
- [allow_tab_order, allow_tab_order_metadata, approve_decline_tabs_enabled, approve_decline_tabs_metadata, calculated_fields_enabled, calculated_fields_metadata, checkbox_tabs_enabled, check_box_tabs_metadata, data_field_regex_enabled, data_field_regex_metadata, data_field_size_enabled, data_field_size_metadata, draw_tabs_enabled, draw_tabs_metadata, first_last_email_tabs_enabled, first_last_email_tabs_metadata, list_tabs_enabled, list_tabs_metadata, note_tabs_enabled, note_tabs_metadata, prefill_tabs_enabled, prefill_tabs_metadata, radio_tabs_enabled, radio_tabs_metadata, saving_custom_tabs_enabled, saving_custom_tabs_metadata, sender_to_change_tab_assignments_enabled, sender_to_change_tab_assignments_metadata, shared_custom_tabs_enabled, shared_custom_tabs_metadata, tab_data_label_enabled, tab_data_label_metadata, tab_location_enabled, tab_location_metadata, tab_locking_enabled, tab_locking_metadata, tab_scale_enabled, tab_scale_metadata, tab_text_formatting_enabled, tab_text_formatting_metadata, text_tabs_enabled, text_tabs_metadata].hash
484
+ [allow_tab_order, allow_tab_order_metadata, approve_decline_tabs_enabled, approve_decline_tabs_metadata, calculated_fields_enabled, calculated_fields_metadata, checkbox_tabs_enabled, check_box_tabs_metadata, currency_tabs_enabled, currency_tabs_metadata, data_field_regex_enabled, data_field_regex_metadata, data_field_size_enabled, data_field_size_metadata, draw_tabs_enabled, draw_tabs_metadata, first_last_email_tabs_enabled, first_last_email_tabs_metadata, list_tabs_enabled, list_tabs_metadata, note_tabs_enabled, note_tabs_metadata, prefill_tabs_enabled, prefill_tabs_metadata, radio_tabs_enabled, radio_tabs_metadata, saving_custom_tabs_enabled, saving_custom_tabs_metadata, sender_to_change_tab_assignments_enabled, sender_to_change_tab_assignments_metadata, shared_custom_tabs_enabled, shared_custom_tabs_metadata, tab_data_label_enabled, tab_data_label_metadata, tab_location_enabled, tab_location_metadata, tab_locking_enabled, tab_locking_metadata, tab_scale_enabled, tab_scale_metadata, tab_text_formatting_enabled, tab_text_formatting_metadata, text_tabs_enabled, text_tabs_metadata].hash
466
485
  end
467
486
 
468
487
  # Builds the object from hash
@@ -38,6 +38,11 @@ module DocuSign_eSign
38
38
 
39
39
  attr_accessor :can_manage_envelope_transfer_metadata
40
40
 
41
+ #
42
+ attr_accessor :can_manage_groups_but_not_users
43
+
44
+ attr_accessor :can_manage_groups_but_not_users_metadata
45
+
41
46
  #
42
47
  attr_accessor :can_manage_reporting
43
48
 
@@ -74,6 +79,8 @@ module DocuSign_eSign
74
79
  :'can_manage_document_retention_metadata' => :'canManageDocumentRetentionMetadata',
75
80
  :'can_manage_envelope_transfer' => :'canManageEnvelopeTransfer',
76
81
  :'can_manage_envelope_transfer_metadata' => :'canManageEnvelopeTransferMetadata',
82
+ :'can_manage_groups_but_not_users' => :'canManageGroupsButNotUsers',
83
+ :'can_manage_groups_but_not_users_metadata' => :'canManageGroupsButNotUsersMetadata',
77
84
  :'can_manage_reporting' => :'canManageReporting',
78
85
  :'can_manage_reporting_metadata' => :'canManageReportingMetadata',
79
86
  :'can_manage_sharing' => :'canManageSharing',
@@ -99,6 +106,8 @@ module DocuSign_eSign
99
106
  :'can_manage_document_retention_metadata' => :'SettingsMetadata',
100
107
  :'can_manage_envelope_transfer' => :'String',
101
108
  :'can_manage_envelope_transfer_metadata' => :'SettingsMetadata',
109
+ :'can_manage_groups_but_not_users' => :'String',
110
+ :'can_manage_groups_but_not_users_metadata' => :'SettingsMetadata',
102
111
  :'can_manage_reporting' => :'String',
103
112
  :'can_manage_reporting_metadata' => :'SettingsMetadata',
104
113
  :'can_manage_sharing' => :'String',
@@ -159,6 +168,14 @@ module DocuSign_eSign
159
168
  self.can_manage_envelope_transfer_metadata = attributes[:'canManageEnvelopeTransferMetadata']
160
169
  end
161
170
 
171
+ if attributes.has_key?(:'canManageGroupsButNotUsers')
172
+ self.can_manage_groups_but_not_users = attributes[:'canManageGroupsButNotUsers']
173
+ end
174
+
175
+ if attributes.has_key?(:'canManageGroupsButNotUsersMetadata')
176
+ self.can_manage_groups_but_not_users_metadata = attributes[:'canManageGroupsButNotUsersMetadata']
177
+ end
178
+
162
179
  if attributes.has_key?(:'canManageReporting')
163
180
  self.can_manage_reporting = attributes[:'canManageReporting']
164
181
  end
@@ -224,6 +241,8 @@ module DocuSign_eSign
224
241
  can_manage_document_retention_metadata == o.can_manage_document_retention_metadata &&
225
242
  can_manage_envelope_transfer == o.can_manage_envelope_transfer &&
226
243
  can_manage_envelope_transfer_metadata == o.can_manage_envelope_transfer_metadata &&
244
+ can_manage_groups_but_not_users == o.can_manage_groups_but_not_users &&
245
+ can_manage_groups_but_not_users_metadata == o.can_manage_groups_but_not_users_metadata &&
227
246
  can_manage_reporting == o.can_manage_reporting &&
228
247
  can_manage_reporting_metadata == o.can_manage_reporting_metadata &&
229
248
  can_manage_sharing == o.can_manage_sharing &&
@@ -244,7 +263,7 @@ module DocuSign_eSign
244
263
  # Calculates hash code according to all attributes.
245
264
  # @return [Fixnum] Hash code
246
265
  def hash
247
- [can_manage_account_security_settings, can_manage_account_security_settings_metadata, can_manage_account_settings, can_manage_account_settings_metadata, can_manage_admins, can_manage_admins_metadata, can_manage_document_retention, can_manage_document_retention_metadata, can_manage_envelope_transfer, can_manage_envelope_transfer_metadata, can_manage_reporting, can_manage_reporting_metadata, can_manage_sharing, can_manage_sharing_metadata, can_manage_signing_groups, can_manage_signing_groups_metadata, can_manage_users, can_manage_users_metadata, can_view_users].hash
266
+ [can_manage_account_security_settings, can_manage_account_security_settings_metadata, can_manage_account_settings, can_manage_account_settings_metadata, can_manage_admins, can_manage_admins_metadata, can_manage_document_retention, can_manage_document_retention_metadata, can_manage_envelope_transfer, can_manage_envelope_transfer_metadata, can_manage_groups_but_not_users, can_manage_groups_but_not_users_metadata, can_manage_reporting, can_manage_reporting_metadata, can_manage_sharing, can_manage_sharing_metadata, can_manage_signing_groups, can_manage_signing_groups_metadata, can_manage_users, can_manage_users_metadata, can_view_users].hash
248
267
  end
249
268
 
250
269
  # Builds the object from hash
@@ -66,6 +66,11 @@ module DocuSign_eSign
66
66
  #
67
67
  attr_accessor :default_recipient
68
68
 
69
+ attr_accessor :delegated_by
70
+
71
+ #
72
+ attr_accessor :delegated_to
73
+
69
74
  # Reserved: For DocuSign use only.
70
75
  attr_accessor :delivered_date_time
71
76
 
@@ -149,6 +154,9 @@ module DocuSign_eSign
149
154
  #
150
155
  attr_accessor :notary_id
151
156
 
157
+ #
158
+ attr_accessor :notary_signer_email_sent
159
+
152
160
  # Specifies a note that is unique to this recipient. This note is sent to the recipient via the signing email. The note displays in the signing UI near the upper left corner of the document on the signing screen. Maximum Length: 1000 characters.
153
161
  attr_accessor :note
154
162
 
@@ -288,6 +296,8 @@ module DocuSign_eSign
288
296
  :'declined_date_time' => :'declinedDateTime',
289
297
  :'declined_reason' => :'declinedReason',
290
298
  :'default_recipient' => :'defaultRecipient',
299
+ :'delegated_by' => :'delegatedBy',
300
+ :'delegated_to' => :'delegatedTo',
291
301
  :'delivered_date_time' => :'deliveredDateTime',
292
302
  :'delivery_method' => :'deliveryMethod',
293
303
  :'delivery_method_metadata' => :'deliveryMethodMetadata',
@@ -320,6 +330,7 @@ module DocuSign_eSign
320
330
  :'name' => :'name',
321
331
  :'name_metadata' => :'nameMetadata',
322
332
  :'notary_id' => :'notaryId',
333
+ :'notary_signer_email_sent' => :'notarySignerEmailSent',
323
334
  :'note' => :'note',
324
335
  :'note_metadata' => :'noteMetadata',
325
336
  :'offline_attributes' => :'offlineAttributes',
@@ -388,6 +399,8 @@ module DocuSign_eSign
388
399
  :'declined_date_time' => :'String',
389
400
  :'declined_reason' => :'String',
390
401
  :'default_recipient' => :'String',
402
+ :'delegated_by' => :'DelegationInfo',
403
+ :'delegated_to' => :'Array<DelegationInfo>',
391
404
  :'delivered_date_time' => :'String',
392
405
  :'delivery_method' => :'String',
393
406
  :'delivery_method_metadata' => :'PropertyMetadata',
@@ -420,6 +433,7 @@ module DocuSign_eSign
420
433
  :'name' => :'String',
421
434
  :'name_metadata' => :'PropertyMetadata',
422
435
  :'notary_id' => :'String',
436
+ :'notary_signer_email_sent' => :'String',
423
437
  :'note' => :'String',
424
438
  :'note_metadata' => :'PropertyMetadata',
425
439
  :'offline_attributes' => :'OfflineAttributes',
@@ -551,6 +565,16 @@ module DocuSign_eSign
551
565
  self.default_recipient = attributes[:'defaultRecipient']
552
566
  end
553
567
 
568
+ if attributes.has_key?(:'delegatedBy')
569
+ self.delegated_by = attributes[:'delegatedBy']
570
+ end
571
+
572
+ if attributes.has_key?(:'delegatedTo')
573
+ if (value = attributes[:'delegatedTo']).is_a?(Array)
574
+ self.delegated_to = value
575
+ end
576
+ end
577
+
554
578
  if attributes.has_key?(:'deliveredDateTime')
555
579
  self.delivered_date_time = attributes[:'deliveredDateTime']
556
580
  end
@@ -683,6 +707,10 @@ module DocuSign_eSign
683
707
  self.notary_id = attributes[:'notaryId']
684
708
  end
685
709
 
710
+ if attributes.has_key?(:'notarySignerEmailSent')
711
+ self.notary_signer_email_sent = attributes[:'notarySignerEmailSent']
712
+ end
713
+
686
714
  if attributes.has_key?(:'note')
687
715
  self.note = attributes[:'note']
688
716
  end
@@ -906,6 +934,8 @@ module DocuSign_eSign
906
934
  declined_date_time == o.declined_date_time &&
907
935
  declined_reason == o.declined_reason &&
908
936
  default_recipient == o.default_recipient &&
937
+ delegated_by == o.delegated_by &&
938
+ delegated_to == o.delegated_to &&
909
939
  delivered_date_time == o.delivered_date_time &&
910
940
  delivery_method == o.delivery_method &&
911
941
  delivery_method_metadata == o.delivery_method_metadata &&
@@ -938,6 +968,7 @@ module DocuSign_eSign
938
968
  name == o.name &&
939
969
  name_metadata == o.name_metadata &&
940
970
  notary_id == o.notary_id &&
971
+ notary_signer_email_sent == o.notary_signer_email_sent &&
941
972
  note == o.note &&
942
973
  note_metadata == o.note_metadata &&
943
974
  offline_attributes == o.offline_attributes &&
@@ -993,7 +1024,7 @@ module DocuSign_eSign
993
1024
  # Calculates hash code according to all attributes.
994
1025
  # @return [Fixnum] Hash code
995
1026
  def hash
996
- [access_code, access_code_metadata, add_access_code_to_email, additional_notifications, agent_can_edit_email, agent_can_edit_name, allow_system_override_for_locked_recipient, auto_navigation, auto_responded_reason, bulk_recipients_uri, can_sign_offline, client_user_id, completed_count, creation_reason, custom_fields, declined_date_time, declined_reason, default_recipient, delivered_date_time, delivery_method, delivery_method_metadata, designator_id, designator_id_guid, document_visibility, email, email_metadata, email_notification, embedded_recipient_start_url, error_details, excluded_documents, fax_number, fax_number_metadata, first_name, first_name_metadata, full_name, full_name_metadata, id_check_configuration_name, id_check_configuration_name_metadata, id_check_information_input, identity_verification, inherit_email_notification_configuration, is_bulk_recipient, is_bulk_recipient_metadata, last_name, last_name_metadata, locked_recipient_phone_auth_editable, locked_recipient_sms_editable, name, name_metadata, notary_id, note, note_metadata, offline_attributes, phone_authentication, phone_number, proof_file, recipient_attachments, recipient_authentication_status, recipient_feature_metadata, recipient_id, recipient_id_guid, recipient_signature_providers, recipient_supplies_tabs, recipient_type, recipient_type_metadata, require_id_lookup, require_id_lookup_metadata, require_signer_certificate, require_sign_on_paper, require_upload_signature, role_name, routing_order, routing_order_metadata, sent_date_time, signature_info, signed_date_time, sign_in_each_location, sign_in_each_location_metadata, signing_group_id, signing_group_id_metadata, signing_group_name, signing_group_users, sms_authentication, social_authentications, status, status_code, suppress_emails, tabs, template_locked, template_required, total_tab_count, user_id, witness_for, witness_for_guid].hash
1027
+ [access_code, access_code_metadata, add_access_code_to_email, additional_notifications, agent_can_edit_email, agent_can_edit_name, allow_system_override_for_locked_recipient, auto_navigation, auto_responded_reason, bulk_recipients_uri, can_sign_offline, client_user_id, completed_count, creation_reason, custom_fields, declined_date_time, declined_reason, default_recipient, delegated_by, delegated_to, delivered_date_time, delivery_method, delivery_method_metadata, designator_id, designator_id_guid, document_visibility, email, email_metadata, email_notification, embedded_recipient_start_url, error_details, excluded_documents, fax_number, fax_number_metadata, first_name, first_name_metadata, full_name, full_name_metadata, id_check_configuration_name, id_check_configuration_name_metadata, id_check_information_input, identity_verification, inherit_email_notification_configuration, is_bulk_recipient, is_bulk_recipient_metadata, last_name, last_name_metadata, locked_recipient_phone_auth_editable, locked_recipient_sms_editable, name, name_metadata, notary_id, notary_signer_email_sent, note, note_metadata, offline_attributes, phone_authentication, phone_number, proof_file, recipient_attachments, recipient_authentication_status, recipient_feature_metadata, recipient_id, recipient_id_guid, recipient_signature_providers, recipient_supplies_tabs, recipient_type, recipient_type_metadata, require_id_lookup, require_id_lookup_metadata, require_signer_certificate, require_sign_on_paper, require_upload_signature, role_name, routing_order, routing_order_metadata, sent_date_time, signature_info, signed_date_time, sign_in_each_location, sign_in_each_location_metadata, signing_group_id, signing_group_id_metadata, signing_group_name, signing_group_users, sms_authentication, social_authentications, status, status_code, suppress_emails, tabs, template_locked, template_required, total_tab_count, user_id, witness_for, witness_for_guid].hash
997
1028
  end
998
1029
 
999
1030
  # Builds the object from hash
@@ -16,6 +16,11 @@ module DocuSign_eSign
16
16
  #
17
17
  attr_accessor :current_workflow_step_id
18
18
 
19
+ #
20
+ attr_accessor :resume_date
21
+
22
+ attr_accessor :scheduled_sending
23
+
19
24
  #
20
25
  attr_accessor :workflow_status
21
26
 
@@ -26,6 +31,8 @@ module DocuSign_eSign
26
31
  def self.attribute_map
27
32
  {
28
33
  :'current_workflow_step_id' => :'currentWorkflowStepId',
34
+ :'resume_date' => :'resumeDate',
35
+ :'scheduled_sending' => :'scheduledSending',
29
36
  :'workflow_status' => :'workflowStatus',
30
37
  :'workflow_steps' => :'workflowSteps'
31
38
  }
@@ -35,6 +42,8 @@ module DocuSign_eSign
35
42
  def self.swagger_types
36
43
  {
37
44
  :'current_workflow_step_id' => :'String',
45
+ :'resume_date' => :'String',
46
+ :'scheduled_sending' => :'ScheduledSendingApiModel',
38
47
  :'workflow_status' => :'String',
39
48
  :'workflow_steps' => :'Array<WorkflowStep>'
40
49
  }
@@ -52,6 +61,14 @@ module DocuSign_eSign
52
61
  self.current_workflow_step_id = attributes[:'currentWorkflowStepId']
53
62
  end
54
63
 
64
+ if attributes.has_key?(:'resumeDate')
65
+ self.resume_date = attributes[:'resumeDate']
66
+ end
67
+
68
+ if attributes.has_key?(:'scheduledSending')
69
+ self.scheduled_sending = attributes[:'scheduledSending']
70
+ end
71
+
55
72
  if attributes.has_key?(:'workflowStatus')
56
73
  self.workflow_status = attributes[:'workflowStatus']
57
74
  end
@@ -82,6 +99,8 @@ module DocuSign_eSign
82
99
  return true if self.equal?(o)
83
100
  self.class == o.class &&
84
101
  current_workflow_step_id == o.current_workflow_step_id &&
102
+ resume_date == o.resume_date &&
103
+ scheduled_sending == o.scheduled_sending &&
85
104
  workflow_status == o.workflow_status &&
86
105
  workflow_steps == o.workflow_steps
87
106
  end
@@ -95,7 +114,7 @@ module DocuSign_eSign
95
114
  # Calculates hash code according to all attributes.
96
115
  # @return [Fixnum] Hash code
97
116
  def hash
98
- [current_workflow_step_id, workflow_status, workflow_steps].hash
117
+ [current_workflow_step_id, resume_date, scheduled_sending, workflow_status, workflow_steps].hash
99
118
  end
100
119
 
101
120
  # Builds the object from hash