Skip to content

Commit

Permalink
Version 6.3.0-v2.1-23.1.01.00 release (#402)
Browse files Browse the repository at this point in the history
Co-authored-by: root <[email protected]>
  • Loading branch information
InbarGazit and root authored Mar 17, 2023
1 parent a16328e commit 9a68299
Show file tree
Hide file tree
Showing 133 changed files with 1,636 additions and 722 deletions.
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

## [v6.3.0] - eSignature API v2.1-23.1.01.00 - 2023-03-17
### Changed
- Added support for version v2.1-23.1.01.00 of the DocuSign ESignature API.
- Updated the SDK release version.

## [v6.2.0] - eSignature API v2.1-22.4.02.00 - 2023-02-02
### Changed
- Added support for version v2.1-22.4.02.00 of the DocuSign ESignature API.
Expand Down
32 changes: 16 additions & 16 deletions sdk/src/DocuSign.eSign/Api/AccountsApi.cs

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions sdk/src/DocuSign.eSign/Api/BillingApi.cs

Large diffs are not rendered by default.

368 changes: 359 additions & 9 deletions sdk/src/DocuSign.eSign/Api/EnvelopesApi.cs

Large diffs are not rendered by default.

169 changes: 0 additions & 169 deletions sdk/src/DocuSign.eSign/Api/TemplatesApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -307,31 +307,6 @@ public interface ITemplatesApi : IApiAccessor
/// <returns>ApiResponse of </returns>
ApiResponse<DocumentHtmlDefinitions> CreateTemplateResponsiveHtmlPreviewWithHttpInfo(string accountId, string templateId, DocumentHtmlDefinition documentHtmlDefinition = null);
/// <summary>
/// Deletes the bulk recipient list on a template.
/// </summary>
/// <remarks>
/// Deletes the bulk recipient list on a template.
/// </remarks>
/// <exception cref="DocuSign.eSign.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="accountId">The external account number (int) or account ID Guid.</param>
/// <param name="templateId">The ID of the template being accessed.</param>
/// <param name="recipientId">The ID of the recipient being accessed.</param>
/// <returns></returns>
BulkRecipientsUpdateResponse DeleteBulkRecipients(string accountId, string templateId, string recipientId);

/// <summary>
/// Deletes the bulk recipient list on a template.
/// </summary>
/// <remarks>
/// Deletes the bulk recipient list on a template.
/// </remarks>
/// <exception cref="DocuSign.eSign.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="accountId">The external account number (int) or account ID Guid.</param>
/// <param name="templateId">The ID of the template being accessed.</param>
/// <param name="recipientId">The ID of the recipient being accessed.</param>
/// <returns>ApiResponse of </returns>
ApiResponse<BulkRecipientsUpdateResponse> DeleteBulkRecipientsWithHttpInfo(string accountId, string templateId, string recipientId);
/// <summary>
/// Deletes envelope custom fields in a template.
/// </summary>
/// <remarks>
Expand Down Expand Up @@ -1603,31 +1578,6 @@ public interface ITemplatesApi : IApiAccessor
/// <returns>Task of ApiResponse (DocumentHtmlDefinitions)</returns>
System.Threading.Tasks.Task<ApiResponse<DocumentHtmlDefinitions>> CreateTemplateResponsiveHtmlPreviewAsyncWithHttpInfo(string accountId, string templateId, DocumentHtmlDefinition documentHtmlDefinition = null);
/// <summary>
/// Deletes the bulk recipient list on a template.
/// </summary>
/// <remarks>
/// Deletes the bulk recipient list on a template.
/// </remarks>
/// <exception cref="DocuSign.eSign.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="accountId">The external account number (int) or account ID Guid.</param>
/// <param name="templateId">The ID of the template being accessed.</param>
/// <param name="recipientId">The ID of the recipient being accessed.</param>
/// <returns>Task of BulkRecipientsUpdateResponse</returns>
System.Threading.Tasks.Task<BulkRecipientsUpdateResponse> DeleteBulkRecipientsAsync(string accountId, string templateId, string recipientId);

/// <summary>
/// Deletes the bulk recipient list on a template.
/// </summary>
/// <remarks>
/// Deletes the bulk recipient list on a template.
/// </remarks>
/// <exception cref="DocuSign.eSign.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="accountId">The external account number (int) or account ID Guid.</param>
/// <param name="templateId">The ID of the template being accessed.</param>
/// <param name="recipientId">The ID of the recipient being accessed.</param>
/// <returns>Task of ApiResponse (BulkRecipientsUpdateResponse)</returns>
System.Threading.Tasks.Task<ApiResponse<BulkRecipientsUpdateResponse>> DeleteBulkRecipientsAsyncWithHttpInfo(string accountId, string templateId, string recipientId);
/// <summary>
/// Deletes envelope custom fields in a template.
/// </summary>
/// <remarks>
Expand Down Expand Up @@ -4062,125 +4012,6 @@ public async System.Threading.Tasks.Task<ApiResponse<DocumentHtmlDefinitions>> C



/// <summary>
/// Deletes the bulk recipient list on a template. Deletes the bulk recipient list on a template.
/// </summary>
/// <exception cref="DocuSign.eSign.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="accountId">The external account number (int) or account ID Guid.</param>
/// <param name="templateId">The ID of the template being accessed.</param>
/// <param name="recipientId">The ID of the recipient being accessed.</param>
/// <returns>BulkRecipientsUpdateResponse</returns>
public BulkRecipientsUpdateResponse DeleteBulkRecipients(string accountId, string templateId, string recipientId)
{
ApiResponse<BulkRecipientsUpdateResponse> localVarResponse = DeleteBulkRecipientsWithHttpInfo(accountId, templateId, recipientId);
return localVarResponse.Data;
}

/// <summary>
/// Deletes the bulk recipient list on a template. Deletes the bulk recipient list on a template.
/// </summary>
/// <exception cref="DocuSign.eSign.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="accountId">The external account number (int) or account ID Guid.</param>
/// <param name="templateId">The ID of the template being accessed.</param>
/// <param name="recipientId">The ID of the recipient being accessed.</param>
/// <returns>ApiResponse of BulkRecipientsUpdateResponse</returns>
public ApiResponse<BulkRecipientsUpdateResponse> DeleteBulkRecipientsWithHttpInfo(string accountId, string templateId, string recipientId)
{
return DeleteBulkRecipientsAsyncWithHttpInfo(accountId, templateId, recipientId)
.ConfigureAwait(false)
.GetAwaiter()
.GetResult();
}

/// <summary>
/// Deletes the bulk recipient list on a template. Deletes the bulk recipient list on a template.
/// </summary>
/// <exception cref="DocuSign.eSign.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="accountId">The external account number (int) or account ID Guid.</param>
/// <param name="templateId">The ID of the template being accessed.</param>
/// <param name="recipientId">The ID of the recipient being accessed.</param>
/// <returns>Task of BulkRecipientsUpdateResponse</returns>
public async System.Threading.Tasks.Task<BulkRecipientsUpdateResponse> DeleteBulkRecipientsAsync(string accountId, string templateId, string recipientId)
{
ApiResponse<BulkRecipientsUpdateResponse> localVarResponse = await DeleteBulkRecipientsAsyncWithHttpInfo(accountId, templateId, recipientId);
return localVarResponse.Data;
}

/// <summary>
/// Deletes the bulk recipient list on a template. Deletes the bulk recipient list on a template.
/// </summary>
/// <exception cref="DocuSign.eSign.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="accountId">The external account number (int) or account ID Guid.</param>
/// <param name="templateId">The ID of the template being accessed.</param>
/// <param name="recipientId">The ID of the recipient being accessed.</param>
/// <returns>Task of ApiResponse (BulkRecipientsUpdateResponse)</returns>
public async System.Threading.Tasks.Task<ApiResponse<BulkRecipientsUpdateResponse>> DeleteBulkRecipientsAsyncWithHttpInfo(string accountId, string templateId, string recipientId)
{
// verify the required parameter 'accountId' is set
if (accountId == null)
throw new ApiException(400, "Missing required parameter 'accountId' when calling TemplatesApi->DeleteBulkRecipients");
// verify the required parameter 'templateId' is set
if (templateId == null)
throw new ApiException(400, "Missing required parameter 'templateId' when calling TemplatesApi->DeleteBulkRecipients");
// verify the required parameter 'recipientId' is set
if (recipientId == null)
throw new ApiException(400, "Missing required parameter 'recipientId' when calling TemplatesApi->DeleteBulkRecipients");

var localVarPath = "/v2.1/accounts/{accountId}/templates/{templateId}/recipients/{recipientId}/bulk_recipients";
var localVarPathParams = new Dictionary<String, String>();
var localVarQueryParams = new Dictionary<String, String>();
var localVarHeaderParams = new Dictionary<String, String>(this.ApiClient.Configuration.DefaultHeader);
var localVarFormParams = new Dictionary<String, String>();
var localVarFileParams = new List<FileParameter>();
Object localVarPostBody = null;
String localVarHttpContentDisposition = string.Empty;

// to determine the Content-Type header
String[] localVarHttpContentTypes = new String[] {
};
String localVarHttpContentType = this.ApiClient.SelectHeaderContentType(localVarHttpContentTypes);

// to determine the Accept header
String[] localVarHttpHeaderAccepts = new String[] {
"application/json"
};
String localVarHttpHeaderAccept = this.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts);
if (localVarHttpHeaderAccept != null)
localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept);

