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
@@ -1,5 +1,10 @@
# DocuSign C# Client Changelog

## [v10.0.0] - eSignature API v2.1-26.2.00.00 - 2026-06-01
### Changed
- Added support for version v2.1-26.2.00.00 of the DocuSign ESignature API.
- Updated the SDK release version.

## [v9.0.0] - eSignature API v2.1-26.1.02.00 - 2026-05-04
### Removed
- Removed the deprecated `ListRecipientNamesByEmail` endpoint (`/v2.1/accounts/{accountId}/recipient_names`).
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,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 (Including prerelease)**: 9.0.0
- **Latest SDK version (Including prerelease)**: 10.0.0

<a id="requirements"></a>
### Requirements
Expand Down
10 changes: 5 additions & 5 deletions sdk/DocuSign.eSign.sln
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2012
VisualStudioVersion = 12.0.0.0
MinimumVisualStudioVersion = 10.0.0.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DocuSign.eSign", "src\DocuSign.eSign\DocuSign.eSign.csproj", "{7D2E85BD-F5BE-450C-A6C9-00DF5A133FD7}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DocuSign.eSign", "src\DocuSign.eSign\DocuSign.eSign.csproj", "{F790A71F-1180-4AF0-97EB-B72D3068C3FD}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{7D2E85BD-F5BE-450C-A6C9-00DF5A133FD7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{7D2E85BD-F5BE-450C-A6C9-00DF5A133FD7}.Debug|Any CPU.Build.0 = Debug|Any CPU
{7D2E85BD-F5BE-450C-A6C9-00DF5A133FD7}.Release|Any CPU.ActiveCfg = Release|Any CPU
{7D2E85BD-F5BE-450C-A6C9-00DF5A133FD7}.Release|Any CPU.Build.0 = Release|Any CPU
{F790A71F-1180-4AF0-97EB-B72D3068C3FD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F790A71F-1180-4AF0-97EB-B72D3068C3FD}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F790A71F-1180-4AF0-97EB-B72D3068C3FD}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F790A71F-1180-4AF0-97EB-B72D3068C3FD}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
7,929 changes: 4,565 additions & 3,364 deletions sdk/src/DocuSign.eSign/Api/EnvelopesApi.cs

Large diffs are not rendered by default.

40 changes: 20 additions & 20 deletions sdk/src/DocuSign.eSign/Api/GroupsApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ public interface IGroupsApi : IApiAccessor
/// <param name="groupId">The ID of the group being accessed.</param>
/// <param name="options">Options for modifying the behavior of the function.</param>
/// <returns></returns>
UsersResponse ListGroupUsers(string accountId, string groupId, GroupsApi.ListGroupUsersOptions options = null);
GroupUsersResponse ListGroupUsers(string accountId, string groupId, GroupsApi.ListGroupUsersOptions options = null);

/// <summary>
/// Gets a list of users in a group.
Expand All @@ -166,7 +166,7 @@ public interface IGroupsApi : IApiAccessor
/// <param name="groupId">The ID of the group being accessed.</param>
/// <param name="options">Options for modifying the behavior of the function.</param>
/// <returns>ApiResponse of </returns>
ApiResponse<UsersResponse> ListGroupUsersWithHttpInfo(string accountId, string groupId, GroupsApi.ListGroupUsersOptions options = null);
ApiResponse<GroupUsersResponse> ListGroupUsersWithHttpInfo(string accountId, string groupId, GroupsApi.ListGroupUsersOptions options = null);
/// <summary>
/// Gets information about groups associated with the account.
/// </summary>
Expand Down Expand Up @@ -394,8 +394,8 @@ public interface IGroupsApi : IApiAccessor
/// <param name="accountId">The external account number (int) or account ID Guid.</param>
/// <param name="groupId">The ID of the group being accessed.</param>
/// <param name="options">Options for modifying the behavior of the function.</param>
/// <returns>Task of UsersResponse</returns>
System.Threading.Tasks.Task<UsersResponse> ListGroupUsersAsync(string accountId, string groupId, GroupsApi.ListGroupUsersOptions options = null);
/// <returns>Task of GroupUsersResponse</returns>
System.Threading.Tasks.Task<GroupUsersResponse> ListGroupUsersAsync(string accountId, string groupId, GroupsApi.ListGroupUsersOptions options = null);

