docusign_esign 3.10.0 → 3.11.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +8 -1
  3. data/docusign_esign-2.11.0.rc1.gem +0 -0
  4. data/lib/docusign_esign.rb +5 -3
  5. data/lib/docusign_esign/api/envelopes_api.rb +0 -287
  6. data/lib/docusign_esign/api/users_api.rb +45 -9
  7. data/lib/docusign_esign/models/account_billing_plan.rb +21 -1
  8. data/lib/docusign_esign/models/agent.rb +29 -1
  9. data/lib/docusign_esign/models/carbon_copy.rb +29 -1
  10. data/lib/docusign_esign/models/certified_delivery.rb +29 -1
  11. data/lib/docusign_esign/models/editor.rb +29 -1
  12. data/lib/docusign_esign/models/envelope_form_data.rb +1 -1
  13. data/lib/docusign_esign/models/in_person_signer.rb +11 -1
  14. data/lib/docusign_esign/models/initial_here.rb +11 -1
  15. data/lib/docusign_esign/models/intermediary.rb +29 -1
  16. data/lib/docusign_esign/models/notary_host.rb +11 -1
  17. data/lib/docusign_esign/models/notary_recipient.rb +29 -1
  18. data/lib/docusign_esign/models/payment_method_with_options.rb +13 -1
  19. data/lib/docusign_esign/models/prefill_form_data.rb +216 -0
  20. data/lib/docusign_esign/models/prefill_tabs.rb +25 -1
  21. data/lib/docusign_esign/models/recipient_preview_request.rb +10 -1
  22. data/lib/docusign_esign/models/recipient_token_client_ur_ls.rb +174 -0
  23. data/lib/docusign_esign/models/recipient_view_request.rb +10 -1
  24. data/lib/docusign_esign/models/report_in_product_run_response_row_fields.rb +91 -1
  25. data/lib/docusign_esign/models/seal_sign.rb +11 -1
  26. data/lib/docusign_esign/models/sender_company.rb +1011 -0
  27. data/lib/docusign_esign/models/sender_name.rb +1011 -0
  28. data/lib/docusign_esign/models/sign_here.rb +11 -1
  29. data/lib/docusign_esign/models/signer.rb +29 -1
  30. data/lib/docusign_esign/models/signer_attachment.rb +11 -1
  31. data/lib/docusign_esign/models/template_tabs.rb +1 -1
  32. data/lib/docusign_esign/models/witness.rb +29 -1
  33. data/lib/docusign_esign/version.rb +1 -1
  34. data/tests/Gemfile.lock +2 -6
  35. metadata +9 -7
  36. data/docusign_esign-2.10.0.gem +0 -0
  37. data/docusign_esign-2.10.0.rc1.gem +0 -0
  38. data/docusign_esign-3.10.0.rc1.gem +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 41c1b9f636e02c741ab6cae6f1b1a492525d05be19108b5e036636bc2c618030
4
- data.tar.gz: 0ec4460f92370ed6d8a278bf0e67d25eb2bab12d6848c4bbe2f81046e2313ca4
3
+ metadata.gz: 35c0d589a71f989a64001ab9fc4b93c278dcd26bffe5871dc64912fafb306578
4
+ data.tar.gz: f0e85fbaf9b98586a8c7c8488c6a1f47e3796b6510ef9fee82ab72f6b76bfa78
5
5
  SHA512:
6
- metadata.gz: eb23a6d6a6803bb4269f2034ec2d2750dec422fa7d060d7768ae51f810761e51b7333aa8e96dc01423db46f1212d7f0e0a030bf6013af0d4fefc96f06a23bdff
7
- data.tar.gz: 1f42f5440f895a356aa6210e57d259bb6c093f73055fa58d588eaa2bdfd57b5e7720b1abe046b3022b7ddc5bd2dee45d8b7699c9f399c89b6806162b20b7a4b1
6
+ metadata.gz: e930c67224f1f265ef166da4c23e85b5f913e24b66585cf65a93b0bf05e5ce3988964b59079b8900a0c383d8a1e03b99294b5cb36ea69e55b25848a24ffb2c9f
7
+ data.tar.gz: 1aad8291b1ab0ee7f3e9239b084de21da578732156b70d380a116e14d75f4f73be5191156c13ab71ba091fa3f39604fe925634a40577fadef730b058271e1084
data/CHANGELOG.md CHANGED
@@ -3,7 +3,14 @@ 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
6
+ ## [v3.11.0-rc1] - eSignature API v2.1-21.2.00.00 - 2021-07-13
7
+ ### Added
8
+ - Added new models and properties.
9
+ ### Changed
10
+ - Added support for version v2.1-21.2.00.00 of the DocuSign eSignature API.
11
+ - Updated the SDK release version.
12
+
13
+ ## [v3.10.0] - eSignature API v2.1-21.1.02.00 - 2021-06-04
7
14
  ### Breaking
