docusign_esign 3.3.0.pre.rc → 3.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (51) hide show
  1. checksums.yaml +5 -5
  2. data/CHANGELOG.md +5 -0
  3. data/Gemfile.lock +7 -7
  4. data/README.md +7 -5
  5. data/docusign_esign-2.6.0.rc1.gem +0 -0
  6. data/docusign_esign-3.5.0.rc1.gem +0 -0
  7. data/lib/docusign_esign.rb +25 -0
  8. data/lib/docusign_esign/.DS_Store +0 -0
  9. data/lib/docusign_esign/api/accounts_api.rb +362 -0
  10. data/lib/docusign_esign/api/bulk_envelopes_api.rb +128 -6
  11. data/lib/docusign_esign/api/envelopes_api.rb +320 -0
  12. data/lib/docusign_esign/api/trust_service_providers_api.rb +74 -0
  13. data/lib/{.DS_Store → docusign_esign/client/.DS_Store} +0 -0
  14. data/lib/docusign_esign/models/account_settings_information.rb +11 -1
  15. data/lib/docusign_esign/models/bulk_send_batch_status.rb +287 -0
  16. data/lib/docusign_esign/models/bulk_send_batch_summaries.rb +277 -0
  17. data/lib/docusign_esign/models/bulk_send_batch_summary.rb +255 -0
  18. data/lib/docusign_esign/models/bulk_send_error_status.rb +207 -0
  19. data/lib/docusign_esign/models/bulk_send_response.rb +34 -4
  20. data/lib/docusign_esign/models/conditional_recipient_rule.rb +216 -0
  21. data/lib/docusign_esign/models/conditional_recipient_rule_condition.rb +207 -0
  22. data/lib/docusign_esign/models/conditional_recipient_rule_filter.rb +235 -0
  23. data/lib/docusign_esign/models/e_note_configuration.rb +11 -1
  24. data/lib/docusign_esign/models/envelope.rb +13 -4
  25. data/lib/docusign_esign/models/envelope_definition.rb +13 -4
  26. data/lib/docusign_esign/models/envelope_template.rb +13 -4
  27. data/lib/docusign_esign/models/new_user.rb +11 -1
  28. data/lib/docusign_esign/models/proof_service_resource_token.rb +14 -4
  29. data/lib/docusign_esign/models/recipient_additional_notification.rb +14 -4
  30. data/lib/docusign_esign/models/recipient_group.rb +207 -0
  31. data/lib/docusign_esign/models/recipient_option.rb +225 -0
  32. data/lib/docusign_esign/models/recipient_routing.rb +184 -0
  33. data/lib/docusign_esign/models/recipient_rules.rb +187 -0
  34. data/lib/docusign_esign/models/report_in_product_csv_run_request.rb +437 -0
  35. data/lib/docusign_esign/models/report_in_product_field.rb +215 -0
  36. data/lib/docusign_esign/models/report_in_product_get.rb +466 -0
  37. data/lib/docusign_esign/models/report_in_product_list.rb +187 -0
  38. data/lib/docusign_esign/models/report_in_product_list_item.rb +315 -0
  39. data/lib/docusign_esign/models/report_in_product_run_request.rb +397 -0
  40. data/lib/docusign_esign/models/report_in_product_run_response.rb +247 -0
  41. data/lib/docusign_esign/models/report_in_product_run_response_row.rb +194 -0
  42. data/lib/docusign_esign/models/report_in_product_run_response_row_fields.rb +1395 -0
  43. data/lib/docusign_esign/models/report_in_product_save_response.rb +185 -0
  44. data/lib/docusign_esign/models/report_in_product_sent_by_details.rb +199 -0
  45. data/lib/docusign_esign/models/sender_email_notifications.rb +11 -1
  46. data/lib/docusign_esign/models/tab_metadata.rb +21 -1
  47. data/lib/docusign_esign/models/workflow.rb +207 -0
  48. data/lib/docusign_esign/models/workflow_step.rb +254 -0
  49. data/lib/docusign_esign/version.rb +1 -1
  50. data/tests/Gemfile.lock +9 -9
  51. metadata +57 -31
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: b96c36563c54b6e64be86bee470df9f3eb46b236
4
- data.tar.gz: b991ae75aa50a6bcf5f95dd630be57c61a21bb23
2
+ SHA256:
3
+ metadata.gz: f1eab7285104d2b6ceadddde033b8488fea84cdf4d47e29813f9d8e20a855bd8
4
+ data.tar.gz: c6b9fd1fa4d15f40b00e5a69d0d68d0fb356193002552082dade455816e6990e
5
5
  SHA512:
6
- metadata.gz: 3fd1cfe4a1cb77110ad138e18bd0b10e4d798e054cbf937ef9609743ec1228b6da9360d8ffcf3ebdee0251f7d5b5d24a42d150286738717b34841615dc34225d
7
- data.tar.gz: 051b5fd4e9c7a35b2e751a1a98b6cf19aeb6cd80e0b8f5143420f45dc70f5538625407488a53929b049a0dd1a1cf81b4943d098c4caace34b44bfe97936807ec
6
+ metadata.gz: 97e38f67086b5d640181112258b3fcda04d62a5993c9b737ed8ae1ac42945175cebc958ef3be0a34b38affc14143b49ae5c928f6274d431f93d91d233ff47589
7
+ data.tar.gz: a456a29d57cbd6df0c20c32c6908c9a2922a5e51c807d9b4335c376d7fe634fc4692aff4c07d1194ddc27e6db67af8d0bf11bd303153621d3e0f96be9f1dbc26
@@ -3,6 +3,11 @@ 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.3.0] - eSignature API v2.1-20.1.02 - 2020-05-31
7
+ ### Changed
8
+ - Added support for version v2.1-20.1.02 of the DocuSign eSignature API.
9
+ - Updated the SDK release version.
10
+
6
11
  ## [v3.2.1] - eSignature API v2.1-20.1.00 - 2020-04-15
