docusign_esign 3.27.0.rc1 → 4.0.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (26) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +10 -0
  3. data/lib/docusign_esign/api/envelopes_api.rb +29 -21
  4. data/lib/docusign_esign/api/templates_api.rb +6 -6
  5. data/lib/docusign_esign/client/api_client.rb +1 -1
  6. data/lib/docusign_esign/models/account_settings_information.rb +191 -61
  7. data/lib/docusign_esign/models/account_ui_settings.rb +21 -1
  8. data/lib/docusign_esign/models/envelope.rb +11 -1
  9. data/lib/docusign_esign/models/envelope_definition.rb +11 -1
  10. data/lib/docusign_esign/models/envelope_template.rb +11 -1
  11. data/lib/docusign_esign/models/envelope_view_document_settings.rb +214 -0
  12. data/lib/docusign_esign/models/envelope_view_envelope_custom_field_settings.rb +184 -0
  13. data/lib/docusign_esign/models/envelope_view_recipient_settings.rb +214 -0
  14. data/lib/docusign_esign/models/envelope_view_request.rb +204 -0
  15. data/lib/docusign_esign/models/envelope_view_settings.rb +304 -0
  16. data/lib/docusign_esign/models/envelope_view_tagger_settings.rb +204 -0
  17. data/lib/docusign_esign/models/envelope_view_template_settings.rb +184 -0
  18. data/lib/docusign_esign/models/group.rb +11 -1
  19. data/lib/docusign_esign/models/palette_item_settings.rb +184 -0
  20. data/lib/docusign_esign/models/palette_settings.rb +244 -0
  21. data/lib/docusign_esign/models/recipient_view_request.rb +11 -1
  22. data/lib/docusign_esign/models/template_view_request.rb +194 -0
  23. data/lib/docusign_esign/models/user_settings_information.rb +61 -1
  24. data/lib/docusign_esign/version.rb +1 -1
  25. data/lib/docusign_esign.rb +10 -1
  26. metadata +12 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6492d3c1d29d5e219691df707f017fb80f87e3cb64ececc8af7bdc13cb8563e2
4
- data.tar.gz: 696802060d8a4ba080f0ffdb862ed84fdba27abeff1fbb80a146d4db53388094
3
+ metadata.gz: 95ac3eff0ef86e7276336a1709748e4e6733aab40493c05f8b8f0fe641b88d92
4
+ data.tar.gz: 8343814cbe3ed3b3924722565def0b743d05456f07cc33f4bc97729d233e8c70
5
5
  SHA512:
6
- metadata.gz: 870f90a26e63bc1d90d52a709a0bc7e655ace02b58b7693920d29295ffffae9610fbb806eb6f25378ffc89b4a0fff3941475517903b0c98687af455ca70b934f
7
- data.tar.gz: f63d647a91409ba774def039fdc4486e6a036587736e27fdf376557ecc7d092d003578bf2fc6bd4402558f468285599bddc8715ed46e9b3f04150980f23a8cc1
6
+ metadata.gz: 60e3268e2c315af168bfd39c98a15f99a211ef2d6a3628a4ad5675f4ca2e648d158914960bd9bde414fb185edaaa4687b9abd98ebc1bbd3f5d6ad8dc93e1ce5a
7
+ data.tar.gz: b7ebc209fb5bbae39501c05bc54ac8dc9d200d24034bb8cdaa835b86ae5da83f7c2ce7d3bec58db674273081d86750d80a9412f7b93a199347e6827c65eae406
data/CHANGELOG.md CHANGED
@@ -3,6 +3,16 @@ 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
+ ## [v4.0.0.rc1] - eSignature API v2.1-24.1.01.00 - 2024-05-02
7
+ ### Changed
8
+ - Added support for version v2.1-24.1.01.00 of the DocuSign ESignature API.
9
+ - Updated the SDK release version.
10
+
11
+ ## [v3.27.0] - eSignature API v2.1-23.4.02.00 - 2024-04-30
12
+ ### Changed
13
+ - Updated logic to derive the `oauth_base_path` from `base_path`.
14
+ - Added support for version v2.1-23.4.02.00 of the DocuSign ESignature API.
15
+ - Updated the SDK release version.
6
16
  ## [v3.27.0.rc1] - eSignature API v2.1-23.4.02.00 - 2024-03-12