/// <summary>
/// Gets a list of users in a group.
Expand All @@ -407,8 +407,8 @@ public interface IGroupsApi : IApiAccessor
/// <param name="accountId">The external account number (int) or account ID Guid.</param>
/// <param name="groupId">The ID of the group being accessed.</param>
/// <param name="options">Options for modifying the behavior of the function.</param>
/// <returns>Task of ApiResponse (UsersResponse)</returns>
System.Threading.Tasks.Task<ApiResponse<UsersResponse>> ListGroupUsersAsyncWithHttpInfo(string accountId, string groupId, GroupsApi.ListGroupUsersOptions options = null);
/// <returns>Task of ApiResponse (GroupUsersResponse)</returns>
System.Threading.Tasks.Task<ApiResponse<GroupUsersResponse>> ListGroupUsersAsyncWithHttpInfo(string accountId, string groupId, GroupsApi.ListGroupUsersOptions options = null);
/// <summary>
/// Gets information about groups associated with the account.
/// </summary>
Expand Down Expand Up @@ -1458,10 +1458,10 @@ public class ListGroupUsersOptions
/// <param name="accountId">The external account number (int) or account ID Guid.</param>
/// <param name="groupId">The ID of the group being accessed.</param>
/// <param name="options">Options for modifying the behavior of the function.</param>
/// <returns>UsersResponse</returns>
public UsersResponse ListGroupUsers(string accountId, string groupId, GroupsApi.ListGroupUsersOptions options = null)
/// <returns>GroupUsersResponse</returns>
public GroupUsersResponse ListGroupUsers(string accountId, string groupId, GroupsApi.ListGroupUsersOptions options = null)
{
ApiResponse<UsersResponse> localVarResponse = ListGroupUsersWithHttpInfo(accountId, groupId, options);
ApiResponse<GroupUsersResponse> localVarResponse = ListGroupUsersWithHttpInfo(accountId, groupId, options);
return localVarResponse.Data;
}

Expand All @@ -1472,8 +1472,8 @@ public UsersResponse ListGroupUsers(string accountId, string groupId, GroupsApi.
/// <param name="accountId">The external account number (int) or account ID Guid.</param>
/// <param name="groupId">The ID of the group being accessed.</param>
/// <param name="options">Options for modifying the behavior of the function.</param>
/// <returns>ApiResponse of UsersResponse</returns>
public ApiResponse<UsersResponse> ListGroupUsersWithHttpInfo(string accountId, string groupId, GroupsApi.ListGroupUsersOptions options = null)
/// <returns>ApiResponse of GroupUsersResponse</returns>
public ApiResponse<GroupUsersResponse> ListGroupUsersWithHttpInfo(string accountId, string groupId, GroupsApi.ListGroupUsersOptions options = null)
{
// verify the required parameter 'accountId' is set
if (accountId == null)
Expand Down Expand Up @@ -1535,9 +1535,9 @@ public ApiResponse<UsersResponse> ListGroupUsersWithHttpInfo(string accountId, s
if (exception != null) throw exception;
}

return new ApiResponse<UsersResponse>(localVarStatusCode,
return new ApiResponse<GroupUsersResponse>(localVarStatusCode,
localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()),
(UsersResponse)this.ApiClient.Deserialize(localVarResponse, typeof(UsersResponse)));
(GroupUsersResponse)this.ApiClient.Deserialize(localVarResponse, typeof(GroupUsersResponse)));
}

