docusign_esign 2.9.0.rc1 → 2.11.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +24 -0
- data/Gemfile.lock +23 -22
- data/lib/docusign_esign.rb +2 -20
- data/lib/docusign_esign/api/accounts_api.rb +0 -101
- data/lib/docusign_esign/api/connect_api.rb +0 -196
- data/lib/docusign_esign/api/trust_service_providers_api.rb +0 -232
- data/lib/docusign_esign/api/users_api.rb +0 -52
- data/lib/docusign_esign/models/account_billing_plan.rb +21 -1
- data/lib/docusign_esign/models/envelope_form_data.rb +2 -5
- data/lib/docusign_esign/models/envelope_form_data_prefill_form_data.rb +186 -0
- data/lib/docusign_esign/models/prefill_form_data.rb +216 -0
- data/lib/docusign_esign/models/tabs.rb +1 -1
- data/lib/docusign_esign/models/template_tabs.rb +1 -1
- data/lib/docusign_esign/version.rb +1 -1
- data/tests/Gemfile.lock +6 -10
- data/tests/spec/unit_tests_using_jwt_spec.rb +58 -0
- metadata +4 -3
- data/docusign_esign-3.9.0.rc1.gem +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5c4afb12ac80a8bdef2671c0ed64f8f5a98e662f6ac3369cefa9acdbd530df79
|
4
|
+
data.tar.gz: c351c1befd6d87ef03725e616b396173afbcf1962b5af63ae18efb511fa8a340
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cdd5a0e1b474d28f45d278c5efc002507e386b9cc4dce1da31ecac854bb32d1f6ca259d7727c82e663d44f921ca46df834529a1414fcfe2d2b6e3a119f2129bd
|
7
|
+
data.tar.gz: d6a9c8ba071ef5244f0f437976a780b874c040ee274abe8a333fa76ba130fd335d0d97e48f99b235c7ac84cc5c28426aaa71e89c9b9f2424a9d8eb1c526d8b21
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,30 @@ 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
|
+
## [v2.11.0-rc1] - eSignature API v2-21.2.00.00 - 2021-07-13
|
7
|
+
### Added
|
8
|
+
- Added new models and properties.
|
9
|
+
### Changed
|
10
|
+
- Added support for version v2-21.2.00.00 of the DocuSign eSignature API.
|
11
|
+
- Updated the SDK release version.
|
12
|
+
|
13
|
+
## [v2.10.0] - eSignature API v2-21.1.02.00 - 2021-06-04
|
14
|
+
### Breaking
|
15
|
+
- Removed methods `get_account_settings_export`,`get_seal_providers` from Accounts.
|
16
|
+
- Removed methods `create_connect_secret`,`delete_connect_secret`,`generate_connect_secret`,`get_connect_secrets` from Connect.
|
17
|
+
- Removed methods `complete_sign_hash`,`get_user_info`,`health_check`,`sign_hash_session_info`,`update_transaction` from TrustServiceProviders.
|
18
|
+
- Removed method `get_user_list_export` from Users.
|
19
|
+
### Changed
|
20
|
+
- Added support for version v2-21.1.02.00 of the DocuSign eSignature API.
|
21
|
+
- Updated the SDK release version.
|
22
|
+
|
23
|
+
## [v2.9.0] - eSignature API v2-21.1.01.03 - 2021-04-25
|
24
|
+
### Added
|
25
|
+
- Added new method `delete_connect_secret` to connect.
|
26
|
+
### Changed
|
27
|
+
- Added support for version v2-21.1.01.03 of the DocuSign eSignature API.
|
28
|
+
- Updated the SDK release version.
|
29
|
+
|
6
30
|
## [v2.4.0] - eSignature API v2-20.1.02 - 2020-05-31
|
7
31
|
### Changed
|
8
32
|
- Added support for version v2-20.1.02 of the DocuSign eSignature API.
|
data/Gemfile.lock
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
docusign_esign (3.
|
5
|
-
addressable (~> 2.7, >= 2.7.0)
|
4
|
+
docusign_esign (3.10.0)
|
6
5
|
json (~> 2.1, >= 2.1.0)
|
7
6
|
jwt (~> 2.2, >= 2.2.1)
|
8
7
|
typhoeus (~> 1.0, >= 1.0.1)
|
@@ -15,35 +14,37 @@ GEM
|
|
15
14
|
public_suffix (>= 2.0.2, < 5.0)
|
16
15
|
autotest (4.4.6)
|
17
16
|
ZenTest (>= 4.4.1)
|
18
|
-
autotest-fsevent (0.2.
|
17
|
+
autotest-fsevent (0.2.18)
|
19
18
|
sys-uname
|
20
19
|
autotest-growl (0.2.16)
|
21
20
|
autotest-rails-pure (4.1.2)
|
22
|
-
crack (0.4.
|
21
|
+
crack (0.4.5)
|
22
|
+
rexml
|
23
23
|
diff-lcs (1.4.4)
|
24
|
-
ethon (0.
|
25
|
-
ffi (>= 1.
|
26
|
-
ffi (1.
|
24
|
+
ethon (0.14.0)
|
25
|
+
ffi (>= 1.15.0)
|
26
|
+
ffi (1.15.1)
|
27
27
|
hashdiff (1.0.1)
|
28
|
-
json (2.
|
29
|
-
jwt (2.2.
|
28
|
+
json (2.5.1)
|
29
|
+
jwt (2.2.3)
|
30
30
|
public_suffix (4.0.6)
|
31
31
|
rake (12.3.3)
|
32
|
-
|
33
|
-
|
34
|
-
rspec-
|
35
|
-
rspec-
|
36
|
-
|
37
|
-
|
38
|
-
|
32
|
+
rexml (3.2.5)
|
33
|
+
rspec (3.10.0)
|
34
|
+
rspec-core (~> 3.10.0)
|
35
|
+
rspec-expectations (~> 3.10.0)
|
36
|
+
rspec-mocks (~> 3.10.0)
|
37
|
+
rspec-core (3.10.1)
|
38
|
+
rspec-support (~> 3.10.0)
|
39
|
+
rspec-expectations (3.10.1)
|
39
40
|
diff-lcs (>= 1.2.0, < 2.0)
|
40
|
-
rspec-support (~> 3.
|
41
|
-
rspec-mocks (3.
|
41
|
+
rspec-support (~> 3.10.0)
|
42
|
+
rspec-mocks (3.10.2)
|
42
43
|
diff-lcs (>= 1.2.0, < 2.0)
|
43
|
-
rspec-support (~> 3.
|
44
|
-
rspec-support (3.
|
45
|
-
sys-uname (1.2.
|
46
|
-
ffi (
|
44
|
+
rspec-support (~> 3.10.0)
|
45
|
+
rspec-support (3.10.2)
|
46
|
+
sys-uname (1.2.2)
|
47
|
+
ffi (~> 1.1)
|
47
48
|
typhoeus (1.4.0)
|
48
49
|
ethon (>= 0.9.0)
|
49
50
|
vcr (3.0.3)
|
data/lib/docusign_esign.rb
CHANGED
@@ -105,8 +105,6 @@ require 'docusign_esign/models/chunked_upload_response'
|
|
105
105
|
require 'docusign_esign/models/cloud_storage_provider'
|
106
106
|
require 'docusign_esign/models/cloud_storage_providers'
|
107
107
|
require 'docusign_esign/models/company'
|
108
|
-
require 'docusign_esign/models/complete_sign_hash_response'
|
109
|
-
require 'docusign_esign/models/complete_sign_request'
|
110
108
|
require 'docusign_esign/models/composite_template'
|
111
109
|
require 'docusign_esign/models/connect_config_results'
|
112
110
|
require 'docusign_esign/models/connect_custom_configuration'
|
@@ -125,7 +123,6 @@ require 'docusign_esign/models/contact_phone_number'
|
|
125
123
|
require 'docusign_esign/models/contact_update_response'
|
126
124
|
require 'docusign_esign/models/correct_view_request'
|
127
125
|
require 'docusign_esign/models/country'
|
128
|
-
require 'docusign_esign/models/credential'
|
129
126
|
require 'docusign_esign/models/credit_card_information'
|
130
127
|
require 'docusign_esign/models/credit_card_types'
|
131
128
|
require 'docusign_esign/models/currency_feature_set_price'
|
@@ -150,10 +147,8 @@ require 'docusign_esign/models/document_html_definition_originals'
|
|
150
147
|
require 'docusign_esign/models/document_html_definitions'
|
151
148
|
require 'docusign_esign/models/document_html_display_anchor'
|
152
149
|
require 'docusign_esign/models/document_html_display_settings'
|
153
|
-
require 'docusign_esign/models/document_security_store'
|
154
150
|
require 'docusign_esign/models/document_template'
|
155
151
|
require 'docusign_esign/models/document_template_list'
|
156
|
-
require 'docusign_esign/models/document_update_info'
|
157
152
|
require 'docusign_esign/models/document_visibility'
|
158
153
|
require 'docusign_esign/models/document_visibility_list'
|
159
154
|
require 'docusign_esign/models/e_note_configuration'
|
@@ -267,6 +262,7 @@ require 'docusign_esign/models/power_form_senders_response'
|
|
267
262
|
require 'docusign_esign/models/power_forms_form_data_response'
|
268
263
|
require 'docusign_esign/models/power_forms_request'
|
269
264
|
require 'docusign_esign/models/power_forms_response'
|
265
|
+
require 'docusign_esign/models/prefill_form_data'
|
270
266
|
require 'docusign_esign/models/property_metadata'
|
271
267
|
require 'docusign_esign/models/province'
|
272
268
|
require 'docusign_esign/models/provisioning_information'
|
@@ -297,24 +293,17 @@ require 'docusign_esign/models/referral_information'
|
|
297
293
|
require 'docusign_esign/models/reminders'
|
298
294
|
require 'docusign_esign/models/resource_information'
|
299
295
|
require 'docusign_esign/models/return_url_request'
|
300
|
-
require 'docusign_esign/models/revision'
|
301
296
|
require 'docusign_esign/models/saml_assertion_attribute'
|
302
|
-
require 'docusign_esign/models/seal'
|
303
297
|
require 'docusign_esign/models/seal_identifier'
|
304
298
|
require 'docusign_esign/models/seal_sign'
|
305
299
|
require 'docusign_esign/models/seat_discount'
|
306
|
-
require 'docusign_esign/models/sender'
|
307
300
|
require 'docusign_esign/models/sender_email_notifications'
|
308
301
|
require 'docusign_esign/models/server_template'
|
309
302
|
require 'docusign_esign/models/service_information'
|
310
303
|
require 'docusign_esign/models/service_version'
|
311
304
|
require 'docusign_esign/models/settings_metadata'
|
312
305
|
require 'docusign_esign/models/shared_item'
|
313
|
-
require 'docusign_esign/models/sign_hash_document'
|
314
|
-
require 'docusign_esign/models/sign_hash_session_info_response'
|
315
306
|
require 'docusign_esign/models/sign_here'
|
316
|
-
require 'docusign_esign/models/sign_session_info_request'
|
317
|
-
require 'docusign_esign/models/signature_data_info'
|
318
307
|
require 'docusign_esign/models/signature_provider_required_option'
|
319
308
|
require 'docusign_esign/models/signature_type'
|
320
309
|
require 'docusign_esign/models/signer'
|
@@ -352,18 +341,11 @@ require 'docusign_esign/models/template_tabs'
|
|
352
341
|
require 'docusign_esign/models/template_update_summary'
|
353
342
|
require 'docusign_esign/models/text'
|
354
343
|
require 'docusign_esign/models/text_custom_field'
|
355
|
-
require 'docusign_esign/models/time_stamp_field'
|
356
344
|
require 'docusign_esign/models/title'
|
357
|
-
require 'docusign_esign/models/tsp_health_check_request'
|
358
|
-
require 'docusign_esign/models/tsp_health_check_status_description'
|
359
|
-
require 'docusign_esign/models/update_transaction_request'
|
360
|
-
require 'docusign_esign/models/update_transaction_response'
|
361
345
|
require 'docusign_esign/models/usage_history'
|
362
|
-
require 'docusign_esign/models/user'
|
363
346
|
require 'docusign_esign/models/user_account_management_granular_information'
|
364
347
|
require 'docusign_esign/models/user_info'
|
365
348
|
require 'docusign_esign/models/user_info_list'
|
366
|
-
require 'docusign_esign/models/user_info_response'
|
367
349
|
require 'docusign_esign/models/user_information'
|
368
350
|
require 'docusign_esign/models/user_information_list'
|
369
351
|
require 'docusign_esign/models/user_password_information'
|
@@ -403,9 +385,9 @@ require 'docusign_esign/api/groups_api'
|
|
403
385
|
require 'docusign_esign/api/notary_api'
|
404
386
|
require 'docusign_esign/api/organizations_api'
|
405
387
|
require 'docusign_esign/api/power_forms_api'
|
406
|
-
require 'docusign_esign/api/signature_api'
|
407
388
|
require 'docusign_esign/api/signing_groups_api'
|
408
389
|
require 'docusign_esign/api/templates_api'
|
390
|
+
require 'docusign_esign/api/trust_service_providers_api'
|
409
391
|
require 'docusign_esign/api/users_api'
|
410
392
|
require 'docusign_esign/api/workspaces_api'
|
411
393
|
|
@@ -955,58 +955,6 @@ module DocuSign_eSign
|
|
955
955
|
return data, status_code, headers
|
956
956
|
end
|
957
957
|
|
958
|
-
# Retrieves an account settings comparison.
|
959
|
-
#
|
960
|
-
# @param organization_id
|
961
|
-
# @param result_id
|
962
|
-
# @return [nil]
|
963
|
-
def get_account_settings_export(organization_id, result_id)
|
964
|
-
get_account_settings_export_with_http_info(organization_id, result_id)
|
965
|
-
return nil
|
966
|
-
end
|
967
|
-
|
968
|
-
# Retrieves an account settings comparison.
|
969
|
-
#
|
970
|
-
# @param organization_id
|
971
|
-
# @param result_id
|
972
|
-
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
973
|
-
def get_account_settings_export_with_http_info(organization_id, result_id)
|
974
|
-
if @api_client.config.debugging
|
975
|
-
@api_client.config.logger.debug "Calling API: AccountsApi.get_account_settings_export ..."
|
976
|
-
end
|
977
|
-
# verify the required parameter 'organization_id' is set
|
978
|
-
fail ArgumentError, "Missing the required parameter 'organization_id' when calling AccountsApi.get_account_settings_export" if organization_id.nil?
|
979
|
-
# verify the required parameter 'result_id' is set
|
980
|
-
fail ArgumentError, "Missing the required parameter 'result_id' when calling AccountsApi.get_account_settings_export" if result_id.nil?
|
981
|
-
# resource path
|
982
|
-
local_var_path = "/v2/organization_exports/{organizationId}/account_settings/{resultId}".sub('{format}','json').sub('{' + 'organizationId' + '}', organization_id.to_s).sub('{' + 'resultId' + '}', result_id.to_s)
|
983
|
-
|
984
|
-
# query parameters
|
985
|
-
query_params = {}
|
986
|
-
|
987
|
-
# header parameters
|
988
|
-
header_params = {}
|
989
|
-
# HTTP header 'Accept' (if needed)
|
990
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
991
|
-
|
992
|
-
# form parameters
|
993
|
-
form_params = {}
|
994
|
-
|
995
|
-
# http body (model)
|
996
|
-
post_body = nil
|
997
|
-
auth_names = []
|
998
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
999
|
-
:header_params => header_params,
|
1000
|
-
:query_params => query_params,
|
1001
|
-
:form_params => form_params,
|
1002
|
-
:body => post_body,
|
1003
|
-
:auth_names => auth_names)
|
1004
|
-
if @api_client.config.debugging
|
1005
|
-
@api_client.config.logger.debug "API called: AccountsApi#get_account_settings_export\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1006
|
-
end
|
1007
|
-
return data, status_code, headers
|
1008
|
-
end
|
1009
|
-
|
1010
958
|
# Returns tab settings list for specified account
|
1011
959
|
#
|
1012
960
|
# @param account_id The external account number (int) or account ID Guid.
|
@@ -1785,55 +1733,6 @@ module DocuSign_eSign
|
|
1785
1733
|
return data, status_code, headers
|
1786
1734
|
end
|
1787
1735
|
|
1788
|
-
# Returns Account available seals for specified account.
|
1789
|
-
#
|
1790
|
-
# @param account_id The external account number (int) or account ID Guid.
|
1791
|
-
# @return [AccountSeals]
|
1792
|
-
def get_seal_providers(account_id)
|
1793
|
-
data, _status_code, _headers = get_seal_providers_with_http_info(account_id)
|
1794
|
-
return data
|
1795
|
-
end
|
1796
|
-
|
1797
|
-
# Returns Account available seals for specified account.
|
1798
|
-
#
|
1799
|
-
# @param account_id The external account number (int) or account ID Guid.
|
1800
|
-
# @return [Array<(AccountSeals, Fixnum, Hash)>] AccountSeals data, response status code and response headers
|
1801
|
-
def get_seal_providers_with_http_info(account_id)
|
1802
|
-
if @api_client.config.debugging
|
1803
|
-
@api_client.config.logger.debug "Calling API: AccountsApi.get_seal_providers ..."
|
1804
|
-
end
|
1805
|
-
# verify the required parameter 'account_id' is set
|
1806
|
-
fail ArgumentError, "Missing the required parameter 'account_id' when calling AccountsApi.get_seal_providers" if account_id.nil?
|
1807
|
-
# resource path
|
1808
|
-
local_var_path = "/v2/accounts/{accountId}/seals".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s)
|
1809
|
-
|
1810
|
-
# query parameters
|
1811
|
-
query_params = {}
|
1812
|
-
|
1813
|
-
# header parameters
|
1814
|
-
header_params = {}
|
1815
|
-
# HTTP header 'Accept' (if needed)
|
1816
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1817
|
-
|
1818
|
-
# form parameters
|
1819
|
-
form_params = {}
|
1820
|
-
|
1821
|
-
# http body (model)
|
1822
|
-
post_body = nil
|
1823
|
-
auth_names = []
|
1824
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
1825
|
-
:header_params => header_params,
|
1826
|
-
:query_params => query_params,
|
1827
|
-
:form_params => form_params,
|
1828
|
-
:body => post_body,
|
1829
|
-
:auth_names => auth_names,
|
1830
|
-
:return_type => 'AccountSeals')
|
1831
|
-
if @api_client.config.debugging
|
1832
|
-
@api_client.config.logger.debug "API called: AccountsApi#get_seal_providers\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1833
|
-
end
|
1834
|
-
return data, status_code, headers
|
1835
|
-
end
|
1836
|
-
|
1837
1736
|
# Gets list of supported languages for recipient language setting.
|
1838
1737
|
#
|
1839
1738
|
# @param account_id The external account number (int) or account ID Guid.
|
@@ -129,54 +129,6 @@ module DocuSign_eSign
|
|
129
129
|
return data, status_code, headers
|
130
130
|
end
|
131
131
|
|
132
|
-
# Generates a new connect HMAC Secret.
|
133
|
-
#
|
134
|
-
# @param account_id The external account number (int) or account ID Guid.
|
135
|
-
# @return [nil]
|
136
|
-
def create_connect_secret(account_id)
|
137
|
-
create_connect_secret_with_http_info(account_id)
|
138
|
-
return nil
|
139
|
-
end
|
140
|
-
|
141
|
-
# Generates a new connect HMAC Secret.
|
142
|
-
#
|
143
|
-
# @param account_id The external account number (int) or account ID Guid.
|
144
|
-
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
145
|
-
def create_connect_secret_with_http_info(account_id)
|
146
|
-
if @api_client.config.debugging
|
147
|
-
@api_client.config.logger.debug "Calling API: ConnectApi.create_connect_secret ..."
|
148
|
-
end
|
149
|
-
# verify the required parameter 'account_id' is set
|
150
|
-
fail ArgumentError, "Missing the required parameter 'account_id' when calling ConnectApi.create_connect_secret" if account_id.nil?
|
151
|
-
# resource path
|
152
|
-
local_var_path = "/v2/accounts/{accountId}/connect/secret".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s)
|
153
|
-
|
154
|
-
# query parameters
|
155
|
-
query_params = {}
|
156
|
-
|
157
|
-
# header parameters
|
158
|
-
header_params = {}
|
159
|
-
# HTTP header 'Accept' (if needed)
|
160
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
161
|
-
|
162
|
-
# form parameters
|
163
|
-
form_params = {}
|
164
|
-
|
165
|
-
# http body (model)
|
166
|
-
post_body = nil
|
167
|
-
auth_names = []
|
168
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
169
|
-
:header_params => header_params,
|
170
|
-
:query_params => query_params,
|
171
|
-
:form_params => form_params,
|
172
|
-
:body => post_body,
|
173
|
-
:auth_names => auth_names)
|
174
|
-
if @api_client.config.debugging
|
175
|
-
@api_client.config.logger.debug "API called: ConnectApi#create_connect_secret\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
176
|
-
end
|
177
|
-
return data, status_code, headers
|
178
|
-
end
|
179
|
-
|
180
132
|
# Deletes the specified connect configuration.
|
181
133
|
# Deletes the specified DocuSign Connect configuration. ###### Note: Connect must be enabled for your account to use this function.
|
182
134
|
# @param account_id The external account number (int) or account ID Guid.
|
@@ -229,58 +181,6 @@ module DocuSign_eSign
|
|
229
181
|
return data, status_code, headers
|
230
182
|
end
|
231
183
|
|
232
|
-
# Delete the connect HMAC Secret for AccountID
|
233
|
-
#
|
234
|
-
# @param account_id The external account number (int) or account ID Guid.
|
235
|
-
# @param key_id
|
236
|
-
# @return [nil]
|
237
|
-
def delete_connect_secret(account_id, key_id)
|
238
|
-
delete_connect_secret_with_http_info(account_id, key_id)
|
239
|
-
return nil
|
240
|
-
end
|
241
|
-
|
242
|
-
# Delete the connect HMAC Secret for AccountID
|
243
|
-
#
|
244
|
-
# @param account_id The external account number (int) or account ID Guid.
|
245
|
-
# @param key_id
|
246
|
-
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
247
|
-
def delete_connect_secret_with_http_info(account_id, key_id)
|
248
|
-
if @api_client.config.debugging
|
249
|
-
@api_client.config.logger.debug "Calling API: ConnectApi.delete_connect_secret ..."
|
250
|
-
end
|
251
|
-
# verify the required parameter 'account_id' is set
|
252
|
-
fail ArgumentError, "Missing the required parameter 'account_id' when calling ConnectApi.delete_connect_secret" if account_id.nil?
|
253
|
-
# verify the required parameter 'key_id' is set
|
254
|
-
fail ArgumentError, "Missing the required parameter 'key_id' when calling ConnectApi.delete_connect_secret" if key_id.nil?
|
255
|
-
# resource path
|
256
|
-
local_var_path = "/v2/accounts/{accountId}/connect/secret/{keyId}".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'keyId' + '}', key_id.to_s)
|
257
|
-
|
258
|
-
# query parameters
|
259
|
-
query_params = {}
|
260
|
-
|
261
|
-
# header parameters
|
262
|
-
header_params = {}
|
263
|
-
# HTTP header 'Accept' (if needed)
|
264
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
265
|
-
|
266
|
-
# form parameters
|
267
|
-
form_params = {}
|
268
|
-
|
269
|
-
# http body (model)
|
270
|
-
post_body = nil
|
271
|
-
auth_names = []
|
272
|
-
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
273
|
-
:header_params => header_params,
|
274
|
-
:query_params => query_params,
|
275
|
-
:form_params => form_params,
|
276
|
-
:body => post_body,
|
277
|
-
:auth_names => auth_names)
|
278
|
-
if @api_client.config.debugging
|
279
|
-
@api_client.config.logger.debug "API called: ConnectApi#delete_connect_secret\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
280
|
-
end
|
281
|
-
return data, status_code, headers
|
282
|
-
end
|
283
|
-
|
284
184
|
# Deletes a Connect failure log entry.
|
285
185
|
# Deletes the Connect failure log information for the specified entry.
|
286
186
|
# @param account_id The external account number (int) or account ID Guid.
|
@@ -484,54 +384,6 @@ module DocuSign_eSign
|
|
484
384
|
return data, status_code, headers
|
485
385
|
end
|
486
386
|
|
487
|
-
# Generates a new connect HMAC Secret.
|
488
|
-
#
|
489
|
-
# @param account_id The external account number (int) or account ID Guid.
|
490
|
-
# @return [nil]
|
491
|
-
def generate_connect_secret(account_id)
|
492
|
-
generate_connect_secret_with_http_info(account_id)
|
493
|
-
return nil
|
494
|
-
end
|
495
|
-
|
496
|
-
# Generates a new connect HMAC Secret.
|
497
|
-
#
|
498
|
-
# @param account_id The external account number (int) or account ID Guid.
|
499
|
-
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
500
|
-
def generate_connect_secret_with_http_info(account_id)
|
501
|
-
if @api_client.config.debugging
|
502
|
-
@api_client.config.logger.debug "Calling API: ConnectApi.generate_connect_secret ..."
|
503
|
-
end
|
504
|
-
# verify the required parameter 'account_id' is set
|
505
|
-
fail ArgumentError, "Missing the required parameter 'account_id' when calling ConnectApi.generate_connect_secret" if account_id.nil?
|
506
|
-
# resource path
|
507
|
-
local_var_path = "/v2/accounts/{accountId}/connect/secret".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s)
|
508
|
-
|
509
|
-
# query parameters
|
510
|
-
query_params = {}
|
511
|
-
|
512
|
-
# header parameters
|
513
|
-
header_params = {}
|
514
|
-
# HTTP header 'Accept' (if needed)
|
515
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
516
|
-
|
517
|
-
# form parameters
|
518
|
-
form_params = {}
|
519
|
-
|
520
|
-
# http body (model)
|
521
|
-
post_body = nil
|
522
|
-
auth_names = []
|
523
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
524
|
-
:header_params => header_params,
|
525
|
-
:query_params => query_params,
|
526
|
-
:form_params => form_params,
|
527
|
-
:body => post_body,
|
528
|
-
:auth_names => auth_names)
|
529
|
-
if @api_client.config.debugging
|
530
|
-
@api_client.config.logger.debug "API called: ConnectApi#generate_connect_secret\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
531
|
-
end
|
532
|
-
return data, status_code, headers
|
533
|
-
end
|
534
|
-
|
535
387
|
# Get a Connect Configuration Information
|
536
388
|
# Retrieves the information for the specified DocuSign Connect configuration. ###### Note: Connect must be enabled for your account to use this function.
|
537
389
|
# @param account_id The external account number (int) or account ID Guid.
|
@@ -585,54 +437,6 @@ module DocuSign_eSign
|
|
585
437
|
return data, status_code, headers
|
586
438
|
end
|
587
439
|
|
588
|
-
# Get the connect HMAC Secrets for AccountID
|
589
|
-
#
|
590
|
-
# @param account_id The external account number (int) or account ID Guid.
|
591
|
-
# @return [nil]
|
592
|
-
def get_connect_secrets(account_id)
|
593
|
-
get_connect_secrets_with_http_info(account_id)
|
594
|
-
return nil
|
595
|
-
end
|
596
|
-
|
597
|
-
# Get the connect HMAC Secrets for AccountID
|
598
|
-
#
|
599
|
-
# @param account_id The external account number (int) or account ID Guid.
|
600
|
-
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
601
|
-
def get_connect_secrets_with_http_info(account_id)
|
602
|
-
if @api_client.config.debugging
|
603
|
-
@api_client.config.logger.debug "Calling API: ConnectApi.get_connect_secrets ..."
|
604
|
-
end
|
605
|
-
# verify the required parameter 'account_id' is set
|
606
|
-
fail ArgumentError, "Missing the required parameter 'account_id' when calling ConnectApi.get_connect_secrets" if account_id.nil?
|
607
|
-
# resource path
|
608
|
-
local_var_path = "/v2/accounts/{accountId}/connect/secrets".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s)
|
609
|
-
|
610
|
-
# query parameters
|
611
|
-
query_params = {}
|
612
|
-
|
613
|
-
# header parameters
|
614
|
-
header_params = {}
|
615
|
-
# HTTP header 'Accept' (if needed)
|
616
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
617
|
-
|
618
|
-
# form parameters
|
619
|
-
form_params = {}
|
620
|
-
|
621
|
-
# http body (model)
|
622
|
-
post_body = nil
|
623
|
-
auth_names = []
|
624
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
625
|
-
:header_params => header_params,
|
626
|
-
:query_params => query_params,
|
627
|
-
:form_params => form_params,
|
628
|
-
:body => post_body,
|
629
|
-
:auth_names => auth_names)
|
630
|
-
if @api_client.config.debugging
|
631
|
-
@api_client.config.logger.debug "API called: ConnectApi#get_connect_secrets\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
632
|
-
end
|
633
|
-
return data, status_code, headers
|
634
|
-
end
|
635
|
-
|
636
440
|
# Get the specified Connect log entry.
|
637
441
|
# Retrieves the specified Connect log entry for your account. ###### Note: The `enableLog` setting in the Connect configuration must be set to true to enable logging. If logging is not enabled, then no log entries are recorded.
|
638
442
|
# @param account_id The external account number (int) or account ID Guid.
|