8
15
  - Removed methods `get_account_settings_export`,`get_seal_providers` from Accounts.
9
16
  - Removed methods `create_connect_secret`,`delete_connect_secret`,`generate_connect_secret`,`get_connect_secrets` from Connect.
Binary file
@@ -181,7 +181,6 @@ require 'docusign_esign/models/date_stamp_properties'
181
181
  require 'docusign_esign/models/decline'
182
182
  require 'docusign_esign/models/diagnostics_settings_information'
183
183
  require 'docusign_esign/models/direct_debit_processor_information'
184
- require 'docusign_esign/models/display_appliance_info'
185
184
  require 'docusign_esign/models/dob_information_input'
186
185
  require 'docusign_esign/models/document'
187
186
  require 'docusign_esign/models/document_fields_information'
@@ -216,7 +215,6 @@ require 'docusign_esign/models/envelope_document'
216
215
  require 'docusign_esign/models/envelope_documents_result'
217
216
  require 'docusign_esign/models/envelope_event'
218
217
  require 'docusign_esign/models/envelope_form_data'
219
- require 'docusign_esign/models/envelope_form_data_prefill_form_data'
220
218
  require 'docusign_esign/models/envelope_id'
221
219
  require 'docusign_esign/models/envelope_ids_request'
222
220
  require 'docusign_esign/models/envelope_metadata'
@@ -341,6 +339,7 @@ require 'docusign_esign/models/power_form_senders_response'
341
339
  require 'docusign_esign/models/power_forms_form_data_response'
342
340
  require 'docusign_esign/models/power_forms_request'
343
341
  require 'docusign_esign/models/power_forms_response'
342
+ require 'docusign_esign/models/prefill_form_data'
344
343
  require 'docusign_esign/models/prefill_tabs'
345
344
  require 'docusign_esign/models/proof_service_resource_token'
346
345
  require 'docusign_esign/models/proof_service_view_link'
@@ -372,6 +371,7 @@ require 'docusign_esign/models/recipient_sms_authentication'
372
371
  require 'docusign_esign/models/recipient_signature_information'
373
372
  require 'docusign_esign/models/recipient_signature_provider'
374
373
  require 'docusign_esign/models/recipient_signature_provider_options'
374
+ require 'docusign_esign/models/recipient_token_client_ur_ls'
375
375
  require 'docusign_esign/models/recipient_update_response'
376
376
  require 'docusign_esign/models/recipient_view_request'
377
377
  require 'docusign_esign/models/recipients'
@@ -394,7 +394,9 @@ require 'docusign_esign/models/return_url_request'
394
394
  require 'docusign_esign/models/seal_identifier'
395
395
  require 'docusign_esign/models/seal_sign'
396
396
  require 'docusign_esign/models/seat_discount'
397
+ require 'docusign_esign/models/sender_company'
397
398
  require 'docusign_esign/models/sender_email_notifications'
399
+ require 'docusign_esign/models/sender_name'
398
400
  require 'docusign_esign/models/server_template'
399
401
  require 'docusign_esign/models/service_information'
400
402
  require 'docusign_esign/models/service_version'
@@ -517,4 +519,4 @@ module DocuSign_eSign
517
519
  end
518
520
  end
519
521
  end
520
- end
522
+ end
@@ -61,36 +61,6 @@ module DocuSign_eSign
61
61
  end
62
62
  end
63
63
 
64
- class GetApplianceEnvelopeInfoOptions
65
- #
66
- attr_accessor :before_sign
67
-
68
- #
69
- attr_accessor :document_id
70
-
71
- #
72
- attr_accessor :entity_type
73
-
74
- #
75
- attr_accessor :in_person
76
-
77
- #
78
- attr_accessor :recipient_id
79
-
80
- #
81
- attr_accessor :tab_locale_policy
82
-
83
- #
84
- attr_accessor :tab_type
85
-
86
- #
87
- attr_accessor :use_date_signed_tab_val_exclusively
88
-
89
- def self.default
90
- @@default ||= GetApplianceEnvelopeInfoOptions.new
91
- end
92
- end
93
-
94
64
  class GetChunkedUploadOptions