/// <summary>
Expand All @@ -1547,10 +1547,10 @@ public ApiResponse<UsersResponse> ListGroupUsersWithHttpInfo(string accountId, s
/// <param name="accountId">The external account number (int) or account ID Guid.</param>
/// <param name="groupId">The ID of the group being accessed.</param>
/// <param name="options">Options for modifying the behavior of the function.</param>
/// <returns>Task of UsersResponse</returns>
public async System.Threading.Tasks.Task<UsersResponse> ListGroupUsersAsync(string accountId, string groupId, GroupsApi.ListGroupUsersOptions options = null)
/// <returns>Task of GroupUsersResponse</returns>
public async System.Threading.Tasks.Task<GroupUsersResponse> ListGroupUsersAsync(string accountId, string groupId, GroupsApi.ListGroupUsersOptions options = null)
{
ApiResponse<UsersResponse> localVarResponse = await ListGroupUsersAsyncWithHttpInfo(accountId, groupId, options);
ApiResponse<GroupUsersResponse> localVarResponse = await ListGroupUsersAsyncWithHttpInfo(accountId, groupId, options);
return localVarResponse.Data;
}

Expand All @@ -1561,8 +1561,8 @@ public async System.Threading.Tasks.Task<UsersResponse> ListGroupUsersAsync(stri
/// <param name="accountId">The external account number (int) or account ID Guid.</param>
/// <param name="groupId">The ID of the group being accessed.</param>
/// <param name="options">Options for modifying the behavior of the function.</param>
/// <returns>Task of ApiResponse (UsersResponse)</returns>
public async System.Threading.Tasks.Task<ApiResponse<UsersResponse>> ListGroupUsersAsyncWithHttpInfo(string accountId, string groupId, GroupsApi.ListGroupUsersOptions options = null)
/// <returns>Task of ApiResponse (GroupUsersResponse)</returns>
public async System.Threading.Tasks.Task<ApiResponse<GroupUsersResponse>> ListGroupUsersAsyncWithHttpInfo(string accountId, string groupId, GroupsApi.ListGroupUsersOptions options = null)
{
// verify the required parameter 'accountId' is set
if (accountId == null)
Expand Down Expand Up @@ -1624,9 +1624,9 @@ public async System.Threading.Tasks.Task<ApiResponse<UsersResponse>> ListGroupUs
if (exception != null) throw exception;
}

return new ApiResponse<UsersResponse>(localVarStatusCode,
return new ApiResponse<GroupUsersResponse>(localVarStatusCode,
localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()),
(UsersResponse)this.ApiClient.Deserialize(localVarResponse, typeof(UsersResponse)));
(GroupUsersResponse)this.ApiClient.Deserialize(localVarResponse, typeof(GroupUsersResponse)));
}

/// <summary>
Expand Down
2 changes: 1 addition & 1 deletion sdk/src/DocuSign.eSign/Client/Configuration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public class Configuration
/// Version of the package.
/// </summary>
/// <value>Version of the package.</value>
public const string Version = "9.0.0";
public const string Version = "10.0.0";

/// <summary>
/// Identifier for ISO 8601 DateTime Format
Expand Down
4 changes: 2 additions & 2 deletions sdk/src/DocuSign.eSign/DocuSign.eSign.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<RootNamespace>DocuSign.eSign</RootNamespace>
<AssemblyName>DocuSign.eSign</AssemblyName>
<NeutralLanguage>en-US</NeutralLanguage>
<VersionPrefix>9.0.0</VersionPrefix>
<VersionPrefix>10.0.0</VersionPrefix>
<VersionSuffix/>
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
Expand All @@ -26,7 +26,7 @@
<PackageLicenseUrl>https://github.com/docusign/docusign-esign-csharp-client/blob/master/LICENSE</PackageLicenseUrl>
<RepositoryUrl>https://github.com/docusign/docusign-esign-csharp-client</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageReleaseNotes>[v9.0.0] - ESignature API v2.1-26.1.02.00 - 5/3/2026</PackageReleaseNotes>
<PackageReleaseNotes>[v10.0.0] - ESignature API v2.1-26.2.00.00 - 6/1/2026</PackageReleaseNotes>
</PropertyGroup>
<PropertyGroup Condition=" '$(TargetFramework)' == 'net462'">
<DefineConstants>NET462</DefineConstants>
Expand Down
107 changes: 106 additions & 1 deletion sdk/src/DocuSign.eSign/Model/AccountSettingsInformation.cs

Large diffs are not rendered by default.

