docusign_esign 3.7.0.rc1 → 3.10.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (119) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +21 -0
  3. data/Gemfile.lock +24 -24
  4. data/README.md +24 -53
  5. data/docusign_esign-2.10.0.gem +0 -0
  6. data/docusign_esign-2.10.0.rc1.gem +0 -0
  7. data/docusign_esign-3.10.0.rc1.gem +0 -0
  8. data/lib/docusign_esign.rb +9 -2
  9. data/lib/docusign_esign/api/accounts_api.rb +13 -8
  10. data/lib/docusign_esign/api/bulk_envelopes_api.rb +69 -248
  11. data/lib/docusign_esign/api/connect_api.rb +0 -53
  12. data/lib/docusign_esign/api/envelopes_api.rb +348 -0
  13. data/lib/docusign_esign/api/groups_api.rb +9 -9
  14. data/lib/docusign_esign/api/signature_api.rb +256 -0
  15. data/lib/docusign_esign/api/templates_api.rb +4 -0
  16. data/lib/docusign_esign/models/account_billing_plan.rb +31 -1
  17. data/lib/docusign_esign/models/account_information.rb +34 -4
  18. data/lib/docusign_esign/models/account_role_settings.rb +20 -1
  19. data/lib/docusign_esign/models/account_settings_information.rb +298 -1
  20. data/lib/docusign_esign/models/account_ui_settings.rb +39 -1
  21. data/lib/docusign_esign/models/approve.rb +11 -1
  22. data/lib/docusign_esign/models/bulk_send_batch_request.rb +184 -0
  23. data/lib/docusign_esign/models/bulk_send_batch_status.rb +31 -1
  24. data/lib/docusign_esign/models/bulk_sending_copy_recipient.rb +41 -1
  25. data/lib/docusign_esign/models/carbon_copy.rb +11 -1
  26. data/lib/docusign_esign/models/checkbox.rb +11 -1
  27. data/lib/docusign_esign/models/comment_thread.rb +11 -1
  28. data/lib/docusign_esign/models/commission_county.rb +11 -1
  29. data/lib/docusign_esign/models/commission_expiration.rb +11 -1
  30. data/lib/docusign_esign/models/commission_number.rb +11 -1
  31. data/lib/docusign_esign/models/commission_state.rb +11 -1
  32. data/lib/docusign_esign/models/company.rb +11 -1
  33. data/lib/docusign_esign/models/complete_sign_hash_response.rb +7 -11
  34. data/lib/docusign_esign/models/complete_sign_request.rb +7 -11
  35. data/lib/docusign_esign/models/conditional_recipient_rule_filter.rb +11 -1
  36. data/lib/docusign_esign/models/credential.rb +7 -11
  37. data/lib/docusign_esign/models/currency.rb +1211 -0
  38. data/lib/docusign_esign/models/date.rb +11 -1
  39. data/lib/docusign_esign/models/date_signed.rb +11 -1
  40. data/lib/docusign_esign/models/decline.rb +11 -1
  41. data/lib/docusign_esign/models/display_appliance_account.rb +224 -0
  42. data/lib/docusign_esign/models/display_appliance_info.rb +174 -0
  43. data/lib/docusign_esign/models/display_appliance_pdf.rb +174 -0
  44. data/lib/docusign_esign/models/display_appliance_signer_attachment.rb +174 -0
  45. data/lib/docusign_esign/models/document.rb +11 -1
  46. data/lib/docusign_esign/models/document_security_store.rb +7 -11
  47. data/lib/docusign_esign/models/document_update_info.rb +7 -11
  48. data/lib/docusign_esign/models/draw.rb +11 -1
  49. data/lib/docusign_esign/models/email.rb +11 -1
  50. data/lib/docusign_esign/models/email_address.rb +11 -1
  51. data/lib/docusign_esign/models/envelope.rb +11 -1
  52. data/lib/docusign_esign/models/envelope_definition.rb +20 -1
  53. data/lib/docusign_esign/models/envelope_document.rb +11 -1
  54. data/lib/docusign_esign/models/envelope_form_data.rb +10 -1
  55. data/lib/docusign_esign/models/envelope_form_data_prefill_form_data.rb +186 -0
  56. data/lib/docusign_esign/models/envelope_id.rb +11 -1
  57. data/lib/docusign_esign/models/envelope_summary.rb +21 -1
  58. data/lib/docusign_esign/models/envelope_template.rb +11 -1
  59. data/lib/docusign_esign/models/external_claim.rb +7 -11
  60. data/lib/docusign_esign/models/external_file.rb +21 -1
  61. data/lib/docusign_esign/models/first_name.rb +11 -1
  62. data/lib/docusign_esign/models/form_data_item.rb +11 -1
  63. data/lib/docusign_esign/models/formula_tab.rb +11 -1
  64. data/lib/docusign_esign/models/full_name.rb +11 -1
  65. data/lib/docusign_esign/models/group_brands.rb +207 -0
  66. data/lib/docusign_esign/models/initial_here.rb +11 -1
  67. data/lib/docusign_esign/models/last_name.rb +11 -1
  68. data/lib/docusign_esign/models/linked_external_primary_account.rb +234 -0
  69. data/lib/docusign_esign/models/list.rb +11 -1
  70. data/lib/docusign_esign/models/locale_policy_tab.rb +11 -1
  71. data/lib/docusign_esign/models/notarize.rb +11 -1
  72. data/lib/docusign_esign/models/notary_recipient.rb +11 -1
  73. data/lib/docusign_esign/models/notary_seal.rb +11 -1
  74. data/lib/docusign_esign/models/note.rb +11 -1
  75. data/lib/docusign_esign/models/number.rb +11 -1
  76. data/lib/docusign_esign/models/payment_details.rb +10 -1
  77. data/lib/docusign_esign/models/payment_signer_values.rb +184 -0
  78. data/lib/docusign_esign/models/phone_number.rb +11 -1
  79. data/lib/docusign_esign/models/poly_line_overlay.rb +11 -1
  80. data/lib/docusign_esign/models/prefill_tabs.rb +222 -0
  81. data/lib/docusign_esign/models/report_in_product_csv_run_request.rb +24 -4
  82. data/lib/docusign_esign/models/report_in_product_get.rb +24 -4
  83. data/lib/docusign_esign/models/report_in_product_run_request.rb +24 -4
  84. data/lib/docusign_esign/models/report_in_product_run_response_row_fields.rb +101 -1
  85. data/lib/docusign_esign/models/revision.rb +7 -11
  86. data/lib/docusign_esign/models/seal.rb +8 -12
  87. data/lib/docusign_esign/models/sender.rb +7 -11
  88. data/lib/docusign_esign/models/sign_hash_document.rb +7 -11
  89. data/lib/docusign_esign/models/sign_hash_session_info_response.rb +7 -11
  90. data/lib/docusign_esign/models/sign_here.rb +11 -1
  91. data/lib/docusign_esign/models/sign_session_info_request.rb +7 -11
  92. data/lib/docusign_esign/models/signature_data_info.rb +7 -11
  93. data/lib/docusign_esign/models/signature_properties.rb +7 -11
  94. data/lib/docusign_esign/models/signer_attachment.rb +11 -1
  95. data/lib/docusign_esign/models/smart_section.rb +11 -1
  96. data/lib/docusign_esign/models/ssn.rb +11 -1
  97. data/lib/docusign_esign/models/tab_account_settings.rb +20 -1
  98. data/lib/docusign_esign/models/tab_group.rb +11 -1
  99. data/lib/docusign_esign/models/tab_metadata.rb +20 -1
  100. data/lib/docusign_esign/models/tabs.rb +23 -2
  101. data/lib/docusign_esign/models/template_role.rb +13 -1
  102. data/lib/docusign_esign/models/template_tabs.rb +22 -1
  103. data/lib/docusign_esign/models/text.rb +11 -1
  104. data/lib/docusign_esign/models/time_stamp_field.rb +7 -11
  105. data/lib/docusign_esign/models/title.rb +11 -1
  106. data/lib/docusign_esign/models/tsp_health_check_request.rb +7 -11
  107. data/lib/docusign_esign/models/tsp_health_check_status_description.rb +7 -11
  108. data/lib/docusign_esign/models/update_transaction_request.rb +7 -11
  109. data/lib/docusign_esign/models/update_transaction_response.rb +7 -11
  110. data/lib/docusign_esign/models/user.rb +7 -11
  111. data/lib/docusign_esign/models/user_info_response.rb +7 -11
  112. data/lib/docusign_esign/models/user_information.rb +11 -1
  113. data/lib/docusign_esign/models/user_settings_information.rb +20 -1
  114. data/lib/docusign_esign/models/view.rb +11 -1
  115. data/lib/docusign_esign/models/zip.rb +11 -1
  116. data/lib/docusign_esign/version.rb +1 -1
  117. data/tests/Gemfile.lock +13 -9
  118. data/tests/spec/unit_tests_using_jwt_spec.rb +58 -0
  119. metadata +19 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fa58c56f9c457a432847d350018872f0f08ffe2fd9ef121630d8a2179613dd5c