95
65
  #
96
66
  attr_accessor :include
@@ -1406,50 +1376,6 @@ module DocuSign_eSign
1406
1376
  return data, status_code, headers
1407
1377
  end
1408
1378
 
1409
- # Uploads Kazmon error for Display Appliance
1410
- #
1411
- # @return [nil]
1412
- def create_error()
1413
- create_error_with_http_info()
1414
- return nil
1415
- end
1416
-
1417
- # Uploads Kazmon error for Display Appliance
1418
- #
1419
- # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
1420
- def create_error_with_http_info()
1421
- if @api_client.config.debugging
1422
- @api_client.config.logger.debug "Calling API: EnvelopesApi.create_error ..."
1423
- end
1424
- # resource path
1425
- local_var_path = "/v2.1/display_appliance_info/error".sub('{format}','json')
1426
-
1427
- # query parameters
1428
- query_params = {}
1429
-
1430
- # header parameters
1431
- header_params = {}
1432
- # HTTP header 'Accept' (if needed)
1433
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1434
-
1435
- # form parameters
1436
- form_params = {}
1437
-
1438
- # http body (model)
1439
- post_body = nil
1440
- auth_names = []
1441
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1442
- :header_params => header_params,
1443
- :query_params => query_params,
1444
- :form_params => form_params,
1445
- :body => post_body,
1446
- :auth_names => auth_names)
1447
- if @api_client.config.debugging
1448
- @api_client.config.logger.debug "API called: EnvelopesApi#create_error\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1449
- end
1450
- return data, status_code, headers
1451
- end
1452
-
1453
1379
  # Lock an envelope.
1454
1380
  # Locks the specified envelope, and sets the time until the lock expires, to prevent other users or recipients from accessing and changing the envelope. ###### Note: Users must have envelope locking capability enabled to use this function (userSetting `canLockEnvelopes` must be set to true for the user).
1455
1381
  # @param account_id The external account number (int) or account ID Guid.
@@ -1793,51 +1719,6 @@ module DocuSign_eSign
1793
1719
  return data, status_code, headers
1794
1720
  end
1795
1721
 
1796
- # Returns signing url for Display Appliance
1797
- #
1798
- # @return [DisplayApplianceInfo]
1799
- def create_redeem()
1800
- data, _status_code, _headers = create_redeem_with_http_info()
1801
- return data
1802
- end
1803
-
1804
- # Returns signing url for Display Appliance
1805
- #
1806
- # @return [Array<(DisplayApplianceInfo, Fixnum, Hash)>] DisplayApplianceInfo data, response status code and response headers
1807
- def create_redeem_with_http_info()
1808
- if @api_client.config.debugging
1809
- @api_client.config.logger.debug "Calling API: EnvelopesApi.create_redeem ..."
1810
- end
1811
- # resource path
1812
- local_var_path = "/v2.1/display_appliance_info/redeem".sub('{format}','json')
1813
-
1814
- # query parameters
1815
- query_params = {}
1816
-
1817
- # header parameters
1818
- header_params = {}
1819
- # HTTP header 'Accept' (if needed)
1820
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1821
-
1822
- # form parameters
1823
- form_params = {}
1824
-
1825
- # http body (model)
1826
- post_body = nil
1827
- auth_names = []
1828
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1829
- :header_params => header_params,
1830
- :query_params => query_params,
1831
- :form_params => form_params,
1832
- :body => post_body,
1833
- :auth_names => auth_names,
1834
- :return_type => 'DisplayApplianceInfo')
1835
- if @api_client.config.debugging
1836
- @api_client.config.logger.debug "API called: EnvelopesApi#create_redeem\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1837
- end
1838
- return data, status_code, headers
1839
- end
1840
-
1841
1722
  # Get Responsive HTML Preview for all documents in an envelope.
1842
1723
  #
1843
1724
  # @param account_id The external account number (int) or account ID Guid.
@@ -2667,58 +2548,6 @@ module DocuSign_eSign
2667
2548
  return data, status_code, headers
