docusign_esign 3.4.0 → 3.5.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +73 -0
- data/docusign_esign-2.6.0.rc1.gem +0 -0
- data/lib/docusign_esign.rb +24 -0
- data/lib/docusign_esign/.DS_Store +0 -0
- data/lib/docusign_esign/api/.DS_Store +0 -0
- data/lib/docusign_esign/api/accounts_api.rb +362 -0
- data/lib/docusign_esign/api/bulk_envelopes_api.rb +126 -4
- data/lib/docusign_esign/api/envelopes_api.rb +320 -0
- data/lib/docusign_esign/client/.DS_Store +0 -0
- data/lib/docusign_esign/models/account_settings_information.rb +11 -1
- data/lib/docusign_esign/models/bulk_send_batch_status.rb +287 -0
- data/lib/docusign_esign/models/bulk_send_batch_summaries.rb +277 -0
- data/lib/docusign_esign/models/bulk_send_batch_summary.rb +255 -0
- data/lib/docusign_esign/models/bulk_send_error_status.rb +207 -0
- data/lib/docusign_esign/models/conditional_recipient_rule.rb +216 -0
- data/lib/docusign_esign/models/conditional_recipient_rule_condition.rb +207 -0
- data/lib/docusign_esign/models/conditional_recipient_rule_filter.rb +235 -0
- data/lib/docusign_esign/models/e_note_configuration.rb +11 -1
- data/lib/docusign_esign/models/envelope.rb +13 -4
- data/lib/docusign_esign/models/envelope_definition.rb +13 -4
- data/lib/docusign_esign/models/envelope_template.rb +13 -4
- data/lib/docusign_esign/models/new_user.rb +11 -1
- data/lib/docusign_esign/models/proof_service_resource_token.rb +14 -4
- data/lib/docusign_esign/models/recipient_additional_notification.rb +14 -4
- data/lib/docusign_esign/models/recipient_group.rb +207 -0
- data/lib/docusign_esign/models/recipient_option.rb +225 -0
- data/lib/docusign_esign/models/recipient_routing.rb +184 -0
- data/lib/docusign_esign/models/recipient_rules.rb +187 -0
- data/lib/docusign_esign/models/report_in_product_csv_run_request.rb +437 -0
- data/lib/docusign_esign/models/report_in_product_field.rb +215 -0
- data/lib/docusign_esign/models/report_in_product_get.rb +466 -0
- data/lib/docusign_esign/models/report_in_product_list.rb +187 -0
- data/lib/docusign_esign/models/report_in_product_list_item.rb +315 -0
- data/lib/docusign_esign/models/report_in_product_run_request.rb +397 -0
- data/lib/docusign_esign/models/report_in_product_run_response.rb +247 -0
- data/lib/docusign_esign/models/report_in_product_run_response_row.rb +194 -0
- data/lib/docusign_esign/models/report_in_product_run_response_row_fields.rb +1395 -0
- data/lib/docusign_esign/models/report_in_product_save_response.rb +185 -0
- data/lib/docusign_esign/models/report_in_product_sent_by_details.rb +199 -0
- data/lib/docusign_esign/models/sender_email_notifications.rb +11 -1
- data/lib/docusign_esign/models/tab_metadata.rb +21 -1
- data/lib/docusign_esign/models/workflow.rb +207 -0
- data/lib/docusign_esign/models/workflow_step.rb +254 -0
- data/lib/docusign_esign/version.rb +1 -1
- data/tests/Gemfile.lock +3 -3
- metadata +33 -7
- data/docusign_esign-2.4.0.gem +0 -0
- data/docusign_esign-2.5.0.rc1.gem +0 -0
- data/docusign_esign-3.4.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: ddbae822f40e17387d8672234c4d997a3280ed87d90c8049f30792475c6f171e
|
4
|
+
data.tar.gz: 6464a41ee85cf611ee616cbabbd5ddd9a10f9eb7a6e2bb59b54d34d5dea99351
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3cb2c5391b4ddc2cb0966dfa80d21c3c0700e72558aeb1b3dc490f3d5b90c46fe4c5a0cbaa060de9daf7d09f95c39c2f523cf4ed970605cc0518643dcd0b9a26
|
7
|
+
data.tar.gz: 3f5896d144c56442f4dd1fca3104787c1b685b1a00d82c04730c574ae32f87703a3a907dc8c44b3d5ea75a57c970da19446ee37c1fd545489e63a431d8637308
|
data/Gemfile.lock
ADDED
@@ -0,0 +1,73 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
docusign_esign (3.4.0)
|
5
|
+
json (~> 2.1, >= 2.1.0)
|
6
|
+
jwt (~> 2.2, >= 2.2.1)
|
7
|
+
typhoeus (~> 1.0, >= 1.0.1)
|
8
|
+
|
9
|
+
GEM
|
10
|
+
remote: https://rubygems.org/
|
11
|
+
specs:
|
12
|
+
ZenTest (4.12.0)
|
13
|
+
addressable (2.7.0)
|
14
|
+
public_suffix (>= 2.0.2, < 5.0)
|
15
|
+
autotest (4.4.6)
|
16
|
+
ZenTest (>= 4.4.1)
|
17
|
+
autotest-fsevent (0.2.17)
|
18
|
+
sys-uname
|
19
|
+
autotest-growl (0.2.16)
|
20
|
+
autotest-rails-pure (4.1.2)
|
21
|
+
crack (0.4.3)
|
22
|
+
safe_yaml (~> 1.0.0)
|
23
|
+
diff-lcs (1.4.4)
|
24
|
+
ethon (0.12.0)
|
25
|
+
ffi (>= 1.3.0)
|
26
|
+
ffi (1.13.1)
|
27
|
+
hashdiff (1.0.1)
|
28
|
+
json (2.3.1)
|
29
|
+
jwt (2.2.1)
|
30
|
+
public_suffix (4.0.5)
|
31
|
+
rake (12.3.3)
|
32
|
+
rspec (3.9.0)
|
33
|
+
rspec-core (~> 3.9.0)
|
34
|
+
rspec-expectations (~> 3.9.0)
|
35
|
+
rspec-mocks (~> 3.9.0)
|
36
|
+
rspec-core (3.9.2)
|
37
|
+
rspec-support (~> 3.9.3)
|
38
|
+
rspec-expectations (3.9.2)
|
39
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
40
|
+
rspec-support (~> 3.9.0)
|
41
|
+
rspec-mocks (3.9.1)
|
42
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
43
|
+
rspec-support (~> 3.9.0)
|
44
|
+
rspec-support (3.9.3)
|
45
|
+
safe_yaml (1.0.5)
|
46
|
+
sys-uname (1.2.1)
|
47
|
+
ffi (>= 1.0.0)
|
48
|
+
typhoeus (1.4.0)
|
49
|
+
ethon (>= 0.9.0)
|
50
|
+
vcr (3.0.3)
|
51
|
+
webmock (1.24.6)
|
52
|
+
addressable (>= 2.3.6)
|
53
|
+
crack (>= 0.3.2)
|
54
|
+
hashdiff
|
55
|
+
|
56
|
+
PLATFORMS
|
57
|
+
ruby
|
58
|
+
|
59
|
+
DEPENDENCIES
|
60
|
+
autotest (~> 4.4, >= 4.4.6)
|
61
|
+
autotest-fsevent (~> 0.2, >= 0.2.11)
|
62
|
+
autotest-growl (~> 0.2, >= 0.2.16)
|
63
|
+
autotest-rails-pure (~> 4.1, >= 4.1.2)
|
64
|
+
docusign_esign!
|
65
|
+
rake (~> 12.3.3)
|
66
|
+
rspec (~> 3.4, >= 3.4.0)
|
67
|
+
rspec-expectations (~> 3.8, >= 3.8.0)
|
68
|
+
rspec-mocks (~> 3.8, >= 3.8.0)
|
69
|
+
vcr (~> 3.0, >= 3.0.1)
|
70
|
+
webmock (~> 1.24, >= 1.24.3)
|
71
|
+
|
72
|
+
BUNDLED WITH
|
73
|
+
1.17.2
|
Binary file
|
data/lib/docusign_esign.rb
CHANGED
@@ -105,6 +105,10 @@ require 'docusign_esign/models/bulk_recipients_request'
|
|
105
105
|
require 'docusign_esign/models/bulk_recipients_response'
|
106
106
|
require 'docusign_esign/models/bulk_recipients_summary_response'
|
107
107
|
require 'docusign_esign/models/bulk_recipients_update_response'
|
108
|
+
require 'docusign_esign/models/bulk_send_batch_status'
|
109
|
+
require 'docusign_esign/models/bulk_send_batch_summaries'
|
110
|
+
require 'docusign_esign/models/bulk_send_batch_summary'
|
111
|
+
require 'docusign_esign/models/bulk_send_error_status'
|
108
112
|
require 'docusign_esign/models/bulk_send_request'
|
109
113
|
require 'docusign_esign/models/bulk_send_response'
|
110
114
|
require 'docusign_esign/models/bulk_send_test_response'
|
@@ -132,6 +136,9 @@ require 'docusign_esign/models/comment_thread'
|
|
132
136
|
require 'docusign_esign/models/comments_publish'
|
133
137
|
require 'docusign_esign/models/company'
|
134
138
|
require 'docusign_esign/models/composite_template'
|
139
|
+
require 'docusign_esign/models/conditional_recipient_rule'
|
140
|
+
require 'docusign_esign/models/conditional_recipient_rule_condition'
|
141
|
+
require 'docusign_esign/models/conditional_recipient_rule_filter'
|
135
142
|
require 'docusign_esign/models/connect_config_results'
|
136
143
|
require 'docusign_esign/models/connect_custom_configuration'
|
137
144
|
require 'docusign_esign/models/connect_debug_log'
|
@@ -333,14 +340,18 @@ require 'docusign_esign/models/recipient_domain'
|
|
333
340
|
require 'docusign_esign/models/recipient_email_notification'
|
334
341
|
require 'docusign_esign/models/recipient_event'
|
335
342
|
require 'docusign_esign/models/recipient_form_data'
|
343
|
+
require 'docusign_esign/models/recipient_group'
|
336
344
|
require 'docusign_esign/models/recipient_identity_input_option'
|
337
345
|
require 'docusign_esign/models/recipient_identity_phone_number'
|
338
346
|
require 'docusign_esign/models/recipient_identity_verification'
|
339
347
|
require 'docusign_esign/models/recipient_names_response'
|
348
|
+
require 'docusign_esign/models/recipient_option'
|
340
349
|
require 'docusign_esign/models/recipient_phone_authentication'
|
341
350
|
require 'docusign_esign/models/recipient_phone_number'
|
342
351
|
require 'docusign_esign/models/recipient_preview_request'
|
343
352
|
require 'docusign_esign/models/recipient_proof_file'
|
353
|
+
require 'docusign_esign/models/recipient_routing'
|
354
|
+
require 'docusign_esign/models/recipient_rules'
|
344
355
|
require 'docusign_esign/models/recipient_sms_authentication'
|
345
356
|
require 'docusign_esign/models/recipient_signature_information'
|
346
357
|
require 'docusign_esign/models/recipient_signature_provider'
|
@@ -351,6 +362,17 @@ require 'docusign_esign/models/recipients'
|
|
351
362
|
require 'docusign_esign/models/recipients_update_summary'
|
352
363
|
require 'docusign_esign/models/referral_information'
|
353
364
|
require 'docusign_esign/models/reminders'
|
365
|
+
require 'docusign_esign/models/report_in_product_csv_run_request'
|
366
|
+
require 'docusign_esign/models/report_in_product_field'
|
367
|
+
require 'docusign_esign/models/report_in_product_get'
|
368
|
+
require 'docusign_esign/models/report_in_product_list'
|
369
|
+
require 'docusign_esign/models/report_in_product_list_item'
|
370
|
+
require 'docusign_esign/models/report_in_product_run_request'
|
371
|
+
require 'docusign_esign/models/report_in_product_run_response'
|
372
|
+
require 'docusign_esign/models/report_in_product_run_response_row'
|
373
|
+
require 'docusign_esign/models/report_in_product_run_response_row_fields'
|
374
|
+
require 'docusign_esign/models/report_in_product_save_response'
|
375
|
+
require 'docusign_esign/models/report_in_product_sent_by_details'
|
354
376
|
require 'docusign_esign/models/resource_information'
|
355
377
|
require 'docusign_esign/models/return_url_request'
|
356
378
|
require 'docusign_esign/models/seal_identifier'
|
@@ -424,6 +446,8 @@ require 'docusign_esign/models/view'
|
|
424
446
|
require 'docusign_esign/models/view_url'
|
425
447
|
require 'docusign_esign/models/watermark'
|
426
448
|
require 'docusign_esign/models/witness'
|
449
|
+
require 'docusign_esign/models/workflow'
|
450
|
+
require 'docusign_esign/models/workflow_step'
|
427
451
|
require 'docusign_esign/models/workspace'
|
428
452
|
require 'docusign_esign/models/workspace_folder_contents'
|
429
453
|
require 'docusign_esign/models/workspace_item'
|
Binary file
|
Binary file
|
@@ -438,6 +438,57 @@ module DocuSign_eSign
|
|
438
438
|
return data, status_code, headers
|
439
439
|
end
|
440
440
|
|
441
|
+
# Creates a customized report
|
442
|
+
#
|
443
|
+
# @param account_id The external account number (int) or account ID Guid.
|
444
|
+
# @param report_in_product_run_request (optional parameter)
|
445
|
+
# @return [ReportInProductSaveResponse]
|
446
|
+
def create_report_in_product_create(account_id, report_in_product_run_request)
|
447
|
+
data, _status_code, _headers = create_report_in_product_create_with_http_info(account_id, report_in_product_run_request)
|
448
|
+
return data
|
449
|
+
end
|
450
|
+
|
451
|
+
# Creates a customized report
|
452
|
+
#
|
453
|
+
# @param account_id The external account number (int) or account ID Guid.
|
454
|
+
# @param report_in_product_run_request (optional parameter)
|
455
|
+
# @return [Array<(ReportInProductSaveResponse, Fixnum, Hash)>] ReportInProductSaveResponse data, response status code and response headers
|
456
|
+
def create_report_in_product_create_with_http_info(account_id, report_in_product_run_request)
|
457
|
+
if @api_client.config.debugging
|
458
|
+
@api_client.config.logger.debug "Calling API: AccountsApi.create_report_in_product_create ..."
|
459
|
+
end
|
460
|
+
# verify the required parameter 'account_id' is set
|
461
|
+
fail ArgumentError, "Missing the required parameter 'account_id' when calling AccountsApi.create_report_in_product_create" if account_id.nil?
|
462
|
+
# resource path
|
463
|
+
local_var_path = "/v2.1/accounts/{accountId}/reports".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s)
|
464
|
+
|
465
|
+
# query parameters
|
466
|
+
query_params = {}
|
467
|
+
|
468
|
+
# header parameters
|
469
|
+
header_params = {}
|
470
|
+
# HTTP header 'Accept' (if needed)
|
471
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
472
|
+
|
473
|
+
# form parameters
|
474
|
+
form_params = {}
|
475
|
+
|
476
|
+
# http body (model)
|
477
|
+
post_body = @api_client.object_to_http_body(report_in_product_run_request)
|
478
|
+
auth_names = []
|
479
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
480
|
+
:header_params => header_params,
|
481
|
+
:query_params => query_params,
|
482
|
+
:form_params => form_params,
|
483
|
+
:body => post_body,
|
484
|
+
:auth_names => auth_names,
|
485
|
+
:return_type => 'ReportInProductSaveResponse')
|
486
|
+
if @api_client.config.debugging
|
487
|
+
@api_client.config.logger.debug "API called: AccountsApi#create_report_in_product_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
488
|
+
end
|
489
|
+
return data, status_code, headers
|
490
|
+
end
|
491
|
+
|
441
492
|
# Deletes the specified account.
|
442
493
|
# This closes the specified account. You must be an account admin to close your account. Once closed, an account must be reopened by DocuSign.
|
443
494
|
# @param account_id The external account number (int) or account ID Guid.
|
@@ -858,6 +909,59 @@ module DocuSign_eSign
|
|
858
909
|
return data, status_code, headers
|
859
910
|
end
|
860
911
|
|
912
|
+
# Removes a customized report
|
913
|
+
#
|
914
|
+
# @param account_id The external account number (int) or account ID Guid.
|
915
|
+
# @param id
|
916
|
+
# @return [ReportInProductSaveResponse]
|
917
|
+
def delete_report_in_product(account_id, id)
|
918
|
+
data, _status_code, _headers = delete_report_in_product_with_http_info(account_id, id)
|
919
|
+
return data
|
920
|
+
end
|
921
|
+
|
922
|
+
# Removes a customized report
|
923
|
+
#
|
924
|
+
# @param account_id The external account number (int) or account ID Guid.
|
925
|
+
# @param id
|
926
|
+
# @return [Array<(ReportInProductSaveResponse, Fixnum, Hash)>] ReportInProductSaveResponse data, response status code and response headers
|
927
|
+
def delete_report_in_product_with_http_info(account_id, id)
|
928
|
+
if @api_client.config.debugging
|
929
|
+
@api_client.config.logger.debug "Calling API: AccountsApi.delete_report_in_product ..."
|
930
|
+
end
|
931
|
+
# verify the required parameter 'account_id' is set
|
932
|
+
fail ArgumentError, "Missing the required parameter 'account_id' when calling AccountsApi.delete_report_in_product" if account_id.nil?
|
933
|
+
# verify the required parameter 'id' is set
|
934
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling AccountsApi.delete_report_in_product" if id.nil?
|
935
|
+
# resource path
|
936
|
+
local_var_path = "/v2.1/accounts/{accountId}/reports/{id}".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'id' + '}', id.to_s)
|
937
|
+
|
938
|
+
# query parameters
|
939
|
+
query_params = {}
|
940
|
+
|
941
|
+
# header parameters
|
942
|
+
header_params = {}
|
943
|
+
# HTTP header 'Accept' (if needed)
|
944
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
945
|
+
|
946
|
+
# form parameters
|
947
|
+
form_params = {}
|
948
|
+
|
949
|
+
# http body (model)
|
950
|
+
post_body = nil
|
951
|
+
auth_names = []
|
952
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
953
|
+
:header_params => header_params,
|
954
|
+
:query_params => query_params,
|
955
|
+
:form_params => form_params,
|
956
|
+
:body => post_body,
|
957
|
+
:auth_names => auth_names,
|
958
|
+
:return_type => 'ReportInProductSaveResponse')
|
959
|
+
if @api_client.config.debugging
|
960
|
+
@api_client.config.logger.debug "API called: AccountsApi#delete_report_in_product\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
961
|
+
end
|
962
|
+
return data, status_code, headers
|
963
|
+
end
|
964
|
+
|
861
965
|
# Get the list of identity verification options for an account
|
862
966
|
#
|
863
967
|
# @param account_id The external account number (int) or account ID Guid.
|
@@ -1884,6 +1988,108 @@ module DocuSign_eSign
|
|
1884
1988
|
return data, status_code, headers
|
1885
1989
|
end
|
1886
1990
|
|
1991
|
+
# Gets the specified report
|
1992
|
+
#
|
1993
|
+
# @param account_id The external account number (int) or account ID Guid.
|
1994
|
+
# @param id
|
1995
|
+
# @return [ReportInProductGet]
|
1996
|
+
def get_report_in_product(account_id, id)
|
1997
|
+
data, _status_code, _headers = get_report_in_product_with_http_info(account_id, id)
|
1998
|
+
return data
|
1999
|
+
end
|
2000
|
+
|
2001
|
+
# Gets the specified report
|
2002
|
+
#
|
2003
|
+
# @param account_id The external account number (int) or account ID Guid.
|
2004
|
+
# @param id
|
2005
|
+
# @return [Array<(ReportInProductGet, Fixnum, Hash)>] ReportInProductGet data, response status code and response headers
|
2006
|
+
def get_report_in_product_with_http_info(account_id, id)
|
2007
|
+
if @api_client.config.debugging
|
2008
|
+
@api_client.config.logger.debug "Calling API: AccountsApi.get_report_in_product ..."
|
2009
|
+
end
|
2010
|
+
# verify the required parameter 'account_id' is set
|
2011
|
+
fail ArgumentError, "Missing the required parameter 'account_id' when calling AccountsApi.get_report_in_product" if account_id.nil?
|
2012
|
+
# verify the required parameter 'id' is set
|
2013
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling AccountsApi.get_report_in_product" if id.nil?
|
2014
|
+
# resource path
|
2015
|
+
local_var_path = "/v2.1/accounts/{accountId}/reports/{id}".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'id' + '}', id.to_s)
|
2016
|
+
|
2017
|
+
# query parameters
|
2018
|
+
query_params = {}
|
2019
|
+
|
2020
|
+
# header parameters
|
2021
|
+
header_params = {}
|
2022
|
+
# HTTP header 'Accept' (if needed)
|
2023
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
2024
|
+
|
2025
|
+
# form parameters
|
2026
|
+
form_params = {}
|
2027
|
+
|
2028
|
+
# http body (model)
|
2029
|
+
post_body = nil
|
2030
|
+
auth_names = []
|
2031
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
2032
|
+
:header_params => header_params,
|
2033
|
+
:query_params => query_params,
|
2034
|
+
:form_params => form_params,
|
2035
|
+
:body => post_body,
|
2036
|
+
:auth_names => auth_names,
|
2037
|
+
:return_type => 'ReportInProductGet')
|
2038
|
+
if @api_client.config.debugging
|
2039
|
+
@api_client.config.logger.debug "API called: AccountsApi#get_report_in_product\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2040
|
+
end
|
2041
|
+
return data, status_code, headers
|
2042
|
+
end
|
2043
|
+
|
2044
|
+
# Gets the descriptors for all of an account's active reports (for listings)
|
2045
|
+
#
|
2046
|
+
# @param account_id The external account number (int) or account ID Guid.
|
2047
|
+
# @return [ReportInProductList]
|
2048
|
+
def get_report_in_product_list(account_id)
|
2049
|
+
data, _status_code, _headers = get_report_in_product_list_with_http_info(account_id)
|
2050
|
+
return data
|
2051
|
+
end
|
2052
|
+
|
2053
|
+
# Gets the descriptors for all of an account's active reports (for listings)
|
2054
|
+
#
|
2055
|
+
# @param account_id The external account number (int) or account ID Guid.
|
2056
|
+
# @return [Array<(ReportInProductList, Fixnum, Hash)>] ReportInProductList data, response status code and response headers
|
2057
|
+
def get_report_in_product_list_with_http_info(account_id)
|
2058
|
+
if @api_client.config.debugging
|
2059
|
+
@api_client.config.logger.debug "Calling API: AccountsApi.get_report_in_product_list ..."
|
2060
|
+
end
|
2061
|
+
# verify the required parameter 'account_id' is set
|
2062
|
+
fail ArgumentError, "Missing the required parameter 'account_id' when calling AccountsApi.get_report_in_product_list" if account_id.nil?
|
2063
|
+
# resource path
|
2064
|
+
local_var_path = "/v2.1/accounts/{accountId}/reports".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s)
|
2065
|
+
|
2066
|
+
# query parameters
|
2067
|
+
query_params = {}
|
2068
|
+
|
2069
|
+
# header parameters
|
2070
|
+
header_params = {}
|
2071
|
+
# HTTP header 'Accept' (if needed)
|
2072
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
2073
|
+
|
2074
|
+
# form parameters
|
2075
|
+
form_params = {}
|
2076
|
+
|
2077
|
+
# http body (model)
|
2078
|
+
post_body = nil
|
2079
|
+
auth_names = []
|
2080
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
2081
|
+
:header_params => header_params,
|
2082
|
+
:query_params => query_params,
|
2083
|
+
:form_params => form_params,
|
2084
|
+
:body => post_body,
|
2085
|
+
:auth_names => auth_names,
|
2086
|
+
:return_type => 'ReportInProductList')
|
2087
|
+
if @api_client.config.debugging
|
2088
|
+
@api_client.config.logger.debug "API called: AccountsApi#get_report_in_product_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2089
|
+
end
|
2090
|
+
return data, status_code, headers
|
2091
|
+
end
|
2092
|
+
|
1887
2093
|
# Gets list of supported languages for recipient language setting.
|
1888
2094
|
#
|
1889
2095
|
# @param account_id The external account number (int) or account ID Guid.
|
@@ -3150,6 +3356,162 @@ module DocuSign_eSign
|
|
3150
3356
|
return data, status_code, headers
|
3151
3357
|
end
|
3152
3358
|
|
3359
|
+
# Returns the result set from running the specified report
|
3360
|
+
#
|
3361
|
+
# @param account_id The external account number (int) or account ID Guid.
|
3362
|
+
# @param report_in_product_run_request (optional parameter)
|
3363
|
+
# @return [ReportInProductRunResponse]
|
3364
|
+
def update_report_in_product_run_results(account_id, report_in_product_run_request)
|
3365
|
+
data, _status_code, _headers = update_report_in_product_run_results_with_http_info(account_id, report_in_product_run_request)
|
3366
|
+
return data
|
3367
|
+
end
|
3368
|
+
|
3369
|
+
# Returns the result set from running the specified report
|
3370
|
+
#
|
3371
|
+
# @param account_id The external account number (int) or account ID Guid.
|
3372
|
+
# @param report_in_product_run_request (optional parameter)
|
3373
|
+
# @return [Array<(ReportInProductRunResponse, Fixnum, Hash)>] ReportInProductRunResponse data, response status code and response headers
|
3374
|
+
def update_report_in_product_run_results_with_http_info(account_id, report_in_product_run_request)
|
3375
|
+
if @api_client.config.debugging
|
3376
|
+
@api_client.config.logger.debug "Calling API: AccountsApi.update_report_in_product_run_results ..."
|
3377
|
+
end
|
3378
|
+
# verify the required parameter 'account_id' is set
|
3379
|
+
fail ArgumentError, "Missing the required parameter 'account_id' when calling AccountsApi.update_report_in_product_run_results" if account_id.nil?
|
3380
|
+
# resource path
|
3381
|
+
local_var_path = "/v2.1/accounts/{accountId}/reports/report_results".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s)
|
3382
|
+
|
3383
|
+
# query parameters
|
3384
|
+
query_params = {}
|
3385
|
+
|
3386
|
+
# header parameters
|
3387
|
+
header_params = {}
|
3388
|
+
# HTTP header 'Accept' (if needed)
|
3389
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
3390
|
+
|
3391
|
+
# form parameters
|
3392
|
+
form_params = {}
|
3393
|
+
|
3394
|
+
# http body (model)
|
3395
|
+
post_body = @api_client.object_to_http_body(report_in_product_run_request)
|
3396
|
+
auth_names = []
|
3397
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
3398
|
+
:header_params => header_params,
|
3399
|
+
:query_params => query_params,
|
3400
|
+
:form_params => form_params,
|
3401
|
+
:body => post_body,
|
3402
|
+
:auth_names => auth_names,
|
3403
|
+
:return_type => 'ReportInProductRunResponse')
|
3404
|
+
if @api_client.config.debugging
|
3405
|
+
@api_client.config.logger.debug "API called: AccountsApi#update_report_in_product_run_results\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3406
|
+
end
|
3407
|
+
return data, status_code, headers
|
3408
|
+
end
|
3409
|
+
|
3410
|
+
# Saves a customized report
|
3411
|
+
#
|
3412
|
+
# @param account_id The external account number (int) or account ID Guid.
|
3413
|
+
# @param id
|
3414
|
+
# @param report_in_product_run_request (optional parameter)
|
3415
|
+
# @return [ReportInProductSaveResponse]
|
3416
|
+
def update_report_in_product_save(account_id, id, report_in_product_run_request)
|
3417
|
+
data, _status_code, _headers = update_report_in_product_save_with_http_info(account_id, id, report_in_product_run_request)
|
3418
|
+
return data
|
3419
|
+
end
|
3420
|
+
|
3421
|
+
# Saves a customized report
|
3422
|
+
#
|
3423
|
+
# @param account_id The external account number (int) or account ID Guid.
|
3424
|
+
# @param id
|
3425
|
+
# @param report_in_product_run_request (optional parameter)
|
3426
|
+
# @return [Array<(ReportInProductSaveResponse, Fixnum, Hash)>] ReportInProductSaveResponse data, response status code and response headers
|
3427
|
+
def update_report_in_product_save_with_http_info(account_id, id, report_in_product_run_request)
|
3428
|
+
if @api_client.config.debugging
|
3429
|
+
@api_client.config.logger.debug "Calling API: AccountsApi.update_report_in_product_save ..."
|
3430
|
+
end
|
3431
|
+
# verify the required parameter 'account_id' is set
|
3432
|
+
fail ArgumentError, "Missing the required parameter 'account_id' when calling AccountsApi.update_report_in_product_save" if account_id.nil?
|
3433
|
+
# verify the required parameter 'id' is set
|
3434
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling AccountsApi.update_report_in_product_save" if id.nil?
|
3435
|
+
# resource path
|
3436
|
+
local_var_path = "/v2.1/accounts/{accountId}/reports/{id}".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'id' + '}', id.to_s)
|
3437
|
+
|
3438
|
+
# query parameters
|
3439
|
+
query_params = {}
|
3440
|
+
|
3441
|
+
# header parameters
|
3442
|
+
header_params = {}
|
3443
|
+
# HTTP header 'Accept' (if needed)
|
3444
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
3445
|
+
|
3446
|
+
# form parameters
|
3447
|
+
form_params = {}
|
3448
|
+
|
3449
|
+
# http body (model)
|
3450
|
+
post_body = @api_client.object_to_http_body(report_in_product_run_request)
|
3451
|
+
auth_names = []
|
3452
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
3453
|
+
:header_params => header_params,
|
3454
|
+
:query_params => query_params,
|
3455
|
+
:form_params => form_params,
|
3456
|
+
:body => post_body,
|
3457
|
+
:auth_names => auth_names,
|
3458
|
+
:return_type => 'ReportInProductSaveResponse')
|
3459
|
+
if @api_client.config.debugging
|
3460
|
+
@api_client.config.logger.debug "API called: AccountsApi#update_report_in_product_save\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3461
|
+
end
|
3462
|
+
return data, status_code, headers
|
3463
|
+
end
|
3464
|
+
|
3465
|
+
# Returns the specified report as a CSV string
|
3466
|
+
#
|
3467
|
+
# @param account_id The external account number (int) or account ID Guid.
|
3468
|
+
# @param report_in_product_csv_run_request (optional parameter)
|
3469
|
+
# @return [nil]
|
3470
|
+
def update_report_results_csv(account_id, report_in_product_csv_run_request)
|
3471
|
+
update_report_results_csv_with_http_info(account_id, report_in_product_csv_run_request)
|
3472
|
+
return nil
|
3473
|
+
end
|
3474
|
+
|
3475
|
+
# Returns the specified report as a CSV string
|
3476
|
+
#
|
3477
|
+
# @param account_id The external account number (int) or account ID Guid.
|
3478
|
+
# @param report_in_product_csv_run_request (optional parameter)
|
3479
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
3480
|
+
def update_report_results_csv_with_http_info(account_id, report_in_product_csv_run_request)
|
3481
|
+
if @api_client.config.debugging
|
3482
|
+
@api_client.config.logger.debug "Calling API: AccountsApi.update_report_results_csv ..."
|
3483
|
+
end
|
3484
|
+
# verify the required parameter 'account_id' is set
|
3485
|
+
fail ArgumentError, "Missing the required parameter 'account_id' when calling AccountsApi.update_report_results_csv" if account_id.nil?
|
3486
|
+
# resource path
|
3487
|
+
local_var_path = "/v2.1/accounts/{accountId}/reports/report_results_csv".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s)
|
3488
|
+
|
3489
|
+
# query parameters
|
3490
|
+
query_params = {}
|
3491
|
+
|
3492
|
+
# header parameters
|
3493
|
+
header_params = {}
|
3494
|
+
# HTTP header 'Accept' (if needed)
|
3495
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
3496
|
+
|
3497
|
+
# form parameters
|
3498
|
+
form_params = {}
|
3499
|
+
|
3500
|
+
# http body (model)
|
3501
|
+
post_body = @api_client.object_to_http_body(report_in_product_csv_run_request)
|
3502
|
+
auth_names = []
|
3503
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
3504
|
+
:header_params => header_params,
|
3505
|
+
:query_params => query_params,
|
3506
|
+
:form_params => form_params,
|
3507
|
+
:body => post_body,
|
3508
|
+
:auth_names => auth_names)
|
3509
|
+
if @api_client.config.debugging
|
3510
|
+
@api_client.config.logger.debug "API called: AccountsApi#update_report_results_csv\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3511
|
+
end
|
3512
|
+
return data, status_code, headers
|
3513
|
+
end
|
3514
|
+
|
3153
3515
|
# Updates the account settings for an account.
|
3154
3516
|
# Updates the account settings for the specified account.
|
3155
3517
|
# @param account_id The external account number (int) or account ID Guid.
|