4
- data.tar.gz: ec1a7ba37addfd5f391018c467af786313ac170441aeebddfccbff793a707035
3
+ metadata.gz: 41c1b9f636e02c741ab6cae6f1b1a492525d05be19108b5e036636bc2c618030
4
+ data.tar.gz: 0ec4460f92370ed6d8a278bf0e67d25eb2bab12d6848c4bbe2f81046e2313ca4
5
5
  SHA512:
6
- metadata.gz: bbed559fbea75b3aa7730f9686bcc99851502ba29e4c394ef3ba1b59d978f6c0badb1fa7bb2e1f2f18edefba7067049bceb7500faea37a1816336df10c4114c6
7
- data.tar.gz: 4e7f164b4604e3eec6271a27cb2982252e0e35038bca45e7c741f91500c65a0c36ba7f4df0f0e1f0694f8e5e7335742b3860acb976b700167b91d13c07f64e72
6
+ metadata.gz: eb23a6d6a6803bb4269f2034ec2d2750dec422fa7d060d7768ae51f810761e51b7333aa8e96dc01423db46f1212d7f0e0a030bf6013af0d4fefc96f06a23bdff
7
+ data.tar.gz: 1f42f5440f895a356aa6210e57d259bb6c093f73055fa58d588eaa2bdfd57b5e7720b1abe046b3022b7ddc5bd2dee45d8b7699c9f399c89b6806162b20b7a4b1
data/CHANGELOG.md CHANGED
@@ -3,6 +3,27 @@ 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.10.0.rc1] - eSignature API v2.1-21.1.02.00 - 2021-05-20
7
+ ### Breaking
8
+ - Removed methods `get_account_settings_export`,`get_seal_providers` from Accounts.
9
+ - Removed methods `create_connect_secret`,`delete_connect_secret`,`generate_connect_secret`,`get_connect_secrets` from Connect.
10
+ - Removed methods `create_page_info`, `create_pdf_blob`, `delete_custom_fields_0`, `delete_custom_fields_v2`, `delete_document`, `delete_page_info`, `delete_recipient_denied_document_copy`, `delete_signer_attachment`, `get_account`, `get_appliance_info`, `get_custom_fields`, `get_document_pages`, `get_dynamic_system_settings`, `get_image`, `get_locale_policy`, `get_pdf`, `get_pdf_blob`, `get_signer_attachment`, `get_tabs_blob`, `update_document`, `update_document_0`, `update_page_info`, `update_pdf`, `update_pdf_blob`, `update_recipient_denied_document_copy` from Envelopes.
11
+ - Removed methods `complete_sign_hash`,`get_user_info`,`health_check`,`sign_hash_session_info`,`update_transaction` from TrustServiceProviders.
12
+ - Removed methods `get_user_list_export` from Users.
13
+ ### Added
14
+ - Added new methods `get_bulk_send_batch_envelopes` to BulkEnvelopes.
15
+ ### Changed
16
+ - Added support for version v2.1-21.1.02.00 of the DocuSign eSignature API.
17
+ - Updated the SDK release version.
18
+
19
+ ## [v3.9.0] - eSignature API v2.1-21.1.01.03 - 2021-04-25
20
+ ### Added
21
+ - Added new methods `delete_custom_fields_v2`, `delete_page_info_v2`, `get_appliance_envelope_info`, `get_template_info` to envelopes.
22
+ - Added new method `delete_connect_secret` to connect.
23
+ ### Changed
24
+ - Added support for version v2.1-21.1.01.03 of the DocuSign eSignature API.
25
+ - Updated the SDK release version.
26
+
6
27
  ## [v3.3.0] - eSignature API v2.1-20.1.02 - 2020-05-31
7
28
  ### Changed
8
29
  - Added support for version v2.1-20.1.02 of the DocuSign eSignature API.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- docusign_esign (3.6.0.rc1)
4
+ docusign_esign (3.10.0)
5
5
  json (~> 2.1, >= 2.1.0)
6
6
  jwt (~> 2.2, >= 2.2.1)
7
7
  typhoeus (~> 1.0, >= 1.0.1)
@@ -14,37 +14,37 @@ GEM
14
14
  public_suffix (>= 2.0.2, < 5.0)
15
15
  autotest (4.4.6)
16
16
  ZenTest (>= 4.4.1)
17
- autotest-fsevent (0.2.17)
17
+ autotest-fsevent (0.2.18)
18
18
  sys-uname
19
19
  autotest-growl (0.2.16)
20
20
  autotest-rails-pure (4.1.2)
21
- crack (0.4.3)
22
- safe_yaml (~> 1.0.0)
21
+ crack (0.4.5)
22
+ rexml
23
23
  diff-lcs (1.4.4)