2668
2549
  end
2669
2550
 
2670
- # Delete page information for Display Appliance
2671
- #
2672
- # @param account_id The external account number (int) or account ID Guid.
2673
- # @param envelope_id The envelopeId Guid of the envelope being accessed.
2674
- # @return [nil]
2675
- def delete_page_info_v2(account_id, envelope_id)
2676
- delete_page_info_v2_with_http_info(account_id, envelope_id)
2677
- return nil
2678
- end
2679
-
2680
- # Delete page information for Display Appliance
2681
- #
2682
- # @param account_id The external account number (int) or account ID Guid.
2683
- # @param envelope_id The envelopeId Guid of the envelope being accessed.
2684
- # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
2685
- def delete_page_info_v2_with_http_info(account_id, envelope_id)
2686
- if @api_client.config.debugging
2687
- @api_client.config.logger.debug "Calling API: EnvelopesApi.delete_page_info_v2 ..."
2688
- end
2689
- # verify the required parameter 'account_id' is set
2690
- fail ArgumentError, "Missing the required parameter 'account_id' when calling EnvelopesApi.delete_page_info_v2" if account_id.nil?
2691
- # verify the required parameter 'envelope_id' is set
2692
- fail ArgumentError, "Missing the required parameter 'envelope_id' when calling EnvelopesApi.delete_page_info_v2" if envelope_id.nil?
2693
- # resource path
2694
- local_var_path = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/display_appliance_info/page_info".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'envelopeId' + '}', envelope_id.to_s)
2695
-
2696
- # query parameters
2697
- query_params = {}
2698
-
2699
- # header parameters
2700
- header_params = {}
2701
- # HTTP header 'Accept' (if needed)
2702
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2703
-
2704
- # form parameters
2705
- form_params = {}
2706
-
2707
- # http body (model)
2708
- post_body = nil
2709
- auth_names = []
2710
- data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
2711
- :header_params => header_params,
2712
- :query_params => query_params,
2713
- :form_params => form_params,
2714
- :body => post_body,
2715
- :auth_names => auth_names)
2716
- if @api_client.config.debugging
2717
- @api_client.config.logger.debug "API called: EnvelopesApi#delete_page_info_v2\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2718
- end
2719
- return data, status_code, headers
2720
- end
2721
-
2722
2551
  # Deletes a recipient from an envelope.
2723
2552
  # Deletes the specified recipient file from the specified envelope. This cannot be used if the envelope has been sent.
2724
2553
  # @param account_id The external account number (int) or account ID Guid.
@@ -3002,69 +2831,6 @@ module DocuSign_eSign
3002
2831
  return data, status_code, headers
3003
2832
  end
3004
2833
 