154 changes: 154 additions & 0 deletions sdk/src/DocuSign.eSign/Model/AdditionalSetting.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,154 @@
/*
* Docusign eSignature REST API
*
* The Docusign eSignature REST API provides you with a powerful, convenient, and simple Web services API for interacting with Docusign.
*
* OpenAPI spec version: v2.1
* Contact: devcenter@docusign.com
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/

using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Text.RegularExpressions;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations;

namespace DocuSign.eSign.Model
{
/// <summary>
/// AdditionalSetting
/// </summary>
[DataContract]
public partial class AdditionalSetting : IEquatable<AdditionalSetting>, IValidatableObject
{
public AdditionalSetting()
{
// Empty Constructor
}

/// <summary>
/// Initializes a new instance of the <see cref="AdditionalSetting" /> class.
/// </summary>
/// <param name="Metadata">Metadata.</param>
/// <param name="Name">Name.</param>
/// <param name="Value">Specifies the value of the tab. .</param>
public AdditionalSetting(SettingsMetadata Metadata = default(SettingsMetadata), string Name = default(string), string Value = default(string))
{
this.Metadata = Metadata;
this.Name = Name;
this.Value = Value;
}

/// <summary>
/// Gets or Sets Metadata
/// </summary>
[DataMember(Name="metadata", EmitDefaultValue=false)]
public SettingsMetadata Metadata { get; set; }
/// <summary>
/// Gets or Sets Name
/// </summary>
[DataMember(Name="name", EmitDefaultValue=false)]
public string Name { get; set; }
/// <summary>
/// Specifies the value of the tab.
/// </summary>
/// <value>Specifies the value of the tab. </value>
[DataMember(Name="value", EmitDefaultValue=false)]
public string Value { get; set; }
/// <summary>
/// Returns the string presentation of the object
/// </summary>
/// <returns>String presentation of the object</returns>
public override string ToString()
{
var sb = new StringBuilder();
sb.Append("class AdditionalSetting {\n");
sb.Append(" Metadata: ").Append(Metadata).Append("\n");
sb.Append(" Name: ").Append(Name).Append("\n");
sb.Append(" Value: ").Append(Value).Append("\n");
sb.Append("}\n");
return sb.ToString();
}

/// <summary>
/// Returns the JSON string presentation of the object
/// </summary>
/// <returns>JSON string presentation of the object</returns>
public string ToJson()
{
return JsonConvert.SerializeObject(this, Formatting.Indented);
}

/// <summary>
/// Returns true if objects are equal
/// </summary>
/// <param name="obj">Object to be compared</param>
/// <returns>Boolean</returns>
public override bool Equals(object obj)
{
// credit: http://stackoverflow.com/a/10454552/677735
return this.Equals(obj as AdditionalSetting);
}

/// <summary>
/// Returns true if AdditionalSetting instances are equal
/// </summary>
/// <param name="other">Instance of AdditionalSetting to be compared</param>
/// <returns>Boolean</returns>
public bool Equals(AdditionalSetting other)
{
// credit: http://stackoverflow.com/a/10454552/677735
if (other == null)
return false;

return
(
this.Metadata == other.Metadata ||
this.Metadata != null &&
this.Metadata.Equals(other.Metadata)
) &&
(
this.Name == other.Name ||
this.Name != null &&
this.Name.Equals(other.Name)
) &&
(
this.Value == other.Value ||
this.Value != null &&
this.Value.Equals(other.Value)
);
}

/// <summary>
/// Gets the hash code
/// </summary>
/// <returns>Hash code</returns>
public override int GetHashCode()
{
// credit: http://stackoverflow.com/a/263416/677735
unchecked // Overflow is fine, just wrap
{
int hash = 41;
// Suitable nullity checks etc, of course :)
if (this.Metadata != null)
hash = hash * 59 + this.Metadata.GetHashCode();
if (this.Name != null)
hash = hash * 59 + this.Name.GetHashCode();
if (this.Value != null)
hash = hash * 59 + this.Value.GetHashCode();
return hash;
}
}

public IEnumerable<ValidationResult> Validate(ValidationContext validationContext)
{
yield break;
}
}
}
Loading