docusign_esign 2.4.0 → 2.7.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/Gemfile.lock +5 -5
- data/docusign_esign-2.6.0.gem +0 -0
- data/docusign_esign-2.6.0.rc1.gem +0 -0
- data/docusign_esign-3.5.0.gem +0 -0
- data/docusign_esign-3.5.0.rc1.gem +0 -0
- data/lib/docusign_esign.rb +1 -0
- data/lib/docusign_esign/.DS_Store +0 -0
- data/lib/docusign_esign/api/bulk_envelopes_api.rb +0 -4
- data/lib/docusign_esign/api/envelopes_api.rb +54 -0
- data/lib/docusign_esign/api/trust_service_providers_api.rb +74 -0
- data/lib/{.DS_Store → docusign_esign/client/.DS_Store} +0 -0
- data/lib/docusign_esign/models/correct_view_request.rb +14 -4
- data/lib/docusign_esign/models/new_user.rb +11 -1
- data/lib/docusign_esign/models/sender_email_notifications.rb +11 -1
- data/lib/docusign_esign/models/tab_metadata.rb +21 -1
- data/lib/docusign_esign/models/user_account_management_granular_information.rb +20 -1
- data/lib/docusign_esign/version.rb +1 -1
- data/tests/Gemfile.lock +9 -9
- metadata +35 -32
- data/tests/.DS_Store +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 9ab778204dee3c6409f5c34b05467da9fe4a0bfe99b11288cc18fd300329c6f4
|
4
|
+
data.tar.gz: e68efb1f52d2f2393e97bdc28f82ba2a945cef76ca35209c68b7e0b66de0cc7e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9937fe20b519603b1667e0322d8ff7a1939f2c9bca42ed362b024e5b5d1d695b430c1b10d4c22b1b636539f18df085808f6011419a53aa0b1836280078eeebcd
|
7
|
+
data.tar.gz: cff98b151582ed0d6d9ee81c639e8ac90b4ecb1fc502e3809bc6433aa96530705a622c1a42ef9a862a9872f05961ea6597970f4729600ad06a953771ffca27a5
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
docusign_esign (3.
|
4
|
+
docusign_esign (3.4.0)
|
5
5
|
json (~> 2.1, >= 2.1.0)
|
6
6
|
jwt (~> 2.2, >= 2.2.1)
|
7
7
|
typhoeus (~> 1.0, >= 1.0.1)
|
@@ -20,12 +20,12 @@ GEM
|
|
20
20
|
autotest-rails-pure (4.1.2)
|
21
21
|
crack (0.4.3)
|
22
22
|
safe_yaml (~> 1.0.0)
|
23
|
-
diff-lcs (1.
|
23
|
+
diff-lcs (1.4.4)
|
24
24
|
ethon (0.12.0)
|
25
25
|
ffi (>= 1.3.0)
|
26
|
-
ffi (1.
|
26
|
+
ffi (1.13.1)
|
27
27
|
hashdiff (1.0.1)
|
28
|
-
json (2.3.
|
28
|
+
json (2.3.1)
|
29
29
|
jwt (2.2.1)
|
30
30
|
public_suffix (4.0.5)
|
31
31
|
rake (12.3.3)
|
@@ -70,4 +70,4 @@ DEPENDENCIES
|
|
70
70
|
webmock (~> 1.24, >= 1.24.3)
|
71
71
|
|
72
72
|
BUNDLED WITH
|
73
|
-
|
73
|
+
1.17.2
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/lib/docusign_esign.rb
CHANGED
@@ -387,6 +387,7 @@ require 'docusign_esign/api/organizations_api'
|
|
387
387
|
require 'docusign_esign/api/power_forms_api'
|
388
388
|
require 'docusign_esign/api/signing_groups_api'
|
389
389
|
require 'docusign_esign/api/templates_api'
|
390
|
+
require 'docusign_esign/api/trust_service_providers_api'
|
390
391
|
require 'docusign_esign/api/users_api'
|
391
392
|
require 'docusign_esign/api/workspaces_api'
|
392
393
|
|
Binary file
|
@@ -45,9 +45,6 @@ module DocuSign_eSign
|
|
45
45
|
# The number of results to return. This can be 1 to 20.
|
46
46
|
attr_accessor :count
|
47
47
|
|
48
|
-
#
|
49
|
-
attr_accessor :include
|
50
|
-
|
51
48
|
# The position of the bulk envelope items in the response. This is used for repeated calls, when the number of bulk envelopes returned is too large for one return. The default value is 0.
|
52
49
|
attr_accessor :start_position
|
53
50
|
|
@@ -267,7 +264,6 @@ module DocuSign_eSign
|
|
267
264
|
# query parameters
|
268
265
|
query_params = {}
|
269
266
|
query_params[:'count'] = options.count if !options.count.nil?
|
270
|
-
query_params[:'include'] = options.include if !options.include.nil?
|
271
267
|
query_params[:'start_position'] = options.start_position if !options.start_position.nil?
|
272
268
|
|
273
269
|
# header parameters
|
@@ -1788,6 +1788,60 @@ module DocuSign_eSign
|
|
1788
1788
|
return data, status_code, headers
|
1789
1789
|
end
|
1790
1790
|
|
1791
|
+
# Revokes the correction view URL to the Envelope UI
|
1792
|
+
#
|
1793
|
+
# @param account_id The external account number (int) or account ID Guid.
|
1794
|
+
# @param envelope_id The envelopeId Guid of the envelope being accessed.
|
1795
|
+
# @param correct_view_request (optional parameter)
|
1796
|
+
# @return [nil]
|
1797
|
+
def delete_envelope_correct_view(account_id, envelope_id, correct_view_request)
|
1798
|
+
delete_envelope_correct_view_with_http_info(account_id, envelope_id, correct_view_request)
|
1799
|
+
return nil
|
1800
|
+
end
|
1801
|
+
|
1802
|
+
# Revokes the correction view URL to the Envelope UI
|
1803
|
+
#
|
1804
|
+
# @param account_id The external account number (int) or account ID Guid.
|
1805
|
+
# @param envelope_id The envelopeId Guid of the envelope being accessed.
|
1806
|
+
# @param correct_view_request (optional parameter)
|
1807
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
1808
|
+
def delete_envelope_correct_view_with_http_info(account_id, envelope_id, correct_view_request)
|
1809
|
+
if @api_client.config.debugging
|
1810
|
+
@api_client.config.logger.debug "Calling API: EnvelopesApi.delete_envelope_correct_view ..."
|
1811
|
+
end
|
1812
|
+
# verify the required parameter 'account_id' is set
|
1813
|
+
fail ArgumentError, "Missing the required parameter 'account_id' when calling EnvelopesApi.delete_envelope_correct_view" if account_id.nil?
|
1814
|
+
# verify the required parameter 'envelope_id' is set
|
1815
|
+
fail ArgumentError, "Missing the required parameter 'envelope_id' when calling EnvelopesApi.delete_envelope_correct_view" if envelope_id.nil?
|
1816
|
+
# resource path
|
1817
|
+
local_var_path = "/v2/accounts/{accountId}/envelopes/{envelopeId}/views/correct".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'envelopeId' + '}', envelope_id.to_s)
|
1818
|
+
|
1819
|
+
# query parameters
|
1820
|
+
query_params = {}
|
1821
|
+
|
1822
|
+
# header parameters
|
1823
|
+
header_params = {}
|
1824
|
+
# HTTP header 'Accept' (if needed)
|
1825
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1826
|
+
|
1827
|
+
# form parameters
|
1828
|
+
form_params = {}
|
1829
|
+
|
1830
|
+
# http body (model)
|
1831
|
+
post_body = @api_client.object_to_http_body(correct_view_request)
|
1832
|
+
auth_names = []
|
1833
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
1834
|
+
:header_params => header_params,
|
1835
|
+
:query_params => query_params,
|
1836
|
+
:form_params => form_params,
|
1837
|
+
:body => post_body,
|
1838
|
+
:auth_names => auth_names)
|
1839
|
+
if @api_client.config.debugging
|
1840
|
+
@api_client.config.logger.debug "API called: EnvelopesApi#delete_envelope_correct_view\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1841
|
+
end
|
1842
|
+
return data, status_code, headers
|
1843
|
+
end
|
1844
|
+
|
1791
1845
|
# Deletes an envelope lock.
|
1792
1846
|
# Deletes the lock from the specified envelope. The `X-DocuSign-Edit` header must be included in the request.
|
1793
1847
|
# @param account_id The external account number (int) or account ID Guid.
|
@@ -0,0 +1,74 @@
|
|
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
|
7
|
+
Contact: devcenter@docusign.com
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.13-SNAPSHOT
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require "uri"
|
14
|
+
|
15
|
+
module DocuSign_eSign
|
16
|
+
|
17
|
+
|
18
|
+
class TrustServiceProvidersApi
|
19
|
+
attr_accessor :api_client
|
20
|
+
|
21
|
+
def initialize(api_client = TrustServiceProvidersApi.default)
|
22
|
+
@api_client = api_client
|
23
|
+
end
|
24
|
+
|
25
|
+
# Returns Account available seals for specified account.
|
26
|
+
#
|
27
|
+
# @param account_id The external account number (int) or account ID Guid.
|
28
|
+
# @return [AccountSeals]
|
29
|
+
def get_seal_providers(account_id)
|
30
|
+
data, _status_code, _headers = get_seal_providers_with_http_info(account_id)
|
31
|
+
return data
|
32
|
+
end
|
33
|
+
|
34
|
+
# Returns Account available seals for specified account.
|
35
|
+
#
|
36
|
+
# @param account_id The external account number (int) or account ID Guid.
|
37
|
+
# @return [Array<(AccountSeals, Fixnum, Hash)>] AccountSeals data, response status code and response headers
|
38
|
+
def get_seal_providers_with_http_info(account_id)
|
39
|
+
if @api_client.config.debugging
|
40
|
+
@api_client.config.logger.debug "Calling API: TrustServiceProvidersApi.get_seal_providers ..."
|
41
|
+
end
|
42
|
+
# verify the required parameter 'account_id' is set
|
43
|
+
fail ArgumentError, "Missing the required parameter 'account_id' when calling TrustServiceProvidersApi.get_seal_providers" if account_id.nil?
|
44
|
+
# resource path
|
45
|
+
local_var_path = "/v2/accounts/{accountId}/seals".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s)
|
46
|
+
|
47
|
+
# query parameters
|
48
|
+
query_params = {}
|
49
|
+
|
50
|
+
# header parameters
|
51
|
+
header_params = {}
|
52
|
+
# HTTP header 'Accept' (if needed)
|
53
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
54
|
+
|
55
|
+
# form parameters
|
56
|
+
form_params = {}
|
57
|
+
|
58
|
+
# http body (model)
|
59
|
+
post_body = nil
|
60
|
+
auth_names = []
|
61
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
62
|
+
:header_params => header_params,
|
63
|
+
:query_params => query_params,
|
64
|
+
:form_params => form_params,
|
65
|
+
:body => post_body,
|
66
|
+
:auth_names => auth_names,
|
67
|
+
:return_type => 'AccountSeals')
|
68
|
+
if @api_client.config.debugging
|
69
|
+
@api_client.config.logger.debug "API called: TrustServiceProvidersApi#get_seal_providers\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
70
|
+
end
|
71
|
+
return data, status_code, headers
|
72
|
+
end
|
73
|
+
end
|
74
|
+
end
|
Binary file
|
@@ -20,11 +20,15 @@ module DocuSign_eSign
|
|
20
20
|
# Specifies whether the window is displayed with or without dressing.
|
21
21
|
attr_accessor :suppress_navigation
|
22
22
|
|
23
|
+
#
|
24
|
+
attr_accessor :view_url
|
25
|
+
|
23
26
|
# Attribute mapping from ruby-style variable name to JSON key.
|
24
27
|
def self.attribute_map
|
25
28
|
{
|
26
29
|
:'return_url' => :'returnUrl',
|
27
|
-
:'suppress_navigation' => :'suppressNavigation'
|
30
|
+
:'suppress_navigation' => :'suppressNavigation',
|
31
|
+
:'view_url' => :'viewUrl'
|
28
32
|
}
|
29
33
|
end
|
30
34
|
|
@@ -32,7 +36,8 @@ module DocuSign_eSign
|
|
32
36
|
def self.swagger_types
|
33
37
|
{
|
34
38
|
:'return_url' => :'String',
|
35
|
-
:'suppress_navigation' => :'String'
|
39
|
+
:'suppress_navigation' => :'String',
|
40
|
+
:'view_url' => :'String'
|
36
41
|
}
|
37
42
|
end
|
38
43
|
|
@@ -51,6 +56,10 @@ module DocuSign_eSign
|
|
51
56
|
if attributes.has_key?(:'suppressNavigation')
|
52
57
|
self.suppress_navigation = attributes[:'suppressNavigation']
|
53
58
|
end
|
59
|
+
|
60
|
+
if attributes.has_key?(:'viewUrl')
|
61
|
+
self.view_url = attributes[:'viewUrl']
|
62
|
+
end
|
54
63
|
end
|
55
64
|
|
56
65
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -72,7 +81,8 @@ module DocuSign_eSign
|
|
72
81
|
return true if self.equal?(o)
|
73
82
|
self.class == o.class &&
|
74
83
|
return_url == o.return_url &&
|
75
|
-
suppress_navigation == o.suppress_navigation
|
84
|
+
suppress_navigation == o.suppress_navigation &&
|
85
|
+
view_url == o.view_url
|
76
86
|
end
|
77
87
|
|
78
88
|
# @see the `==` method
|
@@ -84,7 +94,7 @@ module DocuSign_eSign
|
|
84
94
|
# Calculates hash code according to all attributes.
|
85
95
|
# @return [Fixnum] Hash code
|
86
96
|
def hash
|
87
|
-
[return_url, suppress_navigation].hash
|
97
|
+
[return_url, suppress_navigation, view_url].hash
|
88
98
|
end
|
89
99
|
|
90
100
|
# Builds the object from hash
|
@@ -25,6 +25,9 @@ module DocuSign_eSign
|
|
25
25
|
|
26
26
|
attr_accessor :error_details
|
27
27
|
|
28
|
+
#
|
29
|
+
attr_accessor :membership_id
|
30
|
+
|
28
31
|
#
|
29
32
|
attr_accessor :permission_profile_id
|
30
33
|
|
@@ -50,6 +53,7 @@ module DocuSign_eSign
|
|
50
53
|
:'created_date_time' => :'createdDateTime',
|
51
54
|
:'email' => :'email',
|
52
55
|
:'error_details' => :'errorDetails',
|
56
|
+
:'membership_id' => :'membershipId',
|
53
57
|
:'permission_profile_id' => :'permissionProfileId',
|
54
58
|
:'permission_profile_name' => :'permissionProfileName',
|
55
59
|
:'uri' => :'uri',
|
@@ -66,6 +70,7 @@ module DocuSign_eSign
|
|
66
70
|
:'created_date_time' => :'String',
|
67
71
|
:'email' => :'String',
|
68
72
|
:'error_details' => :'ErrorDetails',
|
73
|
+
:'membership_id' => :'String',
|
69
74
|
:'permission_profile_id' => :'String',
|
70
75
|
:'permission_profile_name' => :'String',
|
71
76
|
:'uri' => :'String',
|
@@ -99,6 +104,10 @@ module DocuSign_eSign
|
|
99
104
|
self.error_details = attributes[:'errorDetails']
|
100
105
|
end
|
101
106
|
|
107
|
+
if attributes.has_key?(:'membershipId')
|
108
|
+
self.membership_id = attributes[:'membershipId']
|
109
|
+
end
|
110
|
+
|
102
111
|
if attributes.has_key?(:'permissionProfileId')
|
103
112
|
self.permission_profile_id = attributes[:'permissionProfileId']
|
104
113
|
end
|
@@ -146,6 +155,7 @@ module DocuSign_eSign
|
|
146
155
|
created_date_time == o.created_date_time &&
|
147
156
|
email == o.email &&
|
148
157
|
error_details == o.error_details &&
|
158
|
+
membership_id == o.membership_id &&
|
149
159
|
permission_profile_id == o.permission_profile_id &&
|
150
160
|
permission_profile_name == o.permission_profile_name &&
|
151
161
|
uri == o.uri &&
|
@@ -163,7 +173,7 @@ module DocuSign_eSign
|
|
163
173
|
# Calculates hash code according to all attributes.
|
164
174
|
# @return [Fixnum] Hash code
|
165
175
|
def hash
|
166
|
-
[api_password, created_date_time, email, error_details, permission_profile_id, permission_profile_name, uri, user_id, user_name, user_status].hash
|
176
|
+
[api_password, created_date_time, email, error_details, membership_id, permission_profile_id, permission_profile_name, uri, user_id, user_name, user_status].hash
|
167
177
|
end
|
168
178
|
|
169
179
|
# Builds the object from hash
|
@@ -32,6 +32,9 @@ module DocuSign_eSign
|
|
32
32
|
# When set to **true**, the user receives notification if the offline signing failed.
|
33
33
|
attr_accessor :offline_signing_failed
|
34
34
|
|
35
|
+
#
|
36
|
+
attr_accessor :powerform_responses_limit_notification_email
|
37
|
+
|
35
38
|
# When set to **true**, the sender receives notification that the recipient viewed the enveloper.
|
36
39
|
attr_accessor :recipient_viewed
|
37
40
|
|
@@ -50,6 +53,7 @@ module DocuSign_eSign
|
|
50
53
|
:'delivery_failed' => :'deliveryFailed',
|
51
54
|
:'envelope_complete' => :'envelopeComplete',
|
52
55
|
:'offline_signing_failed' => :'offlineSigningFailed',
|
56
|
+
:'powerform_responses_limit_notification_email' => :'powerformResponsesLimitNotificationEmail',
|
53
57
|
:'recipient_viewed' => :'recipientViewed',
|
54
58
|
:'sender_envelope_declined' => :'senderEnvelopeDeclined',
|
55
59
|
:'withdrawn_consent' => :'withdrawnConsent'
|
@@ -65,6 +69,7 @@ module DocuSign_eSign
|
|
65
69
|
:'delivery_failed' => :'String',
|
66
70
|
:'envelope_complete' => :'String',
|
67
71
|
:'offline_signing_failed' => :'String',
|
72
|
+
:'powerform_responses_limit_notification_email' => :'String',
|
68
73
|
:'recipient_viewed' => :'String',
|
69
74
|
:'sender_envelope_declined' => :'String',
|
70
75
|
:'withdrawn_consent' => :'String'
|
@@ -103,6 +108,10 @@ module DocuSign_eSign
|
|
103
108
|
self.offline_signing_failed = attributes[:'offlineSigningFailed']
|
104
109
|
end
|
105
110
|
|
111
|
+
if attributes.has_key?(:'powerformResponsesLimitNotificationEmail')
|
112
|
+
self.powerform_responses_limit_notification_email = attributes[:'powerformResponsesLimitNotificationEmail']
|
113
|
+
end
|
114
|
+
|
106
115
|
if attributes.has_key?(:'recipientViewed')
|
107
116
|
self.recipient_viewed = attributes[:'recipientViewed']
|
108
117
|
end
|
@@ -140,6 +149,7 @@ module DocuSign_eSign
|
|
140
149
|
delivery_failed == o.delivery_failed &&
|
141
150
|
envelope_complete == o.envelope_complete &&
|
142
151
|
offline_signing_failed == o.offline_signing_failed &&
|
152
|
+
powerform_responses_limit_notification_email == o.powerform_responses_limit_notification_email &&
|
143
153
|
recipient_viewed == o.recipient_viewed &&
|
144
154
|
sender_envelope_declined == o.sender_envelope_declined &&
|
145
155
|
withdrawn_consent == o.withdrawn_consent
|
@@ -154,7 +164,7 @@ module DocuSign_eSign
|
|
154
164
|
# Calculates hash code according to all attributes.
|
155
165
|
# @return [Fixnum] Hash code
|
156
166
|
def hash
|
157
|
-
[changed_signer, comments_only_private_and_mention, comments_receive_all, delivery_failed, envelope_complete, offline_signing_failed, recipient_viewed, sender_envelope_declined, withdrawn_consent].hash
|
167
|
+
[changed_signer, comments_only_private_and_mention, comments_receive_all, delivery_failed, envelope_complete, offline_signing_failed, powerform_responses_limit_notification_email, recipient_viewed, sender_envelope_declined, withdrawn_consent].hash
|
158
168
|
end
|
159
169
|
|
160
170
|
# Builds the object from hash
|
@@ -115,9 +115,15 @@ module DocuSign_eSign
|
|
115
115
|
#
|
116
116
|
attr_accessor :payment_item_name
|
117
117
|
|
118
|
+
# When set to **true** and shared is true, information must be entered in this field to complete the envelope.
|
119
|
+
attr_accessor :require_all
|
120
|
+
|
118
121
|
# When set to **true**, the signer is required to fill out this tab
|
119
122
|
attr_accessor :required
|
120
123
|
|
124
|
+
# Optional element for field markup. When set to **true**, the signer is required to initial when they modify a shared field.
|
125
|
+
attr_accessor :require_initial_on_shared_change
|
126
|
+
|
121
127
|
#
|
122
128
|
attr_accessor :scale_value
|
123
129
|
|
@@ -187,7 +193,9 @@ module DocuSign_eSign
|
|
187
193
|
:'payment_item_code' => :'paymentItemCode',
|
188
194
|
:'payment_item_description' => :'paymentItemDescription',
|
189
195
|
:'payment_item_name' => :'paymentItemName',
|
196
|
+
:'require_all' => :'requireAll',
|
190
197
|
:'required' => :'required',
|
198
|
+
:'require_initial_on_shared_change' => :'requireInitialOnSharedChange',
|
191
199
|
:'scale_value' => :'scaleValue',
|
192
200
|
:'selected' => :'selected',
|
193
201
|
:'shared' => :'shared',
|
@@ -239,7 +247,9 @@ module DocuSign_eSign
|
|
239
247
|
:'payment_item_code' => :'String',
|
240
248
|
:'payment_item_description' => :'String',
|
241
249
|
:'payment_item_name' => :'String',
|
250
|
+
:'require_all' => :'String',
|
242
251
|
:'required' => :'String',
|
252
|
+
:'require_initial_on_shared_change' => :'String',
|
243
253
|
:'scale_value' => :'String',
|
244
254
|
:'selected' => :'String',
|
245
255
|
:'shared' => :'String',
|
@@ -400,10 +410,18 @@ module DocuSign_eSign
|
|
400
410
|
self.payment_item_name = attributes[:'paymentItemName']
|
401
411
|
end
|
402
412
|
|
413
|
+
if attributes.has_key?(:'requireAll')
|
414
|
+
self.require_all = attributes[:'requireAll']
|
415
|
+
end
|
416
|
+
|
403
417
|
if attributes.has_key?(:'required')
|
404
418
|
self.required = attributes[:'required']
|
405
419
|
end
|
406
420
|
|
421
|
+
if attributes.has_key?(:'requireInitialOnSharedChange')
|
422
|
+
self.require_initial_on_shared_change = attributes[:'requireInitialOnSharedChange']
|
423
|
+
end
|
424
|
+
|
407
425
|
if attributes.has_key?(:'scaleValue')
|
408
426
|
self.scale_value = attributes[:'scaleValue']
|
409
427
|
end
|
@@ -501,7 +519,9 @@ module DocuSign_eSign
|
|
501
519
|
payment_item_code == o.payment_item_code &&
|
502
520
|
payment_item_description == o.payment_item_description &&
|
503
521
|
payment_item_name == o.payment_item_name &&
|
522
|
+
require_all == o.require_all &&
|
504
523
|
required == o.required &&
|
524
|
+
require_initial_on_shared_change == o.require_initial_on_shared_change &&
|
505
525
|
scale_value == o.scale_value &&
|
506
526
|
selected == o.selected &&
|
507
527
|
shared == o.shared &&
|
@@ -524,7 +544,7 @@ module DocuSign_eSign
|
|
524
544
|
# Calculates hash code according to all attributes.
|
525
545
|
# @return [Fixnum] Hash code
|
526
546
|
def hash
|
527
|
-
[anchor, anchor_case_sensitive, anchor_horizontal_alignment, anchor_ignore_if_not_present, anchor_match_whole_word, anchor_units, anchor_x_offset, anchor_y_offset, bold, collaborative, conceal_value_on_document, created_by_display_name, created_by_user_id, custom_tab_id, disable_auto_size, editable, font, font_color, font_size, height, included_in_email, initial_value, italic, items, last_modified, last_modified_by_display_name, last_modified_by_user_id, locked, maximum_length, merge_field, name, payment_item_code, payment_item_description, payment_item_name, required, scale_value, selected, shared, stamp_type, stamp_type_metadata, tab_label, type, underline, validation_message, validation_pattern, width].hash
|
547
|
+
[anchor, anchor_case_sensitive, anchor_horizontal_alignment, anchor_ignore_if_not_present, anchor_match_whole_word, anchor_units, anchor_x_offset, anchor_y_offset, bold, collaborative, conceal_value_on_document, created_by_display_name, created_by_user_id, custom_tab_id, disable_auto_size, editable, font, font_color, font_size, height, included_in_email, initial_value, italic, items, last_modified, last_modified_by_display_name, last_modified_by_user_id, locked, maximum_length, merge_field, name, payment_item_code, payment_item_description, payment_item_name, require_all, required, require_initial_on_shared_change, scale_value, selected, shared, stamp_type, stamp_type_metadata, tab_label, type, underline, validation_message, validation_pattern, width].hash
|
528
548
|
end
|
529
549
|
|
530
550
|
# Builds the object from hash
|
@@ -29,6 +29,11 @@ module DocuSign_eSign
|
|
29
29
|
|
30
30
|
attr_accessor :can_manage_admins_metadata
|
31
31
|
|
32
|
+
#
|
33
|
+
attr_accessor :can_manage_envelope_transfer
|
34
|
+
|
35
|
+
attr_accessor :can_manage_envelope_transfer_metadata
|
36
|
+
|
32
37
|
#
|
33
38
|
attr_accessor :can_manage_groups
|
34
39
|
|
@@ -68,6 +73,8 @@ module DocuSign_eSign
|
|
68
73
|
:'can_manage_account_settings_metadata' => :'canManageAccountSettingsMetadata',
|
69
74
|
:'can_manage_admins' => :'canManageAdmins',
|
70
75
|
:'can_manage_admins_metadata' => :'canManageAdminsMetadata',
|
76
|
+
:'can_manage_envelope_transfer' => :'canManageEnvelopeTransfer',
|
77
|
+
:'can_manage_envelope_transfer_metadata' => :'canManageEnvelopeTransferMetadata',
|
71
78
|
:'can_manage_groups' => :'canManageGroups',
|
72
79
|
:'can_manage_groups_metadata' => :'canManageGroupsMetadata',
|
73
80
|
:'can_manage_reporting' => :'canManageReporting',
|
@@ -92,6 +99,8 @@ module DocuSign_eSign
|
|
92
99
|
:'can_manage_account_settings_metadata' => :'SettingsMetadata',
|
93
100
|
:'can_manage_admins' => :'String',
|
94
101
|
:'can_manage_admins_metadata' => :'SettingsMetadata',
|
102
|
+
:'can_manage_envelope_transfer' => :'String',
|
103
|
+
:'can_manage_envelope_transfer_metadata' => :'SettingsMetadata',
|
95
104
|
:'can_manage_groups' => :'String',
|
96
105
|
:'can_manage_groups_metadata' => :'SettingsMetadata',
|
97
106
|
:'can_manage_reporting' => :'String',
|
@@ -139,6 +148,14 @@ module DocuSign_eSign
|
|
139
148
|
self.can_manage_admins_metadata = attributes[:'canManageAdminsMetadata']
|
140
149
|
end
|
141
150
|
|
151
|
+
if attributes.has_key?(:'canManageEnvelopeTransfer')
|
152
|
+
self.can_manage_envelope_transfer = attributes[:'canManageEnvelopeTransfer']
|
153
|
+
end
|
154
|
+
|
155
|
+
if attributes.has_key?(:'canManageEnvelopeTransferMetadata')
|
156
|
+
self.can_manage_envelope_transfer_metadata = attributes[:'canManageEnvelopeTransferMetadata']
|
157
|
+
end
|
158
|
+
|
142
159
|
if attributes.has_key?(:'canManageGroups')
|
143
160
|
self.can_manage_groups = attributes[:'canManageGroups']
|
144
161
|
end
|
@@ -212,6 +229,8 @@ module DocuSign_eSign
|
|
212
229
|
can_manage_account_settings_metadata == o.can_manage_account_settings_metadata &&
|
213
230
|
can_manage_admins == o.can_manage_admins &&
|
214
231
|
can_manage_admins_metadata == o.can_manage_admins_metadata &&
|
232
|
+
can_manage_envelope_transfer == o.can_manage_envelope_transfer &&
|
233
|
+
can_manage_envelope_transfer_metadata == o.can_manage_envelope_transfer_metadata &&
|
215
234
|
can_manage_groups == o.can_manage_groups &&
|
216
235
|
can_manage_groups_metadata == o.can_manage_groups_metadata &&
|
217
236
|
can_manage_reporting == o.can_manage_reporting &&
|
@@ -235,7 +254,7 @@ module DocuSign_eSign
|
|
235
254
|
# Calculates hash code according to all attributes.
|
236
255
|
# @return [Fixnum] Hash code
|
237
256
|
def hash
|
238
|
-
[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_groups, can_manage_groups_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, can_view_users_metadata].hash
|
257
|
+
[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_envelope_transfer, can_manage_envelope_transfer_metadata, can_manage_groups, can_manage_groups_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, can_view_users_metadata].hash
|
239
258
|
end
|
240
259
|
|
241
260
|
# Builds the object from hash
|
data/tests/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ..
|
3
3
|
specs:
|
4
|
-
docusign_esign (2.
|
4
|
+
docusign_esign (2.7.0.rc1)
|
5
5
|
json (~> 2.1, >= 2.1.0)
|
6
6
|
jwt (~> 2.2, >= 2.2.1)
|
7
7
|
typhoeus (~> 1.0, >= 1.0.1)
|
@@ -9,25 +9,25 @@ PATH
|
|
9
9
|
GEM
|
10
10
|
remote: https://rubygems.org/
|
11
11
|
specs:
|
12
|
-
diff-lcs (1.
|
12
|
+
diff-lcs (1.4.4)
|
13
13
|
ethon (0.12.0)
|
14
14
|
ffi (>= 1.3.0)
|
15
|
-
ffi (1.
|
16
|
-
json (2.3.
|
15
|
+
ffi (1.13.1)
|
16
|
+
json (2.3.1)
|
17
17
|
jwt (2.2.1)
|
18
18
|
rspec (3.9.0)
|
19
19
|
rspec-core (~> 3.9.0)
|
20
20
|
rspec-expectations (~> 3.9.0)
|
21
21
|
rspec-mocks (~> 3.9.0)
|
22
|
-
rspec-core (3.9.
|
23
|
-
rspec-support (~> 3.9.
|
24
|
-
rspec-expectations (3.9.
|
22
|
+
rspec-core (3.9.2)
|
23
|
+
rspec-support (~> 3.9.3)
|
24
|
+
rspec-expectations (3.9.2)
|
25
25
|
diff-lcs (>= 1.2.0, < 2.0)
|
26
26
|
rspec-support (~> 3.9.0)
|
27
27
|
rspec-mocks (3.9.1)
|
28
28
|
diff-lcs (>= 1.2.0, < 2.0)
|
29
29
|
rspec-support (~> 3.9.0)
|
30
|
-
rspec-support (3.9.
|
30
|
+
rspec-support (3.9.3)
|
31
31
|
typhoeus (1.4.0)
|
32
32
|
ethon (>= 0.9.0)
|
33
33
|
|
@@ -39,4 +39,4 @@ DEPENDENCIES
|
|
39
39
|
rspec
|
40
40
|
|
41
41
|
BUNDLED WITH
|
42
|
-
|
42
|
+
1.17.2
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: docusign_esign
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.7.0.rc1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- DocuSign
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-09-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jwt
|
@@ -54,82 +54,82 @@ dependencies:
|
|
54
54
|
name: json
|
55
55
|
requirement: !ruby/object:Gem::Requirement
|
56
56
|
requirements:
|
57
|
-
- - "~>"
|
58
|
-
- !ruby/object:Gem::Version
|
59
|
-
version: '2.1'
|
60
57
|
- - ">="
|
61
58
|
- !ruby/object:Gem::Version
|
62
59
|
version: 2.1.0
|
60
|
+
- - "~>"
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '2.1'
|
63
63
|
type: :runtime
|
64
64
|
prerelease: false
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
66
66
|
requirements:
|
67
|
-
- - "~>"
|
68
|
-
- !ruby/object:Gem::Version
|
69
|
-
version: '2.1'
|
70
67
|
- - ">="
|
71
68
|
- !ruby/object:Gem::Version
|
72
69
|
version: 2.1.0
|
70
|
+
- - "~>"
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
version: '2.1'
|
73
73
|
- !ruby/object:Gem::Dependency
|
74
74
|
name: rspec-mocks
|
75
75
|
requirement: !ruby/object:Gem::Requirement
|
76
76
|
requirements:
|
77
|
-
- - "~>"
|
78
|
-
- !ruby/object:Gem::Version
|
79
|
-
version: '3.8'
|
80
77
|
- - ">="
|
81
78
|
- !ruby/object:Gem::Version
|
82
79
|
version: 3.8.0
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '3.8'
|
83
83
|
type: :development
|
84
84
|
prerelease: false
|
85
85
|
version_requirements: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- - "~>"
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '3.8'
|
90
87
|
- - ">="
|
91
88
|
- !ruby/object:Gem::Version
|
92
89
|
version: 3.8.0
|
90
|
+
- - "~>"
|
91
|
+
- !ruby/object:Gem::Version
|
92
|
+
version: '3.8'
|
93
93
|
- !ruby/object:Gem::Dependency
|
94
94
|
name: rspec-expectations
|
95
95
|
requirement: !ruby/object:Gem::Requirement
|
96
96
|
requirements:
|
97
|
-
- - "~>"
|
98
|
-
- !ruby/object:Gem::Version
|
99
|
-
version: '3.8'
|
100
97
|
- - ">="
|
101
98
|
- !ruby/object:Gem::Version
|
102
99
|
version: 3.8.0
|
100
|
+
- - "~>"
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: '3.8'
|
103
103
|
type: :development
|
104
104
|
prerelease: false
|
105
105
|
version_requirements: !ruby/object:Gem::Requirement
|
106
106
|
requirements:
|
107
|
-
- - "~>"
|
108
|
-
- !ruby/object:Gem::Version
|
109
|
-
version: '3.8'
|
110
107
|
- - ">="
|
111
108
|
- !ruby/object:Gem::Version
|
112
109
|
version: 3.8.0
|
110
|
+
- - "~>"
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
version: '3.8'
|
113
113
|
- !ruby/object:Gem::Dependency
|
114
114
|
name: rspec
|
115
115
|
requirement: !ruby/object:Gem::Requirement
|
116
116
|
requirements:
|
117
|
-
- - "~>"
|
118
|
-
- !ruby/object:Gem::Version
|
119
|
-
version: '3.4'
|
120
117
|
- - ">="
|
121
118
|
- !ruby/object:Gem::Version
|
122
119
|
version: 3.4.0
|
120
|
+
- - "~>"
|
121
|
+
- !ruby/object:Gem::Version
|
122
|
+
version: '3.4'
|
123
123
|
type: :development
|
124
124
|
prerelease: false
|
125
125
|
version_requirements: !ruby/object:Gem::Requirement
|
126
126
|
requirements:
|
127
|
-
- - "~>"
|
128
|
-
- !ruby/object:Gem::Version
|
129
|
-
version: '3.4'
|
130
127
|
- - ">="
|
131
128
|
- !ruby/object:Gem::Version
|
132
129
|
version: 3.4.0
|
130
|
+
- - "~>"
|
131
|
+
- !ruby/object:Gem::Version
|
132
|
+
version: '3.4'
|
133
133
|
- !ruby/object:Gem::Dependency
|
134
134
|
name: vcr
|
135
135
|
requirement: !ruby/object:Gem::Requirement
|
@@ -265,9 +265,12 @@ files:
|
|
265
265
|
- LICENSE
|
266
266
|
- README.md
|
267
267
|
- Rakefile
|
268
|
+
- docusign_esign-2.6.0.gem
|
269
|
+
- docusign_esign-2.6.0.rc1.gem
|
270
|
+
- docusign_esign-3.5.0.gem
|
271
|
+
- docusign_esign-3.5.0.rc1.gem
|
268
272
|
- docusign_esign.gemspec
|
269
273
|
- git_push.sh
|
270
|
-
- lib/.DS_Store
|
271
274
|
- lib/docusign_esign.rb
|
272
275
|
- lib/docusign_esign/.DS_Store
|
273
276
|
- lib/docusign_esign/api/.DS_Store
|
@@ -288,9 +291,11 @@ files:
|
|
288
291
|
- lib/docusign_esign/api/power_forms_api.rb
|
289
292
|
- lib/docusign_esign/api/signing_groups_api.rb
|
290
293
|
- lib/docusign_esign/api/templates_api.rb
|
294
|
+
- lib/docusign_esign/api/trust_service_providers_api.rb
|
291
295
|
- lib/docusign_esign/api/tsps_api.rb
|
292
296
|
- lib/docusign_esign/api/users_api.rb
|
293
297
|
- lib/docusign_esign/api/workspaces_api.rb
|
298
|
+
- lib/docusign_esign/client/.DS_Store
|
294
299
|
- lib/docusign_esign/client/api_client.rb
|
295
300
|
- lib/docusign_esign/client/api_error.rb
|
296
301
|
- lib/docusign_esign/client/auth/oauth.rb
|
@@ -664,7 +669,6 @@ files:
|
|
664
669
|
- lib/docusign_esign/models/workspace_user_authorization.rb
|
665
670
|
- lib/docusign_esign/models/zip.rb
|
666
671
|
- lib/docusign_esign/version.rb
|
667
|
-
- tests/.DS_Store
|
668
672
|
- tests/Gemfile
|
669
673
|
- tests/Gemfile.lock
|
670
674
|
- tests/docs/Test.pdf
|
@@ -685,12 +689,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
685
689
|
version: '1.9'
|
686
690
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
687
691
|
requirements:
|
688
|
-
- - "
|
692
|
+
- - ">"
|
689
693
|
- !ruby/object:Gem::Version
|
690
|
-
version:
|
694
|
+
version: 1.3.1
|
691
695
|
requirements: []
|
692
|
-
|
693
|
-
rubygems_version: 2.5.2.3
|
696
|
+
rubygems_version: 3.0.3
|
694
697
|
signing_key:
|
695
698
|
specification_version: 4
|
696
699
|
summary: DocuSign REST API Ruby Gem
|
data/tests/.DS_Store
DELETED
Binary file
|