3005
- # Returns Display Appliance envelope information
3006
- #
3007
- # @param account_id The external account number (int) or account ID Guid.
3008
- # @param envelope_id The envelopeId Guid of the envelope being accessed.
3009
- # @param DocuSign_eSign::GetApplianceEnvelopeInfoOptions Options for modifying the behavior of the function.
3010
- # @return [DisplayApplianceInfo]
3011
- def get_appliance_envelope_info(account_id, envelope_id, options = DocuSign_eSign::GetApplianceEnvelopeInfoOptions.default)
3012
- data, _status_code, _headers = get_appliance_envelope_info_with_http_info(account_id, envelope_id, options)
3013
- return data
3014
- end
3015
-
3016
- # Returns Display Appliance envelope information
3017
- #
3018
- # @param account_id The external account number (int) or account ID Guid.
3019
- # @param envelope_id The envelopeId Guid of the envelope being accessed.
3020
- # @param DocuSign_eSign::GetApplianceEnvelopeInfoOptions Options for modifying the behavior of the function.
3021
- # @return [Array<(DisplayApplianceInfo, Fixnum, Hash)>] DisplayApplianceInfo data, response status code and response headers
3022
- def get_appliance_envelope_info_with_http_info(account_id, envelope_id, options = DocuSign_eSign::GetApplianceEnvelopeInfoOptions.default)
3023
- if @api_client.config.debugging
3024
- @api_client.config.logger.debug "Calling API: EnvelopesApi.get_appliance_envelope_info ..."
3025
- end
3026
- # verify the required parameter 'account_id' is set
3027
- fail ArgumentError, "Missing the required parameter 'account_id' when calling EnvelopesApi.get_appliance_envelope_info" if account_id.nil?
3028
- # verify the required parameter 'envelope_id' is set
3029
- fail ArgumentError, "Missing the required parameter 'envelope_id' when calling EnvelopesApi.get_appliance_envelope_info" if envelope_id.nil?
3030
- # resource path
3031
- local_var_path = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/display_appliance_info_v2".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'envelopeId' + '}', envelope_id.to_s)
3032
-
3033
- # query parameters
3034
- query_params = {}
3035
- query_params[:'beforeSign'] = options.before_sign if !options.before_sign.nil?
3036
- query_params[:'document_id'] = options.document_id if !options.document_id.nil?
3037
- query_params[:'entity_type'] = options.entity_type if !options.entity_type.nil?
3038
- query_params[:'inPerson'] = options.in_person if !options.in_person.nil?
3039
- query_params[:'recipient_id'] = options.recipient_id if !options.recipient_id.nil?
3040
- query_params[:'tabLocalePolicy'] = options.tab_locale_policy if !options.tab_locale_policy.nil?
3041
- query_params[:'tabType'] = options.tab_type if !options.tab_type.nil?
3042
- query_params[:'useDateSignedTabValExclusively'] = options.use_date_signed_tab_val_exclusively if !options.use_date_signed_tab_val_exclusively.nil?
3043
-
3044
- # header parameters
3045
- header_params = {}
3046
- # HTTP header 'Accept' (if needed)
3047
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
3048
-
3049
- # form parameters
3050
- form_params = {}
3051
-
3052
- # http body (model)
3053
- post_body = nil
3054
- auth_names = []
3055
- data, status_code, headers = @api_client.call_api(:GET, local_var_path,
3056
- :header_params => header_params,
3057
- :query_params => query_params,
3058
- :form_params => form_params,
3059
- :body => post_body,
3060
- :auth_names => auth_names,
3061
- :return_type => 'DisplayApplianceInfo')
3062
- if @api_client.config.debugging
3063
- @api_client.config.logger.debug "API called: EnvelopesApi#get_appliance_envelope_info\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3064
- end
3065
- return data, status_code, headers
3066
- end
3067
-
3068
2834
  # Retrieves an attachment from the envelope.
3069
2835
  #
3070
2836
  # @param account_id The external account number (int) or account ID Guid.
@@ -3410,59 +3176,6 @@ module DocuSign_eSign
3410
3176
  return data, status_code, headers
3411
3177
  end
3412
3178
 
3413
- # Gets date signed information for Display Appliance
3414
- #
3415
- # @param account_id The external account number (int) or account ID Guid.
3416
- # @param envelope_id The envelopeId Guid of the envelope being accessed.
3417
- # @return [DisplayApplianceInfo]
3418
- def get_date_signed(account_id, envelope_id)
3419
- data, _status_code, _headers = get_date_signed_with_http_info(account_id, envelope_id)
3420
- return data
3421
- end
3422
-
3423
- # Gets date signed information for Display Appliance
3424
- #
3425
- # @param account_id The external account number (int) or account ID Guid.
3426
- # @param envelope_id The envelopeId Guid of the envelope being accessed.
3427
- # @return [Array<(DisplayApplianceInfo, Fixnum, Hash)>] DisplayApplianceInfo data, response status code and response headers
3428
- def get_date_signed_with_http_info(account_id, envelope_id)
3429
- if @api_client.config.debugging
3430
- @api_client.config.logger.debug "Calling API: EnvelopesApi.get_date_signed ..."
3431
- end
3432
- # verify the required parameter 'account_id' is set
3433
- fail ArgumentError, "Missing the required parameter 'account_id' when calling EnvelopesApi.get_date_signed" if account_id.nil?
3434
- # verify the required parameter 'envelope_id' is set
3435
- fail ArgumentError, "Missing the required parameter 'envelope_id' when calling EnvelopesApi.get_date_signed" if envelope_id.nil?
3436
- # resource path
3437
- local_var_path = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/display_appliance_info/date_signed".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'envelopeId' + '}', envelope_id.to_s)
3438
-
3439
- # query parameters
3440
- query_params = {}
3441
-
3442
- # header parameters
3443
- header_params = {}
3444
- # HTTP header 'Accept' (if needed)
3445
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
3446
-
3447
- # form parameters
3448
- form_params = {}
3449
-
3450
- # http body (model)
3451
- post_body = nil
3452
- auth_names = []
3453
- data, status_code, headers = @api_client.call_api(:GET, local_var_path,
3454
- :header_params => header_params,
3455
- :query_params => query_params,
3456
- :form_params => form_params,
3457
- :body => post_body,
3458
- :auth_names => auth_names,
3459
- :return_type => 'DisplayApplianceInfo')
3460
- if @api_client.config.debugging
3461
- @api_client.config.logger.debug "API called: EnvelopesApi#get_date_signed\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3462
- end
3463
- return data, status_code, headers
3464
- end
3465
-
3466
3179
  # Gets a document from an envelope.
