docusign_esign 3.24.0 → 3.26.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/lib/docusign_esign/api/accounts_api.rb +35 -9
- data/lib/docusign_esign/api/envelopes_api.rb +11 -6
- data/lib/docusign_esign/api/templates_api.rb +4 -0
- data/lib/docusign_esign/api/users_api.rb +8 -4
- data/lib/docusign_esign/client/api_client.rb +8 -3
- data/lib/docusign_esign/models/account_identity_verification_workflow.rb +21 -1
- data/lib/docusign_esign/models/account_role_settings.rb +101 -1
- data/lib/docusign_esign/models/account_settings_information.rb +267 -27
- data/lib/docusign_esign/models/brand.rb +21 -1
- data/lib/docusign_esign/models/doc_gen_form_field.rb +43 -1
- data/lib/docusign_esign/models/doc_gen_form_field_option.rb +214 -0
- data/lib/docusign_esign/models/doc_gen_form_field_validation.rb +194 -0
- data/lib/docusign_esign/models/document.rb +11 -1
- data/lib/docusign_esign/models/envelope_document.rb +11 -1
- data/lib/docusign_esign/models/envelope_template.rb +11 -1
- data/lib/docusign_esign/models/envelopes_information.rb +11 -1
- data/lib/docusign_esign/models/notary_recipient.rb +11 -1
- data/lib/docusign_esign/models/user_settings_information.rb +101 -1
- data/lib/docusign_esign/version.rb +1 -1
- data/lib/docusign_esign.rb +2 -0
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 77cd9212bb31e5d13ce1d9fe202baa5dbdd4578e43a58ac59037f341a06bccbf
|
4
|
+
data.tar.gz: aead453c9f52bdc9209c6417f6c5d61e8d9a3c77c7a5799e5f4ac9d4c9aa3ef7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b66d99ea4ccec840994cecc73f19704238515486bf8e5b69dc1d410b9589f9bafccdc2399b544ab395b85fbefca431f464bcc3ebfab501e4c05fdf922bc110b9
|
7
|
+
data.tar.gz: e80b23dc96d1d9f909175fd2c6827dcb15d194823dacf87d8f4c52eca59778aaa49b7059cd5c2796f085a701f88cbf3559ac1ebbdf6d79ae81f1f9758fc66368
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file.
|
|
3
3
|
|
4
4
|
See [DocuSign Support Center](https://support.docusign.com/en/releasenotes/) for Product Release Notes.
|
5
5
|
|
6
|
+
## [v3.26.0] - eSignature API v2.1-23.3.01.02 - 2023-10-25
|
7
|
+
### Changed
|
8
|
+
- Added support for version v2.1-23.3.01.02 of the DocuSign ESignature API.
|
9
|
+
- Updated the SDK release version.
|
10
|
+
|
11
|
+
## [v3.25.0] - eSignature API v2.1-23.3.00.01 - 2023-08-30
|
12
|
+
### Changed
|
13
|
+
- Added support for version v2.1-23.3.00.01 of the DocuSign ESignature API.
|
14
|
+
- Updated the SDK release version.
|
15
|
+
|
6
16
|
## [v3.24.0] - eSignature API v2.1-23.2.00.00 - 2023-05-15
|
7
17
|
### Changed
|
8
18
|
- Added support for version v2.1-23.2.00.00 of the DocuSign ESignature API.
|
@@ -49,6 +49,15 @@ module DocuSign_eSign
|
|
49
49
|
end
|
50
50
|
end
|
51
51
|
|
52
|
+
class DeleteOptions
|
53
|
+
#
|
54
|
+
attr_accessor :redact_user_data
|
55
|
+
|
56
|
+
def self.default
|
57
|
+
@@default ||= DeleteOptions.new
|
58
|
+
end
|
59
|
+
end
|
60
|
+
|
52
61
|
class DeleteCustomFieldOptions
|
53
62
|
#
|
54
63
|
attr_accessor :apply_to_templates
|
@@ -67,6 +76,15 @@ module DocuSign_eSign
|
|
67
76
|
end
|
68
77
|
end
|
69
78
|
|
79
|
+
class GetAccountIdentityVerificationOptions
|
80
|
+
#
|
81
|
+
attr_accessor :identity_verification_workflow_status
|
82
|
+
|
83
|
+
def self.default
|
84
|
+
@@default ||= GetAccountIdentityVerificationOptions.new
|
85
|
+
end
|
86
|
+
end
|
87
|
+
|
70
88
|
class GetAccountInformationOptions
|
71
89
|
# When set to **true**, includes the account settings for the account in the response.
|
72
90
|
attr_accessor :include_account_settings
|
@@ -718,17 +736,19 @@ module DocuSign_eSign
|
|
718
736
|
# Deletes the specified account.
|
719
737
|
# This closes the specified account. You must be an account admin to close your account. Once closed, an account must be reopened by DocuSign.
|
720
738
|
# @param account_id The external account number (int) or account ID Guid.
|
739
|
+
# @param DocuSign_eSign::DeleteOptions Options for modifying the behavior of the function.
|
721
740
|
# @return [nil]
|
722
|
-
def delete(account_id)
|
723
|
-
delete_with_http_info(account_id)
|
741
|
+
def delete(account_id, options = DocuSign_eSign::DeleteOptions.default)
|
742
|
+
delete_with_http_info(account_id, options)
|
724
743
|
return nil
|
725
744
|
end
|
726
745
|
|
727
746
|
# Deletes the specified account.
|
728
747
|
# This closes the specified account. You must be an account admin to close your account. Once closed, an account must be reopened by DocuSign.
|
729
748
|
# @param account_id The external account number (int) or account ID Guid.
|
749
|
+
# @param DocuSign_eSign::DeleteOptions Options for modifying the behavior of the function.
|
730
750
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
731
|
-
def delete_with_http_info(account_id)
|
751
|
+
def delete_with_http_info(account_id, options = DocuSign_eSign::DeleteOptions.default)
|
732
752
|
if @api_client.config.debugging
|
733
753
|
@api_client.config.logger.debug "Calling API: AccountsApi.delete ..."
|
734
754
|
end
|
@@ -739,6 +759,7 @@ module DocuSign_eSign
|
|
739
759
|
|
740
760
|
# query parameters
|
741
761
|
query_params = {}
|
762
|
+
query_params[:'redact_user_data'] = options.redact_user_data if !options.redact_user_data.nil?
|
742
763
|
|
743
764
|
# header parameters
|
744
765
|
header_params = {}
|
@@ -1358,17 +1379,19 @@ module DocuSign_eSign
|
|
1358
1379
|
# Get the list of identity verification options for an account
|
1359
1380
|
# This method returns a list of Identity Verification workflows that are available to an account. **Note:** To use this method, you must either be an account administrator or a sender. ### Related topics - [How to require ID Verification (IDV) for a recipient](/docs/esign-rest-api/how-to/id-verification/)
|
1360
1381
|
# @param account_id The external account number (int) or account ID Guid.
|
1382
|
+
# @param DocuSign_eSign::GetAccountIdentityVerificationOptions Options for modifying the behavior of the function.
|
1361
1383
|
# @return [AccountIdentityVerificationResponse]
|
1362
|
-
def get_account_identity_verification(account_id)
|
1363
|
-
data, _status_code, _headers = get_account_identity_verification_with_http_info(account_id)
|
1384
|
+
def get_account_identity_verification(account_id, options = DocuSign_eSign::GetAccountIdentityVerificationOptions.default)
|
1385
|
+
data, _status_code, _headers = get_account_identity_verification_with_http_info(account_id, options)
|
1364
1386
|
return data
|
1365
1387
|
end
|
1366
1388
|
|
1367
1389
|
# Get the list of identity verification options for an account
|
1368
1390
|
# This method returns a list of Identity Verification workflows that are available to an account. **Note:** To use this method, you must either be an account administrator or a sender. ### Related topics - [How to require ID Verification (IDV) for a recipient](/docs/esign-rest-api/how-to/id-verification/)
|
1369
1391
|
# @param account_id The external account number (int) or account ID Guid.
|
1392
|
+
# @param DocuSign_eSign::GetAccountIdentityVerificationOptions Options for modifying the behavior of the function.
|
1370
1393
|
# @return [Array<(AccountIdentityVerificationResponse, Fixnum, Hash)>] AccountIdentityVerificationResponse data, response status code and response headers
|
1371
|
-
def get_account_identity_verification_with_http_info(account_id)
|
1394
|
+
def get_account_identity_verification_with_http_info(account_id, options = DocuSign_eSign::GetAccountIdentityVerificationOptions.default)
|
1372
1395
|
if @api_client.config.debugging
|
1373
1396
|
@api_client.config.logger.debug "Calling API: AccountsApi.get_account_identity_verification ..."
|
1374
1397
|
end
|
@@ -1379,6 +1402,7 @@ module DocuSign_eSign
|
|
1379
1402
|
|
1380
1403
|
# query parameters
|
1381
1404
|
query_params = {}
|
1405
|
+
query_params[:'identity_verification_workflow_status'] = options.identity_verification_workflow_status if !options.identity_verification_workflow_status.nil?
|
1382
1406
|
|
1383
1407
|
# header parameters
|
1384
1408
|
header_params = {}
|
@@ -3688,9 +3712,10 @@ module DocuSign_eSign
|
|
3688
3712
|
# @param account_id The external account number (int) or account ID GUID.
|
3689
3713
|
# @param brand_id The ID of the brand.
|
3690
3714
|
# @param resource_content_type The type of brand resource file that you are updating. Valid values are: - `sending` - `signing` - `email` - `signing_captive`
|
3715
|
+
# @param file_xml Brand resource XML file.
|
3691
3716
|
# @return [BrandResources]
|
3692
|
-
def update_brand_resources_by_content_type(account_id, brand_id, resource_content_type)
|
3693
|
-
data, _status_code, _headers = update_brand_resources_by_content_type_with_http_info(account_id, brand_id, resource_content_type)
|
3717
|
+
def update_brand_resources_by_content_type(account_id, brand_id, resource_content_type, file_xml)
|
3718
|
+
data, _status_code, _headers = update_brand_resources_by_content_type_with_http_info(account_id, brand_id, resource_content_type, file_xml)
|
3694
3719
|
return data
|
3695
3720
|
end
|
3696
3721
|
|
@@ -3699,8 +3724,9 @@ module DocuSign_eSign
|
|
3699
3724
|
# @param account_id The external account number (int) or account ID GUID.
|
3700
3725
|
# @param brand_id The ID of the brand.
|
3701
3726
|
# @param resource_content_type The type of brand resource file that you are updating. Valid values are: - `sending` - `signing` - `email` - `signing_captive`
|
3727
|
+
# @param file_xml Brand resource XML file.
|
3702
3728
|
# @return [Array<(BrandResources, Fixnum, Hash)>] BrandResources data, response status code and response headers
|
3703
|
-
def update_brand_resources_by_content_type_with_http_info(account_id, brand_id, resource_content_type)
|
3729
|
+
def update_brand_resources_by_content_type_with_http_info(account_id, brand_id, resource_content_type, file_xml)
|
3704
3730
|
if @api_client.config.debugging
|
3705
3731
|
@api_client.config.logger.debug "Calling API: AccountsApi.update_brand_resources_by_content_type ..."
|
3706
3732
|
end
|
@@ -383,6 +383,9 @@ module DocuSign_eSign
|
|
383
383
|
#
|
384
384
|
attr_accessor :requester_date_format
|
385
385
|
|
386
|
+
#
|
387
|
+
attr_accessor :search_mode
|
388
|
+
|
386
389
|
#
|
387
390
|
attr_accessor :search_text
|
388
391
|
|
@@ -3337,10 +3340,10 @@ module DocuSign_eSign
|
|
3337
3340
|
# @param account_id The external account number (int) or account ID Guid.
|
3338
3341
|
# @param attachment_id
|
3339
3342
|
# @param envelope_id The envelopeId Guid of the envelope being accessed.
|
3340
|
-
# @return [
|
3343
|
+
# @return [File]
|
3341
3344
|
def get_attachment(account_id, attachment_id, envelope_id)
|
3342
|
-
get_attachment_with_http_info(account_id, attachment_id, envelope_id)
|
3343
|
-
return
|
3345
|
+
data, _status_code, _headers = get_attachment_with_http_info(account_id, attachment_id, envelope_id)
|
3346
|
+
return data
|
3344
3347
|
end
|
3345
3348
|
|
3346
3349
|
# Retrieves an attachment from the envelope.
|
@@ -3348,7 +3351,7 @@ module DocuSign_eSign
|
|
3348
3351
|
# @param account_id The external account number (int) or account ID Guid.
|
3349
3352
|
# @param attachment_id
|
3350
3353
|
# @param envelope_id The envelopeId Guid of the envelope being accessed.
|
3351
|
-
# @return [Array<(
|
3354
|
+
# @return [Array<(File, Fixnum, Hash)>] File data, response status code and response headers
|
3352
3355
|
def get_attachment_with_http_info(account_id, attachment_id, envelope_id)
|
3353
3356
|
if @api_client.config.debugging
|
3354
3357
|
@api_client.config.logger.debug "Calling API: EnvelopesApi.get_attachment ..."
|
@@ -3368,7 +3371,7 @@ module DocuSign_eSign
|
|
3368
3371
|
# header parameters
|
3369
3372
|
header_params = {}
|
3370
3373
|
# HTTP header 'Accept' (if needed)
|
3371
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/
|
3374
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
|
3372
3375
|
|
3373
3376
|
# form parameters
|
3374
3377
|
form_params = {}
|
@@ -3381,7 +3384,8 @@ module DocuSign_eSign
|
|
3381
3384
|
:query_params => query_params,
|
3382
3385
|
:form_params => form_params,
|
3383
3386
|
:body => post_body,
|
3384
|
-
:auth_names => auth_names
|
3387
|
+
:auth_names => auth_names,
|
3388
|
+
:return_type => 'File')
|
3385
3389
|
if @api_client.config.debugging
|
3386
3390
|
@api_client.config.logger.debug "API called: EnvelopesApi#get_attachment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3387
3391
|
end
|
@@ -5665,6 +5669,7 @@ module DocuSign_eSign
|
|
5665
5669
|
query_params[:'powerformids'] = options.powerformids if !options.powerformids.nil?
|
5666
5670
|
query_params[:'query_budget'] = options.query_budget if !options.query_budget.nil?
|
5667
5671
|
query_params[:'requester_date_format'] = options.requester_date_format if !options.requester_date_format.nil?
|
5672
|
+
query_params[:'search_mode'] = options.search_mode if !options.search_mode.nil?
|
5668
5673
|
query_params[:'search_text'] = options.search_text if !options.search_text.nil?
|
5669
5674
|
query_params[:'start_position'] = options.start_position if !options.start_position.nil?
|
5670
5675
|
query_params[:'status'] = options.status if !options.status.nil?
|
@@ -35,6 +35,9 @@ module DocuSign_eSign
|
|
35
35
|
#
|
36
36
|
attr_accessor :encrypt
|
37
37
|
|
38
|
+
#
|
39
|
+
attr_accessor :file_type
|
40
|
+
|
38
41
|
#
|
39
42
|
attr_accessor :show_changes
|
40
43
|
|
@@ -1522,6 +1525,7 @@ module DocuSign_eSign
|
|
1522
1525
|
# query parameters
|
1523
1526
|
query_params = {}
|
1524
1527
|
query_params[:'encrypt'] = options.encrypt if !options.encrypt.nil?
|
1528
|
+
query_params[:'file_type'] = options.file_type if !options.file_type.nil?
|
1525
1529
|
query_params[:'show_changes'] = options.show_changes if !options.show_changes.nil?
|
1526
1530
|
|
1527
1531
|
# header parameters
|
@@ -1615,10 +1615,11 @@ module DocuSign_eSign
|
|
1615
1615
|
# @param image_type One of **signature_image** or **initials_image**.
|
1616
1616
|
# @param signature_id The ID of the signature being accessed.
|
1617
1617
|
# @param user_id The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing.
|
1618
|
+
# @param image_bytes Image content.
|
1618
1619
|
# @param DocuSign_eSign::UpdateSignatureImageOptions Options for modifying the behavior of the function.
|
1619
1620
|
# @return [UserSignature]
|
1620
|
-
def update_signature_image(account_id, image_type, signature_id, user_id, options = DocuSign_eSign::UpdateSignatureImageOptions.default)
|
1621
|
-
data, _status_code, _headers = update_signature_image_with_http_info(account_id, image_type, signature_id, user_id, options)
|
1621
|
+
def update_signature_image(account_id, image_type, signature_id, user_id, image_bytes, options = DocuSign_eSign::UpdateSignatureImageOptions.default)
|
1622
|
+
data, _status_code, _headers = update_signature_image_with_http_info(account_id, image_type, signature_id, user_id, image_bytes, options)
|
1622
1623
|
return data
|
1623
1624
|
end
|
1624
1625
|
|
@@ -1628,9 +1629,10 @@ module DocuSign_eSign
|
|
1628
1629
|
# @param image_type One of **signature_image** or **initials_image**.
|
1629
1630
|
# @param signature_id The ID of the signature being accessed.
|
1630
1631
|
# @param user_id The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing.
|
1632
|
+
# @param image_bytes Image content.
|
1631
1633
|
# @param DocuSign_eSign::UpdateSignatureImageOptions Options for modifying the behavior of the function.
|
1632
1634
|
# @return [Array<(UserSignature, Fixnum, Hash)>] UserSignature data, response status code and response headers
|
1633
|
-
def update_signature_image_with_http_info(account_id, image_type, signature_id, user_id, options = DocuSign_eSign::UpdateSignatureImageOptions.default)
|
1635
|
+
def update_signature_image_with_http_info(account_id, image_type, signature_id, user_id, image_bytes, options = DocuSign_eSign::UpdateSignatureImageOptions.default)
|
1634
1636
|
if @api_client.config.debugging
|
1635
1637
|
@api_client.config.logger.debug "Calling API: UsersApi.update_signature_image ..."
|
1636
1638
|
end
|
@@ -1642,6 +1644,8 @@ module DocuSign_eSign
|
|
1642
1644
|
fail ArgumentError, "Missing the required parameter 'signature_id' when calling UsersApi.update_signature_image" if signature_id.nil?
|
1643
1645
|
# verify the required parameter 'user_id' is set
|
1644
1646
|
fail ArgumentError, "Missing the required parameter 'user_id' when calling UsersApi.update_signature_image" if user_id.nil?
|
1647
|
+
# verify the required parameter 'image_bytes' is set
|
1648
|
+
fail ArgumentError, "Missing the required parameter 'image_bytes' when calling UsersApi.update_signature_image" if image_bytes.nil?
|
1645
1649
|
# resource path
|
1646
1650
|
local_var_path = "/v2.1/accounts/{accountId}/users/{userId}/signatures/{signatureId}/{imageType}".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'imageType' + '}', image_type.to_s).sub('{' + 'signatureId' + '}', signature_id.to_s).sub('{' + 'userId' + '}', user_id.to_s)
|
1647
1651
|
|
@@ -1660,7 +1664,7 @@ module DocuSign_eSign
|
|
1660
1664
|
form_params = {}
|
1661
1665
|
|
1662
1666
|
# http body (model)
|
1663
|
-
post_body =
|
1667
|
+
post_body = @api_client.object_to_http_body(image_bytes)
|
1664
1668
|
auth_names = []
|
1665
1669
|
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
1666
1670
|
:header_params => header_params,
|
@@ -35,7 +35,7 @@ module DocuSign_eSign
|
|
35
35
|
# @option config [Configuration] Configuration for initializing the object, default to Configuration.default
|
36
36
|
def initialize(config = Configuration.default)
|
37
37
|
@config = config
|
38
|
-
@user_agent = "Swagger-Codegen/3.
|
38
|
+
@user_agent = "Swagger-Codegen/3.26.0/ruby"
|
39
39
|
@default_headers = {
|
40
40
|
'Content-Type' => "application/json",
|
41
41
|
'User-Agent' => @user_agent
|
@@ -106,7 +106,7 @@ module DocuSign_eSign
|
|
106
106
|
|
107
107
|
# set ssl_verifyhosts option based on @config.verify_ssl_host (true/false)
|
108
108
|
_verify_ssl_host = @config.verify_ssl_host ? 2 : 0
|
109
|
-
|
109
|
+
|
110
110
|
req_opts = {
|
111
111
|
:method => http_method,
|
112
112
|
:headers => header_params,
|
@@ -281,7 +281,12 @@ module DocuSign_eSign
|
|
281
281
|
# let typhoeus handle File, Array and nil parameters
|
282
282
|
data[key] = value
|
283
283
|
else
|
284
|
-
|
284
|
+
if header_params['Content-Type'] == 'multipart/form-data'
|
285
|
+
header_params['Content-Disposition'] = 'form-data; name=file; filename=' + key
|
286
|
+
data = value
|
287
|
+
else
|
288
|
+
data[key] = value.to_s
|
289
|
+
end
|
285
290
|
end
|
286
291
|
end
|
287
292
|
elsif body
|
@@ -23,6 +23,12 @@ module DocuSign_eSign
|
|
23
23
|
#
|
24
24
|
attr_accessor :input_options
|
25
25
|
|
26
|
+
#
|
27
|
+
attr_accessor :is_disabled
|
28
|
+
|
29
|
+
#
|
30
|
+
attr_accessor :owner_type
|
31
|
+
|
26
32
|
# The signature provider associated with the Identity Verification workflow.
|
27
33
|
attr_accessor :signature_provider
|
28
34
|
|
@@ -44,6 +50,8 @@ module DocuSign_eSign
|
|
44
50
|
:'default_description' => :'defaultDescription',
|
45
51
|
:'default_name' => :'defaultName',
|
46
52
|
:'input_options' => :'inputOptions',
|
53
|
+
:'is_disabled' => :'isDisabled',
|
54
|
+
:'owner_type' => :'ownerType',
|
47
55
|
:'signature_provider' => :'signatureProvider',
|
48
56
|
:'steps' => :'steps',
|
49
57
|
:'workflow_id' => :'workflowId',
|
@@ -58,6 +66,8 @@ module DocuSign_eSign
|
|
58
66
|
:'default_description' => :'String',
|
59
67
|
:'default_name' => :'String',
|
60
68
|
:'input_options' => :'Array<AccountIdentityInputOption>',
|
69
|
+
:'is_disabled' => :'String',
|
70
|
+
:'owner_type' => :'String',
|
61
71
|
:'signature_provider' => :'AccountSignatureProvider',
|
62
72
|
:'steps' => :'Array<AccountIdentityVerificationStep>',
|
63
73
|
:'workflow_id' => :'String',
|
@@ -88,6 +98,14 @@ module DocuSign_eSign
|
|
88
98
|
end
|
89
99
|
end
|
90
100
|
|
101
|
+
if attributes.has_key?(:'isDisabled')
|
102
|
+
self.is_disabled = attributes[:'isDisabled']
|
103
|
+
end
|
104
|
+
|
105
|
+
if attributes.has_key?(:'ownerType')
|
106
|
+
self.owner_type = attributes[:'ownerType']
|
107
|
+
end
|
108
|
+
|
91
109
|
if attributes.has_key?(:'signatureProvider')
|
92
110
|
self.signature_provider = attributes[:'signatureProvider']
|
93
111
|
end
|
@@ -132,6 +150,8 @@ module DocuSign_eSign
|
|
132
150
|
default_description == o.default_description &&
|
133
151
|
default_name == o.default_name &&
|
134
152
|
input_options == o.input_options &&
|
153
|
+
is_disabled == o.is_disabled &&
|
154
|
+
owner_type == o.owner_type &&
|
135
155
|
signature_provider == o.signature_provider &&
|
136
156
|
steps == o.steps &&
|
137
157
|
workflow_id == o.workflow_id &&
|
@@ -148,7 +168,7 @@ module DocuSign_eSign
|
|
148
168
|
# Calculates hash code according to all attributes.
|
149
169
|
# @return [Fixnum] Hash code
|
150
170
|
def hash
|
151
|
-
[default_description, default_name, input_options, signature_provider, steps, workflow_id, workflow_label, workflow_resource_key].hash
|
171
|
+
[default_description, default_name, input_options, is_disabled, owner_type, signature_provider, steps, workflow_id, workflow_label, workflow_resource_key].hash
|
152
172
|
end
|
153
173
|
|
154
174
|
# Builds the object from hash
|
@@ -74,6 +74,12 @@ module DocuSign_eSign
|
|
74
74
|
#
|
75
75
|
attr_accessor :allowed_clickwraps_access_metadata
|
76
76
|
|
77
|
+
#
|
78
|
+
attr_accessor :allowed_orchestration_access
|
79
|
+
|
80
|
+
#
|
81
|
+
attr_accessor :allowed_orchestration_access_metadata
|
82
|
+
|
77
83
|
#
|
78
84
|
attr_accessor :allowed_template_access
|
79
85
|
|
@@ -128,6 +134,12 @@ module DocuSign_eSign
|
|
128
134
|
# Metadata that indicates whether the `allowTaggingInSendAndCorrect` property is editable.
|
129
135
|
attr_accessor :allow_tagging_in_send_and_correct_metadata
|
130
136
|
|
137
|
+
#
|
138
|
+
attr_accessor :allow_transactions
|
139
|
+
|
140
|
+
#
|
141
|
+
attr_accessor :allow_transactions_metadata
|
142
|
+
|
131
143
|
#
|
132
144
|
attr_accessor :allow_vaulting
|
133
145
|
|
@@ -140,12 +152,30 @@ module DocuSign_eSign
|
|
140
152
|
# Metadata that indicates whether the `allowWetSigningOverride` property is editable.
|
141
153
|
attr_accessor :allow_wet_signing_override_metadata
|
142
154
|
|
155
|
+
#
|
156
|
+
attr_accessor :can_create_transaction
|
157
|
+
|
158
|
+
#
|
159
|
+
attr_accessor :can_create_transaction_metadata
|
160
|
+
|
143
161
|
#
|
144
162
|
attr_accessor :can_create_workspaces
|
145
163
|
|
146
164
|
# Reserved for DocuSign.
|
147
165
|
attr_accessor :can_create_workspaces_metadata
|
148
166
|
|
167
|
+
#
|
168
|
+
attr_accessor :can_delete_documents_in_transaction
|
169
|
+
|
170
|
+
#
|
171
|
+
attr_accessor :can_delete_documents_in_transaction_metadata
|
172
|
+
|
173
|
+
#
|
174
|
+
attr_accessor :can_delete_transaction
|
175
|
+
|
176
|
+
#
|
177
|
+
attr_accessor :can_delete_transaction_metadata
|
178
|
+
|
149
179
|
#
|
150
180
|
attr_accessor :can_send_envelopes_via_sms
|
151
181
|
|
@@ -274,6 +304,8 @@ module DocuSign_eSign
|
|
274
304
|
:'allowed_address_book_access_metadata' => :'allowedAddressBookAccessMetadata',
|
275
305
|
:'allowed_clickwraps_access' => :'allowedClickwrapsAccess',
|
276
306
|
:'allowed_clickwraps_access_metadata' => :'allowedClickwrapsAccessMetadata',
|
307
|
+
:'allowed_orchestration_access' => :'allowedOrchestrationAccess',
|
308
|
+
:'allowed_orchestration_access_metadata' => :'allowedOrchestrationAccessMetadata',
|
277
309
|
:'allowed_template_access' => :'allowedTemplateAccess',
|
278
310
|
:'allowed_template_access_metadata' => :'allowedTemplateAccessMetadata',
|
279
311
|
:'allowed_to_be_envelope_transfer_recipient' => :'allowedToBeEnvelopeTransferRecipient',
|
@@ -292,12 +324,20 @@ module DocuSign_eSign
|
|
292
324
|
:'allow_supplemental_documents_metadata' => :'allowSupplementalDocumentsMetadata',
|
293
325
|
:'allow_tagging_in_send_and_correct' => :'allowTaggingInSendAndCorrect',
|
294
326
|
:'allow_tagging_in_send_and_correct_metadata' => :'allowTaggingInSendAndCorrectMetadata',
|
327
|
+
:'allow_transactions' => :'allowTransactions',
|
328
|
+
:'allow_transactions_metadata' => :'allowTransactionsMetadata',
|
295
329
|
:'allow_vaulting' => :'allowVaulting',
|
296
330
|
:'allow_vaulting_metadata' => :'allowVaultingMetadata',
|
297
331
|
:'allow_wet_signing_override' => :'allowWetSigningOverride',
|
298
332
|
:'allow_wet_signing_override_metadata' => :'allowWetSigningOverrideMetadata',
|
333
|
+
:'can_create_transaction' => :'canCreateTransaction',
|
334
|
+
:'can_create_transaction_metadata' => :'canCreateTransactionMetadata',
|
299
335
|
:'can_create_workspaces' => :'canCreateWorkspaces',
|
300
336
|
:'can_create_workspaces_metadata' => :'canCreateWorkspacesMetadata',
|
337
|
+
:'can_delete_documents_in_transaction' => :'canDeleteDocumentsInTransaction',
|
338
|
+
:'can_delete_documents_in_transaction_metadata' => :'canDeleteDocumentsInTransactionMetadata',
|
339
|
+
:'can_delete_transaction' => :'canDeleteTransaction',
|
340
|
+
:'can_delete_transaction_metadata' => :'canDeleteTransactionMetadata',
|
301
341
|
:'can_send_envelopes_via_sms' => :'canSendEnvelopesViaSMS',
|
302
342
|
:'can_send_envelopes_via_sms_metadata' => :'canSendEnvelopesViaSMSMetadata',
|
303
343
|
:'disable_document_upload' => :'disableDocumentUpload',
|
@@ -359,6 +399,8 @@ module DocuSign_eSign
|
|
359
399
|
:'allowed_address_book_access_metadata' => :'SettingsMetadata',
|
360
400
|
:'allowed_clickwraps_access' => :'String',
|
361
401
|
:'allowed_clickwraps_access_metadata' => :'SettingsMetadata',
|
402
|
+
:'allowed_orchestration_access' => :'String',
|
403
|
+
:'allowed_orchestration_access_metadata' => :'SettingsMetadata',
|
362
404
|
:'allowed_template_access' => :'String',
|
363
405
|
:'allowed_template_access_metadata' => :'SettingsMetadata',
|
364
406
|
:'allowed_to_be_envelope_transfer_recipient' => :'String',
|
@@ -377,12 +419,20 @@ module DocuSign_eSign
|
|
377
419
|
:'allow_supplemental_documents_metadata' => :'SettingsMetadata',
|
378
420
|
:'allow_tagging_in_send_and_correct' => :'String',
|
379
421
|
:'allow_tagging_in_send_and_correct_metadata' => :'SettingsMetadata',
|
422
|
+
:'allow_transactions' => :'String',
|
423
|
+
:'allow_transactions_metadata' => :'SettingsMetadata',
|
380
424
|
:'allow_vaulting' => :'String',
|
381
425
|
:'allow_vaulting_metadata' => :'SettingsMetadata',
|
382
426
|
:'allow_wet_signing_override' => :'String',
|
383
427
|
:'allow_wet_signing_override_metadata' => :'SettingsMetadata',
|
428
|
+
:'can_create_transaction' => :'String',
|
429
|
+
:'can_create_transaction_metadata' => :'SettingsMetadata',
|
384
430
|
:'can_create_workspaces' => :'String',
|
385
431
|
:'can_create_workspaces_metadata' => :'SettingsMetadata',
|
432
|
+
:'can_delete_documents_in_transaction' => :'String',
|
433
|
+
:'can_delete_documents_in_transaction_metadata' => :'SettingsMetadata',
|
434
|
+
:'can_delete_transaction' => :'String',
|
435
|
+
:'can_delete_transaction_metadata' => :'SettingsMetadata',
|
386
436
|
:'can_send_envelopes_via_sms' => :'String',
|
387
437
|
:'can_send_envelopes_via_sms_metadata' => :'SettingsMetadata',
|
388
438
|
:'disable_document_upload' => :'String',
|
@@ -509,6 +559,14 @@ module DocuSign_eSign
|
|
509
559
|
self.allowed_clickwraps_access_metadata = attributes[:'allowedClickwrapsAccessMetadata']
|
510
560
|
end
|
511
561
|
|
562
|
+
if attributes.has_key?(:'allowedOrchestrationAccess')
|
563
|
+
self.allowed_orchestration_access = attributes[:'allowedOrchestrationAccess']
|
564
|
+
end
|
565
|
+
|
566
|
+
if attributes.has_key?(:'allowedOrchestrationAccessMetadata')
|
567
|
+
self.allowed_orchestration_access_metadata = attributes[:'allowedOrchestrationAccessMetadata']
|
568
|
+
end
|
569
|
+
|
512
570
|
if attributes.has_key?(:'allowedTemplateAccess')
|
513
571
|
self.allowed_template_access = attributes[:'allowedTemplateAccess']
|
514
572
|
end
|
@@ -581,6 +639,14 @@ module DocuSign_eSign
|
|
581
639
|
self.allow_tagging_in_send_and_correct_metadata = attributes[:'allowTaggingInSendAndCorrectMetadata']
|
582
640
|
end
|
583
641
|
|
642
|
+
if attributes.has_key?(:'allowTransactions')
|
643
|
+
self.allow_transactions = attributes[:'allowTransactions']
|
644
|
+
end
|
645
|
+
|
646
|
+
if attributes.has_key?(:'allowTransactionsMetadata')
|
647
|
+
self.allow_transactions_metadata = attributes[:'allowTransactionsMetadata']
|
648
|
+
end
|
649
|
+
|
584
650
|
if attributes.has_key?(:'allowVaulting')
|
585
651
|
self.allow_vaulting = attributes[:'allowVaulting']
|
586
652
|
end
|
@@ -597,6 +663,14 @@ module DocuSign_eSign
|
|
597
663
|
self.allow_wet_signing_override_metadata = attributes[:'allowWetSigningOverrideMetadata']
|
598
664
|
end
|
599
665
|
|
666
|
+
if attributes.has_key?(:'canCreateTransaction')
|
667
|
+
self.can_create_transaction = attributes[:'canCreateTransaction']
|
668
|
+
end
|
669
|
+
|
670
|
+
if attributes.has_key?(:'canCreateTransactionMetadata')
|
671
|
+
self.can_create_transaction_metadata = attributes[:'canCreateTransactionMetadata']
|
672
|
+
end
|
673
|
+
|
600
674
|
if attributes.has_key?(:'canCreateWorkspaces')
|
601
675
|
self.can_create_workspaces = attributes[:'canCreateWorkspaces']
|
602
676
|
end
|
@@ -605,6 +679,22 @@ module DocuSign_eSign
|
|
605
679
|
self.can_create_workspaces_metadata = attributes[:'canCreateWorkspacesMetadata']
|
606
680
|
end
|
607
681
|
|
682
|
+
if attributes.has_key?(:'canDeleteDocumentsInTransaction')
|
683
|
+
self.can_delete_documents_in_transaction = attributes[:'canDeleteDocumentsInTransaction']
|
684
|
+
end
|
685
|
+
|
686
|
+
if attributes.has_key?(:'canDeleteDocumentsInTransactionMetadata')
|
687
|
+
self.can_delete_documents_in_transaction_metadata = attributes[:'canDeleteDocumentsInTransactionMetadata']
|
688
|
+
end
|
689
|
+
|
690
|
+
if attributes.has_key?(:'canDeleteTransaction')
|
691
|
+
self.can_delete_transaction = attributes[:'canDeleteTransaction']
|
692
|
+
end
|
693
|
+
|
694
|
+
if attributes.has_key?(:'canDeleteTransactionMetadata')
|
695
|
+
self.can_delete_transaction_metadata = attributes[:'canDeleteTransactionMetadata']
|
696
|
+
end
|
697
|
+
|
608
698
|
if attributes.has_key?(:'canSendEnvelopesViaSMS')
|
609
699
|
self.can_send_envelopes_via_sms = attributes[:'canSendEnvelopesViaSMS']
|
610
700
|
end
|
@@ -784,6 +874,8 @@ module DocuSign_eSign
|
|
784
874
|
allowed_address_book_access_metadata == o.allowed_address_book_access_metadata &&
|
785
875
|
allowed_clickwraps_access == o.allowed_clickwraps_access &&
|
786
876
|
allowed_clickwraps_access_metadata == o.allowed_clickwraps_access_metadata &&
|
877
|
+
allowed_orchestration_access == o.allowed_orchestration_access &&
|
878
|
+
allowed_orchestration_access_metadata == o.allowed_orchestration_access_metadata &&
|
787
879
|
allowed_template_access == o.allowed_template_access &&
|
788
880
|
allowed_template_access_metadata == o.allowed_template_access_metadata &&
|
789
881
|
allowed_to_be_envelope_transfer_recipient == o.allowed_to_be_envelope_transfer_recipient &&
|
@@ -802,12 +894,20 @@ module DocuSign_eSign
|
|
802
894
|
allow_supplemental_documents_metadata == o.allow_supplemental_documents_metadata &&
|
803
895
|
allow_tagging_in_send_and_correct == o.allow_tagging_in_send_and_correct &&
|
804
896
|
allow_tagging_in_send_and_correct_metadata == o.allow_tagging_in_send_and_correct_metadata &&
|
897
|
+
allow_transactions == o.allow_transactions &&
|
898
|
+
allow_transactions_metadata == o.allow_transactions_metadata &&
|
805
899
|
allow_vaulting == o.allow_vaulting &&
|
806
900
|
allow_vaulting_metadata == o.allow_vaulting_metadata &&
|
807
901
|
allow_wet_signing_override == o.allow_wet_signing_override &&
|
808
902
|
allow_wet_signing_override_metadata == o.allow_wet_signing_override_metadata &&
|
903
|
+
can_create_transaction == o.can_create_transaction &&
|
904
|
+
can_create_transaction_metadata == o.can_create_transaction_metadata &&
|
809
905
|
can_create_workspaces == o.can_create_workspaces &&
|
810
906
|
can_create_workspaces_metadata == o.can_create_workspaces_metadata &&
|
907
|
+
can_delete_documents_in_transaction == o.can_delete_documents_in_transaction &&
|
908
|
+
can_delete_documents_in_transaction_metadata == o.can_delete_documents_in_transaction_metadata &&
|
909
|
+
can_delete_transaction == o.can_delete_transaction &&
|
910
|
+
can_delete_transaction_metadata == o.can_delete_transaction_metadata &&
|
811
911
|
can_send_envelopes_via_sms == o.can_send_envelopes_via_sms &&
|
812
912
|
can_send_envelopes_via_sms_metadata == o.can_send_envelopes_via_sms_metadata &&
|
813
913
|
disable_document_upload == o.disable_document_upload &&
|
@@ -854,7 +954,7 @@ module DocuSign_eSign
|
|
854
954
|
# Calculates hash code according to all attributes.
|
855
955
|
# @return [Fixnum] Hash code
|
856
956
|
def hash
|
857
|
-
[allow_account_management, allow_account_management_metadata, allow_api_access, allow_api_access_metadata, allow_api_access_to_account, allow_api_access_to_account_metadata, allow_api_sending_on_behalf_of_others, allow_api_sending_on_behalf_of_others_metadata, allow_api_sequential_signing, allow_api_sequential_signing_metadata, allow_auto_tagging, allow_auto_tagging_metadata, allow_bulk_sending, allow_bulk_sending_metadata, allow_docu_sign_desktop_client, allow_docu_sign_desktop_client_metadata, allowed_address_book_access, allowed_address_book_access_metadata, allowed_clickwraps_access, allowed_clickwraps_access_metadata, allowed_template_access, allowed_template_access_metadata, allowed_to_be_envelope_transfer_recipient, allowed_to_be_envelope_transfer_recipient_metadata, allow_envelope_sending, allow_envelope_sending_metadata, allow_e_seal_recipients, allow_e_seal_recipients_metadata, allow_power_forms_admin_to_access_all_power_form_envelopes, allow_power_forms_admin_to_access_all_power_form_envelopes_metadata, allow_senders_to_set_recipient_email_language, allow_senders_to_set_recipient_email_language_metadata, allow_signer_attachments, allow_signer_attachments_metadata, allow_supplemental_documents, allow_supplemental_documents_metadata, allow_tagging_in_send_and_correct, allow_tagging_in_send_and_correct_metadata, allow_vaulting, allow_vaulting_metadata, allow_wet_signing_override, allow_wet_signing_override_metadata, can_create_workspaces, can_create_workspaces_metadata, can_send_envelopes_via_sms, can_send_envelopes_via_sms_metadata, disable_document_upload, disable_document_upload_metadata, disable_other_actions, disable_other_actions_metadata, enable_api_request_logging, enable_api_request_logging_metadata, enable_key_terms_suggestions_by_document_type, enable_key_terms_suggestions_by_document_type_metadata, enable_recipient_viewing_notifications, enable_recipient_viewing_notifications_metadata, enable_sequential_signing_interface, enable_sequential_signing_interface_metadata, enable_transaction_point_integration, enable_transaction_point_integration_metadata, power_form_role, power_form_role_metadata, receive_completed_self_signed_documents_as_email_links, receive_completed_self_signed_documents_as_email_links_metadata, signing_ui_version_metadata, supplemental_documents_must_accept, supplemental_documents_must_accept_metadata, supplemental_documents_must_read, supplemental_documents_must_read_metadata, supplemental_documents_must_view, supplemental_documents_must_view_metadata, use_new_docu_sign_experience_interface, use_new_docu_sign_experience_interface_metadata, use_new_sending_interface, use_new_sending_interface_metadata, vaulting_mode, vaulting_mode_metadata, web_forms, web_forms_metadata].hash
|
957
|
+
[allow_account_management, allow_account_management_metadata, allow_api_access, allow_api_access_metadata, allow_api_access_to_account, allow_api_access_to_account_metadata, allow_api_sending_on_behalf_of_others, allow_api_sending_on_behalf_of_others_metadata, allow_api_sequential_signing, allow_api_sequential_signing_metadata, allow_auto_tagging, allow_auto_tagging_metadata, allow_bulk_sending, allow_bulk_sending_metadata, allow_docu_sign_desktop_client, allow_docu_sign_desktop_client_metadata, allowed_address_book_access, allowed_address_book_access_metadata, allowed_clickwraps_access, allowed_clickwraps_access_metadata, allowed_orchestration_access, allowed_orchestration_access_metadata, allowed_template_access, allowed_template_access_metadata, allowed_to_be_envelope_transfer_recipient, allowed_to_be_envelope_transfer_recipient_metadata, allow_envelope_sending, allow_envelope_sending_metadata, allow_e_seal_recipients, allow_e_seal_recipients_metadata, allow_power_forms_admin_to_access_all_power_form_envelopes, allow_power_forms_admin_to_access_all_power_form_envelopes_metadata, allow_senders_to_set_recipient_email_language, allow_senders_to_set_recipient_email_language_metadata, allow_signer_attachments, allow_signer_attachments_metadata, allow_supplemental_documents, allow_supplemental_documents_metadata, allow_tagging_in_send_and_correct, allow_tagging_in_send_and_correct_metadata, allow_transactions, allow_transactions_metadata, allow_vaulting, allow_vaulting_metadata, allow_wet_signing_override, allow_wet_signing_override_metadata, can_create_transaction, can_create_transaction_metadata, can_create_workspaces, can_create_workspaces_metadata, can_delete_documents_in_transaction, can_delete_documents_in_transaction_metadata, can_delete_transaction, can_delete_transaction_metadata, can_send_envelopes_via_sms, can_send_envelopes_via_sms_metadata, disable_document_upload, disable_document_upload_metadata, disable_other_actions, disable_other_actions_metadata, enable_api_request_logging, enable_api_request_logging_metadata, enable_key_terms_suggestions_by_document_type, enable_key_terms_suggestions_by_document_type_metadata, enable_recipient_viewing_notifications, enable_recipient_viewing_notifications_metadata, enable_sequential_signing_interface, enable_sequential_signing_interface_metadata, enable_transaction_point_integration, enable_transaction_point_integration_metadata, power_form_role, power_form_role_metadata, receive_completed_self_signed_documents_as_email_links, receive_completed_self_signed_documents_as_email_links_metadata, signing_ui_version_metadata, supplemental_documents_must_accept, supplemental_documents_must_accept_metadata, supplemental_documents_must_read, supplemental_documents_must_read_metadata, supplemental_documents_must_view, supplemental_documents_must_view_metadata, use_new_docu_sign_experience_interface, use_new_docu_sign_experience_interface_metadata, use_new_sending_interface, use_new_sending_interface_metadata, vaulting_mode, vaulting_mode_metadata, web_forms, web_forms_metadata].hash
|
858
958
|
end
|
859
959
|
|
860
960
|
# Builds the object from hash
|