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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +21 -0
- data/Gemfile.lock +24 -24
- data/README.md +24 -53
- data/docusign_esign-2.10.0.gem +0 -0
- data/docusign_esign-2.10.0.rc1.gem +0 -0
- data/docusign_esign-3.10.0.rc1.gem +0 -0
- data/lib/docusign_esign.rb +9 -2
- data/lib/docusign_esign/api/accounts_api.rb +13 -8
- data/lib/docusign_esign/api/bulk_envelopes_api.rb +69 -248
- data/lib/docusign_esign/api/connect_api.rb +0 -53
- data/lib/docusign_esign/api/envelopes_api.rb +348 -0
- data/lib/docusign_esign/api/groups_api.rb +9 -9
- data/lib/docusign_esign/api/signature_api.rb +256 -0
- data/lib/docusign_esign/api/templates_api.rb +4 -0
- data/lib/docusign_esign/models/account_billing_plan.rb +31 -1
- data/lib/docusign_esign/models/account_information.rb +34 -4
- data/lib/docusign_esign/models/account_role_settings.rb +20 -1
- data/lib/docusign_esign/models/account_settings_information.rb +298 -1
- data/lib/docusign_esign/models/account_ui_settings.rb +39 -1
- data/lib/docusign_esign/models/approve.rb +11 -1
- data/lib/docusign_esign/models/bulk_send_batch_request.rb +184 -0
- data/lib/docusign_esign/models/bulk_send_batch_status.rb +31 -1
- data/lib/docusign_esign/models/bulk_sending_copy_recipient.rb +41 -1
- data/lib/docusign_esign/models/carbon_copy.rb +11 -1
- data/lib/docusign_esign/models/checkbox.rb +11 -1
- data/lib/docusign_esign/models/comment_thread.rb +11 -1
- data/lib/docusign_esign/models/commission_county.rb +11 -1
- data/lib/docusign_esign/models/commission_expiration.rb +11 -1
- data/lib/docusign_esign/models/commission_number.rb +11 -1
- data/lib/docusign_esign/models/commission_state.rb +11 -1
- data/lib/docusign_esign/models/company.rb +11 -1
- data/lib/docusign_esign/models/complete_sign_hash_response.rb +7 -11
- data/lib/docusign_esign/models/complete_sign_request.rb +7 -11
- data/lib/docusign_esign/models/conditional_recipient_rule_filter.rb +11 -1
- data/lib/docusign_esign/models/credential.rb +7 -11
- data/lib/docusign_esign/models/currency.rb +1211 -0
- data/lib/docusign_esign/models/date.rb +11 -1
- data/lib/docusign_esign/models/date_signed.rb +11 -1
- data/lib/docusign_esign/models/decline.rb +11 -1
- data/lib/docusign_esign/models/display_appliance_account.rb +224 -0
- data/lib/docusign_esign/models/display_appliance_info.rb +174 -0
- data/lib/docusign_esign/models/display_appliance_pdf.rb +174 -0
- data/lib/docusign_esign/models/display_appliance_signer_attachment.rb +174 -0
- data/lib/docusign_esign/models/document.rb +11 -1
- data/lib/docusign_esign/models/document_security_store.rb +7 -11
- data/lib/docusign_esign/models/document_update_info.rb +7 -11
- data/lib/docusign_esign/models/draw.rb +11 -1
- data/lib/docusign_esign/models/email.rb +11 -1
- data/lib/docusign_esign/models/email_address.rb +11 -1
- data/lib/docusign_esign/models/envelope.rb +11 -1
- data/lib/docusign_esign/models/envelope_definition.rb +20 -1
- data/lib/docusign_esign/models/envelope_document.rb +11 -1
- data/lib/docusign_esign/models/envelope_form_data.rb +10 -1
- data/lib/docusign_esign/models/envelope_form_data_prefill_form_data.rb +186 -0
- data/lib/docusign_esign/models/envelope_id.rb +11 -1
- data/lib/docusign_esign/models/envelope_summary.rb +21 -1
- data/lib/docusign_esign/models/envelope_template.rb +11 -1
- data/lib/docusign_esign/models/external_claim.rb +7 -11
- data/lib/docusign_esign/models/external_file.rb +21 -1
- data/lib/docusign_esign/models/first_name.rb +11 -1
- data/lib/docusign_esign/models/form_data_item.rb +11 -1
- data/lib/docusign_esign/models/formula_tab.rb +11 -1
- data/lib/docusign_esign/models/full_name.rb +11 -1
- data/lib/docusign_esign/models/group_brands.rb +207 -0
- data/lib/docusign_esign/models/initial_here.rb +11 -1
- data/lib/docusign_esign/models/last_name.rb +11 -1
- data/lib/docusign_esign/models/linked_external_primary_account.rb +234 -0
- data/lib/docusign_esign/models/list.rb +11 -1
- data/lib/docusign_esign/models/locale_policy_tab.rb +11 -1
- data/lib/docusign_esign/models/notarize.rb +11 -1
- data/lib/docusign_esign/models/notary_recipient.rb +11 -1
- data/lib/docusign_esign/models/notary_seal.rb +11 -1
- data/lib/docusign_esign/models/note.rb +11 -1
- data/lib/docusign_esign/models/number.rb +11 -1
- data/lib/docusign_esign/models/payment_details.rb +10 -1
- data/lib/docusign_esign/models/payment_signer_values.rb +184 -0
- data/lib/docusign_esign/models/phone_number.rb +11 -1
- data/lib/docusign_esign/models/poly_line_overlay.rb +11 -1
- data/lib/docusign_esign/models/prefill_tabs.rb +222 -0
- data/lib/docusign_esign/models/report_in_product_csv_run_request.rb +24 -4
- data/lib/docusign_esign/models/report_in_product_get.rb +24 -4
- data/lib/docusign_esign/models/report_in_product_run_request.rb +24 -4
- data/lib/docusign_esign/models/report_in_product_run_response_row_fields.rb +101 -1
- data/lib/docusign_esign/models/revision.rb +7 -11
- data/lib/docusign_esign/models/seal.rb +8 -12
- data/lib/docusign_esign/models/sender.rb +7 -11
- data/lib/docusign_esign/models/sign_hash_document.rb +7 -11
- data/lib/docusign_esign/models/sign_hash_session_info_response.rb +7 -11
- data/lib/docusign_esign/models/sign_here.rb +11 -1
- data/lib/docusign_esign/models/sign_session_info_request.rb +7 -11
- data/lib/docusign_esign/models/signature_data_info.rb +7 -11
- data/lib/docusign_esign/models/signature_properties.rb +7 -11
- data/lib/docusign_esign/models/signer_attachment.rb +11 -1
- data/lib/docusign_esign/models/smart_section.rb +11 -1
- data/lib/docusign_esign/models/ssn.rb +11 -1
- data/lib/docusign_esign/models/tab_account_settings.rb +20 -1
- data/lib/docusign_esign/models/tab_group.rb +11 -1
- data/lib/docusign_esign/models/tab_metadata.rb +20 -1
- data/lib/docusign_esign/models/tabs.rb +23 -2
- data/lib/docusign_esign/models/template_role.rb +13 -1
- data/lib/docusign_esign/models/template_tabs.rb +22 -1
- data/lib/docusign_esign/models/text.rb +11 -1
- data/lib/docusign_esign/models/time_stamp_field.rb +7 -11
- data/lib/docusign_esign/models/title.rb +11 -1
- data/lib/docusign_esign/models/tsp_health_check_request.rb +7 -11
- data/lib/docusign_esign/models/tsp_health_check_status_description.rb +7 -11
- data/lib/docusign_esign/models/update_transaction_request.rb +7 -11
- data/lib/docusign_esign/models/update_transaction_response.rb +7 -11
- data/lib/docusign_esign/models/user.rb +7 -11
- data/lib/docusign_esign/models/user_info_response.rb +7 -11
- data/lib/docusign_esign/models/user_information.rb +11 -1
- data/lib/docusign_esign/models/user_settings_information.rb +20 -1
- data/lib/docusign_esign/models/view.rb +11 -1
- data/lib/docusign_esign/models/zip.rb +11 -1
- data/lib/docusign_esign/version.rb +1 -1
- data/tests/Gemfile.lock +13 -9
- data/tests/spec/unit_tests_using_jwt_spec.rb +58 -0
- metadata +19 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 41c1b9f636e02c741ab6cae6f1b1a492525d05be19108b5e036636bc2c618030
|
4
|
+
data.tar.gz: 0ec4460f92370ed6d8a278bf0e67d25eb2bab12d6848c4bbe2f81046e2313ca4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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
|
+
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.
|
22
|
-
|
21
|
+
crack (0.4.5)
|
22
|
+
rexml
|
23
23
|
diff-lcs (1.4.4)
|
24
|
-
ethon (0.
|
25
|
-
ffi (>= 1.
|
26
|
-
ffi (1.
|
24
|
+
ethon (0.14.0)
|
25
|
+
ffi (>= 1.15.0)
|
26
|
+
ffi (1.15.1)
|
27
27
|
hashdiff (1.0.1)
|
28
|
-
json (2.
|
29
|
-
jwt (2.2.
|
30
|
-
public_suffix (4.0.
|
28
|
+
json (2.5.1)
|
29
|
+
jwt (2.2.3)
|
30
|
+
public_suffix (4.0.6)
|
31
31
|
rake (12.3.3)
|
32
|
-
|
33
|
-
|
34
|
-
rspec-
|
35
|
-
rspec-
|
36
|
-
|
37
|
-
|
38
|
-
|
32
|
+
rexml (3.2.5)
|
33
|
+
rspec (3.10.0)
|
34
|
+
rspec-core (~> 3.10.0)
|
35
|
+
rspec-expectations (~> 3.10.0)
|
36
|
+
rspec-mocks (~> 3.10.0)
|
37
|
+
rspec-core (3.10.1)
|
38
|
+
rspec-support (~> 3.10.0)
|
39
|
+
rspec-expectations (3.10.1)
|
39
40
|
diff-lcs (>= 1.2.0, < 2.0)
|
40
|
-
rspec-support (~> 3.
|
41
|
-
rspec-mocks (3.
|
41
|
+
rspec-support (~> 3.10.0)
|
42
|
+
rspec-mocks (3.10.2)
|
42
43
|
diff-lcs (>= 1.2.0, < 2.0)
|
43
|
-
rspec-support (~> 3.
|
44
|
-
rspec-support (3.
|
45
|
-
|
46
|
-
|
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
|
-
|
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
|
-
###
|
23
|
-
|
24
|
-
|
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
|
-
|
41
|
-
-
|
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
|
-
|
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
|
-
|
68
|
-
|
69
|
-
[
|
70
|
-
[
|
71
|
-
[
|
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
|
data/lib/docusign_esign.rb
CHANGED
@@ -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
|
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 `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`.
|
398
|
-
# @param account_id The external account number (int) or account ID
|
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
|
3427
|
-
# @param brand_id The
|
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
|
3438
|
-
# @param brand_id The
|
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
|
17
|
-
#
|
16
|
+
class GetBulkSendBatchEnvelopesOptions
|
17
|
+
#
|
18
18
|
attr_accessor :count
|
19
19
|
|
20
|
-
#
|
20
|
+
#
|
21
21
|
attr_accessor :include
|
22
22
|
|
23
|
-
#
|
24
|
-
attr_accessor :
|
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 :
|
27
|
+
attr_accessor :order_by
|
34
28
|
|
35
29
|
#
|
36
|
-
attr_accessor :
|
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 ||=
|
42
|
+
@@default ||= GetBulkSendBatchEnvelopesOptions.new
|
46
43
|
end
|
47
44
|
end
|
48
45
|
|
49
|
-
class
|
46
|
+
class GetBulkSendBatchesOptions
|
50
47
|
#
|
51
|
-
attr_accessor :
|
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
|
-
#
|
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 ||=
|
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
|
-
#
|
296
|
-
#
|
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 `bulkRecipientsUri` 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
|
356
|
-
# @param DocuSign_eSign::
|
357
|
-
# @return [
|
358
|
-
def
|
359
|
-
data, _status_code, _headers =
|
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
|
364
|
-
#
|
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
|
367
|
-
# @param DocuSign_eSign::
|
368
|
-
# @return [Array<(
|
369
|
-
def
|
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.
|
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.
|
375
|
-
# verify the required parameter '
|
376
|
-
fail ArgumentError, "Missing the required parameter '
|
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}/
|
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 => '
|
345
|
+
:return_type => 'EnvelopesInformation')
|
404
346
|
if @api_client.config.debugging
|
405
|
-
@api_client.config.logger.debug "API called: BulkEnvelopesApi#
|
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
|
-
#
|
621
|
-
#
|
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
|
685
|
-
# @
|
686
|
-
|
687
|
-
|
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
|
-
#
|
692
|
-
#
|
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
|
695
|
-
# @
|
696
|
-
|
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.
|
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.
|
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}/
|
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 =
|
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(:
|
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 => '
|
611
|
+
:return_type => 'BulkSendBatchStatus')
|
728
612
|
if @api_client.config.debugging
|
729
|
-
@api_client.config.logger.debug "API called: BulkEnvelopesApi#
|
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
|