3467
3180
  # Retrieves the specified document from the envelope. If the account has the Highlight Data Changes feature enabled, there is an option to request that any changes in the envelope be highlighted. You can also use this method to retrieve a PDF containing the combined content of all documents and the certificate. If the account has the Highlight Data Changes feature enabled, there is an option to request that any changes in the envelope be highlighted. To retrieve the combined content replace the `{documentId}` parameter in the endpoint with `combined`. /accounts/{accountId}/envelopes/{envelopeId}/documents/combined
3468
3181
  # @param account_id The external account number (int) or account ID Guid.
@@ -109,6 +109,15 @@ module DocuSign_eSign
109
109
  end
110
110
  end
111
111
 
112
+ class UpdateSettingsOptions
113
+ #
114
+ attr_accessor :allow_all_languages
115
+
116
+ def self.default
117
+ @@default ||= UpdateSettingsOptions.new
118
+ end
119
+ end
120
+
112
121
  class UpdateSignatureOptions
113
122
  # When set to **true**, closes the current signature.
114
123
  attr_accessor :close_existing_signature
@@ -127,6 +136,24 @@ module DocuSign_eSign
127
136
  end
128
137
  end
129
138
 
139
+ class UpdateUserOptions
140
+ #
141
+ attr_accessor :allow_all_languages
142
+
143
+ def self.default
144
+ @@default ||= UpdateUserOptions.new
145
+ end
146
+ end
147
+
148
+ class UpdateUsersOptions
149
+ #
150
+ attr_accessor :allow_all_languages
151
+
152
+ def self.default
153
+ @@default ||= UpdateUsersOptions.new
154
+ end
155
+ end
156
+
130
157
 
131
158
  class UsersApi
132
159
  attr_accessor :api_client
@@ -1460,9 +1487,10 @@ module DocuSign_eSign
1460
1487
  # @param account_id The external account number (int) or account ID Guid.
1461
1488
  # @param user_id The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing.
1462
1489
  # @param user_settings_information (optional parameter)
1490
+ # @param DocuSign_eSign::UpdateSettingsOptions Options for modifying the behavior of the function.
1463
1491
  # @return [nil]
1464
- def update_settings(account_id, user_id, user_settings_information)
1465
- update_settings_with_http_info(account_id, user_id, user_settings_information)
1492
+ def update_settings(account_id, user_id, user_settings_information, options = DocuSign_eSign::UpdateSettingsOptions.default)
1493
+ update_settings_with_http_info(account_id, user_id, user_settings_information, options)
1466
1494
  return nil
1467
1495
  end
1468
1496
 
@@ -1471,8 +1499,9 @@ module DocuSign_eSign
1471
1499
  # @param account_id The external account number (int) or account ID Guid.
1472
1500
  # @param user_id The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing.
1473
1501
  # @param user_settings_information (optional parameter)
1502
+ # @param DocuSign_eSign::UpdateSettingsOptions Options for modifying the behavior of the function.
1474
1503
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
1475
- def update_settings_with_http_info(account_id, user_id, user_settings_information)
1504
+ def update_settings_with_http_info(account_id, user_id, user_settings_information, options = DocuSign_eSign::UpdateSettingsOptions.default)
1476
1505
  if @api_client.config.debugging
1477
1506
  @api_client.config.logger.debug "Calling API: UsersApi.update_settings ..."
1478
1507
  end
@@ -1485,6 +1514,7 @@ module DocuSign_eSign
1485
1514
 
1486
1515
  # query parameters
1487
1516
  query_params = {}