7
17
  ### Changed
8
18
  - Added support for version v2.1-23.4.02.00 of the DocuSign ESignature API.
@@ -61,6 +61,15 @@ module DocuSign_eSign
61
61
  end
62
62
  end
63
63
 
64
+ class CreateRecipientProofFileResourceTokenOptions
65
+ #
66
+ attr_accessor :token_scopes
67
+
68
+ def self.default
69
+ @@default ||= CreateRecipientProofFileResourceTokenOptions.new
70
+ end
71
+ end
72
+
64
73
  class GetChunkedUploadOptions
65
74
  #
66
75
  attr_accessor :include
@@ -80,7 +89,7 @@ module DocuSign_eSign
80
89
  end
81
90
 
82
91
  class GetConsumerDisclosureOptions
83
- # The simple type enumeration the language used in the response. The supported languages, with the language value shown in parenthesis, are:Arabic (ar), Armenian (hy), Armenian (hy), Bulgarian (bg), Czech (cs), Chinese Simplified (zh_CN), Chinese Traditional (zh_TW), Croatian (hr), Danish (da), Dutch (nl), English US (en), English UK (en_GB), Estonian (et), Farsi (fa), Finnish (fi), French (fr), French Canada (fr_CA), German (de), Greek (el), Hebrew (he), Hindi (hi), Hungarian (hu), Bahasa Indonesia (id), Italian (it), Japanese (ja), Korean (ko), Latvian (lv), Lithuanian (lt), Bahasa Melayu (ms), Norwegian (no), Polish (pl), Portuguese (pt), Portuguese Brazil (pt_BR), Romanian (ro), Russian (ru), Serbian (sr), Slovak (sk), Slovenian (sl), Spanish (es),Spanish Latin America (es_MX), Swedish (sv), Thai (th), Turkish (tr), Ukrainian (uk) and Vietnamese (vi). Additionally, the value can be set to �browser� to automatically detect the browser language being used by the viewer and display the disclosure in that language.
92
+ # The simple type enumeration the language used in the response. The supported languages, with the language value shown in parenthesis, are:Arabic (ar), Armenian (hy), Bulgarian (bg), Czech (cs), Chinese Simplified (zh_CN), Chinese Traditional (zh_TW), Croatian (hr), Danish (da), Dutch (nl), English US (en), English UK (en_GB), Estonian (et), Farsi (fa), Finnish (fi), French (fr), French Canada (fr_CA), German (de), Greek (el), Hebrew (he), Hindi (hi), Hungarian (hu), Bahasa Indonesia (id), Italian (it), Japanese (ja), Korean (ko), Latvian (lv), Lithuanian (lt), Bahasa Melayu (ms), Norwegian (no), Polish (pl), Portuguese (pt), Portuguese Brazil (pt_BR), Romanian (ro), Russian (ru), Serbian (sr), Slovak (sk), Slovenian (sl), Spanish (es),Spanish Latin America (es_MX), Swedish (sv), Thai (th), Turkish (tr), Ukrainian (uk) and Vietnamese (vi). Additionally, the value can be set to �browser� to automatically detect the browser language being used by the viewer and display the disclosure in that language.
84
93
  attr_accessor :lang_code2
85
94
 
86
95
  def self.default
@@ -1011,10 +1020,10 @@ module DocuSign_eSign
1011
1020
  # Returns a URL that allows you to embed the edit view of the DocuSign UI in your applications. This is a one-time use login token that allows the user to be placed into the DocuSign editing view. Upon sending completion, the user is returned to the return URL provided by the API application. Important: iFrames should not be used for embedded operations on mobile devices due to screen space issues. For iOS devices DocuSign recommends using a WebView.