// set "format" to json by default
// e.g. /pet/{petId}.{format} becomes /pet/{petId}.json
localVarPathParams.Add("format", "json");
if (accountId != null) localVarPathParams.Add("accountId", this.ApiClient.ParameterToString(accountId)); // path parameter
if (templateId != null) localVarPathParams.Add("templateId", this.ApiClient.ParameterToString(templateId)); // path parameter
if (recipientId != null) localVarPathParams.Add("recipientId", this.ApiClient.ParameterToString(recipientId)); // path parameter

// authentication (docusignAccessCode) required
// oauth required
if (!String.IsNullOrEmpty(this.ApiClient.Configuration.AccessToken))
{
localVarHeaderParams["Authorization"] = "Bearer " + this.ApiClient.Configuration.AccessToken;
}

// make the HTTP request
DocuSignRequest localVarRequest = this.ApiClient.PrepareRequest(localVarPath, HttpMethod.Delete, localVarQueryParams.ToList(), localVarPostBody, localVarHeaderParams.ToList(), localVarFormParams.ToList(), localVarPathParams.ToList(), localVarFileParams, localVarHttpContentType, localVarHttpContentDisposition);
DocuSignResponse localVarResponse = await this.ApiClient.CallApiAsync(localVarRequest);

int localVarStatusCode = (int)localVarResponse.StatusCode;