1517
+ query_params[:'allow_all_languages'] = options.allow_all_languages if !options.allow_all_languages.nil?
1488
1518
 
1489
1519
  # header parameters
1490
1520
  header_params = {}
@@ -1697,9 +1727,10 @@ module DocuSign_eSign
1697
1727
  # @param account_id The external account number (int) or account ID Guid.
1698
1728
  # @param user_id The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing.
1699
1729
  # @param user_information (optional parameter)
1730
+ # @param DocuSign_eSign::UpdateUserOptions Options for modifying the behavior of the function.
1700
1731
  # @return [UserInformation]
1701
- def update_user(account_id, user_id, user_information)
1702
- data, _status_code, _headers = update_user_with_http_info(account_id, user_id, user_information)
1732
+ def update_user(account_id, user_id, user_information, options = DocuSign_eSign::UpdateUserOptions.default)
1733
+ data, _status_code, _headers = update_user_with_http_info(account_id, user_id, user_information, options)
1703
1734
  return data
1704
1735
  end
1705
1736
 
@@ -1708,8 +1739,9 @@ module DocuSign_eSign
1708
1739
  # @param account_id The external account number (int) or account ID Guid.
1709
1740
  # @param user_id The user ID of the user being accessed. Generally this is the user ID of the authenticated user, but if the authenticated user is an Admin on the account, this may be another user the Admin user is accessing.
1710
1741
  # @param user_information (optional parameter)
1742
+ # @param DocuSign_eSign::UpdateUserOptions Options for modifying the behavior of the function.
1711
1743
  # @return [Array<(UserInformation, Fixnum, Hash)>] UserInformation data, response status code and response headers
1712
- def update_user_with_http_info(account_id, user_id, user_information)
1744
+ def update_user_with_http_info(account_id, user_id, user_information, options = DocuSign_eSign::UpdateUserOptions.default)
1713
1745
  if @api_client.config.debugging
1714
1746
  @api_client.config.logger.debug "Calling API: UsersApi.update_user ..."
1715
1747
  end
@@ -1722,6 +1754,7 @@ module DocuSign_eSign
1722
1754
 
1723
1755
  # query parameters
1724
1756
  query_params = {}
1757
+ query_params[:'allow_all_languages'] = options.allow_all_languages if !options.allow_all_languages.nil?
1725
1758
 
1726
1759
  # header parameters
1727
1760
  header_params = {}
@@ -1751,9 +1784,10 @@ module DocuSign_eSign
1751
1784
  #
1752
1785
  # @param account_id The external account number (int) or account ID Guid.
1753
1786
  # @param user_information_list (optional parameter)
1787
+ # @param DocuSign_eSign::UpdateUsersOptions Options for modifying the behavior of the function.
1754
1788
  # @return [UserInformationList]
1755
- def update_users(account_id, user_information_list)
1756
- data, _status_code, _headers = update_users_with_http_info(account_id, user_information_list)
1789
+ def update_users(account_id, user_information_list, options = DocuSign_eSign::UpdateUsersOptions.default)
1790
+ data, _status_code, _headers = update_users_with_http_info(account_id, user_information_list, options)
1757
1791
  return data
1758
1792
  end
1759
1793
 
@@ -1761,8 +1795,9 @@ module DocuSign_eSign
1761
1795
  #
1762
1796
  # @param account_id The external account number (int) or account ID Guid.
1763
1797
  # @param user_information_list (optional parameter)
1798
+ # @param DocuSign_eSign::UpdateUsersOptions Options for modifying the behavior of the function.
1764
1799
  # @return [Array<(UserInformationList, Fixnum, Hash)>] UserInformationList data, response status code and response headers
1765
- def update_users_with_http_info(account_id, user_information_list)
1800
+ def update_users_with_http_info(account_id, user_information_list, options = DocuSign_eSign::UpdateUsersOptions.default)
1766
1801
  if @api_client.config.debugging
1767
1802
  @api_client.config.logger.debug "Calling API: UsersApi.update_users ..."
1768
1803
  end
@@ -1773,6 +1808,7 @@ module DocuSign_eSign
1773
1808
 
1774
1809
  # query parameters
1775
1810
  query_params = {}
1811
+ query_params[:'allow_all_languages'] = options.allow_all_languages if !options.allow_all_languages.nil?
1776
1812
 
1777
1813
  # header parameters
1778
1814
  header_params = {}