7
12
  ### Changed
8
13
  - Updated jwt to version 2.2.1.
@@ -1,9 +1,9 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- docusign_esign (3.3.0.pre.rc)
4
+ docusign_esign (3.4.0)
5
5
  json (~> 2.1, >= 2.1.0)
6
- jwt (~> 1.0, >= 1.5.2)
6
+ jwt (~> 2.2, >= 2.2.1)
7
7
  typhoeus (~> 1.0, >= 1.0.1)
8
8
 
9
9
  GEM
@@ -20,13 +20,13 @@ GEM
20
20
  autotest-rails-pure (4.1.2)
21
21
  crack (0.4.3)
22
22
  safe_yaml (~> 1.0.0)
23
- diff-lcs (1.3)
23
+ diff-lcs (1.4.4)
24
24
  ethon (0.12.0)
25
25
  ffi (>= 1.3.0)
26
- ffi (1.12.2)
26
+ ffi (1.13.1)
27
27
  hashdiff (1.0.1)
28
- json (2.3.0)
29
- jwt (1.5.6)
28
+ json (2.3.1)
29
+ jwt (2.2.1)
30
30
  public_suffix (4.0.5)
31
31
  rake (12.3.3)
32
32
  rspec (3.9.0)
@@ -70,4 +70,4 @@ DEPENDENCIES
70
70
  webmock (~> 1.24, >= 1.24.3)
71
71
 
72
72
  BUNDLED WITH
73
- 2.0.2
73
+ 1.17.2
data/README.md CHANGED
@@ -45,7 +45,7 @@ This client has the following external dependencies:
45
45
 
46
46
  ### Launchers
47
47
 
48
- DocuSign provides a sample application referred to as a [Launcher](https://github.com/docusign/eg-03-ruby-auth-code-grant). The Launcher contains a set of 14 common use cases and associated source files. These examples use DocuSign's [Authorization Code Grant](https://developers.docusign.com/esign-rest-api/guides/authentication/oauth2-code-grant) flow.
48
+ DocuSign provides a sample application code referred to as a [Launcher](https://github.com/docusign/code-examples-ruby). The Launcher contains a set of 31 common use cases and associated source files. These examples use either DocuSign's [Authorization Code Grant](https://developers.docusign.com/esign-rest-api/guides/authentication/oauth2-code-grant) or [JSON Web Tokens (JWT)](https://developers.docusign.com/esign-rest-api/guides/authentication/oauth2-jsonwebtoken) flows.
49
49
 
50
50
  ### Proof-of-concept applications
51
51
 
@@ -57,10 +57,6 @@ For details regarding which type of OAuth grant will work best for your DocuSign
57
57
 
58
58
  For security purposes, DocuSign recommends using the [Authorization Code Grant](https://developers.docusign.com/esign-rest-api/guides/authentication/oauth2-code-grant) flow.
59
59
 
60
- There are other use-case scenarios, such as **single-page applications** (SPA) that use **Cross-Origin Resource Sharing** (CORS), or where there may not be a user to interact with your Service Account. For these use cases, DocuSign also supports [JWT](https://developers.docusign.com/esign-rest-api/guides/authentication/oauth2-jsonwebtoken) and [Implicit](https://developers.docusign.com/esign-rest-api/guides/authentication/oauth2-implicit) grants. For code examples, see the links below:
61
-
62
- - [JWT (JSON Web Token)](https://github.com/docusign/eg-03-ruby-auth-code-grant)
63
- - Implicit Grant (coming soon)
64
60
 
65
61
  ## Support
66
62
 
@@ -76,3 +72,9 @@ The DocuSign Ruby Client is licensed under the [MIT License](https://github.com/
76
72
  [downloads-url]: https://rubygems.org/gems/docusign_esign
77
73
  [travis-image]: https://img.shields.io/travis/docusign/docusign-ruby-client.svg?style=flat
78
74
  [travis-url]: https://travis-ci.org/docusign/docusign-ruby-client
75
+
76
+ ### Additional Resources
77
+ * [DocuSign Developer Center](https://developers.docusign.com)
78
+ * [DocuSign API on Twitter](https://twitter.com/docusignapi)
79
+ * [DocuSign For Developers on LinkedIn](https://www.linkedin.com/showcase/docusign-for-developers/)
80
+ * [DocuSign For Developers on YouTube](https://www.youtube.com/channel/UCJSJ2kMs_qeQotmw4-lX2NQ)
@@ -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'
@@ -453,6 +477,7 @@ require 'docusign_esign/api/organizations_api'
453
477
  require 'docusign_esign/api/power_forms_api'
454
478
  require 'docusign_esign/api/signing_groups_api'
455
479
  require 'docusign_esign/api/templates_api'
480
+ require 'docusign_esign/api/trust_service_providers_api'
456
481
  require 'docusign_esign/api/users_api'
457
482
  require 'docusign_esign/api/workspaces_api'
458
483
 
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&#39;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.