if (ExceptionFactory != null)
{
Exception exception = ExceptionFactory("DeleteBulkRecipients", localVarResponse);
if (exception != null) throw exception;
}

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



/// <summary>
/// Deletes envelope custom fields in a template. Deletes envelope custom fields in a template.
/// </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 = "6.2.0";
public const string Version = "6.3.0";

/// <summary>
/// Identifier for ISO 8601 DateTime Format
Expand Down
6 changes: 3 additions & 3 deletions sdk/src/DocuSign.eSign/DocuSign.eSign.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,17 @@
<RootNamespace>DocuSign.eSign</RootNamespace>
<AssemblyName>DocuSign.eSign</AssemblyName>
<NeutralLanguage>en-US</NeutralLanguage>
<VersionPrefix>6.2.0</VersionPrefix>
<VersionPrefix>6.3.0</VersionPrefix>
<VersionSuffix/>
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<PackageTags>DocuSign.eSign;REST;eSign;docusign;eSignature;api</PackageTags>
<PackageTags/>
<PackageIconUrl>https://s.gravatar.com/avatar/4a8c033df6baa902f730d514d5574c33</PackageIconUrl>
<PackageProjectUrl>https://github.com/docusign/docusign-csharp-client</PackageProjectUrl>
<PackageLicenseUrl>https://github.com/docusign/docusign-csharp-client/blob/master/LICENSE</PackageLicenseUrl>
<RepositoryUrl>https://github.com/docusign/docusign-csharp-client</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageReleaseNotes>[v6.2.0] - ESignature API v2.1-22.4.02.00 - 2/1/2023</PackageReleaseNotes>
<PackageReleaseNotes>[v6.3.0] - ESignature API v2.1-23.1.01.00 - 3/17/2023</PackageReleaseNotes>
</PropertyGroup>
<PropertyGroup Condition=" '$(TargetFramework)' == 'net452'">
<DefineConstants>NET452</DefineConstants>
Expand Down
6 changes: 3 additions & 3 deletions sdk/src/DocuSign.eSign/Model/AccountInformation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public AccountInformation()
/// </summary>
/// <param name="AccountIdGuid">The GUID associated with the account ID..</param>
/// <param name="AccountName">The name of the current account..</param>
/// <param name="AccountSettings">The list of account settings accountsettings that determine the features available for the account. Note that some features are determined by the plan used to create the account and cannot be overridden. .</param>
/// <param name="AccountSettings">The list of account settings. These determine the features available for the account. Note that some features are determined by the plan used to create the account, and cannot be overridden..</param>
/// <param name="AllowTransactionRooms">When set to **true**, the transaction rooms feature exposed through the Workspaces API is enabled..</param>
/// <param name="BillingPeriodDaysRemaining">Reserved: TBD.</param>
/// <param name="BillingPeriodEndDate">Reserved: TBD.</param>
Expand Down Expand Up @@ -131,9 +131,9 @@ public AccountInformation()
[DataMember(Name="accountName", EmitDefaultValue=false)]
public string AccountName { get; set; }
/// <summary>
/// The list of account settings accountsettings that determine the features available for the account. Note that some features are determined by the plan used to create the account and cannot be overridden.
/// The list of account settings. These determine the features available for the account. Note that some features are determined by the plan used to create the account, and cannot be overridden.
/// </summary>
/// <value>The list of account settings accountsettings that determine the features available for the account. Note that some features are determined by the plan used to create the account and cannot be overridden. </value>
/// <value>The list of account settings. These determine the features available for the account. Note that some features are determined by the plan used to create the account, and cannot be overridden.</value>
[DataMember(Name="accountSettings", EmitDefaultValue=false)]
public AccountSettingsInformation AccountSettings { get; set; }
/// <summary>
Expand Down
Loading

0 comments on commit 9a68299

Please sign in to comment.