Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ All notable changes to this project will be documented in this file.

See [DocuSign Support Center](https://support.docusign.com/en/releasenotes/) for Product Release Notes.

## [v5.8.0] - eSignature API v2.1-26.1.00.00 - 2026-03-05
### Changed
- Added support for version v2.1-26.1.00.00 of the DocuSign ESignature API.
- Updated the SDK release version.

## [v5.7.0] - eSignature API v2.1-25.4.01.00 - 2026-01-19
### Changed
- Added support for version v2.1-25.4.01.00 of the DocuSign ESignature API.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ This client SDK is provided as open source, which enables you to customize its f
<a id="versionInformation"></a>
### Version Information
- **API version**: v2.1
- **Latest SDK version**: 5.7.0
- **Latest SDK version**: 5.8.0

<a id="requirements"></a>
## Requirements
Expand Down
5 changes: 5 additions & 0 deletions lib/docusign_esign.rb
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@
require 'docusign_esign/models/doc_gen_form_field_row_value'
require 'docusign_esign/models/doc_gen_form_field_validation'
require 'docusign_esign/models/doc_gen_form_fields'
require 'docusign_esign/models/doc_gen_format'
require 'docusign_esign/models/doc_gen_syntax_error'
require 'docusign_esign/models/document'
require 'docusign_esign/models/document_fields_information'
Expand Down Expand Up @@ -266,6 +267,10 @@
require 'docusign_esign/models/envelope_view_tagger_settings'
require 'docusign_esign/models/envelope_view_template_settings'
require 'docusign_esign/models/envelopes_information'
require 'docusign_esign/models/envelopes_shares_request'
require 'docusign_esign/models/envelopes_shares_request_item'
require 'docusign_esign/models/envelopes_shares_response'
require 'docusign_esign/models/envelopes_shares_response_item'
require 'docusign_esign/models/error_details'
require 'docusign_esign/models/event_notification'
require 'docusign_esign/models/event_result'
Expand Down
55 changes: 55 additions & 0 deletions lib/docusign_esign/api/envelopes_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1476,6 +1476,61 @@ def create_envelope_workflow_step_definition_with_http_info(account_id, envelope
return data, status_code, headers
end

# Creates new envelopes shares
#
# @param account_id The external account number (int) or account ID Guid.
# @param envelope_id The envelopeId Guid of the envelope being accessed.
# @param envelopes_shares_request (optional parameter)
# @return [EnvelopesSharesResponse]
def create_envelopes_shares(account_id, envelope_id, envelopes_shares_request)
data, _status_code, _headers = create_envelopes_shares_with_http_info(account_id, envelope_id, envelopes_shares_request)
return data
end

# Creates new envelopes shares
#
# @param account_id The external account number (int) or account ID Guid.
# @param envelope_id The envelopeId Guid of the envelope being accessed.
# @param envelopes_shares_request (optional parameter)
# @return [Array<(EnvelopesSharesResponse, Fixnum, Hash)>] EnvelopesSharesResponse data, response status code and response headers
def create_envelopes_shares_with_http_info(account_id, envelope_id, envelopes_shares_request)
if @api_client.config.debugging
@api_client.config.logger.debug "Calling API: EnvelopesApi.create_envelopes_shares ..."
end
# verify the required parameter 'account_id' is set
fail ArgumentError, "Missing the required parameter 'account_id' when calling EnvelopesApi.create_envelopes_shares" if account_id.nil?
# verify the required parameter 'envelope_id' is set
fail ArgumentError, "Missing the required parameter 'envelope_id' when calling EnvelopesApi.create_envelopes_shares" if envelope_id.nil?
# resource path
local_var_path = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/shares".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'envelopeId' + '}', envelope_id.to_s)

# query parameters
query_params = {}

# header parameters
header_params = {}
# HTTP header 'Accept' (if needed)
header_params['Accept'] = @api_client.select_header_accept(['application/json'])

# form parameters
form_params = {}

# http body (model)
post_body = @api_client.object_to_http_body(envelopes_shares_request)
auth_names = []
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,
:body => post_body,
:auth_names => auth_names,
:return_type => 'EnvelopesSharesResponse')
if @api_client.config.debugging
@api_client.config.logger.debug "API called: EnvelopesApi#create_envelopes_shares\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end

# Submits a batch of historical envelopes for republish to an adhoc config.
#
# @param account_id The external account number (int) or account ID Guid.
Expand Down
2 changes: 1 addition & 1 deletion lib/docusign_esign/client/api_client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class ApiClient
# @option config [Configuration] Configuration for initializing the object, default to Configuration.default
def initialize(config = Configuration.default)
@config = config
@user_agent = "Swagger-Codegen/v2.1/5.7.0/ruby-#{RUBY_VERSION}p#{RUBY_PATCHLEVEL}"
@user_agent = "Swagger-Codegen/v2.1/5.8.0/ruby-#{RUBY_VERSION}p#{RUBY_PATCHLEVEL}"
@default_headers = {
'Content-Type' => "application/json",
'User-Agent' => @user_agent
Expand Down
Loading
Loading