Skip to content
Closed
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,6 +1,11 @@
# DocuSign Admin C# Client Changelog
See [DocuSign Support Center](https://support.docusign.com/en/releasenotes/) for Product Release Notes.

## [v2.1.0] - Admin API v2.1-1.4.3 - 2026-03-03
### Changed
- Added support for version v2.1-1.4.3 of the DocuSign Admin API.
- Updated the SDK release version.

## [v2.0.2] - Admin API v2.1-1.4.1 - 2024-11-15
### Changed
- Resolved an issue that prevented the use of `RequestJWTApplicationToken` with a production account URL.
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)**: 2.0.2
- **Latest SDK version (Including prerelease)**: 2.1.0

<a id="requirements"></a>
### Requirements
Expand Down
10 changes: 5 additions & 5 deletions sdk/DocuSign.Admin.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.Admin", "src\DocuSign.Admin\DocuSign.Admin.csproj", "{1AEC973B-1BDF-4172-8FDF-0FC4FD2E9FB9}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DocuSign.Admin", "src\DocuSign.Admin\DocuSign.Admin.csproj", "{7AA0EF08-F8E7-4FC0-8A1A-A1F9B15D8422}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{1AEC973B-1BDF-4172-8FDF-0FC4FD2E9FB9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1AEC973B-1BDF-4172-8FDF-0FC4FD2E9FB9}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1AEC973B-1BDF-4172-8FDF-0FC4FD2E9FB9}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1AEC973B-1BDF-4172-8FDF-0FC4FD2E9FB9}.Release|Any CPU.Build.0 = Release|Any CPU
{7AA0EF08-F8E7-4FC0-8A1A-A1F9B15D8422}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{7AA0EF08-F8E7-4FC0-8A1A-A1F9B15D8422}.Debug|Any CPU.Build.0 = Debug|Any CPU
{7AA0EF08-F8E7-4FC0-8A1A-A1F9B15D8422}.Release|Any CPU.ActiveCfg = Release|Any CPU
{7AA0EF08-F8E7-4FC0-8A1A-A1F9B15D8422}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
2,671 changes: 2,671 additions & 0 deletions sdk/src/DocuSign.Admin/Api/OrgConnectApi.cs

Large diffs are not rendered by default.

60 changes: 50 additions & 10 deletions sdk/src/DocuSign.Admin/Api/UsersApi.cs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion sdk/src/DocuSign.Admin/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 = "2.0.2";
public const string Version = "2.1.0";

/// <summary>
/// Identifier for ISO 8601 DateTime Format
Expand Down
6 changes: 3 additions & 3 deletions sdk/src/DocuSign.Admin/DocuSign.Admin.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<Description>The Docusign Admin API enables you to automate user management with your existing systems while ensuring governance and compliance.</Description>
<Company>DocuSign Inc.</Company>
<Owners>DocuSign</Owners>
<Copyright>Copyright © Docusign 2024</Copyright>
<Copyright>Copyright © Docusign 2026</Copyright>
<AssemblyTitle>DocuSign.Admin</AssemblyTitle>
<Authors>DocuSign</Authors>
<OutputType>Library</OutputType>
Expand All @@ -16,7 +16,7 @@
<RootNamespace>DocuSign.Admin</RootNamespace>
<AssemblyName>DocuSign.Admin</AssemblyName>
<NeutralLanguage>en-US</NeutralLanguage>
<VersionPrefix>2.0.2</VersionPrefix>
<VersionPrefix>2.1.0</VersionPrefix>
<VersionSuffix/>
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
Expand All @@ -26,7 +26,7 @@
<PackageLicenseUrl>https://github.com/docusign/docusign-admin-csharp-client/blob/master/LICENSE</PackageLicenseUrl>
<RepositoryUrl>https://github.com/docusign/docusign-admin-csharp-client</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageReleaseNotes>[v2.0.2] - Admin API v2.1-1.4.1 - 11/15/2024</PackageReleaseNotes>
<PackageReleaseNotes>[v2.1.0] - Admin API v2.1-1.4.3 - 3/3/2026</PackageReleaseNotes>
</PropertyGroup>
<PropertyGroup Condition=" '$(TargetFramework)' == 'net462'">
<DefineConstants>NET462</DefineConstants>
Expand Down
62 changes: 61 additions & 1 deletion sdk/src/DocuSign.Admin/Model/AddUserResponseAccountProperties.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,20 @@ public AddUserResponseAccountProperties()
/// <param name="SiteId">SiteId.</param>
/// <param name="CompanyName">CompanyName.</param>
/// <param name="JobTitle">JobTitle.</param>
public AddUserResponseAccountProperties(Guid? Id = default(Guid?), int? SiteId = default(int?), string CompanyName = default(string), string JobTitle = default(string))
/// <param name="LicenseType">LicenseType.</param>
/// <param name="SubscriptionId">SubscriptionId.</param>
/// <param name="PlanName">PlanName.</param>
/// <param name="LicenseStatus">LicenseStatus.</param>
public AddUserResponseAccountProperties(Guid? Id = default(Guid?), int? SiteId = default(int?), string CompanyName = default(string), string JobTitle = default(string), string LicenseType = default(string), string SubscriptionId = default(string), string PlanName = default(string), string LicenseStatus = default(string))
{
this.Id = Id;
this.SiteId = SiteId;
this.CompanyName = CompanyName;
this.JobTitle = JobTitle;
this.LicenseType = LicenseType;
this.SubscriptionId = SubscriptionId;
this.PlanName = PlanName;
this.LicenseStatus = LicenseStatus;
}