24
- ethon (0.12.0)
25
- ffi (>= 1.3.0)
26
- ffi (1.13.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.3.1)
29
- jwt (2.2.1)
30
- public_suffix (4.0.5)
28
+ json (2.5.1)
29
+ jwt (2.2.3)
30
+ public_suffix (4.0.6)
31
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)
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.9.0)
41
- rspec-mocks (3.9.1)
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.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)
44
+ rspec-support (~> 3.10.0)
45
+ rspec-support (3.10.2)
46
+ sys-uname (1.2.2)
47
+ ffi (~> 1.1)
48
48
  typhoeus (1.4.0)
49
49
  ethon (>= 0.9.0)
50
50
  vcr (3.0.3)
data/README.md CHANGED
@@ -1,80 +1,51 @@
1
- # The Official DocuSign Ruby Client
1
+ # The Official DocuSign eSignature Ruby Client SDK
2
2
 
3
3
  [![RubyGems version][rubygems-image]][rubygems-url]
4
4
  [![RubyGems downloads][downloads-image]][downloads-url]
5
5
  [![Build status][travis-image]][travis-url]
6
6
 
7
7
  ## Requirements
8
-
9
- - Ruby 1.9+
10
- - Free [Developer Sandbox](https://go.docusign.com/sandbox/productshot/?elqCampaignId=16531)
8
+ * Ruby 1.9+
9
+ * Free [developer account](https://go.docusign.com/sandbox/productshot/?elqCampaignId=16531)
11
10
 
12
11
  ## Compatibility
13
-
14
- - Ruby 1.9+
15
-
16
- ## Note
17
-
18
- This open-source SDK is provided for cases where you would like to make additional changes that the SDK does not provide out-of-the-box. If you simply want to use the SDK with any of the examples shown in the [Developer Center](https://developers.docusign.com/esign-rest-api/code-examples), follow the installation instructions below.
12
+ * Ruby 1.9+
19
13
 
20
14
  ## Installation
15
+ This SDK is provided as open source, which enables you to customize its functionality to suit your particular use case. To do so, download or clone the repository. If the SDK’s given functionality meets your integration needs, or if you’re working through our [code examples](https://developers.docusign.com/docs/esign-rest-api/how-to/) from the [DocuSign Developer Center](https://developers.docusign.com/), you merely need to install it by following the instructions below.
21
16
 
22
- ### Install via your application's **Gemfile**:
23
-
24
- 1. In your application's **Gemfile**, add:
25
- **gem 'docusign_esign'**
17
+ ### Installation via your application's Gemfile:
18
+ 1. In your application's Gemfile, add:
19
+ `gem 'docusign_esign'`
26
20
  2. Open your preferred console.
27
- 3. In your project directory, execute the installer by typing:
28
- **bundle install**
29
-
30
- ### Manual install:
21
+ 3. In your project directory, execute the installer by typing: **bundle install**
31
22
 
23
+ ### Manual installation:
32
24
  1. Open your preferred console.
33
- 2. In the console, type:
34
- **gem install docusign_esign**
25
+ 2. In the console, type: **gem install docusign_esign**
35
26
 
36
27
  ### Dependencies
37
-
38
28
  This client has the following external dependencies:
29
+ * Jwt>=1.5.2
30
+ * Json>=2.1.0
31
+ * Typhoeus>=1.0.1
39
32
 
40
- - Jwt>=1.5.2
41
- - Json>=2.1.0
42
- - Typhoeus>=1.0.1
43
-
44
- ## Code Examples
45
-
46
- ### Launchers
33
+ ## Code examples
34
+ You can find on our GitHub a self-executing package of code examples for the eSignature C# SDK, called a [Launcher](https://github.com/docusign/code-examples-ruby/blob/master/README.md), that demonstrates common use cases. You can also download a version preconfigured for your DocuSign developer account from [Quickstart](https://developers.docusign.com/docs/esign-rest-api/quickstart/). These examples can use either the [Authorization Code Grant](https://developers.docusign.com/esign-rest-api/guides/authentication/oauth2-code-grant) or [JSON Web Token (JWT)](https://developers.docusign.com/esign-rest-api/guides/authentication/oauth2-jsonwebtoken) authentication workflows.
47
35
 
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&#39;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
-
50
- ### Proof-of-concept applications
51
-
52
- If your goal is to create a proof-of-concept application, DocuSign provides a set of [Quick Start](https://github.com/docusign/qs-ruby) examples. The Quick Start examples are meant to be used with DocuSign's [OAuth Token Generator](https://developers.docusign.com/oauth-token-generator), which will allow you to generate tokens for the Demo/Sandbox environment only. These tokens last for eight hours and will enable you to build your proof-of-concept application without the need to fully implement an OAuth solution.
53
-
54
- ## OAuth Implementations
55
-
56
- For details regarding which type of OAuth grant will work best for your DocuSign integration, see the [REST API Authentication Overview](https://developers.docusign.com/esign-rest-api/guides/authentication) guide located on the [DocuSign Developer Center](https://developers.docusign.com/esign-rest-api/guides/authentication).
36
+ ## OAuth implementations
37
+ For details regarding which type of OAuth grant will work best for your DocuSign integration, see [Choose OAuth Type](https://developers.docusign.com/platform/auth/choose/) in the [DocuSign Developer Center](https://developers.docusign.com/).
57
38
 
58
39
  For security purposes, DocuSign recommends using the [Authorization Code Grant](https://developers.docusign.com/esign-rest-api/guides/authentication/oauth2-code-grant) flow.
59
40
 
60
-
61
41
  ## Support
62
-
63
42
  Log issues against this client through GitHub. We also have an [active developer community on Stack Overflow](https://stackoverflow.com/questions/tagged/docusignapi).
64
43
 
65
44
  ## License
45
+ The DocuSign eSignature Ruby Client SDK is licensed under the [MIT License](https://github.com/docusign/docusign-ruby-client/blob/master/LICENSE).
66
46
 
67
- The DocuSign Ruby Client is licensed under the [MIT License](https://github.com/docusign/docusign-ruby-client/blob/master/LICENSE).
68
-
69
- [rubygems-image]: https://img.shields.io/gem/v/docusign_esign.svg?style=flat
70
- [rubygems-url]: https://rubygems.org/gems/docusign_esign
71
- [downloads-image]: https://img.shields.io/gem/dt/docusign_esign.svg?style=flat
72
- [downloads-url]: https://rubygems.org/gems/docusign_esign
73
- [travis-image]: https://img.shields.io/travis/docusign/docusign-ruby-client.svg?style=flat
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)
47
+ ### Additional resources
48
+ * [DocuSign Developer Center](https://developers.docusign.com/)
49
+ * [DocuSign API on Twitter](https://twitter.com/docusignapi)
50
+ * [DocuSign For Developers on LinkedIn](https://www.linkedin.com/showcase/docusign-for-developers/)
51
+ * [DocuSign For Developers on YouTube](https://www.youtube.com/channel/UCJSJ2kMs_qeQotmw4-lX2NQ)
Binary file
Binary file
Binary file
@@ -99,7 +99,6 @@ require 'docusign_esign/models/brands_request'
99
99
  require 'docusign_esign/models/brands_response'
100
100
  require 'docusign_esign/models/bulk_envelope'
101
101
  require 'docusign_esign/models/bulk_envelope_status'
102
- require 'docusign_esign/models/bulk_envelopes_response'
103
102
  require 'docusign_esign/models/bulk_recipient'
104
103
  require 'docusign_esign/models/bulk_recipient_signature_provider'
105
104
  require 'docusign_esign/models/bulk_recipient_tab_label'
@@ -107,6 +106,7 @@ require 'docusign_esign/models/bulk_recipients_request'
107
106
  require 'docusign_esign/models/bulk_recipients_response'
108
107
  require 'docusign_esign/models/bulk_recipients_summary_response'
109
108
  require 'docusign_esign/models/bulk_recipients_update_response'
109
+ require 'docusign_esign/models/bulk_send_batch_request'
110
110
  require 'docusign_esign/models/bulk_send_batch_status'
111
111
  require 'docusign_esign/models/bulk_send_batch_summaries'
112
112
  require 'docusign_esign/models/bulk_send_batch_summary'
@@ -168,6 +168,7 @@ require 'docusign_esign/models/correct_view_request'
168
168
  require 'docusign_esign/models/country'
169
169
  require 'docusign_esign/models/credit_card_information'
170
170
  require 'docusign_esign/models/credit_card_types'
171
+ require 'docusign_esign/models/currency'
171
172
  require 'docusign_esign/models/currency_feature_set_price'
172
173
  require 'docusign_esign/models/currency_plan_price'
173
174
  require 'docusign_esign/models/custom_field'
@@ -180,6 +181,7 @@ require 'docusign_esign/models/date_stamp_properties'
180
181
  require 'docusign_esign/models/decline'
181
182
  require 'docusign_esign/models/diagnostics_settings_information'
182
183
  require 'docusign_esign/models/direct_debit_processor_information'
184
+ require 'docusign_esign/models/display_appliance_info'
183
185
  require 'docusign_esign/models/dob_information_input'
184
186
  require 'docusign_esign/models/document'
185
187
  require 'docusign_esign/models/document_fields_information'
@@ -214,6 +216,7 @@ require 'docusign_esign/models/envelope_document'
214
216
  require 'docusign_esign/models/envelope_documents_result'
215
217
  require 'docusign_esign/models/envelope_event'
216
218
  require 'docusign_esign/models/envelope_form_data'
219
+ require 'docusign_esign/models/envelope_form_data_prefill_form_data'
217
220
  require 'docusign_esign/models/envelope_id'
218
221
  require 'docusign_esign/models/envelope_ids_request'
219
222
  require 'docusign_esign/models/envelope_metadata'
@@ -257,6 +260,7 @@ require 'docusign_esign/models/formula_tab'
257
260
  require 'docusign_esign/models/full_name'
258
261
  require 'docusign_esign/models/graphics_context'
259
262
  require 'docusign_esign/models/group'
263
+ require 'docusign_esign/models/group_brands'
260
264
  require 'docusign_esign/models/group_information'
261
265
  require 'docusign_esign/models/id_check_configuration'
262
266
  require 'docusign_esign/models/id_check_information_input'
@@ -268,6 +272,7 @@ require 'docusign_esign/models/integrated_user_info_list'
268
272
  require 'docusign_esign/models/intermediary'
269
273
  require 'docusign_esign/models/jurisdiction'
270
274
  require 'docusign_esign/models/last_name'
275
+ require 'docusign_esign/models/linked_external_primary_account'
271
276
  require 'docusign_esign/models/list'
272
277
  require 'docusign_esign/models/list_custom_field'
273
278
  require 'docusign_esign/models/list_item'
@@ -321,6 +326,7 @@ require 'docusign_esign/models/payment_gateway_accounts_info'
321
326
  require 'docusign_esign/models/payment_line_item'
322
327
  require 'docusign_esign/models/payment_method_with_options'
323
328
  require 'docusign_esign/models/payment_processor_information'
329
+ require 'docusign_esign/models/payment_signer_values'
324
330
  require 'docusign_esign/models/permission_profile'
325
331
  require 'docusign_esign/models/permission_profile_information'
326
332
  require 'docusign_esign/models/phone_number'
@@ -335,6 +341,7 @@ require 'docusign_esign/models/power_form_senders_response'
335
341
  require 'docusign_esign/models/power_forms_form_data_response'
336
342
  require 'docusign_esign/models/power_forms_request'
337
343
  require 'docusign_esign/models/power_forms_response'
344
+ require 'docusign_esign/models/prefill_tabs'
338
345
  require 'docusign_esign/models/proof_service_resource_token'
339
346
  require 'docusign_esign/models/proof_service_view_link'
340
347
  require 'docusign_esign/models/property_metadata'
@@ -510,4 +517,4 @@ module DocuSign_eSign
510
517
  end
511
518
  end
512
519
  end
513
- end
520
+ end
@@ -385,7 +385,7 @@ module DocuSign_eSign
385
385
 
386
386
  # Creates one or more brand profile files for the account.
387
387
  # Creates one or more brand profile files for the account. The Account Branding feature (accountSettings properties `canSelfBrandSend` and `canSelfBrandSig`) must be set to **true** for the account to use this call. An error is returned if `brandId` property for a brand profile is already set for the account. To upload a new version of an existing brand profile, you must delete the profile and then upload the newer version. When brand profile files are being uploaded, they must be combined into one zip file and the `Content-Type` must be `application/zip`.
388
- # @param account_id The external account number (int) or account ID Guid.
388
+ # @param account_id The external account number (int) or account ID GUID.
389
389
  # @param brand (optional parameter)
390
390
  # @return [BrandsResponse]
391
391
  def create_brand(account_id, brand)
@@ -395,7 +395,7 @@ module DocuSign_eSign
395
395
 
396
396
  # Creates one or more brand profile files for the account.
397
397
  # Creates one or more brand profile files for the account. The Account Branding feature (accountSettings properties &#x60;canSelfBrandSend&#x60; and &#x60;canSelfBrandSig&#x60;) must be set to **true** for the account to use this call. An error is returned if &#x60;brandId&#x60; property for a brand profile is already set for the account. To upload a new version of an existing brand profile, you must delete the profile and then upload the newer version. When brand profile files are being uploaded, they must be combined into one zip file and the &#x60;Content-Type&#x60; must be &#x60;application/zip&#x60;.
398
- # @param account_id The external account number (int) or account ID Guid.
398
+ # @param account_id The external account number (int) or account ID GUID.
399
399
  # @param brand (optional parameter)
400
400
  # @return [Array<(BrandsResponse, Fixnum, Hash)>] BrandsResponse data, response status code and response headers
401
401
  def create_brand_with_http_info(account_id, brand)
@@ -3423,9 +3423,9 @@ module DocuSign_eSign
3423
3423
 
3424
3424
  # Uploads a branding resource file.
3425
3425
  #
3426
- # @param account_id The external account number (int) or account ID Guid.
3427
- # @param brand_id The unique identifier of a brand.
3428
- # @param resource_content_type
3426
+ # @param account_id The external account number (int) or account ID GUID.
3427
+ # @param brand_id The id of the brand.
3428
+ # @param resource_content_type The type of brand resource file that you are updating. Valid values are: - `sending` - `signing` - `email` - `signing_captive`
3429
3429
  # @return [BrandResources]
3430
3430
  def update_brand_resources_by_content_type(account_id, brand_id, resource_content_type)
3431
3431
  data, _status_code, _headers = update_brand_resources_by_content_type_with_http_info(account_id, brand_id, resource_content_type)
@@ -3434,9 +3434,9 @@ module DocuSign_eSign
3434
3434
 
3435
3435
  # Uploads a branding resource file.
3436
3436
  #
3437
- # @param account_id The external account number (int) or account ID Guid.
3438
- # @param brand_id The unique identifier of a brand.
3439
- # @param resource_content_type
3437
+ # @param account_id The external account number (int) or account ID GUID.
3438
+ # @param brand_id The id of the brand.
3439
+ # @param resource_content_type The type of brand resource file that you are updating. Valid values are: - `sending` - `signing` - `email` - `signing_captive`
3440
3440
  # @return [Array<(BrandResources, Fixnum, Hash)>] BrandResources data, response status code and response headers
3441
3441
  def update_brand_resources_by_content_type_with_http_info(account_id, brand_id, resource_content_type)
3442
3442
  if @api_client.config.debugging
@@ -3448,6 +3448,8 @@ module DocuSign_eSign
3448
3448
  fail ArgumentError, "Missing the required parameter 'brand_id' when calling AccountsApi.update_brand_resources_by_content_type" if brand_id.nil?
3449
3449
  # verify the required parameter 'resource_content_type' is set
3450
3450
  fail ArgumentError, "Missing the required parameter 'resource_content_type' when calling AccountsApi.update_brand_resources_by_content_type" if resource_content_type.nil?
3451
+ # verify the required parameter 'file_xml' is set
3452
+ fail ArgumentError, "Missing the required parameter 'file_xml' when calling AccountsApi.update_brand_resources_by_content_type" if file_xml.nil?
3451
3453
  # resource path
3452
3454
  local_var_path = "/v2.1/accounts/{accountId}/brands/{brandId}/resources/{resourceContentType}".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'brandId' + '}', brand_id.to_s).sub('{' + 'resourceContentType' + '}', resource_content_type.to_s)
3453
3455
 
@@ -3458,9 +3460,12 @@ module DocuSign_eSign
3458
3460
  header_params = {}
3459
3461
  # HTTP header 'Accept' (if needed)
3460
3462
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
3463
+ # HTTP header 'Content-Type'
3464
+ header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
3461
3465
 
3462
3466
  # form parameters
3463
3467
  form_params = {}
3468
+ form_params["file.xml"] = file_xml
3464
3469
 
3465
3470
  # http body (model)
3466
3471
  post_body = nil
@@ -13,27 +13,21 @@ require "uri"
13
13
 
14
14
  module DocuSign_eSign
15
15
 
16
- class GetOptions
17
- # Specifies the number of entries to return.
16
+ class GetBulkSendBatchEnvelopesOptions
17
+ #
18
18
  attr_accessor :count
19
19
 
20
- # Specifies which entries are included in the response. Multiple entries can be included by using commas in the query string (example: ?include=\"failed,queued\") Valid values are: * all - Returns all entries. If present, overrides all other query settings. This is the default if no query string is provided. * failed - This only returns entries with a failed status. * queued - This only returns entries with a queued status. * sent - This only returns entries with a sent status.
20
+ #
21
21
  attr_accessor :include
22
22
 
23
- # Specifies the location in the list of envelopes from which to start.
24
- attr_accessor :start_position
25
-
26
- def self.default
27
- @@default ||= GetOptions.new
28
- end
29
- end
23
+ #
24
+ attr_accessor :order
30
25
 
31
- class GetBulkSendBatchesOptions
32
26
  #
33
- attr_accessor :batch_ids
27
+ attr_accessor :order_by
34
28
 
35
29
  #
36
- attr_accessor :count
30
+ attr_accessor :search_text
37
31
 
38
32
  #
39
33
  attr_accessor :start_position
@@ -41,32 +35,32 @@ module DocuSign_eSign
41
35
  #
42
36
  attr_accessor :status
43
37
 
38
+ #
39
+ attr_accessor :user_id
40
+
44
41
  def self.default
45
- @@default ||= GetBulkSendBatchesOptions.new
42
+ @@default ||= GetBulkSendBatchEnvelopesOptions.new
46
43
  end
47
44
  end
48
45
 
49
- class GetRecipientsOptions
46
+ class GetBulkSendBatchesOptions
50
47
  #
51
- attr_accessor :include_tabs
48
+ attr_accessor :batch_ids
52
49
 
53
50
  #
54
- attr_accessor :start_position
55
-
56
- def self.default
57
- @@default ||= GetRecipientsOptions.new
58
- end
59
- end
60
-
61
- class ListOptions
62
- # The number of results to return. This can be 1 to 20.
63
51
  attr_accessor :count
64
52
 
65
- # The position of the bulk envelope items in the response. This is used for repeated calls, when the number of bulk envelopes returned is too large for one return. The default value is 0.
53
+ #
54
+ attr_accessor :search_text
55
+
56
+ #
66
57
  attr_accessor :start_position
67
58
 
59
+ #
60
+ attr_accessor :status
61
+
68
62
  def self.default
69
- @@default ||= ListOptions.new
63
+ @@default ||= GetBulkSendBatchesOptions.new
70
64
  end
71
65
  end
72
66
 
@@ -292,96 +286,44 @@ module DocuSign_eSign
292
286
  return data, status_code, headers
293
287
  end
294
288
 
295
- # Deletes the bulk recipient file from an envelope.
296
- # Deletes the bulk recipient file from an envelope. This cannot be used if the envelope has been sent. After using this, the `bulkRecipientsUri` property is not returned in subsequent GET calls for the envelope, but the recipient will remain as a bulk recipient.
297
- # @param account_id The external account number (int) or account ID Guid.
298
- # @param envelope_id The envelopeId Guid of the envelope being accessed.
299
- # @param recipient_id The ID of the recipient being accessed.
300
- # @return [BulkRecipientsUpdateResponse]
301
- def delete_recipients(account_id, envelope_id, recipient_id)
302
- data, _status_code, _headers = delete_recipients_with_http_info(account_id, envelope_id, recipient_id)
303
- return data
304
- end
305
-
306
- # Deletes the bulk recipient file from an envelope.
307
- # Deletes the bulk recipient file from an envelope. This cannot be used if the envelope has been sent. After using this, the &#x60;bulkRecipientsUri&#x60; property is not returned in subsequent GET calls for the envelope, but the recipient will remain as a bulk recipient.
308
- # @param account_id The external account number (int) or account ID Guid.
309
- # @param envelope_id The envelopeId Guid of the envelope being accessed.
310
- # @param recipient_id The ID of the recipient being accessed.
311
- # @return [Array<(BulkRecipientsUpdateResponse, Fixnum, Hash)>] BulkRecipientsUpdateResponse data, response status code and response headers
312
- def delete_recipients_with_http_info(account_id, envelope_id, recipient_id)
313
- if @api_client.config.debugging
314
- @api_client.config.logger.debug "Calling API: BulkEnvelopesApi.delete_recipients ..."
315
- end
316
- # verify the required parameter 'account_id' is set
317
- fail ArgumentError, "Missing the required parameter 'account_id' when calling BulkEnvelopesApi.delete_recipients" if account_id.nil?
318
- # verify the required parameter 'envelope_id' is set
319
- fail ArgumentError, "Missing the required parameter 'envelope_id' when calling BulkEnvelopesApi.delete_recipients" if envelope_id.nil?
320
- # verify the required parameter 'recipient_id' is set
321
- fail ArgumentError, "Missing the required parameter 'recipient_id' when calling BulkEnvelopesApi.delete_recipients" if recipient_id.nil?
322
- # resource path
323
- local_var_path = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/bulk_recipients".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'envelopeId' + '}', envelope_id.to_s).sub('{' + 'recipientId' + '}', recipient_id.to_s)
324
-
325
- # query parameters
326
- query_params = {}
327
-
328
- # header parameters
329
- header_params = {}
330
- # HTTP header 'Accept' (if needed)
331
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
332
-
333
- # form parameters
334
- form_params = {}
335
-
336
- # http body (model)
337
- post_body = nil
338
- auth_names = []
339
- data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
340
- :header_params => header_params,
341
- :query_params => query_params,
342
- :form_params => form_params,
343
- :body => post_body,
344
- :auth_names => auth_names,
345
- :return_type => 'BulkRecipientsUpdateResponse')
346
- if @api_client.config.debugging
347
- @api_client.config.logger.debug "API called: BulkEnvelopesApi#delete_recipients\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
348
- end
349
- return data, status_code, headers
350
- end
351
-
352
- # Gets the status of a specified bulk send operation.
353
- # Retrieves the status information of a single bulk recipient batch. A bulk recipient batch is the set of envelopes sent from a single bulk recipient file.
289
+ # Gets envelopes from a specific bulk send batch
290
+ #
354
291
  # @param account_id The external account number (int) or account ID Guid.
355
- # @param batch_id
356
- # @param DocuSign_eSign::GetOptions Options for modifying the behavior of the function.
357
- # @return [BulkEnvelopeStatus]
358
- def get(account_id, batch_id, options = DocuSign_eSign::GetOptions.default)
359
- data, _status_code, _headers = get_with_http_info(account_id, batch_id, options)
292
+ # @param bulk_send_batch_id
293
+ # @param DocuSign_eSign::GetBulkSendBatchEnvelopesOptions Options for modifying the behavior of the function.
294
+ # @return [EnvelopesInformation]
295
+ def get_bulk_send_batch_envelopes(account_id, bulk_send_batch_id, options = DocuSign_eSign::GetBulkSendBatchEnvelopesOptions.default)
296
+ data, _status_code, _headers = get_bulk_send_batch_envelopes_with_http_info(account_id, bulk_send_batch_id, options)
360
297
  return data
361
298
  end
362
299
 
363
- # Gets the status of a specified bulk send operation.
364
- # Retrieves the status information of a single bulk recipient batch. A bulk recipient batch is the set of envelopes sent from a single bulk recipient file.
300
+ # Gets envelopes from a specific bulk send batch
301
+ #
365
302
  # @param account_id The external account number (int) or account ID Guid.
366
- # @param batch_id
367
- # @param DocuSign_eSign::GetOptions Options for modifying the behavior of the function.
368
- # @return [Array<(BulkEnvelopeStatus, Fixnum, Hash)>] BulkEnvelopeStatus data, response status code and response headers
369
- def get_with_http_info(account_id, batch_id, options = DocuSign_eSign::GetOptions.default)
303
+ # @param bulk_send_batch_id
304
+ # @param DocuSign_eSign::GetBulkSendBatchEnvelopesOptions Options for modifying the behavior of the function.
305
+ # @return [Array<(EnvelopesInformation, Fixnum, Hash)>] EnvelopesInformation data, response status code and response headers
306
+ def get_bulk_send_batch_envelopes_with_http_info(account_id, bulk_send_batch_id, options = DocuSign_eSign::GetBulkSendBatchEnvelopesOptions.default)
370
307
  if @api_client.config.debugging
371
- @api_client.config.logger.debug "Calling API: BulkEnvelopesApi.get ..."
308
+ @api_client.config.logger.debug "Calling API: BulkEnvelopesApi.get_bulk_send_batch_envelopes ..."
372
309
  end
373
310
  # verify the required parameter 'account_id' is set
374
- fail ArgumentError, "Missing the required parameter 'account_id' when calling BulkEnvelopesApi.get" if account_id.nil?
375
- # verify the required parameter 'batch_id' is set
376
- fail ArgumentError, "Missing the required parameter 'batch_id' when calling BulkEnvelopesApi.get" if batch_id.nil?
311
+ fail ArgumentError, "Missing the required parameter 'account_id' when calling BulkEnvelopesApi.get_bulk_send_batch_envelopes" if account_id.nil?
312
+ # verify the required parameter 'bulk_send_batch_id' is set
313
+ fail ArgumentError, "Missing the required parameter 'bulk_send_batch_id' when calling BulkEnvelopesApi.get_bulk_send_batch_envelopes" if bulk_send_batch_id.nil?
377
314
  # resource path
378
- local_var_path = "/v2.1/accounts/{accountId}/bulk_envelopes/{batchId}".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'batchId' + '}', batch_id.to_s)
315
+ local_var_path = "/v2.1/accounts/{accountId}/bulk_send_batch/{bulkSendBatchId}/envelopes".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'bulkSendBatchId' + '}', bulk_send_batch_id.to_s)
379
316
 
380
317
  # query parameters
381
318
  query_params = {}
382
319
  query_params[:'count'] = options.count if !options.count.nil?
383
320
  query_params[:'include'] = options.include if !options.include.nil?
321
+ query_params[:'order'] = options.order if !options.order.nil?
322
+ query_params[:'order_by'] = options.order_by if !options.order_by.nil?
323
+ query_params[:'search_text'] = options.search_text if !options.search_text.nil?
384
324
  query_params[:'start_position'] = options.start_position if !options.start_position.nil?
325
+ query_params[:'status'] = options.status if !options.status.nil?
326
+ query_params[:'user_id'] = options.user_id if !options.user_id.nil?
385
327
 
386
328
  # header parameters
387
329
  header_params = {}
@@ -400,9 +342,9 @@ module DocuSign_eSign
400
342
  :form_params => form_params,
401
343
  :body => post_body,
402
344
  :auth_names => auth_names,
403
- :return_type => 'BulkEnvelopeStatus')
345
+ :return_type => 'EnvelopesInformation')
404
346
  if @api_client.config.debugging
405
- @api_client.config.logger.debug "API called: BulkEnvelopesApi#get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
347
+ @api_client.config.logger.debug "API called: BulkEnvelopesApi#get_bulk_send_batch_envelopes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
406
348
  end
407
349
  return data, status_code, headers
408
350
  end
@@ -488,6 +430,7 @@ module DocuSign_eSign
488
430
  query_params = {}
489
431
  query_params[:'batch_ids'] = options.batch_ids if !options.batch_ids.nil?
490
432
  query_params[:'count'] = options.count if !options.count.nil?
433
+ query_params[:'search_text'] = options.search_text if !options.search_text.nil?
491
434
  query_params[:'start_position'] = options.start_position if !options.start_position.nil?
492
435
  query_params[:'status'] = options.status if !options.status.nil?
493
436
 
@@ -617,95 +560,36 @@ module DocuSign_eSign
617
560
  return data, status_code, headers
618
561
  end
619
562
 
620
- # Gets the bulk recipient file from an envelope.
621
- # Retrieves the bulk recipient file information from an envelope that has a bulk recipient.
622
- # @param account_id The external account number (int) or account ID Guid.
623
- # @param envelope_id The envelopeId Guid of the envelope being accessed.
624
- # @param recipient_id The ID of the recipient being accessed.
625
- # @param DocuSign_eSign::GetRecipientsOptions Options for modifying the behavior of the function.
626
- # @return [BulkRecipientsResponse]
627
- def get_recipients(account_id, envelope_id, recipient_id, options = DocuSign_eSign::GetRecipientsOptions.default)
628
- data, _status_code, _headers = get_recipients_with_http_info(account_id, envelope_id, recipient_id, options)
629
- return data
630
- end
631
-
632
- # Gets the bulk recipient file from an envelope.
633
- # Retrieves the bulk recipient file information from an envelope that has a bulk recipient.
634
- # @param account_id The external account number (int) or account ID Guid.
635
- # @param envelope_id The envelopeId Guid of the envelope being accessed.
636
- # @param recipient_id The ID of the recipient being accessed.
637
- # @param DocuSign_eSign::GetRecipientsOptions Options for modifying the behavior of the function.
638
- # @return [Array<(BulkRecipientsResponse, Fixnum, Hash)>] BulkRecipientsResponse data, response status code and response headers
639
- def get_recipients_with_http_info(account_id, envelope_id, recipient_id, options = DocuSign_eSign::GetRecipientsOptions.default)
640
- if @api_client.config.debugging
641
- @api_client.config.logger.debug "Calling API: BulkEnvelopesApi.get_recipients ..."
642
- end
643
- # verify the required parameter 'account_id' is set
644
- fail ArgumentError, "Missing the required parameter 'account_id' when calling BulkEnvelopesApi.get_recipients" if account_id.nil?
645
- # verify the required parameter 'envelope_id' is set
646
- fail ArgumentError, "Missing the required parameter 'envelope_id' when calling BulkEnvelopesApi.get_recipients" if envelope_id.nil?
647
- # verify the required parameter 'recipient_id' is set
648
- fail ArgumentError, "Missing the required parameter 'recipient_id' when calling BulkEnvelopesApi.get_recipients" if recipient_id.nil?
649
- # resource path
650
- local_var_path = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/bulk_recipients".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'envelopeId' + '}', envelope_id.to_s).sub('{' + 'recipientId' + '}', recipient_id.to_s)
651
-
652
- # query parameters
653
- query_params = {}
654
- query_params[:'include_tabs'] = options.include_tabs if !options.include_tabs.nil?
655
- query_params[:'start_position'] = options.start_position if !options.start_position.nil?
656
-
657
- # header parameters
658
- header_params = {}
659
- # HTTP header 'Accept' (if needed)
660
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
661
-
662
- # form parameters
663
- form_params = {}
664
-
665
- # http body (model)
666
- post_body = nil
667
- auth_names = []
668
- data, status_code, headers = @api_client.call_api(:GET, local_var_path,
669
- :header_params => header_params,
670
- :query_params => query_params,
671
- :form_params => form_params,
672
- :body => post_body,
673
- :auth_names => auth_names,
674
- :return_type => 'BulkRecipientsResponse')
675
- if @api_client.config.debugging
676
- @api_client.config.logger.debug "API called: BulkEnvelopesApi#get_recipients\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
677
- end
678
- return data, status_code, headers
679
- end
680
-
681
- # Gets status information about bulk recipient batches.
682
- # Retrieves status information about all the bulk recipient batches. A bulk recipient batch is the set of envelopes sent from a single bulk recipient file. The response includes general information about each bulk recipient batch. The response returns information about the envelopes sent with bulk recipient batches, including the `batchId` property, which can be used to retrieve a more detailed status of individual bulk recipient batches.
563
+ # Put/Update a specific bulk send batch status
564
+ #
683
565
  # @param account_id The external account number (int) or account ID Guid.
684
- # @param DocuSign_eSign::ListOptions Options for modifying the behavior of the function.
685
- # @return [BulkEnvelopesResponse]
686
- def list(account_id, options = DocuSign_eSign::ListOptions.default)
687
- data, _status_code, _headers = list_with_http_info(account_id, options)
566
+ # @param bulk_send_batch_id
567
+ # @param bulk_send_batch_request (optional parameter)
568
+ # @return [BulkSendBatchStatus]
569
+ def update_bulk_send_batch_status(account_id, bulk_send_batch_id, bulk_send_batch_request)
570
+ data, _status_code, _headers = update_bulk_send_batch_status_with_http_info(account_id, bulk_send_batch_id, bulk_send_batch_request)
688
571
  return data
689
572
  end
690
573
 
691
- # Gets status information about bulk recipient batches.
692
- # Retrieves status information about all the bulk recipient batches. A bulk recipient batch is the set of envelopes sent from a single bulk recipient file. The response includes general information about each bulk recipient batch. The response returns information about the envelopes sent with bulk recipient batches, including the &#x60;batchId&#x60; property, which can be used to retrieve a more detailed status of individual bulk recipient batches.
574
+ # Put/Update a specific bulk send batch status
575
+ #
693
576
  # @param account_id The external account number (int) or account ID Guid.
694
- # @param DocuSign_eSign::ListOptions Options for modifying the behavior of the function.
695
- # @return [Array<(BulkEnvelopesResponse, Fixnum, Hash)>] BulkEnvelopesResponse data, response status code and response headers
696
- def list_with_http_info(account_id, options = DocuSign_eSign::ListOptions.default)
577
+ # @param bulk_send_batch_id
578
+ # @param bulk_send_batch_request (optional parameter)
579
+ # @return [Array<(BulkSendBatchStatus, Fixnum, Hash)>] BulkSendBatchStatus data, response status code and response headers
580
+ def update_bulk_send_batch_status_with_http_info(account_id, bulk_send_batch_id, bulk_send_batch_request)
697
581
  if @api_client.config.debugging
698
- @api_client.config.logger.debug "Calling API: BulkEnvelopesApi.list ..."
582
+ @api_client.config.logger.debug "Calling API: BulkEnvelopesApi.update_bulk_send_batch_status ..."
699
583
  end
700
584
  # verify the required parameter 'account_id' is set
701
- fail ArgumentError, "Missing the required parameter 'account_id' when calling BulkEnvelopesApi.list" if account_id.nil?
585
+ fail ArgumentError, "Missing the required parameter 'account_id' when calling BulkEnvelopesApi.update_bulk_send_batch_status" if account_id.nil?
586
+ # verify the required parameter 'bulk_send_batch_id' is set
587
+ fail ArgumentError, "Missing the required parameter 'bulk_send_batch_id' when calling BulkEnvelopesApi.update_bulk_send_batch_status" if bulk_send_batch_id.nil?
702
588
  # resource path
703
- local_var_path = "/v2.1/accounts/{accountId}/bulk_envelopes".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s)
589
+ local_var_path = "/v2.1/accounts/{accountId}/bulk_send_batch/{bulkSendBatchId}".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'bulkSendBatchId' + '}', bulk_send_batch_id.to_s)
704
590
 
705
591
  # query parameters
706
592
  query_params = {}
707
- query_params[:'count'] = options.count if !options.count.nil?
708
- query_params[:'start_position'] = options.start_position if !options.start_position.nil?
709
593
 
710
594
  # header parameters
711
595
  header_params = {}
@@ -716,17 +600,17 @@ module DocuSign_eSign
716
600
  form_params = {}
717
601
 
718
602
  # http body (model)
719
- post_body = nil
603
+ post_body = @api_client.object_to_http_body(bulk_send_batch_request)
720
604
  auth_names = []
721
- data, status_code, headers = @api_client.call_api(:GET, local_var_path,
605
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
722
606
  :header_params => header_params,
723
607
  :query_params => query_params,
724
608
  :form_params => form_params,
725
609
  :body => post_body,
726
610
  :auth_names => auth_names,
727
- :return_type => 'BulkEnvelopesResponse')
611
+ :return_type => 'BulkSendBatchStatus')
728
612
  if @api_client.config.debugging
729
- @api_client.config.logger.debug "API called: BulkEnvelopesApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
613
+ @api_client.config.logger.debug "API called: BulkEnvelopesApi#update_bulk_send_batch_status\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
730
614
  end
731
615
  return data, status_code, headers
732
616
  end
@@ -785,68 +669,5 @@ module DocuSign_eSign
785
669
  end
786
670
  return data, status_code, headers
787
671
  end
788
-
789
- # Adds or replaces envelope bulk recipients.
790
- # Updates the bulk recipients in a draft envelope using a file upload. The Content-Type supported for uploading a bulk recipient file is CSV (text/csv). The REST API does not support modifying individual rows or values in the bulk recipients file. It only allows the entire file to be added or replaced with a new file.
791
- # @param account_id The external account number (int) or account ID GUID.
792
- # @param envelope_id The envelope's GUID. Example: `93be49ab-xxxx-xxxx-xxxx-f752070d71ec`
793
- # @param recipient_id A local reference that senders use to map recipients to other objects, such as specific document tabs. Within an envelope, each `recipientId` must be unique, but there is no uniqueness requirement across envelopes. For example, many envelopes assign the first recipient a `recipientId` of `1`.
794
- # @param bulk_recipients_request
795
- # @return [BulkRecipientsSummaryResponse]
796
- def update_recipients(account_id, envelope_id, recipient_id, bulk_recipients_request)
797
- data, _status_code, _headers = update_recipients_with_http_info(account_id, envelope_id, recipient_id, bulk_recipients_request)
798
- return data
799
- end
800
-
801
- # Adds or replaces envelope bulk recipients.
802
- # Updates the bulk recipients in a draft envelope using a file upload. The Content-Type supported for uploading a bulk recipient file is CSV (text/csv). The REST API does not support modifying individual rows or values in the bulk recipients file. It only allows the entire file to be added or replaced with a new file.
803
- # @param account_id The external account number (int) or account ID GUID.
804
- # @param envelope_id The envelope's GUID. Example: `93be49ab-xxxx-xxxx-xxxx-f752070d71ec`
805
- # @param recipient_id A local reference that senders use to map recipients to other objects, such as specific document tabs. Within an envelope, each `recipientId` must be unique, but there is no uniqueness requirement across envelopes. For example, many envelopes assign the first recipient a `recipientId` of `1`.
806
- # @param bulk_recipients_request
807
- # @return [Array<(BulkRecipientsSummaryResponse, Fixnum, Hash)>] BulkRecipientsSummaryResponse data, response status code and response headers
808
- def update_recipients_with_http_info(account_id, envelope_id, recipient_id, bulk_recipients_request)
809
- if @api_client.config.debugging
810
- @api_client.config.logger.debug "Calling API: BulkEnvelopesApi.update_recipients ..."
811
- end
812
- # verify the required parameter 'account_id' is set
813
- fail ArgumentError, "Missing the required parameter 'account_id' when calling BulkEnvelopesApi.update_recipients" if account_id.nil?
814
- # verify the required parameter 'envelope_id' is set
815
- fail ArgumentError, "Missing the required parameter 'envelope_id' when calling BulkEnvelopesApi.update_recipients" if envelope_id.nil?
816
- # verify the required parameter 'recipient_id' is set
817
- fail ArgumentError, "Missing the required parameter 'recipient_id' when calling BulkEnvelopesApi.update_recipients" if recipient_id.nil?
818
- # verify the required parameter 'bulk_recipients_request' is set
819
- fail ArgumentError, "Missing the required parameter 'bulk_recipients_request' when calling BulkEnvelopesApi.update_recipients" if bulk_recipients_request.nil?
820
- # resource path
821
- local_var_path = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/bulk_recipients".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'envelopeId' + '}', envelope_id.to_s).sub('{' + 'recipientId' + '}', recipient_id.to_s)
822
-
823
- # query parameters
824
- query_params = {}
825
-
826
- # header parameters
827
- header_params = {}
828
- # HTTP header 'Accept' (if needed)
829
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
830
- # HTTP header 'Content-Type'
831
- header_params['Content-Type'] = @api_client.select_header_content_type(['text/csv'])
832
-
833
- # form parameters
834
- form_params = {}
835
-
836
- # http body (model)
837
- post_body = @api_client.object_to_http_body(bulk_recipients_request)
838
- auth_names = []
839
- data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
840
- :header_params => header_params,
841
- :query_params => query_params,
842
- :form_params => form_params,
843
- :body => post_body,
844
- :auth_names => auth_names,
845
- :return_type => 'BulkRecipientsSummaryResponse')
846
- if @api_client.config.debugging
847
- @api_client.config.logger.debug "API called: BulkEnvelopesApi#update_recipients\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
848
- end
849
- return data, status_code, headers
850
- end
851
672
  end
852
673
  end