1012
1021
  # @param account_id The external account number (int) or account ID Guid.
1013
1022
  # @param envelope_id The envelopeId Guid of the envelope being accessed.
1014
- # @param return_url_request (optional parameter)
1023
+ # @param envelope_view_request (optional parameter)
1015
1024
  # @return [ViewUrl]
1016
- def create_edit_view(account_id, envelope_id, return_url_request)
1017
- data, _status_code, _headers = create_edit_view_with_http_info(account_id, envelope_id, return_url_request)
1025
+ def create_edit_view(account_id, envelope_id, envelope_view_request)
1026
+ data, _status_code, _headers = create_edit_view_with_http_info(account_id, envelope_id, envelope_view_request)
1018
1027
  return data
1019
1028
  end
1020
1029
 
@@ -1022,9 +1031,9 @@ module DocuSign_eSign
1022
1031
  # Returns a URL that allows you to embed the edit view of the DocuSign UI in your applications. This is a one-time use login token that allows the user to be placed into the DocuSign editing view. Upon sending completion, the user is returned to the return URL provided by the API application. Important: iFrames should not be used for embedded operations on mobile devices due to screen space issues. For iOS devices DocuSign recommends using a WebView.
1023
1032
  # @param account_id The external account number (int) or account ID Guid.
1024
1033
  # @param envelope_id The envelopeId Guid of the envelope being accessed.
1025
- # @param return_url_request (optional parameter)
1034
+ # @param envelope_view_request (optional parameter)
1026
1035
  # @return [Array<(ViewUrl, Fixnum, Hash)>] ViewUrl data, response status code and response headers
1027
- def create_edit_view_with_http_info(account_id, envelope_id, return_url_request)
1036
+ def create_edit_view_with_http_info(account_id, envelope_id, envelope_view_request)
1028
1037
  if @api_client.config.debugging
1029
1038
  @api_client.config.logger.debug "Calling API: EnvelopesApi.create_edit_view ..."
1030
1039
  end
@@ -1047,7 +1056,7 @@ module DocuSign_eSign
1047
1056
  form_params = {}
1048
1057
 
1049
1058
  # http body (model)
1050
- post_body = @api_client.object_to_http_body(return_url_request)
1059
+ post_body = @api_client.object_to_http_body(envelope_view_request)
1051
1060
  auth_names = []
1052
1061
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1053
1062
  :header_params => header_params,
@@ -1729,10 +1738,10 @@ module DocuSign_eSign
1729
1738
  # @param account_id The external account number (int) or account ID Guid.
1730
1739
  # @param envelope_id The envelopeId Guid of the envelope being accessed.
1731
1740
  # @param recipient_id The ID of the recipient being accessed.
1732
- # @param token_scopes
1741
+ # @param DocuSign_eSign::CreateRecipientProofFileResourceTokenOptions Options for modifying the behavior of the function.
1733
1742
  # @return [IdEvidenceResourceToken]
1734
- def create_recipient_proof_file_resource_token(account_id, envelope_id, recipient_id, token_scopes)
1735
- data, _status_code, _headers = create_recipient_proof_file_resource_token_with_http_info(account_id, envelope_id, recipient_id, token_scopes)
1743
+ def create_recipient_proof_file_resource_token(account_id, envelope_id, recipient_id, options = DocuSign_eSign::CreateRecipientProofFileResourceTokenOptions.default)
1744
+ data, _status_code, _headers = create_recipient_proof_file_resource_token_with_http_info(account_id, envelope_id, recipient_id, options)
1736
1745
  return data
1737
1746
  end
1738
1747
 
@@ -1741,9 +1750,9 @@ module DocuSign_eSign
1741
1750
  # @param account_id The external account number (int) or account ID Guid.
1742
1751
  # @param envelope_id The envelopeId Guid of the envelope being accessed.
1743
1752
  # @param recipient_id The ID of the recipient being accessed.