/// <summary>
Expand Down Expand Up @@ -78,6 +86,26 @@ public AddUserResponseAccountProperties()
[DataMember(Name="job_title", EmitDefaultValue=false)]
public string JobTitle { get; set; }
/// <summary>
/// Gets or Sets LicenseType
/// </summary>
[DataMember(Name="license_type", EmitDefaultValue=false)]
public string LicenseType { get; set; }
/// <summary>
/// Gets or Sets SubscriptionId
/// </summary>
[DataMember(Name="subscription_id", EmitDefaultValue=false)]
public string SubscriptionId { get; set; }
/// <summary>
/// Gets or Sets PlanName
/// </summary>
[DataMember(Name="plan_name", EmitDefaultValue=false)]
public string PlanName { get; set; }
/// <summary>
/// Gets or Sets LicenseStatus
/// </summary>
[DataMember(Name="license_status", EmitDefaultValue=false)]
public string LicenseStatus { get; set; }
/// <summary>
/// Returns the string presentation of the object
/// </summary>
/// <returns>String presentation of the object</returns>
Expand All @@ -91,6 +119,10 @@ public override string ToString()
sb.Append(" DsGroups: ").Append(DsGroups).Append("\n");
sb.Append(" CompanyName: ").Append(CompanyName).Append("\n");
sb.Append(" JobTitle: ").Append(JobTitle).Append("\n");
sb.Append(" LicenseType: ").Append(LicenseType).Append("\n");
sb.Append(" SubscriptionId: ").Append(SubscriptionId).Append("\n");
sb.Append(" PlanName: ").Append(PlanName).Append("\n");
sb.Append(" LicenseStatus: ").Append(LicenseStatus).Append("\n");
sb.Append("}\n");
return sb.ToString();
}
Expand Down Expand Up @@ -156,6 +188,26 @@ public bool Equals(AddUserResponseAccountProperties other)
this.JobTitle == other.JobTitle ||
this.JobTitle != null &&
this.JobTitle.Equals(other.JobTitle)
) &&
(
this.LicenseType == other.LicenseType ||
this.LicenseType != null &&
this.LicenseType.Equals(other.LicenseType)
) &&
(
this.SubscriptionId == other.SubscriptionId ||
this.SubscriptionId != null &&
this.SubscriptionId.Equals(other.SubscriptionId)
) &&
(
this.PlanName == other.PlanName ||
this.PlanName != null &&
this.PlanName.Equals(other.PlanName)
) &&
(
this.LicenseStatus == other.LicenseStatus ||
this.LicenseStatus != null &&
this.LicenseStatus.Equals(other.LicenseStatus)
);
}

