docusign_esign 3.23.0 → 3.25.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 +45 -11
- data/lib/docusign_esign/api/billing_api.rb +2 -2
- data/lib/docusign_esign/api/envelopes_api.rb +11 -6
- data/lib/docusign_esign/api/templates_api.rb +4 -0
- 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 +525 -15
- data/lib/docusign_esign/models/account_ui_settings.rb +21 -1
- data/lib/docusign_esign/models/billing_charge.rb +1 -1
- data/lib/docusign_esign/models/brand.rb +21 -1
- data/lib/docusign_esign/models/bulk_send_batch_summary.rb +21 -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
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5c820f44c020acebd34bc2bf8c42c58b36dfcbba7d1190345222400034428aff
|
4
|
+
data.tar.gz: 652803bf3142a1b7ca7cb7b9a18a33c2e33268d567af5bf82d9a7a662f0ed68b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f1094bce34a3b01a7857b587c9ce62edb6a9db9192bddcc383b7dbfce1f53f7cfa603105d64ee031060b2ce7a99315ad875e870d35075d7234ca184d0e0aa197
|
7
|
+
data.tar.gz: 9f8ee99d8a3788a1e90c23cd8045968a61264b960650e63c43bc3820c41ae471ca477daffce875e843d5f9126cf46714242d3a4d22105086f3cfabaefee70721
|
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.25.0] - eSignature API v2.1-23.3.00.01 - 2023-08-30
|
7
|
+
### Changed
|
8
|
+
- Added support for version v2.1-23.3.00.01 of the DocuSign ESignature API.
|
9
|
+
- Updated the SDK release version.
|
10
|
+
|
11
|
+
## [v3.24.0] - eSignature API v2.1-23.2.00.00 - 2023-05-15
|
12
|
+
### Changed
|
13
|
+
- Added support for version v2.1-23.2.00.00 of the DocuSign ESignature API.
|
14
|
+
- Updated the SDK release version.
|
15
|
+
|
6
16
|
## [v3.23.0] - eSignature API v2.1-23.1.01.01 - 2023-04-05
|
7
17
|
### Changed
|
8
18
|
- Added support for version v2.1-23.1.01.01 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
|
@@ -107,9 +125,12 @@ module DocuSign_eSign
|
|
107
125
|
#
|
108
126
|
attr_accessor :count
|
109
127
|
|
110
|
-
#
|
128
|
+
# Part (substring) of email we are searching for.
|
111
129
|
attr_accessor :email_substring
|
112
130
|
|
131
|
+
#
|
132
|
+
attr_accessor :include_closed_users
|
133
|
+
|
113
134
|
#
|
114
135
|
attr_accessor :permissions
|
115
136
|
|
@@ -182,9 +203,12 @@ module DocuSign_eSign
|
|
182
203
|
#
|
183
204
|
attr_accessor :count
|
184
205
|
|
185
|
-
#
|
206
|
+
# Part (substring) of email we are searching for.
|
186
207
|
attr_accessor :email_substring
|
187
208
|
|
209
|
+
#
|
210
|
+
attr_accessor :include_closed_users
|
211
|
+
|
188
212
|
#
|
189
213
|
attr_accessor :permissions
|
190
214
|
|
@@ -712,17 +736,19 @@ module DocuSign_eSign
|
|
712
736
|
# Deletes the specified account.
|
713
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.
|
714
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.
|
715
740
|
# @return [nil]
|
716
|
-
def delete(account_id)
|
717
|
-
delete_with_http_info(account_id)
|
741
|
+
def delete(account_id, options = DocuSign_eSign::DeleteOptions.default)
|
742
|
+
delete_with_http_info(account_id, options)
|
718
743
|
return nil
|
719
744
|
end
|
720
745
|
|
721
746
|
# Deletes the specified account.
|
722
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.
|
723
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.
|
724
750
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
725
|
-
def delete_with_http_info(account_id)
|
751
|
+
def delete_with_http_info(account_id, options = DocuSign_eSign::DeleteOptions.default)
|
726
752
|
if @api_client.config.debugging
|
727
753
|
@api_client.config.logger.debug "Calling API: AccountsApi.delete ..."
|
728
754
|
end
|
@@ -733,6 +759,7 @@ module DocuSign_eSign
|
|
733
759
|
|
734
760
|
# query parameters
|
735
761
|
query_params = {}
|
762
|
+
query_params[:'redact_user_data'] = options.redact_user_data if !options.redact_user_data.nil?
|
736
763
|
|
737
764
|
# header parameters
|
738
765
|
header_params = {}
|
@@ -1352,17 +1379,19 @@ module DocuSign_eSign
|
|
1352
1379
|
# Get the list of identity verification options for an account
|
1353
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/)
|
1354
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.
|
1355
1383
|
# @return [AccountIdentityVerificationResponse]
|
1356
|
-
def get_account_identity_verification(account_id)
|
1357
|
-
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)
|
1358
1386
|
return data
|
1359
1387
|
end
|
1360
1388
|
|
1361
1389
|
# Get the list of identity verification options for an account
|
1362
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/)
|
1363
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.
|
1364
1393
|
# @return [Array<(AccountIdentityVerificationResponse, Fixnum, Hash)>] AccountIdentityVerificationResponse data, response status code and response headers
|
1365
|
-
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)
|
1366
1395
|
if @api_client.config.debugging
|
1367
1396
|
@api_client.config.logger.debug "Calling API: AccountsApi.get_account_identity_verification ..."
|
1368
1397
|
end
|
@@ -1373,6 +1402,7 @@ module DocuSign_eSign
|
|
1373
1402
|
|
1374
1403
|
# query parameters
|
1375
1404
|
query_params = {}
|
1405
|
+
query_params[:'identity_verification_workflow_status'] = options.identity_verification_workflow_status if !options.identity_verification_workflow_status.nil?
|
1376
1406
|
|
1377
1407
|
# header parameters
|
1378
1408
|
header_params = {}
|
@@ -1699,6 +1729,7 @@ module DocuSign_eSign
|
|
1699
1729
|
query_params[:'active_only'] = options.active_only if !options.active_only.nil?
|
1700
1730
|
query_params[:'count'] = options.count if !options.count.nil?
|
1701
1731
|
query_params[:'email_substring'] = options.email_substring if !options.email_substring.nil?
|
1732
|
+
query_params[:'include_closed_users'] = options.include_closed_users if !options.include_closed_users.nil?
|
1702
1733
|
query_params[:'permissions'] = options.permissions if !options.permissions.nil?
|
1703
1734
|
query_params[:'start_position'] = options.start_position if !options.start_position.nil?
|
1704
1735
|
query_params[:'user_name_substring'] = options.user_name_substring if !options.user_name_substring.nil?
|
@@ -2591,6 +2622,7 @@ module DocuSign_eSign
|
|
2591
2622
|
query_params[:'active_only'] = options.active_only if !options.active_only.nil?
|
2592
2623
|
query_params[:'count'] = options.count if !options.count.nil?
|
2593
2624
|
query_params[:'email_substring'] = options.email_substring if !options.email_substring.nil?
|
2625
|
+
query_params[:'include_closed_users'] = options.include_closed_users if !options.include_closed_users.nil?
|
2594
2626
|
query_params[:'permissions'] = options.permissions if !options.permissions.nil?
|
2595
2627
|
query_params[:'start_position'] = options.start_position if !options.start_position.nil?
|
2596
2628
|
query_params[:'user_name_substring'] = options.user_name_substring if !options.user_name_substring.nil?
|
@@ -3680,9 +3712,10 @@ module DocuSign_eSign
|
|
3680
3712
|
# @param account_id The external account number (int) or account ID GUID.
|
3681
3713
|
# @param brand_id The ID of the brand.
|
3682
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.
|
3683
3716
|
# @return [BrandResources]
|
3684
|
-
def update_brand_resources_by_content_type(account_id, brand_id, resource_content_type)
|
3685
|
-
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)
|
3686
3719
|
return data
|
3687
3720
|
end
|
3688
3721
|
|
@@ -3691,8 +3724,9 @@ module DocuSign_eSign
|
|
3691
3724
|
# @param account_id The external account number (int) or account ID GUID.
|
3692
3725
|
# @param brand_id The ID of the brand.
|
3693
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.
|
3694
3728
|
# @return [Array<(BrandResources, Fixnum, Hash)>] BrandResources data, response status code and response headers
|
3695
|
-
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)
|
3696
3730
|
if @api_client.config.debugging
|
3697
3731
|
@api_client.config.logger.debug "Calling API: AccountsApi.update_brand_resources_by_content_type ..."
|
3698
3732
|
end
|
@@ -223,7 +223,7 @@ module DocuSign_eSign
|
|
223
223
|
end
|
224
224
|
|
225
225
|
# Retrieves a billing invoice.
|
226
|
-
# Retrieves the specified invoice. ###### Note: If the `pdfAvailable` property in the response is set to *true*, you can download a PDF version of the invoice. To download the PDF, make the call again and change the value of the `Accept` property in the header to `Accept: application/pdf`. Privileges required: account administrator The response returns a list of charges and information about the charges. Quantities are usually shown as 'unlimited' or an integer. Amounts are shown in the currency set for the account. **Response** The following table provides a description of the different `chargeName` property values. The information will grow as more chargeable items are added to the system. | chargeName | Description | | --- | --- | | id_check | IDÂ
|
226
|
+
# Retrieves the specified invoice. ###### Note: If the `pdfAvailable` property in the response is set to *true*, you can download a PDF version of the invoice. To download the PDF, make the call again and change the value of the `Accept` property in the header to `Accept: application/pdf`. Privileges required: account administrator The response returns a list of charges and information about the charges. Quantities are usually shown as 'unlimited' or an integer. Amounts are shown in the currency set for the account. **Response** The following table provides a description of the different `chargeName` property values. The information will grow as more chargeable items are added to the system. | chargeName | Description | | --- | --- | | id_check | IDÂ Check Charge | | in_person_signing | In Person Signing charge | | envelopes Included | Sent Envelopes for the account | | age_verify | Age verification check | | ofac | OFAC Check | | id_confirm | ID confirmation check | | student_authentication | STAN PIN authentication check | | wet_sign_fax | Pages for returning signed documents by fax | | attachment_fax | Pages for returning attachments by fax | | phone_authentication | Phone authentication charge | | powerforms | PowerForm envelopes sent | | signer_payments | Payment processing charge | | outbound_fax | Send by fax charge | | bulk_recipient_envelopes | Bulk Recipient Envelopes sent | | sms_authentications | SMS authentication charge | | saml_authentications | SAML authentication charge | | express_signer_certificate | DocuSign Express Certificate charge | | personal_signer_certificate | Personal Signer Certificate charge | | safe_certificate | SAFE BioPharma Signer Certificate charge | | seats | Included active seats charge | | open_trust_certificate | OpenTrust Signer Certificate charge |
|
227
227
|
# @param account_id The external account number (int) or account ID Guid.
|
228
228
|
# @param invoice_id
|
229
229
|
# @return [BillingInvoice]
|
@@ -233,7 +233,7 @@ module DocuSign_eSign
|
|
233
233
|
end
|
234
234
|
|
235
235
|
# Retrieves a billing invoice.
|
236
|
-
# Retrieves the specified invoice. ###### Note: If the `pdfAvailable` property in the response is set to *true*, you can download a PDF version of the invoice. To download the PDF, make the call again and change the value of the `Accept` property in the header to `Accept: application/pdf`. Privileges required: account administrator The response returns a list of charges and information about the charges. Quantities are usually shown as 'unlimited' or an integer. Amounts are shown in the currency set for the account. **Response** The following table provides a description of the different `chargeName` property values. The information will grow as more chargeable items are added to the system. | chargeName | Description | | --- | --- | | id_check | IDÂ
|
236
|
+
# Retrieves the specified invoice. ###### Note: If the `pdfAvailable` property in the response is set to *true*, you can download a PDF version of the invoice. To download the PDF, make the call again and change the value of the `Accept` property in the header to `Accept: application/pdf`. Privileges required: account administrator The response returns a list of charges and information about the charges. Quantities are usually shown as 'unlimited' or an integer. Amounts are shown in the currency set for the account. **Response** The following table provides a description of the different `chargeName` property values. The information will grow as more chargeable items are added to the system. | chargeName | Description | | --- | --- | | id_check | IDÂ Check Charge | | in_person_signing | In Person Signing charge | | envelopes Included | Sent Envelopes for the account | | age_verify | Age verification check | | ofac | OFAC Check | | id_confirm | ID confirmation check | | student_authentication | STAN PIN authentication check | | wet_sign_fax | Pages for returning signed documents by fax | | attachment_fax | Pages for returning attachments by fax | | phone_authentication | Phone authentication charge | | powerforms | PowerForm envelopes sent | | signer_payments | Payment processing charge | | outbound_fax | Send by fax charge | | bulk_recipient_envelopes | Bulk Recipient Envelopes sent | | sms_authentications | SMS authentication charge | | saml_authentications | SAML authentication charge | | express_signer_certificate | DocuSign Express Certificate charge | | personal_signer_certificate | Personal Signer Certificate charge | | safe_certificate | SAFE BioPharma Signer Certificate charge | | seats | Included active seats charge | | open_trust_certificate | OpenTrust Signer Certificate charge |
|
237
237
|
# @param account_id The external account number (int) or account ID Guid.
|
238
238
|
# @param invoice_id
|
239
239
|
# @return [Array<(BillingInvoice, Fixnum, Hash)>] BillingInvoice data, response status code and response headers
|
@@ -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
|
@@ -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.25.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
|