1744
- # @param token_scopes
1753
+ # @param DocuSign_eSign::CreateRecipientProofFileResourceTokenOptions Options for modifying the behavior of the function.
1745
1754
  # @return [Array<(IdEvidenceResourceToken, Fixnum, Hash)>] IdEvidenceResourceToken data, response status code and response headers
1746
- def create_recipient_proof_file_resource_token_with_http_info(account_id, envelope_id, recipient_id, token_scopes)
1755
+ def create_recipient_proof_file_resource_token_with_http_info(account_id, envelope_id, recipient_id, options = DocuSign_eSign::CreateRecipientProofFileResourceTokenOptions.default)
1747
1756
  if @api_client.config.debugging
1748
1757
  @api_client.config.logger.debug "Calling API: EnvelopesApi.create_recipient_proof_file_resource_token ..."
1749
1758
  end
@@ -1753,13 +1762,12 @@ module DocuSign_eSign
1753
1762
  fail ArgumentError, "Missing the required parameter 'envelope_id' when calling EnvelopesApi.create_recipient_proof_file_resource_token" if envelope_id.nil?
1754
1763
  # verify the required parameter 'recipient_id' is set
1755
1764
  fail ArgumentError, "Missing the required parameter 'recipient_id' when calling EnvelopesApi.create_recipient_proof_file_resource_token" if recipient_id.nil?
1756
- # verify the required parameter 'token_scopes' is set
1757
- fail ArgumentError, "Missing the required parameter 'token_scopes' when calling EnvelopesApi.create_recipient_proof_file_resource_token" if token_scopes.nil?
1758
1765
  # resource path
1759
- local_var_path = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/identity_proof_token".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'envelopeId' + '}', envelope_id.to_s).sub('{' + 'recipientId' + '}', recipient_id.to_s).sub('{' + 'token_scopes' + '}', token_scopes.to_s)
1766
+ local_var_path = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/identity_proof_token".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'envelopeId' + '}', envelope_id.to_s).sub('{' + 'recipientId' + '}', recipient_id.to_s)
1760
1767
 
1761
1768
  # query parameters
1762
1769
  query_params = {}
1770
+ query_params[:'token_scopes'] = options.token_scopes if !options.token_scopes.nil?
1763
1771
 
1764
1772
  # header parameters
1765
1773
  header_params = {}
@@ -1899,10 +1907,10 @@ module DocuSign_eSign
1899
1907
  # Returns a URL that allows you to embed the sender view of the DocuSign UI in your applications. This is a one-time use login token that allows the user to be placed into the DocuSign sending view. Upon sending completion, the user is returned to the return URL provided by the API application. Important: iFrames should not be used for embedded operations on mobile devices due to screen space issues. For iOS devices DocuSign recommends using a WebView.
1900
1908
  # @param account_id The external account number (int) or account ID Guid.
1901
1909
  # @param envelope_id The envelopeId Guid of the envelope being accessed.
1902
- # @param return_url_request (optional parameter)
1910
+ # @param envelope_view_request (optional parameter)
1903
1911
  # @return [ViewUrl]
1904
- def create_sender_view(account_id, envelope_id, return_url_request)
1905
- data, _status_code, _headers = create_sender_view_with_http_info(account_id, envelope_id, return_url_request)
1912
+ def create_sender_view(account_id, envelope_id, envelope_view_request)
1913
+ data, _status_code, _headers = create_sender_view_with_http_info(account_id, envelope_id, envelope_view_request)
1906
1914
  return data
1907
1915
  end
1908
1916
 
@@ -1910,9 +1918,9 @@ module DocuSign_eSign
1910
1918
  # Returns a URL that allows you to embed the sender view of the DocuSign UI in your applications. This is a one-time use login token that allows the user to be placed into the DocuSign sending view. Upon sending completion, the user is returned to the return URL provided by the API application. Important: iFrames should not be used for embedded operations on mobile devices due to screen space issues. For iOS devices DocuSign recommends using a WebView.