Expand All @@ -182,6 +234,14 @@ public override int GetHashCode()
hash = hash * 59 + this.CompanyName.GetHashCode();
if (this.JobTitle != null)
hash = hash * 59 + this.JobTitle.GetHashCode();
if (this.LicenseType != null)
hash = hash * 59 + this.LicenseType.GetHashCode();
if (this.SubscriptionId != null)
hash = hash * 59 + this.SubscriptionId.GetHashCode();
if (this.PlanName != null)
hash = hash * 59 + this.PlanName.GetHashCode();
if (this.LicenseStatus != null)
hash = hash * 59 + this.LicenseStatus.GetHashCode();
return hash;
}
}
Expand Down
138 changes: 138 additions & 0 deletions sdk/src/DocuSign.Admin/Model/ConnectEventData.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,138 @@
/*
* Docusign Admin API
*
* An API for an organization administrator to manage organizations, accounts and users
*
* OpenAPI spec version: v2.1
* Contact: [email protected]
* 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.Admin.Model
{
/// <summary>
/// ConnectEventData
/// </summary>
[DataContract]
public partial class ConnectEventData : IEquatable<ConnectEventData>, IValidatableObject
{
public ConnectEventData()
{
// Empty Constructor
}

/// <summary>
/// Initializes a new instance of the <see cref="ConnectEventData" /> class.
/// </summary>
/// <param name="Version">Version.</param>
/// <param name="IncludeData">IncludeData.</param>
public ConnectEventData(string Version = default(string), List<string> IncludeData = default(List<string>))
{
this.Version = Version;
this.IncludeData = IncludeData;
}

/// <summary>
/// Gets or Sets Version
/// </summary>
[DataMember(Name="version", EmitDefaultValue=false)]
public string Version { get; set; }
/// <summary>
/// Gets or Sets IncludeData
/// </summary>
[DataMember(Name="includeData", EmitDefaultValue=false)]
public List<string> IncludeData { 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 ConnectEventData {\n");
sb.Append(" Version: ").Append(Version).Append("\n");
sb.Append(" IncludeData: ").Append(IncludeData).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 ConnectEventData);
}

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

return
(
this.Version == other.Version ||
this.Version != null &&
this.Version.Equals(other.Version)
) &&
(
this.IncludeData == other.IncludeData ||
this.IncludeData != null &&
this.IncludeData.SequenceEqual(other.IncludeData)
);
}

/// <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.Version != null)
hash = hash * 59 + this.Version.GetHashCode();
if (this.IncludeData != null)
hash = hash * 59 + this.IncludeData.GetHashCode();
return hash;
}
}

public IEnumerable<ValidationResult> Validate(ValidationContext validationContext)
{
yield break;
}
}
}
17 changes: 16 additions & 1 deletion sdk/src/DocuSign.Admin/Model/DSGroupResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ public DSGroupResponse()
/// <param name="UserCount">UserCount.</param>
/// <param name="ExternalAccountId">ExternalAccountId.</param>
/// <param name="AccountName">AccountName.</param>
public DSGroupResponse(Guid? DsGroupId = default(Guid?), Guid? AccountId = default(Guid?), string SourceProductName = default(string), string GroupId = default(string), string GroupName = default(string), string Description = default(string), bool? IsAdmin = default(bool?), DateTime? LastModifiedOn = default(DateTime?), int? UserCount = default(int?), long? ExternalAccountId = default(long?), string AccountName = default(string))
/// <param name="IsManagedByScim">IsManagedByScim.</param>
public DSGroupResponse(Guid? DsGroupId = default(Guid?), Guid? AccountId = default(Guid?), string SourceProductName = default(string), string GroupId = default(string), string GroupName = default(string), string Description = default(string), bool? IsAdmin = default(bool?), DateTime? LastModifiedOn = default(DateTime?), int? UserCount = default(int?), long? ExternalAccountId = default(long?), string AccountName = default(string), bool? IsManagedByScim = default(bool?))
{
this.DsGroupId = DsGroupId;
this.AccountId = AccountId;
Expand All @@ -59,6 +60,7 @@ public DSGroupResponse()
this.UserCount = UserCount;
this.ExternalAccountId = ExternalAccountId;
this.AccountName = AccountName;
this.IsManagedByScim = IsManagedByScim;
}

/// <summary>
Expand Down Expand Up @@ -117,6 +119,11 @@ public DSGroupResponse()
[DataMember(Name="account_name", EmitDefaultValue=false)]
public string AccountName { get; set; }
/// <summary>
/// Gets or Sets IsManagedByScim
/// </summary>
[DataMember(Name="is_managed_by_scim", EmitDefaultValue=false)]
public bool? IsManagedByScim { get; set; }
/// <summary>
/// Returns the string presentation of the object
/// </summary>
/// <returns>String presentation of the object</returns>
Expand All @@ -135,6 +142,7 @@ public override string ToString()
sb.Append(" UserCount: ").Append(UserCount).Append("\n");
sb.Append(" ExternalAccountId: ").Append(ExternalAccountId).Append("\n");
sb.Append(" AccountName: ").Append(AccountName).Append("\n");
sb.Append(" IsManagedByScim: ").Append(IsManagedByScim).Append("\n");
sb.Append("}\n");
return sb.ToString();
}
Expand Down Expand Up @@ -225,6 +233,11 @@ public bool Equals(DSGroupResponse other)
this.AccountName == other.AccountName ||
this.AccountName != null &&
this.AccountName.Equals(other.AccountName)
) &&
(
this.IsManagedByScim == other.IsManagedByScim ||
this.IsManagedByScim != null &&
this.IsManagedByScim.Equals(other.IsManagedByScim)
);
}

Expand Down Expand Up @@ -261,6 +274,8 @@ public override int GetHashCode()
hash = hash * 59 + this.ExternalAccountId.GetHashCode();
if (this.AccountName != null)
hash = hash * 59 + this.AccountName.GetHashCode();
if (this.IsManagedByScim != null)
hash = hash * 59 + this.IsManagedByScim.GetHashCode();
return hash;
}
}
Expand Down
Loading