1911
1919
  # @param account_id The external account number (int) or account ID Guid.
1912
1920
  # @param envelope_id The envelopeId Guid of the envelope being accessed.
1913
- # @param return_url_request (optional parameter)
1921
+ # @param envelope_view_request (optional parameter)
1914
1922
  # @return [Array<(ViewUrl, Fixnum, Hash)>] ViewUrl data, response status code and response headers
1915
- def create_sender_view_with_http_info(account_id, envelope_id, return_url_request)
1923
+ def create_sender_view_with_http_info(account_id, envelope_id, envelope_view_request)
1916
1924
  if @api_client.config.debugging
1917
1925
  @api_client.config.logger.debug "Calling API: EnvelopesApi.create_sender_view ..."
1918
1926
  end
@@ -1935,7 +1943,7 @@ module DocuSign_eSign
1935
1943
  form_params = {}
1936
1944
 
1937
1945
  # http body (model)
1938
- post_body = @api_client.object_to_http_body(return_url_request)
1946
+ post_body = @api_client.object_to_http_body(envelope_view_request)
1939
1947
  auth_names = []
1940
1948
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1941
1949
  :header_params => header_params,
@@ -355,10 +355,10 @@ module DocuSign_eSign
355
355
  # This method returns a URL for starting an edit view of a template that uses the DocuSign Template UI.
356
356
  # @param account_id The external account number (int) or account ID Guid.
357
357
  # @param template_id The ID of the template being accessed.
358
- # @param return_url_request (optional parameter)
358
+ # @param template_view_request (optional parameter)
359
359
  # @return [ViewUrl]
360
- def create_edit_view(account_id, template_id, return_url_request)
361
- data, _status_code, _headers = create_edit_view_with_http_info(account_id, template_id, return_url_request)
360
+ def create_edit_view(account_id, template_id, template_view_request)
361
+ data, _status_code, _headers = create_edit_view_with_http_info(account_id, template_id, template_view_request)
362
362
  return data
363
363
  end
364
364
 
@@ -366,9 +366,9 @@ module DocuSign_eSign
366
366
  # This method returns a URL for starting an edit view of a template that uses the DocuSign Template UI.
367
367
  # @param account_id The external account number (int) or account ID Guid.
368
368
  # @param template_id The ID of the template being accessed.
369
- # @param return_url_request (optional parameter)
369
+ # @param template_view_request (optional parameter)
370
370
  # @return [Array<(ViewUrl, Fixnum, Hash)>] ViewUrl data, response status code and response headers
371
- def create_edit_view_with_http_info(account_id, template_id, return_url_request)
371
+ def create_edit_view_with_http_info(account_id, template_id, template_view_request)
372
372
  if @api_client.config.debugging
373
373
  @api_client.config.logger.debug "Calling API: TemplatesApi.create_edit_view ..."
374
374
  end
@@ -391,7 +391,7 @@ module DocuSign_eSign
391
391
  form_params = {}
392
392
 
393
393
  # http body (model)
394
- post_body = @api_client.object_to_http_body(return_url_request)
394
+ post_body = @api_client.object_to_http_body(template_view_request)
395
395
  auth_names = []
396
396
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
397
397
  :header_params => header_params,
@@ -35,7 +35,7 @@ module DocuSign_eSign
35
35
  # @option config [Configuration] Configuration for initializing the object, default to Configuration.default
36
36
  def initialize(config = Configuration.default)
37
37
  @config = config
38
- @user_agent = "Swagger-Codegen/v2.1/3.27.0.rc1/ruby-#{RUBY_VERSION}p#{RUBY_PATCHLEVEL}"
38
+ @user_agent = "Swagger-Codegen/v2.1/4.0.0.rc1/ruby-#{RUBY_VERSION}p#{RUBY_PATCHLEVEL}"
39
39
  @default_headers = {
40
40
  'Content-Type' => "application/json",
41
41
  'User-Agent' => @user_agent