diff --git a/CHANGELOG.md b/CHANGELOG.md index 4af68315b..96eadb738 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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`). diff --git a/README.md b/README.md index 113f15fba..c5befaf93 100755 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ This client SDK is provided as open source, which enables you to customize its f ### Version Information - **API version**: v2.1 -- **Latest SDK version (Including prerelease)**: 9.0.0 +- **Latest SDK version (Including prerelease)**: 10.0.0 ### Requirements diff --git a/sdk/DocuSign.eSign.sln b/sdk/DocuSign.eSign.sln index 695bdcf5d..a98f88d1d 100644 --- a/sdk/DocuSign.eSign.sln +++ b/sdk/DocuSign.eSign.sln @@ -2,7 +2,7 @@ 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 @@ -10,10 +10,10 @@ Global 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 diff --git a/sdk/src/DocuSign.eSign/Api/EnvelopesApi.cs b/sdk/src/DocuSign.eSign/Api/EnvelopesApi.cs index af170b4b1..a3128506d 100644 --- a/sdk/src/DocuSign.eSign/Api/EnvelopesApi.cs +++ b/sdk/src/DocuSign.eSign/Api/EnvelopesApi.cs @@ -1105,6 +1105,56 @@ public interface IEnvelopesApi : IApiAccessor /// ApiResponse of Object(void) ApiResponse DeleteEnvelopeWorkflowStepDefinitionWithHttpInfo(string accountId, string envelopeId, string workflowStepId); /// + /// Deletes a single envelope share + /// + /// + /// + /// + /// Thrown when fails to make API call + /// The external account number (int) or account ID Guid. + /// The envelopeId Guid of the envelope being accessed. + /// + /// + void DeleteEnvelopesShare(string accountId, string envelopeId, string shareId); + + /// + /// Deletes a single envelope share + /// + /// + /// + /// + /// Thrown when fails to make API call + /// The external account number (int) or account ID Guid. + /// The envelopeId Guid of the envelope being accessed. + /// + /// ApiResponse of Object(void) + ApiResponse DeleteEnvelopesShareWithHttpInfo(string accountId, string envelopeId, string shareId); + /// + /// Deletes existing envelopes shares + /// + /// + /// + /// + /// Thrown when fails to make API call + /// The external account number (int) or account ID Guid. + /// The envelopeId Guid of the envelope being accessed. + /// (optional) + /// + void DeleteEnvelopesShares(string accountId, string envelopeId, EnvelopesSharesRequest envelopesSharesRequest = null); + + /// + /// Deletes existing envelopes shares + /// + /// + /// + /// + /// Thrown when fails to make API call + /// The external account number (int) or account ID Guid. + /// The envelopeId Guid of the envelope being accessed. + /// (optional) + /// ApiResponse of Object(void) + ApiResponse DeleteEnvelopesSharesWithHttpInfo(string accountId, string envelopeId, EnvelopesSharesRequest envelopesSharesRequest = null); + /// /// Deletes an envelope lock. /// /// @@ -2030,6 +2080,29 @@ public interface IEnvelopesApi : IApiAccessor /// ApiResponse of ApiResponse GetRecipientSignatureImageWithHttpInfo(string accountId, string envelopeId, string recipientId, EnvelopesApi.GetRecipientSignatureImageOptions options = null); /// + /// Returns a filtered list of shared envelopes. + /// + /// + /// + /// + /// Thrown when fails to make API call + /// The external account number (int) or account ID Guid. + /// Options for modifying the behavior of the function. + /// + EnvelopesInformation GetSharedEnvelopes(string accountId, EnvelopesApi.GetSharedEnvelopesOptions options = null); + + /// + /// Returns a filtered list of shared envelopes. + /// + /// + /// + /// + /// Thrown when fails to make API call + /// The external account number (int) or account ID Guid. + /// Options for modifying the behavior of the function. + /// ApiResponse of + ApiResponse GetSharedEnvelopesWithHttpInfo(string accountId, EnvelopesApi.GetSharedEnvelopesOptions options = null); + /// /// Get encrypted tabs for envelope. /// /// @@ -2919,6 +2992,58 @@ public interface IEnvelopesApi : IApiAccessor /// ApiResponse of ApiResponse UpdateEnvelopeWorkflowStepDefinitionWithHttpInfo(string accountId, string envelopeId, string workflowStepId, WorkflowStep workflowStep = null); /// + /// Updates a single envelope share + /// + /// + /// + /// + /// Thrown when fails to make API call + /// The external account number (int) or account ID Guid. + /// The envelopeId Guid of the envelope being accessed. + /// + /// (optional) + /// + EnvelopesShareResponse UpdateEnvelopesShare(string accountId, string envelopeId, string shareId, EnvelopesSharePermissionRequest envelopesSharePermissionRequest = null); + + /// + /// Updates a single envelope share + /// + /// + /// + /// + /// Thrown when fails to make API call + /// The external account number (int) or account ID Guid. + /// The envelopeId Guid of the envelope being accessed. + /// + /// (optional) + /// ApiResponse of + ApiResponse UpdateEnvelopesShareWithHttpInfo(string accountId, string envelopeId, string shareId, EnvelopesSharePermissionRequest envelopesSharePermissionRequest = null); + /// + /// Updates existing envelopes shares + /// + /// + /// + /// + /// Thrown when fails to make API call + /// The external account number (int) or account ID Guid. + /// The envelopeId Guid of the envelope being accessed. + /// (optional) + /// + EnvelopesSharesResponse UpdateEnvelopesShares(string accountId, string envelopeId, EnvelopesSharesRequest envelopesSharesRequest = null); + + /// + /// Updates existing envelopes shares + /// + /// + /// + /// + /// Thrown when fails to make API call + /// The external account number (int) or account ID Guid. + /// The envelopeId Guid of the envelope being accessed. + /// (optional) + /// ApiResponse of + ApiResponse UpdateEnvelopesSharesWithHttpInfo(string accountId, string envelopeId, EnvelopesSharesRequest envelopesSharesRequest = null); + /// /// Updates an envelope lock. /// /// @@ -4387,6 +4512,56 @@ public interface IEnvelopesApi : IApiAccessor /// Task of ApiResponse System.Threading.Tasks.Task> DeleteEnvelopeWorkflowStepDefinitionAsyncWithHttpInfo(string accountId, string envelopeId, string workflowStepId); /// + /// Deletes a single envelope share + /// + /// + /// + /// + /// Thrown when fails to make API call + /// The external account number (int) or account ID Guid. + /// The envelopeId Guid of the envelope being accessed. + /// + /// Task of void + System.Threading.Tasks.Task DeleteEnvelopesShareAsync(string accountId, string envelopeId, string shareId); + + /// + /// Deletes a single envelope share + /// + /// + /// + /// + /// Thrown when fails to make API call + /// The external account number (int) or account ID Guid. + /// The envelopeId Guid of the envelope being accessed. + /// + /// Task of ApiResponse + System.Threading.Tasks.Task> DeleteEnvelopesShareAsyncWithHttpInfo(string accountId, string envelopeId, string shareId); + /// + /// Deletes existing envelopes shares + /// + /// + /// + /// + /// Thrown when fails to make API call + /// The external account number (int) or account ID Guid. + /// The envelopeId Guid of the envelope being accessed. + /// (optional) + /// Task of void + System.Threading.Tasks.Task DeleteEnvelopesSharesAsync(string accountId, string envelopeId, EnvelopesSharesRequest envelopesSharesRequest = null); + + /// + /// Deletes existing envelopes shares + /// + /// + /// + /// + /// Thrown when fails to make API call + /// The external account number (int) or account ID Guid. + /// The envelopeId Guid of the envelope being accessed. + /// (optional) + /// Task of ApiResponse + System.Threading.Tasks.Task> DeleteEnvelopesSharesAsyncWithHttpInfo(string accountId, string envelopeId, EnvelopesSharesRequest envelopesSharesRequest = null); + /// /// Deletes an envelope lock. /// /// @@ -5312,6 +5487,29 @@ public interface IEnvelopesApi : IApiAccessor /// Task of ApiResponse (System.IO.Stream) System.Threading.Tasks.Task> GetRecipientSignatureImageAsyncWithHttpInfo(string accountId, string envelopeId, string recipientId, EnvelopesApi.GetRecipientSignatureImageOptions options = null); /// + /// Returns a filtered list of shared envelopes. + /// + /// + /// + /// + /// Thrown when fails to make API call + /// The external account number (int) or account ID Guid. + /// Options for modifying the behavior of the function. + /// Task of EnvelopesInformation + System.Threading.Tasks.Task GetSharedEnvelopesAsync(string accountId, EnvelopesApi.GetSharedEnvelopesOptions options = null); + + /// + /// Returns a filtered list of shared envelopes. + /// + /// + /// + /// + /// Thrown when fails to make API call + /// The external account number (int) or account ID Guid. + /// Options for modifying the behavior of the function. + /// Task of ApiResponse (EnvelopesInformation) + System.Threading.Tasks.Task> GetSharedEnvelopesAsyncWithHttpInfo(string accountId, EnvelopesApi.GetSharedEnvelopesOptions options = null); + /// /// Get encrypted tabs for envelope. /// /// @@ -6201,6 +6399,58 @@ public interface IEnvelopesApi : IApiAccessor /// Task of ApiResponse (WorkflowStep) System.Threading.Tasks.Task> UpdateEnvelopeWorkflowStepDefinitionAsyncWithHttpInfo(string accountId, string envelopeId, string workflowStepId, WorkflowStep workflowStep = null); /// + /// Updates a single envelope share + /// + /// + /// + /// + /// Thrown when fails to make API call + /// The external account number (int) or account ID Guid. + /// The envelopeId Guid of the envelope being accessed. + /// + /// (optional) + /// Task of EnvelopesShareResponse + System.Threading.Tasks.Task UpdateEnvelopesShareAsync(string accountId, string envelopeId, string shareId, EnvelopesSharePermissionRequest envelopesSharePermissionRequest = null); + + /// + /// Updates a single envelope share + /// + /// + /// + /// + /// Thrown when fails to make API call + /// The external account number (int) or account ID Guid. + /// The envelopeId Guid of the envelope being accessed. + /// + /// (optional) + /// Task of ApiResponse (EnvelopesShareResponse) + System.Threading.Tasks.Task> UpdateEnvelopesShareAsyncWithHttpInfo(string accountId, string envelopeId, string shareId, EnvelopesSharePermissionRequest envelopesSharePermissionRequest = null); + /// + /// Updates existing envelopes shares + /// + /// + /// + /// + /// Thrown when fails to make API call + /// The external account number (int) or account ID Guid. + /// The envelopeId Guid of the envelope being accessed. + /// (optional) + /// Task of EnvelopesSharesResponse + System.Threading.Tasks.Task UpdateEnvelopesSharesAsync(string accountId, string envelopeId, EnvelopesSharesRequest envelopesSharesRequest = null); + + /// + /// Updates existing envelopes shares + /// + /// + /// + /// + /// Thrown when fails to make API call + /// The external account number (int) or account ID Guid. + /// The envelopeId Guid of the envelope being accessed. + /// (optional) + /// Task of ApiResponse (EnvelopesSharesResponse) + System.Threading.Tasks.Task> UpdateEnvelopesSharesAsyncWithHttpInfo(string accountId, string envelopeId, EnvelopesSharesRequest envelopesSharesRequest = null); + /// /// Updates an envelope lock. /// /// @@ -7099,6 +7349,7 @@ public ApiResponse CreateChunkedUploadWithHttpInfo(string // to determine the Content-Type header String[] localVarHttpContentTypes = new String[] { + "multipart/form-data" }; String localVarHttpContentType = this.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); @@ -7185,6 +7436,7 @@ public async System.Threading.Tasks.Task> Cre // to determine the Content-Type header String[] localVarHttpContentTypes = new String[] { + "multipart/form-data" }; String localVarHttpContentType = this.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); @@ -14600,35 +14852,39 @@ public async System.Threading.Tasks.Task> DeleteEnvelopeWork /// - /// Deletes an envelope lock. Deletes the lock from the specified envelope. The `X-DocuSign-Edit` header must be included in the request. + /// Deletes a single envelope share /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// LockInformation - public LockInformation DeleteLock(string accountId, string envelopeId) + /// + /// + public void DeleteEnvelopesShare(string accountId, string envelopeId, string shareId) { - ApiResponse localVarResponse = DeleteLockWithHttpInfo(accountId, envelopeId); - return localVarResponse.Data; + DeleteEnvelopesShareWithHttpInfo(accountId, envelopeId, shareId); } /// - /// Deletes an envelope lock. Deletes the lock from the specified envelope. The `X-DocuSign-Edit` header must be included in the request. + /// Deletes a single envelope share /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// ApiResponse of LockInformation - public ApiResponse DeleteLockWithHttpInfo(string accountId, string envelopeId) + /// + /// ApiResponse of Object(void) + public ApiResponse DeleteEnvelopesShareWithHttpInfo(string accountId, string envelopeId, string shareId) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->DeleteLock"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->DeleteEnvelopesShare"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->DeleteLock"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->DeleteEnvelopesShare"); + // verify the required parameter 'shareId' is set + if (shareId == null) + throw new ApiException(400, "Missing required parameter 'shareId' when calling EnvelopesApi->DeleteEnvelopesShare"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/lock"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/shares/{shareId}"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -14655,6 +14911,7 @@ public ApiResponse DeleteLockWithHttpInfo(string accountId, str localVarPathParams.Add("format", "json"); if (accountId != null) localVarPathParams.Add("accountId", this.ApiClient.ParameterToString(accountId)); // path parameter if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter + if (shareId != null) localVarPathParams.Add("shareId", this.ApiClient.ParameterToString(shareId)); // path parameter // authentication (docusignAccessCode) required // oauth required @@ -14672,45 +14929,50 @@ public ApiResponse DeleteLockWithHttpInfo(string accountId, str if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("DeleteLock", localVarResponse); + Exception exception = ExceptionFactory("DeleteEnvelopesShare", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, - localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (LockInformation)this.ApiClient.Deserialize(localVarResponse, typeof(LockInformation))); + + return new ApiResponse(localVarStatusCode, + localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), + null); } /// - /// Deletes an envelope lock. Deletes the lock from the specified envelope. The `X-DocuSign-Edit` header must be included in the request. + /// Deletes a single envelope share /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// Task of LockInformation - public async System.Threading.Tasks.Task DeleteLockAsync(string accountId, string envelopeId) + /// + /// Task of void + public async System.Threading.Tasks.Task DeleteEnvelopesShareAsync(string accountId, string envelopeId, string shareId) { - ApiResponse localVarResponse = await DeleteLockAsyncWithHttpInfo(accountId, envelopeId); - return localVarResponse.Data; + await DeleteEnvelopesShareAsyncWithHttpInfo(accountId, envelopeId, shareId); } /// - /// Deletes an envelope lock. Deletes the lock from the specified envelope. The `X-DocuSign-Edit` header must be included in the request. + /// Deletes a single envelope share /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// Task of ApiResponse (LockInformation) - public async System.Threading.Tasks.Task> DeleteLockAsyncWithHttpInfo(string accountId, string envelopeId) + /// + /// Task of ApiResponse + public async System.Threading.Tasks.Task> DeleteEnvelopesShareAsyncWithHttpInfo(string accountId, string envelopeId, string shareId) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->DeleteLock"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->DeleteEnvelopesShare"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->DeleteLock"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->DeleteEnvelopesShare"); + // verify the required parameter 'shareId' is set + if (shareId == null) + throw new ApiException(400, "Missing required parameter 'shareId' when calling EnvelopesApi->DeleteEnvelopesShare"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/lock"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/shares/{shareId}"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -14737,6 +14999,7 @@ public async System.Threading.Tasks.Task> DeleteLoc localVarPathParams.Add("format", "json"); if (accountId != null) localVarPathParams.Add("accountId", this.ApiClient.ParameterToString(accountId)); // path parameter if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter + if (shareId != null) localVarPathParams.Add("shareId", this.ApiClient.ParameterToString(shareId)); // path parameter // authentication (docusignAccessCode) required // oauth required @@ -14754,51 +15017,48 @@ public async System.Threading.Tasks.Task> DeleteLoc if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("DeleteLock", localVarResponse); + Exception exception = ExceptionFactory("DeleteEnvelopesShare", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, - localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (LockInformation)this.ApiClient.Deserialize(localVarResponse, typeof(LockInformation))); + + return new ApiResponse(localVarStatusCode, + localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), + null); } /// - /// Deletes a recipient from an envelope. Deletes the specified recipient file from the specified envelope. This cannot be used if the envelope has been sent. + /// Deletes existing envelopes shares /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// The ID of the recipient being accessed. - /// Recipients - public Recipients DeleteRecipient(string accountId, string envelopeId, string recipientId) + /// (optional) + /// + public void DeleteEnvelopesShares(string accountId, string envelopeId, EnvelopesSharesRequest envelopesSharesRequest = null) { - ApiResponse localVarResponse = DeleteRecipientWithHttpInfo(accountId, envelopeId, recipientId); - return localVarResponse.Data; + DeleteEnvelopesSharesWithHttpInfo(accountId, envelopeId, envelopesSharesRequest); } /// - /// Deletes a recipient from an envelope. Deletes the specified recipient file from the specified envelope. This cannot be used if the envelope has been sent. + /// Deletes existing envelopes shares /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// The ID of the recipient being accessed. - /// ApiResponse of Recipients - public ApiResponse DeleteRecipientWithHttpInfo(string accountId, string envelopeId, string recipientId) + /// (optional) + /// ApiResponse of Object(void) + public ApiResponse DeleteEnvelopesSharesWithHttpInfo(string accountId, string envelopeId, EnvelopesSharesRequest envelopesSharesRequest = null) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->DeleteRecipient"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->DeleteEnvelopesShares"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->DeleteRecipient"); - // verify the required parameter 'recipientId' is set - if (recipientId == null) - throw new ApiException(400, "Missing required parameter 'recipientId' when calling EnvelopesApi->DeleteRecipient"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->DeleteEnvelopesShares"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/shares"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -14825,7 +15085,14 @@ public ApiResponse DeleteRecipientWithHttpInfo(string accountId, str localVarPathParams.Add("format", "json"); if (accountId != null) localVarPathParams.Add("accountId", this.ApiClient.ParameterToString(accountId)); // path parameter if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter - if (recipientId != null) localVarPathParams.Add("recipientId", this.ApiClient.ParameterToString(recipientId)); // path parameter + if (envelopesSharesRequest != null && envelopesSharesRequest.GetType() != typeof(byte[])) + { + localVarPostBody = this.ApiClient.Serialize(envelopesSharesRequest); // http body (model) parameter + } + else + { + localVarPostBody = envelopesSharesRequest; // byte array + } // authentication (docusignAccessCode) required // oauth required @@ -14843,50 +15110,47 @@ public ApiResponse DeleteRecipientWithHttpInfo(string accountId, str if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("DeleteRecipient", localVarResponse); + Exception exception = ExceptionFactory("DeleteEnvelopesShares", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, - localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (Recipients)this.ApiClient.Deserialize(localVarResponse, typeof(Recipients))); + + return new ApiResponse(localVarStatusCode, + localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), + null); } /// - /// Deletes a recipient from an envelope. Deletes the specified recipient file from the specified envelope. This cannot be used if the envelope has been sent. + /// Deletes existing envelopes shares /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// The ID of the recipient being accessed. - /// Task of Recipients - public async System.Threading.Tasks.Task DeleteRecipientAsync(string accountId, string envelopeId, string recipientId) + /// (optional) + /// Task of void + public async System.Threading.Tasks.Task DeleteEnvelopesSharesAsync(string accountId, string envelopeId, EnvelopesSharesRequest envelopesSharesRequest = null) { - ApiResponse localVarResponse = await DeleteRecipientAsyncWithHttpInfo(accountId, envelopeId, recipientId); - return localVarResponse.Data; + await DeleteEnvelopesSharesAsyncWithHttpInfo(accountId, envelopeId, envelopesSharesRequest); } /// - /// Deletes a recipient from an envelope. Deletes the specified recipient file from the specified envelope. This cannot be used if the envelope has been sent. + /// Deletes existing envelopes shares /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// The ID of the recipient being accessed. - /// Task of ApiResponse (Recipients) - public async System.Threading.Tasks.Task> DeleteRecipientAsyncWithHttpInfo(string accountId, string envelopeId, string recipientId) + /// (optional) + /// Task of ApiResponse + public async System.Threading.Tasks.Task> DeleteEnvelopesSharesAsyncWithHttpInfo(string accountId, string envelopeId, EnvelopesSharesRequest envelopesSharesRequest = null) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->DeleteRecipient"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->DeleteEnvelopesShares"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->DeleteRecipient"); - // verify the required parameter 'recipientId' is set - if (recipientId == null) - throw new ApiException(400, "Missing required parameter 'recipientId' when calling EnvelopesApi->DeleteRecipient"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->DeleteEnvelopesShares"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/shares"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -14913,7 +15177,14 @@ public async System.Threading.Tasks.Task> DeleteRecipien localVarPathParams.Add("format", "json"); if (accountId != null) localVarPathParams.Add("accountId", this.ApiClient.ParameterToString(accountId)); // path parameter if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter - if (recipientId != null) localVarPathParams.Add("recipientId", this.ApiClient.ParameterToString(recipientId)); // path parameter + if (envelopesSharesRequest != null && envelopesSharesRequest.GetType() != typeof(byte[])) + { + localVarPostBody = this.ApiClient.Serialize(envelopesSharesRequest); // http body (model) parameter + } + else + { + localVarPostBody = envelopesSharesRequest; // byte array + } // authentication (docusignAccessCode) required // oauth required @@ -14931,48 +15202,47 @@ public async System.Threading.Tasks.Task> DeleteRecipien if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("DeleteRecipient", localVarResponse); + Exception exception = ExceptionFactory("DeleteEnvelopesShares", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, - localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (Recipients)this.ApiClient.Deserialize(localVarResponse, typeof(Recipients))); + + return new ApiResponse(localVarStatusCode, + localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), + null); } /// - /// Deletes recipients from an envelope. Deletes one or more recipients from a draft or sent envelope. Recipients to be deleted are listed in the request, with the `recipientId` being used as the key for deleting recipients. If the envelope is `In Process`, meaning that it has been sent and has not been completed or voided, recipients that have completed their actions cannot be deleted. + /// Deletes an envelope lock. Deletes the lock from the specified envelope. The `X-DocuSign-Edit` header must be included in the request. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// (optional) - /// Recipients - public Recipients DeleteRecipients(string accountId, string envelopeId, Recipients recipients = null) + /// LockInformation + public LockInformation DeleteLock(string accountId, string envelopeId) { - ApiResponse localVarResponse = DeleteRecipientsWithHttpInfo(accountId, envelopeId, recipients); + ApiResponse localVarResponse = DeleteLockWithHttpInfo(accountId, envelopeId); return localVarResponse.Data; } /// - /// Deletes recipients from an envelope. Deletes one or more recipients from a draft or sent envelope. Recipients to be deleted are listed in the request, with the `recipientId` being used as the key for deleting recipients. If the envelope is `In Process`, meaning that it has been sent and has not been completed or voided, recipients that have completed their actions cannot be deleted. + /// Deletes an envelope lock. Deletes the lock from the specified envelope. The `X-DocuSign-Edit` header must be included in the request. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// (optional) - /// ApiResponse of Recipients - public ApiResponse DeleteRecipientsWithHttpInfo(string accountId, string envelopeId, Recipients recipients = null) + /// ApiResponse of LockInformation + public ApiResponse DeleteLockWithHttpInfo(string accountId, string envelopeId) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->DeleteRecipients"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->DeleteLock"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->DeleteRecipients"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->DeleteLock"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/recipients"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/lock"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -14999,14 +15269,6 @@ public ApiResponse DeleteRecipientsWithHttpInfo(string accountId, st localVarPathParams.Add("format", "json"); if (accountId != null) localVarPathParams.Add("accountId", this.ApiClient.ParameterToString(accountId)); // path parameter if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter - if (recipients != null && recipients.GetType() != typeof(byte[])) - { - localVarPostBody = this.ApiClient.Serialize(recipients); // http body (model) parameter - } - else - { - localVarPostBody = recipients; // byte array - } // authentication (docusignAccessCode) required // oauth required @@ -15024,47 +15286,45 @@ public ApiResponse DeleteRecipientsWithHttpInfo(string accountId, st if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("DeleteRecipients", localVarResponse); + Exception exception = ExceptionFactory("DeleteLock", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (Recipients)this.ApiClient.Deserialize(localVarResponse, typeof(Recipients))); + (LockInformation)this.ApiClient.Deserialize(localVarResponse, typeof(LockInformation))); } /// - /// Deletes recipients from an envelope. Deletes one or more recipients from a draft or sent envelope. Recipients to be deleted are listed in the request, with the `recipientId` being used as the key for deleting recipients. If the envelope is `In Process`, meaning that it has been sent and has not been completed or voided, recipients that have completed their actions cannot be deleted. + /// Deletes an envelope lock. Deletes the lock from the specified envelope. The `X-DocuSign-Edit` header must be included in the request. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// (optional) - /// Task of Recipients - public async System.Threading.Tasks.Task DeleteRecipientsAsync(string accountId, string envelopeId, Recipients recipients = null) + /// Task of LockInformation + public async System.Threading.Tasks.Task DeleteLockAsync(string accountId, string envelopeId) { - ApiResponse localVarResponse = await DeleteRecipientsAsyncWithHttpInfo(accountId, envelopeId, recipients); + ApiResponse localVarResponse = await DeleteLockAsyncWithHttpInfo(accountId, envelopeId); return localVarResponse.Data; } /// - /// Deletes recipients from an envelope. Deletes one or more recipients from a draft or sent envelope. Recipients to be deleted are listed in the request, with the `recipientId` being used as the key for deleting recipients. If the envelope is `In Process`, meaning that it has been sent and has not been completed or voided, recipients that have completed their actions cannot be deleted. + /// Deletes an envelope lock. Deletes the lock from the specified envelope. The `X-DocuSign-Edit` header must be included in the request. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// (optional) - /// Task of ApiResponse (Recipients) - public async System.Threading.Tasks.Task> DeleteRecipientsAsyncWithHttpInfo(string accountId, string envelopeId, Recipients recipients = null) + /// Task of ApiResponse (LockInformation) + public async System.Threading.Tasks.Task> DeleteLockAsyncWithHttpInfo(string accountId, string envelopeId) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->DeleteRecipients"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->DeleteLock"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->DeleteRecipients"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->DeleteLock"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/recipients"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/lock"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -15091,14 +15351,6 @@ public async System.Threading.Tasks.Task> DeleteRecipien localVarPathParams.Add("format", "json"); if (accountId != null) localVarPathParams.Add("accountId", this.ApiClient.ParameterToString(accountId)); // path parameter if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter - if (recipients != null && recipients.GetType() != typeof(byte[])) - { - localVarPostBody = this.ApiClient.Serialize(recipients); // http body (model) parameter - } - else - { - localVarPostBody = recipients; // byte array - } // authentication (docusignAccessCode) required // oauth required @@ -15116,53 +15368,51 @@ public async System.Threading.Tasks.Task> DeleteRecipien if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("DeleteRecipients", localVarResponse); + Exception exception = ExceptionFactory("DeleteLock", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (Recipients)this.ApiClient.Deserialize(localVarResponse, typeof(Recipients))); + (LockInformation)this.ApiClient.Deserialize(localVarResponse, typeof(LockInformation))); } /// - /// Deletes the tabs associated with a recipient. Deletes one or more tabs associated with a recipient in a draft envelope. + /// Deletes a recipient from an envelope. Deletes the specified recipient file from the specified envelope. This cannot be used if the envelope has been sent. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. /// The ID of the recipient being accessed. - /// (optional) - /// Tabs - public Tabs DeleteTabs(string accountId, string envelopeId, string recipientId, Tabs tabs = null) + /// Recipients + public Recipients DeleteRecipient(string accountId, string envelopeId, string recipientId) { - ApiResponse localVarResponse = DeleteTabsWithHttpInfo(accountId, envelopeId, recipientId, tabs); + ApiResponse localVarResponse = DeleteRecipientWithHttpInfo(accountId, envelopeId, recipientId); return localVarResponse.Data; } /// - /// Deletes the tabs associated with a recipient. Deletes one or more tabs associated with a recipient in a draft envelope. + /// Deletes a recipient from an envelope. Deletes the specified recipient file from the specified envelope. This cannot be used if the envelope has been sent. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. /// The ID of the recipient being accessed. - /// (optional) - /// ApiResponse of Tabs - public ApiResponse DeleteTabsWithHttpInfo(string accountId, string envelopeId, string recipientId, Tabs tabs = null) + /// ApiResponse of Recipients + public ApiResponse DeleteRecipientWithHttpInfo(string accountId, string envelopeId, string recipientId) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->DeleteTabs"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->DeleteRecipient"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->DeleteTabs"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->DeleteRecipient"); // verify the required parameter 'recipientId' is set if (recipientId == null) - throw new ApiException(400, "Missing required parameter 'recipientId' when calling EnvelopesApi->DeleteTabs"); + throw new ApiException(400, "Missing required parameter 'recipientId' when calling EnvelopesApi->DeleteRecipient"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/tabs"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -15190,14 +15440,6 @@ public ApiResponse DeleteTabsWithHttpInfo(string accountId, string envelop if (accountId != null) localVarPathParams.Add("accountId", this.ApiClient.ParameterToString(accountId)); // path parameter if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter if (recipientId != null) localVarPathParams.Add("recipientId", this.ApiClient.ParameterToString(recipientId)); // path parameter - if (tabs != null && tabs.GetType() != typeof(byte[])) - { - localVarPostBody = this.ApiClient.Serialize(tabs); // http body (model) parameter - } - else - { - localVarPostBody = tabs; // byte array - } // authentication (docusignAccessCode) required // oauth required @@ -15215,52 +15457,50 @@ public ApiResponse DeleteTabsWithHttpInfo(string accountId, string envelop if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("DeleteTabs", localVarResponse); + Exception exception = ExceptionFactory("DeleteRecipient", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (Tabs)this.ApiClient.Deserialize(localVarResponse, typeof(Tabs))); + (Recipients)this.ApiClient.Deserialize(localVarResponse, typeof(Recipients))); } /// - /// Deletes the tabs associated with a recipient. Deletes one or more tabs associated with a recipient in a draft envelope. + /// Deletes a recipient from an envelope. Deletes the specified recipient file from the specified envelope. This cannot be used if the envelope has been sent. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. /// The ID of the recipient being accessed. - /// (optional) - /// Task of Tabs - public async System.Threading.Tasks.Task DeleteTabsAsync(string accountId, string envelopeId, string recipientId, Tabs tabs = null) + /// Task of Recipients + public async System.Threading.Tasks.Task DeleteRecipientAsync(string accountId, string envelopeId, string recipientId) { - ApiResponse localVarResponse = await DeleteTabsAsyncWithHttpInfo(accountId, envelopeId, recipientId, tabs); + ApiResponse localVarResponse = await DeleteRecipientAsyncWithHttpInfo(accountId, envelopeId, recipientId); return localVarResponse.Data; } /// - /// Deletes the tabs associated with a recipient. Deletes one or more tabs associated with a recipient in a draft envelope. + /// Deletes a recipient from an envelope. Deletes the specified recipient file from the specified envelope. This cannot be used if the envelope has been sent. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. /// The ID of the recipient being accessed. - /// (optional) - /// Task of ApiResponse (Tabs) - public async System.Threading.Tasks.Task> DeleteTabsAsyncWithHttpInfo(string accountId, string envelopeId, string recipientId, Tabs tabs = null) + /// Task of ApiResponse (Recipients) + public async System.Threading.Tasks.Task> DeleteRecipientAsyncWithHttpInfo(string accountId, string envelopeId, string recipientId) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->DeleteTabs"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->DeleteRecipient"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->DeleteTabs"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->DeleteRecipient"); // verify the required parameter 'recipientId' is set if (recipientId == null) - throw new ApiException(400, "Missing required parameter 'recipientId' when calling EnvelopesApi->DeleteTabs"); + throw new ApiException(400, "Missing required parameter 'recipientId' when calling EnvelopesApi->DeleteRecipient"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/tabs"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -15288,14 +15528,6 @@ public async System.Threading.Tasks.Task> DeleteTabsAsyncWithH if (accountId != null) localVarPathParams.Add("accountId", this.ApiClient.ParameterToString(accountId)); // path parameter if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter if (recipientId != null) localVarPathParams.Add("recipientId", this.ApiClient.ParameterToString(recipientId)); // path parameter - if (tabs != null && tabs.GetType() != typeof(byte[])) - { - localVarPostBody = this.ApiClient.Serialize(tabs); // http body (model) parameter - } - else - { - localVarPostBody = tabs; // byte array - } // authentication (docusignAccessCode) required // oauth required @@ -15313,50 +15545,48 @@ public async System.Threading.Tasks.Task> DeleteTabsAsyncWithH if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("DeleteTabs", localVarResponse); + Exception exception = ExceptionFactory("DeleteRecipient", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (Tabs)this.ApiClient.Deserialize(localVarResponse, typeof(Tabs))); + (Recipients)this.ApiClient.Deserialize(localVarResponse, typeof(Recipients))); } /// - /// Deletes the delayed routing rules for the specified template workflow step. + /// Deletes recipients from an envelope. Deletes one or more recipients from a draft or sent envelope. Recipients to be deleted are listed in the request, with the `recipientId` being used as the key for deleting recipients. If the envelope is `In Process`, meaning that it has been sent and has not been completed or voided, recipients that have completed their actions cannot be deleted. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// The ID of the template being accessed. - /// - /// - public void DeleteTemplateDelayedRoutingDefinition(string accountId, string templateId, string workflowStepId) + /// The envelopeId Guid of the envelope being accessed. + /// (optional) + /// Recipients + public Recipients DeleteRecipients(string accountId, string envelopeId, Recipients recipients = null) { - DeleteTemplateDelayedRoutingDefinitionWithHttpInfo(accountId, templateId, workflowStepId); + ApiResponse localVarResponse = DeleteRecipientsWithHttpInfo(accountId, envelopeId, recipients); + return localVarResponse.Data; } /// - /// Deletes the delayed routing rules for the specified template workflow step. + /// Deletes recipients from an envelope. Deletes one or more recipients from a draft or sent envelope. Recipients to be deleted are listed in the request, with the `recipientId` being used as the key for deleting recipients. If the envelope is `In Process`, meaning that it has been sent and has not been completed or voided, recipients that have completed their actions cannot be deleted. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// The ID of the template being accessed. - /// - /// ApiResponse of Object(void) - public ApiResponse DeleteTemplateDelayedRoutingDefinitionWithHttpInfo(string accountId, string templateId, string workflowStepId) + /// The envelopeId Guid of the envelope being accessed. + /// (optional) + /// ApiResponse of Recipients + public ApiResponse DeleteRecipientsWithHttpInfo(string accountId, string envelopeId, Recipients recipients = null) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->DeleteTemplateDelayedRoutingDefinition"); - // verify the required parameter 'templateId' is set - if (templateId == null) - throw new ApiException(400, "Missing required parameter 'templateId' when calling EnvelopesApi->DeleteTemplateDelayedRoutingDefinition"); - // verify the required parameter 'workflowStepId' is set - if (workflowStepId == null) - throw new ApiException(400, "Missing required parameter 'workflowStepId' when calling EnvelopesApi->DeleteTemplateDelayedRoutingDefinition"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->DeleteRecipients"); + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->DeleteRecipients"); - var localVarPath = "/v2.1/accounts/{accountId}/templates/{templateId}/workflow/steps/{workflowStepId}/delayedRouting"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/recipients"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -15382,8 +15612,15 @@ public ApiResponse DeleteTemplateDelayedRoutingDefinitionWithHttpInfo(st // 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 (workflowStepId != null) localVarPathParams.Add("workflowStepId", this.ApiClient.ParameterToString(workflowStepId)); // path parameter + if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter + if (recipients != null && recipients.GetType() != typeof(byte[])) + { + localVarPostBody = this.ApiClient.Serialize(recipients); // http body (model) parameter + } + else + { + localVarPostBody = recipients; // byte array + } // authentication (docusignAccessCode) required // oauth required @@ -15401,50 +15638,47 @@ public ApiResponse DeleteTemplateDelayedRoutingDefinitionWithHttpInfo(st if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("DeleteTemplateDelayedRoutingDefinition", localVarResponse); + Exception exception = ExceptionFactory("DeleteRecipients", localVarResponse); if (exception != null) throw exception; } - - return new ApiResponse(localVarStatusCode, - localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - null); + return new ApiResponse(localVarStatusCode, + localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), + (Recipients)this.ApiClient.Deserialize(localVarResponse, typeof(Recipients))); } /// - /// Deletes the delayed routing rules for the specified template workflow step. + /// Deletes recipients from an envelope. Deletes one or more recipients from a draft or sent envelope. Recipients to be deleted are listed in the request, with the `recipientId` being used as the key for deleting recipients. If the envelope is `In Process`, meaning that it has been sent and has not been completed or voided, recipients that have completed their actions cannot be deleted. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// The ID of the template being accessed. - /// - /// Task of void - public async System.Threading.Tasks.Task DeleteTemplateDelayedRoutingDefinitionAsync(string accountId, string templateId, string workflowStepId) + /// The envelopeId Guid of the envelope being accessed. + /// (optional) + /// Task of Recipients + public async System.Threading.Tasks.Task DeleteRecipientsAsync(string accountId, string envelopeId, Recipients recipients = null) { - await DeleteTemplateDelayedRoutingDefinitionAsyncWithHttpInfo(accountId, templateId, workflowStepId); + ApiResponse localVarResponse = await DeleteRecipientsAsyncWithHttpInfo(accountId, envelopeId, recipients); + return localVarResponse.Data; } /// - /// Deletes the delayed routing rules for the specified template workflow step. + /// Deletes recipients from an envelope. Deletes one or more recipients from a draft or sent envelope. Recipients to be deleted are listed in the request, with the `recipientId` being used as the key for deleting recipients. If the envelope is `In Process`, meaning that it has been sent and has not been completed or voided, recipients that have completed their actions cannot be deleted. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// The ID of the template being accessed. - /// - /// Task of ApiResponse - public async System.Threading.Tasks.Task> DeleteTemplateDelayedRoutingDefinitionAsyncWithHttpInfo(string accountId, string templateId, string workflowStepId) + /// The envelopeId Guid of the envelope being accessed. + /// (optional) + /// Task of ApiResponse (Recipients) + public async System.Threading.Tasks.Task> DeleteRecipientsAsyncWithHttpInfo(string accountId, string envelopeId, Recipients recipients = null) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->DeleteTemplateDelayedRoutingDefinition"); - // verify the required parameter 'templateId' is set - if (templateId == null) - throw new ApiException(400, "Missing required parameter 'templateId' when calling EnvelopesApi->DeleteTemplateDelayedRoutingDefinition"); - // verify the required parameter 'workflowStepId' is set - if (workflowStepId == null) - throw new ApiException(400, "Missing required parameter 'workflowStepId' when calling EnvelopesApi->DeleteTemplateDelayedRoutingDefinition"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->DeleteRecipients"); + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->DeleteRecipients"); - var localVarPath = "/v2.1/accounts/{accountId}/templates/{templateId}/workflow/steps/{workflowStepId}/delayedRouting"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/recipients"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -15470,8 +15704,15 @@ public async System.Threading.Tasks.Task> DeleteTemplateDela // 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 (workflowStepId != null) localVarPathParams.Add("workflowStepId", this.ApiClient.ParameterToString(workflowStepId)); // path parameter + if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter + if (recipients != null && recipients.GetType() != typeof(byte[])) + { + localVarPostBody = this.ApiClient.Serialize(recipients); // http body (model) parameter + } + else + { + localVarPostBody = recipients; // byte array + } // authentication (docusignAccessCode) required // oauth required @@ -15489,46 +15730,53 @@ public async System.Threading.Tasks.Task> DeleteTemplateDela if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("DeleteTemplateDelayedRoutingDefinition", localVarResponse); + Exception exception = ExceptionFactory("DeleteRecipients", localVarResponse); if (exception != null) throw exception; } - - return new ApiResponse(localVarStatusCode, - localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - null); + return new ApiResponse(localVarStatusCode, + localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), + (Recipients)this.ApiClient.Deserialize(localVarResponse, typeof(Recipients))); } /// - /// Deletes the scheduled sending rules for the template's workflow. + /// Deletes the tabs associated with a recipient. Deletes one or more tabs associated with a recipient in a draft envelope. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// The ID of the template being accessed. - /// - public void DeleteTemplateScheduledSendingDefinition(string accountId, string templateId) + /// The envelopeId Guid of the envelope being accessed. + /// The ID of the recipient being accessed. + /// (optional) + /// Tabs + public Tabs DeleteTabs(string accountId, string envelopeId, string recipientId, Tabs tabs = null) { - DeleteTemplateScheduledSendingDefinitionWithHttpInfo(accountId, templateId); + ApiResponse localVarResponse = DeleteTabsWithHttpInfo(accountId, envelopeId, recipientId, tabs); + return localVarResponse.Data; } /// - /// Deletes the scheduled sending rules for the template's workflow. + /// Deletes the tabs associated with a recipient. Deletes one or more tabs associated with a recipient in a draft envelope. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// The ID of the template being accessed. - /// ApiResponse of Object(void) - public ApiResponse DeleteTemplateScheduledSendingDefinitionWithHttpInfo(string accountId, string templateId) + /// The envelopeId Guid of the envelope being accessed. + /// The ID of the recipient being accessed. + /// (optional) + /// ApiResponse of Tabs + public ApiResponse DeleteTabsWithHttpInfo(string accountId, string envelopeId, string recipientId, Tabs tabs = null) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->DeleteTemplateScheduledSendingDefinition"); - // verify the required parameter 'templateId' is set - if (templateId == null) - throw new ApiException(400, "Missing required parameter 'templateId' when calling EnvelopesApi->DeleteTemplateScheduledSendingDefinition"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->DeleteTabs"); + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->DeleteTabs"); + // verify the required parameter 'recipientId' is set + if (recipientId == null) + throw new ApiException(400, "Missing required parameter 'recipientId' when calling EnvelopesApi->DeleteTabs"); - var localVarPath = "/v2.1/accounts/{accountId}/templates/{templateId}/workflow/scheduledSending"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/tabs"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -15554,7 +15802,16 @@ public ApiResponse DeleteTemplateScheduledSendingDefinitionWithHttpInfo( // 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 (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter + if (recipientId != null) localVarPathParams.Add("recipientId", this.ApiClient.ParameterToString(recipientId)); // path parameter + if (tabs != null && tabs.GetType() != typeof(byte[])) + { + localVarPostBody = this.ApiClient.Serialize(tabs); // http body (model) parameter + } + else + { + localVarPostBody = tabs; // byte array + } // authentication (docusignAccessCode) required // oauth required @@ -15572,45 +15829,52 @@ public ApiResponse DeleteTemplateScheduledSendingDefinitionWithHttpInfo( if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("DeleteTemplateScheduledSendingDefinition", localVarResponse); + Exception exception = ExceptionFactory("DeleteTabs", localVarResponse); if (exception != null) throw exception; } - - return new ApiResponse(localVarStatusCode, - localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - null); + return new ApiResponse(localVarStatusCode, + localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), + (Tabs)this.ApiClient.Deserialize(localVarResponse, typeof(Tabs))); } /// - /// Deletes the scheduled sending rules for the template's workflow. + /// Deletes the tabs associated with a recipient. Deletes one or more tabs associated with a recipient in a draft envelope. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// The ID of the template being accessed. - /// Task of void - public async System.Threading.Tasks.Task DeleteTemplateScheduledSendingDefinitionAsync(string accountId, string templateId) + /// The envelopeId Guid of the envelope being accessed. + /// The ID of the recipient being accessed. + /// (optional) + /// Task of Tabs + public async System.Threading.Tasks.Task DeleteTabsAsync(string accountId, string envelopeId, string recipientId, Tabs tabs = null) { - await DeleteTemplateScheduledSendingDefinitionAsyncWithHttpInfo(accountId, templateId); + ApiResponse localVarResponse = await DeleteTabsAsyncWithHttpInfo(accountId, envelopeId, recipientId, tabs); + return localVarResponse.Data; } /// - /// Deletes the scheduled sending rules for the template's workflow. + /// Deletes the tabs associated with a recipient. Deletes one or more tabs associated with a recipient in a draft envelope. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// The ID of the template being accessed. - /// Task of ApiResponse - public async System.Threading.Tasks.Task> DeleteTemplateScheduledSendingDefinitionAsyncWithHttpInfo(string accountId, string templateId) + /// The envelopeId Guid of the envelope being accessed. + /// The ID of the recipient being accessed. + /// (optional) + /// Task of ApiResponse (Tabs) + public async System.Threading.Tasks.Task> DeleteTabsAsyncWithHttpInfo(string accountId, string envelopeId, string recipientId, Tabs tabs = null) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->DeleteTemplateScheduledSendingDefinition"); - // verify the required parameter 'templateId' is set - if (templateId == null) - throw new ApiException(400, "Missing required parameter 'templateId' when calling EnvelopesApi->DeleteTemplateScheduledSendingDefinition"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->DeleteTabs"); + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->DeleteTabs"); + // verify the required parameter 'recipientId' is set + if (recipientId == null) + throw new ApiException(400, "Missing required parameter 'recipientId' when calling EnvelopesApi->DeleteTabs"); - var localVarPath = "/v2.1/accounts/{accountId}/templates/{templateId}/workflow/scheduledSending"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/tabs"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -15636,7 +15900,16 @@ public async System.Threading.Tasks.Task> DeleteTemplateSche // 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 (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter + if (recipientId != null) localVarPathParams.Add("recipientId", this.ApiClient.ParameterToString(recipientId)); // path parameter + if (tabs != null && tabs.GetType() != typeof(byte[])) + { + localVarPostBody = this.ApiClient.Serialize(tabs); // http body (model) parameter + } + else + { + localVarPostBody = tabs; // byte array + } // authentication (docusignAccessCode) required // oauth required @@ -15654,46 +15927,50 @@ public async System.Threading.Tasks.Task> DeleteTemplateSche if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("DeleteTemplateScheduledSendingDefinition", localVarResponse); + Exception exception = ExceptionFactory("DeleteTabs", localVarResponse); if (exception != null) throw exception; } - - return new ApiResponse(localVarStatusCode, - localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - null); + return new ApiResponse(localVarStatusCode, + localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), + (Tabs)this.ApiClient.Deserialize(localVarResponse, typeof(Tabs))); } /// - /// Delete the workflow definition for a template. Deletes the specified template's workflow definition if it has one. + /// Deletes the delayed routing rules for the specified template workflow step. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The ID of the template being accessed. + /// /// - public void DeleteTemplateWorkflowDefinition(string accountId, string templateId) + public void DeleteTemplateDelayedRoutingDefinition(string accountId, string templateId, string workflowStepId) { - DeleteTemplateWorkflowDefinitionWithHttpInfo(accountId, templateId); + DeleteTemplateDelayedRoutingDefinitionWithHttpInfo(accountId, templateId, workflowStepId); } /// - /// Delete the workflow definition for a template. Deletes the specified template's workflow definition if it has one. + /// Deletes the delayed routing rules for the specified template workflow step. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The ID of the template being accessed. + /// /// ApiResponse of Object(void) - public ApiResponse DeleteTemplateWorkflowDefinitionWithHttpInfo(string accountId, string templateId) + public ApiResponse DeleteTemplateDelayedRoutingDefinitionWithHttpInfo(string accountId, string templateId, string workflowStepId) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->DeleteTemplateWorkflowDefinition"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->DeleteTemplateDelayedRoutingDefinition"); // verify the required parameter 'templateId' is set if (templateId == null) - throw new ApiException(400, "Missing required parameter 'templateId' when calling EnvelopesApi->DeleteTemplateWorkflowDefinition"); + throw new ApiException(400, "Missing required parameter 'templateId' when calling EnvelopesApi->DeleteTemplateDelayedRoutingDefinition"); + // verify the required parameter 'workflowStepId' is set + if (workflowStepId == null) + throw new ApiException(400, "Missing required parameter 'workflowStepId' when calling EnvelopesApi->DeleteTemplateDelayedRoutingDefinition"); - var localVarPath = "/v2.1/accounts/{accountId}/templates/{templateId}/workflow"; + var localVarPath = "/v2.1/accounts/{accountId}/templates/{templateId}/workflow/steps/{workflowStepId}/delayedRouting"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -15720,6 +15997,7 @@ public ApiResponse DeleteTemplateWorkflowDefinitionWithHttpInfo(string a 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 (workflowStepId != null) localVarPathParams.Add("workflowStepId", this.ApiClient.ParameterToString(workflowStepId)); // path parameter // authentication (docusignAccessCode) required // oauth required @@ -15737,7 +16015,7 @@ public ApiResponse DeleteTemplateWorkflowDefinitionWithHttpInfo(string a if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("DeleteTemplateWorkflowDefinition", localVarResponse); + Exception exception = ExceptionFactory("DeleteTemplateDelayedRoutingDefinition", localVarResponse); if (exception != null) throw exception; } @@ -15748,34 +16026,39 @@ public ApiResponse DeleteTemplateWorkflowDefinitionWithHttpInfo(string a } /// - /// Delete the workflow definition for a template. Deletes the specified template's workflow definition if it has one. + /// Deletes the delayed routing rules for the specified template workflow step. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The ID of the template being accessed. + /// /// Task of void - public async System.Threading.Tasks.Task DeleteTemplateWorkflowDefinitionAsync(string accountId, string templateId) + public async System.Threading.Tasks.Task DeleteTemplateDelayedRoutingDefinitionAsync(string accountId, string templateId, string workflowStepId) { - await DeleteTemplateWorkflowDefinitionAsyncWithHttpInfo(accountId, templateId); + await DeleteTemplateDelayedRoutingDefinitionAsyncWithHttpInfo(accountId, templateId, workflowStepId); } /// - /// Delete the workflow definition for a template. Deletes the specified template's workflow definition if it has one. + /// Deletes the delayed routing rules for the specified template workflow step. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The ID of the template being accessed. + /// /// Task of ApiResponse - public async System.Threading.Tasks.Task> DeleteTemplateWorkflowDefinitionAsyncWithHttpInfo(string accountId, string templateId) + public async System.Threading.Tasks.Task> DeleteTemplateDelayedRoutingDefinitionAsyncWithHttpInfo(string accountId, string templateId, string workflowStepId) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->DeleteTemplateWorkflowDefinition"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->DeleteTemplateDelayedRoutingDefinition"); // verify the required parameter 'templateId' is set if (templateId == null) - throw new ApiException(400, "Missing required parameter 'templateId' when calling EnvelopesApi->DeleteTemplateWorkflowDefinition"); + throw new ApiException(400, "Missing required parameter 'templateId' when calling EnvelopesApi->DeleteTemplateDelayedRoutingDefinition"); + // verify the required parameter 'workflowStepId' is set + if (workflowStepId == null) + throw new ApiException(400, "Missing required parameter 'workflowStepId' when calling EnvelopesApi->DeleteTemplateDelayedRoutingDefinition"); - var localVarPath = "/v2.1/accounts/{accountId}/templates/{templateId}/workflow"; + var localVarPath = "/v2.1/accounts/{accountId}/templates/{templateId}/workflow/steps/{workflowStepId}/delayedRouting"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -15802,6 +16085,7 @@ public async System.Threading.Tasks.Task> DeleteTemplateWork 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 (workflowStepId != null) localVarPathParams.Add("workflowStepId", this.ApiClient.ParameterToString(workflowStepId)); // path parameter // authentication (docusignAccessCode) required // oauth required @@ -15819,7 +16103,7 @@ public async System.Threading.Tasks.Task> DeleteTemplateWork if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("DeleteTemplateWorkflowDefinition", localVarResponse); + Exception exception = ExceptionFactory("DeleteTemplateDelayedRoutingDefinition", localVarResponse); if (exception != null) throw exception; } @@ -15831,39 +16115,34 @@ public async System.Threading.Tasks.Task> DeleteTemplateWork /// - /// Deletes the workflow step definition for an template's workflow by step id. + /// Deletes the scheduled sending rules for the template's workflow. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The ID of the template being accessed. - /// /// - public void DeleteTemplateWorkflowStepDefinition(string accountId, string templateId, string workflowStepId) + public void DeleteTemplateScheduledSendingDefinition(string accountId, string templateId) { - DeleteTemplateWorkflowStepDefinitionWithHttpInfo(accountId, templateId, workflowStepId); + DeleteTemplateScheduledSendingDefinitionWithHttpInfo(accountId, templateId); } /// - /// Deletes the workflow step definition for an template's workflow by step id. + /// Deletes the scheduled sending rules for the template's workflow. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The ID of the template being accessed. - /// /// ApiResponse of Object(void) - public ApiResponse DeleteTemplateWorkflowStepDefinitionWithHttpInfo(string accountId, string templateId, string workflowStepId) + public ApiResponse DeleteTemplateScheduledSendingDefinitionWithHttpInfo(string accountId, string templateId) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->DeleteTemplateWorkflowStepDefinition"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->DeleteTemplateScheduledSendingDefinition"); // verify the required parameter 'templateId' is set if (templateId == null) - throw new ApiException(400, "Missing required parameter 'templateId' when calling EnvelopesApi->DeleteTemplateWorkflowStepDefinition"); - // verify the required parameter 'workflowStepId' is set - if (workflowStepId == null) - throw new ApiException(400, "Missing required parameter 'workflowStepId' when calling EnvelopesApi->DeleteTemplateWorkflowStepDefinition"); + throw new ApiException(400, "Missing required parameter 'templateId' when calling EnvelopesApi->DeleteTemplateScheduledSendingDefinition"); - var localVarPath = "/v2.1/accounts/{accountId}/templates/{templateId}/workflow/steps/{workflowStepId}"; + var localVarPath = "/v2.1/accounts/{accountId}/templates/{templateId}/workflow/scheduledSending"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -15890,7 +16169,6 @@ public ApiResponse DeleteTemplateWorkflowStepDefinitionWithHttpInfo(stri 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 (workflowStepId != null) localVarPathParams.Add("workflowStepId", this.ApiClient.ParameterToString(workflowStepId)); // path parameter // authentication (docusignAccessCode) required // oauth required @@ -15908,7 +16186,7 @@ public ApiResponse DeleteTemplateWorkflowStepDefinitionWithHttpInfo(stri if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("DeleteTemplateWorkflowStepDefinition", localVarResponse); + Exception exception = ExceptionFactory("DeleteTemplateScheduledSendingDefinition", localVarResponse); if (exception != null) throw exception; } @@ -15919,39 +16197,34 @@ public ApiResponse DeleteTemplateWorkflowStepDefinitionWithHttpInfo(stri } /// - /// Deletes the workflow step definition for an template's workflow by step id. + /// Deletes the scheduled sending rules for the template's workflow. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The ID of the template being accessed. - /// /// Task of void - public async System.Threading.Tasks.Task DeleteTemplateWorkflowStepDefinitionAsync(string accountId, string templateId, string workflowStepId) + public async System.Threading.Tasks.Task DeleteTemplateScheduledSendingDefinitionAsync(string accountId, string templateId) { - await DeleteTemplateWorkflowStepDefinitionAsyncWithHttpInfo(accountId, templateId, workflowStepId); + await DeleteTemplateScheduledSendingDefinitionAsyncWithHttpInfo(accountId, templateId); } /// - /// Deletes the workflow step definition for an template's workflow by step id. + /// Deletes the scheduled sending rules for the template's workflow. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The ID of the template being accessed. - /// /// Task of ApiResponse - public async System.Threading.Tasks.Task> DeleteTemplateWorkflowStepDefinitionAsyncWithHttpInfo(string accountId, string templateId, string workflowStepId) + public async System.Threading.Tasks.Task> DeleteTemplateScheduledSendingDefinitionAsyncWithHttpInfo(string accountId, string templateId) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->DeleteTemplateWorkflowStepDefinition"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->DeleteTemplateScheduledSendingDefinition"); // verify the required parameter 'templateId' is set if (templateId == null) - throw new ApiException(400, "Missing required parameter 'templateId' when calling EnvelopesApi->DeleteTemplateWorkflowStepDefinition"); - // verify the required parameter 'workflowStepId' is set - if (workflowStepId == null) - throw new ApiException(400, "Missing required parameter 'workflowStepId' when calling EnvelopesApi->DeleteTemplateWorkflowStepDefinition"); + throw new ApiException(400, "Missing required parameter 'templateId' when calling EnvelopesApi->DeleteTemplateScheduledSendingDefinition"); - var localVarPath = "/v2.1/accounts/{accountId}/templates/{templateId}/workflow/steps/{workflowStepId}"; + var localVarPath = "/v2.1/accounts/{accountId}/templates/{templateId}/workflow/scheduledSending"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -15978,7 +16251,6 @@ public async System.Threading.Tasks.Task> DeleteTemplateWork 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 (workflowStepId != null) localVarPathParams.Add("workflowStepId", this.ApiClient.ParameterToString(workflowStepId)); // path parameter // authentication (docusignAccessCode) required // oauth required @@ -15996,7 +16268,7 @@ public async System.Threading.Tasks.Task> DeleteTemplateWork if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("DeleteTemplateWorkflowStepDefinition", localVarResponse); + Exception exception = ExceptionFactory("DeleteTemplateScheduledSendingDefinition", localVarResponse); if (exception != null) throw exception; } @@ -16008,44 +16280,34 @@ public async System.Threading.Tasks.Task> DeleteTemplateWork /// - /// Deletes a template from a document in an existing envelope. Deletes the specified template from a document in an existing envelope. + /// Delete the workflow definition for a template. Deletes the specified template's workflow definition if it has one. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// The envelopeId Guid of the envelope being accessed. - /// The ID of the document being accessed. /// The ID of the template being accessed. /// - public void DeleteTemplatesFromDocument(string accountId, string envelopeId, string documentId, string templateId) + public void DeleteTemplateWorkflowDefinition(string accountId, string templateId) { - DeleteTemplatesFromDocumentWithHttpInfo(accountId, envelopeId, documentId, templateId); + DeleteTemplateWorkflowDefinitionWithHttpInfo(accountId, templateId); } /// - /// Deletes a template from a document in an existing envelope. Deletes the specified template from a document in an existing envelope. + /// Delete the workflow definition for a template. Deletes the specified template's workflow definition if it has one. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// The envelopeId Guid of the envelope being accessed. - /// The ID of the document being accessed. /// The ID of the template being accessed. /// ApiResponse of Object(void) - public ApiResponse DeleteTemplatesFromDocumentWithHttpInfo(string accountId, string envelopeId, string documentId, string templateId) + public ApiResponse DeleteTemplateWorkflowDefinitionWithHttpInfo(string accountId, string templateId) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->DeleteTemplatesFromDocument"); - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->DeleteTemplatesFromDocument"); - // verify the required parameter 'documentId' is set - if (documentId == null) - throw new ApiException(400, "Missing required parameter 'documentId' when calling EnvelopesApi->DeleteTemplatesFromDocument"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->DeleteTemplateWorkflowDefinition"); // verify the required parameter 'templateId' is set if (templateId == null) - throw new ApiException(400, "Missing required parameter 'templateId' when calling EnvelopesApi->DeleteTemplatesFromDocument"); + throw new ApiException(400, "Missing required parameter 'templateId' when calling EnvelopesApi->DeleteTemplateWorkflowDefinition"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/templates/{templateId}"; + var localVarPath = "/v2.1/accounts/{accountId}/templates/{templateId}/workflow"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -16071,8 +16333,6 @@ public ApiResponse DeleteTemplatesFromDocumentWithHttpInfo(string accoun // 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 (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter - if (documentId != null) localVarPathParams.Add("documentId", this.ApiClient.ParameterToString(documentId)); // path parameter if (templateId != null) localVarPathParams.Add("templateId", this.ApiClient.ParameterToString(templateId)); // path parameter // authentication (docusignAccessCode) required @@ -16091,7 +16351,7 @@ public ApiResponse DeleteTemplatesFromDocumentWithHttpInfo(string accoun if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("DeleteTemplatesFromDocument", localVarResponse); + Exception exception = ExceptionFactory("DeleteTemplateWorkflowDefinition", localVarResponse); if (exception != null) throw exception; } @@ -16102,44 +16362,34 @@ public ApiResponse DeleteTemplatesFromDocumentWithHttpInfo(string accoun } /// - /// Deletes a template from a document in an existing envelope. Deletes the specified template from a document in an existing envelope. + /// Delete the workflow definition for a template. Deletes the specified template's workflow definition if it has one. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// The envelopeId Guid of the envelope being accessed. - /// The ID of the document being accessed. /// The ID of the template being accessed. /// Task of void - public async System.Threading.Tasks.Task DeleteTemplatesFromDocumentAsync(string accountId, string envelopeId, string documentId, string templateId) + public async System.Threading.Tasks.Task DeleteTemplateWorkflowDefinitionAsync(string accountId, string templateId) { - await DeleteTemplatesFromDocumentAsyncWithHttpInfo(accountId, envelopeId, documentId, templateId); + await DeleteTemplateWorkflowDefinitionAsyncWithHttpInfo(accountId, templateId); } /// - /// Deletes a template from a document in an existing envelope. Deletes the specified template from a document in an existing envelope. + /// Delete the workflow definition for a template. Deletes the specified template's workflow definition if it has one. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// The envelopeId Guid of the envelope being accessed. - /// The ID of the document being accessed. /// The ID of the template being accessed. /// Task of ApiResponse - public async System.Threading.Tasks.Task> DeleteTemplatesFromDocumentAsyncWithHttpInfo(string accountId, string envelopeId, string documentId, string templateId) + public async System.Threading.Tasks.Task> DeleteTemplateWorkflowDefinitionAsyncWithHttpInfo(string accountId, string templateId) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->DeleteTemplatesFromDocument"); - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->DeleteTemplatesFromDocument"); - // verify the required parameter 'documentId' is set - if (documentId == null) - throw new ApiException(400, "Missing required parameter 'documentId' when calling EnvelopesApi->DeleteTemplatesFromDocument"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->DeleteTemplateWorkflowDefinition"); // verify the required parameter 'templateId' is set if (templateId == null) - throw new ApiException(400, "Missing required parameter 'templateId' when calling EnvelopesApi->DeleteTemplatesFromDocument"); + throw new ApiException(400, "Missing required parameter 'templateId' when calling EnvelopesApi->DeleteTemplateWorkflowDefinition"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/templates/{templateId}"; + var localVarPath = "/v2.1/accounts/{accountId}/templates/{templateId}/workflow"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -16165,8 +16415,6 @@ public async System.Threading.Tasks.Task> DeleteTemplatesFro // 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 (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter - if (documentId != null) localVarPathParams.Add("documentId", this.ApiClient.ParameterToString(documentId)); // path parameter if (templateId != null) localVarPathParams.Add("templateId", this.ApiClient.ParameterToString(templateId)); // path parameter // authentication (docusignAccessCode) required @@ -16185,7 +16433,7 @@ public async System.Threading.Tasks.Task> DeleteTemplatesFro if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("DeleteTemplatesFromDocument", localVarResponse); + Exception exception = ExceptionFactory("DeleteTemplateWorkflowDefinition", localVarResponse); if (exception != null) throw exception; } @@ -16197,40 +16445,39 @@ public async System.Threading.Tasks.Task> DeleteTemplatesFro /// - /// Retrieves an attachment from the envelope. Retrieves an attachment from an envelope. + /// Deletes the workflow step definition for an template's workflow by step id. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// The envelopeId Guid of the envelope being accessed. - /// - /// System.IO.Stream - public System.IO.Stream GetAttachment(string accountId, string envelopeId, string attachmentId) + /// The ID of the template being accessed. + /// + /// + public void DeleteTemplateWorkflowStepDefinition(string accountId, string templateId, string workflowStepId) { - ApiResponse localVarResponse = GetAttachmentWithHttpInfo(accountId, envelopeId, attachmentId); - return localVarResponse.Data; + DeleteTemplateWorkflowStepDefinitionWithHttpInfo(accountId, templateId, workflowStepId); } /// - /// Retrieves an attachment from the envelope. Retrieves an attachment from an envelope. + /// Deletes the workflow step definition for an template's workflow by step id. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// The envelopeId Guid of the envelope being accessed. - /// - /// ApiResponse of System.IO.Stream - public ApiResponse GetAttachmentWithHttpInfo(string accountId, string envelopeId, string attachmentId) + /// The ID of the template being accessed. + /// + /// ApiResponse of Object(void) + public ApiResponse DeleteTemplateWorkflowStepDefinitionWithHttpInfo(string accountId, string templateId, string workflowStepId) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetAttachment"); - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetAttachment"); - // verify the required parameter 'attachmentId' is set - if (attachmentId == null) - throw new ApiException(400, "Missing required parameter 'attachmentId' when calling EnvelopesApi->GetAttachment"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->DeleteTemplateWorkflowStepDefinition"); + // verify the required parameter 'templateId' is set + if (templateId == null) + throw new ApiException(400, "Missing required parameter 'templateId' when calling EnvelopesApi->DeleteTemplateWorkflowStepDefinition"); + // verify the required parameter 'workflowStepId' is set + if (workflowStepId == null) + throw new ApiException(400, "Missing required parameter 'workflowStepId' when calling EnvelopesApi->DeleteTemplateWorkflowStepDefinition"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/attachments/{attachmentId}"; + var localVarPath = "/v2.1/accounts/{accountId}/templates/{templateId}/workflow/steps/{workflowStepId}"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -16246,7 +16493,7 @@ public System.IO.Stream GetAttachment(string accountId, string envelopeId, strin // to determine the Accept header String[] localVarHttpHeaderAccepts = new String[] { - "application/octet-stream" + "application/json" }; String localVarHttpHeaderAccept = this.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); if (localVarHttpHeaderAccept != null) @@ -16256,8 +16503,8 @@ public System.IO.Stream GetAttachment(string accountId, string envelopeId, strin // 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 (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter - if (attachmentId != null) localVarPathParams.Add("attachmentId", this.ApiClient.ParameterToString(attachmentId)); // path parameter + if (templateId != null) localVarPathParams.Add("templateId", this.ApiClient.ParameterToString(templateId)); // path parameter + if (workflowStepId != null) localVarPathParams.Add("workflowStepId", this.ApiClient.ParameterToString(workflowStepId)); // path parameter // authentication (docusignAccessCode) required // oauth required @@ -16268,57 +16515,57 @@ public System.IO.Stream GetAttachment(string accountId, string envelopeId, strin // make the HTTP request - DocuSignRequest localVarRequest = this.ApiClient.PrepareRequest(localVarPath, new HttpMethod("GET"), localVarQueryParams.ToList(), localVarPostBody, localVarHeaderParams.ToList(), localVarFormParams.ToList(), localVarPathParams.ToList(), localVarFileParams, localVarHttpContentType, localVarHttpContentDisposition); + DocuSignRequest localVarRequest = this.ApiClient.PrepareRequest(localVarPath, new HttpMethod("DELETE"), localVarQueryParams.ToList(), localVarPostBody, localVarHeaderParams.ToList(), localVarFormParams.ToList(), localVarPathParams.ToList(), localVarFileParams, localVarHttpContentType, localVarHttpContentDisposition); DocuSignResponse localVarResponse = this.ApiClient.CallApi(localVarRequest); int localVarStatusCode = (int)localVarResponse.StatusCode; if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("GetAttachment", localVarResponse); + Exception exception = ExceptionFactory("DeleteTemplateWorkflowStepDefinition", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, - localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (System.IO.Stream)this.ApiClient.Deserialize(localVarResponse, typeof(System.IO.Stream))); + + return new ApiResponse(localVarStatusCode, + localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), + null); } /// - /// Retrieves an attachment from the envelope. Retrieves an attachment from an envelope. + /// Deletes the workflow step definition for an template's workflow by step id. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// The envelopeId Guid of the envelope being accessed. - /// - /// Task of System.IO.Stream - public async System.Threading.Tasks.Task GetAttachmentAsync(string accountId, string envelopeId, string attachmentId) + /// The ID of the template being accessed. + /// + /// Task of void + public async System.Threading.Tasks.Task DeleteTemplateWorkflowStepDefinitionAsync(string accountId, string templateId, string workflowStepId) { - ApiResponse localVarResponse = await GetAttachmentAsyncWithHttpInfo(accountId, envelopeId, attachmentId); - return localVarResponse.Data; + await DeleteTemplateWorkflowStepDefinitionAsyncWithHttpInfo(accountId, templateId, workflowStepId); } /// - /// Retrieves an attachment from the envelope. Retrieves an attachment from an envelope. + /// Deletes the workflow step definition for an template's workflow by step id. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// The envelopeId Guid of the envelope being accessed. - /// - /// Task of ApiResponse (System.IO.Stream) - public async System.Threading.Tasks.Task> GetAttachmentAsyncWithHttpInfo(string accountId, string envelopeId, string attachmentId) + /// The ID of the template being accessed. + /// + /// Task of ApiResponse + public async System.Threading.Tasks.Task> DeleteTemplateWorkflowStepDefinitionAsyncWithHttpInfo(string accountId, string templateId, string workflowStepId) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetAttachment"); - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetAttachment"); - // verify the required parameter 'attachmentId' is set - if (attachmentId == null) - throw new ApiException(400, "Missing required parameter 'attachmentId' when calling EnvelopesApi->GetAttachment"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->DeleteTemplateWorkflowStepDefinition"); + // verify the required parameter 'templateId' is set + if (templateId == null) + throw new ApiException(400, "Missing required parameter 'templateId' when calling EnvelopesApi->DeleteTemplateWorkflowStepDefinition"); + // verify the required parameter 'workflowStepId' is set + if (workflowStepId == null) + throw new ApiException(400, "Missing required parameter 'workflowStepId' when calling EnvelopesApi->DeleteTemplateWorkflowStepDefinition"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/attachments/{attachmentId}"; + var localVarPath = "/v2.1/accounts/{accountId}/templates/{templateId}/workflow/steps/{workflowStepId}"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -16334,7 +16581,7 @@ public System.IO.Stream GetAttachment(string accountId, string envelopeId, strin // to determine the Accept header String[] localVarHttpHeaderAccepts = new String[] { - "application/octet-stream" + "application/json" }; String localVarHttpHeaderAccept = this.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); if (localVarHttpHeaderAccept != null) @@ -16344,8 +16591,8 @@ public System.IO.Stream GetAttachment(string accountId, string envelopeId, strin // 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 (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter - if (attachmentId != null) localVarPathParams.Add("attachmentId", this.ApiClient.ParameterToString(attachmentId)); // path parameter + if (templateId != null) localVarPathParams.Add("templateId", this.ApiClient.ParameterToString(templateId)); // path parameter + if (workflowStepId != null) localVarPathParams.Add("workflowStepId", this.ApiClient.ParameterToString(workflowStepId)); // path parameter // authentication (docusignAccessCode) required // oauth required @@ -16356,53 +16603,63 @@ public System.IO.Stream GetAttachment(string accountId, string envelopeId, strin // make the HTTP request - DocuSignRequest localVarRequest = this.ApiClient.PrepareRequest(localVarPath, new HttpMethod("GET"), localVarQueryParams.ToList(), localVarPostBody, localVarHeaderParams.ToList(), localVarFormParams.ToList(), localVarPathParams.ToList(), localVarFileParams, localVarHttpContentType, localVarHttpContentDisposition); + DocuSignRequest localVarRequest = this.ApiClient.PrepareRequest(localVarPath, new 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("GetAttachment", localVarResponse); + Exception exception = ExceptionFactory("DeleteTemplateWorkflowStepDefinition", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, - localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (System.IO.Stream)this.ApiClient.Deserialize(localVarResponse, typeof(System.IO.Stream))); + + return new ApiResponse(localVarStatusCode, + localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), + null); } /// - /// Returns a list of attachments associated with the specified envelope Returns a list of attachments associated with a specified envelope + /// Deletes a template from a document in an existing envelope. Deletes the specified template from a document in an existing envelope. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// EnvelopeAttachmentsResult - public EnvelopeAttachmentsResult GetAttachments(string accountId, string envelopeId) + /// The ID of the document being accessed. + /// The ID of the template being accessed. + /// + public void DeleteTemplatesFromDocument(string accountId, string envelopeId, string documentId, string templateId) { - ApiResponse localVarResponse = GetAttachmentsWithHttpInfo(accountId, envelopeId); - return localVarResponse.Data; + DeleteTemplatesFromDocumentWithHttpInfo(accountId, envelopeId, documentId, templateId); } /// - /// Returns a list of attachments associated with the specified envelope Returns a list of attachments associated with a specified envelope + /// Deletes a template from a document in an existing envelope. Deletes the specified template from a document in an existing envelope. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// ApiResponse of EnvelopeAttachmentsResult - public ApiResponse GetAttachmentsWithHttpInfo(string accountId, string envelopeId) + /// The ID of the document being accessed. + /// The ID of the template being accessed. + /// ApiResponse of Object(void) + public ApiResponse DeleteTemplatesFromDocumentWithHttpInfo(string accountId, string envelopeId, string documentId, string templateId) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetAttachments"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->DeleteTemplatesFromDocument"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetAttachments"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->DeleteTemplatesFromDocument"); + // verify the required parameter 'documentId' is set + if (documentId == null) + throw new ApiException(400, "Missing required parameter 'documentId' when calling EnvelopesApi->DeleteTemplatesFromDocument"); + // verify the required parameter 'templateId' is set + if (templateId == null) + throw new ApiException(400, "Missing required parameter 'templateId' when calling EnvelopesApi->DeleteTemplatesFromDocument"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/attachments"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/templates/{templateId}"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -16429,6 +16686,8 @@ public ApiResponse GetAttachmentsWithHttpInfo(string localVarPathParams.Add("format", "json"); if (accountId != null) localVarPathParams.Add("accountId", this.ApiClient.ParameterToString(accountId)); // path parameter if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter + if (documentId != null) localVarPathParams.Add("documentId", this.ApiClient.ParameterToString(documentId)); // path parameter + if (templateId != null) localVarPathParams.Add("templateId", this.ApiClient.ParameterToString(templateId)); // path parameter // authentication (docusignAccessCode) required // oauth required @@ -16439,54 +16698,64 @@ public ApiResponse GetAttachmentsWithHttpInfo(string // make the HTTP request - DocuSignRequest localVarRequest = this.ApiClient.PrepareRequest(localVarPath, new HttpMethod("GET"), localVarQueryParams.ToList(), localVarPostBody, localVarHeaderParams.ToList(), localVarFormParams.ToList(), localVarPathParams.ToList(), localVarFileParams, localVarHttpContentType, localVarHttpContentDisposition); + DocuSignRequest localVarRequest = this.ApiClient.PrepareRequest(localVarPath, new HttpMethod("DELETE"), localVarQueryParams.ToList(), localVarPostBody, localVarHeaderParams.ToList(), localVarFormParams.ToList(), localVarPathParams.ToList(), localVarFileParams, localVarHttpContentType, localVarHttpContentDisposition); DocuSignResponse localVarResponse = this.ApiClient.CallApi(localVarRequest); int localVarStatusCode = (int)localVarResponse.StatusCode; if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("GetAttachments", localVarResponse); + Exception exception = ExceptionFactory("DeleteTemplatesFromDocument", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, - localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (EnvelopeAttachmentsResult)this.ApiClient.Deserialize(localVarResponse, typeof(EnvelopeAttachmentsResult))); + + return new ApiResponse(localVarStatusCode, + localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), + null); } /// - /// Returns a list of attachments associated with the specified envelope Returns a list of attachments associated with a specified envelope + /// Deletes a template from a document in an existing envelope. Deletes the specified template from a document in an existing envelope. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// Task of EnvelopeAttachmentsResult - public async System.Threading.Tasks.Task GetAttachmentsAsync(string accountId, string envelopeId) + /// The ID of the document being accessed. + /// The ID of the template being accessed. + /// Task of void + public async System.Threading.Tasks.Task DeleteTemplatesFromDocumentAsync(string accountId, string envelopeId, string documentId, string templateId) { - ApiResponse localVarResponse = await GetAttachmentsAsyncWithHttpInfo(accountId, envelopeId); - return localVarResponse.Data; + await DeleteTemplatesFromDocumentAsyncWithHttpInfo(accountId, envelopeId, documentId, templateId); } /// - /// Returns a list of attachments associated with the specified envelope Returns a list of attachments associated with a specified envelope + /// Deletes a template from a document in an existing envelope. Deletes the specified template from a document in an existing envelope. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// Task of ApiResponse (EnvelopeAttachmentsResult) - public async System.Threading.Tasks.Task> GetAttachmentsAsyncWithHttpInfo(string accountId, string envelopeId) + /// The ID of the document being accessed. + /// The ID of the template being accessed. + /// Task of ApiResponse + public async System.Threading.Tasks.Task> DeleteTemplatesFromDocumentAsyncWithHttpInfo(string accountId, string envelopeId, string documentId, string templateId) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetAttachments"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->DeleteTemplatesFromDocument"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetAttachments"); - - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/attachments"; - var localVarPathParams = new Dictionary(); - var localVarQueryParams = new Dictionary(); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->DeleteTemplatesFromDocument"); + // verify the required parameter 'documentId' is set + if (documentId == null) + throw new ApiException(400, "Missing required parameter 'documentId' when calling EnvelopesApi->DeleteTemplatesFromDocument"); + // verify the required parameter 'templateId' is set + if (templateId == null) + throw new ApiException(400, "Missing required parameter 'templateId' when calling EnvelopesApi->DeleteTemplatesFromDocument"); + + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/templates/{templateId}"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); var localVarFormParams = new Dictionary(); var localVarFileParams = new List(); @@ -16511,6 +16780,8 @@ public async System.Threading.Tasks.Task> localVarPathParams.Add("format", "json"); if (accountId != null) localVarPathParams.Add("accountId", this.ApiClient.ParameterToString(accountId)); // path parameter if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter + if (documentId != null) localVarPathParams.Add("documentId", this.ApiClient.ParameterToString(documentId)); // path parameter + if (templateId != null) localVarPathParams.Add("templateId", this.ApiClient.ParameterToString(templateId)); // path parameter // authentication (docusignAccessCode) required // oauth required @@ -16521,63 +16792,59 @@ public async System.Threading.Tasks.Task> // make the HTTP request - DocuSignRequest localVarRequest = this.ApiClient.PrepareRequest(localVarPath, new HttpMethod("GET"), localVarQueryParams.ToList(), localVarPostBody, localVarHeaderParams.ToList(), localVarFormParams.ToList(), localVarPathParams.ToList(), localVarFileParams, localVarHttpContentType, localVarHttpContentDisposition); + DocuSignRequest localVarRequest = this.ApiClient.PrepareRequest(localVarPath, new 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("GetAttachments", localVarResponse); + Exception exception = ExceptionFactory("DeleteTemplatesFromDocument", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, - localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (EnvelopeAttachmentsResult)this.ApiClient.Deserialize(localVarResponse, typeof(EnvelopeAttachmentsResult))); + + return new ApiResponse(localVarStatusCode, + localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), + null); } - /// - /// Retrieves the current metadata of a ChunkedUpload. Returns the details (but not the content) about a chunked upload. **Note:** You cannot obtain details about a chunked upload that has expired, been deleted, or consumed by other actions. - /// - public class GetChunkedUploadOptions - { - /// - public string include {get; set;} - } /// - /// Retrieves the current metadata of a ChunkedUpload. Returns the details (but not the content) about a chunked upload. **Note:** You cannot obtain details about a chunked upload that has expired, been deleted, or consumed by other actions. + /// Retrieves an attachment from the envelope. Retrieves an attachment from an envelope. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// - /// Options for modifying the behavior of the function. - /// ChunkedUploadResponse - public ChunkedUploadResponse GetChunkedUpload(string accountId, string chunkedUploadId, EnvelopesApi.GetChunkedUploadOptions options = null) + /// The envelopeId Guid of the envelope being accessed. + /// + /// System.IO.Stream + public System.IO.Stream GetAttachment(string accountId, string envelopeId, string attachmentId) { - ApiResponse localVarResponse = GetChunkedUploadWithHttpInfo(accountId, chunkedUploadId, options); + ApiResponse localVarResponse = GetAttachmentWithHttpInfo(accountId, envelopeId, attachmentId); return localVarResponse.Data; } /// - /// Retrieves the current metadata of a ChunkedUpload. Returns the details (but not the content) about a chunked upload. **Note:** You cannot obtain details about a chunked upload that has expired, been deleted, or consumed by other actions. + /// Retrieves an attachment from the envelope. Retrieves an attachment from an envelope. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// - /// Options for modifying the behavior of the function. - /// ApiResponse of ChunkedUploadResponse - public ApiResponse GetChunkedUploadWithHttpInfo(string accountId, string chunkedUploadId, EnvelopesApi.GetChunkedUploadOptions options = null) + /// The envelopeId Guid of the envelope being accessed. + /// + /// ApiResponse of System.IO.Stream + public ApiResponse GetAttachmentWithHttpInfo(string accountId, string envelopeId, string attachmentId) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetChunkedUpload"); - // verify the required parameter 'chunkedUploadId' is set - if (chunkedUploadId == null) - throw new ApiException(400, "Missing required parameter 'chunkedUploadId' when calling EnvelopesApi->GetChunkedUpload"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetAttachment"); + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetAttachment"); + // verify the required parameter 'attachmentId' is set + if (attachmentId == null) + throw new ApiException(400, "Missing required parameter 'attachmentId' when calling EnvelopesApi->GetAttachment"); - var localVarPath = "/v2.1/accounts/{accountId}/chunked_uploads/{chunkedUploadId}"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/attachments/{attachmentId}"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -16593,7 +16860,7 @@ public ApiResponse GetChunkedUploadWithHttpInfo(string ac // to determine the Accept header String[] localVarHttpHeaderAccepts = new String[] { - "application/json" + "application/octet-stream" }; String localVarHttpHeaderAccept = this.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); if (localVarHttpHeaderAccept != null) @@ -16603,11 +16870,8 @@ public ApiResponse GetChunkedUploadWithHttpInfo(string ac // 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 (chunkedUploadId != null) localVarPathParams.Add("chunkedUploadId", this.ApiClient.ParameterToString(chunkedUploadId)); // path parameter - if (options != null) - { - if (options.include != null) localVarQueryParams.Add("include", this.ApiClient.ParameterToString(options.include)); // query parameter - } + if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter + if (attachmentId != null) localVarPathParams.Add("attachmentId", this.ApiClient.ParameterToString(attachmentId)); // path parameter // authentication (docusignAccessCode) required // oauth required @@ -16625,47 +16889,50 @@ public ApiResponse GetChunkedUploadWithHttpInfo(string ac if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("GetChunkedUpload", localVarResponse); + Exception exception = ExceptionFactory("GetAttachment", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (ChunkedUploadResponse)this.ApiClient.Deserialize(localVarResponse, typeof(ChunkedUploadResponse))); + (System.IO.Stream)this.ApiClient.Deserialize(localVarResponse, typeof(System.IO.Stream))); } /// - /// Retrieves the current metadata of a ChunkedUpload. Returns the details (but not the content) about a chunked upload. **Note:** You cannot obtain details about a chunked upload that has expired, been deleted, or consumed by other actions. + /// Retrieves an attachment from the envelope. Retrieves an attachment from an envelope. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// - /// Options for modifying the behavior of the function. - /// Task of ChunkedUploadResponse - public async System.Threading.Tasks.Task GetChunkedUploadAsync(string accountId, string chunkedUploadId, EnvelopesApi.GetChunkedUploadOptions options = null) + /// The envelopeId Guid of the envelope being accessed. + /// + /// Task of System.IO.Stream + public async System.Threading.Tasks.Task GetAttachmentAsync(string accountId, string envelopeId, string attachmentId) { - ApiResponse localVarResponse = await GetChunkedUploadAsyncWithHttpInfo(accountId, chunkedUploadId, options); + ApiResponse localVarResponse = await GetAttachmentAsyncWithHttpInfo(accountId, envelopeId, attachmentId); return localVarResponse.Data; } /// - /// Retrieves the current metadata of a ChunkedUpload. Returns the details (but not the content) about a chunked upload. **Note:** You cannot obtain details about a chunked upload that has expired, been deleted, or consumed by other actions. + /// Retrieves an attachment from the envelope. Retrieves an attachment from an envelope. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// - /// Options for modifying the behavior of the function. - /// Task of ApiResponse (ChunkedUploadResponse) - public async System.Threading.Tasks.Task> GetChunkedUploadAsyncWithHttpInfo(string accountId, string chunkedUploadId, EnvelopesApi.GetChunkedUploadOptions options = null) + /// The envelopeId Guid of the envelope being accessed. + /// + /// Task of ApiResponse (System.IO.Stream) + public async System.Threading.Tasks.Task> GetAttachmentAsyncWithHttpInfo(string accountId, string envelopeId, string attachmentId) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetChunkedUpload"); - // verify the required parameter 'chunkedUploadId' is set - if (chunkedUploadId == null) - throw new ApiException(400, "Missing required parameter 'chunkedUploadId' when calling EnvelopesApi->GetChunkedUpload"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetAttachment"); + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetAttachment"); + // verify the required parameter 'attachmentId' is set + if (attachmentId == null) + throw new ApiException(400, "Missing required parameter 'attachmentId' when calling EnvelopesApi->GetAttachment"); - var localVarPath = "/v2.1/accounts/{accountId}/chunked_uploads/{chunkedUploadId}"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/attachments/{attachmentId}"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -16681,7 +16948,7 @@ public async System.Threading.Tasks.Task> Get // to determine the Accept header String[] localVarHttpHeaderAccepts = new String[] { - "application/json" + "application/octet-stream" }; String localVarHttpHeaderAccept = this.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); if (localVarHttpHeaderAccept != null) @@ -16691,11 +16958,8 @@ public async System.Threading.Tasks.Task> Get // 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 (chunkedUploadId != null) localVarPathParams.Add("chunkedUploadId", this.ApiClient.ParameterToString(chunkedUploadId)); // path parameter - if (options != null) - { - if (options.include != null) localVarQueryParams.Add("include", this.ApiClient.ParameterToString(options.include)); // query parameter - } + if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter + if (attachmentId != null) localVarPathParams.Add("attachmentId", this.ApiClient.ParameterToString(attachmentId)); // path parameter // authentication (docusignAccessCode) required // oauth required @@ -16713,56 +16977,46 @@ public async System.Threading.Tasks.Task> Get if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("GetChunkedUpload", localVarResponse); + Exception exception = ExceptionFactory("GetAttachment", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (ChunkedUploadResponse)this.ApiClient.Deserialize(localVarResponse, typeof(ChunkedUploadResponse))); + (System.IO.Stream)this.ApiClient.Deserialize(localVarResponse, typeof(System.IO.Stream))); } - /// - /// Gets comment transcript for envelope and user Retrieves a PDF file containing all of the comments that senders and recipients have added to the documents in an envelope. The response body of this method is the PDF file as a byte stream. **Note:** Comments are disabled by default. To use the comments feature, an account administrator must enable comments on the account (in the `accountSettingsInformation` object, set the `enableSigningExtensionComments` property to **true**). - /// - public class GetCommentsTranscriptOptions - { - /// - public string encoding {get; set;} - } /// - /// Gets comment transcript for envelope and user Retrieves a PDF file containing all of the comments that senders and recipients have added to the documents in an envelope. The response body of this method is the PDF file as a byte stream. **Note:** Comments are disabled by default. To use the comments feature, an account administrator must enable comments on the account (in the `accountSettingsInformation` object, set the `enableSigningExtensionComments` property to **true**). + /// Returns a list of attachments associated with the specified envelope Returns a list of attachments associated with a specified envelope /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// Options for modifying the behavior of the function. - /// System.IO.Stream - public System.IO.Stream GetCommentsTranscript(string accountId, string envelopeId, EnvelopesApi.GetCommentsTranscriptOptions options = null) + /// EnvelopeAttachmentsResult + public EnvelopeAttachmentsResult GetAttachments(string accountId, string envelopeId) { - ApiResponse localVarResponse = GetCommentsTranscriptWithHttpInfo(accountId, envelopeId, options); + ApiResponse localVarResponse = GetAttachmentsWithHttpInfo(accountId, envelopeId); return localVarResponse.Data; } /// - /// Gets comment transcript for envelope and user Retrieves a PDF file containing all of the comments that senders and recipients have added to the documents in an envelope. The response body of this method is the PDF file as a byte stream. **Note:** Comments are disabled by default. To use the comments feature, an account administrator must enable comments on the account (in the `accountSettingsInformation` object, set the `enableSigningExtensionComments` property to **true**). + /// Returns a list of attachments associated with the specified envelope Returns a list of attachments associated with a specified envelope /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// Options for modifying the behavior of the function. - /// ApiResponse of System.IO.Stream - public ApiResponse GetCommentsTranscriptWithHttpInfo(string accountId, string envelopeId, EnvelopesApi.GetCommentsTranscriptOptions options = null) + /// ApiResponse of EnvelopeAttachmentsResult + public ApiResponse GetAttachmentsWithHttpInfo(string accountId, string envelopeId) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetCommentsTranscript"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetAttachments"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetCommentsTranscript"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetAttachments"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/comments/transcript"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/attachments"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -16778,7 +17032,7 @@ public System.IO.Stream GetCommentsTranscript(string accountId, string envelopeI // to determine the Accept header String[] localVarHttpHeaderAccepts = new String[] { - "application/pdf" + "application/json" }; String localVarHttpHeaderAccept = this.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); if (localVarHttpHeaderAccept != null) @@ -16789,10 +17043,6 @@ public System.IO.Stream GetCommentsTranscript(string accountId, string envelopeI localVarPathParams.Add("format", "json"); if (accountId != null) localVarPathParams.Add("accountId", this.ApiClient.ParameterToString(accountId)); // path parameter if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter - if (options != null) - { - if (options.encoding != null) localVarQueryParams.Add("encoding", this.ApiClient.ParameterToString(options.encoding)); // query parameter - } // authentication (docusignAccessCode) required // oauth required @@ -16810,47 +17060,45 @@ public System.IO.Stream GetCommentsTranscript(string accountId, string envelopeI if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("GetCommentsTranscript", localVarResponse); + Exception exception = ExceptionFactory("GetAttachments", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (System.IO.Stream)this.ApiClient.Deserialize(localVarResponse, typeof(System.IO.Stream))); + (EnvelopeAttachmentsResult)this.ApiClient.Deserialize(localVarResponse, typeof(EnvelopeAttachmentsResult))); } /// - /// Gets comment transcript for envelope and user Retrieves a PDF file containing all of the comments that senders and recipients have added to the documents in an envelope. The response body of this method is the PDF file as a byte stream. **Note:** Comments are disabled by default. To use the comments feature, an account administrator must enable comments on the account (in the `accountSettingsInformation` object, set the `enableSigningExtensionComments` property to **true**). + /// Returns a list of attachments associated with the specified envelope Returns a list of attachments associated with a specified envelope /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// Options for modifying the behavior of the function. - /// Task of System.IO.Stream - public async System.Threading.Tasks.Task GetCommentsTranscriptAsync(string accountId, string envelopeId, EnvelopesApi.GetCommentsTranscriptOptions options = null) + /// Task of EnvelopeAttachmentsResult + public async System.Threading.Tasks.Task GetAttachmentsAsync(string accountId, string envelopeId) { - ApiResponse localVarResponse = await GetCommentsTranscriptAsyncWithHttpInfo(accountId, envelopeId, options); + ApiResponse localVarResponse = await GetAttachmentsAsyncWithHttpInfo(accountId, envelopeId); return localVarResponse.Data; } /// - /// Gets comment transcript for envelope and user Retrieves a PDF file containing all of the comments that senders and recipients have added to the documents in an envelope. The response body of this method is the PDF file as a byte stream. **Note:** Comments are disabled by default. To use the comments feature, an account administrator must enable comments on the account (in the `accountSettingsInformation` object, set the `enableSigningExtensionComments` property to **true**). + /// Returns a list of attachments associated with the specified envelope Returns a list of attachments associated with a specified envelope /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// Options for modifying the behavior of the function. - /// Task of ApiResponse (System.IO.Stream) - public async System.Threading.Tasks.Task> GetCommentsTranscriptAsyncWithHttpInfo(string accountId, string envelopeId, EnvelopesApi.GetCommentsTranscriptOptions options = null) + /// Task of ApiResponse (EnvelopeAttachmentsResult) + public async System.Threading.Tasks.Task> GetAttachmentsAsyncWithHttpInfo(string accountId, string envelopeId) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetCommentsTranscript"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetAttachments"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetCommentsTranscript"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetAttachments"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/comments/transcript"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/attachments"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -16866,7 +17114,7 @@ public System.IO.Stream GetCommentsTranscript(string accountId, string envelopeI // to determine the Accept header String[] localVarHttpHeaderAccepts = new String[] { - "application/pdf" + "application/json" }; String localVarHttpHeaderAccept = this.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); if (localVarHttpHeaderAccept != null) @@ -16877,10 +17125,6 @@ public System.IO.Stream GetCommentsTranscript(string accountId, string envelopeI localVarPathParams.Add("format", "json"); if (accountId != null) localVarPathParams.Add("accountId", this.ApiClient.ParameterToString(accountId)); // path parameter if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter - if (options != null) - { - if (options.encoding != null) localVarQueryParams.Add("encoding", this.ApiClient.ParameterToString(options.encoding)); // query parameter - } // authentication (docusignAccessCode) required // oauth required @@ -16898,66 +17142,56 @@ public System.IO.Stream GetCommentsTranscript(string accountId, string envelopeI if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("GetCommentsTranscript", localVarResponse); + Exception exception = ExceptionFactory("GetAttachments", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (System.IO.Stream)this.ApiClient.Deserialize(localVarResponse, typeof(System.IO.Stream))); + (EnvelopeAttachmentsResult)this.ApiClient.Deserialize(localVarResponse, typeof(EnvelopeAttachmentsResult))); } /// - /// Reserved: Gets the Electronic Record and Signature Disclosure associated with the account. Reserved: Retrieves the Electronic Record and Signature Disclosure, with HTML formatting, associated with the account. + /// Retrieves the current metadata of a ChunkedUpload. Returns the details (but not the content) about a chunked upload. **Note:** You cannot obtain details about a chunked upload that has expired, been deleted, or consumed by other actions. /// - public class GetConsumerDisclosureOptions + public class GetChunkedUploadOptions { - /// The simple type enumeration the language used in the response. The supported languages, with the language value shown in parenthesis, are:Arabic (ar), Armenian (hy), Bulgarian (bg), Czech (cs), Chinese Simplified (zh_CN), Chinese Traditional (zh_TW), Croatian (hr), Danish (da), Dutch (nl), English US (en), English UK (en_GB), Estonian (et), Farsi (fa), Finnish (fi), French (fr), French Canada (fr_CA), German (de), Greek (el), Hebrew (he), Hindi (hi), Hungarian (hu), Bahasa Indonesia (id), Italian (it), Japanese (ja), Korean (ko), Latvian (lv), Lithuanian (lt), Bahasa Melayu (ms), Norwegian (no), Polish (pl), Portuguese (pt), Portuguese Brazil (pt_BR), Romanian (ro), Russian (ru), Serbian (sr), Slovak (sk), Slovenian (sl), Spanish (es),Spanish Latin America (es_MX), Swedish (sv), Thai (th), Turkish (tr), Ukrainian (uk) and Vietnamese (vi). Additionally, the value can be set to �browser� to automatically detect the browser language being used by the viewer and display the disclosure in that language. - public string langCode2 {get; set;} + /// + public string include {get; set;} } /// - /// Reserved: Gets the Electronic Record and Signature Disclosure associated with the account. Reserved: Retrieves the Electronic Record and Signature Disclosure, with HTML formatting, associated with the account. + /// Retrieves the current metadata of a ChunkedUpload. Returns the details (but not the content) about a chunked upload. **Note:** You cannot obtain details about a chunked upload that has expired, been deleted, or consumed by other actions. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// The envelopeId Guid of the envelope being accessed. - /// The ID of the recipient being accessed. - /// The simple type enumeration the language used in the response. The supported languages, with the language value shown in parenthesis, are:Arabic (ar), Armenian (hy), Bulgarian (bg), Czech (cs), Chinese Simplified (zh_CN), Chinese Traditional (zh_TW), Croatian (hr), Danish (da), Dutch (nl), English US (en), English UK (en_GB), Estonian (et), Farsi (fa), Finnish (fi), French (fr), French Canada (fr_CA), German (de), Greek (el), Hebrew (he), Hindi (hi), Hungarian (hu), Bahasa Indonesia (id), Italian (it), Japanese (ja), Korean (ko), Latvian (lv), Lithuanian (lt), Bahasa Melayu (ms), Norwegian (no), Polish (pl), Portuguese (pt), Portuguese Brazil (pt_BR), Romanian (ro), Russian (ru), Serbian (sr), Slovak (sk), Slovenian (sl), Spanish (es),Spanish Latin America (es_MX), Swedish (sv), Thai (th), Turkish (tr), Ukrainian (uk) and Vietnamese (vi). Additionally, the value can be set to �browser� to automatically detect the browser language being used by the viewer and display the disclosure in that language. + /// /// Options for modifying the behavior of the function. - /// ConsumerDisclosure - public ConsumerDisclosure GetConsumerDisclosure(string accountId, string envelopeId, string recipientId, string langCode, EnvelopesApi.GetConsumerDisclosureOptions options = null) + /// ChunkedUploadResponse + public ChunkedUploadResponse GetChunkedUpload(string accountId, string chunkedUploadId, EnvelopesApi.GetChunkedUploadOptions options = null) { - ApiResponse localVarResponse = GetConsumerDisclosureWithHttpInfo(accountId, envelopeId, recipientId, langCode, options); + ApiResponse localVarResponse = GetChunkedUploadWithHttpInfo(accountId, chunkedUploadId, options); return localVarResponse.Data; } /// - /// Reserved: Gets the Electronic Record and Signature Disclosure associated with the account. Reserved: Retrieves the Electronic Record and Signature Disclosure, with HTML formatting, associated with the account. + /// Retrieves the current metadata of a ChunkedUpload. Returns the details (but not the content) about a chunked upload. **Note:** You cannot obtain details about a chunked upload that has expired, been deleted, or consumed by other actions. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// The envelopeId Guid of the envelope being accessed. - /// The ID of the recipient being accessed. - /// The simple type enumeration the language used in the response. The supported languages, with the language value shown in parenthesis, are:Arabic (ar), Armenian (hy), Bulgarian (bg), Czech (cs), Chinese Simplified (zh_CN), Chinese Traditional (zh_TW), Croatian (hr), Danish (da), Dutch (nl), English US (en), English UK (en_GB), Estonian (et), Farsi (fa), Finnish (fi), French (fr), French Canada (fr_CA), German (de), Greek (el), Hebrew (he), Hindi (hi), Hungarian (hu), Bahasa Indonesia (id), Italian (it), Japanese (ja), Korean (ko), Latvian (lv), Lithuanian (lt), Bahasa Melayu (ms), Norwegian (no), Polish (pl), Portuguese (pt), Portuguese Brazil (pt_BR), Romanian (ro), Russian (ru), Serbian (sr), Slovak (sk), Slovenian (sl), Spanish (es),Spanish Latin America (es_MX), Swedish (sv), Thai (th), Turkish (tr), Ukrainian (uk) and Vietnamese (vi). Additionally, the value can be set to �browser� to automatically detect the browser language being used by the viewer and display the disclosure in that language. + /// /// Options for modifying the behavior of the function. - /// ApiResponse of ConsumerDisclosure - public ApiResponse GetConsumerDisclosureWithHttpInfo(string accountId, string envelopeId, string recipientId, string langCode, EnvelopesApi.GetConsumerDisclosureOptions options = null) + /// ApiResponse of ChunkedUploadResponse + public ApiResponse GetChunkedUploadWithHttpInfo(string accountId, string chunkedUploadId, EnvelopesApi.GetChunkedUploadOptions options = null) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetConsumerDisclosure"); - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetConsumerDisclosure"); - // verify the required parameter 'recipientId' is set - if (recipientId == null) - throw new ApiException(400, "Missing required parameter 'recipientId' when calling EnvelopesApi->GetConsumerDisclosure"); - // verify the required parameter 'langCode' is set - if (langCode == null) - throw new ApiException(400, "Missing required parameter 'langCode' when calling EnvelopesApi->GetConsumerDisclosure"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetChunkedUpload"); + // verify the required parameter 'chunkedUploadId' is set + if (chunkedUploadId == null) + throw new ApiException(400, "Missing required parameter 'chunkedUploadId' when calling EnvelopesApi->GetChunkedUpload"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/consumer_disclosure/{langCode}"; + var localVarPath = "/v2.1/accounts/{accountId}/chunked_uploads/{chunkedUploadId}"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -16983,12 +17217,10 @@ public ApiResponse GetConsumerDisclosureWithHttpInfo(string // 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 (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter - if (recipientId != null) localVarPathParams.Add("recipientId", this.ApiClient.ParameterToString(recipientId)); // path parameter - if (langCode != null) localVarPathParams.Add("langCode", this.ApiClient.ParameterToString(langCode)); // path parameter + if (chunkedUploadId != null) localVarPathParams.Add("chunkedUploadId", this.ApiClient.ParameterToString(chunkedUploadId)); // path parameter if (options != null) { - if (options.langCode2 != null) localVarQueryParams.Add("langCode", this.ApiClient.ParameterToString(options.langCode2)); // query parameter + if (options.include != null) localVarQueryParams.Add("include", this.ApiClient.ParameterToString(options.include)); // query parameter } // authentication (docusignAccessCode) required @@ -17007,57 +17239,47 @@ public ApiResponse GetConsumerDisclosureWithHttpInfo(string if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("GetConsumerDisclosure", localVarResponse); + Exception exception = ExceptionFactory("GetChunkedUpload", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (ConsumerDisclosure)this.ApiClient.Deserialize(localVarResponse, typeof(ConsumerDisclosure))); + (ChunkedUploadResponse)this.ApiClient.Deserialize(localVarResponse, typeof(ChunkedUploadResponse))); } /// - /// Reserved: Gets the Electronic Record and Signature Disclosure associated with the account. Reserved: Retrieves the Electronic Record and Signature Disclosure, with HTML formatting, associated with the account. + /// Retrieves the current metadata of a ChunkedUpload. Returns the details (but not the content) about a chunked upload. **Note:** You cannot obtain details about a chunked upload that has expired, been deleted, or consumed by other actions. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// The envelopeId Guid of the envelope being accessed. - /// The ID of the recipient being accessed. - /// The simple type enumeration the language used in the response. The supported languages, with the language value shown in parenthesis, are:Arabic (ar), Armenian (hy), Bulgarian (bg), Czech (cs), Chinese Simplified (zh_CN), Chinese Traditional (zh_TW), Croatian (hr), Danish (da), Dutch (nl), English US (en), English UK (en_GB), Estonian (et), Farsi (fa), Finnish (fi), French (fr), French Canada (fr_CA), German (de), Greek (el), Hebrew (he), Hindi (hi), Hungarian (hu), Bahasa Indonesia (id), Italian (it), Japanese (ja), Korean (ko), Latvian (lv), Lithuanian (lt), Bahasa Melayu (ms), Norwegian (no), Polish (pl), Portuguese (pt), Portuguese Brazil (pt_BR), Romanian (ro), Russian (ru), Serbian (sr), Slovak (sk), Slovenian (sl), Spanish (es),Spanish Latin America (es_MX), Swedish (sv), Thai (th), Turkish (tr), Ukrainian (uk) and Vietnamese (vi). Additionally, the value can be set to �browser� to automatically detect the browser language being used by the viewer and display the disclosure in that language. + /// /// Options for modifying the behavior of the function. - /// Task of ConsumerDisclosure - public async System.Threading.Tasks.Task GetConsumerDisclosureAsync(string accountId, string envelopeId, string recipientId, string langCode, EnvelopesApi.GetConsumerDisclosureOptions options = null) + /// Task of ChunkedUploadResponse + public async System.Threading.Tasks.Task GetChunkedUploadAsync(string accountId, string chunkedUploadId, EnvelopesApi.GetChunkedUploadOptions options = null) { - ApiResponse localVarResponse = await GetConsumerDisclosureAsyncWithHttpInfo(accountId, envelopeId, recipientId, langCode, options); + ApiResponse localVarResponse = await GetChunkedUploadAsyncWithHttpInfo(accountId, chunkedUploadId, options); return localVarResponse.Data; } /// - /// Reserved: Gets the Electronic Record and Signature Disclosure associated with the account. Reserved: Retrieves the Electronic Record and Signature Disclosure, with HTML formatting, associated with the account. + /// Retrieves the current metadata of a ChunkedUpload. Returns the details (but not the content) about a chunked upload. **Note:** You cannot obtain details about a chunked upload that has expired, been deleted, or consumed by other actions. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// The envelopeId Guid of the envelope being accessed. - /// The ID of the recipient being accessed. - /// The simple type enumeration the language used in the response. The supported languages, with the language value shown in parenthesis, are:Arabic (ar), Armenian (hy), Bulgarian (bg), Czech (cs), Chinese Simplified (zh_CN), Chinese Traditional (zh_TW), Croatian (hr), Danish (da), Dutch (nl), English US (en), English UK (en_GB), Estonian (et), Farsi (fa), Finnish (fi), French (fr), French Canada (fr_CA), German (de), Greek (el), Hebrew (he), Hindi (hi), Hungarian (hu), Bahasa Indonesia (id), Italian (it), Japanese (ja), Korean (ko), Latvian (lv), Lithuanian (lt), Bahasa Melayu (ms), Norwegian (no), Polish (pl), Portuguese (pt), Portuguese Brazil (pt_BR), Romanian (ro), Russian (ru), Serbian (sr), Slovak (sk), Slovenian (sl), Spanish (es),Spanish Latin America (es_MX), Swedish (sv), Thai (th), Turkish (tr), Ukrainian (uk) and Vietnamese (vi). Additionally, the value can be set to �browser� to automatically detect the browser language being used by the viewer and display the disclosure in that language. + /// /// Options for modifying the behavior of the function. - /// Task of ApiResponse (ConsumerDisclosure) - public async System.Threading.Tasks.Task> GetConsumerDisclosureAsyncWithHttpInfo(string accountId, string envelopeId, string recipientId, string langCode, EnvelopesApi.GetConsumerDisclosureOptions options = null) + /// Task of ApiResponse (ChunkedUploadResponse) + public async System.Threading.Tasks.Task> GetChunkedUploadAsyncWithHttpInfo(string accountId, string chunkedUploadId, EnvelopesApi.GetChunkedUploadOptions options = null) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetConsumerDisclosure"); - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetConsumerDisclosure"); - // verify the required parameter 'recipientId' is set - if (recipientId == null) - throw new ApiException(400, "Missing required parameter 'recipientId' when calling EnvelopesApi->GetConsumerDisclosure"); - // verify the required parameter 'langCode' is set - if (langCode == null) - throw new ApiException(400, "Missing required parameter 'langCode' when calling EnvelopesApi->GetConsumerDisclosure"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetChunkedUpload"); + // verify the required parameter 'chunkedUploadId' is set + if (chunkedUploadId == null) + throw new ApiException(400, "Missing required parameter 'chunkedUploadId' when calling EnvelopesApi->GetChunkedUpload"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/consumer_disclosure/{langCode}"; + var localVarPath = "/v2.1/accounts/{accountId}/chunked_uploads/{chunkedUploadId}"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -17083,12 +17305,10 @@ public async System.Threading.Tasks.Task> GetCon // 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 (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter - if (recipientId != null) localVarPathParams.Add("recipientId", this.ApiClient.ParameterToString(recipientId)); // path parameter - if (langCode != null) localVarPathParams.Add("langCode", this.ApiClient.ParameterToString(langCode)); // path parameter + if (chunkedUploadId != null) localVarPathParams.Add("chunkedUploadId", this.ApiClient.ParameterToString(chunkedUploadId)); // path parameter if (options != null) { - if (options.langCode2 != null) localVarQueryParams.Add("langCode", this.ApiClient.ParameterToString(options.langCode2)); // query parameter + if (options.include != null) localVarQueryParams.Add("include", this.ApiClient.ParameterToString(options.include)); // query parameter } // authentication (docusignAccessCode) required @@ -17107,61 +17327,56 @@ public async System.Threading.Tasks.Task> GetCon if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("GetConsumerDisclosure", localVarResponse); + Exception exception = ExceptionFactory("GetChunkedUpload", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (ConsumerDisclosure)this.ApiClient.Deserialize(localVarResponse, typeof(ConsumerDisclosure))); + (ChunkedUploadResponse)this.ApiClient.Deserialize(localVarResponse, typeof(ChunkedUploadResponse))); } /// - /// Gets the Electronic Record and Signature Disclosure associated with the account. Retrieves the Electronic Record and Signature Disclosure, with html formatting, associated with the account. You can use an optional query string to set the language for the disclosure. + /// Gets comment transcript for envelope and user Retrieves a PDF file containing all of the comments that senders and recipients have added to the documents in an envelope. The response body of this method is the PDF file as a byte stream. **Note:** Comments are disabled by default. To use the comments feature, an account administrator must enable comments on the account (in the `accountSettingsInformation` object, set the `enableSigningExtensionComments` property to **true**). /// - public class GetConsumerDisclosureDefaultOptions + public class GetCommentsTranscriptOptions { /// - public string langCode {get; set;} + public string encoding {get; set;} } /// - /// Gets the Electronic Record and Signature Disclosure associated with the account. Retrieves the Electronic Record and Signature Disclosure, with html formatting, associated with the account. You can use an optional query string to set the language for the disclosure. + /// Gets comment transcript for envelope and user Retrieves a PDF file containing all of the comments that senders and recipients have added to the documents in an envelope. The response body of this method is the PDF file as a byte stream. **Note:** Comments are disabled by default. To use the comments feature, an account administrator must enable comments on the account (in the `accountSettingsInformation` object, set the `enableSigningExtensionComments` property to **true**). /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// The ID of the recipient being accessed. /// Options for modifying the behavior of the function. - /// ConsumerDisclosure - public ConsumerDisclosure GetConsumerDisclosureDefault(string accountId, string envelopeId, string recipientId, EnvelopesApi.GetConsumerDisclosureDefaultOptions options = null) + /// System.IO.Stream + public System.IO.Stream GetCommentsTranscript(string accountId, string envelopeId, EnvelopesApi.GetCommentsTranscriptOptions options = null) { - ApiResponse localVarResponse = GetConsumerDisclosureDefaultWithHttpInfo(accountId, envelopeId, recipientId, options); + ApiResponse localVarResponse = GetCommentsTranscriptWithHttpInfo(accountId, envelopeId, options); return localVarResponse.Data; } /// - /// Gets the Electronic Record and Signature Disclosure associated with the account. Retrieves the Electronic Record and Signature Disclosure, with html formatting, associated with the account. You can use an optional query string to set the language for the disclosure. + /// Gets comment transcript for envelope and user Retrieves a PDF file containing all of the comments that senders and recipients have added to the documents in an envelope. The response body of this method is the PDF file as a byte stream. **Note:** Comments are disabled by default. To use the comments feature, an account administrator must enable comments on the account (in the `accountSettingsInformation` object, set the `enableSigningExtensionComments` property to **true**). /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// The ID of the recipient being accessed. /// Options for modifying the behavior of the function. - /// ApiResponse of ConsumerDisclosure - public ApiResponse GetConsumerDisclosureDefaultWithHttpInfo(string accountId, string envelopeId, string recipientId, EnvelopesApi.GetConsumerDisclosureDefaultOptions options = null) + /// ApiResponse of System.IO.Stream + public ApiResponse GetCommentsTranscriptWithHttpInfo(string accountId, string envelopeId, EnvelopesApi.GetCommentsTranscriptOptions options = null) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetConsumerDisclosureDefault"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetCommentsTranscript"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetConsumerDisclosureDefault"); - // verify the required parameter 'recipientId' is set - if (recipientId == null) - throw new ApiException(400, "Missing required parameter 'recipientId' when calling EnvelopesApi->GetConsumerDisclosureDefault"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetCommentsTranscript"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/consumer_disclosure"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/comments/transcript"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -17177,7 +17392,7 @@ public ApiResponse GetConsumerDisclosureDefaultWithHttpInfo( // to determine the Accept header String[] localVarHttpHeaderAccepts = new String[] { - "application/json" + "application/pdf" }; String localVarHttpHeaderAccept = this.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); if (localVarHttpHeaderAccept != null) @@ -17188,10 +17403,9 @@ public ApiResponse GetConsumerDisclosureDefaultWithHttpInfo( localVarPathParams.Add("format", "json"); if (accountId != null) localVarPathParams.Add("accountId", this.ApiClient.ParameterToString(accountId)); // path parameter if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter - if (recipientId != null) localVarPathParams.Add("recipientId", this.ApiClient.ParameterToString(recipientId)); // path parameter if (options != null) { - if (options.langCode != null) localVarQueryParams.Add("langCode", this.ApiClient.ParameterToString(options.langCode)); // query parameter + if (options.encoding != null) localVarQueryParams.Add("encoding", this.ApiClient.ParameterToString(options.encoding)); // query parameter } // authentication (docusignAccessCode) required @@ -17210,52 +17424,47 @@ public ApiResponse GetConsumerDisclosureDefaultWithHttpInfo( if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("GetConsumerDisclosureDefault", localVarResponse); + Exception exception = ExceptionFactory("GetCommentsTranscript", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (ConsumerDisclosure)this.ApiClient.Deserialize(localVarResponse, typeof(ConsumerDisclosure))); + (System.IO.Stream)this.ApiClient.Deserialize(localVarResponse, typeof(System.IO.Stream))); } /// - /// Gets the Electronic Record and Signature Disclosure associated with the account. Retrieves the Electronic Record and Signature Disclosure, with html formatting, associated with the account. You can use an optional query string to set the language for the disclosure. + /// Gets comment transcript for envelope and user Retrieves a PDF file containing all of the comments that senders and recipients have added to the documents in an envelope. The response body of this method is the PDF file as a byte stream. **Note:** Comments are disabled by default. To use the comments feature, an account administrator must enable comments on the account (in the `accountSettingsInformation` object, set the `enableSigningExtensionComments` property to **true**). /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// The ID of the recipient being accessed. /// Options for modifying the behavior of the function. - /// Task of ConsumerDisclosure - public async System.Threading.Tasks.Task GetConsumerDisclosureDefaultAsync(string accountId, string envelopeId, string recipientId, EnvelopesApi.GetConsumerDisclosureDefaultOptions options = null) + /// Task of System.IO.Stream + public async System.Threading.Tasks.Task GetCommentsTranscriptAsync(string accountId, string envelopeId, EnvelopesApi.GetCommentsTranscriptOptions options = null) { - ApiResponse localVarResponse = await GetConsumerDisclosureDefaultAsyncWithHttpInfo(accountId, envelopeId, recipientId, options); + ApiResponse localVarResponse = await GetCommentsTranscriptAsyncWithHttpInfo(accountId, envelopeId, options); return localVarResponse.Data; } /// - /// Gets the Electronic Record and Signature Disclosure associated with the account. Retrieves the Electronic Record and Signature Disclosure, with html formatting, associated with the account. You can use an optional query string to set the language for the disclosure. + /// Gets comment transcript for envelope and user Retrieves a PDF file containing all of the comments that senders and recipients have added to the documents in an envelope. The response body of this method is the PDF file as a byte stream. **Note:** Comments are disabled by default. To use the comments feature, an account administrator must enable comments on the account (in the `accountSettingsInformation` object, set the `enableSigningExtensionComments` property to **true**). /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// The ID of the recipient being accessed. /// Options for modifying the behavior of the function. - /// Task of ApiResponse (ConsumerDisclosure) - public async System.Threading.Tasks.Task> GetConsumerDisclosureDefaultAsyncWithHttpInfo(string accountId, string envelopeId, string recipientId, EnvelopesApi.GetConsumerDisclosureDefaultOptions options = null) + /// Task of ApiResponse (System.IO.Stream) + public async System.Threading.Tasks.Task> GetCommentsTranscriptAsyncWithHttpInfo(string accountId, string envelopeId, EnvelopesApi.GetCommentsTranscriptOptions options = null) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetConsumerDisclosureDefault"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetCommentsTranscript"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetConsumerDisclosureDefault"); - // verify the required parameter 'recipientId' is set - if (recipientId == null) - throw new ApiException(400, "Missing required parameter 'recipientId' when calling EnvelopesApi->GetConsumerDisclosureDefault"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetCommentsTranscript"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/consumer_disclosure"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/comments/transcript"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -17271,7 +17480,7 @@ public async System.Threading.Tasks.Task> GetCon // to determine the Accept header String[] localVarHttpHeaderAccepts = new String[] { - "application/json" + "application/pdf" }; String localVarHttpHeaderAccept = this.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); if (localVarHttpHeaderAccept != null) @@ -17282,10 +17491,9 @@ public async System.Threading.Tasks.Task> GetCon localVarPathParams.Add("format", "json"); if (accountId != null) localVarPathParams.Add("accountId", this.ApiClient.ParameterToString(accountId)); // path parameter if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter - if (recipientId != null) localVarPathParams.Add("recipientId", this.ApiClient.ParameterToString(recipientId)); // path parameter if (options != null) { - if (options.langCode != null) localVarQueryParams.Add("langCode", this.ApiClient.ParameterToString(options.langCode)); // query parameter + if (options.encoding != null) localVarQueryParams.Add("encoding", this.ApiClient.ParameterToString(options.encoding)); // query parameter } // authentication (docusignAccessCode) required @@ -17304,77 +17512,66 @@ public async System.Threading.Tasks.Task> GetCon if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("GetConsumerDisclosureDefault", localVarResponse); + Exception exception = ExceptionFactory("GetCommentsTranscript", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (ConsumerDisclosure)this.ApiClient.Deserialize(localVarResponse, typeof(ConsumerDisclosure))); + (System.IO.Stream)this.ApiClient.Deserialize(localVarResponse, typeof(System.IO.Stream))); } /// - /// Gets a document from an envelope. 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 + /// Reserved: Gets the Electronic Record and Signature Disclosure associated with the account. Reserved: Retrieves the Electronic Record and Signature Disclosure, with HTML formatting, associated with the account. /// - public class GetDocumentOptions + public class GetConsumerDisclosureOptions { - /// When set to **false**, the envelope signing certificate is removed from the download. - public string certificate {get; set;} - /// - public string documentsByUserid {get; set;} - /// - public string encoding {get; set;} - /// When set to **true**, the PDF bytes returned in the response are encrypted for all the key managers configured on your DocuSign account. The documents can be decrypted with the KeyManager Decrypt Document API. - public string encrypt {get; set;} - /// Specifies the language for the Certificate of Completion in the response. The supported languages, with the language value shown in parenthesis, are: Chinese Simplified (zh_CN), , Chinese Traditional (zh_TW), Dutch (nl), English US (en), French (fr), German (de), Italian (it), Japanese (ja), Korean (ko), Portuguese (pt), Portuguese (Brazil) (pt_BR), Russian (ru), Spanish (es). - public string language {get; set;} - /// - public string recipientId {get; set;} - /// - public string sharedUserId {get; set;} - /// When set to **true**, any changed fields for the returned PDF are highlighted in yellow and optional signatures or initials outlined in red. - public string showChanges {get; set;} - /// When set to **true**, the account has the watermark feature enabled, and the envelope is not complete, the watermark for the account is added to the PDF documents. This option can remove the watermark. - public string watermark {get; set;} + /// The simple type enumeration the language used in the response. The supported languages, with the language value shown in parenthesis, are:Arabic (ar), Armenian (hy), Bulgarian (bg), Czech (cs), Chinese Simplified (zh_CN), Chinese Traditional (zh_TW), Croatian (hr), Danish (da), Dutch (nl), English US (en), English UK (en_GB), Estonian (et), Farsi (fa), Finnish (fi), French (fr), French Canada (fr_CA), German (de), Greek (el), Hebrew (he), Hindi (hi), Hungarian (hu), Bahasa Indonesia (id), Italian (it), Japanese (ja), Korean (ko), Latvian (lv), Lithuanian (lt), Bahasa Melayu (ms), Norwegian (no), Polish (pl), Portuguese (pt), Portuguese Brazil (pt_BR), Romanian (ro), Russian (ru), Serbian (sr), Slovak (sk), Slovenian (sl), Spanish (es),Spanish Latin America (es_MX), Swedish (sv), Thai (th), Turkish (tr), Ukrainian (uk) and Vietnamese (vi). Additionally, the value can be set to �browser� to automatically detect the browser language being used by the viewer and display the disclosure in that language. + public string langCode2 {get; set;} } /// - /// Gets a document from an envelope. 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 + /// Reserved: Gets the Electronic Record and Signature Disclosure associated with the account. Reserved: Retrieves the Electronic Record and Signature Disclosure, with HTML formatting, associated with the account. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// The ID of the document being accessed. + /// The ID of the recipient being accessed. + /// The simple type enumeration the language used in the response. The supported languages, with the language value shown in parenthesis, are:Arabic (ar), Armenian (hy), Bulgarian (bg), Czech (cs), Chinese Simplified (zh_CN), Chinese Traditional (zh_TW), Croatian (hr), Danish (da), Dutch (nl), English US (en), English UK (en_GB), Estonian (et), Farsi (fa), Finnish (fi), French (fr), French Canada (fr_CA), German (de), Greek (el), Hebrew (he), Hindi (hi), Hungarian (hu), Bahasa Indonesia (id), Italian (it), Japanese (ja), Korean (ko), Latvian (lv), Lithuanian (lt), Bahasa Melayu (ms), Norwegian (no), Polish (pl), Portuguese (pt), Portuguese Brazil (pt_BR), Romanian (ro), Russian (ru), Serbian (sr), Slovak (sk), Slovenian (sl), Spanish (es),Spanish Latin America (es_MX), Swedish (sv), Thai (th), Turkish (tr), Ukrainian (uk) and Vietnamese (vi). Additionally, the value can be set to �browser� to automatically detect the browser language being used by the viewer and display the disclosure in that language. /// Options for modifying the behavior of the function. - /// System.IO.Stream - public System.IO.Stream GetDocument(string accountId, string envelopeId, string documentId, EnvelopesApi.GetDocumentOptions options = null) + /// ConsumerDisclosure + public ConsumerDisclosure GetConsumerDisclosure(string accountId, string envelopeId, string recipientId, string langCode, EnvelopesApi.GetConsumerDisclosureOptions options = null) { - ApiResponse localVarResponse = GetDocumentWithHttpInfo(accountId, envelopeId, documentId, options); + ApiResponse localVarResponse = GetConsumerDisclosureWithHttpInfo(accountId, envelopeId, recipientId, langCode, options); return localVarResponse.Data; } /// - /// Gets a document from an envelope. 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 + /// Reserved: Gets the Electronic Record and Signature Disclosure associated with the account. Reserved: Retrieves the Electronic Record and Signature Disclosure, with HTML formatting, associated with the account. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// The ID of the document being accessed. + /// The ID of the recipient being accessed. + /// The simple type enumeration the language used in the response. The supported languages, with the language value shown in parenthesis, are:Arabic (ar), Armenian (hy), Bulgarian (bg), Czech (cs), Chinese Simplified (zh_CN), Chinese Traditional (zh_TW), Croatian (hr), Danish (da), Dutch (nl), English US (en), English UK (en_GB), Estonian (et), Farsi (fa), Finnish (fi), French (fr), French Canada (fr_CA), German (de), Greek (el), Hebrew (he), Hindi (hi), Hungarian (hu), Bahasa Indonesia (id), Italian (it), Japanese (ja), Korean (ko), Latvian (lv), Lithuanian (lt), Bahasa Melayu (ms), Norwegian (no), Polish (pl), Portuguese (pt), Portuguese Brazil (pt_BR), Romanian (ro), Russian (ru), Serbian (sr), Slovak (sk), Slovenian (sl), Spanish (es),Spanish Latin America (es_MX), Swedish (sv), Thai (th), Turkish (tr), Ukrainian (uk) and Vietnamese (vi). Additionally, the value can be set to �browser� to automatically detect the browser language being used by the viewer and display the disclosure in that language. /// Options for modifying the behavior of the function. - /// ApiResponse of System.IO.Stream - public ApiResponse GetDocumentWithHttpInfo(string accountId, string envelopeId, string documentId, EnvelopesApi.GetDocumentOptions options = null) + /// ApiResponse of ConsumerDisclosure + public ApiResponse GetConsumerDisclosureWithHttpInfo(string accountId, string envelopeId, string recipientId, string langCode, EnvelopesApi.GetConsumerDisclosureOptions options = null) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetDocument"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetConsumerDisclosure"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetDocument"); - // verify the required parameter 'documentId' is set - if (documentId == null) - throw new ApiException(400, "Missing required parameter 'documentId' when calling EnvelopesApi->GetDocument"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetConsumerDisclosure"); + // verify the required parameter 'recipientId' is set + if (recipientId == null) + throw new ApiException(400, "Missing required parameter 'recipientId' when calling EnvelopesApi->GetConsumerDisclosure"); + // verify the required parameter 'langCode' is set + if (langCode == null) + throw new ApiException(400, "Missing required parameter 'langCode' when calling EnvelopesApi->GetConsumerDisclosure"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/consumer_disclosure/{langCode}"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -17390,7 +17587,7 @@ public System.IO.Stream GetDocument(string accountId, string envelopeId, string // to determine the Accept header String[] localVarHttpHeaderAccepts = new String[] { - "application/pdf" + "application/json" }; String localVarHttpHeaderAccept = this.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); if (localVarHttpHeaderAccept != null) @@ -17401,18 +17598,11 @@ public System.IO.Stream GetDocument(string accountId, string envelopeId, string localVarPathParams.Add("format", "json"); if (accountId != null) localVarPathParams.Add("accountId", this.ApiClient.ParameterToString(accountId)); // path parameter if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter - if (documentId != null) localVarPathParams.Add("documentId", this.ApiClient.ParameterToString(documentId)); // path parameter + if (recipientId != null) localVarPathParams.Add("recipientId", this.ApiClient.ParameterToString(recipientId)); // path parameter + if (langCode != null) localVarPathParams.Add("langCode", this.ApiClient.ParameterToString(langCode)); // path parameter if (options != null) { - if (options.certificate != null) localVarQueryParams.Add("certificate", this.ApiClient.ParameterToString(options.certificate)); // query parameter - if (options.documentsByUserid != null) localVarQueryParams.Add("documents_by_userid", this.ApiClient.ParameterToString(options.documentsByUserid)); // query parameter - if (options.encoding != null) localVarQueryParams.Add("encoding", this.ApiClient.ParameterToString(options.encoding)); // query parameter - if (options.encrypt != null) localVarQueryParams.Add("encrypt", this.ApiClient.ParameterToString(options.encrypt)); // query parameter - if (options.language != null) localVarQueryParams.Add("language", this.ApiClient.ParameterToString(options.language)); // query parameter - if (options.recipientId != null) localVarQueryParams.Add("recipient_id", this.ApiClient.ParameterToString(options.recipientId)); // query parameter - if (options.sharedUserId != null) localVarQueryParams.Add("shared_user_id", this.ApiClient.ParameterToString(options.sharedUserId)); // query parameter - if (options.showChanges != null) localVarQueryParams.Add("show_changes", this.ApiClient.ParameterToString(options.showChanges)); // query parameter - if (options.watermark != null) localVarQueryParams.Add("watermark", this.ApiClient.ParameterToString(options.watermark)); // query parameter + if (options.langCode2 != null) localVarQueryParams.Add("langCode", this.ApiClient.ParameterToString(options.langCode2)); // query parameter } // authentication (docusignAccessCode) required @@ -17431,52 +17621,57 @@ public System.IO.Stream GetDocument(string accountId, string envelopeId, string if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("GetDocument", localVarResponse); + Exception exception = ExceptionFactory("GetConsumerDisclosure", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (System.IO.Stream)this.ApiClient.Deserialize(localVarResponse, typeof(System.IO.Stream))); + (ConsumerDisclosure)this.ApiClient.Deserialize(localVarResponse, typeof(ConsumerDisclosure))); } /// - /// Gets a document from an envelope. 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 + /// Reserved: Gets the Electronic Record and Signature Disclosure associated with the account. Reserved: Retrieves the Electronic Record and Signature Disclosure, with HTML formatting, associated with the account. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// The ID of the document being accessed. + /// The ID of the recipient being accessed. + /// The simple type enumeration the language used in the response. The supported languages, with the language value shown in parenthesis, are:Arabic (ar), Armenian (hy), Bulgarian (bg), Czech (cs), Chinese Simplified (zh_CN), Chinese Traditional (zh_TW), Croatian (hr), Danish (da), Dutch (nl), English US (en), English UK (en_GB), Estonian (et), Farsi (fa), Finnish (fi), French (fr), French Canada (fr_CA), German (de), Greek (el), Hebrew (he), Hindi (hi), Hungarian (hu), Bahasa Indonesia (id), Italian (it), Japanese (ja), Korean (ko), Latvian (lv), Lithuanian (lt), Bahasa Melayu (ms), Norwegian (no), Polish (pl), Portuguese (pt), Portuguese Brazil (pt_BR), Romanian (ro), Russian (ru), Serbian (sr), Slovak (sk), Slovenian (sl), Spanish (es),Spanish Latin America (es_MX), Swedish (sv), Thai (th), Turkish (tr), Ukrainian (uk) and Vietnamese (vi). Additionally, the value can be set to �browser� to automatically detect the browser language being used by the viewer and display the disclosure in that language. /// Options for modifying the behavior of the function. - /// Task of System.IO.Stream - public async System.Threading.Tasks.Task GetDocumentAsync(string accountId, string envelopeId, string documentId, EnvelopesApi.GetDocumentOptions options = null) + /// Task of ConsumerDisclosure + public async System.Threading.Tasks.Task GetConsumerDisclosureAsync(string accountId, string envelopeId, string recipientId, string langCode, EnvelopesApi.GetConsumerDisclosureOptions options = null) { - ApiResponse localVarResponse = await GetDocumentAsyncWithHttpInfo(accountId, envelopeId, documentId, options); + ApiResponse localVarResponse = await GetConsumerDisclosureAsyncWithHttpInfo(accountId, envelopeId, recipientId, langCode, options); return localVarResponse.Data; } /// - /// Gets a document from an envelope. 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 + /// Reserved: Gets the Electronic Record and Signature Disclosure associated with the account. Reserved: Retrieves the Electronic Record and Signature Disclosure, with HTML formatting, associated with the account. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// The ID of the document being accessed. + /// The ID of the recipient being accessed. + /// The simple type enumeration the language used in the response. The supported languages, with the language value shown in parenthesis, are:Arabic (ar), Armenian (hy), Bulgarian (bg), Czech (cs), Chinese Simplified (zh_CN), Chinese Traditional (zh_TW), Croatian (hr), Danish (da), Dutch (nl), English US (en), English UK (en_GB), Estonian (et), Farsi (fa), Finnish (fi), French (fr), French Canada (fr_CA), German (de), Greek (el), Hebrew (he), Hindi (hi), Hungarian (hu), Bahasa Indonesia (id), Italian (it), Japanese (ja), Korean (ko), Latvian (lv), Lithuanian (lt), Bahasa Melayu (ms), Norwegian (no), Polish (pl), Portuguese (pt), Portuguese Brazil (pt_BR), Romanian (ro), Russian (ru), Serbian (sr), Slovak (sk), Slovenian (sl), Spanish (es),Spanish Latin America (es_MX), Swedish (sv), Thai (th), Turkish (tr), Ukrainian (uk) and Vietnamese (vi). Additionally, the value can be set to �browser� to automatically detect the browser language being used by the viewer and display the disclosure in that language. /// Options for modifying the behavior of the function. - /// Task of ApiResponse (System.IO.Stream) - public async System.Threading.Tasks.Task> GetDocumentAsyncWithHttpInfo(string accountId, string envelopeId, string documentId, EnvelopesApi.GetDocumentOptions options = null) + /// Task of ApiResponse (ConsumerDisclosure) + public async System.Threading.Tasks.Task> GetConsumerDisclosureAsyncWithHttpInfo(string accountId, string envelopeId, string recipientId, string langCode, EnvelopesApi.GetConsumerDisclosureOptions options = null) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetDocument"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetConsumerDisclosure"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetDocument"); - // verify the required parameter 'documentId' is set - if (documentId == null) - throw new ApiException(400, "Missing required parameter 'documentId' when calling EnvelopesApi->GetDocument"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetConsumerDisclosure"); + // verify the required parameter 'recipientId' is set + if (recipientId == null) + throw new ApiException(400, "Missing required parameter 'recipientId' when calling EnvelopesApi->GetConsumerDisclosure"); + // verify the required parameter 'langCode' is set + if (langCode == null) + throw new ApiException(400, "Missing required parameter 'langCode' when calling EnvelopesApi->GetConsumerDisclosure"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/consumer_disclosure/{langCode}"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -17492,7 +17687,7 @@ public System.IO.Stream GetDocument(string accountId, string envelopeId, string // to determine the Accept header String[] localVarHttpHeaderAccepts = new String[] { - "application/pdf" + "application/json" }; String localVarHttpHeaderAccept = this.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); if (localVarHttpHeaderAccept != null) @@ -17503,18 +17698,11 @@ public System.IO.Stream GetDocument(string accountId, string envelopeId, string localVarPathParams.Add("format", "json"); if (accountId != null) localVarPathParams.Add("accountId", this.ApiClient.ParameterToString(accountId)); // path parameter if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter - if (documentId != null) localVarPathParams.Add("documentId", this.ApiClient.ParameterToString(documentId)); // path parameter + if (recipientId != null) localVarPathParams.Add("recipientId", this.ApiClient.ParameterToString(recipientId)); // path parameter + if (langCode != null) localVarPathParams.Add("langCode", this.ApiClient.ParameterToString(langCode)); // path parameter if (options != null) { - if (options.certificate != null) localVarQueryParams.Add("certificate", this.ApiClient.ParameterToString(options.certificate)); // query parameter - if (options.documentsByUserid != null) localVarQueryParams.Add("documents_by_userid", this.ApiClient.ParameterToString(options.documentsByUserid)); // query parameter - if (options.encoding != null) localVarQueryParams.Add("encoding", this.ApiClient.ParameterToString(options.encoding)); // query parameter - if (options.encrypt != null) localVarQueryParams.Add("encrypt", this.ApiClient.ParameterToString(options.encrypt)); // query parameter - if (options.language != null) localVarQueryParams.Add("language", this.ApiClient.ParameterToString(options.language)); // query parameter - if (options.recipientId != null) localVarQueryParams.Add("recipient_id", this.ApiClient.ParameterToString(options.recipientId)); // query parameter - if (options.sharedUserId != null) localVarQueryParams.Add("shared_user_id", this.ApiClient.ParameterToString(options.sharedUserId)); // query parameter - if (options.showChanges != null) localVarQueryParams.Add("show_changes", this.ApiClient.ParameterToString(options.showChanges)); // query parameter - if (options.watermark != null) localVarQueryParams.Add("watermark", this.ApiClient.ParameterToString(options.watermark)); // query parameter + if (options.langCode2 != null) localVarQueryParams.Add("langCode", this.ApiClient.ParameterToString(options.langCode2)); // query parameter } // authentication (docusignAccessCode) required @@ -17533,72 +17721,61 @@ public System.IO.Stream GetDocument(string accountId, string envelopeId, string if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("GetDocument", localVarResponse); + Exception exception = ExceptionFactory("GetConsumerDisclosure", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (System.IO.Stream)this.ApiClient.Deserialize(localVarResponse, typeof(System.IO.Stream))); + (ConsumerDisclosure)this.ApiClient.Deserialize(localVarResponse, typeof(ConsumerDisclosure))); } /// - /// Gets a page image from an envelope for display. Retrieves a page image for display from the specified envelope. + /// Gets the Electronic Record and Signature Disclosure associated with the account. Retrieves the Electronic Record and Signature Disclosure, with html formatting, associated with the account. You can use an optional query string to set the language for the disclosure. /// - public class GetDocumentPageImageOptions + public class GetConsumerDisclosureDefaultOptions { - /// Sets the dpi for the image. - public string dpi {get; set;} - /// Sets the maximum height for the page image in pixels. The dpi is recalculated based on this setting. - public string maxHeight {get; set;} - /// Sets the maximum width for the page image in pixels. The dpi is recalculated based on this setting. - public string maxWidth {get; set;} /// - public string showChanges {get; set;} + public string langCode {get; set;} } /// - /// Gets a page image from an envelope for display. Retrieves a page image for display from the specified envelope. + /// Gets the Electronic Record and Signature Disclosure associated with the account. Retrieves the Electronic Record and Signature Disclosure, with html formatting, associated with the account. You can use an optional query string to set the language for the disclosure. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// The ID of the document being accessed. - /// The page number being accessed. + /// The ID of the recipient being accessed. /// Options for modifying the behavior of the function. - /// System.IO.Stream - public System.IO.Stream GetDocumentPageImage(string accountId, string envelopeId, string documentId, string pageNumber, EnvelopesApi.GetDocumentPageImageOptions options = null) + /// ConsumerDisclosure + public ConsumerDisclosure GetConsumerDisclosureDefault(string accountId, string envelopeId, string recipientId, EnvelopesApi.GetConsumerDisclosureDefaultOptions options = null) { - ApiResponse localVarResponse = GetDocumentPageImageWithHttpInfo(accountId, envelopeId, documentId, pageNumber, options); + ApiResponse localVarResponse = GetConsumerDisclosureDefaultWithHttpInfo(accountId, envelopeId, recipientId, options); return localVarResponse.Data; } /// - /// Gets a page image from an envelope for display. Retrieves a page image for display from the specified envelope. + /// Gets the Electronic Record and Signature Disclosure associated with the account. Retrieves the Electronic Record and Signature Disclosure, with html formatting, associated with the account. You can use an optional query string to set the language for the disclosure. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// The ID of the document being accessed. - /// The page number being accessed. + /// The ID of the recipient being accessed. /// Options for modifying the behavior of the function. - /// ApiResponse of System.IO.Stream - public ApiResponse GetDocumentPageImageWithHttpInfo(string accountId, string envelopeId, string documentId, string pageNumber, EnvelopesApi.GetDocumentPageImageOptions options = null) + /// ApiResponse of ConsumerDisclosure + public ApiResponse GetConsumerDisclosureDefaultWithHttpInfo(string accountId, string envelopeId, string recipientId, EnvelopesApi.GetConsumerDisclosureDefaultOptions options = null) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetDocumentPageImage"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetConsumerDisclosureDefault"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetDocumentPageImage"); - // verify the required parameter 'documentId' is set - if (documentId == null) - throw new ApiException(400, "Missing required parameter 'documentId' when calling EnvelopesApi->GetDocumentPageImage"); - // verify the required parameter 'pageNumber' is set - if (pageNumber == null) - throw new ApiException(400, "Missing required parameter 'pageNumber' when calling EnvelopesApi->GetDocumentPageImage"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetConsumerDisclosureDefault"); + // verify the required parameter 'recipientId' is set + if (recipientId == null) + throw new ApiException(400, "Missing required parameter 'recipientId' when calling EnvelopesApi->GetConsumerDisclosureDefault"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/pages/{pageNumber}/page_image"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/consumer_disclosure"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -17614,7 +17791,7 @@ public System.IO.Stream GetDocumentPageImage(string accountId, string envelopeId // to determine the Accept header String[] localVarHttpHeaderAccepts = new String[] { - "image/png" + "application/json" }; String localVarHttpHeaderAccept = this.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); if (localVarHttpHeaderAccept != null) @@ -17625,14 +17802,10 @@ public System.IO.Stream GetDocumentPageImage(string accountId, string envelopeId localVarPathParams.Add("format", "json"); if (accountId != null) localVarPathParams.Add("accountId", this.ApiClient.ParameterToString(accountId)); // path parameter if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter - if (documentId != null) localVarPathParams.Add("documentId", this.ApiClient.ParameterToString(documentId)); // path parameter - if (pageNumber != null) localVarPathParams.Add("pageNumber", this.ApiClient.ParameterToString(pageNumber)); // path parameter + if (recipientId != null) localVarPathParams.Add("recipientId", this.ApiClient.ParameterToString(recipientId)); // path parameter if (options != null) { - if (options.dpi != null) localVarQueryParams.Add("dpi", this.ApiClient.ParameterToString(options.dpi)); // query parameter - if (options.maxHeight != null) localVarQueryParams.Add("max_height", this.ApiClient.ParameterToString(options.maxHeight)); // query parameter - if (options.maxWidth != null) localVarQueryParams.Add("max_width", this.ApiClient.ParameterToString(options.maxWidth)); // query parameter - if (options.showChanges != null) localVarQueryParams.Add("show_changes", this.ApiClient.ParameterToString(options.showChanges)); // query parameter + if (options.langCode != null) localVarQueryParams.Add("langCode", this.ApiClient.ParameterToString(options.langCode)); // query parameter } // authentication (docusignAccessCode) required @@ -17651,57 +17824,52 @@ public System.IO.Stream GetDocumentPageImage(string accountId, string envelopeId if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("GetDocumentPageImage", localVarResponse); + Exception exception = ExceptionFactory("GetConsumerDisclosureDefault", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (System.IO.Stream)this.ApiClient.Deserialize(localVarResponse, typeof(System.IO.Stream))); + (ConsumerDisclosure)this.ApiClient.Deserialize(localVarResponse, typeof(ConsumerDisclosure))); } /// - /// Gets a page image from an envelope for display. Retrieves a page image for display from the specified envelope. + /// Gets the Electronic Record and Signature Disclosure associated with the account. Retrieves the Electronic Record and Signature Disclosure, with html formatting, associated with the account. You can use an optional query string to set the language for the disclosure. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// The ID of the document being accessed. - /// The page number being accessed. + /// The ID of the recipient being accessed. /// Options for modifying the behavior of the function. - /// Task of System.IO.Stream - public async System.Threading.Tasks.Task GetDocumentPageImageAsync(string accountId, string envelopeId, string documentId, string pageNumber, EnvelopesApi.GetDocumentPageImageOptions options = null) + /// Task of ConsumerDisclosure + public async System.Threading.Tasks.Task GetConsumerDisclosureDefaultAsync(string accountId, string envelopeId, string recipientId, EnvelopesApi.GetConsumerDisclosureDefaultOptions options = null) { - ApiResponse localVarResponse = await GetDocumentPageImageAsyncWithHttpInfo(accountId, envelopeId, documentId, pageNumber, options); + ApiResponse localVarResponse = await GetConsumerDisclosureDefaultAsyncWithHttpInfo(accountId, envelopeId, recipientId, options); return localVarResponse.Data; } /// - /// Gets a page image from an envelope for display. Retrieves a page image for display from the specified envelope. + /// Gets the Electronic Record and Signature Disclosure associated with the account. Retrieves the Electronic Record and Signature Disclosure, with html formatting, associated with the account. You can use an optional query string to set the language for the disclosure. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// The ID of the document being accessed. - /// The page number being accessed. + /// The ID of the recipient being accessed. /// Options for modifying the behavior of the function. - /// Task of ApiResponse (System.IO.Stream) - public async System.Threading.Tasks.Task> GetDocumentPageImageAsyncWithHttpInfo(string accountId, string envelopeId, string documentId, string pageNumber, EnvelopesApi.GetDocumentPageImageOptions options = null) + /// Task of ApiResponse (ConsumerDisclosure) + public async System.Threading.Tasks.Task> GetConsumerDisclosureDefaultAsyncWithHttpInfo(string accountId, string envelopeId, string recipientId, EnvelopesApi.GetConsumerDisclosureDefaultOptions options = null) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetDocumentPageImage"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetConsumerDisclosureDefault"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetDocumentPageImage"); - // verify the required parameter 'documentId' is set - if (documentId == null) - throw new ApiException(400, "Missing required parameter 'documentId' when calling EnvelopesApi->GetDocumentPageImage"); - // verify the required parameter 'pageNumber' is set - if (pageNumber == null) - throw new ApiException(400, "Missing required parameter 'pageNumber' when calling EnvelopesApi->GetDocumentPageImage"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetConsumerDisclosureDefault"); + // verify the required parameter 'recipientId' is set + if (recipientId == null) + throw new ApiException(400, "Missing required parameter 'recipientId' when calling EnvelopesApi->GetConsumerDisclosureDefault"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/pages/{pageNumber}/page_image"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/consumer_disclosure"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -17717,7 +17885,7 @@ public System.IO.Stream GetDocumentPageImage(string accountId, string envelopeId // to determine the Accept header String[] localVarHttpHeaderAccepts = new String[] { - "image/png" + "application/json" }; String localVarHttpHeaderAccept = this.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); if (localVarHttpHeaderAccept != null) @@ -17728,14 +17896,10 @@ public System.IO.Stream GetDocumentPageImage(string accountId, string envelopeId localVarPathParams.Add("format", "json"); if (accountId != null) localVarPathParams.Add("accountId", this.ApiClient.ParameterToString(accountId)); // path parameter if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter - if (documentId != null) localVarPathParams.Add("documentId", this.ApiClient.ParameterToString(documentId)); // path parameter - if (pageNumber != null) localVarPathParams.Add("pageNumber", this.ApiClient.ParameterToString(pageNumber)); // path parameter + if (recipientId != null) localVarPathParams.Add("recipientId", this.ApiClient.ParameterToString(recipientId)); // path parameter if (options != null) { - if (options.dpi != null) localVarQueryParams.Add("dpi", this.ApiClient.ParameterToString(options.dpi)); // query parameter - if (options.maxHeight != null) localVarQueryParams.Add("max_height", this.ApiClient.ParameterToString(options.maxHeight)); // query parameter - if (options.maxWidth != null) localVarQueryParams.Add("max_width", this.ApiClient.ParameterToString(options.maxWidth)); // query parameter - if (options.showChanges != null) localVarQueryParams.Add("show_changes", this.ApiClient.ParameterToString(options.showChanges)); // query parameter + if (options.langCode != null) localVarQueryParams.Add("langCode", this.ApiClient.ParameterToString(options.langCode)); // query parameter } // authentication (docusignAccessCode) required @@ -17754,63 +17918,77 @@ public System.IO.Stream GetDocumentPageImage(string accountId, string envelopeId if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("GetDocumentPageImage", localVarResponse); + Exception exception = ExceptionFactory("GetConsumerDisclosureDefault", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (System.IO.Stream)this.ApiClient.Deserialize(localVarResponse, typeof(System.IO.Stream))); + (ConsumerDisclosure)this.ApiClient.Deserialize(localVarResponse, typeof(ConsumerDisclosure))); } /// - /// Returns tabs on the document. Returns the tabs on the document specified by `documentId` in the envelope specified by `envelopeId`. + /// Gets a document from an envelope. 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 /// - public class GetDocumentTabsOptions + public class GetDocumentOptions { + /// When set to **false**, the envelope signing certificate is removed from the download. + public string certificate {get; set;} /// - public string includeMetadata {get; set;} + public string documentsByUserid {get; set;} /// - public string pageNumbers {get; set;} + public string encoding {get; set;} + /// When set to **true**, the PDF bytes returned in the response are encrypted for all the key managers configured on your DocuSign account. The documents can be decrypted with the KeyManager Decrypt Document API. + public string encrypt {get; set;} + /// Specifies the language for the Certificate of Completion in the response. The supported languages, with the language value shown in parenthesis, are: Chinese Simplified (zh_CN), , Chinese Traditional (zh_TW), Dutch (nl), English US (en), French (fr), German (de), Italian (it), Japanese (ja), Korean (ko), Portuguese (pt), Portuguese (Brazil) (pt_BR), Russian (ru), Spanish (es). + public string language {get; set;} + /// + public string recipientId {get; set;} + /// + public string sharedUserId {get; set;} + /// When set to **true**, any changed fields for the returned PDF are highlighted in yellow and optional signatures or initials outlined in red. + public string showChanges {get; set;} + /// When set to **true**, the account has the watermark feature enabled, and the envelope is not complete, the watermark for the account is added to the PDF documents. This option can remove the watermark. + public string watermark {get; set;} } /// - /// Returns tabs on the document. Returns the tabs on the document specified by `documentId` in the envelope specified by `envelopeId`. + /// Gets a document from an envelope. 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 /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. /// The ID of the document being accessed. /// Options for modifying the behavior of the function. - /// Tabs - public Tabs GetDocumentTabs(string accountId, string envelopeId, string documentId, EnvelopesApi.GetDocumentTabsOptions options = null) + /// System.IO.Stream + public System.IO.Stream GetDocument(string accountId, string envelopeId, string documentId, EnvelopesApi.GetDocumentOptions options = null) { - ApiResponse localVarResponse = GetDocumentTabsWithHttpInfo(accountId, envelopeId, documentId, options); + ApiResponse localVarResponse = GetDocumentWithHttpInfo(accountId, envelopeId, documentId, options); return localVarResponse.Data; } /// - /// Returns tabs on the document. Returns the tabs on the document specified by `documentId` in the envelope specified by `envelopeId`. + /// Gets a document from an envelope. 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 /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. /// The ID of the document being accessed. /// Options for modifying the behavior of the function. - /// ApiResponse of Tabs - public ApiResponse GetDocumentTabsWithHttpInfo(string accountId, string envelopeId, string documentId, EnvelopesApi.GetDocumentTabsOptions options = null) + /// ApiResponse of System.IO.Stream + public ApiResponse GetDocumentWithHttpInfo(string accountId, string envelopeId, string documentId, EnvelopesApi.GetDocumentOptions options = null) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetDocumentTabs"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetDocument"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetDocumentTabs"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetDocument"); // verify the required parameter 'documentId' is set if (documentId == null) - throw new ApiException(400, "Missing required parameter 'documentId' when calling EnvelopesApi->GetDocumentTabs"); + throw new ApiException(400, "Missing required parameter 'documentId' when calling EnvelopesApi->GetDocument"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/tabs"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -17826,7 +18004,7 @@ public ApiResponse GetDocumentTabsWithHttpInfo(string accountId, string en // to determine the Accept header String[] localVarHttpHeaderAccepts = new String[] { - "application/json" + "application/pdf" }; String localVarHttpHeaderAccept = this.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); if (localVarHttpHeaderAccept != null) @@ -17840,8 +18018,15 @@ public ApiResponse GetDocumentTabsWithHttpInfo(string accountId, string en if (documentId != null) localVarPathParams.Add("documentId", this.ApiClient.ParameterToString(documentId)); // path parameter if (options != null) { - if (options.includeMetadata != null) localVarQueryParams.Add("include_metadata", this.ApiClient.ParameterToString(options.includeMetadata)); // query parameter - if (options.pageNumbers != null) localVarQueryParams.Add("page_numbers", this.ApiClient.ParameterToString(options.pageNumbers)); // query parameter + if (options.certificate != null) localVarQueryParams.Add("certificate", this.ApiClient.ParameterToString(options.certificate)); // query parameter + if (options.documentsByUserid != null) localVarQueryParams.Add("documents_by_userid", this.ApiClient.ParameterToString(options.documentsByUserid)); // query parameter + if (options.encoding != null) localVarQueryParams.Add("encoding", this.ApiClient.ParameterToString(options.encoding)); // query parameter + if (options.encrypt != null) localVarQueryParams.Add("encrypt", this.ApiClient.ParameterToString(options.encrypt)); // query parameter + if (options.language != null) localVarQueryParams.Add("language", this.ApiClient.ParameterToString(options.language)); // query parameter + if (options.recipientId != null) localVarQueryParams.Add("recipient_id", this.ApiClient.ParameterToString(options.recipientId)); // query parameter + if (options.sharedUserId != null) localVarQueryParams.Add("shared_user_id", this.ApiClient.ParameterToString(options.sharedUserId)); // query parameter + if (options.showChanges != null) localVarQueryParams.Add("show_changes", this.ApiClient.ParameterToString(options.showChanges)); // query parameter + if (options.watermark != null) localVarQueryParams.Add("watermark", this.ApiClient.ParameterToString(options.watermark)); // query parameter } // authentication (docusignAccessCode) required @@ -17860,52 +18045,52 @@ public ApiResponse GetDocumentTabsWithHttpInfo(string accountId, string en if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("GetDocumentTabs", localVarResponse); + Exception exception = ExceptionFactory("GetDocument", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (Tabs)this.ApiClient.Deserialize(localVarResponse, typeof(Tabs))); + (System.IO.Stream)this.ApiClient.Deserialize(localVarResponse, typeof(System.IO.Stream))); } /// - /// Returns tabs on the document. Returns the tabs on the document specified by `documentId` in the envelope specified by `envelopeId`. + /// Gets a document from an envelope. 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 /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. /// The ID of the document being accessed. /// Options for modifying the behavior of the function. - /// Task of Tabs - public async System.Threading.Tasks.Task GetDocumentTabsAsync(string accountId, string envelopeId, string documentId, EnvelopesApi.GetDocumentTabsOptions options = null) + /// Task of System.IO.Stream + public async System.Threading.Tasks.Task GetDocumentAsync(string accountId, string envelopeId, string documentId, EnvelopesApi.GetDocumentOptions options = null) { - ApiResponse localVarResponse = await GetDocumentTabsAsyncWithHttpInfo(accountId, envelopeId, documentId, options); + ApiResponse localVarResponse = await GetDocumentAsyncWithHttpInfo(accountId, envelopeId, documentId, options); return localVarResponse.Data; } /// - /// Returns tabs on the document. Returns the tabs on the document specified by `documentId` in the envelope specified by `envelopeId`. + /// Gets a document from an envelope. 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 /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. /// The ID of the document being accessed. /// Options for modifying the behavior of the function. - /// Task of ApiResponse (Tabs) - public async System.Threading.Tasks.Task> GetDocumentTabsAsyncWithHttpInfo(string accountId, string envelopeId, string documentId, EnvelopesApi.GetDocumentTabsOptions options = null) + /// Task of ApiResponse (System.IO.Stream) + public async System.Threading.Tasks.Task> GetDocumentAsyncWithHttpInfo(string accountId, string envelopeId, string documentId, EnvelopesApi.GetDocumentOptions options = null) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetDocumentTabs"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetDocument"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetDocumentTabs"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetDocument"); // verify the required parameter 'documentId' is set if (documentId == null) - throw new ApiException(400, "Missing required parameter 'documentId' when calling EnvelopesApi->GetDocumentTabs"); + throw new ApiException(400, "Missing required parameter 'documentId' when calling EnvelopesApi->GetDocument"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/tabs"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -17921,7 +18106,7 @@ public async System.Threading.Tasks.Task> GetDocumentTabsAsync // to determine the Accept header String[] localVarHttpHeaderAccepts = new String[] { - "application/json" + "application/pdf" }; String localVarHttpHeaderAccept = this.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); if (localVarHttpHeaderAccept != null) @@ -17935,8 +18120,15 @@ public async System.Threading.Tasks.Task> GetDocumentTabsAsync if (documentId != null) localVarPathParams.Add("documentId", this.ApiClient.ParameterToString(documentId)); // path parameter if (options != null) { - if (options.includeMetadata != null) localVarQueryParams.Add("include_metadata", this.ApiClient.ParameterToString(options.includeMetadata)); // query parameter - if (options.pageNumbers != null) localVarQueryParams.Add("page_numbers", this.ApiClient.ParameterToString(options.pageNumbers)); // query parameter + if (options.certificate != null) localVarQueryParams.Add("certificate", this.ApiClient.ParameterToString(options.certificate)); // query parameter + if (options.documentsByUserid != null) localVarQueryParams.Add("documents_by_userid", this.ApiClient.ParameterToString(options.documentsByUserid)); // query parameter + if (options.encoding != null) localVarQueryParams.Add("encoding", this.ApiClient.ParameterToString(options.encoding)); // query parameter + if (options.encrypt != null) localVarQueryParams.Add("encrypt", this.ApiClient.ParameterToString(options.encrypt)); // query parameter + if (options.language != null) localVarQueryParams.Add("language", this.ApiClient.ParameterToString(options.language)); // query parameter + if (options.recipientId != null) localVarQueryParams.Add("recipient_id", this.ApiClient.ParameterToString(options.recipientId)); // query parameter + if (options.sharedUserId != null) localVarQueryParams.Add("shared_user_id", this.ApiClient.ParameterToString(options.sharedUserId)); // query parameter + if (options.showChanges != null) localVarQueryParams.Add("show_changes", this.ApiClient.ParameterToString(options.showChanges)); // query parameter + if (options.watermark != null) localVarQueryParams.Add("watermark", this.ApiClient.ParameterToString(options.watermark)); // query parameter } // authentication (docusignAccessCode) required @@ -17955,46 +18147,72 @@ public async System.Threading.Tasks.Task> GetDocumentTabsAsync if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("GetDocumentTabs", localVarResponse); + Exception exception = ExceptionFactory("GetDocument", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (Tabs)this.ApiClient.Deserialize(localVarResponse, typeof(Tabs))); + (System.IO.Stream)this.ApiClient.Deserialize(localVarResponse, typeof(System.IO.Stream))); } - /// - /// Gets the email setting overrides for an envelope. Retrieves the email override settings for the specified envelope. + /// Gets a page image from an envelope for display. Retrieves a page image for display from the specified envelope. /// - /// Thrown when fails to make API call - /// The external account number (int) or account ID Guid. - /// The envelopeId Guid of the envelope being accessed. - /// EmailSettings - public EmailSettings GetEmailSettings(string accountId, string envelopeId) + public class GetDocumentPageImageOptions { - ApiResponse localVarResponse = GetEmailSettingsWithHttpInfo(accountId, envelopeId); - return localVarResponse.Data; + /// Sets the dpi for the image. + public string dpi {get; set;} + /// Sets the maximum height for the page image in pixels. The dpi is recalculated based on this setting. + public string maxHeight {get; set;} + /// Sets the maximum width for the page image in pixels. The dpi is recalculated based on this setting. + public string maxWidth {get; set;} + /// + public string showChanges {get; set;} } /// - /// Gets the email setting overrides for an envelope. Retrieves the email override settings for the specified envelope. + /// Gets a page image from an envelope for display. Retrieves a page image for display from the specified envelope. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// ApiResponse of EmailSettings - public ApiResponse GetEmailSettingsWithHttpInfo(string accountId, string envelopeId) + /// The ID of the document being accessed. + /// The page number being accessed. + /// Options for modifying the behavior of the function. + /// System.IO.Stream + public System.IO.Stream GetDocumentPageImage(string accountId, string envelopeId, string documentId, string pageNumber, EnvelopesApi.GetDocumentPageImageOptions options = null) + { + ApiResponse localVarResponse = GetDocumentPageImageWithHttpInfo(accountId, envelopeId, documentId, pageNumber, options); + return localVarResponse.Data; + } + + /// + /// Gets a page image from an envelope for display. Retrieves a page image for display from the specified envelope. + /// + /// Thrown when fails to make API call + /// The external account number (int) or account ID Guid. + /// The envelopeId Guid of the envelope being accessed. + /// The ID of the document being accessed. + /// The page number being accessed. + /// Options for modifying the behavior of the function. + /// ApiResponse of System.IO.Stream + public ApiResponse GetDocumentPageImageWithHttpInfo(string accountId, string envelopeId, string documentId, string pageNumber, EnvelopesApi.GetDocumentPageImageOptions options = null) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetEmailSettings"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetDocumentPageImage"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetEmailSettings"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetDocumentPageImage"); + // verify the required parameter 'documentId' is set + if (documentId == null) + throw new ApiException(400, "Missing required parameter 'documentId' when calling EnvelopesApi->GetDocumentPageImage"); + // verify the required parameter 'pageNumber' is set + if (pageNumber == null) + throw new ApiException(400, "Missing required parameter 'pageNumber' when calling EnvelopesApi->GetDocumentPageImage"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/email_settings"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/pages/{pageNumber}/page_image"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -18010,7 +18228,7 @@ public ApiResponse GetEmailSettingsWithHttpInfo(string accountId, // to determine the Accept header String[] localVarHttpHeaderAccepts = new String[] { - "application/json" + "image/png" }; String localVarHttpHeaderAccept = this.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); if (localVarHttpHeaderAccept != null) @@ -18021,6 +18239,15 @@ public ApiResponse GetEmailSettingsWithHttpInfo(string accountId, localVarPathParams.Add("format", "json"); if (accountId != null) localVarPathParams.Add("accountId", this.ApiClient.ParameterToString(accountId)); // path parameter if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter + if (documentId != null) localVarPathParams.Add("documentId", this.ApiClient.ParameterToString(documentId)); // path parameter + if (pageNumber != null) localVarPathParams.Add("pageNumber", this.ApiClient.ParameterToString(pageNumber)); // path parameter + if (options != null) + { + if (options.dpi != null) localVarQueryParams.Add("dpi", this.ApiClient.ParameterToString(options.dpi)); // query parameter + if (options.maxHeight != null) localVarQueryParams.Add("max_height", this.ApiClient.ParameterToString(options.maxHeight)); // query parameter + if (options.maxWidth != null) localVarQueryParams.Add("max_width", this.ApiClient.ParameterToString(options.maxWidth)); // query parameter + if (options.showChanges != null) localVarQueryParams.Add("show_changes", this.ApiClient.ParameterToString(options.showChanges)); // query parameter + } // authentication (docusignAccessCode) required // oauth required @@ -18038,45 +18265,57 @@ public ApiResponse GetEmailSettingsWithHttpInfo(string accountId, if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("GetEmailSettings", localVarResponse); + Exception exception = ExceptionFactory("GetDocumentPageImage", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (EmailSettings)this.ApiClient.Deserialize(localVarResponse, typeof(EmailSettings))); + (System.IO.Stream)this.ApiClient.Deserialize(localVarResponse, typeof(System.IO.Stream))); } /// - /// Gets the email setting overrides for an envelope. Retrieves the email override settings for the specified envelope. + /// Gets a page image from an envelope for display. Retrieves a page image for display from the specified envelope. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// Task of EmailSettings - public async System.Threading.Tasks.Task GetEmailSettingsAsync(string accountId, string envelopeId) + /// The ID of the document being accessed. + /// The page number being accessed. + /// Options for modifying the behavior of the function. + /// Task of System.IO.Stream + public async System.Threading.Tasks.Task GetDocumentPageImageAsync(string accountId, string envelopeId, string documentId, string pageNumber, EnvelopesApi.GetDocumentPageImageOptions options = null) { - ApiResponse localVarResponse = await GetEmailSettingsAsyncWithHttpInfo(accountId, envelopeId); + ApiResponse localVarResponse = await GetDocumentPageImageAsyncWithHttpInfo(accountId, envelopeId, documentId, pageNumber, options); return localVarResponse.Data; } /// - /// Gets the email setting overrides for an envelope. Retrieves the email override settings for the specified envelope. + /// Gets a page image from an envelope for display. Retrieves a page image for display from the specified envelope. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// Task of ApiResponse (EmailSettings) - public async System.Threading.Tasks.Task> GetEmailSettingsAsyncWithHttpInfo(string accountId, string envelopeId) + /// The ID of the document being accessed. + /// The page number being accessed. + /// Options for modifying the behavior of the function. + /// Task of ApiResponse (System.IO.Stream) + public async System.Threading.Tasks.Task> GetDocumentPageImageAsyncWithHttpInfo(string accountId, string envelopeId, string documentId, string pageNumber, EnvelopesApi.GetDocumentPageImageOptions options = null) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetEmailSettings"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetDocumentPageImage"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetEmailSettings"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetDocumentPageImage"); + // verify the required parameter 'documentId' is set + if (documentId == null) + throw new ApiException(400, "Missing required parameter 'documentId' when calling EnvelopesApi->GetDocumentPageImage"); + // verify the required parameter 'pageNumber' is set + if (pageNumber == null) + throw new ApiException(400, "Missing required parameter 'pageNumber' when calling EnvelopesApi->GetDocumentPageImage"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/email_settings"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/pages/{pageNumber}/page_image"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -18092,7 +18331,7 @@ public async System.Threading.Tasks.Task> GetEmailSet // to determine the Accept header String[] localVarHttpHeaderAccepts = new String[] { - "application/json" + "image/png" }; String localVarHttpHeaderAccept = this.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); if (localVarHttpHeaderAccept != null) @@ -18103,6 +18342,15 @@ public async System.Threading.Tasks.Task> GetEmailSet localVarPathParams.Add("format", "json"); if (accountId != null) localVarPathParams.Add("accountId", this.ApiClient.ParameterToString(accountId)); // path parameter if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter + if (documentId != null) localVarPathParams.Add("documentId", this.ApiClient.ParameterToString(documentId)); // path parameter + if (pageNumber != null) localVarPathParams.Add("pageNumber", this.ApiClient.ParameterToString(pageNumber)); // path parameter + if (options != null) + { + if (options.dpi != null) localVarQueryParams.Add("dpi", this.ApiClient.ParameterToString(options.dpi)); // query parameter + if (options.maxHeight != null) localVarQueryParams.Add("max_height", this.ApiClient.ParameterToString(options.maxHeight)); // query parameter + if (options.maxWidth != null) localVarQueryParams.Add("max_width", this.ApiClient.ParameterToString(options.maxWidth)); // query parameter + if (options.showChanges != null) localVarQueryParams.Add("show_changes", this.ApiClient.ParameterToString(options.showChanges)); // query parameter + } // authentication (docusignAccessCode) required // oauth required @@ -18120,62 +18368,63 @@ public async System.Threading.Tasks.Task> GetEmailSet if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("GetEmailSettings", localVarResponse); + Exception exception = ExceptionFactory("GetDocumentPageImage", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (EmailSettings)this.ApiClient.Deserialize(localVarResponse, typeof(EmailSettings))); + (System.IO.Stream)this.ApiClient.Deserialize(localVarResponse, typeof(System.IO.Stream))); } /// - /// Gets the status of a envelope. Retrieves the overall status for the specified envelope. + /// Returns tabs on the document. Returns the tabs on the document specified by `documentId` in the envelope specified by `envelopeId`. /// - public class GetEnvelopeOptions + public class GetDocumentTabsOptions { - /// When true, envelope information can be added or modified. - public string advancedUpdate {get; set;} /// - public string include {get; set;} - /// - public string includeAnchorTabLocations {get; set;} + public string includeMetadata {get; set;} /// - public string userId {get; set;} + public string pageNumbers {get; set;} } /// - /// Gets the status of a envelope. Retrieves the overall status for the specified envelope. + /// Returns tabs on the document. Returns the tabs on the document specified by `documentId` in the envelope specified by `envelopeId`. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. + /// The ID of the document being accessed. /// Options for modifying the behavior of the function. - /// Envelope - public Envelope GetEnvelope(string accountId, string envelopeId, EnvelopesApi.GetEnvelopeOptions options = null) + /// Tabs + public Tabs GetDocumentTabs(string accountId, string envelopeId, string documentId, EnvelopesApi.GetDocumentTabsOptions options = null) { - ApiResponse localVarResponse = GetEnvelopeWithHttpInfo(accountId, envelopeId, options); + ApiResponse localVarResponse = GetDocumentTabsWithHttpInfo(accountId, envelopeId, documentId, options); return localVarResponse.Data; } /// - /// Gets the status of a envelope. Retrieves the overall status for the specified envelope. + /// Returns tabs on the document. Returns the tabs on the document specified by `documentId` in the envelope specified by `envelopeId`. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. + /// The ID of the document being accessed. /// Options for modifying the behavior of the function. - /// ApiResponse of Envelope - public ApiResponse GetEnvelopeWithHttpInfo(string accountId, string envelopeId, EnvelopesApi.GetEnvelopeOptions options = null) + /// ApiResponse of Tabs + public ApiResponse GetDocumentTabsWithHttpInfo(string accountId, string envelopeId, string documentId, EnvelopesApi.GetDocumentTabsOptions options = null) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetEnvelope"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetDocumentTabs"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetEnvelope"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetDocumentTabs"); + // verify the required parameter 'documentId' is set + if (documentId == null) + throw new ApiException(400, "Missing required parameter 'documentId' when calling EnvelopesApi->GetDocumentTabs"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/tabs"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -18202,12 +18451,11 @@ public ApiResponse GetEnvelopeWithHttpInfo(string accountId, string en localVarPathParams.Add("format", "json"); if (accountId != null) localVarPathParams.Add("accountId", this.ApiClient.ParameterToString(accountId)); // path parameter if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter + if (documentId != null) localVarPathParams.Add("documentId", this.ApiClient.ParameterToString(documentId)); // path parameter if (options != null) { - if (options.advancedUpdate != null) localVarQueryParams.Add("advanced_update", this.ApiClient.ParameterToString(options.advancedUpdate)); // query parameter - if (options.include != null) localVarQueryParams.Add("include", this.ApiClient.ParameterToString(options.include)); // query parameter - if (options.includeAnchorTabLocations != null) localVarQueryParams.Add("include_anchor_tab_locations", this.ApiClient.ParameterToString(options.includeAnchorTabLocations)); // query parameter - if (options.userId != null) localVarQueryParams.Add("user_id", this.ApiClient.ParameterToString(options.userId)); // query parameter + if (options.includeMetadata != null) localVarQueryParams.Add("include_metadata", this.ApiClient.ParameterToString(options.includeMetadata)); // query parameter + if (options.pageNumbers != null) localVarQueryParams.Add("page_numbers", this.ApiClient.ParameterToString(options.pageNumbers)); // query parameter } // authentication (docusignAccessCode) required @@ -18226,47 +18474,52 @@ public ApiResponse GetEnvelopeWithHttpInfo(string accountId, string en if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("GetEnvelope", localVarResponse); + Exception exception = ExceptionFactory("GetDocumentTabs", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (Envelope)this.ApiClient.Deserialize(localVarResponse, typeof(Envelope))); + (Tabs)this.ApiClient.Deserialize(localVarResponse, typeof(Tabs))); } /// - /// Gets the status of a envelope. Retrieves the overall status for the specified envelope. + /// Returns tabs on the document. Returns the tabs on the document specified by `documentId` in the envelope specified by `envelopeId`. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. + /// The ID of the document being accessed. /// Options for modifying the behavior of the function. - /// Task of Envelope - public async System.Threading.Tasks.Task GetEnvelopeAsync(string accountId, string envelopeId, EnvelopesApi.GetEnvelopeOptions options = null) + /// Task of Tabs + public async System.Threading.Tasks.Task GetDocumentTabsAsync(string accountId, string envelopeId, string documentId, EnvelopesApi.GetDocumentTabsOptions options = null) { - ApiResponse localVarResponse = await GetEnvelopeAsyncWithHttpInfo(accountId, envelopeId, options); + ApiResponse localVarResponse = await GetDocumentTabsAsyncWithHttpInfo(accountId, envelopeId, documentId, options); return localVarResponse.Data; } /// - /// Gets the status of a envelope. Retrieves the overall status for the specified envelope. + /// Returns tabs on the document. Returns the tabs on the document specified by `documentId` in the envelope specified by `envelopeId`. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. + /// The ID of the document being accessed. /// Options for modifying the behavior of the function. - /// Task of ApiResponse (Envelope) - public async System.Threading.Tasks.Task> GetEnvelopeAsyncWithHttpInfo(string accountId, string envelopeId, EnvelopesApi.GetEnvelopeOptions options = null) + /// Task of ApiResponse (Tabs) + public async System.Threading.Tasks.Task> GetDocumentTabsAsyncWithHttpInfo(string accountId, string envelopeId, string documentId, EnvelopesApi.GetDocumentTabsOptions options = null) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetEnvelope"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetDocumentTabs"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetEnvelope"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetDocumentTabs"); + // verify the required parameter 'documentId' is set + if (documentId == null) + throw new ApiException(400, "Missing required parameter 'documentId' when calling EnvelopesApi->GetDocumentTabs"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/tabs"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -18293,12 +18546,11 @@ public async System.Threading.Tasks.Task> GetEnvelopeAsync localVarPathParams.Add("format", "json"); if (accountId != null) localVarPathParams.Add("accountId", this.ApiClient.ParameterToString(accountId)); // path parameter if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter + if (documentId != null) localVarPathParams.Add("documentId", this.ApiClient.ParameterToString(documentId)); // path parameter if (options != null) { - if (options.advancedUpdate != null) localVarQueryParams.Add("advanced_update", this.ApiClient.ParameterToString(options.advancedUpdate)); // query parameter - if (options.include != null) localVarQueryParams.Add("include", this.ApiClient.ParameterToString(options.include)); // query parameter - if (options.includeAnchorTabLocations != null) localVarQueryParams.Add("include_anchor_tab_locations", this.ApiClient.ParameterToString(options.includeAnchorTabLocations)); // query parameter - if (options.userId != null) localVarQueryParams.Add("user_id", this.ApiClient.ParameterToString(options.userId)); // query parameter + if (options.includeMetadata != null) localVarQueryParams.Add("include_metadata", this.ApiClient.ParameterToString(options.includeMetadata)); // query parameter + if (options.pageNumbers != null) localVarQueryParams.Add("page_numbers", this.ApiClient.ParameterToString(options.pageNumbers)); // query parameter } // authentication (docusignAccessCode) required @@ -18317,51 +18569,46 @@ public async System.Threading.Tasks.Task> GetEnvelopeAsync if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("GetEnvelope", localVarResponse); + Exception exception = ExceptionFactory("GetDocumentTabs", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (Envelope)this.ApiClient.Deserialize(localVarResponse, typeof(Envelope))); + (Tabs)this.ApiClient.Deserialize(localVarResponse, typeof(Tabs))); } /// - /// Returns the delayed routing rules for an envelope's workflow step definition. + /// Gets the email setting overrides for an envelope. Retrieves the email override settings for the specified envelope. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// - /// DelayedRouting - public DelayedRouting GetEnvelopeDelayedRoutingDefinition(string accountId, string envelopeId, string workflowStepId) + /// EmailSettings + public EmailSettings GetEmailSettings(string accountId, string envelopeId) { - ApiResponse localVarResponse = GetEnvelopeDelayedRoutingDefinitionWithHttpInfo(accountId, envelopeId, workflowStepId); + ApiResponse localVarResponse = GetEmailSettingsWithHttpInfo(accountId, envelopeId); return localVarResponse.Data; } /// - /// Returns the delayed routing rules for an envelope's workflow step definition. + /// Gets the email setting overrides for an envelope. Retrieves the email override settings for the specified envelope. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// - /// ApiResponse of DelayedRouting - public ApiResponse GetEnvelopeDelayedRoutingDefinitionWithHttpInfo(string accountId, string envelopeId, string workflowStepId) + /// ApiResponse of EmailSettings + public ApiResponse GetEmailSettingsWithHttpInfo(string accountId, string envelopeId) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetEnvelopeDelayedRoutingDefinition"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetEmailSettings"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetEnvelopeDelayedRoutingDefinition"); - // verify the required parameter 'workflowStepId' is set - if (workflowStepId == null) - throw new ApiException(400, "Missing required parameter 'workflowStepId' when calling EnvelopesApi->GetEnvelopeDelayedRoutingDefinition"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetEmailSettings"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/workflow/steps/{workflowStepId}/delayedRouting"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/email_settings"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -18388,7 +18635,6 @@ public ApiResponse GetEnvelopeDelayedRoutingDefinitionWithHttpIn localVarPathParams.Add("format", "json"); if (accountId != null) localVarPathParams.Add("accountId", this.ApiClient.ParameterToString(accountId)); // path parameter if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter - if (workflowStepId != null) localVarPathParams.Add("workflowStepId", this.ApiClient.ParameterToString(workflowStepId)); // path parameter // authentication (docusignAccessCode) required // oauth required @@ -18406,50 +18652,45 @@ public ApiResponse GetEnvelopeDelayedRoutingDefinitionWithHttpIn if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("GetEnvelopeDelayedRoutingDefinition", localVarResponse); + Exception exception = ExceptionFactory("GetEmailSettings", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (DelayedRouting)this.ApiClient.Deserialize(localVarResponse, typeof(DelayedRouting))); + (EmailSettings)this.ApiClient.Deserialize(localVarResponse, typeof(EmailSettings))); } /// - /// Returns the delayed routing rules for an envelope's workflow step definition. + /// Gets the email setting overrides for an envelope. Retrieves the email override settings for the specified envelope. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// - /// Task of DelayedRouting - public async System.Threading.Tasks.Task GetEnvelopeDelayedRoutingDefinitionAsync(string accountId, string envelopeId, string workflowStepId) + /// Task of EmailSettings + public async System.Threading.Tasks.Task GetEmailSettingsAsync(string accountId, string envelopeId) { - ApiResponse localVarResponse = await GetEnvelopeDelayedRoutingDefinitionAsyncWithHttpInfo(accountId, envelopeId, workflowStepId); + ApiResponse localVarResponse = await GetEmailSettingsAsyncWithHttpInfo(accountId, envelopeId); return localVarResponse.Data; } /// - /// Returns the delayed routing rules for an envelope's workflow step definition. + /// Gets the email setting overrides for an envelope. Retrieves the email override settings for the specified envelope. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// - /// Task of ApiResponse (DelayedRouting) - public async System.Threading.Tasks.Task> GetEnvelopeDelayedRoutingDefinitionAsyncWithHttpInfo(string accountId, string envelopeId, string workflowStepId) + /// Task of ApiResponse (EmailSettings) + public async System.Threading.Tasks.Task> GetEmailSettingsAsyncWithHttpInfo(string accountId, string envelopeId) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetEnvelopeDelayedRoutingDefinition"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetEmailSettings"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetEnvelopeDelayedRoutingDefinition"); - // verify the required parameter 'workflowStepId' is set - if (workflowStepId == null) - throw new ApiException(400, "Missing required parameter 'workflowStepId' when calling EnvelopesApi->GetEnvelopeDelayedRoutingDefinition"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetEmailSettings"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/workflow/steps/{workflowStepId}/delayedRouting"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/email_settings"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -18476,7 +18717,6 @@ public async System.Threading.Tasks.Task> GetEnvelop localVarPathParams.Add("format", "json"); if (accountId != null) localVarPathParams.Add("accountId", this.ApiClient.ParameterToString(accountId)); // path parameter if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter - if (workflowStepId != null) localVarPathParams.Add("workflowStepId", this.ApiClient.ParameterToString(workflowStepId)); // path parameter // authentication (docusignAccessCode) required // oauth required @@ -18494,46 +18734,62 @@ public async System.Threading.Tasks.Task> GetEnvelop if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("GetEnvelopeDelayedRoutingDefinition", localVarResponse); + Exception exception = ExceptionFactory("GetEmailSettings", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (DelayedRouting)this.ApiClient.Deserialize(localVarResponse, typeof(DelayedRouting))); + (EmailSettings)this.ApiClient.Deserialize(localVarResponse, typeof(EmailSettings))); } - /// - /// Returns formfields for an envelope + /// Gets the status of a envelope. Retrieves the overall status for the specified envelope. + /// + public class GetEnvelopeOptions + { + /// When true, envelope information can be added or modified. + public string advancedUpdate {get; set;} + /// + public string include {get; set;} + /// + public string includeAnchorTabLocations {get; set;} + /// + public string userId {get; set;} + } + + /// + /// Gets the status of a envelope. Retrieves the overall status for the specified envelope. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// DocGenFormFieldResponse - public DocGenFormFieldResponse GetEnvelopeDocGenFormFields(string accountId, string envelopeId) + /// Options for modifying the behavior of the function. + /// Envelope + public Envelope GetEnvelope(string accountId, string envelopeId, EnvelopesApi.GetEnvelopeOptions options = null) { - ApiResponse localVarResponse = GetEnvelopeDocGenFormFieldsWithHttpInfo(accountId, envelopeId); + ApiResponse localVarResponse = GetEnvelopeWithHttpInfo(accountId, envelopeId, options); return localVarResponse.Data; } /// - /// Returns formfields for an envelope + /// Gets the status of a envelope. Retrieves the overall status for the specified envelope. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// ApiResponse of DocGenFormFieldResponse - public ApiResponse GetEnvelopeDocGenFormFieldsWithHttpInfo(string accountId, string envelopeId) + /// Options for modifying the behavior of the function. + /// ApiResponse of Envelope + public ApiResponse GetEnvelopeWithHttpInfo(string accountId, string envelopeId, EnvelopesApi.GetEnvelopeOptions options = null) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetEnvelopeDocGenFormFields"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetEnvelope"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetEnvelopeDocGenFormFields"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetEnvelope"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/docGenFormFields"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -18560,6 +18816,13 @@ public ApiResponse GetEnvelopeDocGenFormFieldsWithHttpI localVarPathParams.Add("format", "json"); if (accountId != null) localVarPathParams.Add("accountId", this.ApiClient.ParameterToString(accountId)); // path parameter if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter + if (options != null) + { + if (options.advancedUpdate != null) localVarQueryParams.Add("advanced_update", this.ApiClient.ParameterToString(options.advancedUpdate)); // query parameter + if (options.include != null) localVarQueryParams.Add("include", this.ApiClient.ParameterToString(options.include)); // query parameter + if (options.includeAnchorTabLocations != null) localVarQueryParams.Add("include_anchor_tab_locations", this.ApiClient.ParameterToString(options.includeAnchorTabLocations)); // query parameter + if (options.userId != null) localVarQueryParams.Add("user_id", this.ApiClient.ParameterToString(options.userId)); // query parameter + } // authentication (docusignAccessCode) required // oauth required @@ -18577,45 +18840,47 @@ public ApiResponse GetEnvelopeDocGenFormFieldsWithHttpI if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("GetEnvelopeDocGenFormFields", localVarResponse); + Exception exception = ExceptionFactory("GetEnvelope", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (DocGenFormFieldResponse)this.ApiClient.Deserialize(localVarResponse, typeof(DocGenFormFieldResponse))); + (Envelope)this.ApiClient.Deserialize(localVarResponse, typeof(Envelope))); } /// - /// Returns formfields for an envelope + /// Gets the status of a envelope. Retrieves the overall status for the specified envelope. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// Task of DocGenFormFieldResponse - public async System.Threading.Tasks.Task GetEnvelopeDocGenFormFieldsAsync(string accountId, string envelopeId) + /// Options for modifying the behavior of the function. + /// Task of Envelope + public async System.Threading.Tasks.Task GetEnvelopeAsync(string accountId, string envelopeId, EnvelopesApi.GetEnvelopeOptions options = null) { - ApiResponse localVarResponse = await GetEnvelopeDocGenFormFieldsAsyncWithHttpInfo(accountId, envelopeId); + ApiResponse localVarResponse = await GetEnvelopeAsyncWithHttpInfo(accountId, envelopeId, options); return localVarResponse.Data; } /// - /// Returns formfields for an envelope + /// Gets the status of a envelope. Retrieves the overall status for the specified envelope. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// Task of ApiResponse (DocGenFormFieldResponse) - public async System.Threading.Tasks.Task> GetEnvelopeDocGenFormFieldsAsyncWithHttpInfo(string accountId, string envelopeId) + /// Options for modifying the behavior of the function. + /// Task of ApiResponse (Envelope) + public async System.Threading.Tasks.Task> GetEnvelopeAsyncWithHttpInfo(string accountId, string envelopeId, EnvelopesApi.GetEnvelopeOptions options = null) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetEnvelopeDocGenFormFields"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetEnvelope"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetEnvelopeDocGenFormFields"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetEnvelope"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/docGenFormFields"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -18642,6 +18907,13 @@ public async System.Threading.Tasks.Task> G localVarPathParams.Add("format", "json"); if (accountId != null) localVarPathParams.Add("accountId", this.ApiClient.ParameterToString(accountId)); // path parameter if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter + if (options != null) + { + if (options.advancedUpdate != null) localVarQueryParams.Add("advanced_update", this.ApiClient.ParameterToString(options.advancedUpdate)); // query parameter + if (options.include != null) localVarQueryParams.Add("include", this.ApiClient.ParameterToString(options.include)); // query parameter + if (options.includeAnchorTabLocations != null) localVarQueryParams.Add("include_anchor_tab_locations", this.ApiClient.ParameterToString(options.includeAnchorTabLocations)); // query parameter + if (options.userId != null) localVarQueryParams.Add("user_id", this.ApiClient.ParameterToString(options.userId)); // query parameter + } // authentication (docusignAccessCode) required // oauth required @@ -18659,51 +18931,51 @@ public async System.Threading.Tasks.Task> G if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("GetEnvelopeDocGenFormFields", localVarResponse); + Exception exception = ExceptionFactory("GetEnvelope", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (DocGenFormFieldResponse)this.ApiClient.Deserialize(localVarResponse, typeof(DocGenFormFieldResponse))); + (Envelope)this.ApiClient.Deserialize(localVarResponse, typeof(Envelope))); } /// - /// Get the Original HTML Definition used to generate the Responsive HTML for a given document. + /// Returns the delayed routing rules for an envelope's workflow step definition. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// The ID of the document being accessed. - /// DocumentHtmlDefinitionOriginals - public DocumentHtmlDefinitionOriginals GetEnvelopeDocumentHtmlDefinitions(string accountId, string envelopeId, string documentId) + /// + /// DelayedRouting + public DelayedRouting GetEnvelopeDelayedRoutingDefinition(string accountId, string envelopeId, string workflowStepId) { - ApiResponse localVarResponse = GetEnvelopeDocumentHtmlDefinitionsWithHttpInfo(accountId, envelopeId, documentId); + ApiResponse localVarResponse = GetEnvelopeDelayedRoutingDefinitionWithHttpInfo(accountId, envelopeId, workflowStepId); return localVarResponse.Data; } /// - /// Get the Original HTML Definition used to generate the Responsive HTML for a given document. + /// Returns the delayed routing rules for an envelope's workflow step definition. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// The ID of the document being accessed. - /// ApiResponse of DocumentHtmlDefinitionOriginals - public ApiResponse GetEnvelopeDocumentHtmlDefinitionsWithHttpInfo(string accountId, string envelopeId, string documentId) + /// + /// ApiResponse of DelayedRouting + public ApiResponse GetEnvelopeDelayedRoutingDefinitionWithHttpInfo(string accountId, string envelopeId, string workflowStepId) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetEnvelopeDocumentHtmlDefinitions"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetEnvelopeDelayedRoutingDefinition"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetEnvelopeDocumentHtmlDefinitions"); - // verify the required parameter 'documentId' is set - if (documentId == null) - throw new ApiException(400, "Missing required parameter 'documentId' when calling EnvelopesApi->GetEnvelopeDocumentHtmlDefinitions"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetEnvelopeDelayedRoutingDefinition"); + // verify the required parameter 'workflowStepId' is set + if (workflowStepId == null) + throw new ApiException(400, "Missing required parameter 'workflowStepId' when calling EnvelopesApi->GetEnvelopeDelayedRoutingDefinition"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/html_definitions"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/workflow/steps/{workflowStepId}/delayedRouting"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -18730,7 +19002,7 @@ public ApiResponse GetEnvelopeDocumentHtmlDefin localVarPathParams.Add("format", "json"); if (accountId != null) localVarPathParams.Add("accountId", this.ApiClient.ParameterToString(accountId)); // path parameter if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter - if (documentId != null) localVarPathParams.Add("documentId", this.ApiClient.ParameterToString(documentId)); // path parameter + if (workflowStepId != null) localVarPathParams.Add("workflowStepId", this.ApiClient.ParameterToString(workflowStepId)); // path parameter // authentication (docusignAccessCode) required // oauth required @@ -18748,50 +19020,50 @@ public ApiResponse GetEnvelopeDocumentHtmlDefin if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("GetEnvelopeDocumentHtmlDefinitions", localVarResponse); + Exception exception = ExceptionFactory("GetEnvelopeDelayedRoutingDefinition", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (DocumentHtmlDefinitionOriginals)this.ApiClient.Deserialize(localVarResponse, typeof(DocumentHtmlDefinitionOriginals))); + (DelayedRouting)this.ApiClient.Deserialize(localVarResponse, typeof(DelayedRouting))); } /// - /// Get the Original HTML Definition used to generate the Responsive HTML for a given document. + /// Returns the delayed routing rules for an envelope's workflow step definition. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// The ID of the document being accessed. - /// Task of DocumentHtmlDefinitionOriginals - public async System.Threading.Tasks.Task GetEnvelopeDocumentHtmlDefinitionsAsync(string accountId, string envelopeId, string documentId) + /// + /// Task of DelayedRouting + public async System.Threading.Tasks.Task GetEnvelopeDelayedRoutingDefinitionAsync(string accountId, string envelopeId, string workflowStepId) { - ApiResponse localVarResponse = await GetEnvelopeDocumentHtmlDefinitionsAsyncWithHttpInfo(accountId, envelopeId, documentId); + ApiResponse localVarResponse = await GetEnvelopeDelayedRoutingDefinitionAsyncWithHttpInfo(accountId, envelopeId, workflowStepId); return localVarResponse.Data; } /// - /// Get the Original HTML Definition used to generate the Responsive HTML for a given document. + /// Returns the delayed routing rules for an envelope's workflow step definition. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// The ID of the document being accessed. - /// Task of ApiResponse (DocumentHtmlDefinitionOriginals) - public async System.Threading.Tasks.Task> GetEnvelopeDocumentHtmlDefinitionsAsyncWithHttpInfo(string accountId, string envelopeId, string documentId) + /// + /// Task of ApiResponse (DelayedRouting) + public async System.Threading.Tasks.Task> GetEnvelopeDelayedRoutingDefinitionAsyncWithHttpInfo(string accountId, string envelopeId, string workflowStepId) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetEnvelopeDocumentHtmlDefinitions"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetEnvelopeDelayedRoutingDefinition"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetEnvelopeDocumentHtmlDefinitions"); - // verify the required parameter 'documentId' is set - if (documentId == null) - throw new ApiException(400, "Missing required parameter 'documentId' when calling EnvelopesApi->GetEnvelopeDocumentHtmlDefinitions"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetEnvelopeDelayedRoutingDefinition"); + // verify the required parameter 'workflowStepId' is set + if (workflowStepId == null) + throw new ApiException(400, "Missing required parameter 'workflowStepId' when calling EnvelopesApi->GetEnvelopeDelayedRoutingDefinition"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/html_definitions"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/workflow/steps/{workflowStepId}/delayedRouting"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -18818,7 +19090,7 @@ public async System.Threading.Tasks.Task(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (DocumentHtmlDefinitionOriginals)this.ApiClient.Deserialize(localVarResponse, typeof(DocumentHtmlDefinitionOriginals))); + (DelayedRouting)this.ApiClient.Deserialize(localVarResponse, typeof(DelayedRouting))); } /// - /// Get the Original HTML Definition used to generate the Responsive HTML for the envelope. + /// Returns formfields for an envelope /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// DocumentHtmlDefinitionOriginals - public DocumentHtmlDefinitionOriginals GetEnvelopeHtmlDefinitions(string accountId, string envelopeId) + /// DocGenFormFieldResponse + public DocGenFormFieldResponse GetEnvelopeDocGenFormFields(string accountId, string envelopeId) { - ApiResponse localVarResponse = GetEnvelopeHtmlDefinitionsWithHttpInfo(accountId, envelopeId); + ApiResponse localVarResponse = GetEnvelopeDocGenFormFieldsWithHttpInfo(accountId, envelopeId); return localVarResponse.Data; } /// - /// Get the Original HTML Definition used to generate the Responsive HTML for the envelope. + /// Returns formfields for an envelope /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// ApiResponse of DocumentHtmlDefinitionOriginals - public ApiResponse GetEnvelopeHtmlDefinitionsWithHttpInfo(string accountId, string envelopeId) + /// ApiResponse of DocGenFormFieldResponse + public ApiResponse GetEnvelopeDocGenFormFieldsWithHttpInfo(string accountId, string envelopeId) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetEnvelopeHtmlDefinitions"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetEnvelopeDocGenFormFields"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetEnvelopeHtmlDefinitions"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetEnvelopeDocGenFormFields"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/html_definitions"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/docGenFormFields"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -18919,45 +19191,45 @@ public ApiResponse GetEnvelopeHtmlDefinitionsWi if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("GetEnvelopeHtmlDefinitions", localVarResponse); + Exception exception = ExceptionFactory("GetEnvelopeDocGenFormFields", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (DocumentHtmlDefinitionOriginals)this.ApiClient.Deserialize(localVarResponse, typeof(DocumentHtmlDefinitionOriginals))); + (DocGenFormFieldResponse)this.ApiClient.Deserialize(localVarResponse, typeof(DocGenFormFieldResponse))); } /// - /// Get the Original HTML Definition used to generate the Responsive HTML for the envelope. + /// Returns formfields for an envelope /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// Task of DocumentHtmlDefinitionOriginals - public async System.Threading.Tasks.Task GetEnvelopeHtmlDefinitionsAsync(string accountId, string envelopeId) + /// Task of DocGenFormFieldResponse + public async System.Threading.Tasks.Task GetEnvelopeDocGenFormFieldsAsync(string accountId, string envelopeId) { - ApiResponse localVarResponse = await GetEnvelopeHtmlDefinitionsAsyncWithHttpInfo(accountId, envelopeId); + ApiResponse localVarResponse = await GetEnvelopeDocGenFormFieldsAsyncWithHttpInfo(accountId, envelopeId); return localVarResponse.Data; } /// - /// Get the Original HTML Definition used to generate the Responsive HTML for the envelope. + /// Returns formfields for an envelope /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// Task of ApiResponse (DocumentHtmlDefinitionOriginals) - public async System.Threading.Tasks.Task> GetEnvelopeHtmlDefinitionsAsyncWithHttpInfo(string accountId, string envelopeId) + /// Task of ApiResponse (DocGenFormFieldResponse) + public async System.Threading.Tasks.Task> GetEnvelopeDocGenFormFieldsAsyncWithHttpInfo(string accountId, string envelopeId) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetEnvelopeHtmlDefinitions"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetEnvelopeDocGenFormFields"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetEnvelopeHtmlDefinitions"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetEnvelopeDocGenFormFields"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/html_definitions"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/docGenFormFields"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -19001,46 +19273,51 @@ public async System.Threading.Tasks.Task(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (DocumentHtmlDefinitionOriginals)this.ApiClient.Deserialize(localVarResponse, typeof(DocumentHtmlDefinitionOriginals))); + (DocGenFormFieldResponse)this.ApiClient.Deserialize(localVarResponse, typeof(DocGenFormFieldResponse))); } /// - /// Returns the scheduled sending rules for an envelope's workflow definition. + /// Get the Original HTML Definition used to generate the Responsive HTML for a given document. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// ScheduledSending - public ScheduledSending GetEnvelopeScheduledSendingDefinition(string accountId, string envelopeId) + /// The ID of the document being accessed. + /// DocumentHtmlDefinitionOriginals + public DocumentHtmlDefinitionOriginals GetEnvelopeDocumentHtmlDefinitions(string accountId, string envelopeId, string documentId) { - ApiResponse localVarResponse = GetEnvelopeScheduledSendingDefinitionWithHttpInfo(accountId, envelopeId); + ApiResponse localVarResponse = GetEnvelopeDocumentHtmlDefinitionsWithHttpInfo(accountId, envelopeId, documentId); return localVarResponse.Data; } /// - /// Returns the scheduled sending rules for an envelope's workflow definition. + /// Get the Original HTML Definition used to generate the Responsive HTML for a given document. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// ApiResponse of ScheduledSending - public ApiResponse GetEnvelopeScheduledSendingDefinitionWithHttpInfo(string accountId, string envelopeId) + /// The ID of the document being accessed. + /// ApiResponse of DocumentHtmlDefinitionOriginals + public ApiResponse GetEnvelopeDocumentHtmlDefinitionsWithHttpInfo(string accountId, string envelopeId, string documentId) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetEnvelopeScheduledSendingDefinition"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetEnvelopeDocumentHtmlDefinitions"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetEnvelopeScheduledSendingDefinition"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetEnvelopeDocumentHtmlDefinitions"); + // verify the required parameter 'documentId' is set + if (documentId == null) + throw new ApiException(400, "Missing required parameter 'documentId' when calling EnvelopesApi->GetEnvelopeDocumentHtmlDefinitions"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/workflow/scheduledSending"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/html_definitions"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -19067,6 +19344,7 @@ public ApiResponse GetEnvelopeScheduledSendingDefinitionWithHt localVarPathParams.Add("format", "json"); if (accountId != null) localVarPathParams.Add("accountId", this.ApiClient.ParameterToString(accountId)); // path parameter if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter + if (documentId != null) localVarPathParams.Add("documentId", this.ApiClient.ParameterToString(documentId)); // path parameter // authentication (docusignAccessCode) required // oauth required @@ -19084,45 +19362,50 @@ public ApiResponse GetEnvelopeScheduledSendingDefinitionWithHt if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("GetEnvelopeScheduledSendingDefinition", localVarResponse); + Exception exception = ExceptionFactory("GetEnvelopeDocumentHtmlDefinitions", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (ScheduledSending)this.ApiClient.Deserialize(localVarResponse, typeof(ScheduledSending))); + (DocumentHtmlDefinitionOriginals)this.ApiClient.Deserialize(localVarResponse, typeof(DocumentHtmlDefinitionOriginals))); } /// - /// Returns the scheduled sending rules for an envelope's workflow definition. + /// Get the Original HTML Definition used to generate the Responsive HTML for a given document. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// Task of ScheduledSending - public async System.Threading.Tasks.Task GetEnvelopeScheduledSendingDefinitionAsync(string accountId, string envelopeId) + /// The ID of the document being accessed. + /// Task of DocumentHtmlDefinitionOriginals + public async System.Threading.Tasks.Task GetEnvelopeDocumentHtmlDefinitionsAsync(string accountId, string envelopeId, string documentId) { - ApiResponse localVarResponse = await GetEnvelopeScheduledSendingDefinitionAsyncWithHttpInfo(accountId, envelopeId); + ApiResponse localVarResponse = await GetEnvelopeDocumentHtmlDefinitionsAsyncWithHttpInfo(accountId, envelopeId, documentId); return localVarResponse.Data; } /// - /// Returns the scheduled sending rules for an envelope's workflow definition. + /// Get the Original HTML Definition used to generate the Responsive HTML for a given document. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// Task of ApiResponse (ScheduledSending) - public async System.Threading.Tasks.Task> GetEnvelopeScheduledSendingDefinitionAsyncWithHttpInfo(string accountId, string envelopeId) + /// The ID of the document being accessed. + /// Task of ApiResponse (DocumentHtmlDefinitionOriginals) + public async System.Threading.Tasks.Task> GetEnvelopeDocumentHtmlDefinitionsAsyncWithHttpInfo(string accountId, string envelopeId, string documentId) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetEnvelopeScheduledSendingDefinition"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetEnvelopeDocumentHtmlDefinitions"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetEnvelopeScheduledSendingDefinition"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetEnvelopeDocumentHtmlDefinitions"); + // verify the required parameter 'documentId' is set + if (documentId == null) + throw new ApiException(400, "Missing required parameter 'documentId' when calling EnvelopesApi->GetEnvelopeDocumentHtmlDefinitions"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/workflow/scheduledSending"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/html_definitions"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -19149,6 +19432,7 @@ public async System.Threading.Tasks.Task> GetEnvel localVarPathParams.Add("format", "json"); if (accountId != null) localVarPathParams.Add("accountId", this.ApiClient.ParameterToString(accountId)); // path parameter if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter + if (documentId != null) localVarPathParams.Add("documentId", this.ApiClient.ParameterToString(documentId)); // path parameter // authentication (docusignAccessCode) required // oauth required @@ -19166,53 +19450,46 @@ public async System.Threading.Tasks.Task> GetEnvel if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("GetEnvelopeScheduledSendingDefinition", localVarResponse); + Exception exception = ExceptionFactory("GetEnvelopeDocumentHtmlDefinitions", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (ScheduledSending)this.ApiClient.Deserialize(localVarResponse, typeof(ScheduledSending))); + (DocumentHtmlDefinitionOriginals)this.ApiClient.Deserialize(localVarResponse, typeof(DocumentHtmlDefinitionOriginals))); } - /// - /// Returns a list of envelope transfer rules in the specified account. This method retrieves a list of envelope transfer rules associated with an account. **Note:** Only Administrators can create and use envelope transfer rules. In addition, to use envelope transfer rules, the **Transfer Custody** feature must be enabled for your account. - /// - public class GetEnvelopeTransferRulesOptions - { - /// - public string count {get; set;} - /// - public string startPosition {get; set;} - } /// - /// Returns a list of envelope transfer rules in the specified account. This method retrieves a list of envelope transfer rules associated with an account. **Note:** Only Administrators can create and use envelope transfer rules. In addition, to use envelope transfer rules, the **Transfer Custody** feature must be enabled for your account. + /// Get the Original HTML Definition used to generate the Responsive HTML for the envelope. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// Options for modifying the behavior of the function. - /// EnvelopeTransferRuleInformation - public EnvelopeTransferRuleInformation GetEnvelopeTransferRules(string accountId, EnvelopesApi.GetEnvelopeTransferRulesOptions options = null) + /// The envelopeId Guid of the envelope being accessed. + /// DocumentHtmlDefinitionOriginals + public DocumentHtmlDefinitionOriginals GetEnvelopeHtmlDefinitions(string accountId, string envelopeId) { - ApiResponse localVarResponse = GetEnvelopeTransferRulesWithHttpInfo(accountId, options); + ApiResponse localVarResponse = GetEnvelopeHtmlDefinitionsWithHttpInfo(accountId, envelopeId); return localVarResponse.Data; } /// - /// Returns a list of envelope transfer rules in the specified account. This method retrieves a list of envelope transfer rules associated with an account. **Note:** Only Administrators can create and use envelope transfer rules. In addition, to use envelope transfer rules, the **Transfer Custody** feature must be enabled for your account. + /// Get the Original HTML Definition used to generate the Responsive HTML for the envelope. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// Options for modifying the behavior of the function. - /// ApiResponse of EnvelopeTransferRuleInformation - public ApiResponse GetEnvelopeTransferRulesWithHttpInfo(string accountId, EnvelopesApi.GetEnvelopeTransferRulesOptions options = null) + /// The envelopeId Guid of the envelope being accessed. + /// ApiResponse of DocumentHtmlDefinitionOriginals + public ApiResponse GetEnvelopeHtmlDefinitionsWithHttpInfo(string accountId, string envelopeId) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetEnvelopeTransferRules"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetEnvelopeHtmlDefinitions"); + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetEnvelopeHtmlDefinitions"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/transfer_rules"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/html_definitions"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -19238,11 +19515,7 @@ public ApiResponse GetEnvelopeTransferRulesWith // 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 (options != null) - { - if (options.count != null) localVarQueryParams.Add("count", this.ApiClient.ParameterToString(options.count)); // query parameter - if (options.startPosition != null) localVarQueryParams.Add("start_position", this.ApiClient.ParameterToString(options.startPosition)); // query parameter - } + if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter // authentication (docusignAccessCode) required // oauth required @@ -19260,42 +19533,45 @@ public ApiResponse GetEnvelopeTransferRulesWith if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("GetEnvelopeTransferRules", localVarResponse); + Exception exception = ExceptionFactory("GetEnvelopeHtmlDefinitions", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (EnvelopeTransferRuleInformation)this.ApiClient.Deserialize(localVarResponse, typeof(EnvelopeTransferRuleInformation))); + (DocumentHtmlDefinitionOriginals)this.ApiClient.Deserialize(localVarResponse, typeof(DocumentHtmlDefinitionOriginals))); } /// - /// Returns a list of envelope transfer rules in the specified account. This method retrieves a list of envelope transfer rules associated with an account. **Note:** Only Administrators can create and use envelope transfer rules. In addition, to use envelope transfer rules, the **Transfer Custody** feature must be enabled for your account. + /// Get the Original HTML Definition used to generate the Responsive HTML for the envelope. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// Options for modifying the behavior of the function. - /// Task of EnvelopeTransferRuleInformation - public async System.Threading.Tasks.Task GetEnvelopeTransferRulesAsync(string accountId, EnvelopesApi.GetEnvelopeTransferRulesOptions options = null) + /// The envelopeId Guid of the envelope being accessed. + /// Task of DocumentHtmlDefinitionOriginals + public async System.Threading.Tasks.Task GetEnvelopeHtmlDefinitionsAsync(string accountId, string envelopeId) { - ApiResponse localVarResponse = await GetEnvelopeTransferRulesAsyncWithHttpInfo(accountId, options); + ApiResponse localVarResponse = await GetEnvelopeHtmlDefinitionsAsyncWithHttpInfo(accountId, envelopeId); return localVarResponse.Data; } /// - /// Returns a list of envelope transfer rules in the specified account. This method retrieves a list of envelope transfer rules associated with an account. **Note:** Only Administrators can create and use envelope transfer rules. In addition, to use envelope transfer rules, the **Transfer Custody** feature must be enabled for your account. + /// Get the Original HTML Definition used to generate the Responsive HTML for the envelope. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// Options for modifying the behavior of the function. - /// Task of ApiResponse (EnvelopeTransferRuleInformation) - public async System.Threading.Tasks.Task> GetEnvelopeTransferRulesAsyncWithHttpInfo(string accountId, EnvelopesApi.GetEnvelopeTransferRulesOptions options = null) + /// The envelopeId Guid of the envelope being accessed. + /// Task of ApiResponse (DocumentHtmlDefinitionOriginals) + public async System.Threading.Tasks.Task> GetEnvelopeHtmlDefinitionsAsyncWithHttpInfo(string accountId, string envelopeId) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetEnvelopeTransferRules"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetEnvelopeHtmlDefinitions"); + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetEnvelopeHtmlDefinitions"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/transfer_rules"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/html_definitions"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -19321,11 +19597,7 @@ public async System.Threading.Tasks.Task(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (EnvelopeTransferRuleInformation)this.ApiClient.Deserialize(localVarResponse, typeof(EnvelopeTransferRuleInformation))); + (DocumentHtmlDefinitionOriginals)this.ApiClient.Deserialize(localVarResponse, typeof(DocumentHtmlDefinitionOriginals))); } /// - /// Returns the workflow definition for an envelope. Returns an envelope's workflow definition if the envelope specified by `envelopeId` has one. + /// Returns the scheduled sending rules for an envelope's workflow definition. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// Workflow - public Workflow GetEnvelopeWorkflowDefinition(string accountId, string envelopeId) + /// ScheduledSending + public ScheduledSending GetEnvelopeScheduledSendingDefinition(string accountId, string envelopeId) { - ApiResponse localVarResponse = GetEnvelopeWorkflowDefinitionWithHttpInfo(accountId, envelopeId); + ApiResponse localVarResponse = GetEnvelopeScheduledSendingDefinitionWithHttpInfo(accountId, envelopeId); return localVarResponse.Data; } /// - /// Returns the workflow definition for an envelope. Returns an envelope's workflow definition if the envelope specified by `envelopeId` has one. + /// Returns the scheduled sending rules for an envelope's workflow definition. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// ApiResponse of Workflow - public ApiResponse GetEnvelopeWorkflowDefinitionWithHttpInfo(string accountId, string envelopeId) + /// ApiResponse of ScheduledSending + public ApiResponse GetEnvelopeScheduledSendingDefinitionWithHttpInfo(string accountId, string envelopeId) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetEnvelopeWorkflowDefinition"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetEnvelopeScheduledSendingDefinition"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetEnvelopeWorkflowDefinition"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetEnvelopeScheduledSendingDefinition"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/workflow"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/workflow/scheduledSending"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -19426,45 +19698,45 @@ public ApiResponse GetEnvelopeWorkflowDefinitionWithHttpInfo(string ac if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("GetEnvelopeWorkflowDefinition", localVarResponse); + Exception exception = ExceptionFactory("GetEnvelopeScheduledSendingDefinition", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (Workflow)this.ApiClient.Deserialize(localVarResponse, typeof(Workflow))); + (ScheduledSending)this.ApiClient.Deserialize(localVarResponse, typeof(ScheduledSending))); } /// - /// Returns the workflow definition for an envelope. Returns an envelope's workflow definition if the envelope specified by `envelopeId` has one. + /// Returns the scheduled sending rules for an envelope's workflow definition. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// Task of Workflow - public async System.Threading.Tasks.Task GetEnvelopeWorkflowDefinitionAsync(string accountId, string envelopeId) + /// Task of ScheduledSending + public async System.Threading.Tasks.Task GetEnvelopeScheduledSendingDefinitionAsync(string accountId, string envelopeId) { - ApiResponse localVarResponse = await GetEnvelopeWorkflowDefinitionAsyncWithHttpInfo(accountId, envelopeId); + ApiResponse localVarResponse = await GetEnvelopeScheduledSendingDefinitionAsyncWithHttpInfo(accountId, envelopeId); return localVarResponse.Data; } /// - /// Returns the workflow definition for an envelope. Returns an envelope's workflow definition if the envelope specified by `envelopeId` has one. + /// Returns the scheduled sending rules for an envelope's workflow definition. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// Task of ApiResponse (Workflow) - public async System.Threading.Tasks.Task> GetEnvelopeWorkflowDefinitionAsyncWithHttpInfo(string accountId, string envelopeId) + /// Task of ApiResponse (ScheduledSending) + public async System.Threading.Tasks.Task> GetEnvelopeScheduledSendingDefinitionAsyncWithHttpInfo(string accountId, string envelopeId) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetEnvelopeWorkflowDefinition"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetEnvelopeScheduledSendingDefinition"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetEnvelopeWorkflowDefinition"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetEnvelopeScheduledSendingDefinition"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/workflow"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/workflow/scheduledSending"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -19508,51 +19780,53 @@ public async System.Threading.Tasks.Task> GetEnvelopeWorkf if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("GetEnvelopeWorkflowDefinition", localVarResponse); + Exception exception = ExceptionFactory("GetEnvelopeScheduledSendingDefinition", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (Workflow)this.ApiClient.Deserialize(localVarResponse, typeof(Workflow))); + (ScheduledSending)this.ApiClient.Deserialize(localVarResponse, typeof(ScheduledSending))); } + /// + /// Returns a list of envelope transfer rules in the specified account. This method retrieves a list of envelope transfer rules associated with an account. **Note:** Only Administrators can create and use envelope transfer rules. In addition, to use envelope transfer rules, the **Transfer Custody** feature must be enabled for your account. + /// + public class GetEnvelopeTransferRulesOptions + { + /// + public string count {get; set;} + /// + public string startPosition {get; set;} + } /// - /// Returns the workflow step definition for an envelope by step id. + /// Returns a list of envelope transfer rules in the specified account. This method retrieves a list of envelope transfer rules associated with an account. **Note:** Only Administrators can create and use envelope transfer rules. In addition, to use envelope transfer rules, the **Transfer Custody** feature must be enabled for your account. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// The envelopeId Guid of the envelope being accessed. - /// - /// WorkflowStep - public WorkflowStep GetEnvelopeWorkflowStepDefinition(string accountId, string envelopeId, string workflowStepId) + /// Options for modifying the behavior of the function. + /// EnvelopeTransferRuleInformation + public EnvelopeTransferRuleInformation GetEnvelopeTransferRules(string accountId, EnvelopesApi.GetEnvelopeTransferRulesOptions options = null) { - ApiResponse localVarResponse = GetEnvelopeWorkflowStepDefinitionWithHttpInfo(accountId, envelopeId, workflowStepId); + ApiResponse localVarResponse = GetEnvelopeTransferRulesWithHttpInfo(accountId, options); return localVarResponse.Data; } /// - /// Returns the workflow step definition for an envelope by step id. + /// Returns a list of envelope transfer rules in the specified account. This method retrieves a list of envelope transfer rules associated with an account. **Note:** Only Administrators can create and use envelope transfer rules. In addition, to use envelope transfer rules, the **Transfer Custody** feature must be enabled for your account. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// The envelopeId Guid of the envelope being accessed. - /// - /// ApiResponse of WorkflowStep - public ApiResponse GetEnvelopeWorkflowStepDefinitionWithHttpInfo(string accountId, string envelopeId, string workflowStepId) + /// Options for modifying the behavior of the function. + /// ApiResponse of EnvelopeTransferRuleInformation + public ApiResponse GetEnvelopeTransferRulesWithHttpInfo(string accountId, EnvelopesApi.GetEnvelopeTransferRulesOptions options = null) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetEnvelopeWorkflowStepDefinition"); - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetEnvelopeWorkflowStepDefinition"); - // verify the required parameter 'workflowStepId' is set - if (workflowStepId == null) - throw new ApiException(400, "Missing required parameter 'workflowStepId' when calling EnvelopesApi->GetEnvelopeWorkflowStepDefinition"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetEnvelopeTransferRules"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/workflow/steps/{workflowStepId}"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/transfer_rules"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -19578,8 +19852,11 @@ public ApiResponse GetEnvelopeWorkflowStepDefinitionWithHttpInfo(s // 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 (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter - if (workflowStepId != null) localVarPathParams.Add("workflowStepId", this.ApiClient.ParameterToString(workflowStepId)); // path parameter + if (options != null) + { + if (options.count != null) localVarQueryParams.Add("count", this.ApiClient.ParameterToString(options.count)); // query parameter + if (options.startPosition != null) localVarQueryParams.Add("start_position", this.ApiClient.ParameterToString(options.startPosition)); // query parameter + } // authentication (docusignAccessCode) required // oauth required @@ -19597,50 +19874,42 @@ public ApiResponse GetEnvelopeWorkflowStepDefinitionWithHttpInfo(s if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("GetEnvelopeWorkflowStepDefinition", localVarResponse); + Exception exception = ExceptionFactory("GetEnvelopeTransferRules", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (WorkflowStep)this.ApiClient.Deserialize(localVarResponse, typeof(WorkflowStep))); + (EnvelopeTransferRuleInformation)this.ApiClient.Deserialize(localVarResponse, typeof(EnvelopeTransferRuleInformation))); } /// - /// Returns the workflow step definition for an envelope by step id. + /// Returns a list of envelope transfer rules in the specified account. This method retrieves a list of envelope transfer rules associated with an account. **Note:** Only Administrators can create and use envelope transfer rules. In addition, to use envelope transfer rules, the **Transfer Custody** feature must be enabled for your account. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// The envelopeId Guid of the envelope being accessed. - /// - /// Task of WorkflowStep - public async System.Threading.Tasks.Task GetEnvelopeWorkflowStepDefinitionAsync(string accountId, string envelopeId, string workflowStepId) + /// Options for modifying the behavior of the function. + /// Task of EnvelopeTransferRuleInformation + public async System.Threading.Tasks.Task GetEnvelopeTransferRulesAsync(string accountId, EnvelopesApi.GetEnvelopeTransferRulesOptions options = null) { - ApiResponse localVarResponse = await GetEnvelopeWorkflowStepDefinitionAsyncWithHttpInfo(accountId, envelopeId, workflowStepId); + ApiResponse localVarResponse = await GetEnvelopeTransferRulesAsyncWithHttpInfo(accountId, options); return localVarResponse.Data; } /// - /// Returns the workflow step definition for an envelope by step id. + /// Returns a list of envelope transfer rules in the specified account. This method retrieves a list of envelope transfer rules associated with an account. **Note:** Only Administrators can create and use envelope transfer rules. In addition, to use envelope transfer rules, the **Transfer Custody** feature must be enabled for your account. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// The envelopeId Guid of the envelope being accessed. - /// - /// Task of ApiResponse (WorkflowStep) - public async System.Threading.Tasks.Task> GetEnvelopeWorkflowStepDefinitionAsyncWithHttpInfo(string accountId, string envelopeId, string workflowStepId) + /// Options for modifying the behavior of the function. + /// Task of ApiResponse (EnvelopeTransferRuleInformation) + public async System.Threading.Tasks.Task> GetEnvelopeTransferRulesAsyncWithHttpInfo(string accountId, EnvelopesApi.GetEnvelopeTransferRulesOptions options = null) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetEnvelopeWorkflowStepDefinition"); - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetEnvelopeWorkflowStepDefinition"); - // verify the required parameter 'workflowStepId' is set - if (workflowStepId == null) - throw new ApiException(400, "Missing required parameter 'workflowStepId' when calling EnvelopesApi->GetEnvelopeWorkflowStepDefinition"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetEnvelopeTransferRules"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/workflow/steps/{workflowStepId}"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/transfer_rules"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -19666,8 +19935,11 @@ public async System.Threading.Tasks.Task> GetEnvelopeW // 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 (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter - if (workflowStepId != null) localVarPathParams.Add("workflowStepId", this.ApiClient.ParameterToString(workflowStepId)); // path parameter + if (options != null) + { + if (options.count != null) localVarQueryParams.Add("count", this.ApiClient.ParameterToString(options.count)); // query parameter + if (options.startPosition != null) localVarQueryParams.Add("start_position", this.ApiClient.ParameterToString(options.startPosition)); // query parameter + } // authentication (docusignAccessCode) required // oauth required @@ -19685,46 +19957,46 @@ public async System.Threading.Tasks.Task> GetEnvelopeW if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("GetEnvelopeWorkflowStepDefinition", localVarResponse); + Exception exception = ExceptionFactory("GetEnvelopeTransferRules", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (WorkflowStep)this.ApiClient.Deserialize(localVarResponse, typeof(WorkflowStep))); + (EnvelopeTransferRuleInformation)this.ApiClient.Deserialize(localVarResponse, typeof(EnvelopeTransferRuleInformation))); } /// - /// Returns envelope form data for an existing envelope. This method downloads the envelope and tab data (also called form data) from any in-process, completed, or canceled envelope that you sent or that is shared with you. Recipients who are also full administrators on an account can view form data for any envelopes that another user on the account has sent to them. **Note:** To use this feature, the Sending Setting \"Allow sender to download form data\" must be enabled for the account. ### Related topics - [How to get envelope tab values](/docs/esign-rest-api/how-to/get-envelope-tab-values/) + /// Returns the workflow definition for an envelope. Returns an envelope's workflow definition if the envelope specified by `envelopeId` has one. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// EnvelopeFormData - public EnvelopeFormData GetFormData(string accountId, string envelopeId) + /// Workflow + public Workflow GetEnvelopeWorkflowDefinition(string accountId, string envelopeId) { - ApiResponse localVarResponse = GetFormDataWithHttpInfo(accountId, envelopeId); + ApiResponse localVarResponse = GetEnvelopeWorkflowDefinitionWithHttpInfo(accountId, envelopeId); return localVarResponse.Data; } /// - /// Returns envelope form data for an existing envelope. This method downloads the envelope and tab data (also called form data) from any in-process, completed, or canceled envelope that you sent or that is shared with you. Recipients who are also full administrators on an account can view form data for any envelopes that another user on the account has sent to them. **Note:** To use this feature, the Sending Setting \"Allow sender to download form data\" must be enabled for the account. ### Related topics - [How to get envelope tab values](/docs/esign-rest-api/how-to/get-envelope-tab-values/) + /// Returns the workflow definition for an envelope. Returns an envelope's workflow definition if the envelope specified by `envelopeId` has one. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// ApiResponse of EnvelopeFormData - public ApiResponse GetFormDataWithHttpInfo(string accountId, string envelopeId) + /// ApiResponse of Workflow + public ApiResponse GetEnvelopeWorkflowDefinitionWithHttpInfo(string accountId, string envelopeId) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetFormData"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetEnvelopeWorkflowDefinition"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetFormData"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetEnvelopeWorkflowDefinition"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/form_data"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/workflow"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -19768,45 +20040,45 @@ public ApiResponse GetFormDataWithHttpInfo(string accountId, s if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("GetFormData", localVarResponse); + Exception exception = ExceptionFactory("GetEnvelopeWorkflowDefinition", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (EnvelopeFormData)this.ApiClient.Deserialize(localVarResponse, typeof(EnvelopeFormData))); + (Workflow)this.ApiClient.Deserialize(localVarResponse, typeof(Workflow))); } /// - /// Returns envelope form data for an existing envelope. This method downloads the envelope and tab data (also called form data) from any in-process, completed, or canceled envelope that you sent or that is shared with you. Recipients who are also full administrators on an account can view form data for any envelopes that another user on the account has sent to them. **Note:** To use this feature, the Sending Setting \"Allow sender to download form data\" must be enabled for the account. ### Related topics - [How to get envelope tab values](/docs/esign-rest-api/how-to/get-envelope-tab-values/) + /// Returns the workflow definition for an envelope. Returns an envelope's workflow definition if the envelope specified by `envelopeId` has one. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// Task of EnvelopeFormData - public async System.Threading.Tasks.Task GetFormDataAsync(string accountId, string envelopeId) + /// Task of Workflow + public async System.Threading.Tasks.Task GetEnvelopeWorkflowDefinitionAsync(string accountId, string envelopeId) { - ApiResponse localVarResponse = await GetFormDataAsyncWithHttpInfo(accountId, envelopeId); + ApiResponse localVarResponse = await GetEnvelopeWorkflowDefinitionAsyncWithHttpInfo(accountId, envelopeId); return localVarResponse.Data; } /// - /// Returns envelope form data for an existing envelope. This method downloads the envelope and tab data (also called form data) from any in-process, completed, or canceled envelope that you sent or that is shared with you. Recipients who are also full administrators on an account can view form data for any envelopes that another user on the account has sent to them. **Note:** To use this feature, the Sending Setting \"Allow sender to download form data\" must be enabled for the account. ### Related topics - [How to get envelope tab values](/docs/esign-rest-api/how-to/get-envelope-tab-values/) + /// Returns the workflow definition for an envelope. Returns an envelope's workflow definition if the envelope specified by `envelopeId` has one. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// Task of ApiResponse (EnvelopeFormData) - public async System.Threading.Tasks.Task> GetFormDataAsyncWithHttpInfo(string accountId, string envelopeId) + /// Task of ApiResponse (Workflow) + public async System.Threading.Tasks.Task> GetEnvelopeWorkflowDefinitionAsyncWithHttpInfo(string accountId, string envelopeId) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetFormData"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetEnvelopeWorkflowDefinition"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetFormData"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetEnvelopeWorkflowDefinition"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/form_data"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/workflow"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -19850,46 +20122,51 @@ public async System.Threading.Tasks.Task> GetFormD if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("GetFormData", localVarResponse); + Exception exception = ExceptionFactory("GetEnvelopeWorkflowDefinition", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (EnvelopeFormData)this.ApiClient.Deserialize(localVarResponse, typeof(EnvelopeFormData))); + (Workflow)this.ApiClient.Deserialize(localVarResponse, typeof(Workflow))); } /// - /// Gets envelope lock information. Retrieves general information about the envelope lock. If the call is made by the locked by user and the request has the same integrator key as original, then the `X-DocuSign-Edit` header and additional lock information is included in the response. This allows users to recover a lost editing session token and the `X-DocuSign-Edit` header. + /// Returns the workflow step definition for an envelope by step id. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// LockInformation - public LockInformation GetLock(string accountId, string envelopeId) + /// + /// WorkflowStep + public WorkflowStep GetEnvelopeWorkflowStepDefinition(string accountId, string envelopeId, string workflowStepId) { - ApiResponse localVarResponse = GetLockWithHttpInfo(accountId, envelopeId); + ApiResponse localVarResponse = GetEnvelopeWorkflowStepDefinitionWithHttpInfo(accountId, envelopeId, workflowStepId); return localVarResponse.Data; } /// - /// Gets envelope lock information. Retrieves general information about the envelope lock. If the call is made by the locked by user and the request has the same integrator key as original, then the `X-DocuSign-Edit` header and additional lock information is included in the response. This allows users to recover a lost editing session token and the `X-DocuSign-Edit` header. + /// Returns the workflow step definition for an envelope by step id. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// ApiResponse of LockInformation - public ApiResponse GetLockWithHttpInfo(string accountId, string envelopeId) + /// + /// ApiResponse of WorkflowStep + public ApiResponse GetEnvelopeWorkflowStepDefinitionWithHttpInfo(string accountId, string envelopeId, string workflowStepId) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetLock"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetEnvelopeWorkflowStepDefinition"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetLock"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetEnvelopeWorkflowStepDefinition"); + // verify the required parameter 'workflowStepId' is set + if (workflowStepId == null) + throw new ApiException(400, "Missing required parameter 'workflowStepId' when calling EnvelopesApi->GetEnvelopeWorkflowStepDefinition"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/lock"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/workflow/steps/{workflowStepId}"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -19916,6 +20193,7 @@ public ApiResponse GetLockWithHttpInfo(string accountId, string localVarPathParams.Add("format", "json"); if (accountId != null) localVarPathParams.Add("accountId", this.ApiClient.ParameterToString(accountId)); // path parameter if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter + if (workflowStepId != null) localVarPathParams.Add("workflowStepId", this.ApiClient.ParameterToString(workflowStepId)); // path parameter // authentication (docusignAccessCode) required // oauth required @@ -19933,45 +20211,50 @@ public ApiResponse GetLockWithHttpInfo(string accountId, string if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("GetLock", localVarResponse); + Exception exception = ExceptionFactory("GetEnvelopeWorkflowStepDefinition", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (LockInformation)this.ApiClient.Deserialize(localVarResponse, typeof(LockInformation))); + (WorkflowStep)this.ApiClient.Deserialize(localVarResponse, typeof(WorkflowStep))); } /// - /// Gets envelope lock information. Retrieves general information about the envelope lock. If the call is made by the locked by user and the request has the same integrator key as original, then the `X-DocuSign-Edit` header and additional lock information is included in the response. This allows users to recover a lost editing session token and the `X-DocuSign-Edit` header. + /// Returns the workflow step definition for an envelope by step id. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// Task of LockInformation - public async System.Threading.Tasks.Task GetLockAsync(string accountId, string envelopeId) + /// + /// Task of WorkflowStep + public async System.Threading.Tasks.Task GetEnvelopeWorkflowStepDefinitionAsync(string accountId, string envelopeId, string workflowStepId) { - ApiResponse localVarResponse = await GetLockAsyncWithHttpInfo(accountId, envelopeId); + ApiResponse localVarResponse = await GetEnvelopeWorkflowStepDefinitionAsyncWithHttpInfo(accountId, envelopeId, workflowStepId); return localVarResponse.Data; } /// - /// Gets envelope lock information. Retrieves general information about the envelope lock. If the call is made by the locked by user and the request has the same integrator key as original, then the `X-DocuSign-Edit` header and additional lock information is included in the response. This allows users to recover a lost editing session token and the `X-DocuSign-Edit` header. + /// Returns the workflow step definition for an envelope by step id. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// Task of ApiResponse (LockInformation) - public async System.Threading.Tasks.Task> GetLockAsyncWithHttpInfo(string accountId, string envelopeId) + /// + /// Task of ApiResponse (WorkflowStep) + public async System.Threading.Tasks.Task> GetEnvelopeWorkflowStepDefinitionAsyncWithHttpInfo(string accountId, string envelopeId, string workflowStepId) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetLock"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetEnvelopeWorkflowStepDefinition"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetLock"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetEnvelopeWorkflowStepDefinition"); + // verify the required parameter 'workflowStepId' is set + if (workflowStepId == null) + throw new ApiException(400, "Missing required parameter 'workflowStepId' when calling EnvelopesApi->GetEnvelopeWorkflowStepDefinition"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/lock"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/workflow/steps/{workflowStepId}"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -19998,6 +20281,7 @@ public async System.Threading.Tasks.Task> GetLockAs localVarPathParams.Add("format", "json"); if (accountId != null) localVarPathParams.Add("accountId", this.ApiClient.ParameterToString(accountId)); // path parameter if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter + if (workflowStepId != null) localVarPathParams.Add("workflowStepId", this.ApiClient.ParameterToString(workflowStepId)); // path parameter // authentication (docusignAccessCode) required // oauth required @@ -20015,46 +20299,46 @@ public async System.Threading.Tasks.Task> GetLockAs if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("GetLock", localVarResponse); + Exception exception = ExceptionFactory("GetEnvelopeWorkflowStepDefinition", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (LockInformation)this.ApiClient.Deserialize(localVarResponse, typeof(LockInformation))); + (WorkflowStep)this.ApiClient.Deserialize(localVarResponse, typeof(WorkflowStep))); } /// - /// Gets envelope notification information. Retrieves the envelope notification, reminders and expirations, information for an existing envelope. + /// Returns envelope form data for an existing envelope. This method downloads the envelope and tab data (also called form data) from any in-process, completed, or canceled envelope that you sent or that is shared with you. Recipients who are also full administrators on an account can view form data for any envelopes that another user on the account has sent to them. **Note:** To use this feature, the Sending Setting \"Allow sender to download form data\" must be enabled for the account. ### Related topics - [How to get envelope tab values](/docs/esign-rest-api/how-to/get-envelope-tab-values/) /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// Notification - public Notification GetNotificationSettings(string accountId, string envelopeId) + /// EnvelopeFormData + public EnvelopeFormData GetFormData(string accountId, string envelopeId) { - ApiResponse localVarResponse = GetNotificationSettingsWithHttpInfo(accountId, envelopeId); + ApiResponse localVarResponse = GetFormDataWithHttpInfo(accountId, envelopeId); return localVarResponse.Data; } /// - /// Gets envelope notification information. Retrieves the envelope notification, reminders and expirations, information for an existing envelope. + /// Returns envelope form data for an existing envelope. This method downloads the envelope and tab data (also called form data) from any in-process, completed, or canceled envelope that you sent or that is shared with you. Recipients who are also full administrators on an account can view form data for any envelopes that another user on the account has sent to them. **Note:** To use this feature, the Sending Setting \"Allow sender to download form data\" must be enabled for the account. ### Related topics - [How to get envelope tab values](/docs/esign-rest-api/how-to/get-envelope-tab-values/) /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// ApiResponse of Notification - public ApiResponse GetNotificationSettingsWithHttpInfo(string accountId, string envelopeId) + /// ApiResponse of EnvelopeFormData + public ApiResponse GetFormDataWithHttpInfo(string accountId, string envelopeId) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetNotificationSettings"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetFormData"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetNotificationSettings"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetFormData"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/notification"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/form_data"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -20098,45 +20382,45 @@ public ApiResponse GetNotificationSettingsWithHttpInfo(string acco if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("GetNotificationSettings", localVarResponse); + Exception exception = ExceptionFactory("GetFormData", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (Notification)this.ApiClient.Deserialize(localVarResponse, typeof(Notification))); + (EnvelopeFormData)this.ApiClient.Deserialize(localVarResponse, typeof(EnvelopeFormData))); } /// - /// Gets envelope notification information. Retrieves the envelope notification, reminders and expirations, information for an existing envelope. + /// Returns envelope form data for an existing envelope. This method downloads the envelope and tab data (also called form data) from any in-process, completed, or canceled envelope that you sent or that is shared with you. Recipients who are also full administrators on an account can view form data for any envelopes that another user on the account has sent to them. **Note:** To use this feature, the Sending Setting \"Allow sender to download form data\" must be enabled for the account. ### Related topics - [How to get envelope tab values](/docs/esign-rest-api/how-to/get-envelope-tab-values/) /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// Task of Notification - public async System.Threading.Tasks.Task GetNotificationSettingsAsync(string accountId, string envelopeId) + /// Task of EnvelopeFormData + public async System.Threading.Tasks.Task GetFormDataAsync(string accountId, string envelopeId) { - ApiResponse localVarResponse = await GetNotificationSettingsAsyncWithHttpInfo(accountId, envelopeId); + ApiResponse localVarResponse = await GetFormDataAsyncWithHttpInfo(accountId, envelopeId); return localVarResponse.Data; } /// - /// Gets envelope notification information. Retrieves the envelope notification, reminders and expirations, information for an existing envelope. + /// Returns envelope form data for an existing envelope. This method downloads the envelope and tab data (also called form data) from any in-process, completed, or canceled envelope that you sent or that is shared with you. Recipients who are also full administrators on an account can view form data for any envelopes that another user on the account has sent to them. **Note:** To use this feature, the Sending Setting \"Allow sender to download form data\" must be enabled for the account. ### Related topics - [How to get envelope tab values](/docs/esign-rest-api/how-to/get-envelope-tab-values/) /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// Task of ApiResponse (Notification) - public async System.Threading.Tasks.Task> GetNotificationSettingsAsyncWithHttpInfo(string accountId, string envelopeId) + /// Task of ApiResponse (EnvelopeFormData) + public async System.Threading.Tasks.Task> GetFormDataAsyncWithHttpInfo(string accountId, string envelopeId) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetNotificationSettings"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetFormData"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetNotificationSettings"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetFormData"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/notification"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/form_data"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -20180,56 +20464,46 @@ public async System.Threading.Tasks.Task> GetNotificat if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("GetNotificationSettings", localVarResponse); + Exception exception = ExceptionFactory("GetFormData", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (Notification)this.ApiClient.Deserialize(localVarResponse, typeof(Notification))); + (EnvelopeFormData)this.ApiClient.Deserialize(localVarResponse, typeof(EnvelopeFormData))); } /// - /// Returns tabs on the specified page. Returns the tabs from the page specified by `pageNumber` of the document specified by `documentId` in the envelope specified by `envelopeId`. + /// Gets envelope lock information. Retrieves general information about the envelope lock. If the call is made by the locked by user and the request has the same integrator key as original, then the `X-DocuSign-Edit` header and additional lock information is included in the response. This allows users to recover a lost editing session token and the `X-DocuSign-Edit` header. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// The ID of the document being accessed. - /// The page number being accessed. - /// Tabs - public Tabs GetPageTabs(string accountId, string envelopeId, string documentId, string pageNumber) + /// LockInformation + public LockInformation GetLock(string accountId, string envelopeId) { - ApiResponse localVarResponse = GetPageTabsWithHttpInfo(accountId, envelopeId, documentId, pageNumber); + ApiResponse localVarResponse = GetLockWithHttpInfo(accountId, envelopeId); return localVarResponse.Data; } /// - /// Returns tabs on the specified page. Returns the tabs from the page specified by `pageNumber` of the document specified by `documentId` in the envelope specified by `envelopeId`. + /// Gets envelope lock information. Retrieves general information about the envelope lock. If the call is made by the locked by user and the request has the same integrator key as original, then the `X-DocuSign-Edit` header and additional lock information is included in the response. This allows users to recover a lost editing session token and the `X-DocuSign-Edit` header. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// The ID of the document being accessed. - /// The page number being accessed. - /// ApiResponse of Tabs - public ApiResponse GetPageTabsWithHttpInfo(string accountId, string envelopeId, string documentId, string pageNumber) + /// ApiResponse of LockInformation + public ApiResponse GetLockWithHttpInfo(string accountId, string envelopeId) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetPageTabs"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetLock"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetPageTabs"); - // verify the required parameter 'documentId' is set - if (documentId == null) - throw new ApiException(400, "Missing required parameter 'documentId' when calling EnvelopesApi->GetPageTabs"); - // verify the required parameter 'pageNumber' is set - if (pageNumber == null) - throw new ApiException(400, "Missing required parameter 'pageNumber' when calling EnvelopesApi->GetPageTabs"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetLock"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/pages/{pageNumber}/tabs"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/lock"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -20256,8 +20530,6 @@ public ApiResponse GetPageTabsWithHttpInfo(string accountId, string envelo localVarPathParams.Add("format", "json"); if (accountId != null) localVarPathParams.Add("accountId", this.ApiClient.ParameterToString(accountId)); // path parameter if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter - if (documentId != null) localVarPathParams.Add("documentId", this.ApiClient.ParameterToString(documentId)); // path parameter - if (pageNumber != null) localVarPathParams.Add("pageNumber", this.ApiClient.ParameterToString(pageNumber)); // path parameter // authentication (docusignAccessCode) required // oauth required @@ -20275,55 +20547,45 @@ public ApiResponse GetPageTabsWithHttpInfo(string accountId, string envelo if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("GetPageTabs", localVarResponse); + Exception exception = ExceptionFactory("GetLock", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (Tabs)this.ApiClient.Deserialize(localVarResponse, typeof(Tabs))); + (LockInformation)this.ApiClient.Deserialize(localVarResponse, typeof(LockInformation))); } /// - /// Returns tabs on the specified page. Returns the tabs from the page specified by `pageNumber` of the document specified by `documentId` in the envelope specified by `envelopeId`. + /// Gets envelope lock information. Retrieves general information about the envelope lock. If the call is made by the locked by user and the request has the same integrator key as original, then the `X-DocuSign-Edit` header and additional lock information is included in the response. This allows users to recover a lost editing session token and the `X-DocuSign-Edit` header. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// The ID of the document being accessed. - /// The page number being accessed. - /// Task of Tabs - public async System.Threading.Tasks.Task GetPageTabsAsync(string accountId, string envelopeId, string documentId, string pageNumber) + /// Task of LockInformation + public async System.Threading.Tasks.Task GetLockAsync(string accountId, string envelopeId) { - ApiResponse localVarResponse = await GetPageTabsAsyncWithHttpInfo(accountId, envelopeId, documentId, pageNumber); + ApiResponse localVarResponse = await GetLockAsyncWithHttpInfo(accountId, envelopeId); return localVarResponse.Data; } /// - /// Returns tabs on the specified page. Returns the tabs from the page specified by `pageNumber` of the document specified by `documentId` in the envelope specified by `envelopeId`. + /// Gets envelope lock information. Retrieves general information about the envelope lock. If the call is made by the locked by user and the request has the same integrator key as original, then the `X-DocuSign-Edit` header and additional lock information is included in the response. This allows users to recover a lost editing session token and the `X-DocuSign-Edit` header. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// The ID of the document being accessed. - /// The page number being accessed. - /// Task of ApiResponse (Tabs) - public async System.Threading.Tasks.Task> GetPageTabsAsyncWithHttpInfo(string accountId, string envelopeId, string documentId, string pageNumber) + /// Task of ApiResponse (LockInformation) + public async System.Threading.Tasks.Task> GetLockAsyncWithHttpInfo(string accountId, string envelopeId) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetPageTabs"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetLock"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetPageTabs"); - // verify the required parameter 'documentId' is set - if (documentId == null) - throw new ApiException(400, "Missing required parameter 'documentId' when calling EnvelopesApi->GetPageTabs"); - // verify the required parameter 'pageNumber' is set - if (pageNumber == null) - throw new ApiException(400, "Missing required parameter 'pageNumber' when calling EnvelopesApi->GetPageTabs"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetLock"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/pages/{pageNumber}/tabs"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/lock"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -20350,8 +20612,6 @@ public async System.Threading.Tasks.Task> GetPageTabsAsyncWith localVarPathParams.Add("format", "json"); if (accountId != null) localVarPathParams.Add("accountId", this.ApiClient.ParameterToString(accountId)); // path parameter if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter - if (documentId != null) localVarPathParams.Add("documentId", this.ApiClient.ParameterToString(documentId)); // path parameter - if (pageNumber != null) localVarPathParams.Add("pageNumber", this.ApiClient.ParameterToString(pageNumber)); // path parameter // authentication (docusignAccessCode) required // oauth required @@ -20369,73 +20629,46 @@ public async System.Threading.Tasks.Task> GetPageTabsAsyncWith if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("GetPageTabs", localVarResponse); + Exception exception = ExceptionFactory("GetLock", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (Tabs)this.ApiClient.Deserialize(localVarResponse, typeof(Tabs))); + (LockInformation)this.ApiClient.Deserialize(localVarResponse, typeof(LockInformation))); } + /// - /// Returns document page image(s) based on input. Returns images of the pages in a document for display based on the parameters that you specify. + /// Gets envelope notification information. Retrieves the envelope notification, reminders and expirations, information for an existing envelope. /// - public class GetPagesOptions + /// Thrown when fails to make API call + /// The external account number (int) or account ID Guid. + /// The envelopeId Guid of the envelope being accessed. + /// Notification + public Notification GetNotificationSettings(string accountId, string envelopeId) { - /// - public string count {get; set;} - /// - public string dpi {get; set;} - /// - public string maxHeight {get; set;} - /// - public string maxWidth {get; set;} - /// - public string nocache {get; set;} - /// - public string showChanges {get; set;} - /// - public string startPosition {get; set;} - } - - /// - /// Returns document page image(s) based on input. Returns images of the pages in a document for display based on the parameters that you specify. - /// - /// Thrown when fails to make API call - /// The external account number (int) or account ID Guid. - /// The envelopeId Guid of the envelope being accessed. - /// The ID of the document being accessed. - /// Options for modifying the behavior of the function. - /// PageImages - public PageImages GetPages(string accountId, string envelopeId, string documentId, EnvelopesApi.GetPagesOptions options = null) - { - ApiResponse localVarResponse = GetPagesWithHttpInfo(accountId, envelopeId, documentId, options); + ApiResponse localVarResponse = GetNotificationSettingsWithHttpInfo(accountId, envelopeId); return localVarResponse.Data; } /// - /// Returns document page image(s) based on input. Returns images of the pages in a document for display based on the parameters that you specify. + /// Gets envelope notification information. Retrieves the envelope notification, reminders and expirations, information for an existing envelope. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// The ID of the document being accessed. - /// Options for modifying the behavior of the function. - /// ApiResponse of PageImages - public ApiResponse GetPagesWithHttpInfo(string accountId, string envelopeId, string documentId, EnvelopesApi.GetPagesOptions options = null) + /// ApiResponse of Notification + public ApiResponse GetNotificationSettingsWithHttpInfo(string accountId, string envelopeId) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetPages"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetNotificationSettings"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetPages"); - // verify the required parameter 'documentId' is set - if (documentId == null) - throw new ApiException(400, "Missing required parameter 'documentId' when calling EnvelopesApi->GetPages"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetNotificationSettings"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/pages"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/notification"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -20462,17 +20695,6 @@ public ApiResponse GetPagesWithHttpInfo(string accountId, string env localVarPathParams.Add("format", "json"); if (accountId != null) localVarPathParams.Add("accountId", this.ApiClient.ParameterToString(accountId)); // path parameter if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter - if (documentId != null) localVarPathParams.Add("documentId", this.ApiClient.ParameterToString(documentId)); // path parameter - if (options != null) - { - if (options.count != null) localVarQueryParams.Add("count", this.ApiClient.ParameterToString(options.count)); // query parameter - if (options.dpi != null) localVarQueryParams.Add("dpi", this.ApiClient.ParameterToString(options.dpi)); // query parameter - if (options.maxHeight != null) localVarQueryParams.Add("max_height", this.ApiClient.ParameterToString(options.maxHeight)); // query parameter - if (options.maxWidth != null) localVarQueryParams.Add("max_width", this.ApiClient.ParameterToString(options.maxWidth)); // query parameter - if (options.nocache != null) localVarQueryParams.Add("nocache", this.ApiClient.ParameterToString(options.nocache)); // query parameter - if (options.showChanges != null) localVarQueryParams.Add("show_changes", this.ApiClient.ParameterToString(options.showChanges)); // query parameter - if (options.startPosition != null) localVarQueryParams.Add("start_position", this.ApiClient.ParameterToString(options.startPosition)); // query parameter - } // authentication (docusignAccessCode) required // oauth required @@ -20490,52 +20712,45 @@ public ApiResponse GetPagesWithHttpInfo(string accountId, string env if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("GetPages", localVarResponse); + Exception exception = ExceptionFactory("GetNotificationSettings", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (PageImages)this.ApiClient.Deserialize(localVarResponse, typeof(PageImages))); + (Notification)this.ApiClient.Deserialize(localVarResponse, typeof(Notification))); } /// - /// Returns document page image(s) based on input. Returns images of the pages in a document for display based on the parameters that you specify. + /// Gets envelope notification information. Retrieves the envelope notification, reminders and expirations, information for an existing envelope. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// The ID of the document being accessed. - /// Options for modifying the behavior of the function. - /// Task of PageImages - public async System.Threading.Tasks.Task GetPagesAsync(string accountId, string envelopeId, string documentId, EnvelopesApi.GetPagesOptions options = null) + /// Task of Notification + public async System.Threading.Tasks.Task GetNotificationSettingsAsync(string accountId, string envelopeId) { - ApiResponse localVarResponse = await GetPagesAsyncWithHttpInfo(accountId, envelopeId, documentId, options); + ApiResponse localVarResponse = await GetNotificationSettingsAsyncWithHttpInfo(accountId, envelopeId); return localVarResponse.Data; } /// - /// Returns document page image(s) based on input. Returns images of the pages in a document for display based on the parameters that you specify. + /// Gets envelope notification information. Retrieves the envelope notification, reminders and expirations, information for an existing envelope. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// The ID of the document being accessed. - /// Options for modifying the behavior of the function. - /// Task of ApiResponse (PageImages) - public async System.Threading.Tasks.Task> GetPagesAsyncWithHttpInfo(string accountId, string envelopeId, string documentId, EnvelopesApi.GetPagesOptions options = null) + /// Task of ApiResponse (Notification) + public async System.Threading.Tasks.Task> GetNotificationSettingsAsyncWithHttpInfo(string accountId, string envelopeId) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetPages"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetNotificationSettings"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetPages"); - // verify the required parameter 'documentId' is set - if (documentId == null) - throw new ApiException(400, "Missing required parameter 'documentId' when calling EnvelopesApi->GetPages"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetNotificationSettings"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/pages"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/notification"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -20562,17 +20777,6 @@ public async System.Threading.Tasks.Task> GetPagesAsyncW localVarPathParams.Add("format", "json"); if (accountId != null) localVarPathParams.Add("accountId", this.ApiClient.ParameterToString(accountId)); // path parameter if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter - if (documentId != null) localVarPathParams.Add("documentId", this.ApiClient.ParameterToString(documentId)); // path parameter - if (options != null) - { - if (options.count != null) localVarQueryParams.Add("count", this.ApiClient.ParameterToString(options.count)); // query parameter - if (options.dpi != null) localVarQueryParams.Add("dpi", this.ApiClient.ParameterToString(options.dpi)); // query parameter - if (options.maxHeight != null) localVarQueryParams.Add("max_height", this.ApiClient.ParameterToString(options.maxHeight)); // query parameter - if (options.maxWidth != null) localVarQueryParams.Add("max_width", this.ApiClient.ParameterToString(options.maxWidth)); // query parameter - if (options.nocache != null) localVarQueryParams.Add("nocache", this.ApiClient.ParameterToString(options.nocache)); // query parameter - if (options.showChanges != null) localVarQueryParams.Add("show_changes", this.ApiClient.ParameterToString(options.showChanges)); // query parameter - if (options.startPosition != null) localVarQueryParams.Add("start_position", this.ApiClient.ParameterToString(options.startPosition)); // query parameter - } // authentication (docusignAccessCode) required // oauth required @@ -20590,51 +20794,56 @@ public async System.Threading.Tasks.Task> GetPagesAsyncW if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("GetPages", localVarResponse); + Exception exception = ExceptionFactory("GetNotificationSettings", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (PageImages)this.ApiClient.Deserialize(localVarResponse, typeof(PageImages))); + (Notification)this.ApiClient.Deserialize(localVarResponse, typeof(Notification))); } /// - /// Returns document visibility for the recipients This method returns information about document visibility for a recipient. + /// Returns tabs on the specified page. Returns the tabs from the page specified by `pageNumber` of the document specified by `documentId` in the envelope specified by `envelopeId`. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// The ID of the recipient being accessed. - /// DocumentVisibilityList - public DocumentVisibilityList GetRecipientDocumentVisibility(string accountId, string envelopeId, string recipientId) + /// The ID of the document being accessed. + /// The page number being accessed. + /// Tabs + public Tabs GetPageTabs(string accountId, string envelopeId, string documentId, string pageNumber) { - ApiResponse localVarResponse = GetRecipientDocumentVisibilityWithHttpInfo(accountId, envelopeId, recipientId); + ApiResponse localVarResponse = GetPageTabsWithHttpInfo(accountId, envelopeId, documentId, pageNumber); return localVarResponse.Data; } /// - /// Returns document visibility for the recipients This method returns information about document visibility for a recipient. + /// Returns tabs on the specified page. Returns the tabs from the page specified by `pageNumber` of the document specified by `documentId` in the envelope specified by `envelopeId`. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// The ID of the recipient being accessed. - /// ApiResponse of DocumentVisibilityList - public ApiResponse GetRecipientDocumentVisibilityWithHttpInfo(string accountId, string envelopeId, string recipientId) + /// The ID of the document being accessed. + /// The page number being accessed. + /// ApiResponse of Tabs + public ApiResponse GetPageTabsWithHttpInfo(string accountId, string envelopeId, string documentId, string pageNumber) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetRecipientDocumentVisibility"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetPageTabs"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetRecipientDocumentVisibility"); - // verify the required parameter 'recipientId' is set - if (recipientId == null) - throw new ApiException(400, "Missing required parameter 'recipientId' when calling EnvelopesApi->GetRecipientDocumentVisibility"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetPageTabs"); + // verify the required parameter 'documentId' is set + if (documentId == null) + throw new ApiException(400, "Missing required parameter 'documentId' when calling EnvelopesApi->GetPageTabs"); + // verify the required parameter 'pageNumber' is set + if (pageNumber == null) + throw new ApiException(400, "Missing required parameter 'pageNumber' when calling EnvelopesApi->GetPageTabs"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/document_visibility"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/pages/{pageNumber}/tabs"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -20661,7 +20870,8 @@ public ApiResponse GetRecipientDocumentVisibilityWithHtt localVarPathParams.Add("format", "json"); if (accountId != null) localVarPathParams.Add("accountId", this.ApiClient.ParameterToString(accountId)); // path parameter if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter - if (recipientId != null) localVarPathParams.Add("recipientId", this.ApiClient.ParameterToString(recipientId)); // path parameter + if (documentId != null) localVarPathParams.Add("documentId", this.ApiClient.ParameterToString(documentId)); // path parameter + if (pageNumber != null) localVarPathParams.Add("pageNumber", this.ApiClient.ParameterToString(pageNumber)); // path parameter // authentication (docusignAccessCode) required // oauth required @@ -20679,50 +20889,55 @@ public ApiResponse GetRecipientDocumentVisibilityWithHtt if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("GetRecipientDocumentVisibility", localVarResponse); + Exception exception = ExceptionFactory("GetPageTabs", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (DocumentVisibilityList)this.ApiClient.Deserialize(localVarResponse, typeof(DocumentVisibilityList))); + (Tabs)this.ApiClient.Deserialize(localVarResponse, typeof(Tabs))); } /// - /// Returns document visibility for the recipients This method returns information about document visibility for a recipient. + /// Returns tabs on the specified page. Returns the tabs from the page specified by `pageNumber` of the document specified by `documentId` in the envelope specified by `envelopeId`. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// The ID of the recipient being accessed. - /// Task of DocumentVisibilityList - public async System.Threading.Tasks.Task GetRecipientDocumentVisibilityAsync(string accountId, string envelopeId, string recipientId) + /// The ID of the document being accessed. + /// The page number being accessed. + /// Task of Tabs + public async System.Threading.Tasks.Task GetPageTabsAsync(string accountId, string envelopeId, string documentId, string pageNumber) { - ApiResponse localVarResponse = await GetRecipientDocumentVisibilityAsyncWithHttpInfo(accountId, envelopeId, recipientId); + ApiResponse localVarResponse = await GetPageTabsAsyncWithHttpInfo(accountId, envelopeId, documentId, pageNumber); return localVarResponse.Data; } /// - /// Returns document visibility for the recipients This method returns information about document visibility for a recipient. + /// Returns tabs on the specified page. Returns the tabs from the page specified by `pageNumber` of the document specified by `documentId` in the envelope specified by `envelopeId`. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// The ID of the recipient being accessed. - /// Task of ApiResponse (DocumentVisibilityList) - public async System.Threading.Tasks.Task> GetRecipientDocumentVisibilityAsyncWithHttpInfo(string accountId, string envelopeId, string recipientId) + /// The ID of the document being accessed. + /// The page number being accessed. + /// Task of ApiResponse (Tabs) + public async System.Threading.Tasks.Task> GetPageTabsAsyncWithHttpInfo(string accountId, string envelopeId, string documentId, string pageNumber) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetRecipientDocumentVisibility"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetPageTabs"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetRecipientDocumentVisibility"); - // verify the required parameter 'recipientId' is set - if (recipientId == null) - throw new ApiException(400, "Missing required parameter 'recipientId' when calling EnvelopesApi->GetRecipientDocumentVisibility"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetPageTabs"); + // verify the required parameter 'documentId' is set + if (documentId == null) + throw new ApiException(400, "Missing required parameter 'documentId' when calling EnvelopesApi->GetPageTabs"); + // verify the required parameter 'pageNumber' is set + if (pageNumber == null) + throw new ApiException(400, "Missing required parameter 'pageNumber' when calling EnvelopesApi->GetPageTabs"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/document_visibility"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/pages/{pageNumber}/tabs"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -20749,7 +20964,8 @@ public async System.Threading.Tasks.Task> Ge localVarPathParams.Add("format", "json"); if (accountId != null) localVarPathParams.Add("accountId", this.ApiClient.ParameterToString(accountId)); // path parameter if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter - if (recipientId != null) localVarPathParams.Add("recipientId", this.ApiClient.ParameterToString(recipientId)); // path parameter + if (documentId != null) localVarPathParams.Add("documentId", this.ApiClient.ParameterToString(documentId)); // path parameter + if (pageNumber != null) localVarPathParams.Add("pageNumber", this.ApiClient.ParameterToString(pageNumber)); // path parameter // authentication (docusignAccessCode) required // oauth required @@ -20767,61 +20983,73 @@ public async System.Threading.Tasks.Task> Ge if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("GetRecipientDocumentVisibility", localVarResponse); + Exception exception = ExceptionFactory("GetPageTabs", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (DocumentVisibilityList)this.ApiClient.Deserialize(localVarResponse, typeof(DocumentVisibilityList))); + (Tabs)this.ApiClient.Deserialize(localVarResponse, typeof(Tabs))); } /// - /// Gets the initials image for a user. Retrieves the initials image for the specified user. The image is returned in the same format as it was uploaded. In the request you can specify if the chrome (the added line and identifier around the initial image) is returned with the image. The userId specified in the endpoint must match the authenticated user's user id and the user must be a member of the account. The `signatureIdOrName` paramter accepts signature ID or signature name. DocuSign recommends you use signature ID (`signatureId`), since some names contain characters that do not properly URL encode. If you use the user name, it is likely that the name includes spaces and you might need to URL encode the name before using it in the endpoint. For example: \"Bob Smith\" to \"Bob%20Smith\" Older envelopes might only contain chromed images. If getting the non-chromed image fails, try getting the chromed image. + /// Returns document page image(s) based on input. Returns images of the pages in a document for display based on the parameters that you specify. /// - public class GetRecipientInitialsImageOptions + public class GetPagesOptions { - /// The added line and identifier around the initial image. Note: Older envelopes might only have chromed images. If getting the non-chromed image fails, try getting the chromed image. - public string includeChrome {get; set;} + /// + public string count {get; set;} + /// + public string dpi {get; set;} + /// + public string maxHeight {get; set;} + /// + public string maxWidth {get; set;} + /// + public string nocache {get; set;} + /// + public string showChanges {get; set;} + /// + public string startPosition {get; set;} } /// - /// Gets the initials image for a user. Retrieves the initials image for the specified user. The image is returned in the same format as it was uploaded. In the request you can specify if the chrome (the added line and identifier around the initial image) is returned with the image. The userId specified in the endpoint must match the authenticated user's user id and the user must be a member of the account. The `signatureIdOrName` paramter accepts signature ID or signature name. DocuSign recommends you use signature ID (`signatureId`), since some names contain characters that do not properly URL encode. If you use the user name, it is likely that the name includes spaces and you might need to URL encode the name before using it in the endpoint. For example: \"Bob Smith\" to \"Bob%20Smith\" Older envelopes might only contain chromed images. If getting the non-chromed image fails, try getting the chromed image. + /// Returns document page image(s) based on input. Returns images of the pages in a document for display based on the parameters that you specify. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// The ID of the recipient being accessed. + /// The ID of the document being accessed. /// Options for modifying the behavior of the function. - /// System.IO.Stream - public System.IO.Stream GetRecipientInitialsImage(string accountId, string envelopeId, string recipientId, EnvelopesApi.GetRecipientInitialsImageOptions options = null) + /// PageImages + public PageImages GetPages(string accountId, string envelopeId, string documentId, EnvelopesApi.GetPagesOptions options = null) { - ApiResponse localVarResponse = GetRecipientInitialsImageWithHttpInfo(accountId, envelopeId, recipientId, options); + ApiResponse localVarResponse = GetPagesWithHttpInfo(accountId, envelopeId, documentId, options); return localVarResponse.Data; } /// - /// Gets the initials image for a user. Retrieves the initials image for the specified user. The image is returned in the same format as it was uploaded. In the request you can specify if the chrome (the added line and identifier around the initial image) is returned with the image. The userId specified in the endpoint must match the authenticated user's user id and the user must be a member of the account. The `signatureIdOrName` paramter accepts signature ID or signature name. DocuSign recommends you use signature ID (`signatureId`), since some names contain characters that do not properly URL encode. If you use the user name, it is likely that the name includes spaces and you might need to URL encode the name before using it in the endpoint. For example: \"Bob Smith\" to \"Bob%20Smith\" Older envelopes might only contain chromed images. If getting the non-chromed image fails, try getting the chromed image. + /// Returns document page image(s) based on input. Returns images of the pages in a document for display based on the parameters that you specify. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// The ID of the recipient being accessed. + /// The ID of the document being accessed. /// Options for modifying the behavior of the function. - /// ApiResponse of System.IO.Stream - public ApiResponse GetRecipientInitialsImageWithHttpInfo(string accountId, string envelopeId, string recipientId, EnvelopesApi.GetRecipientInitialsImageOptions options = null) + /// ApiResponse of PageImages + public ApiResponse GetPagesWithHttpInfo(string accountId, string envelopeId, string documentId, EnvelopesApi.GetPagesOptions options = null) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetRecipientInitialsImage"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetPages"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetRecipientInitialsImage"); - // verify the required parameter 'recipientId' is set - if (recipientId == null) - throw new ApiException(400, "Missing required parameter 'recipientId' when calling EnvelopesApi->GetRecipientInitialsImage"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetPages"); + // verify the required parameter 'documentId' is set + if (documentId == null) + throw new ApiException(400, "Missing required parameter 'documentId' when calling EnvelopesApi->GetPages"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/initials_image"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/pages"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -20837,7 +21065,7 @@ public System.IO.Stream GetRecipientInitialsImage(string accountId, string envel // to determine the Accept header String[] localVarHttpHeaderAccepts = new String[] { - "image/gif" + "application/json" }; String localVarHttpHeaderAccept = this.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); if (localVarHttpHeaderAccept != null) @@ -20848,10 +21076,16 @@ public System.IO.Stream GetRecipientInitialsImage(string accountId, string envel localVarPathParams.Add("format", "json"); if (accountId != null) localVarPathParams.Add("accountId", this.ApiClient.ParameterToString(accountId)); // path parameter if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter - if (recipientId != null) localVarPathParams.Add("recipientId", this.ApiClient.ParameterToString(recipientId)); // path parameter + if (documentId != null) localVarPathParams.Add("documentId", this.ApiClient.ParameterToString(documentId)); // path parameter if (options != null) { - if (options.includeChrome != null) localVarQueryParams.Add("include_chrome", this.ApiClient.ParameterToString(options.includeChrome)); // query parameter + if (options.count != null) localVarQueryParams.Add("count", this.ApiClient.ParameterToString(options.count)); // query parameter + if (options.dpi != null) localVarQueryParams.Add("dpi", this.ApiClient.ParameterToString(options.dpi)); // query parameter + if (options.maxHeight != null) localVarQueryParams.Add("max_height", this.ApiClient.ParameterToString(options.maxHeight)); // query parameter + if (options.maxWidth != null) localVarQueryParams.Add("max_width", this.ApiClient.ParameterToString(options.maxWidth)); // query parameter + if (options.nocache != null) localVarQueryParams.Add("nocache", this.ApiClient.ParameterToString(options.nocache)); // query parameter + if (options.showChanges != null) localVarQueryParams.Add("show_changes", this.ApiClient.ParameterToString(options.showChanges)); // query parameter + if (options.startPosition != null) localVarQueryParams.Add("start_position", this.ApiClient.ParameterToString(options.startPosition)); // query parameter } // authentication (docusignAccessCode) required @@ -20870,52 +21104,52 @@ public System.IO.Stream GetRecipientInitialsImage(string accountId, string envel if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("GetRecipientInitialsImage", localVarResponse); + Exception exception = ExceptionFactory("GetPages", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (System.IO.Stream)this.ApiClient.Deserialize(localVarResponse, typeof(System.IO.Stream))); + (PageImages)this.ApiClient.Deserialize(localVarResponse, typeof(PageImages))); } /// - /// Gets the initials image for a user. Retrieves the initials image for the specified user. The image is returned in the same format as it was uploaded. In the request you can specify if the chrome (the added line and identifier around the initial image) is returned with the image. The userId specified in the endpoint must match the authenticated user's user id and the user must be a member of the account. The `signatureIdOrName` paramter accepts signature ID or signature name. DocuSign recommends you use signature ID (`signatureId`), since some names contain characters that do not properly URL encode. If you use the user name, it is likely that the name includes spaces and you might need to URL encode the name before using it in the endpoint. For example: \"Bob Smith\" to \"Bob%20Smith\" Older envelopes might only contain chromed images. If getting the non-chromed image fails, try getting the chromed image. + /// Returns document page image(s) based on input. Returns images of the pages in a document for display based on the parameters that you specify. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// The ID of the recipient being accessed. + /// The ID of the document being accessed. /// Options for modifying the behavior of the function. - /// Task of System.IO.Stream - public async System.Threading.Tasks.Task GetRecipientInitialsImageAsync(string accountId, string envelopeId, string recipientId, EnvelopesApi.GetRecipientInitialsImageOptions options = null) + /// Task of PageImages + public async System.Threading.Tasks.Task GetPagesAsync(string accountId, string envelopeId, string documentId, EnvelopesApi.GetPagesOptions options = null) { - ApiResponse localVarResponse = await GetRecipientInitialsImageAsyncWithHttpInfo(accountId, envelopeId, recipientId, options); + ApiResponse localVarResponse = await GetPagesAsyncWithHttpInfo(accountId, envelopeId, documentId, options); return localVarResponse.Data; } /// - /// Gets the initials image for a user. Retrieves the initials image for the specified user. The image is returned in the same format as it was uploaded. In the request you can specify if the chrome (the added line and identifier around the initial image) is returned with the image. The userId specified in the endpoint must match the authenticated user's user id and the user must be a member of the account. The `signatureIdOrName` paramter accepts signature ID or signature name. DocuSign recommends you use signature ID (`signatureId`), since some names contain characters that do not properly URL encode. If you use the user name, it is likely that the name includes spaces and you might need to URL encode the name before using it in the endpoint. For example: \"Bob Smith\" to \"Bob%20Smith\" Older envelopes might only contain chromed images. If getting the non-chromed image fails, try getting the chromed image. + /// Returns document page image(s) based on input. Returns images of the pages in a document for display based on the parameters that you specify. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// The ID of the recipient being accessed. + /// The ID of the document being accessed. /// Options for modifying the behavior of the function. - /// Task of ApiResponse (System.IO.Stream) - public async System.Threading.Tasks.Task> GetRecipientInitialsImageAsyncWithHttpInfo(string accountId, string envelopeId, string recipientId, EnvelopesApi.GetRecipientInitialsImageOptions options = null) + /// Task of ApiResponse (PageImages) + public async System.Threading.Tasks.Task> GetPagesAsyncWithHttpInfo(string accountId, string envelopeId, string documentId, EnvelopesApi.GetPagesOptions options = null) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetRecipientInitialsImage"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetPages"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetRecipientInitialsImage"); - // verify the required parameter 'recipientId' is set - if (recipientId == null) - throw new ApiException(400, "Missing required parameter 'recipientId' when calling EnvelopesApi->GetRecipientInitialsImage"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetPages"); + // verify the required parameter 'documentId' is set + if (documentId == null) + throw new ApiException(400, "Missing required parameter 'documentId' when calling EnvelopesApi->GetPages"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/initials_image"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/pages"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -20931,7 +21165,7 @@ public System.IO.Stream GetRecipientInitialsImage(string accountId, string envel // to determine the Accept header String[] localVarHttpHeaderAccepts = new String[] { - "image/gif" + "application/json" }; String localVarHttpHeaderAccept = this.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); if (localVarHttpHeaderAccept != null) @@ -20942,10 +21176,16 @@ public System.IO.Stream GetRecipientInitialsImage(string accountId, string envel localVarPathParams.Add("format", "json"); if (accountId != null) localVarPathParams.Add("accountId", this.ApiClient.ParameterToString(accountId)); // path parameter if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter - if (recipientId != null) localVarPathParams.Add("recipientId", this.ApiClient.ParameterToString(recipientId)); // path parameter + if (documentId != null) localVarPathParams.Add("documentId", this.ApiClient.ParameterToString(documentId)); // path parameter if (options != null) { - if (options.includeChrome != null) localVarQueryParams.Add("include_chrome", this.ApiClient.ParameterToString(options.includeChrome)); // query parameter + if (options.count != null) localVarQueryParams.Add("count", this.ApiClient.ParameterToString(options.count)); // query parameter + if (options.dpi != null) localVarQueryParams.Add("dpi", this.ApiClient.ParameterToString(options.dpi)); // query parameter + if (options.maxHeight != null) localVarQueryParams.Add("max_height", this.ApiClient.ParameterToString(options.maxHeight)); // query parameter + if (options.maxWidth != null) localVarQueryParams.Add("max_width", this.ApiClient.ParameterToString(options.maxWidth)); // query parameter + if (options.nocache != null) localVarQueryParams.Add("nocache", this.ApiClient.ParameterToString(options.nocache)); // query parameter + if (options.showChanges != null) localVarQueryParams.Add("show_changes", this.ApiClient.ParameterToString(options.showChanges)); // query parameter + if (options.startPosition != null) localVarQueryParams.Add("start_position", this.ApiClient.ParameterToString(options.startPosition)); // query parameter } // authentication (docusignAccessCode) required @@ -20964,51 +21204,51 @@ public System.IO.Stream GetRecipientInitialsImage(string accountId, string envel if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("GetRecipientInitialsImage", localVarResponse); + Exception exception = ExceptionFactory("GetPages", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (System.IO.Stream)this.ApiClient.Deserialize(localVarResponse, typeof(System.IO.Stream))); + (PageImages)this.ApiClient.Deserialize(localVarResponse, typeof(PageImages))); } /// - /// Gets signature information for a signer or sign-in-person recipient. Retrieves signature information for a signer or sign-in-person recipient. + /// Returns document visibility for the recipients This method returns information about document visibility for a recipient. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. /// The ID of the recipient being accessed. - /// UserSignature - public UserSignature GetRecipientSignature(string accountId, string envelopeId, string recipientId) + /// DocumentVisibilityList + public DocumentVisibilityList GetRecipientDocumentVisibility(string accountId, string envelopeId, string recipientId) { - ApiResponse localVarResponse = GetRecipientSignatureWithHttpInfo(accountId, envelopeId, recipientId); + ApiResponse localVarResponse = GetRecipientDocumentVisibilityWithHttpInfo(accountId, envelopeId, recipientId); return localVarResponse.Data; } /// - /// Gets signature information for a signer or sign-in-person recipient. Retrieves signature information for a signer or sign-in-person recipient. + /// Returns document visibility for the recipients This method returns information about document visibility for a recipient. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. /// The ID of the recipient being accessed. - /// ApiResponse of UserSignature - public ApiResponse GetRecipientSignatureWithHttpInfo(string accountId, string envelopeId, string recipientId) + /// ApiResponse of DocumentVisibilityList + public ApiResponse GetRecipientDocumentVisibilityWithHttpInfo(string accountId, string envelopeId, string recipientId) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetRecipientSignature"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetRecipientDocumentVisibility"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetRecipientSignature"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetRecipientDocumentVisibility"); // verify the required parameter 'recipientId' is set if (recipientId == null) - throw new ApiException(400, "Missing required parameter 'recipientId' when calling EnvelopesApi->GetRecipientSignature"); + throw new ApiException(400, "Missing required parameter 'recipientId' when calling EnvelopesApi->GetRecipientDocumentVisibility"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/signature"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/document_visibility"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -21053,50 +21293,50 @@ public ApiResponse GetRecipientSignatureWithHttpInfo(string accou if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("GetRecipientSignature", localVarResponse); + Exception exception = ExceptionFactory("GetRecipientDocumentVisibility", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (UserSignature)this.ApiClient.Deserialize(localVarResponse, typeof(UserSignature))); + (DocumentVisibilityList)this.ApiClient.Deserialize(localVarResponse, typeof(DocumentVisibilityList))); } /// - /// Gets signature information for a signer or sign-in-person recipient. Retrieves signature information for a signer or sign-in-person recipient. + /// Returns document visibility for the recipients This method returns information about document visibility for a recipient. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. /// The ID of the recipient being accessed. - /// Task of UserSignature - public async System.Threading.Tasks.Task GetRecipientSignatureAsync(string accountId, string envelopeId, string recipientId) + /// Task of DocumentVisibilityList + public async System.Threading.Tasks.Task GetRecipientDocumentVisibilityAsync(string accountId, string envelopeId, string recipientId) { - ApiResponse localVarResponse = await GetRecipientSignatureAsyncWithHttpInfo(accountId, envelopeId, recipientId); + ApiResponse localVarResponse = await GetRecipientDocumentVisibilityAsyncWithHttpInfo(accountId, envelopeId, recipientId); return localVarResponse.Data; } /// - /// Gets signature information for a signer or sign-in-person recipient. Retrieves signature information for a signer or sign-in-person recipient. + /// Returns document visibility for the recipients This method returns information about document visibility for a recipient. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. /// The ID of the recipient being accessed. - /// Task of ApiResponse (UserSignature) - public async System.Threading.Tasks.Task> GetRecipientSignatureAsyncWithHttpInfo(string accountId, string envelopeId, string recipientId) + /// Task of ApiResponse (DocumentVisibilityList) + public async System.Threading.Tasks.Task> GetRecipientDocumentVisibilityAsyncWithHttpInfo(string accountId, string envelopeId, string recipientId) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetRecipientSignature"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetRecipientDocumentVisibility"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetRecipientSignature"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetRecipientDocumentVisibility"); // verify the required parameter 'recipientId' is set if (recipientId == null) - throw new ApiException(400, "Missing required parameter 'recipientId' when calling EnvelopesApi->GetRecipientSignature"); + throw new ApiException(400, "Missing required parameter 'recipientId' when calling EnvelopesApi->GetRecipientDocumentVisibility"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/signature"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/document_visibility"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -21141,26 +21381,26 @@ public async System.Threading.Tasks.Task> GetRecipien if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("GetRecipientSignature", localVarResponse); + Exception exception = ExceptionFactory("GetRecipientDocumentVisibility", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (UserSignature)this.ApiClient.Deserialize(localVarResponse, typeof(UserSignature))); + (DocumentVisibilityList)this.ApiClient.Deserialize(localVarResponse, typeof(DocumentVisibilityList))); } /// - /// Retrieve signature image information for a signer/sign-in-person recipient. Retrieves the specified user signature image. The image is returned in the same format as uploaded. In the request you can specify if the chrome (the added line and identifier around the initial image) is returned with the image. The userId specified in the endpoint must match the authenticated user's user ID and the user must be a member of the account. The `signatureIdOrName` parameter accepts signature ID or signature name. DocuSign recommends you use signature ID (`signatureId`), since some names contain characters that don't properly URL encode. If you use the user name, it is likely that the name includes spaces and you might need to URL encode the name before using it in the endpoint. For example: \"Bob Smith\" to \"Bob%20Smith\" Older envelopes might only have chromed images. If getting the non-chromed image fails, try getting the chromed image. + /// Gets the initials image for a user. Retrieves the initials image for the specified user. The image is returned in the same format as it was uploaded. In the request you can specify if the chrome (the added line and identifier around the initial image) is returned with the image. The userId specified in the endpoint must match the authenticated user's user id and the user must be a member of the account. The `signatureIdOrName` paramter accepts signature ID or signature name. DocuSign recommends you use signature ID (`signatureId`), since some names contain characters that do not properly URL encode. If you use the user name, it is likely that the name includes spaces and you might need to URL encode the name before using it in the endpoint. For example: \"Bob Smith\" to \"Bob%20Smith\" Older envelopes might only contain chromed images. If getting the non-chromed image fails, try getting the chromed image. /// - public class GetRecipientSignatureImageOptions + public class GetRecipientInitialsImageOptions { - /// When set to **true**, indicates the chromed version of the signature image should be retrieved. + /// The added line and identifier around the initial image. Note: Older envelopes might only have chromed images. If getting the non-chromed image fails, try getting the chromed image. public string includeChrome {get; set;} } /// - /// Retrieve signature image information for a signer/sign-in-person recipient. Retrieves the specified user signature image. The image is returned in the same format as uploaded. In the request you can specify if the chrome (the added line and identifier around the initial image) is returned with the image. The userId specified in the endpoint must match the authenticated user's user ID and the user must be a member of the account. The `signatureIdOrName` parameter accepts signature ID or signature name. DocuSign recommends you use signature ID (`signatureId`), since some names contain characters that don't properly URL encode. If you use the user name, it is likely that the name includes spaces and you might need to URL encode the name before using it in the endpoint. For example: \"Bob Smith\" to \"Bob%20Smith\" Older envelopes might only have chromed images. If getting the non-chromed image fails, try getting the chromed image. + /// Gets the initials image for a user. Retrieves the initials image for the specified user. The image is returned in the same format as it was uploaded. In the request you can specify if the chrome (the added line and identifier around the initial image) is returned with the image. The userId specified in the endpoint must match the authenticated user's user id and the user must be a member of the account. The `signatureIdOrName` paramter accepts signature ID or signature name. DocuSign recommends you use signature ID (`signatureId`), since some names contain characters that do not properly URL encode. If you use the user name, it is likely that the name includes spaces and you might need to URL encode the name before using it in the endpoint. For example: \"Bob Smith\" to \"Bob%20Smith\" Older envelopes might only contain chromed images. If getting the non-chromed image fails, try getting the chromed image. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. @@ -21168,14 +21408,14 @@ public class GetRecipientSignatureImageOptions /// The ID of the recipient being accessed. /// Options for modifying the behavior of the function. /// System.IO.Stream - public System.IO.Stream GetRecipientSignatureImage(string accountId, string envelopeId, string recipientId, EnvelopesApi.GetRecipientSignatureImageOptions options = null) + public System.IO.Stream GetRecipientInitialsImage(string accountId, string envelopeId, string recipientId, EnvelopesApi.GetRecipientInitialsImageOptions options = null) { - ApiResponse localVarResponse = GetRecipientSignatureImageWithHttpInfo(accountId, envelopeId, recipientId, options); + ApiResponse localVarResponse = GetRecipientInitialsImageWithHttpInfo(accountId, envelopeId, recipientId, options); return localVarResponse.Data; } /// - /// Retrieve signature image information for a signer/sign-in-person recipient. Retrieves the specified user signature image. The image is returned in the same format as uploaded. In the request you can specify if the chrome (the added line and identifier around the initial image) is returned with the image. The userId specified in the endpoint must match the authenticated user's user ID and the user must be a member of the account. The `signatureIdOrName` parameter accepts signature ID or signature name. DocuSign recommends you use signature ID (`signatureId`), since some names contain characters that don't properly URL encode. If you use the user name, it is likely that the name includes spaces and you might need to URL encode the name before using it in the endpoint. For example: \"Bob Smith\" to \"Bob%20Smith\" Older envelopes might only have chromed images. If getting the non-chromed image fails, try getting the chromed image. + /// Gets the initials image for a user. Retrieves the initials image for the specified user. The image is returned in the same format as it was uploaded. In the request you can specify if the chrome (the added line and identifier around the initial image) is returned with the image. The userId specified in the endpoint must match the authenticated user's user id and the user must be a member of the account. The `signatureIdOrName` paramter accepts signature ID or signature name. DocuSign recommends you use signature ID (`signatureId`), since some names contain characters that do not properly URL encode. If you use the user name, it is likely that the name includes spaces and you might need to URL encode the name before using it in the endpoint. For example: \"Bob Smith\" to \"Bob%20Smith\" Older envelopes might only contain chromed images. If getting the non-chromed image fails, try getting the chromed image. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. @@ -21183,19 +21423,19 @@ public System.IO.Stream GetRecipientSignatureImage(string accountId, string enve /// The ID of the recipient being accessed. /// Options for modifying the behavior of the function. /// ApiResponse of System.IO.Stream - public ApiResponse GetRecipientSignatureImageWithHttpInfo(string accountId, string envelopeId, string recipientId, EnvelopesApi.GetRecipientSignatureImageOptions options = null) + public ApiResponse GetRecipientInitialsImageWithHttpInfo(string accountId, string envelopeId, string recipientId, EnvelopesApi.GetRecipientInitialsImageOptions options = null) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetRecipientSignatureImage"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetRecipientInitialsImage"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetRecipientSignatureImage"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetRecipientInitialsImage"); // verify the required parameter 'recipientId' is set if (recipientId == null) - throw new ApiException(400, "Missing required parameter 'recipientId' when calling EnvelopesApi->GetRecipientSignatureImage"); + throw new ApiException(400, "Missing required parameter 'recipientId' when calling EnvelopesApi->GetRecipientInitialsImage"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/signature_image"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/initials_image"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -21244,7 +21484,7 @@ public System.IO.Stream GetRecipientSignatureImage(string accountId, string enve if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("GetRecipientSignatureImage", localVarResponse); + Exception exception = ExceptionFactory("GetRecipientInitialsImage", localVarResponse); if (exception != null) throw exception; } @@ -21254,7 +21494,7 @@ public System.IO.Stream GetRecipientSignatureImage(string accountId, string enve } /// - /// Retrieve signature image information for a signer/sign-in-person recipient. Retrieves the specified user signature image. The image is returned in the same format as uploaded. In the request you can specify if the chrome (the added line and identifier around the initial image) is returned with the image. The userId specified in the endpoint must match the authenticated user's user ID and the user must be a member of the account. The `signatureIdOrName` parameter accepts signature ID or signature name. DocuSign recommends you use signature ID (`signatureId`), since some names contain characters that don't properly URL encode. If you use the user name, it is likely that the name includes spaces and you might need to URL encode the name before using it in the endpoint. For example: \"Bob Smith\" to \"Bob%20Smith\" Older envelopes might only have chromed images. If getting the non-chromed image fails, try getting the chromed image. + /// Gets the initials image for a user. Retrieves the initials image for the specified user. The image is returned in the same format as it was uploaded. In the request you can specify if the chrome (the added line and identifier around the initial image) is returned with the image. The userId specified in the endpoint must match the authenticated user's user id and the user must be a member of the account. The `signatureIdOrName` paramter accepts signature ID or signature name. DocuSign recommends you use signature ID (`signatureId`), since some names contain characters that do not properly URL encode. If you use the user name, it is likely that the name includes spaces and you might need to URL encode the name before using it in the endpoint. For example: \"Bob Smith\" to \"Bob%20Smith\" Older envelopes might only contain chromed images. If getting the non-chromed image fails, try getting the chromed image. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. @@ -21262,14 +21502,14 @@ public System.IO.Stream GetRecipientSignatureImage(string accountId, string enve /// The ID of the recipient being accessed. /// Options for modifying the behavior of the function. /// Task of System.IO.Stream - public async System.Threading.Tasks.Task GetRecipientSignatureImageAsync(string accountId, string envelopeId, string recipientId, EnvelopesApi.GetRecipientSignatureImageOptions options = null) + public async System.Threading.Tasks.Task GetRecipientInitialsImageAsync(string accountId, string envelopeId, string recipientId, EnvelopesApi.GetRecipientInitialsImageOptions options = null) { - ApiResponse localVarResponse = await GetRecipientSignatureImageAsyncWithHttpInfo(accountId, envelopeId, recipientId, options); + ApiResponse localVarResponse = await GetRecipientInitialsImageAsyncWithHttpInfo(accountId, envelopeId, recipientId, options); return localVarResponse.Data; } /// - /// Retrieve signature image information for a signer/sign-in-person recipient. Retrieves the specified user signature image. The image is returned in the same format as uploaded. In the request you can specify if the chrome (the added line and identifier around the initial image) is returned with the image. The userId specified in the endpoint must match the authenticated user's user ID and the user must be a member of the account. The `signatureIdOrName` parameter accepts signature ID or signature name. DocuSign recommends you use signature ID (`signatureId`), since some names contain characters that don't properly URL encode. If you use the user name, it is likely that the name includes spaces and you might need to URL encode the name before using it in the endpoint. For example: \"Bob Smith\" to \"Bob%20Smith\" Older envelopes might only have chromed images. If getting the non-chromed image fails, try getting the chromed image. + /// Gets the initials image for a user. Retrieves the initials image for the specified user. The image is returned in the same format as it was uploaded. In the request you can specify if the chrome (the added line and identifier around the initial image) is returned with the image. The userId specified in the endpoint must match the authenticated user's user id and the user must be a member of the account. The `signatureIdOrName` paramter accepts signature ID or signature name. DocuSign recommends you use signature ID (`signatureId`), since some names contain characters that do not properly URL encode. If you use the user name, it is likely that the name includes spaces and you might need to URL encode the name before using it in the endpoint. For example: \"Bob Smith\" to \"Bob%20Smith\" Older envelopes might only contain chromed images. If getting the non-chromed image fails, try getting the chromed image. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. @@ -21277,19 +21517,19 @@ public System.IO.Stream GetRecipientSignatureImage(string accountId, string enve /// The ID of the recipient being accessed. /// Options for modifying the behavior of the function. /// Task of ApiResponse (System.IO.Stream) - public async System.Threading.Tasks.Task> GetRecipientSignatureImageAsyncWithHttpInfo(string accountId, string envelopeId, string recipientId, EnvelopesApi.GetRecipientSignatureImageOptions options = null) + public async System.Threading.Tasks.Task> GetRecipientInitialsImageAsyncWithHttpInfo(string accountId, string envelopeId, string recipientId, EnvelopesApi.GetRecipientInitialsImageOptions options = null) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetRecipientSignatureImage"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetRecipientInitialsImage"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetRecipientSignatureImage"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetRecipientInitialsImage"); // verify the required parameter 'recipientId' is set if (recipientId == null) - throw new ApiException(400, "Missing required parameter 'recipientId' when calling EnvelopesApi->GetRecipientSignatureImage"); + throw new ApiException(400, "Missing required parameter 'recipientId' when calling EnvelopesApi->GetRecipientInitialsImage"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/signature_image"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/initials_image"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -21338,7 +21578,7 @@ public System.IO.Stream GetRecipientSignatureImage(string accountId, string enve if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("GetRecipientSignatureImage", localVarResponse); + Exception exception = ExceptionFactory("GetRecipientInitialsImage", localVarResponse); if (exception != null) throw exception; } @@ -21349,34 +21589,40 @@ public System.IO.Stream GetRecipientSignatureImage(string accountId, string enve /// - /// Get encrypted tabs for envelope. + /// Gets signature information for a signer or sign-in-person recipient. Retrieves signature information for a signer or sign-in-person recipient. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// - public void GetTabsBlob(string accountId, string envelopeId) + /// The ID of the recipient being accessed. + /// UserSignature + public UserSignature GetRecipientSignature(string accountId, string envelopeId, string recipientId) { - GetTabsBlobWithHttpInfo(accountId, envelopeId); + ApiResponse localVarResponse = GetRecipientSignatureWithHttpInfo(accountId, envelopeId, recipientId); + return localVarResponse.Data; } /// - /// Get encrypted tabs for envelope. + /// Gets signature information for a signer or sign-in-person recipient. Retrieves signature information for a signer or sign-in-person recipient. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// ApiResponse of Object(void) - public ApiResponse GetTabsBlobWithHttpInfo(string accountId, string envelopeId) + /// The ID of the recipient being accessed. + /// ApiResponse of UserSignature + public ApiResponse GetRecipientSignatureWithHttpInfo(string accountId, string envelopeId, string recipientId) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetTabsBlob"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetRecipientSignature"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetTabsBlob"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetRecipientSignature"); + // verify the required parameter 'recipientId' is set + if (recipientId == null) + throw new ApiException(400, "Missing required parameter 'recipientId' when calling EnvelopesApi->GetRecipientSignature"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/tabs_blob"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/signature"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -21403,6 +21649,7 @@ public ApiResponse GetTabsBlobWithHttpInfo(string accountId, string enve localVarPathParams.Add("format", "json"); if (accountId != null) localVarPathParams.Add("accountId", this.ApiClient.ParameterToString(accountId)); // path parameter if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter + if (recipientId != null) localVarPathParams.Add("recipientId", this.ApiClient.ParameterToString(recipientId)); // path parameter // authentication (docusignAccessCode) required // oauth required @@ -21420,45 +21667,50 @@ public ApiResponse GetTabsBlobWithHttpInfo(string accountId, string enve if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("GetTabsBlob", localVarResponse); + Exception exception = ExceptionFactory("GetRecipientSignature", localVarResponse); if (exception != null) throw exception; } - - return new ApiResponse(localVarStatusCode, - localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - null); + return new ApiResponse(localVarStatusCode, + localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), + (UserSignature)this.ApiClient.Deserialize(localVarResponse, typeof(UserSignature))); } /// - /// Get encrypted tabs for envelope. + /// Gets signature information for a signer or sign-in-person recipient. Retrieves signature information for a signer or sign-in-person recipient. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// Task of void - public async System.Threading.Tasks.Task GetTabsBlobAsync(string accountId, string envelopeId) + /// The ID of the recipient being accessed. + /// Task of UserSignature + public async System.Threading.Tasks.Task GetRecipientSignatureAsync(string accountId, string envelopeId, string recipientId) { - await GetTabsBlobAsyncWithHttpInfo(accountId, envelopeId); + ApiResponse localVarResponse = await GetRecipientSignatureAsyncWithHttpInfo(accountId, envelopeId, recipientId); + return localVarResponse.Data; } /// - /// Get encrypted tabs for envelope. + /// Gets signature information for a signer or sign-in-person recipient. Retrieves signature information for a signer or sign-in-person recipient. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// Task of ApiResponse - public async System.Threading.Tasks.Task> GetTabsBlobAsyncWithHttpInfo(string accountId, string envelopeId) + /// The ID of the recipient being accessed. + /// Task of ApiResponse (UserSignature) + public async System.Threading.Tasks.Task> GetRecipientSignatureAsyncWithHttpInfo(string accountId, string envelopeId, string recipientId) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetTabsBlob"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetRecipientSignature"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetTabsBlob"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetRecipientSignature"); + // verify the required parameter 'recipientId' is set + if (recipientId == null) + throw new ApiException(400, "Missing required parameter 'recipientId' when calling EnvelopesApi->GetRecipientSignature"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/tabs_blob"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/signature"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -21485,6 +21737,7 @@ public async System.Threading.Tasks.Task> GetTabsBlobAsyncWi localVarPathParams.Add("format", "json"); if (accountId != null) localVarPathParams.Add("accountId", this.ApiClient.ParameterToString(accountId)); // path parameter if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter + if (recipientId != null) localVarPathParams.Add("recipientId", this.ApiClient.ParameterToString(recipientId)); // path parameter // authentication (docusignAccessCode) required // oauth required @@ -21502,52 +21755,61 @@ public async System.Threading.Tasks.Task> GetTabsBlobAsyncWi if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("GetTabsBlob", localVarResponse); + Exception exception = ExceptionFactory("GetRecipientSignature", localVarResponse); if (exception != null) throw exception; } - - return new ApiResponse(localVarStatusCode, - localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - null); + return new ApiResponse(localVarStatusCode, + localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), + (UserSignature)this.ApiClient.Deserialize(localVarResponse, typeof(UserSignature))); } + /// + /// Retrieve signature image information for a signer/sign-in-person recipient. Retrieves the specified user signature image. The image is returned in the same format as uploaded. In the request you can specify if the chrome (the added line and identifier around the initial image) is returned with the image. The userId specified in the endpoint must match the authenticated user's user ID and the user must be a member of the account. The `signatureIdOrName` parameter accepts signature ID or signature name. DocuSign recommends you use signature ID (`signatureId`), since some names contain characters that don't properly URL encode. If you use the user name, it is likely that the name includes spaces and you might need to URL encode the name before using it in the endpoint. For example: \"Bob Smith\" to \"Bob%20Smith\" Older envelopes might only have chromed images. If getting the non-chromed image fails, try getting the chromed image. + /// + public class GetRecipientSignatureImageOptions + { + /// When set to **true**, indicates the chromed version of the signature image should be retrieved. + public string includeChrome {get; set;} + } /// - /// Returns the delayed routing rules for a template's workflow step definition. + /// Retrieve signature image information for a signer/sign-in-person recipient. Retrieves the specified user signature image. The image is returned in the same format as uploaded. In the request you can specify if the chrome (the added line and identifier around the initial image) is returned with the image. The userId specified in the endpoint must match the authenticated user's user ID and the user must be a member of the account. The `signatureIdOrName` parameter accepts signature ID or signature name. DocuSign recommends you use signature ID (`signatureId`), since some names contain characters that don't properly URL encode. If you use the user name, it is likely that the name includes spaces and you might need to URL encode the name before using it in the endpoint. For example: \"Bob Smith\" to \"Bob%20Smith\" Older envelopes might only have chromed images. If getting the non-chromed image fails, try getting the chromed image. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// The ID of the template being accessed. - /// - /// DelayedRouting - public DelayedRouting GetTemplateDelayedRoutingDefinition(string accountId, string templateId, string workflowStepId) + /// The envelopeId Guid of the envelope being accessed. + /// The ID of the recipient being accessed. + /// Options for modifying the behavior of the function. + /// System.IO.Stream + public System.IO.Stream GetRecipientSignatureImage(string accountId, string envelopeId, string recipientId, EnvelopesApi.GetRecipientSignatureImageOptions options = null) { - ApiResponse localVarResponse = GetTemplateDelayedRoutingDefinitionWithHttpInfo(accountId, templateId, workflowStepId); + ApiResponse localVarResponse = GetRecipientSignatureImageWithHttpInfo(accountId, envelopeId, recipientId, options); return localVarResponse.Data; } /// - /// Returns the delayed routing rules for a template's workflow step definition. + /// Retrieve signature image information for a signer/sign-in-person recipient. Retrieves the specified user signature image. The image is returned in the same format as uploaded. In the request you can specify if the chrome (the added line and identifier around the initial image) is returned with the image. The userId specified in the endpoint must match the authenticated user's user ID and the user must be a member of the account. The `signatureIdOrName` parameter accepts signature ID or signature name. DocuSign recommends you use signature ID (`signatureId`), since some names contain characters that don't properly URL encode. If you use the user name, it is likely that the name includes spaces and you might need to URL encode the name before using it in the endpoint. For example: \"Bob Smith\" to \"Bob%20Smith\" Older envelopes might only have chromed images. If getting the non-chromed image fails, try getting the chromed image. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// The ID of the template being accessed. - /// - /// ApiResponse of DelayedRouting - public ApiResponse GetTemplateDelayedRoutingDefinitionWithHttpInfo(string accountId, string templateId, string workflowStepId) + /// The envelopeId Guid of the envelope being accessed. + /// The ID of the recipient being accessed. + /// Options for modifying the behavior of the function. + /// ApiResponse of System.IO.Stream + public ApiResponse GetRecipientSignatureImageWithHttpInfo(string accountId, string envelopeId, string recipientId, EnvelopesApi.GetRecipientSignatureImageOptions options = null) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetTemplateDelayedRoutingDefinition"); - // verify the required parameter 'templateId' is set - if (templateId == null) - throw new ApiException(400, "Missing required parameter 'templateId' when calling EnvelopesApi->GetTemplateDelayedRoutingDefinition"); - // verify the required parameter 'workflowStepId' is set - if (workflowStepId == null) - throw new ApiException(400, "Missing required parameter 'workflowStepId' when calling EnvelopesApi->GetTemplateDelayedRoutingDefinition"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetRecipientSignatureImage"); + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetRecipientSignatureImage"); + // verify the required parameter 'recipientId' is set + if (recipientId == null) + throw new ApiException(400, "Missing required parameter 'recipientId' when calling EnvelopesApi->GetRecipientSignatureImage"); - var localVarPath = "/v2.1/accounts/{accountId}/templates/{templateId}/workflow/steps/{workflowStepId}/delayedRouting"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/signature_image"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -21563,7 +21825,7 @@ public ApiResponse GetTemplateDelayedRoutingDefinitionWithHttpIn // to determine the Accept header String[] localVarHttpHeaderAccepts = new String[] { - "application/json" + "image/gif" }; String localVarHttpHeaderAccept = this.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); if (localVarHttpHeaderAccept != null) @@ -21573,8 +21835,12 @@ public ApiResponse GetTemplateDelayedRoutingDefinitionWithHttpIn // 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 (workflowStepId != null) localVarPathParams.Add("workflowStepId", this.ApiClient.ParameterToString(workflowStepId)); // path parameter + if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter + if (recipientId != null) localVarPathParams.Add("recipientId", this.ApiClient.ParameterToString(recipientId)); // path parameter + if (options != null) + { + if (options.includeChrome != null) localVarQueryParams.Add("include_chrome", this.ApiClient.ParameterToString(options.includeChrome)); // query parameter + } // authentication (docusignAccessCode) required // oauth required @@ -21592,50 +21858,52 @@ public ApiResponse GetTemplateDelayedRoutingDefinitionWithHttpIn if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("GetTemplateDelayedRoutingDefinition", localVarResponse); + Exception exception = ExceptionFactory("GetRecipientSignatureImage", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (DelayedRouting)this.ApiClient.Deserialize(localVarResponse, typeof(DelayedRouting))); + (System.IO.Stream)this.ApiClient.Deserialize(localVarResponse, typeof(System.IO.Stream))); } /// - /// Returns the delayed routing rules for a template's workflow step definition. + /// Retrieve signature image information for a signer/sign-in-person recipient. Retrieves the specified user signature image. The image is returned in the same format as uploaded. In the request you can specify if the chrome (the added line and identifier around the initial image) is returned with the image. The userId specified in the endpoint must match the authenticated user's user ID and the user must be a member of the account. The `signatureIdOrName` parameter accepts signature ID or signature name. DocuSign recommends you use signature ID (`signatureId`), since some names contain characters that don't properly URL encode. If you use the user name, it is likely that the name includes spaces and you might need to URL encode the name before using it in the endpoint. For example: \"Bob Smith\" to \"Bob%20Smith\" Older envelopes might only have chromed images. If getting the non-chromed image fails, try getting the chromed image. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// The ID of the template being accessed. - /// - /// Task of DelayedRouting - public async System.Threading.Tasks.Task GetTemplateDelayedRoutingDefinitionAsync(string accountId, string templateId, string workflowStepId) + /// The envelopeId Guid of the envelope being accessed. + /// The ID of the recipient being accessed. + /// Options for modifying the behavior of the function. + /// Task of System.IO.Stream + public async System.Threading.Tasks.Task GetRecipientSignatureImageAsync(string accountId, string envelopeId, string recipientId, EnvelopesApi.GetRecipientSignatureImageOptions options = null) { - ApiResponse localVarResponse = await GetTemplateDelayedRoutingDefinitionAsyncWithHttpInfo(accountId, templateId, workflowStepId); + ApiResponse localVarResponse = await GetRecipientSignatureImageAsyncWithHttpInfo(accountId, envelopeId, recipientId, options); return localVarResponse.Data; } /// - /// Returns the delayed routing rules for a template's workflow step definition. + /// Retrieve signature image information for a signer/sign-in-person recipient. Retrieves the specified user signature image. The image is returned in the same format as uploaded. In the request you can specify if the chrome (the added line and identifier around the initial image) is returned with the image. The userId specified in the endpoint must match the authenticated user's user ID and the user must be a member of the account. The `signatureIdOrName` parameter accepts signature ID or signature name. DocuSign recommends you use signature ID (`signatureId`), since some names contain characters that don't properly URL encode. If you use the user name, it is likely that the name includes spaces and you might need to URL encode the name before using it in the endpoint. For example: \"Bob Smith\" to \"Bob%20Smith\" Older envelopes might only have chromed images. If getting the non-chromed image fails, try getting the chromed image. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// The ID of the template being accessed. - /// - /// Task of ApiResponse (DelayedRouting) - public async System.Threading.Tasks.Task> GetTemplateDelayedRoutingDefinitionAsyncWithHttpInfo(string accountId, string templateId, string workflowStepId) + /// The envelopeId Guid of the envelope being accessed. + /// The ID of the recipient being accessed. + /// Options for modifying the behavior of the function. + /// Task of ApiResponse (System.IO.Stream) + public async System.Threading.Tasks.Task> GetRecipientSignatureImageAsyncWithHttpInfo(string accountId, string envelopeId, string recipientId, EnvelopesApi.GetRecipientSignatureImageOptions options = null) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetTemplateDelayedRoutingDefinition"); - // verify the required parameter 'templateId' is set - if (templateId == null) - throw new ApiException(400, "Missing required parameter 'templateId' when calling EnvelopesApi->GetTemplateDelayedRoutingDefinition"); - // verify the required parameter 'workflowStepId' is set - if (workflowStepId == null) - throw new ApiException(400, "Missing required parameter 'workflowStepId' when calling EnvelopesApi->GetTemplateDelayedRoutingDefinition"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetRecipientSignatureImage"); + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetRecipientSignatureImage"); + // verify the required parameter 'recipientId' is set + if (recipientId == null) + throw new ApiException(400, "Missing required parameter 'recipientId' when calling EnvelopesApi->GetRecipientSignatureImage"); - var localVarPath = "/v2.1/accounts/{accountId}/templates/{templateId}/workflow/steps/{workflowStepId}/delayedRouting"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/signature_image"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -21651,7 +21919,7 @@ public async System.Threading.Tasks.Task> GetTemplat // to determine the Accept header String[] localVarHttpHeaderAccepts = new String[] { - "application/json" + "image/gif" }; String localVarHttpHeaderAccept = this.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); if (localVarHttpHeaderAccept != null) @@ -21661,8 +21929,12 @@ public async System.Threading.Tasks.Task> GetTemplat // 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 (workflowStepId != null) localVarPathParams.Add("workflowStepId", this.ApiClient.ParameterToString(workflowStepId)); // path parameter + if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter + if (recipientId != null) localVarPathParams.Add("recipientId", this.ApiClient.ParameterToString(recipientId)); // path parameter + if (options != null) + { + if (options.includeChrome != null) localVarQueryParams.Add("include_chrome", this.ApiClient.ParameterToString(options.includeChrome)); // query parameter + } // authentication (docusignAccessCode) required // oauth required @@ -21680,51 +21952,67 @@ public async System.Threading.Tasks.Task> GetTemplat if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("GetTemplateDelayedRoutingDefinition", localVarResponse); + Exception exception = ExceptionFactory("GetRecipientSignatureImage", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (DelayedRouting)this.ApiClient.Deserialize(localVarResponse, typeof(DelayedRouting))); + (System.IO.Stream)this.ApiClient.Deserialize(localVarResponse, typeof(System.IO.Stream))); } + /// + /// Returns a filtered list of shared envelopes. + /// + public class GetSharedEnvelopesOptions + { + /// + public string count {get; set;} + /// + public string fromDate {get; set;} + /// + public string include {get; set;} + /// + public string order {get; set;} + /// + public string orderBy {get; set;} + /// + public string searchText {get; set;} + /// + public string startPosition {get; set;} + /// + public string status {get; set;} + /// + public string toDate {get; set;} + } /// - /// Returns document visibility for the recipients This method returns information about document visibility for a template recipient. + /// Returns a filtered list of shared envelopes. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// The ID of the template being accessed. - /// The ID of the recipient being accessed. - /// DocumentVisibilityList - public DocumentVisibilityList GetTemplateRecipientDocumentVisibility(string accountId, string templateId, string recipientId) + /// Options for modifying the behavior of the function. + /// EnvelopesInformation + public EnvelopesInformation GetSharedEnvelopes(string accountId, EnvelopesApi.GetSharedEnvelopesOptions options = null) { - ApiResponse localVarResponse = GetTemplateRecipientDocumentVisibilityWithHttpInfo(accountId, templateId, recipientId); + ApiResponse localVarResponse = GetSharedEnvelopesWithHttpInfo(accountId, options); return localVarResponse.Data; } /// - /// Returns document visibility for the recipients This method returns information about document visibility for a template recipient. + /// Returns a filtered list of shared envelopes. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// The ID of the template being accessed. - /// The ID of the recipient being accessed. - /// ApiResponse of DocumentVisibilityList - public ApiResponse GetTemplateRecipientDocumentVisibilityWithHttpInfo(string accountId, string templateId, string recipientId) + /// Options for modifying the behavior of the function. + /// ApiResponse of EnvelopesInformation + public ApiResponse GetSharedEnvelopesWithHttpInfo(string accountId, EnvelopesApi.GetSharedEnvelopesOptions options = null) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetTemplateRecipientDocumentVisibility"); - // verify the required parameter 'templateId' is set - if (templateId == null) - throw new ApiException(400, "Missing required parameter 'templateId' when calling EnvelopesApi->GetTemplateRecipientDocumentVisibility"); - // verify the required parameter 'recipientId' is set - if (recipientId == null) - throw new ApiException(400, "Missing required parameter 'recipientId' when calling EnvelopesApi->GetTemplateRecipientDocumentVisibility"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetSharedEnvelopes"); - var localVarPath = "/v2.1/accounts/{accountId}/templates/{templateId}/recipients/{recipientId}/document_visibility"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/shared"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -21750,8 +22038,18 @@ public ApiResponse GetTemplateRecipientDocumentVisibilit // 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 + if (options != null) + { + if (options.count != null) localVarQueryParams.Add("count", this.ApiClient.ParameterToString(options.count)); // query parameter + if (options.fromDate != null) localVarQueryParams.Add("from_date", this.ApiClient.ParameterToString(options.fromDate)); // query parameter + if (options.include != null) localVarQueryParams.Add("include", this.ApiClient.ParameterToString(options.include)); // query parameter + if (options.order != null) localVarQueryParams.Add("order", this.ApiClient.ParameterToString(options.order)); // query parameter + if (options.orderBy != null) localVarQueryParams.Add("order_by", this.ApiClient.ParameterToString(options.orderBy)); // query parameter + if (options.searchText != null) localVarQueryParams.Add("search_text", this.ApiClient.ParameterToString(options.searchText)); // query parameter + if (options.startPosition != null) localVarQueryParams.Add("start_position", this.ApiClient.ParameterToString(options.startPosition)); // query parameter + if (options.status != null) localVarQueryParams.Add("status", this.ApiClient.ParameterToString(options.status)); // query parameter + if (options.toDate != null) localVarQueryParams.Add("to_date", this.ApiClient.ParameterToString(options.toDate)); // query parameter + } // authentication (docusignAccessCode) required // oauth required @@ -21769,50 +22067,42 @@ public ApiResponse GetTemplateRecipientDocumentVisibilit if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("GetTemplateRecipientDocumentVisibility", localVarResponse); + Exception exception = ExceptionFactory("GetSharedEnvelopes", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (DocumentVisibilityList)this.ApiClient.Deserialize(localVarResponse, typeof(DocumentVisibilityList))); + (EnvelopesInformation)this.ApiClient.Deserialize(localVarResponse, typeof(EnvelopesInformation))); } /// - /// Returns document visibility for the recipients This method returns information about document visibility for a template recipient. + /// Returns a filtered list of shared envelopes. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// The ID of the template being accessed. - /// The ID of the recipient being accessed. - /// Task of DocumentVisibilityList - public async System.Threading.Tasks.Task GetTemplateRecipientDocumentVisibilityAsync(string accountId, string templateId, string recipientId) + /// Options for modifying the behavior of the function. + /// Task of EnvelopesInformation + public async System.Threading.Tasks.Task GetSharedEnvelopesAsync(string accountId, EnvelopesApi.GetSharedEnvelopesOptions options = null) { - ApiResponse localVarResponse = await GetTemplateRecipientDocumentVisibilityAsyncWithHttpInfo(accountId, templateId, recipientId); + ApiResponse localVarResponse = await GetSharedEnvelopesAsyncWithHttpInfo(accountId, options); return localVarResponse.Data; } /// - /// Returns document visibility for the recipients This method returns information about document visibility for a template recipient. + /// Returns a filtered list of shared envelopes. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// The ID of the template being accessed. - /// The ID of the recipient being accessed. - /// Task of ApiResponse (DocumentVisibilityList) - public async System.Threading.Tasks.Task> GetTemplateRecipientDocumentVisibilityAsyncWithHttpInfo(string accountId, string templateId, string recipientId) + /// Options for modifying the behavior of the function. + /// Task of ApiResponse (EnvelopesInformation) + public async System.Threading.Tasks.Task> GetSharedEnvelopesAsyncWithHttpInfo(string accountId, EnvelopesApi.GetSharedEnvelopesOptions options = null) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetTemplateRecipientDocumentVisibility"); - // verify the required parameter 'templateId' is set - if (templateId == null) - throw new ApiException(400, "Missing required parameter 'templateId' when calling EnvelopesApi->GetTemplateRecipientDocumentVisibility"); - // verify the required parameter 'recipientId' is set - if (recipientId == null) - throw new ApiException(400, "Missing required parameter 'recipientId' when calling EnvelopesApi->GetTemplateRecipientDocumentVisibility"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetSharedEnvelopes"); - var localVarPath = "/v2.1/accounts/{accountId}/templates/{templateId}/recipients/{recipientId}/document_visibility"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/shared"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -21838,8 +22128,18 @@ public async System.Threading.Tasks.Task> Ge // 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 + if (options != null) + { + if (options.count != null) localVarQueryParams.Add("count", this.ApiClient.ParameterToString(options.count)); // query parameter + if (options.fromDate != null) localVarQueryParams.Add("from_date", this.ApiClient.ParameterToString(options.fromDate)); // query parameter + if (options.include != null) localVarQueryParams.Add("include", this.ApiClient.ParameterToString(options.include)); // query parameter + if (options.order != null) localVarQueryParams.Add("order", this.ApiClient.ParameterToString(options.order)); // query parameter + if (options.orderBy != null) localVarQueryParams.Add("order_by", this.ApiClient.ParameterToString(options.orderBy)); // query parameter + if (options.searchText != null) localVarQueryParams.Add("search_text", this.ApiClient.ParameterToString(options.searchText)); // query parameter + if (options.startPosition != null) localVarQueryParams.Add("start_position", this.ApiClient.ParameterToString(options.startPosition)); // query parameter + if (options.status != null) localVarQueryParams.Add("status", this.ApiClient.ParameterToString(options.status)); // query parameter + if (options.toDate != null) localVarQueryParams.Add("to_date", this.ApiClient.ParameterToString(options.toDate)); // query parameter + } // authentication (docusignAccessCode) required // oauth required @@ -21857,46 +22157,45 @@ public async System.Threading.Tasks.Task> Ge if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("GetTemplateRecipientDocumentVisibility", localVarResponse); + Exception exception = ExceptionFactory("GetSharedEnvelopes", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (DocumentVisibilityList)this.ApiClient.Deserialize(localVarResponse, typeof(DocumentVisibilityList))); + (EnvelopesInformation)this.ApiClient.Deserialize(localVarResponse, typeof(EnvelopesInformation))); } /// - /// Returns the scheduled sending rules for a template's workflow definition. + /// Get encrypted tabs for envelope. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// The ID of the template being accessed. - /// ScheduledSending - public ScheduledSending GetTemplateScheduledSendingDefinition(string accountId, string templateId) + /// The envelopeId Guid of the envelope being accessed. + /// + public void GetTabsBlob(string accountId, string envelopeId) { - ApiResponse localVarResponse = GetTemplateScheduledSendingDefinitionWithHttpInfo(accountId, templateId); - return localVarResponse.Data; + GetTabsBlobWithHttpInfo(accountId, envelopeId); } /// - /// Returns the scheduled sending rules for a template's workflow definition. + /// Get encrypted tabs for envelope. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// The ID of the template being accessed. - /// ApiResponse of ScheduledSending - public ApiResponse GetTemplateScheduledSendingDefinitionWithHttpInfo(string accountId, string templateId) + /// The envelopeId Guid of the envelope being accessed. + /// ApiResponse of Object(void) + public ApiResponse GetTabsBlobWithHttpInfo(string accountId, string envelopeId) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetTemplateScheduledSendingDefinition"); - // verify the required parameter 'templateId' is set - if (templateId == null) - throw new ApiException(400, "Missing required parameter 'templateId' when calling EnvelopesApi->GetTemplateScheduledSendingDefinition"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetTabsBlob"); + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetTabsBlob"); - var localVarPath = "/v2.1/accounts/{accountId}/templates/{templateId}/workflow/scheduledSending"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/tabs_blob"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -21922,7 +22221,7 @@ public ApiResponse GetTemplateScheduledSendingDefinitionWithHt // 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 (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter // authentication (docusignAccessCode) required // oauth required @@ -21940,45 +22239,45 @@ public ApiResponse GetTemplateScheduledSendingDefinitionWithHt if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("GetTemplateScheduledSendingDefinition", localVarResponse); + Exception exception = ExceptionFactory("GetTabsBlob", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, - localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (ScheduledSending)this.ApiClient.Deserialize(localVarResponse, typeof(ScheduledSending))); + + return new ApiResponse(localVarStatusCode, + localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), + null); } /// - /// Returns the scheduled sending rules for a template's workflow definition. + /// Get encrypted tabs for envelope. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// The ID of the template being accessed. - /// Task of ScheduledSending - public async System.Threading.Tasks.Task GetTemplateScheduledSendingDefinitionAsync(string accountId, string templateId) + /// The envelopeId Guid of the envelope being accessed. + /// Task of void + public async System.Threading.Tasks.Task GetTabsBlobAsync(string accountId, string envelopeId) { - ApiResponse localVarResponse = await GetTemplateScheduledSendingDefinitionAsyncWithHttpInfo(accountId, templateId); - return localVarResponse.Data; + await GetTabsBlobAsyncWithHttpInfo(accountId, envelopeId); } /// - /// Returns the scheduled sending rules for a template's workflow definition. + /// Get encrypted tabs for envelope. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// The ID of the template being accessed. - /// Task of ApiResponse (ScheduledSending) - public async System.Threading.Tasks.Task> GetTemplateScheduledSendingDefinitionAsyncWithHttpInfo(string accountId, string templateId) + /// The envelopeId Guid of the envelope being accessed. + /// Task of ApiResponse + public async System.Threading.Tasks.Task> GetTabsBlobAsyncWithHttpInfo(string accountId, string envelopeId) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetTemplateScheduledSendingDefinition"); - // verify the required parameter 'templateId' is set - if (templateId == null) - throw new ApiException(400, "Missing required parameter 'templateId' when calling EnvelopesApi->GetTemplateScheduledSendingDefinition"); - - var localVarPath = "/v2.1/accounts/{accountId}/templates/{templateId}/workflow/scheduledSending"; + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetTabsBlob"); + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->GetTabsBlob"); + + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/tabs_blob"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -22004,7 +22303,7 @@ public async System.Threading.Tasks.Task> GetTempl // 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 (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter // authentication (docusignAccessCode) required // oauth required @@ -22022,46 +22321,52 @@ public async System.Threading.Tasks.Task> GetTempl if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("GetTemplateScheduledSendingDefinition", localVarResponse); + Exception exception = ExceptionFactory("GetTabsBlob", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, - localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (ScheduledSending)this.ApiClient.Deserialize(localVarResponse, typeof(ScheduledSending))); + + return new ApiResponse(localVarStatusCode, + localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), + null); } /// - /// Returns the workflow definition for a template. Returns template's workflow definition if the template specified by `templateId` has one. + /// Returns the delayed routing rules for a template's workflow step definition. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The ID of the template being accessed. - /// Workflow - public Workflow GetTemplateWorkflowDefinition(string accountId, string templateId) + /// + /// DelayedRouting + public DelayedRouting GetTemplateDelayedRoutingDefinition(string accountId, string templateId, string workflowStepId) { - ApiResponse localVarResponse = GetTemplateWorkflowDefinitionWithHttpInfo(accountId, templateId); + ApiResponse localVarResponse = GetTemplateDelayedRoutingDefinitionWithHttpInfo(accountId, templateId, workflowStepId); return localVarResponse.Data; } /// - /// Returns the workflow definition for a template. Returns template's workflow definition if the template specified by `templateId` has one. + /// Returns the delayed routing rules for a template's workflow step definition. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The ID of the template being accessed. - /// ApiResponse of Workflow - public ApiResponse GetTemplateWorkflowDefinitionWithHttpInfo(string accountId, string templateId) + /// + /// ApiResponse of DelayedRouting + public ApiResponse GetTemplateDelayedRoutingDefinitionWithHttpInfo(string accountId, string templateId, string workflowStepId) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetTemplateWorkflowDefinition"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetTemplateDelayedRoutingDefinition"); // verify the required parameter 'templateId' is set if (templateId == null) - throw new ApiException(400, "Missing required parameter 'templateId' when calling EnvelopesApi->GetTemplateWorkflowDefinition"); + throw new ApiException(400, "Missing required parameter 'templateId' when calling EnvelopesApi->GetTemplateDelayedRoutingDefinition"); + // verify the required parameter 'workflowStepId' is set + if (workflowStepId == null) + throw new ApiException(400, "Missing required parameter 'workflowStepId' when calling EnvelopesApi->GetTemplateDelayedRoutingDefinition"); - var localVarPath = "/v2.1/accounts/{accountId}/templates/{templateId}/workflow"; + var localVarPath = "/v2.1/accounts/{accountId}/templates/{templateId}/workflow/steps/{workflowStepId}/delayedRouting"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -22088,6 +22393,7 @@ public ApiResponse GetTemplateWorkflowDefinitionWithHttpInfo(string ac 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 (workflowStepId != null) localVarPathParams.Add("workflowStepId", this.ApiClient.ParameterToString(workflowStepId)); // path parameter // authentication (docusignAccessCode) required // oauth required @@ -22105,45 +22411,50 @@ public ApiResponse GetTemplateWorkflowDefinitionWithHttpInfo(string ac if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("GetTemplateWorkflowDefinition", localVarResponse); + Exception exception = ExceptionFactory("GetTemplateDelayedRoutingDefinition", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (Workflow)this.ApiClient.Deserialize(localVarResponse, typeof(Workflow))); + (DelayedRouting)this.ApiClient.Deserialize(localVarResponse, typeof(DelayedRouting))); } /// - /// Returns the workflow definition for a template. Returns template's workflow definition if the template specified by `templateId` has one. + /// Returns the delayed routing rules for a template's workflow step definition. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The ID of the template being accessed. - /// Task of Workflow - public async System.Threading.Tasks.Task GetTemplateWorkflowDefinitionAsync(string accountId, string templateId) + /// + /// Task of DelayedRouting + public async System.Threading.Tasks.Task GetTemplateDelayedRoutingDefinitionAsync(string accountId, string templateId, string workflowStepId) { - ApiResponse localVarResponse = await GetTemplateWorkflowDefinitionAsyncWithHttpInfo(accountId, templateId); + ApiResponse localVarResponse = await GetTemplateDelayedRoutingDefinitionAsyncWithHttpInfo(accountId, templateId, workflowStepId); return localVarResponse.Data; } /// - /// Returns the workflow definition for a template. Returns template's workflow definition if the template specified by `templateId` has one. + /// Returns the delayed routing rules for a template's workflow step definition. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The ID of the template being accessed. - /// Task of ApiResponse (Workflow) - public async System.Threading.Tasks.Task> GetTemplateWorkflowDefinitionAsyncWithHttpInfo(string accountId, string templateId) + /// + /// Task of ApiResponse (DelayedRouting) + public async System.Threading.Tasks.Task> GetTemplateDelayedRoutingDefinitionAsyncWithHttpInfo(string accountId, string templateId, string workflowStepId) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetTemplateWorkflowDefinition"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetTemplateDelayedRoutingDefinition"); // verify the required parameter 'templateId' is set if (templateId == null) - throw new ApiException(400, "Missing required parameter 'templateId' when calling EnvelopesApi->GetTemplateWorkflowDefinition"); + throw new ApiException(400, "Missing required parameter 'templateId' when calling EnvelopesApi->GetTemplateDelayedRoutingDefinition"); + // verify the required parameter 'workflowStepId' is set + if (workflowStepId == null) + throw new ApiException(400, "Missing required parameter 'workflowStepId' when calling EnvelopesApi->GetTemplateDelayedRoutingDefinition"); - var localVarPath = "/v2.1/accounts/{accountId}/templates/{templateId}/workflow"; + var localVarPath = "/v2.1/accounts/{accountId}/templates/{templateId}/workflow/steps/{workflowStepId}/delayedRouting"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -22170,6 +22481,7 @@ public async System.Threading.Tasks.Task> GetTemplateWorkf 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 (workflowStepId != null) localVarPathParams.Add("workflowStepId", this.ApiClient.ParameterToString(workflowStepId)); // path parameter // authentication (docusignAccessCode) required // oauth required @@ -22187,51 +22499,51 @@ public async System.Threading.Tasks.Task> GetTemplateWorkf if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("GetTemplateWorkflowDefinition", localVarResponse); + Exception exception = ExceptionFactory("GetTemplateDelayedRoutingDefinition", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (Workflow)this.ApiClient.Deserialize(localVarResponse, typeof(Workflow))); + (DelayedRouting)this.ApiClient.Deserialize(localVarResponse, typeof(DelayedRouting))); } /// - /// Returns the workflow step definition for a template by step id. + /// Returns document visibility for the recipients This method returns information about document visibility for a template recipient. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The ID of the template being accessed. - /// - /// WorkflowStep - public WorkflowStep GetTemplateWorkflowStepDefinition(string accountId, string templateId, string workflowStepId) + /// The ID of the recipient being accessed. + /// DocumentVisibilityList + public DocumentVisibilityList GetTemplateRecipientDocumentVisibility(string accountId, string templateId, string recipientId) { - ApiResponse localVarResponse = GetTemplateWorkflowStepDefinitionWithHttpInfo(accountId, templateId, workflowStepId); + ApiResponse localVarResponse = GetTemplateRecipientDocumentVisibilityWithHttpInfo(accountId, templateId, recipientId); return localVarResponse.Data; } /// - /// Returns the workflow step definition for a template by step id. + /// Returns document visibility for the recipients This method returns information about document visibility for a template recipient. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The ID of the template being accessed. - /// - /// ApiResponse of WorkflowStep - public ApiResponse GetTemplateWorkflowStepDefinitionWithHttpInfo(string accountId, string templateId, string workflowStepId) + /// The ID of the recipient being accessed. + /// ApiResponse of DocumentVisibilityList + public ApiResponse GetTemplateRecipientDocumentVisibilityWithHttpInfo(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 EnvelopesApi->GetTemplateWorkflowStepDefinition"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetTemplateRecipientDocumentVisibility"); // verify the required parameter 'templateId' is set if (templateId == null) - throw new ApiException(400, "Missing required parameter 'templateId' when calling EnvelopesApi->GetTemplateWorkflowStepDefinition"); - // verify the required parameter 'workflowStepId' is set - if (workflowStepId == null) - throw new ApiException(400, "Missing required parameter 'workflowStepId' when calling EnvelopesApi->GetTemplateWorkflowStepDefinition"); + throw new ApiException(400, "Missing required parameter 'templateId' when calling EnvelopesApi->GetTemplateRecipientDocumentVisibility"); + // verify the required parameter 'recipientId' is set + if (recipientId == null) + throw new ApiException(400, "Missing required parameter 'recipientId' when calling EnvelopesApi->GetTemplateRecipientDocumentVisibility"); - var localVarPath = "/v2.1/accounts/{accountId}/templates/{templateId}/workflow/steps/{workflowStepId}"; + var localVarPath = "/v2.1/accounts/{accountId}/templates/{templateId}/recipients/{recipientId}/document_visibility"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -22258,7 +22570,7 @@ public ApiResponse GetTemplateWorkflowStepDefinitionWithHttpInfo(s 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 (workflowStepId != null) localVarPathParams.Add("workflowStepId", this.ApiClient.ParameterToString(workflowStepId)); // path parameter + if (recipientId != null) localVarPathParams.Add("recipientId", this.ApiClient.ParameterToString(recipientId)); // path parameter // authentication (docusignAccessCode) required // oauth required @@ -22276,50 +22588,50 @@ public ApiResponse GetTemplateWorkflowStepDefinitionWithHttpInfo(s if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("GetTemplateWorkflowStepDefinition", localVarResponse); + Exception exception = ExceptionFactory("GetTemplateRecipientDocumentVisibility", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (WorkflowStep)this.ApiClient.Deserialize(localVarResponse, typeof(WorkflowStep))); + (DocumentVisibilityList)this.ApiClient.Deserialize(localVarResponse, typeof(DocumentVisibilityList))); } /// - /// Returns the workflow step definition for a template by step id. + /// Returns document visibility for the recipients This method returns information about document visibility for a template recipient. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The ID of the template being accessed. - /// - /// Task of WorkflowStep - public async System.Threading.Tasks.Task GetTemplateWorkflowStepDefinitionAsync(string accountId, string templateId, string workflowStepId) + /// The ID of the recipient being accessed. + /// Task of DocumentVisibilityList + public async System.Threading.Tasks.Task GetTemplateRecipientDocumentVisibilityAsync(string accountId, string templateId, string recipientId) { - ApiResponse localVarResponse = await GetTemplateWorkflowStepDefinitionAsyncWithHttpInfo(accountId, templateId, workflowStepId); + ApiResponse localVarResponse = await GetTemplateRecipientDocumentVisibilityAsyncWithHttpInfo(accountId, templateId, recipientId); return localVarResponse.Data; } /// - /// Returns the workflow step definition for a template by step id. + /// Returns document visibility for the recipients This method returns information about document visibility for a template recipient. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The ID of the template being accessed. - /// - /// Task of ApiResponse (WorkflowStep) - public async System.Threading.Tasks.Task> GetTemplateWorkflowStepDefinitionAsyncWithHttpInfo(string accountId, string templateId, string workflowStepId) + /// The ID of the recipient being accessed. + /// Task of ApiResponse (DocumentVisibilityList) + public async System.Threading.Tasks.Task> GetTemplateRecipientDocumentVisibilityAsyncWithHttpInfo(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 EnvelopesApi->GetTemplateWorkflowStepDefinition"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetTemplateRecipientDocumentVisibility"); // verify the required parameter 'templateId' is set if (templateId == null) - throw new ApiException(400, "Missing required parameter 'templateId' when calling EnvelopesApi->GetTemplateWorkflowStepDefinition"); - // verify the required parameter 'workflowStepId' is set - if (workflowStepId == null) - throw new ApiException(400, "Missing required parameter 'workflowStepId' when calling EnvelopesApi->GetTemplateWorkflowStepDefinition"); + throw new ApiException(400, "Missing required parameter 'templateId' when calling EnvelopesApi->GetTemplateRecipientDocumentVisibility"); + // verify the required parameter 'recipientId' is set + if (recipientId == null) + throw new ApiException(400, "Missing required parameter 'recipientId' when calling EnvelopesApi->GetTemplateRecipientDocumentVisibility"); - var localVarPath = "/v2.1/accounts/{accountId}/templates/{templateId}/workflow/steps/{workflowStepId}"; + var localVarPath = "/v2.1/accounts/{accountId}/templates/{templateId}/recipients/{recipientId}/document_visibility"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -22346,7 +22658,7 @@ public async System.Threading.Tasks.Task> GetTemplateW 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 (workflowStepId != null) localVarPathParams.Add("workflowStepId", this.ApiClient.ParameterToString(workflowStepId)); // path parameter + if (recipientId != null) localVarPathParams.Add("recipientId", this.ApiClient.ParameterToString(recipientId)); // path parameter // authentication (docusignAccessCode) required // oauth required @@ -22364,56 +22676,46 @@ public async System.Threading.Tasks.Task> GetTemplateW if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("GetTemplateWorkflowStepDefinition", localVarResponse); + Exception exception = ExceptionFactory("GetTemplateRecipientDocumentVisibility", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (WorkflowStep)this.ApiClient.Deserialize(localVarResponse, typeof(WorkflowStep))); + (DocumentVisibilityList)this.ApiClient.Deserialize(localVarResponse, typeof(DocumentVisibilityList))); } - /// - /// Gets the envelope audit events for an envelope. Gets the envelope audit events for the specified envelope. - /// - public class ListAuditEventsOptions - { - /// Locale setting for the response, e.g., 'en-US'. - public string locale {get; set;} - } /// - /// Gets the envelope audit events for an envelope. Gets the envelope audit events for the specified envelope. + /// Returns the scheduled sending rules for a template's workflow definition. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// The envelopeId Guid of the envelope being accessed. - /// Options for modifying the behavior of the function. - /// EnvelopeAuditEventResponse - public EnvelopeAuditEventResponse ListAuditEvents(string accountId, string envelopeId, EnvelopesApi.ListAuditEventsOptions options = null) + /// The ID of the template being accessed. + /// ScheduledSending + public ScheduledSending GetTemplateScheduledSendingDefinition(string accountId, string templateId) { - ApiResponse localVarResponse = ListAuditEventsWithHttpInfo(accountId, envelopeId, options); + ApiResponse localVarResponse = GetTemplateScheduledSendingDefinitionWithHttpInfo(accountId, templateId); return localVarResponse.Data; } /// - /// Gets the envelope audit events for an envelope. Gets the envelope audit events for the specified envelope. + /// Returns the scheduled sending rules for a template's workflow definition. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// The envelopeId Guid of the envelope being accessed. - /// Options for modifying the behavior of the function. - /// ApiResponse of EnvelopeAuditEventResponse - public ApiResponse ListAuditEventsWithHttpInfo(string accountId, string envelopeId, EnvelopesApi.ListAuditEventsOptions options = null) + /// The ID of the template being accessed. + /// ApiResponse of ScheduledSending + public ApiResponse GetTemplateScheduledSendingDefinitionWithHttpInfo(string accountId, string templateId) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->ListAuditEvents"); - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->ListAuditEvents"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetTemplateScheduledSendingDefinition"); + // verify the required parameter 'templateId' is set + if (templateId == null) + throw new ApiException(400, "Missing required parameter 'templateId' when calling EnvelopesApi->GetTemplateScheduledSendingDefinition"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/audit_events"; + var localVarPath = "/v2.1/accounts/{accountId}/templates/{templateId}/workflow/scheduledSending"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -22439,11 +22741,7 @@ public ApiResponse ListAuditEventsWithHttpInfo(strin // 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 (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter - if (options != null) - { - if (options.locale != null) localVarQueryParams.Add("locale", this.ApiClient.ParameterToString(options.locale)); // query parameter - } + if (templateId != null) localVarPathParams.Add("templateId", this.ApiClient.ParameterToString(templateId)); // path parameter // authentication (docusignAccessCode) required // oauth required @@ -22461,47 +22759,45 @@ public ApiResponse ListAuditEventsWithHttpInfo(strin if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("ListAuditEvents", localVarResponse); + Exception exception = ExceptionFactory("GetTemplateScheduledSendingDefinition", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (EnvelopeAuditEventResponse)this.ApiClient.Deserialize(localVarResponse, typeof(EnvelopeAuditEventResponse))); + (ScheduledSending)this.ApiClient.Deserialize(localVarResponse, typeof(ScheduledSending))); } /// - /// Gets the envelope audit events for an envelope. Gets the envelope audit events for the specified envelope. + /// Returns the scheduled sending rules for a template's workflow definition. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// The envelopeId Guid of the envelope being accessed. - /// Options for modifying the behavior of the function. - /// Task of EnvelopeAuditEventResponse - public async System.Threading.Tasks.Task ListAuditEventsAsync(string accountId, string envelopeId, EnvelopesApi.ListAuditEventsOptions options = null) + /// The ID of the template being accessed. + /// Task of ScheduledSending + public async System.Threading.Tasks.Task GetTemplateScheduledSendingDefinitionAsync(string accountId, string templateId) { - ApiResponse localVarResponse = await ListAuditEventsAsyncWithHttpInfo(accountId, envelopeId, options); + ApiResponse localVarResponse = await GetTemplateScheduledSendingDefinitionAsyncWithHttpInfo(accountId, templateId); return localVarResponse.Data; } /// - /// Gets the envelope audit events for an envelope. Gets the envelope audit events for the specified envelope. + /// Returns the scheduled sending rules for a template's workflow definition. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// The envelopeId Guid of the envelope being accessed. - /// Options for modifying the behavior of the function. - /// Task of ApiResponse (EnvelopeAuditEventResponse) - public async System.Threading.Tasks.Task> ListAuditEventsAsyncWithHttpInfo(string accountId, string envelopeId, EnvelopesApi.ListAuditEventsOptions options = null) + /// The ID of the template being accessed. + /// Task of ApiResponse (ScheduledSending) + public async System.Threading.Tasks.Task> GetTemplateScheduledSendingDefinitionAsyncWithHttpInfo(string accountId, string templateId) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->ListAuditEvents"); - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->ListAuditEvents"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetTemplateScheduledSendingDefinition"); + // verify the required parameter 'templateId' is set + if (templateId == null) + throw new ApiException(400, "Missing required parameter 'templateId' when calling EnvelopesApi->GetTemplateScheduledSendingDefinition"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/audit_events"; + var localVarPath = "/v2.1/accounts/{accountId}/templates/{templateId}/workflow/scheduledSending"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -22527,11 +22823,7 @@ public async System.Threading.Tasks.Task // 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 (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter - if (options != null) - { - if (options.locale != null) localVarQueryParams.Add("locale", this.ApiClient.ParameterToString(options.locale)); // query parameter - } + if (templateId != null) localVarPathParams.Add("templateId", this.ApiClient.ParameterToString(templateId)); // path parameter // authentication (docusignAccessCode) required // oauth required @@ -22549,46 +22841,46 @@ public async System.Threading.Tasks.Task if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("ListAuditEvents", localVarResponse); + Exception exception = ExceptionFactory("GetTemplateScheduledSendingDefinition", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (EnvelopeAuditEventResponse)this.ApiClient.Deserialize(localVarResponse, typeof(EnvelopeAuditEventResponse))); + (ScheduledSending)this.ApiClient.Deserialize(localVarResponse, typeof(ScheduledSending))); } /// - /// Gets the custom field information for the specified envelope. Retrieves the custom field information for the specified envelope. You can use these fields in the envelopes for your account to record information about the envelope, help search for envelopes, and track information. The envelope custom fields are shown in the Envelope Settings section when a user is creating an envelope in the DocuSign member console. The envelope custom fields are not seen by the envelope recipients. There are two types of envelope custom fields, text, and list. A text custom field lets the sender enter the value for the field. With a list custom field, the sender selects the value of the field from a pre-made list. + /// Returns the workflow definition for a template. Returns template's workflow definition if the template specified by `templateId` has one. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// The envelopeId Guid of the envelope being accessed. - /// CustomFieldsEnvelope - public CustomFieldsEnvelope ListCustomFields(string accountId, string envelopeId) - { - ApiResponse localVarResponse = ListCustomFieldsWithHttpInfo(accountId, envelopeId); + /// The ID of the template being accessed. + /// Workflow + public Workflow GetTemplateWorkflowDefinition(string accountId, string templateId) + { + ApiResponse localVarResponse = GetTemplateWorkflowDefinitionWithHttpInfo(accountId, templateId); return localVarResponse.Data; } /// - /// Gets the custom field information for the specified envelope. Retrieves the custom field information for the specified envelope. You can use these fields in the envelopes for your account to record information about the envelope, help search for envelopes, and track information. The envelope custom fields are shown in the Envelope Settings section when a user is creating an envelope in the DocuSign member console. The envelope custom fields are not seen by the envelope recipients. There are two types of envelope custom fields, text, and list. A text custom field lets the sender enter the value for the field. With a list custom field, the sender selects the value of the field from a pre-made list. + /// Returns the workflow definition for a template. Returns template's workflow definition if the template specified by `templateId` has one. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// The envelopeId Guid of the envelope being accessed. - /// ApiResponse of CustomFieldsEnvelope - public ApiResponse ListCustomFieldsWithHttpInfo(string accountId, string envelopeId) + /// The ID of the template being accessed. + /// ApiResponse of Workflow + public ApiResponse GetTemplateWorkflowDefinitionWithHttpInfo(string accountId, string templateId) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->ListCustomFields"); - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->ListCustomFields"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetTemplateWorkflowDefinition"); + // verify the required parameter 'templateId' is set + if (templateId == null) + throw new ApiException(400, "Missing required parameter 'templateId' when calling EnvelopesApi->GetTemplateWorkflowDefinition"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/custom_fields"; + var localVarPath = "/v2.1/accounts/{accountId}/templates/{templateId}/workflow"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -22614,7 +22906,7 @@ public ApiResponse ListCustomFieldsWithHttpInfo(string acc // 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 (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter + if (templateId != null) localVarPathParams.Add("templateId", this.ApiClient.ParameterToString(templateId)); // path parameter // authentication (docusignAccessCode) required // oauth required @@ -22632,45 +22924,45 @@ public ApiResponse ListCustomFieldsWithHttpInfo(string acc if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("ListCustomFields", localVarResponse); + Exception exception = ExceptionFactory("GetTemplateWorkflowDefinition", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (CustomFieldsEnvelope)this.ApiClient.Deserialize(localVarResponse, typeof(CustomFieldsEnvelope))); + (Workflow)this.ApiClient.Deserialize(localVarResponse, typeof(Workflow))); } /// - /// Gets the custom field information for the specified envelope. Retrieves the custom field information for the specified envelope. You can use these fields in the envelopes for your account to record information about the envelope, help search for envelopes, and track information. The envelope custom fields are shown in the Envelope Settings section when a user is creating an envelope in the DocuSign member console. The envelope custom fields are not seen by the envelope recipients. There are two types of envelope custom fields, text, and list. A text custom field lets the sender enter the value for the field. With a list custom field, the sender selects the value of the field from a pre-made list. + /// Returns the workflow definition for a template. Returns template's workflow definition if the template specified by `templateId` has one. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// The envelopeId Guid of the envelope being accessed. - /// Task of CustomFieldsEnvelope - public async System.Threading.Tasks.Task ListCustomFieldsAsync(string accountId, string envelopeId) + /// The ID of the template being accessed. + /// Task of Workflow + public async System.Threading.Tasks.Task GetTemplateWorkflowDefinitionAsync(string accountId, string templateId) { - ApiResponse localVarResponse = await ListCustomFieldsAsyncWithHttpInfo(accountId, envelopeId); + ApiResponse localVarResponse = await GetTemplateWorkflowDefinitionAsyncWithHttpInfo(accountId, templateId); return localVarResponse.Data; } /// - /// Gets the custom field information for the specified envelope. Retrieves the custom field information for the specified envelope. You can use these fields in the envelopes for your account to record information about the envelope, help search for envelopes, and track information. The envelope custom fields are shown in the Envelope Settings section when a user is creating an envelope in the DocuSign member console. The envelope custom fields are not seen by the envelope recipients. There are two types of envelope custom fields, text, and list. A text custom field lets the sender enter the value for the field. With a list custom field, the sender selects the value of the field from a pre-made list. + /// Returns the workflow definition for a template. Returns template's workflow definition if the template specified by `templateId` has one. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// The envelopeId Guid of the envelope being accessed. - /// Task of ApiResponse (CustomFieldsEnvelope) - public async System.Threading.Tasks.Task> ListCustomFieldsAsyncWithHttpInfo(string accountId, string envelopeId) + /// The ID of the template being accessed. + /// Task of ApiResponse (Workflow) + public async System.Threading.Tasks.Task> GetTemplateWorkflowDefinitionAsyncWithHttpInfo(string accountId, string templateId) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->ListCustomFields"); - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->ListCustomFields"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetTemplateWorkflowDefinition"); + // verify the required parameter 'templateId' is set + if (templateId == null) + throw new ApiException(400, "Missing required parameter 'templateId' when calling EnvelopesApi->GetTemplateWorkflowDefinition"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/custom_fields"; + var localVarPath = "/v2.1/accounts/{accountId}/templates/{templateId}/workflow"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -22696,7 +22988,7 @@ public async System.Threading.Tasks.Task> List // 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 (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter + if (templateId != null) localVarPathParams.Add("templateId", this.ApiClient.ParameterToString(templateId)); // path parameter // authentication (docusignAccessCode) required // oauth required @@ -22714,51 +23006,51 @@ public async System.Threading.Tasks.Task> List if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("ListCustomFields", localVarResponse); + Exception exception = ExceptionFactory("GetTemplateWorkflowDefinition", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (CustomFieldsEnvelope)this.ApiClient.Deserialize(localVarResponse, typeof(CustomFieldsEnvelope))); + (Workflow)this.ApiClient.Deserialize(localVarResponse, typeof(Workflow))); } /// - /// Gets the custom document fields from an existing envelope document. Retrieves the custom document field information from an existing envelope document. + /// Returns the workflow step definition for a template by step id. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// The envelopeId Guid of the envelope being accessed. - /// The ID of the document being accessed. - /// DocumentFieldsInformation - public DocumentFieldsInformation ListDocumentFields(string accountId, string envelopeId, string documentId) + /// The ID of the template being accessed. + /// + /// WorkflowStep + public WorkflowStep GetTemplateWorkflowStepDefinition(string accountId, string templateId, string workflowStepId) { - ApiResponse localVarResponse = ListDocumentFieldsWithHttpInfo(accountId, envelopeId, documentId); + ApiResponse localVarResponse = GetTemplateWorkflowStepDefinitionWithHttpInfo(accountId, templateId, workflowStepId); return localVarResponse.Data; } /// - /// Gets the custom document fields from an existing envelope document. Retrieves the custom document field information from an existing envelope document. + /// Returns the workflow step definition for a template by step id. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// The envelopeId Guid of the envelope being accessed. - /// The ID of the document being accessed. - /// ApiResponse of DocumentFieldsInformation - public ApiResponse ListDocumentFieldsWithHttpInfo(string accountId, string envelopeId, string documentId) + /// The ID of the template being accessed. + /// + /// ApiResponse of WorkflowStep + public ApiResponse GetTemplateWorkflowStepDefinitionWithHttpInfo(string accountId, string templateId, string workflowStepId) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->ListDocumentFields"); - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->ListDocumentFields"); - // verify the required parameter 'documentId' is set - if (documentId == null) - throw new ApiException(400, "Missing required parameter 'documentId' when calling EnvelopesApi->ListDocumentFields"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetTemplateWorkflowStepDefinition"); + // verify the required parameter 'templateId' is set + if (templateId == null) + throw new ApiException(400, "Missing required parameter 'templateId' when calling EnvelopesApi->GetTemplateWorkflowStepDefinition"); + // verify the required parameter 'workflowStepId' is set + if (workflowStepId == null) + throw new ApiException(400, "Missing required parameter 'workflowStepId' when calling EnvelopesApi->GetTemplateWorkflowStepDefinition"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/fields"; + var localVarPath = "/v2.1/accounts/{accountId}/templates/{templateId}/workflow/steps/{workflowStepId}"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -22784,8 +23076,8 @@ public ApiResponse ListDocumentFieldsWithHttpInfo(str // 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 (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter - if (documentId != null) localVarPathParams.Add("documentId", this.ApiClient.ParameterToString(documentId)); // path parameter + if (templateId != null) localVarPathParams.Add("templateId", this.ApiClient.ParameterToString(templateId)); // path parameter + if (workflowStepId != null) localVarPathParams.Add("workflowStepId", this.ApiClient.ParameterToString(workflowStepId)); // path parameter // authentication (docusignAccessCode) required // oauth required @@ -22803,50 +23095,50 @@ public ApiResponse ListDocumentFieldsWithHttpInfo(str if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("ListDocumentFields", localVarResponse); + Exception exception = ExceptionFactory("GetTemplateWorkflowStepDefinition", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (DocumentFieldsInformation)this.ApiClient.Deserialize(localVarResponse, typeof(DocumentFieldsInformation))); + (WorkflowStep)this.ApiClient.Deserialize(localVarResponse, typeof(WorkflowStep))); } /// - /// Gets the custom document fields from an existing envelope document. Retrieves the custom document field information from an existing envelope document. + /// Returns the workflow step definition for a template by step id. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// The envelopeId Guid of the envelope being accessed. - /// The ID of the document being accessed. - /// Task of DocumentFieldsInformation - public async System.Threading.Tasks.Task ListDocumentFieldsAsync(string accountId, string envelopeId, string documentId) + /// The ID of the template being accessed. + /// + /// Task of WorkflowStep + public async System.Threading.Tasks.Task GetTemplateWorkflowStepDefinitionAsync(string accountId, string templateId, string workflowStepId) { - ApiResponse localVarResponse = await ListDocumentFieldsAsyncWithHttpInfo(accountId, envelopeId, documentId); + ApiResponse localVarResponse = await GetTemplateWorkflowStepDefinitionAsyncWithHttpInfo(accountId, templateId, workflowStepId); return localVarResponse.Data; } /// - /// Gets the custom document fields from an existing envelope document. Retrieves the custom document field information from an existing envelope document. + /// Returns the workflow step definition for a template by step id. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// The envelopeId Guid of the envelope being accessed. - /// The ID of the document being accessed. - /// Task of ApiResponse (DocumentFieldsInformation) - public async System.Threading.Tasks.Task> ListDocumentFieldsAsyncWithHttpInfo(string accountId, string envelopeId, string documentId) + /// The ID of the template being accessed. + /// + /// Task of ApiResponse (WorkflowStep) + public async System.Threading.Tasks.Task> GetTemplateWorkflowStepDefinitionAsyncWithHttpInfo(string accountId, string templateId, string workflowStepId) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->ListDocumentFields"); - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->ListDocumentFields"); - // verify the required parameter 'documentId' is set - if (documentId == null) - throw new ApiException(400, "Missing required parameter 'documentId' when calling EnvelopesApi->ListDocumentFields"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->GetTemplateWorkflowStepDefinition"); + // verify the required parameter 'templateId' is set + if (templateId == null) + throw new ApiException(400, "Missing required parameter 'templateId' when calling EnvelopesApi->GetTemplateWorkflowStepDefinition"); + // verify the required parameter 'workflowStepId' is set + if (workflowStepId == null) + throw new ApiException(400, "Missing required parameter 'workflowStepId' when calling EnvelopesApi->GetTemplateWorkflowStepDefinition"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/fields"; + var localVarPath = "/v2.1/accounts/{accountId}/templates/{templateId}/workflow/steps/{workflowStepId}"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -22872,8 +23164,8 @@ public async System.Threading.Tasks.Task> // 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 (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter - if (documentId != null) localVarPathParams.Add("documentId", this.ApiClient.ParameterToString(documentId)); // path parameter + if (templateId != null) localVarPathParams.Add("templateId", this.ApiClient.ParameterToString(templateId)); // path parameter + if (workflowStepId != null) localVarPathParams.Add("workflowStepId", this.ApiClient.ParameterToString(workflowStepId)); // path parameter // authentication (docusignAccessCode) required // oauth required @@ -22891,72 +23183,56 @@ public async System.Threading.Tasks.Task> if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("ListDocumentFields", localVarResponse); + Exception exception = ExceptionFactory("GetTemplateWorkflowStepDefinition", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (DocumentFieldsInformation)this.ApiClient.Deserialize(localVarResponse, typeof(DocumentFieldsInformation))); + (WorkflowStep)this.ApiClient.Deserialize(localVarResponse, typeof(WorkflowStep))); } /// - /// Gets a list of envelope documents. Retrieves a list of documents associated with the specified envelope. + /// Gets the envelope audit events for an envelope. Gets the envelope audit events for the specified envelope. /// - public class ListDocumentsOptions + public class ListAuditEventsOptions { - /// - public string documentsByUserid {get; set;} - /// - public string includeAgreementType {get; set;} - /// - public string includeDocgenFormfields {get; set;} - /// - public string includeDocumentSize {get; set;} - /// - public string includeIsEdited {get; set;} - /// - public string includeMetadata {get; set;} - /// - public string includeTabs {get; set;} - /// - public string recipientId {get; set;} - /// - public string sharedUserId {get; set;} + /// Locale setting for the response, e.g., 'en-US'. + public string locale {get; set;} } /// - /// Gets a list of envelope documents. Retrieves a list of documents associated with the specified envelope. + /// Gets the envelope audit events for an envelope. Gets the envelope audit events for the specified envelope. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. /// Options for modifying the behavior of the function. - /// EnvelopeDocumentsResult - public EnvelopeDocumentsResult ListDocuments(string accountId, string envelopeId, EnvelopesApi.ListDocumentsOptions options = null) + /// EnvelopeAuditEventResponse + public EnvelopeAuditEventResponse ListAuditEvents(string accountId, string envelopeId, EnvelopesApi.ListAuditEventsOptions options = null) { - ApiResponse localVarResponse = ListDocumentsWithHttpInfo(accountId, envelopeId, options); + ApiResponse localVarResponse = ListAuditEventsWithHttpInfo(accountId, envelopeId, options); return localVarResponse.Data; } /// - /// Gets a list of envelope documents. Retrieves a list of documents associated with the specified envelope. + /// Gets the envelope audit events for an envelope. Gets the envelope audit events for the specified envelope. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. /// Options for modifying the behavior of the function. - /// ApiResponse of EnvelopeDocumentsResult - public ApiResponse ListDocumentsWithHttpInfo(string accountId, string envelopeId, EnvelopesApi.ListDocumentsOptions options = null) + /// ApiResponse of EnvelopeAuditEventResponse + public ApiResponse ListAuditEventsWithHttpInfo(string accountId, string envelopeId, EnvelopesApi.ListAuditEventsOptions options = null) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->ListDocuments"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->ListAuditEvents"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->ListDocuments"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->ListAuditEvents"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/documents"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/audit_events"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -22985,15 +23261,7 @@ public ApiResponse ListDocumentsWithHttpInfo(string acc if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter if (options != null) { - if (options.documentsByUserid != null) localVarQueryParams.Add("documents_by_userid", this.ApiClient.ParameterToString(options.documentsByUserid)); // query parameter - if (options.includeAgreementType != null) localVarQueryParams.Add("include_agreement_type", this.ApiClient.ParameterToString(options.includeAgreementType)); // query parameter - if (options.includeDocgenFormfields != null) localVarQueryParams.Add("include_docgen_formfields", this.ApiClient.ParameterToString(options.includeDocgenFormfields)); // query parameter - if (options.includeDocumentSize != null) localVarQueryParams.Add("include_document_size", this.ApiClient.ParameterToString(options.includeDocumentSize)); // query parameter - if (options.includeIsEdited != null) localVarQueryParams.Add("include_is_edited", this.ApiClient.ParameterToString(options.includeIsEdited)); // query parameter - if (options.includeMetadata != null) localVarQueryParams.Add("include_metadata", this.ApiClient.ParameterToString(options.includeMetadata)); // query parameter - if (options.includeTabs != null) localVarQueryParams.Add("include_tabs", this.ApiClient.ParameterToString(options.includeTabs)); // query parameter - if (options.recipientId != null) localVarQueryParams.Add("recipient_id", this.ApiClient.ParameterToString(options.recipientId)); // query parameter - if (options.sharedUserId != null) localVarQueryParams.Add("shared_user_id", this.ApiClient.ParameterToString(options.sharedUserId)); // query parameter + if (options.locale != null) localVarQueryParams.Add("locale", this.ApiClient.ParameterToString(options.locale)); // query parameter } // authentication (docusignAccessCode) required @@ -23012,47 +23280,47 @@ public ApiResponse ListDocumentsWithHttpInfo(string acc if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("ListDocuments", localVarResponse); + Exception exception = ExceptionFactory("ListAuditEvents", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (EnvelopeDocumentsResult)this.ApiClient.Deserialize(localVarResponse, typeof(EnvelopeDocumentsResult))); + (EnvelopeAuditEventResponse)this.ApiClient.Deserialize(localVarResponse, typeof(EnvelopeAuditEventResponse))); } /// - /// Gets a list of envelope documents. Retrieves a list of documents associated with the specified envelope. + /// Gets the envelope audit events for an envelope. Gets the envelope audit events for the specified envelope. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. /// Options for modifying the behavior of the function. - /// Task of EnvelopeDocumentsResult - public async System.Threading.Tasks.Task ListDocumentsAsync(string accountId, string envelopeId, EnvelopesApi.ListDocumentsOptions options = null) + /// Task of EnvelopeAuditEventResponse + public async System.Threading.Tasks.Task ListAuditEventsAsync(string accountId, string envelopeId, EnvelopesApi.ListAuditEventsOptions options = null) { - ApiResponse localVarResponse = await ListDocumentsAsyncWithHttpInfo(accountId, envelopeId, options); + ApiResponse localVarResponse = await ListAuditEventsAsyncWithHttpInfo(accountId, envelopeId, options); return localVarResponse.Data; } /// - /// Gets a list of envelope documents. Retrieves a list of documents associated with the specified envelope. + /// Gets the envelope audit events for an envelope. Gets the envelope audit events for the specified envelope. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. /// Options for modifying the behavior of the function. - /// Task of ApiResponse (EnvelopeDocumentsResult) - public async System.Threading.Tasks.Task> ListDocumentsAsyncWithHttpInfo(string accountId, string envelopeId, EnvelopesApi.ListDocumentsOptions options = null) + /// Task of ApiResponse (EnvelopeAuditEventResponse) + public async System.Threading.Tasks.Task> ListAuditEventsAsyncWithHttpInfo(string accountId, string envelopeId, EnvelopesApi.ListAuditEventsOptions options = null) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->ListDocuments"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->ListAuditEvents"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->ListDocuments"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->ListAuditEvents"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/documents"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/audit_events"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -23081,15 +23349,7 @@ public async System.Threading.Tasks.Task> L if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter if (options != null) { - if (options.documentsByUserid != null) localVarQueryParams.Add("documents_by_userid", this.ApiClient.ParameterToString(options.documentsByUserid)); // query parameter - if (options.includeAgreementType != null) localVarQueryParams.Add("include_agreement_type", this.ApiClient.ParameterToString(options.includeAgreementType)); // query parameter - if (options.includeDocgenFormfields != null) localVarQueryParams.Add("include_docgen_formfields", this.ApiClient.ParameterToString(options.includeDocgenFormfields)); // query parameter - if (options.includeDocumentSize != null) localVarQueryParams.Add("include_document_size", this.ApiClient.ParameterToString(options.includeDocumentSize)); // query parameter - if (options.includeIsEdited != null) localVarQueryParams.Add("include_is_edited", this.ApiClient.ParameterToString(options.includeIsEdited)); // query parameter - if (options.includeMetadata != null) localVarQueryParams.Add("include_metadata", this.ApiClient.ParameterToString(options.includeMetadata)); // query parameter - if (options.includeTabs != null) localVarQueryParams.Add("include_tabs", this.ApiClient.ParameterToString(options.includeTabs)); // query parameter - if (options.recipientId != null) localVarQueryParams.Add("recipient_id", this.ApiClient.ParameterToString(options.recipientId)); // query parameter - if (options.sharedUserId != null) localVarQueryParams.Add("shared_user_id", this.ApiClient.ParameterToString(options.sharedUserId)); // query parameter + if (options.locale != null) localVarQueryParams.Add("locale", this.ApiClient.ParameterToString(options.locale)); // query parameter } // authentication (docusignAccessCode) required @@ -23108,62 +23368,46 @@ public async System.Threading.Tasks.Task> L if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("ListDocuments", localVarResponse); + Exception exception = ExceptionFactory("ListAuditEvents", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (EnvelopeDocumentsResult)this.ApiClient.Deserialize(localVarResponse, typeof(EnvelopeDocumentsResult))); + (EnvelopeAuditEventResponse)this.ApiClient.Deserialize(localVarResponse, typeof(EnvelopeAuditEventResponse))); } - /// - /// Gets the status of recipients for an envelope. Retrieves the status of all recipients in a single envelope and identifies the current recipient in the routing list. The `currentRoutingOrder` property of the response contains the `routingOrder` value of the current recipient indicating that the envelope has been sent to the recipient, but the recipient has not completed their actions. - /// - public class ListRecipientsOptions - { - /// When set to **true** and `include_tabs` is set to **true**, all tabs with anchor tab properties are included in the response. - public string includeAnchorTabLocations {get; set;} - /// When set to **true**, the extended properties are included in the response. - public string includeExtended {get; set;} - /// - public string includeMetadata {get; set;} - /// When set to **true**, the tab information associated with the recipient is included in the response. - public string includeTabs {get; set;} - } /// - /// Gets the status of recipients for an envelope. Retrieves the status of all recipients in a single envelope and identifies the current recipient in the routing list. The `currentRoutingOrder` property of the response contains the `routingOrder` value of the current recipient indicating that the envelope has been sent to the recipient, but the recipient has not completed their actions. + /// Gets the custom field information for the specified envelope. Retrieves the custom field information for the specified envelope. You can use these fields in the envelopes for your account to record information about the envelope, help search for envelopes, and track information. The envelope custom fields are shown in the Envelope Settings section when a user is creating an envelope in the DocuSign member console. The envelope custom fields are not seen by the envelope recipients. There are two types of envelope custom fields, text, and list. A text custom field lets the sender enter the value for the field. With a list custom field, the sender selects the value of the field from a pre-made list. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// Options for modifying the behavior of the function. - /// Recipients - public Recipients ListRecipients(string accountId, string envelopeId, EnvelopesApi.ListRecipientsOptions options = null) + /// CustomFieldsEnvelope + public CustomFieldsEnvelope ListCustomFields(string accountId, string envelopeId) { - ApiResponse localVarResponse = ListRecipientsWithHttpInfo(accountId, envelopeId, options); + ApiResponse localVarResponse = ListCustomFieldsWithHttpInfo(accountId, envelopeId); return localVarResponse.Data; } /// - /// Gets the status of recipients for an envelope. Retrieves the status of all recipients in a single envelope and identifies the current recipient in the routing list. The `currentRoutingOrder` property of the response contains the `routingOrder` value of the current recipient indicating that the envelope has been sent to the recipient, but the recipient has not completed their actions. + /// Gets the custom field information for the specified envelope. Retrieves the custom field information for the specified envelope. You can use these fields in the envelopes for your account to record information about the envelope, help search for envelopes, and track information. The envelope custom fields are shown in the Envelope Settings section when a user is creating an envelope in the DocuSign member console. The envelope custom fields are not seen by the envelope recipients. There are two types of envelope custom fields, text, and list. A text custom field lets the sender enter the value for the field. With a list custom field, the sender selects the value of the field from a pre-made list. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// Options for modifying the behavior of the function. - /// ApiResponse of Recipients - public ApiResponse ListRecipientsWithHttpInfo(string accountId, string envelopeId, EnvelopesApi.ListRecipientsOptions options = null) + /// ApiResponse of CustomFieldsEnvelope + public ApiResponse ListCustomFieldsWithHttpInfo(string accountId, string envelopeId) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->ListRecipients"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->ListCustomFields"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->ListRecipients"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->ListCustomFields"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/recipients"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/custom_fields"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -23190,13 +23434,6 @@ public ApiResponse ListRecipientsWithHttpInfo(string accountId, stri localVarPathParams.Add("format", "json"); if (accountId != null) localVarPathParams.Add("accountId", this.ApiClient.ParameterToString(accountId)); // path parameter if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter - if (options != null) - { - if (options.includeAnchorTabLocations != null) localVarQueryParams.Add("include_anchor_tab_locations", this.ApiClient.ParameterToString(options.includeAnchorTabLocations)); // query parameter - if (options.includeExtended != null) localVarQueryParams.Add("include_extended", this.ApiClient.ParameterToString(options.includeExtended)); // query parameter - if (options.includeMetadata != null) localVarQueryParams.Add("include_metadata", this.ApiClient.ParameterToString(options.includeMetadata)); // query parameter - if (options.includeTabs != null) localVarQueryParams.Add("include_tabs", this.ApiClient.ParameterToString(options.includeTabs)); // query parameter - } // authentication (docusignAccessCode) required // oauth required @@ -23214,47 +23451,45 @@ public ApiResponse ListRecipientsWithHttpInfo(string accountId, stri if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("ListRecipients", localVarResponse); + Exception exception = ExceptionFactory("ListCustomFields", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (Recipients)this.ApiClient.Deserialize(localVarResponse, typeof(Recipients))); + (CustomFieldsEnvelope)this.ApiClient.Deserialize(localVarResponse, typeof(CustomFieldsEnvelope))); } /// - /// Gets the status of recipients for an envelope. Retrieves the status of all recipients in a single envelope and identifies the current recipient in the routing list. The `currentRoutingOrder` property of the response contains the `routingOrder` value of the current recipient indicating that the envelope has been sent to the recipient, but the recipient has not completed their actions. + /// Gets the custom field information for the specified envelope. Retrieves the custom field information for the specified envelope. You can use these fields in the envelopes for your account to record information about the envelope, help search for envelopes, and track information. The envelope custom fields are shown in the Envelope Settings section when a user is creating an envelope in the DocuSign member console. The envelope custom fields are not seen by the envelope recipients. There are two types of envelope custom fields, text, and list. A text custom field lets the sender enter the value for the field. With a list custom field, the sender selects the value of the field from a pre-made list. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// Options for modifying the behavior of the function. - /// Task of Recipients - public async System.Threading.Tasks.Task ListRecipientsAsync(string accountId, string envelopeId, EnvelopesApi.ListRecipientsOptions options = null) + /// Task of CustomFieldsEnvelope + public async System.Threading.Tasks.Task ListCustomFieldsAsync(string accountId, string envelopeId) { - ApiResponse localVarResponse = await ListRecipientsAsyncWithHttpInfo(accountId, envelopeId, options); + ApiResponse localVarResponse = await ListCustomFieldsAsyncWithHttpInfo(accountId, envelopeId); return localVarResponse.Data; } /// - /// Gets the status of recipients for an envelope. Retrieves the status of all recipients in a single envelope and identifies the current recipient in the routing list. The `currentRoutingOrder` property of the response contains the `routingOrder` value of the current recipient indicating that the envelope has been sent to the recipient, but the recipient has not completed their actions. + /// Gets the custom field information for the specified envelope. Retrieves the custom field information for the specified envelope. You can use these fields in the envelopes for your account to record information about the envelope, help search for envelopes, and track information. The envelope custom fields are shown in the Envelope Settings section when a user is creating an envelope in the DocuSign member console. The envelope custom fields are not seen by the envelope recipients. There are two types of envelope custom fields, text, and list. A text custom field lets the sender enter the value for the field. With a list custom field, the sender selects the value of the field from a pre-made list. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// Options for modifying the behavior of the function. - /// Task of ApiResponse (Recipients) - public async System.Threading.Tasks.Task> ListRecipientsAsyncWithHttpInfo(string accountId, string envelopeId, EnvelopesApi.ListRecipientsOptions options = null) + /// Task of ApiResponse (CustomFieldsEnvelope) + public async System.Threading.Tasks.Task> ListCustomFieldsAsyncWithHttpInfo(string accountId, string envelopeId) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->ListRecipients"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->ListCustomFields"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->ListRecipients"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->ListCustomFields"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/recipients"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/custom_fields"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -23281,13 +23516,6 @@ public async System.Threading.Tasks.Task> ListRecipients localVarPathParams.Add("format", "json"); if (accountId != null) localVarPathParams.Add("accountId", this.ApiClient.ParameterToString(accountId)); // path parameter if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter - if (options != null) - { - if (options.includeAnchorTabLocations != null) localVarQueryParams.Add("include_anchor_tab_locations", this.ApiClient.ParameterToString(options.includeAnchorTabLocations)); // query parameter - if (options.includeExtended != null) localVarQueryParams.Add("include_extended", this.ApiClient.ParameterToString(options.includeExtended)); // query parameter - if (options.includeMetadata != null) localVarQueryParams.Add("include_metadata", this.ApiClient.ParameterToString(options.includeMetadata)); // query parameter - if (options.includeTabs != null) localVarQueryParams.Add("include_tabs", this.ApiClient.ParameterToString(options.includeTabs)); // query parameter - } // authentication (docusignAccessCode) required // oauth required @@ -23305,75 +23533,51 @@ public async System.Threading.Tasks.Task> ListRecipients if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("ListRecipients", localVarResponse); + Exception exception = ExceptionFactory("ListCustomFields", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (Recipients)this.ApiClient.Deserialize(localVarResponse, typeof(Recipients))); + (CustomFieldsEnvelope)this.ApiClient.Deserialize(localVarResponse, typeof(CustomFieldsEnvelope))); } - /// - /// Gets the envelope status for the specified envelopes. Retrieves the envelope status for the specified envelopes. - /// - public class ListStatusOptions - { - /// - public string acStatus {get; set;} - /// - public string block {get; set;} - /// - public string count {get; set;} - /// - public string email {get; set;} - /// - public string envelopeIds {get; set;} - /// - public string fromDate {get; set;} - /// - public string fromToStatus {get; set;} - /// - public string startPosition {get; set;} - /// - public string status {get; set;} - /// - public string toDate {get; set;} - /// - public string transactionIds {get; set;} - /// - public string userName {get; set;} - } /// - /// Gets the envelope status for the specified envelopes. Retrieves the envelope status for the specified envelopes. + /// Gets the custom document fields from an existing envelope document. Retrieves the custom document field information from an existing envelope document. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// (optional) - /// Options for modifying the behavior of the function. - /// EnvelopesInformation - public EnvelopesInformation ListStatus(string accountId, EnvelopeIdsRequest envelopeIdsRequest = null, EnvelopesApi.ListStatusOptions options = null) + /// The envelopeId Guid of the envelope being accessed. + /// The ID of the document being accessed. + /// DocumentFieldsInformation + public DocumentFieldsInformation ListDocumentFields(string accountId, string envelopeId, string documentId) { - ApiResponse localVarResponse = ListStatusWithHttpInfo(accountId, envelopeIdsRequest, options); + ApiResponse localVarResponse = ListDocumentFieldsWithHttpInfo(accountId, envelopeId, documentId); return localVarResponse.Data; } /// - /// Gets the envelope status for the specified envelopes. Retrieves the envelope status for the specified envelopes. + /// Gets the custom document fields from an existing envelope document. Retrieves the custom document field information from an existing envelope document. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// (optional) - /// Options for modifying the behavior of the function. - /// ApiResponse of EnvelopesInformation - public ApiResponse ListStatusWithHttpInfo(string accountId, EnvelopeIdsRequest envelopeIdsRequest = null, EnvelopesApi.ListStatusOptions options = null) + /// The envelopeId Guid of the envelope being accessed. + /// The ID of the document being accessed. + /// ApiResponse of DocumentFieldsInformation + public ApiResponse ListDocumentFieldsWithHttpInfo(string accountId, string envelopeId, string documentId) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->ListStatus"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->ListDocumentFields"); + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->ListDocumentFields"); + // verify the required parameter 'documentId' is set + if (documentId == null) + throw new ApiException(400, "Missing required parameter 'documentId' when calling EnvelopesApi->ListDocumentFields"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/status"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/fields"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -23399,29 +23603,8 @@ public ApiResponse ListStatusWithHttpInfo(string accountId // 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 (options != null) - { - if (options.acStatus != null) localVarQueryParams.Add("ac_status", this.ApiClient.ParameterToString(options.acStatus)); // query parameter - if (options.block != null) localVarQueryParams.Add("block", this.ApiClient.ParameterToString(options.block)); // query parameter - if (options.count != null) localVarQueryParams.Add("count", this.ApiClient.ParameterToString(options.count)); // query parameter - if (options.email != null) localVarQueryParams.Add("email", this.ApiClient.ParameterToString(options.email)); // query parameter - if (options.envelopeIds != null) localVarQueryParams.Add("envelope_ids", this.ApiClient.ParameterToString(options.envelopeIds)); // query parameter - if (options.fromDate != null) localVarQueryParams.Add("from_date", this.ApiClient.ParameterToString(options.fromDate)); // query parameter - if (options.fromToStatus != null) localVarQueryParams.Add("from_to_status", this.ApiClient.ParameterToString(options.fromToStatus)); // query parameter - if (options.startPosition != null) localVarQueryParams.Add("start_position", this.ApiClient.ParameterToString(options.startPosition)); // query parameter - if (options.status != null) localVarQueryParams.Add("status", this.ApiClient.ParameterToString(options.status)); // query parameter - if (options.toDate != null) localVarQueryParams.Add("to_date", this.ApiClient.ParameterToString(options.toDate)); // query parameter - if (options.transactionIds != null) localVarQueryParams.Add("transaction_ids", this.ApiClient.ParameterToString(options.transactionIds)); // query parameter - if (options.userName != null) localVarQueryParams.Add("user_name", this.ApiClient.ParameterToString(options.userName)); // query parameter - } - if (envelopeIdsRequest != null && envelopeIdsRequest.GetType() != typeof(byte[])) - { - localVarPostBody = this.ApiClient.Serialize(envelopeIdsRequest); // http body (model) parameter - } - else - { - localVarPostBody = envelopeIdsRequest; // byte array - } + if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter + if (documentId != null) localVarPathParams.Add("documentId", this.ApiClient.ParameterToString(documentId)); // path parameter // authentication (docusignAccessCode) required // oauth required @@ -23432,51 +23615,57 @@ public ApiResponse ListStatusWithHttpInfo(string accountId // make the HTTP request - DocuSignRequest localVarRequest = this.ApiClient.PrepareRequest(localVarPath, new HttpMethod("PUT"), localVarQueryParams.ToList(), localVarPostBody, localVarHeaderParams.ToList(), localVarFormParams.ToList(), localVarPathParams.ToList(), localVarFileParams, localVarHttpContentType, localVarHttpContentDisposition); + DocuSignRequest localVarRequest = this.ApiClient.PrepareRequest(localVarPath, new HttpMethod("GET"), localVarQueryParams.ToList(), localVarPostBody, localVarHeaderParams.ToList(), localVarFormParams.ToList(), localVarPathParams.ToList(), localVarFileParams, localVarHttpContentType, localVarHttpContentDisposition); DocuSignResponse localVarResponse = this.ApiClient.CallApi(localVarRequest); int localVarStatusCode = (int)localVarResponse.StatusCode; if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("ListStatus", localVarResponse); + Exception exception = ExceptionFactory("ListDocumentFields", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (EnvelopesInformation)this.ApiClient.Deserialize(localVarResponse, typeof(EnvelopesInformation))); + (DocumentFieldsInformation)this.ApiClient.Deserialize(localVarResponse, typeof(DocumentFieldsInformation))); } /// - /// Gets the envelope status for the specified envelopes. Retrieves the envelope status for the specified envelopes. + /// Gets the custom document fields from an existing envelope document. Retrieves the custom document field information from an existing envelope document. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// (optional) - /// Options for modifying the behavior of the function. - /// Task of EnvelopesInformation - public async System.Threading.Tasks.Task ListStatusAsync(string accountId, EnvelopeIdsRequest envelopeIdsRequest = null, EnvelopesApi.ListStatusOptions options = null) + /// The envelopeId Guid of the envelope being accessed. + /// The ID of the document being accessed. + /// Task of DocumentFieldsInformation + public async System.Threading.Tasks.Task ListDocumentFieldsAsync(string accountId, string envelopeId, string documentId) { - ApiResponse localVarResponse = await ListStatusAsyncWithHttpInfo(accountId, envelopeIdsRequest, options); + ApiResponse localVarResponse = await ListDocumentFieldsAsyncWithHttpInfo(accountId, envelopeId, documentId); return localVarResponse.Data; } /// - /// Gets the envelope status for the specified envelopes. Retrieves the envelope status for the specified envelopes. + /// Gets the custom document fields from an existing envelope document. Retrieves the custom document field information from an existing envelope document. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// (optional) - /// Options for modifying the behavior of the function. - /// Task of ApiResponse (EnvelopesInformation) - public async System.Threading.Tasks.Task> ListStatusAsyncWithHttpInfo(string accountId, EnvelopeIdsRequest envelopeIdsRequest = null, EnvelopesApi.ListStatusOptions options = null) + /// The envelopeId Guid of the envelope being accessed. + /// The ID of the document being accessed. + /// Task of ApiResponse (DocumentFieldsInformation) + public async System.Threading.Tasks.Task> ListDocumentFieldsAsyncWithHttpInfo(string accountId, string envelopeId, string documentId) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->ListStatus"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->ListDocumentFields"); + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->ListDocumentFields"); + // verify the required parameter 'documentId' is set + if (documentId == null) + throw new ApiException(400, "Missing required parameter 'documentId' when calling EnvelopesApi->ListDocumentFields"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/status"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/fields"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -23502,29 +23691,8 @@ public async System.Threading.Tasks.Task> List // 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 (options != null) - { - if (options.acStatus != null) localVarQueryParams.Add("ac_status", this.ApiClient.ParameterToString(options.acStatus)); // query parameter - if (options.block != null) localVarQueryParams.Add("block", this.ApiClient.ParameterToString(options.block)); // query parameter - if (options.count != null) localVarQueryParams.Add("count", this.ApiClient.ParameterToString(options.count)); // query parameter - if (options.email != null) localVarQueryParams.Add("email", this.ApiClient.ParameterToString(options.email)); // query parameter - if (options.envelopeIds != null) localVarQueryParams.Add("envelope_ids", this.ApiClient.ParameterToString(options.envelopeIds)); // query parameter - if (options.fromDate != null) localVarQueryParams.Add("from_date", this.ApiClient.ParameterToString(options.fromDate)); // query parameter - if (options.fromToStatus != null) localVarQueryParams.Add("from_to_status", this.ApiClient.ParameterToString(options.fromToStatus)); // query parameter - if (options.startPosition != null) localVarQueryParams.Add("start_position", this.ApiClient.ParameterToString(options.startPosition)); // query parameter - if (options.status != null) localVarQueryParams.Add("status", this.ApiClient.ParameterToString(options.status)); // query parameter - if (options.toDate != null) localVarQueryParams.Add("to_date", this.ApiClient.ParameterToString(options.toDate)); // query parameter - if (options.transactionIds != null) localVarQueryParams.Add("transaction_ids", this.ApiClient.ParameterToString(options.transactionIds)); // query parameter - if (options.userName != null) localVarQueryParams.Add("user_name", this.ApiClient.ParameterToString(options.userName)); // query parameter - } - if (envelopeIdsRequest != null && envelopeIdsRequest.GetType() != typeof(byte[])) - { - localVarPostBody = this.ApiClient.Serialize(envelopeIdsRequest); // http body (model) parameter - } - else - { - localVarPostBody = envelopeIdsRequest; // byte array - } + if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter + if (documentId != null) localVarPathParams.Add("documentId", this.ApiClient.ParameterToString(documentId)); // path parameter // authentication (docusignAccessCode) required // oauth required @@ -23535,118 +23703,79 @@ public async System.Threading.Tasks.Task> List // make the HTTP request - DocuSignRequest localVarRequest = this.ApiClient.PrepareRequest(localVarPath, new HttpMethod("PUT"), localVarQueryParams.ToList(), localVarPostBody, localVarHeaderParams.ToList(), localVarFormParams.ToList(), localVarPathParams.ToList(), localVarFileParams, localVarHttpContentType, localVarHttpContentDisposition); + DocuSignRequest localVarRequest = this.ApiClient.PrepareRequest(localVarPath, new HttpMethod("GET"), 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("ListStatus", localVarResponse); + Exception exception = ExceptionFactory("ListDocumentFields", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (EnvelopesInformation)this.ApiClient.Deserialize(localVarResponse, typeof(EnvelopesInformation))); + (DocumentFieldsInformation)this.ApiClient.Deserialize(localVarResponse, typeof(DocumentFieldsInformation))); } /// - /// Gets status changes for one or more envelopes. Retrieves envelope status changes for all envelopes. You can modify the information returned by adding query strings to limit the request to check between certain dates and times, or for certain envelopes, or for certain status codes. It is recommended that you use one or more of the query strings in order to limit the size of the response. ### Important: Unless you are requesting the status for specific envelopes (using the `envelopeIds` or `transactionIds` properties), you must add a set the `from_date` property in the request. Getting envelope status using `transactionIds` is useful for offline signing situations where it can be used determine if an envelope was created or not, for the cases where a network connection was lost, before the envelope status could be returned. ### Request Envelope Status Notes ### The REST API GET /envelopes call uses certain filters to find results. In some cases requests are check for \"any status change\" instead of the just the single status requested. In these cases, more envelopes might be returned by the request than otherwise would be. For example, for a request with the begin date is set to Jan 1st, an end date set to Jan 7th and the status qualifier (`from_to_status`) set to `Delivered` — the response set might contain envelopes that were created during that time period, but not delivered during the time period. To avoid unnecessary database queries, the DocuSign system checks requests to ensure that the added filters will not result in a zero-size response before acting on the request. The following table shows the valid envelope statuses (in the Valid Current Statuses column) for the status qualifiers in the request. If the status and status qualifiers in the API request do not contain any of the values shown in the valid current statuses column, then an empty list is returned. For example, a request with a status qualifier (from_to_status) of `Delivered` and a status of \"`Created`,`Sent`\", DocuSign will always return an empty list. This is because the request essentially translates to: find the envelopes that were delivered between the begin and end dates that have a current status of `Created` or `Sent`, and since an envelope that has been delivered can never have a status of `Created` or `Sent`, a zero-size response would be generated. In this case, DocuSign does not run the request, but just returns the empty list. Client applications should check that the statuses they are requesting make sense for a given status qualifier. + /// Gets a list of envelope documents. Retrieves a list of documents associated with the specified envelope. /// - public class ListStatusChangesOptions + public class ListDocumentsOptions { - /// Specifies the Authoritative Copy Status for the envelopes. The possible values are: Unknown, Original, Transferred, AuthoritativeCopy, AuthoritativeCopyExportPending, AuthoritativeCopyExported, DepositPending, Deposited, DepositedEO, or DepositFailed. - public string acStatus {get; set;} /// - public string block {get; set;} + public string documentsByUserid {get; set;} /// - public string cdseMode {get; set;} - /// - public string continuationToken {get; set;} - /// - public string count {get; set;} - /// This specifies the envelope custom field name and value searched for in the envelope information. The value portion of the query can use partial strings by adding '%' (percent sign) around the custom field query value. Example 1: If you have an envelope custom field called \"Region\" and you want to search for all envelopes where the value is \"West\" you would use the query: `?custom_field=Region=West`. Example 2: To search for envelopes where the `ApplicationID` custom field has the value or partial value of \"DocuSign\" in field, the query would be: `?custom_field=ApplicationId=%DocuSign%` This would find envelopes where the custom field value is \"DocuSign for Salesforce\" or \"DocuSign envelope.\" - public string customField {get; set;} - /// - public string email {get; set;} - /// - public string envelopeIds {get; set;} - /// - public string exclude {get; set;} - /// - public string folderIds {get; set;} - /// - public string folderTypes {get; set;} - /// The date/time setting that specifies the date/time when the request begins checking for status changes for envelopes in the account. This is required unless 'envelopeId's are used. - public string fromDate {get; set;} - /// This is the status type checked for in the `from_date`/`to_date` period. If `changed` is specified, then envelopes that changed status during the period are found. If for example, `created` is specified, then envelopes created during the period are found. Default is `changed`. Possible values are: Voided, Changed, Created, Deleted, Sent, Delivered, Signed, Completed, Declined, TimedOut and Processing. - public string fromToStatus {get; set;} - /// - public string include {get; set;} - /// - public string includePurgeInformation {get; set;} - /// - public string intersectingFolderIds {get; set;} - /// - public string lastQueriedDate {get; set;} - /// - public string order {get; set;} - /// - public string orderBy {get; set;} - /// - public string powerformids {get; set;} - /// - public string queryBudget {get; set;} + public string includeAgreementType {get; set;} /// - public string requesterDateFormat {get; set;} + public string includeDocgenFormfields {get; set;} /// - public string searchMode {get; set;} + public string includeDocumentSize {get; set;} /// - public string searchText {get; set;} + public string includeIsEdited {get; set;} /// - public string startPosition {get; set;} - /// The list of current statuses to include in the response. By default, all envelopes found are returned. If values are specified, then of the envelopes found, only those with the current status specified are returned in the results. Possible values are: Voided, Created, Deleted, Sent, Delivered, Signed, Completed, Declined, TimedOut and Processing. - public string status {get; set;} - /// Optional date/time setting that specifies the date/time when the request stops for status changes for envelopes in the account. If no entry, the system uses the time of the call as the `to_date`. - public string toDate {get; set;} - /// If included in the query string, this is a comma separated list of envelope `transactionId`s. If included in the `request_body`, this is a list of envelope `transactionId`s. ###### Note: `transactionId`s are only valid in the DocuSign system for seven days. - public string transactionIds {get; set;} + public string includeMetadata {get; set;} /// - public string userFilter {get; set;} + public string includeTabs {get; set;} /// - public string userId {get; set;} + public string recipientId {get; set;} /// - public string userName {get; set;} + public string sharedUserId {get; set;} } /// - /// Gets status changes for one or more envelopes. Retrieves envelope status changes for all envelopes. You can modify the information returned by adding query strings to limit the request to check between certain dates and times, or for certain envelopes, or for certain status codes. It is recommended that you use one or more of the query strings in order to limit the size of the response. ### Important: Unless you are requesting the status for specific envelopes (using the `envelopeIds` or `transactionIds` properties), you must add a set the `from_date` property in the request. Getting envelope status using `transactionIds` is useful for offline signing situations where it can be used determine if an envelope was created or not, for the cases where a network connection was lost, before the envelope status could be returned. ### Request Envelope Status Notes ### The REST API GET /envelopes call uses certain filters to find results. In some cases requests are check for \"any status change\" instead of the just the single status requested. In these cases, more envelopes might be returned by the request than otherwise would be. For example, for a request with the begin date is set to Jan 1st, an end date set to Jan 7th and the status qualifier (`from_to_status`) set to `Delivered` — the response set might contain envelopes that were created during that time period, but not delivered during the time period. To avoid unnecessary database queries, the DocuSign system checks requests to ensure that the added filters will not result in a zero-size response before acting on the request. The following table shows the valid envelope statuses (in the Valid Current Statuses column) for the status qualifiers in the request. If the status and status qualifiers in the API request do not contain any of the values shown in the valid current statuses column, then an empty list is returned. For example, a request with a status qualifier (from_to_status) of `Delivered` and a status of \"`Created`,`Sent`\", DocuSign will always return an empty list. This is because the request essentially translates to: find the envelopes that were delivered between the begin and end dates that have a current status of `Created` or `Sent`, and since an envelope that has been delivered can never have a status of `Created` or `Sent`, a zero-size response would be generated. In this case, DocuSign does not run the request, but just returns the empty list. Client applications should check that the statuses they are requesting make sense for a given status qualifier. + /// Gets a list of envelope documents. Retrieves a list of documents associated with the specified envelope. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. + /// The envelopeId Guid of the envelope being accessed. /// Options for modifying the behavior of the function. - /// EnvelopesInformation - public EnvelopesInformation ListStatusChanges(string accountId, EnvelopesApi.ListStatusChangesOptions options = null) + /// EnvelopeDocumentsResult + public EnvelopeDocumentsResult ListDocuments(string accountId, string envelopeId, EnvelopesApi.ListDocumentsOptions options = null) { - ApiResponse localVarResponse = ListStatusChangesWithHttpInfo(accountId, options); + ApiResponse localVarResponse = ListDocumentsWithHttpInfo(accountId, envelopeId, options); return localVarResponse.Data; } /// - /// Gets status changes for one or more envelopes. Retrieves envelope status changes for all envelopes. You can modify the information returned by adding query strings to limit the request to check between certain dates and times, or for certain envelopes, or for certain status codes. It is recommended that you use one or more of the query strings in order to limit the size of the response. ### Important: Unless you are requesting the status for specific envelopes (using the `envelopeIds` or `transactionIds` properties), you must add a set the `from_date` property in the request. Getting envelope status using `transactionIds` is useful for offline signing situations where it can be used determine if an envelope was created or not, for the cases where a network connection was lost, before the envelope status could be returned. ### Request Envelope Status Notes ### The REST API GET /envelopes call uses certain filters to find results. In some cases requests are check for \"any status change\" instead of the just the single status requested. In these cases, more envelopes might be returned by the request than otherwise would be. For example, for a request with the begin date is set to Jan 1st, an end date set to Jan 7th and the status qualifier (`from_to_status`) set to `Delivered` — the response set might contain envelopes that were created during that time period, but not delivered during the time period. To avoid unnecessary database queries, the DocuSign system checks requests to ensure that the added filters will not result in a zero-size response before acting on the request. The following table shows the valid envelope statuses (in the Valid Current Statuses column) for the status qualifiers in the request. If the status and status qualifiers in the API request do not contain any of the values shown in the valid current statuses column, then an empty list is returned. For example, a request with a status qualifier (from_to_status) of `Delivered` and a status of \"`Created`,`Sent`\", DocuSign will always return an empty list. This is because the request essentially translates to: find the envelopes that were delivered between the begin and end dates that have a current status of `Created` or `Sent`, and since an envelope that has been delivered can never have a status of `Created` or `Sent`, a zero-size response would be generated. In this case, DocuSign does not run the request, but just returns the empty list. Client applications should check that the statuses they are requesting make sense for a given status qualifier. + /// Gets a list of envelope documents. Retrieves a list of documents associated with the specified envelope. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. + /// The envelopeId Guid of the envelope being accessed. /// Options for modifying the behavior of the function. - /// ApiResponse of EnvelopesInformation - public ApiResponse ListStatusChangesWithHttpInfo(string accountId, EnvelopesApi.ListStatusChangesOptions options = null) + /// ApiResponse of EnvelopeDocumentsResult + public ApiResponse ListDocumentsWithHttpInfo(string accountId, string envelopeId, EnvelopesApi.ListDocumentsOptions options = null) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->ListStatusChanges"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->ListDocuments"); + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->ListDocuments"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/documents"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -23672,39 +23801,18 @@ public ApiResponse ListStatusChangesWithHttpInfo(string ac // 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 (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter if (options != null) { - if (options.acStatus != null) localVarQueryParams.Add("ac_status", this.ApiClient.ParameterToString(options.acStatus)); // query parameter - if (options.block != null) localVarQueryParams.Add("block", this.ApiClient.ParameterToString(options.block)); // query parameter - if (options.cdseMode != null) localVarQueryParams.Add("cdse_mode", this.ApiClient.ParameterToString(options.cdseMode)); // query parameter - if (options.continuationToken != null) localVarQueryParams.Add("continuation_token", this.ApiClient.ParameterToString(options.continuationToken)); // query parameter - if (options.count != null) localVarQueryParams.Add("count", this.ApiClient.ParameterToString(options.count)); // query parameter - if (options.customField != null) localVarQueryParams.Add("custom_field", this.ApiClient.ParameterToString(options.customField)); // query parameter - if (options.email != null) localVarQueryParams.Add("email", this.ApiClient.ParameterToString(options.email)); // query parameter - if (options.envelopeIds != null) localVarQueryParams.Add("envelope_ids", this.ApiClient.ParameterToString(options.envelopeIds)); // query parameter - if (options.exclude != null) localVarQueryParams.Add("exclude", this.ApiClient.ParameterToString(options.exclude)); // query parameter - if (options.folderIds != null) localVarQueryParams.Add("folder_ids", this.ApiClient.ParameterToString(options.folderIds)); // query parameter - if (options.folderTypes != null) localVarQueryParams.Add("folder_types", this.ApiClient.ParameterToString(options.folderTypes)); // query parameter - if (options.fromDate != null) localVarQueryParams.Add("from_date", this.ApiClient.ParameterToString(options.fromDate)); // query parameter - if (options.fromToStatus != null) localVarQueryParams.Add("from_to_status", this.ApiClient.ParameterToString(options.fromToStatus)); // query parameter - if (options.include != null) localVarQueryParams.Add("include", this.ApiClient.ParameterToString(options.include)); // query parameter - if (options.includePurgeInformation != null) localVarQueryParams.Add("include_purge_information", this.ApiClient.ParameterToString(options.includePurgeInformation)); // query parameter - if (options.intersectingFolderIds != null) localVarQueryParams.Add("intersecting_folder_ids", this.ApiClient.ParameterToString(options.intersectingFolderIds)); // query parameter - if (options.lastQueriedDate != null) localVarQueryParams.Add("last_queried_date", this.ApiClient.ParameterToString(options.lastQueriedDate)); // query parameter - if (options.order != null) localVarQueryParams.Add("order", this.ApiClient.ParameterToString(options.order)); // query parameter - if (options.orderBy != null) localVarQueryParams.Add("order_by", this.ApiClient.ParameterToString(options.orderBy)); // query parameter - if (options.powerformids != null) localVarQueryParams.Add("powerformids", this.ApiClient.ParameterToString(options.powerformids)); // query parameter - if (options.queryBudget != null) localVarQueryParams.Add("query_budget", this.ApiClient.ParameterToString(options.queryBudget)); // query parameter - if (options.requesterDateFormat != null) localVarQueryParams.Add("requester_date_format", this.ApiClient.ParameterToString(options.requesterDateFormat)); // query parameter - if (options.searchMode != null) localVarQueryParams.Add("search_mode", this.ApiClient.ParameterToString(options.searchMode)); // query parameter - if (options.searchText != null) localVarQueryParams.Add("search_text", this.ApiClient.ParameterToString(options.searchText)); // query parameter - if (options.startPosition != null) localVarQueryParams.Add("start_position", this.ApiClient.ParameterToString(options.startPosition)); // query parameter - if (options.status != null) localVarQueryParams.Add("status", this.ApiClient.ParameterToString(options.status)); // query parameter - if (options.toDate != null) localVarQueryParams.Add("to_date", this.ApiClient.ParameterToString(options.toDate)); // query parameter - if (options.transactionIds != null) localVarQueryParams.Add("transaction_ids", this.ApiClient.ParameterToString(options.transactionIds)); // query parameter - if (options.userFilter != null) localVarQueryParams.Add("user_filter", this.ApiClient.ParameterToString(options.userFilter)); // query parameter - if (options.userId != null) localVarQueryParams.Add("user_id", this.ApiClient.ParameterToString(options.userId)); // query parameter - if (options.userName != null) localVarQueryParams.Add("user_name", this.ApiClient.ParameterToString(options.userName)); // query parameter + if (options.documentsByUserid != null) localVarQueryParams.Add("documents_by_userid", this.ApiClient.ParameterToString(options.documentsByUserid)); // query parameter + if (options.includeAgreementType != null) localVarQueryParams.Add("include_agreement_type", this.ApiClient.ParameterToString(options.includeAgreementType)); // query parameter + if (options.includeDocgenFormfields != null) localVarQueryParams.Add("include_docgen_formfields", this.ApiClient.ParameterToString(options.includeDocgenFormfields)); // query parameter + if (options.includeDocumentSize != null) localVarQueryParams.Add("include_document_size", this.ApiClient.ParameterToString(options.includeDocumentSize)); // query parameter + if (options.includeIsEdited != null) localVarQueryParams.Add("include_is_edited", this.ApiClient.ParameterToString(options.includeIsEdited)); // query parameter + if (options.includeMetadata != null) localVarQueryParams.Add("include_metadata", this.ApiClient.ParameterToString(options.includeMetadata)); // query parameter + if (options.includeTabs != null) localVarQueryParams.Add("include_tabs", this.ApiClient.ParameterToString(options.includeTabs)); // query parameter + if (options.recipientId != null) localVarQueryParams.Add("recipient_id", this.ApiClient.ParameterToString(options.recipientId)); // query parameter + if (options.sharedUserId != null) localVarQueryParams.Add("shared_user_id", this.ApiClient.ParameterToString(options.sharedUserId)); // query parameter } // authentication (docusignAccessCode) required @@ -23723,42 +23831,47 @@ public ApiResponse ListStatusChangesWithHttpInfo(string ac if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("ListStatusChanges", localVarResponse); + Exception exception = ExceptionFactory("ListDocuments", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (EnvelopesInformation)this.ApiClient.Deserialize(localVarResponse, typeof(EnvelopesInformation))); + (EnvelopeDocumentsResult)this.ApiClient.Deserialize(localVarResponse, typeof(EnvelopeDocumentsResult))); } /// - /// Gets status changes for one or more envelopes. Retrieves envelope status changes for all envelopes. You can modify the information returned by adding query strings to limit the request to check between certain dates and times, or for certain envelopes, or for certain status codes. It is recommended that you use one or more of the query strings in order to limit the size of the response. ### Important: Unless you are requesting the status for specific envelopes (using the `envelopeIds` or `transactionIds` properties), you must add a set the `from_date` property in the request. Getting envelope status using `transactionIds` is useful for offline signing situations where it can be used determine if an envelope was created or not, for the cases where a network connection was lost, before the envelope status could be returned. ### Request Envelope Status Notes ### The REST API GET /envelopes call uses certain filters to find results. In some cases requests are check for \"any status change\" instead of the just the single status requested. In these cases, more envelopes might be returned by the request than otherwise would be. For example, for a request with the begin date is set to Jan 1st, an end date set to Jan 7th and the status qualifier (`from_to_status`) set to `Delivered` — the response set might contain envelopes that were created during that time period, but not delivered during the time period. To avoid unnecessary database queries, the DocuSign system checks requests to ensure that the added filters will not result in a zero-size response before acting on the request. The following table shows the valid envelope statuses (in the Valid Current Statuses column) for the status qualifiers in the request. If the status and status qualifiers in the API request do not contain any of the values shown in the valid current statuses column, then an empty list is returned. For example, a request with a status qualifier (from_to_status) of `Delivered` and a status of \"`Created`,`Sent`\", DocuSign will always return an empty list. This is because the request essentially translates to: find the envelopes that were delivered between the begin and end dates that have a current status of `Created` or `Sent`, and since an envelope that has been delivered can never have a status of `Created` or `Sent`, a zero-size response would be generated. In this case, DocuSign does not run the request, but just returns the empty list. Client applications should check that the statuses they are requesting make sense for a given status qualifier. + /// Gets a list of envelope documents. Retrieves a list of documents associated with the specified envelope. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. + /// The envelopeId Guid of the envelope being accessed. /// Options for modifying the behavior of the function. - /// Task of EnvelopesInformation - public async System.Threading.Tasks.Task ListStatusChangesAsync(string accountId, EnvelopesApi.ListStatusChangesOptions options = null) + /// Task of EnvelopeDocumentsResult + public async System.Threading.Tasks.Task ListDocumentsAsync(string accountId, string envelopeId, EnvelopesApi.ListDocumentsOptions options = null) { - ApiResponse localVarResponse = await ListStatusChangesAsyncWithHttpInfo(accountId, options); + ApiResponse localVarResponse = await ListDocumentsAsyncWithHttpInfo(accountId, envelopeId, options); return localVarResponse.Data; } /// - /// Gets status changes for one or more envelopes. Retrieves envelope status changes for all envelopes. You can modify the information returned by adding query strings to limit the request to check between certain dates and times, or for certain envelopes, or for certain status codes. It is recommended that you use one or more of the query strings in order to limit the size of the response. ### Important: Unless you are requesting the status for specific envelopes (using the `envelopeIds` or `transactionIds` properties), you must add a set the `from_date` property in the request. Getting envelope status using `transactionIds` is useful for offline signing situations where it can be used determine if an envelope was created or not, for the cases where a network connection was lost, before the envelope status could be returned. ### Request Envelope Status Notes ### The REST API GET /envelopes call uses certain filters to find results. In some cases requests are check for \"any status change\" instead of the just the single status requested. In these cases, more envelopes might be returned by the request than otherwise would be. For example, for a request with the begin date is set to Jan 1st, an end date set to Jan 7th and the status qualifier (`from_to_status`) set to `Delivered` — the response set might contain envelopes that were created during that time period, but not delivered during the time period. To avoid unnecessary database queries, the DocuSign system checks requests to ensure that the added filters will not result in a zero-size response before acting on the request. The following table shows the valid envelope statuses (in the Valid Current Statuses column) for the status qualifiers in the request. If the status and status qualifiers in the API request do not contain any of the values shown in the valid current statuses column, then an empty list is returned. For example, a request with a status qualifier (from_to_status) of `Delivered` and a status of \"`Created`,`Sent`\", DocuSign will always return an empty list. This is because the request essentially translates to: find the envelopes that were delivered between the begin and end dates that have a current status of `Created` or `Sent`, and since an envelope that has been delivered can never have a status of `Created` or `Sent`, a zero-size response would be generated. In this case, DocuSign does not run the request, but just returns the empty list. Client applications should check that the statuses they are requesting make sense for a given status qualifier. + /// Gets a list of envelope documents. Retrieves a list of documents associated with the specified envelope. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. + /// The envelopeId Guid of the envelope being accessed. /// Options for modifying the behavior of the function. - /// Task of ApiResponse (EnvelopesInformation) - public async System.Threading.Tasks.Task> ListStatusChangesAsyncWithHttpInfo(string accountId, EnvelopesApi.ListStatusChangesOptions options = null) + /// Task of ApiResponse (EnvelopeDocumentsResult) + public async System.Threading.Tasks.Task> ListDocumentsAsyncWithHttpInfo(string accountId, string envelopeId, EnvelopesApi.ListDocumentsOptions options = null) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->ListStatusChanges"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->ListDocuments"); + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->ListDocuments"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/documents"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -23784,39 +23897,18 @@ public async System.Threading.Tasks.Task> List // 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 (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter if (options != null) { - if (options.acStatus != null) localVarQueryParams.Add("ac_status", this.ApiClient.ParameterToString(options.acStatus)); // query parameter - if (options.block != null) localVarQueryParams.Add("block", this.ApiClient.ParameterToString(options.block)); // query parameter - if (options.cdseMode != null) localVarQueryParams.Add("cdse_mode", this.ApiClient.ParameterToString(options.cdseMode)); // query parameter - if (options.continuationToken != null) localVarQueryParams.Add("continuation_token", this.ApiClient.ParameterToString(options.continuationToken)); // query parameter - if (options.count != null) localVarQueryParams.Add("count", this.ApiClient.ParameterToString(options.count)); // query parameter - if (options.customField != null) localVarQueryParams.Add("custom_field", this.ApiClient.ParameterToString(options.customField)); // query parameter - if (options.email != null) localVarQueryParams.Add("email", this.ApiClient.ParameterToString(options.email)); // query parameter - if (options.envelopeIds != null) localVarQueryParams.Add("envelope_ids", this.ApiClient.ParameterToString(options.envelopeIds)); // query parameter - if (options.exclude != null) localVarQueryParams.Add("exclude", this.ApiClient.ParameterToString(options.exclude)); // query parameter - if (options.folderIds != null) localVarQueryParams.Add("folder_ids", this.ApiClient.ParameterToString(options.folderIds)); // query parameter - if (options.folderTypes != null) localVarQueryParams.Add("folder_types", this.ApiClient.ParameterToString(options.folderTypes)); // query parameter - if (options.fromDate != null) localVarQueryParams.Add("from_date", this.ApiClient.ParameterToString(options.fromDate)); // query parameter - if (options.fromToStatus != null) localVarQueryParams.Add("from_to_status", this.ApiClient.ParameterToString(options.fromToStatus)); // query parameter - if (options.include != null) localVarQueryParams.Add("include", this.ApiClient.ParameterToString(options.include)); // query parameter - if (options.includePurgeInformation != null) localVarQueryParams.Add("include_purge_information", this.ApiClient.ParameterToString(options.includePurgeInformation)); // query parameter - if (options.intersectingFolderIds != null) localVarQueryParams.Add("intersecting_folder_ids", this.ApiClient.ParameterToString(options.intersectingFolderIds)); // query parameter - if (options.lastQueriedDate != null) localVarQueryParams.Add("last_queried_date", this.ApiClient.ParameterToString(options.lastQueriedDate)); // query parameter - if (options.order != null) localVarQueryParams.Add("order", this.ApiClient.ParameterToString(options.order)); // query parameter - if (options.orderBy != null) localVarQueryParams.Add("order_by", this.ApiClient.ParameterToString(options.orderBy)); // query parameter - if (options.powerformids != null) localVarQueryParams.Add("powerformids", this.ApiClient.ParameterToString(options.powerformids)); // query parameter - if (options.queryBudget != null) localVarQueryParams.Add("query_budget", this.ApiClient.ParameterToString(options.queryBudget)); // query parameter - if (options.requesterDateFormat != null) localVarQueryParams.Add("requester_date_format", this.ApiClient.ParameterToString(options.requesterDateFormat)); // query parameter - if (options.searchMode != null) localVarQueryParams.Add("search_mode", this.ApiClient.ParameterToString(options.searchMode)); // query parameter - if (options.searchText != null) localVarQueryParams.Add("search_text", this.ApiClient.ParameterToString(options.searchText)); // query parameter - if (options.startPosition != null) localVarQueryParams.Add("start_position", this.ApiClient.ParameterToString(options.startPosition)); // query parameter - if (options.status != null) localVarQueryParams.Add("status", this.ApiClient.ParameterToString(options.status)); // query parameter - if (options.toDate != null) localVarQueryParams.Add("to_date", this.ApiClient.ParameterToString(options.toDate)); // query parameter - if (options.transactionIds != null) localVarQueryParams.Add("transaction_ids", this.ApiClient.ParameterToString(options.transactionIds)); // query parameter - if (options.userFilter != null) localVarQueryParams.Add("user_filter", this.ApiClient.ParameterToString(options.userFilter)); // query parameter - if (options.userId != null) localVarQueryParams.Add("user_id", this.ApiClient.ParameterToString(options.userId)); // query parameter - if (options.userName != null) localVarQueryParams.Add("user_name", this.ApiClient.ParameterToString(options.userName)); // query parameter + if (options.documentsByUserid != null) localVarQueryParams.Add("documents_by_userid", this.ApiClient.ParameterToString(options.documentsByUserid)); // query parameter + if (options.includeAgreementType != null) localVarQueryParams.Add("include_agreement_type", this.ApiClient.ParameterToString(options.includeAgreementType)); // query parameter + if (options.includeDocgenFormfields != null) localVarQueryParams.Add("include_docgen_formfields", this.ApiClient.ParameterToString(options.includeDocgenFormfields)); // query parameter + if (options.includeDocumentSize != null) localVarQueryParams.Add("include_document_size", this.ApiClient.ParameterToString(options.includeDocumentSize)); // query parameter + if (options.includeIsEdited != null) localVarQueryParams.Add("include_is_edited", this.ApiClient.ParameterToString(options.includeIsEdited)); // query parameter + if (options.includeMetadata != null) localVarQueryParams.Add("include_metadata", this.ApiClient.ParameterToString(options.includeMetadata)); // query parameter + if (options.includeTabs != null) localVarQueryParams.Add("include_tabs", this.ApiClient.ParameterToString(options.includeTabs)); // query parameter + if (options.recipientId != null) localVarQueryParams.Add("recipient_id", this.ApiClient.ParameterToString(options.recipientId)); // query parameter + if (options.sharedUserId != null) localVarQueryParams.Add("shared_user_id", this.ApiClient.ParameterToString(options.sharedUserId)); // query parameter } // authentication (docusignAccessCode) required @@ -23835,63 +23927,62 @@ public async System.Threading.Tasks.Task> List if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("ListStatusChanges", localVarResponse); + Exception exception = ExceptionFactory("ListDocuments", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (EnvelopesInformation)this.ApiClient.Deserialize(localVarResponse, typeof(EnvelopesInformation))); + (EnvelopeDocumentsResult)this.ApiClient.Deserialize(localVarResponse, typeof(EnvelopeDocumentsResult))); } /// - /// Gets the tabs information for a signer or sign-in-person recipient in an envelope. Retrieves information about the tabs associated with a recipient in a draft envelope. + /// Gets the status of recipients for an envelope. Retrieves the status of all recipients in a single envelope and identifies the current recipient in the routing list. The `currentRoutingOrder` property of the response contains the `routingOrder` value of the current recipient indicating that the envelope has been sent to the recipient, but the recipient has not completed their actions. /// - public class ListTabsOptions + public class ListRecipientsOptions { - /// When set to **true**, all tabs with anchor tab properties are included in the response. + /// When set to **true** and `include_tabs` is set to **true**, all tabs with anchor tab properties are included in the response. public string includeAnchorTabLocations {get; set;} + /// When set to **true**, the extended properties are included in the response. + public string includeExtended {get; set;} /// public string includeMetadata {get; set;} + /// When set to **true**, the tab information associated with the recipient is included in the response. + public string includeTabs {get; set;} } /// - /// Gets the tabs information for a signer or sign-in-person recipient in an envelope. Retrieves information about the tabs associated with a recipient in a draft envelope. + /// Gets the status of recipients for an envelope. Retrieves the status of all recipients in a single envelope and identifies the current recipient in the routing list. The `currentRoutingOrder` property of the response contains the `routingOrder` value of the current recipient indicating that the envelope has been sent to the recipient, but the recipient has not completed their actions. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// The ID of the recipient being accessed. /// Options for modifying the behavior of the function. - /// Tabs - public Tabs ListTabs(string accountId, string envelopeId, string recipientId, EnvelopesApi.ListTabsOptions options = null) + /// Recipients + public Recipients ListRecipients(string accountId, string envelopeId, EnvelopesApi.ListRecipientsOptions options = null) { - ApiResponse localVarResponse = ListTabsWithHttpInfo(accountId, envelopeId, recipientId, options); + ApiResponse localVarResponse = ListRecipientsWithHttpInfo(accountId, envelopeId, options); return localVarResponse.Data; } /// - /// Gets the tabs information for a signer or sign-in-person recipient in an envelope. Retrieves information about the tabs associated with a recipient in a draft envelope. + /// Gets the status of recipients for an envelope. Retrieves the status of all recipients in a single envelope and identifies the current recipient in the routing list. The `currentRoutingOrder` property of the response contains the `routingOrder` value of the current recipient indicating that the envelope has been sent to the recipient, but the recipient has not completed their actions. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// The ID of the recipient being accessed. /// Options for modifying the behavior of the function. - /// ApiResponse of Tabs - public ApiResponse ListTabsWithHttpInfo(string accountId, string envelopeId, string recipientId, EnvelopesApi.ListTabsOptions options = null) + /// ApiResponse of Recipients + public ApiResponse ListRecipientsWithHttpInfo(string accountId, string envelopeId, EnvelopesApi.ListRecipientsOptions options = null) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->ListTabs"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->ListRecipients"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->ListTabs"); - // verify the required parameter 'recipientId' is set - if (recipientId == null) - throw new ApiException(400, "Missing required parameter 'recipientId' when calling EnvelopesApi->ListTabs"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->ListRecipients"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/tabs"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/recipients"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -23918,11 +24009,1122 @@ public ApiResponse ListTabsWithHttpInfo(string accountId, string envelopeI localVarPathParams.Add("format", "json"); if (accountId != null) localVarPathParams.Add("accountId", this.ApiClient.ParameterToString(accountId)); // path parameter if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter - if (recipientId != null) localVarPathParams.Add("recipientId", this.ApiClient.ParameterToString(recipientId)); // path parameter if (options != null) { if (options.includeAnchorTabLocations != null) localVarQueryParams.Add("include_anchor_tab_locations", this.ApiClient.ParameterToString(options.includeAnchorTabLocations)); // query parameter + if (options.includeExtended != null) localVarQueryParams.Add("include_extended", this.ApiClient.ParameterToString(options.includeExtended)); // query parameter if (options.includeMetadata != null) localVarQueryParams.Add("include_metadata", this.ApiClient.ParameterToString(options.includeMetadata)); // query parameter + if (options.includeTabs != null) localVarQueryParams.Add("include_tabs", this.ApiClient.ParameterToString(options.includeTabs)); // query 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, new HttpMethod("GET"), localVarQueryParams.ToList(), localVarPostBody, localVarHeaderParams.ToList(), localVarFormParams.ToList(), localVarPathParams.ToList(), localVarFileParams, localVarHttpContentType, localVarHttpContentDisposition); + DocuSignResponse localVarResponse = this.ApiClient.CallApi(localVarRequest); + + int localVarStatusCode = (int)localVarResponse.StatusCode; + + if (ExceptionFactory != null) + { + Exception exception = ExceptionFactory("ListRecipients", localVarResponse); + if (exception != null) throw exception; + } + + return new ApiResponse(localVarStatusCode, + localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), + (Recipients)this.ApiClient.Deserialize(localVarResponse, typeof(Recipients))); + } + + /// + /// Gets the status of recipients for an envelope. Retrieves the status of all recipients in a single envelope and identifies the current recipient in the routing list. The `currentRoutingOrder` property of the response contains the `routingOrder` value of the current recipient indicating that the envelope has been sent to the recipient, but the recipient has not completed their actions. + /// + /// Thrown when fails to make API call + /// The external account number (int) or account ID Guid. + /// The envelopeId Guid of the envelope being accessed. + /// Options for modifying the behavior of the function. + /// Task of Recipients + public async System.Threading.Tasks.Task ListRecipientsAsync(string accountId, string envelopeId, EnvelopesApi.ListRecipientsOptions options = null) + { + ApiResponse localVarResponse = await ListRecipientsAsyncWithHttpInfo(accountId, envelopeId, options); + return localVarResponse.Data; + } + + /// + /// Gets the status of recipients for an envelope. Retrieves the status of all recipients in a single envelope and identifies the current recipient in the routing list. The `currentRoutingOrder` property of the response contains the `routingOrder` value of the current recipient indicating that the envelope has been sent to the recipient, but the recipient has not completed their actions. + /// + /// Thrown when fails to make API call + /// The external account number (int) or account ID Guid. + /// The envelopeId Guid of the envelope being accessed. + /// Options for modifying the behavior of the function. + /// Task of ApiResponse (Recipients) + public async System.Threading.Tasks.Task> ListRecipientsAsyncWithHttpInfo(string accountId, string envelopeId, EnvelopesApi.ListRecipientsOptions options = null) + { + // verify the required parameter 'accountId' is set + if (accountId == null) + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->ListRecipients"); + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->ListRecipients"); + + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/recipients"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new Dictionary(); + var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new List(); + 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 (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter + if (options != null) + { + if (options.includeAnchorTabLocations != null) localVarQueryParams.Add("include_anchor_tab_locations", this.ApiClient.ParameterToString(options.includeAnchorTabLocations)); // query parameter + if (options.includeExtended != null) localVarQueryParams.Add("include_extended", this.ApiClient.ParameterToString(options.includeExtended)); // query parameter + if (options.includeMetadata != null) localVarQueryParams.Add("include_metadata", this.ApiClient.ParameterToString(options.includeMetadata)); // query parameter + if (options.includeTabs != null) localVarQueryParams.Add("include_tabs", this.ApiClient.ParameterToString(options.includeTabs)); // query 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, new HttpMethod("GET"), 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("ListRecipients", localVarResponse); + if (exception != null) throw exception; + } + + return new ApiResponse(localVarStatusCode, + localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), + (Recipients)this.ApiClient.Deserialize(localVarResponse, typeof(Recipients))); + } + + /// + /// Gets the envelope status for the specified envelopes. Retrieves the envelope status for the specified envelopes. + /// + public class ListStatusOptions + { + /// + public string acStatus {get; set;} + /// + public string block {get; set;} + /// + public string count {get; set;} + /// + public string email {get; set;} + /// + public string envelopeIds {get; set;} + /// + public string fromDate {get; set;} + /// + public string fromToStatus {get; set;} + /// + public string startPosition {get; set;} + /// + public string status {get; set;} + /// + public string toDate {get; set;} + /// + public string transactionIds {get; set;} + /// + public string userName {get; set;} + } + + /// + /// Gets the envelope status for the specified envelopes. Retrieves the envelope status for the specified envelopes. + /// + /// Thrown when fails to make API call + /// The external account number (int) or account ID Guid. + /// (optional) + /// Options for modifying the behavior of the function. + /// EnvelopesInformation + public EnvelopesInformation ListStatus(string accountId, EnvelopeIdsRequest envelopeIdsRequest = null, EnvelopesApi.ListStatusOptions options = null) + { + ApiResponse localVarResponse = ListStatusWithHttpInfo(accountId, envelopeIdsRequest, options); + return localVarResponse.Data; + } + + /// + /// Gets the envelope status for the specified envelopes. Retrieves the envelope status for the specified envelopes. + /// + /// Thrown when fails to make API call + /// The external account number (int) or account ID Guid. + /// (optional) + /// Options for modifying the behavior of the function. + /// ApiResponse of EnvelopesInformation + public ApiResponse ListStatusWithHttpInfo(string accountId, EnvelopeIdsRequest envelopeIdsRequest = null, EnvelopesApi.ListStatusOptions options = null) + { + // verify the required parameter 'accountId' is set + if (accountId == null) + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->ListStatus"); + + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/status"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new Dictionary(); + var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new List(); + 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 (options != null) + { + if (options.acStatus != null) localVarQueryParams.Add("ac_status", this.ApiClient.ParameterToString(options.acStatus)); // query parameter + if (options.block != null) localVarQueryParams.Add("block", this.ApiClient.ParameterToString(options.block)); // query parameter + if (options.count != null) localVarQueryParams.Add("count", this.ApiClient.ParameterToString(options.count)); // query parameter + if (options.email != null) localVarQueryParams.Add("email", this.ApiClient.ParameterToString(options.email)); // query parameter + if (options.envelopeIds != null) localVarQueryParams.Add("envelope_ids", this.ApiClient.ParameterToString(options.envelopeIds)); // query parameter + if (options.fromDate != null) localVarQueryParams.Add("from_date", this.ApiClient.ParameterToString(options.fromDate)); // query parameter + if (options.fromToStatus != null) localVarQueryParams.Add("from_to_status", this.ApiClient.ParameterToString(options.fromToStatus)); // query parameter + if (options.startPosition != null) localVarQueryParams.Add("start_position", this.ApiClient.ParameterToString(options.startPosition)); // query parameter + if (options.status != null) localVarQueryParams.Add("status", this.ApiClient.ParameterToString(options.status)); // query parameter + if (options.toDate != null) localVarQueryParams.Add("to_date", this.ApiClient.ParameterToString(options.toDate)); // query parameter + if (options.transactionIds != null) localVarQueryParams.Add("transaction_ids", this.ApiClient.ParameterToString(options.transactionIds)); // query parameter + if (options.userName != null) localVarQueryParams.Add("user_name", this.ApiClient.ParameterToString(options.userName)); // query parameter + } + if (envelopeIdsRequest != null && envelopeIdsRequest.GetType() != typeof(byte[])) + { + localVarPostBody = this.ApiClient.Serialize(envelopeIdsRequest); // http body (model) parameter + } + else + { + localVarPostBody = envelopeIdsRequest; // byte array + } + + // 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, new HttpMethod("PUT"), localVarQueryParams.ToList(), localVarPostBody, localVarHeaderParams.ToList(), localVarFormParams.ToList(), localVarPathParams.ToList(), localVarFileParams, localVarHttpContentType, localVarHttpContentDisposition); + DocuSignResponse localVarResponse = this.ApiClient.CallApi(localVarRequest); + + int localVarStatusCode = (int)localVarResponse.StatusCode; + + if (ExceptionFactory != null) + { + Exception exception = ExceptionFactory("ListStatus", localVarResponse); + if (exception != null) throw exception; + } + + return new ApiResponse(localVarStatusCode, + localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), + (EnvelopesInformation)this.ApiClient.Deserialize(localVarResponse, typeof(EnvelopesInformation))); + } + + /// + /// Gets the envelope status for the specified envelopes. Retrieves the envelope status for the specified envelopes. + /// + /// Thrown when fails to make API call + /// The external account number (int) or account ID Guid. + /// (optional) + /// Options for modifying the behavior of the function. + /// Task of EnvelopesInformation + public async System.Threading.Tasks.Task ListStatusAsync(string accountId, EnvelopeIdsRequest envelopeIdsRequest = null, EnvelopesApi.ListStatusOptions options = null) + { + ApiResponse localVarResponse = await ListStatusAsyncWithHttpInfo(accountId, envelopeIdsRequest, options); + return localVarResponse.Data; + } + + /// + /// Gets the envelope status for the specified envelopes. Retrieves the envelope status for the specified envelopes. + /// + /// Thrown when fails to make API call + /// The external account number (int) or account ID Guid. + /// (optional) + /// Options for modifying the behavior of the function. + /// Task of ApiResponse (EnvelopesInformation) + public async System.Threading.Tasks.Task> ListStatusAsyncWithHttpInfo(string accountId, EnvelopeIdsRequest envelopeIdsRequest = null, EnvelopesApi.ListStatusOptions options = null) + { + // verify the required parameter 'accountId' is set + if (accountId == null) + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->ListStatus"); + + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/status"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new Dictionary(); + var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new List(); + 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 (options != null) + { + if (options.acStatus != null) localVarQueryParams.Add("ac_status", this.ApiClient.ParameterToString(options.acStatus)); // query parameter + if (options.block != null) localVarQueryParams.Add("block", this.ApiClient.ParameterToString(options.block)); // query parameter + if (options.count != null) localVarQueryParams.Add("count", this.ApiClient.ParameterToString(options.count)); // query parameter + if (options.email != null) localVarQueryParams.Add("email", this.ApiClient.ParameterToString(options.email)); // query parameter + if (options.envelopeIds != null) localVarQueryParams.Add("envelope_ids", this.ApiClient.ParameterToString(options.envelopeIds)); // query parameter + if (options.fromDate != null) localVarQueryParams.Add("from_date", this.ApiClient.ParameterToString(options.fromDate)); // query parameter + if (options.fromToStatus != null) localVarQueryParams.Add("from_to_status", this.ApiClient.ParameterToString(options.fromToStatus)); // query parameter + if (options.startPosition != null) localVarQueryParams.Add("start_position", this.ApiClient.ParameterToString(options.startPosition)); // query parameter + if (options.status != null) localVarQueryParams.Add("status", this.ApiClient.ParameterToString(options.status)); // query parameter + if (options.toDate != null) localVarQueryParams.Add("to_date", this.ApiClient.ParameterToString(options.toDate)); // query parameter + if (options.transactionIds != null) localVarQueryParams.Add("transaction_ids", this.ApiClient.ParameterToString(options.transactionIds)); // query parameter + if (options.userName != null) localVarQueryParams.Add("user_name", this.ApiClient.ParameterToString(options.userName)); // query parameter + } + if (envelopeIdsRequest != null && envelopeIdsRequest.GetType() != typeof(byte[])) + { + localVarPostBody = this.ApiClient.Serialize(envelopeIdsRequest); // http body (model) parameter + } + else + { + localVarPostBody = envelopeIdsRequest; // byte array + } + + // 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, new HttpMethod("PUT"), 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("ListStatus", localVarResponse); + if (exception != null) throw exception; + } + + return new ApiResponse(localVarStatusCode, + localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), + (EnvelopesInformation)this.ApiClient.Deserialize(localVarResponse, typeof(EnvelopesInformation))); + } + + /// + /// Gets status changes for one or more envelopes. Retrieves envelope status changes for all envelopes. You can modify the information returned by adding query strings to limit the request to check between certain dates and times, or for certain envelopes, or for certain status codes. It is recommended that you use one or more of the query strings in order to limit the size of the response. ### Important: Unless you are requesting the status for specific envelopes (using the `envelopeIds` or `transactionIds` properties), you must add a set the `from_date` property in the request. Getting envelope status using `transactionIds` is useful for offline signing situations where it can be used determine if an envelope was created or not, for the cases where a network connection was lost, before the envelope status could be returned. ### Request Envelope Status Notes ### The REST API GET /envelopes call uses certain filters to find results. In some cases requests are check for \"any status change\" instead of the just the single status requested. In these cases, more envelopes might be returned by the request than otherwise would be. For example, for a request with the begin date is set to Jan 1st, an end date set to Jan 7th and the status qualifier (`from_to_status`) set to `Delivered` — the response set might contain envelopes that were created during that time period, but not delivered during the time period. To avoid unnecessary database queries, the DocuSign system checks requests to ensure that the added filters will not result in a zero-size response before acting on the request. The following table shows the valid envelope statuses (in the Valid Current Statuses column) for the status qualifiers in the request. If the status and status qualifiers in the API request do not contain any of the values shown in the valid current statuses column, then an empty list is returned. For example, a request with a status qualifier (from_to_status) of `Delivered` and a status of \"`Created`,`Sent`\", DocuSign will always return an empty list. This is because the request essentially translates to: find the envelopes that were delivered between the begin and end dates that have a current status of `Created` or `Sent`, and since an envelope that has been delivered can never have a status of `Created` or `Sent`, a zero-size response would be generated. In this case, DocuSign does not run the request, but just returns the empty list. Client applications should check that the statuses they are requesting make sense for a given status qualifier. + /// + public class ListStatusChangesOptions + { + /// Specifies the Authoritative Copy Status for the envelopes. The possible values are: Unknown, Original, Transferred, AuthoritativeCopy, AuthoritativeCopyExportPending, AuthoritativeCopyExported, DepositPending, Deposited, DepositedEO, or DepositFailed. + public string acStatus {get; set;} + /// + public string block {get; set;} + /// + public string cdseMode {get; set;} + /// + public string continuationToken {get; set;} + /// + public string count {get; set;} + /// This specifies the envelope custom field name and value searched for in the envelope information. The value portion of the query can use partial strings by adding '%' (percent sign) around the custom field query value. Example 1: If you have an envelope custom field called \"Region\" and you want to search for all envelopes where the value is \"West\" you would use the query: `?custom_field=Region=West`. Example 2: To search for envelopes where the `ApplicationID` custom field has the value or partial value of \"DocuSign\" in field, the query would be: `?custom_field=ApplicationId=%DocuSign%` This would find envelopes where the custom field value is \"DocuSign for Salesforce\" or \"DocuSign envelope.\" + public string customField {get; set;} + /// + public string email {get; set;} + /// + public string envelopeIds {get; set;} + /// + public string exclude {get; set;} + /// + public string folderIds {get; set;} + /// + public string folderTypes {get; set;} + /// The date/time setting that specifies the date/time when the request begins checking for status changes for envelopes in the account. This is required unless 'envelopeId's are used. + public string fromDate {get; set;} + /// This is the status type checked for in the `from_date`/`to_date` period. If `changed` is specified, then envelopes that changed status during the period are found. If for example, `created` is specified, then envelopes created during the period are found. Default is `changed`. Possible values are: Voided, Changed, Created, Deleted, Sent, Delivered, Signed, Completed, Declined, TimedOut and Processing. + public string fromToStatus {get; set;} + /// + public string include {get; set;} + /// + public string includePurgeInformation {get; set;} + /// + public string intersectingFolderIds {get; set;} + /// + public string lastQueriedDate {get; set;} + /// + public string order {get; set;} + /// + public string orderBy {get; set;} + /// + public string powerformids {get; set;} + /// + public string queryBudget {get; set;} + /// + public string requesterDateFormat {get; set;} + /// + public string searchMode {get; set;} + /// + public string searchText {get; set;} + /// + public string startPosition {get; set;} + /// The list of current statuses to include in the response. By default, all envelopes found are returned. If values are specified, then of the envelopes found, only those with the current status specified are returned in the results. Possible values are: Voided, Created, Deleted, Sent, Delivered, Signed, Completed, Declined, TimedOut and Processing. + public string status {get; set;} + /// Optional date/time setting that specifies the date/time when the request stops for status changes for envelopes in the account. If no entry, the system uses the time of the call as the `to_date`. + public string toDate {get; set;} + /// If included in the query string, this is a comma separated list of envelope `transactionId`s. If included in the `request_body`, this is a list of envelope `transactionId`s. ###### Note: `transactionId`s are only valid in the DocuSign system for seven days. + public string transactionIds {get; set;} + /// + public string userFilter {get; set;} + /// + public string userId {get; set;} + /// + public string userName {get; set;} + } + + /// + /// Gets status changes for one or more envelopes. Retrieves envelope status changes for all envelopes. You can modify the information returned by adding query strings to limit the request to check between certain dates and times, or for certain envelopes, or for certain status codes. It is recommended that you use one or more of the query strings in order to limit the size of the response. ### Important: Unless you are requesting the status for specific envelopes (using the `envelopeIds` or `transactionIds` properties), you must add a set the `from_date` property in the request. Getting envelope status using `transactionIds` is useful for offline signing situations where it can be used determine if an envelope was created or not, for the cases where a network connection was lost, before the envelope status could be returned. ### Request Envelope Status Notes ### The REST API GET /envelopes call uses certain filters to find results. In some cases requests are check for \"any status change\" instead of the just the single status requested. In these cases, more envelopes might be returned by the request than otherwise would be. For example, for a request with the begin date is set to Jan 1st, an end date set to Jan 7th and the status qualifier (`from_to_status`) set to `Delivered` — the response set might contain envelopes that were created during that time period, but not delivered during the time period. To avoid unnecessary database queries, the DocuSign system checks requests to ensure that the added filters will not result in a zero-size response before acting on the request. The following table shows the valid envelope statuses (in the Valid Current Statuses column) for the status qualifiers in the request. If the status and status qualifiers in the API request do not contain any of the values shown in the valid current statuses column, then an empty list is returned. For example, a request with a status qualifier (from_to_status) of `Delivered` and a status of \"`Created`,`Sent`\", DocuSign will always return an empty list. This is because the request essentially translates to: find the envelopes that were delivered between the begin and end dates that have a current status of `Created` or `Sent`, and since an envelope that has been delivered can never have a status of `Created` or `Sent`, a zero-size response would be generated. In this case, DocuSign does not run the request, but just returns the empty list. Client applications should check that the statuses they are requesting make sense for a given status qualifier. + /// + /// Thrown when fails to make API call + /// The external account number (int) or account ID Guid. + /// Options for modifying the behavior of the function. + /// EnvelopesInformation + public EnvelopesInformation ListStatusChanges(string accountId, EnvelopesApi.ListStatusChangesOptions options = null) + { + ApiResponse localVarResponse = ListStatusChangesWithHttpInfo(accountId, options); + return localVarResponse.Data; + } + + /// + /// Gets status changes for one or more envelopes. Retrieves envelope status changes for all envelopes. You can modify the information returned by adding query strings to limit the request to check between certain dates and times, or for certain envelopes, or for certain status codes. It is recommended that you use one or more of the query strings in order to limit the size of the response. ### Important: Unless you are requesting the status for specific envelopes (using the `envelopeIds` or `transactionIds` properties), you must add a set the `from_date` property in the request. Getting envelope status using `transactionIds` is useful for offline signing situations where it can be used determine if an envelope was created or not, for the cases where a network connection was lost, before the envelope status could be returned. ### Request Envelope Status Notes ### The REST API GET /envelopes call uses certain filters to find results. In some cases requests are check for \"any status change\" instead of the just the single status requested. In these cases, more envelopes might be returned by the request than otherwise would be. For example, for a request with the begin date is set to Jan 1st, an end date set to Jan 7th and the status qualifier (`from_to_status`) set to `Delivered` — the response set might contain envelopes that were created during that time period, but not delivered during the time period. To avoid unnecessary database queries, the DocuSign system checks requests to ensure that the added filters will not result in a zero-size response before acting on the request. The following table shows the valid envelope statuses (in the Valid Current Statuses column) for the status qualifiers in the request. If the status and status qualifiers in the API request do not contain any of the values shown in the valid current statuses column, then an empty list is returned. For example, a request with a status qualifier (from_to_status) of `Delivered` and a status of \"`Created`,`Sent`\", DocuSign will always return an empty list. This is because the request essentially translates to: find the envelopes that were delivered between the begin and end dates that have a current status of `Created` or `Sent`, and since an envelope that has been delivered can never have a status of `Created` or `Sent`, a zero-size response would be generated. In this case, DocuSign does not run the request, but just returns the empty list. Client applications should check that the statuses they are requesting make sense for a given status qualifier. + /// + /// Thrown when fails to make API call + /// The external account number (int) or account ID Guid. + /// Options for modifying the behavior of the function. + /// ApiResponse of EnvelopesInformation + public ApiResponse ListStatusChangesWithHttpInfo(string accountId, EnvelopesApi.ListStatusChangesOptions options = null) + { + // verify the required parameter 'accountId' is set + if (accountId == null) + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->ListStatusChanges"); + + var localVarPath = "/v2.1/accounts/{accountId}/envelopes"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new Dictionary(); + var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new List(); + 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 (options != null) + { + if (options.acStatus != null) localVarQueryParams.Add("ac_status", this.ApiClient.ParameterToString(options.acStatus)); // query parameter + if (options.block != null) localVarQueryParams.Add("block", this.ApiClient.ParameterToString(options.block)); // query parameter + if (options.cdseMode != null) localVarQueryParams.Add("cdse_mode", this.ApiClient.ParameterToString(options.cdseMode)); // query parameter + if (options.continuationToken != null) localVarQueryParams.Add("continuation_token", this.ApiClient.ParameterToString(options.continuationToken)); // query parameter + if (options.count != null) localVarQueryParams.Add("count", this.ApiClient.ParameterToString(options.count)); // query parameter + if (options.customField != null) localVarQueryParams.Add("custom_field", this.ApiClient.ParameterToString(options.customField)); // query parameter + if (options.email != null) localVarQueryParams.Add("email", this.ApiClient.ParameterToString(options.email)); // query parameter + if (options.envelopeIds != null) localVarQueryParams.Add("envelope_ids", this.ApiClient.ParameterToString(options.envelopeIds)); // query parameter + if (options.exclude != null) localVarQueryParams.Add("exclude", this.ApiClient.ParameterToString(options.exclude)); // query parameter + if (options.folderIds != null) localVarQueryParams.Add("folder_ids", this.ApiClient.ParameterToString(options.folderIds)); // query parameter + if (options.folderTypes != null) localVarQueryParams.Add("folder_types", this.ApiClient.ParameterToString(options.folderTypes)); // query parameter + if (options.fromDate != null) localVarQueryParams.Add("from_date", this.ApiClient.ParameterToString(options.fromDate)); // query parameter + if (options.fromToStatus != null) localVarQueryParams.Add("from_to_status", this.ApiClient.ParameterToString(options.fromToStatus)); // query parameter + if (options.include != null) localVarQueryParams.Add("include", this.ApiClient.ParameterToString(options.include)); // query parameter + if (options.includePurgeInformation != null) localVarQueryParams.Add("include_purge_information", this.ApiClient.ParameterToString(options.includePurgeInformation)); // query parameter + if (options.intersectingFolderIds != null) localVarQueryParams.Add("intersecting_folder_ids", this.ApiClient.ParameterToString(options.intersectingFolderIds)); // query parameter + if (options.lastQueriedDate != null) localVarQueryParams.Add("last_queried_date", this.ApiClient.ParameterToString(options.lastQueriedDate)); // query parameter + if (options.order != null) localVarQueryParams.Add("order", this.ApiClient.ParameterToString(options.order)); // query parameter + if (options.orderBy != null) localVarQueryParams.Add("order_by", this.ApiClient.ParameterToString(options.orderBy)); // query parameter + if (options.powerformids != null) localVarQueryParams.Add("powerformids", this.ApiClient.ParameterToString(options.powerformids)); // query parameter + if (options.queryBudget != null) localVarQueryParams.Add("query_budget", this.ApiClient.ParameterToString(options.queryBudget)); // query parameter + if (options.requesterDateFormat != null) localVarQueryParams.Add("requester_date_format", this.ApiClient.ParameterToString(options.requesterDateFormat)); // query parameter + if (options.searchMode != null) localVarQueryParams.Add("search_mode", this.ApiClient.ParameterToString(options.searchMode)); // query parameter + if (options.searchText != null) localVarQueryParams.Add("search_text", this.ApiClient.ParameterToString(options.searchText)); // query parameter + if (options.startPosition != null) localVarQueryParams.Add("start_position", this.ApiClient.ParameterToString(options.startPosition)); // query parameter + if (options.status != null) localVarQueryParams.Add("status", this.ApiClient.ParameterToString(options.status)); // query parameter + if (options.toDate != null) localVarQueryParams.Add("to_date", this.ApiClient.ParameterToString(options.toDate)); // query parameter + if (options.transactionIds != null) localVarQueryParams.Add("transaction_ids", this.ApiClient.ParameterToString(options.transactionIds)); // query parameter + if (options.userFilter != null) localVarQueryParams.Add("user_filter", this.ApiClient.ParameterToString(options.userFilter)); // query parameter + if (options.userId != null) localVarQueryParams.Add("user_id", this.ApiClient.ParameterToString(options.userId)); // query parameter + if (options.userName != null) localVarQueryParams.Add("user_name", this.ApiClient.ParameterToString(options.userName)); // query 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, new HttpMethod("GET"), localVarQueryParams.ToList(), localVarPostBody, localVarHeaderParams.ToList(), localVarFormParams.ToList(), localVarPathParams.ToList(), localVarFileParams, localVarHttpContentType, localVarHttpContentDisposition); + DocuSignResponse localVarResponse = this.ApiClient.CallApi(localVarRequest); + + int localVarStatusCode = (int)localVarResponse.StatusCode; + + if (ExceptionFactory != null) + { + Exception exception = ExceptionFactory("ListStatusChanges", localVarResponse); + if (exception != null) throw exception; + } + + return new ApiResponse(localVarStatusCode, + localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), + (EnvelopesInformation)this.ApiClient.Deserialize(localVarResponse, typeof(EnvelopesInformation))); + } + + /// + /// Gets status changes for one or more envelopes. Retrieves envelope status changes for all envelopes. You can modify the information returned by adding query strings to limit the request to check between certain dates and times, or for certain envelopes, or for certain status codes. It is recommended that you use one or more of the query strings in order to limit the size of the response. ### Important: Unless you are requesting the status for specific envelopes (using the `envelopeIds` or `transactionIds` properties), you must add a set the `from_date` property in the request. Getting envelope status using `transactionIds` is useful for offline signing situations where it can be used determine if an envelope was created or not, for the cases where a network connection was lost, before the envelope status could be returned. ### Request Envelope Status Notes ### The REST API GET /envelopes call uses certain filters to find results. In some cases requests are check for \"any status change\" instead of the just the single status requested. In these cases, more envelopes might be returned by the request than otherwise would be. For example, for a request with the begin date is set to Jan 1st, an end date set to Jan 7th and the status qualifier (`from_to_status`) set to `Delivered` — the response set might contain envelopes that were created during that time period, but not delivered during the time period. To avoid unnecessary database queries, the DocuSign system checks requests to ensure that the added filters will not result in a zero-size response before acting on the request. The following table shows the valid envelope statuses (in the Valid Current Statuses column) for the status qualifiers in the request. If the status and status qualifiers in the API request do not contain any of the values shown in the valid current statuses column, then an empty list is returned. For example, a request with a status qualifier (from_to_status) of `Delivered` and a status of \"`Created`,`Sent`\", DocuSign will always return an empty list. This is because the request essentially translates to: find the envelopes that were delivered between the begin and end dates that have a current status of `Created` or `Sent`, and since an envelope that has been delivered can never have a status of `Created` or `Sent`, a zero-size response would be generated. In this case, DocuSign does not run the request, but just returns the empty list. Client applications should check that the statuses they are requesting make sense for a given status qualifier. + /// + /// Thrown when fails to make API call + /// The external account number (int) or account ID Guid. + /// Options for modifying the behavior of the function. + /// Task of EnvelopesInformation + public async System.Threading.Tasks.Task ListStatusChangesAsync(string accountId, EnvelopesApi.ListStatusChangesOptions options = null) + { + ApiResponse localVarResponse = await ListStatusChangesAsyncWithHttpInfo(accountId, options); + return localVarResponse.Data; + } + + /// + /// Gets status changes for one or more envelopes. Retrieves envelope status changes for all envelopes. You can modify the information returned by adding query strings to limit the request to check between certain dates and times, or for certain envelopes, or for certain status codes. It is recommended that you use one or more of the query strings in order to limit the size of the response. ### Important: Unless you are requesting the status for specific envelopes (using the `envelopeIds` or `transactionIds` properties), you must add a set the `from_date` property in the request. Getting envelope status using `transactionIds` is useful for offline signing situations where it can be used determine if an envelope was created or not, for the cases where a network connection was lost, before the envelope status could be returned. ### Request Envelope Status Notes ### The REST API GET /envelopes call uses certain filters to find results. In some cases requests are check for \"any status change\" instead of the just the single status requested. In these cases, more envelopes might be returned by the request than otherwise would be. For example, for a request with the begin date is set to Jan 1st, an end date set to Jan 7th and the status qualifier (`from_to_status`) set to `Delivered` — the response set might contain envelopes that were created during that time period, but not delivered during the time period. To avoid unnecessary database queries, the DocuSign system checks requests to ensure that the added filters will not result in a zero-size response before acting on the request. The following table shows the valid envelope statuses (in the Valid Current Statuses column) for the status qualifiers in the request. If the status and status qualifiers in the API request do not contain any of the values shown in the valid current statuses column, then an empty list is returned. For example, a request with a status qualifier (from_to_status) of `Delivered` and a status of \"`Created`,`Sent`\", DocuSign will always return an empty list. This is because the request essentially translates to: find the envelopes that were delivered between the begin and end dates that have a current status of `Created` or `Sent`, and since an envelope that has been delivered can never have a status of `Created` or `Sent`, a zero-size response would be generated. In this case, DocuSign does not run the request, but just returns the empty list. Client applications should check that the statuses they are requesting make sense for a given status qualifier. + /// + /// Thrown when fails to make API call + /// The external account number (int) or account ID Guid. + /// Options for modifying the behavior of the function. + /// Task of ApiResponse (EnvelopesInformation) + public async System.Threading.Tasks.Task> ListStatusChangesAsyncWithHttpInfo(string accountId, EnvelopesApi.ListStatusChangesOptions options = null) + { + // verify the required parameter 'accountId' is set + if (accountId == null) + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->ListStatusChanges"); + + var localVarPath = "/v2.1/accounts/{accountId}/envelopes"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new Dictionary(); + var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new List(); + 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 (options != null) + { + if (options.acStatus != null) localVarQueryParams.Add("ac_status", this.ApiClient.ParameterToString(options.acStatus)); // query parameter + if (options.block != null) localVarQueryParams.Add("block", this.ApiClient.ParameterToString(options.block)); // query parameter + if (options.cdseMode != null) localVarQueryParams.Add("cdse_mode", this.ApiClient.ParameterToString(options.cdseMode)); // query parameter + if (options.continuationToken != null) localVarQueryParams.Add("continuation_token", this.ApiClient.ParameterToString(options.continuationToken)); // query parameter + if (options.count != null) localVarQueryParams.Add("count", this.ApiClient.ParameterToString(options.count)); // query parameter + if (options.customField != null) localVarQueryParams.Add("custom_field", this.ApiClient.ParameterToString(options.customField)); // query parameter + if (options.email != null) localVarQueryParams.Add("email", this.ApiClient.ParameterToString(options.email)); // query parameter + if (options.envelopeIds != null) localVarQueryParams.Add("envelope_ids", this.ApiClient.ParameterToString(options.envelopeIds)); // query parameter + if (options.exclude != null) localVarQueryParams.Add("exclude", this.ApiClient.ParameterToString(options.exclude)); // query parameter + if (options.folderIds != null) localVarQueryParams.Add("folder_ids", this.ApiClient.ParameterToString(options.folderIds)); // query parameter + if (options.folderTypes != null) localVarQueryParams.Add("folder_types", this.ApiClient.ParameterToString(options.folderTypes)); // query parameter + if (options.fromDate != null) localVarQueryParams.Add("from_date", this.ApiClient.ParameterToString(options.fromDate)); // query parameter + if (options.fromToStatus != null) localVarQueryParams.Add("from_to_status", this.ApiClient.ParameterToString(options.fromToStatus)); // query parameter + if (options.include != null) localVarQueryParams.Add("include", this.ApiClient.ParameterToString(options.include)); // query parameter + if (options.includePurgeInformation != null) localVarQueryParams.Add("include_purge_information", this.ApiClient.ParameterToString(options.includePurgeInformation)); // query parameter + if (options.intersectingFolderIds != null) localVarQueryParams.Add("intersecting_folder_ids", this.ApiClient.ParameterToString(options.intersectingFolderIds)); // query parameter + if (options.lastQueriedDate != null) localVarQueryParams.Add("last_queried_date", this.ApiClient.ParameterToString(options.lastQueriedDate)); // query parameter + if (options.order != null) localVarQueryParams.Add("order", this.ApiClient.ParameterToString(options.order)); // query parameter + if (options.orderBy != null) localVarQueryParams.Add("order_by", this.ApiClient.ParameterToString(options.orderBy)); // query parameter + if (options.powerformids != null) localVarQueryParams.Add("powerformids", this.ApiClient.ParameterToString(options.powerformids)); // query parameter + if (options.queryBudget != null) localVarQueryParams.Add("query_budget", this.ApiClient.ParameterToString(options.queryBudget)); // query parameter + if (options.requesterDateFormat != null) localVarQueryParams.Add("requester_date_format", this.ApiClient.ParameterToString(options.requesterDateFormat)); // query parameter + if (options.searchMode != null) localVarQueryParams.Add("search_mode", this.ApiClient.ParameterToString(options.searchMode)); // query parameter + if (options.searchText != null) localVarQueryParams.Add("search_text", this.ApiClient.ParameterToString(options.searchText)); // query parameter + if (options.startPosition != null) localVarQueryParams.Add("start_position", this.ApiClient.ParameterToString(options.startPosition)); // query parameter + if (options.status != null) localVarQueryParams.Add("status", this.ApiClient.ParameterToString(options.status)); // query parameter + if (options.toDate != null) localVarQueryParams.Add("to_date", this.ApiClient.ParameterToString(options.toDate)); // query parameter + if (options.transactionIds != null) localVarQueryParams.Add("transaction_ids", this.ApiClient.ParameterToString(options.transactionIds)); // query parameter + if (options.userFilter != null) localVarQueryParams.Add("user_filter", this.ApiClient.ParameterToString(options.userFilter)); // query parameter + if (options.userId != null) localVarQueryParams.Add("user_id", this.ApiClient.ParameterToString(options.userId)); // query parameter + if (options.userName != null) localVarQueryParams.Add("user_name", this.ApiClient.ParameterToString(options.userName)); // query 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, new HttpMethod("GET"), 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("ListStatusChanges", localVarResponse); + if (exception != null) throw exception; + } + + return new ApiResponse(localVarStatusCode, + localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), + (EnvelopesInformation)this.ApiClient.Deserialize(localVarResponse, typeof(EnvelopesInformation))); + } + + /// + /// Gets the tabs information for a signer or sign-in-person recipient in an envelope. Retrieves information about the tabs associated with a recipient in a draft envelope. + /// + public class ListTabsOptions + { + /// When set to **true**, all tabs with anchor tab properties are included in the response. + public string includeAnchorTabLocations {get; set;} + /// + public string includeMetadata {get; set;} + } + + /// + /// Gets the tabs information for a signer or sign-in-person recipient in an envelope. Retrieves information about the tabs associated with a recipient in a draft envelope. + /// + /// Thrown when fails to make API call + /// The external account number (int) or account ID Guid. + /// The envelopeId Guid of the envelope being accessed. + /// The ID of the recipient being accessed. + /// Options for modifying the behavior of the function. + /// Tabs + public Tabs ListTabs(string accountId, string envelopeId, string recipientId, EnvelopesApi.ListTabsOptions options = null) + { + ApiResponse localVarResponse = ListTabsWithHttpInfo(accountId, envelopeId, recipientId, options); + return localVarResponse.Data; + } + + /// + /// Gets the tabs information for a signer or sign-in-person recipient in an envelope. Retrieves information about the tabs associated with a recipient in a draft envelope. + /// + /// Thrown when fails to make API call + /// The external account number (int) or account ID Guid. + /// The envelopeId Guid of the envelope being accessed. + /// The ID of the recipient being accessed. + /// Options for modifying the behavior of the function. + /// ApiResponse of Tabs + public ApiResponse ListTabsWithHttpInfo(string accountId, string envelopeId, string recipientId, EnvelopesApi.ListTabsOptions options = null) + { + // verify the required parameter 'accountId' is set + if (accountId == null) + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->ListTabs"); + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->ListTabs"); + // verify the required parameter 'recipientId' is set + if (recipientId == null) + throw new ApiException(400, "Missing required parameter 'recipientId' when calling EnvelopesApi->ListTabs"); + + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/tabs"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new Dictionary(); + var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new List(); + 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 (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter + if (recipientId != null) localVarPathParams.Add("recipientId", this.ApiClient.ParameterToString(recipientId)); // path parameter + if (options != null) + { + if (options.includeAnchorTabLocations != null) localVarQueryParams.Add("include_anchor_tab_locations", this.ApiClient.ParameterToString(options.includeAnchorTabLocations)); // query parameter + if (options.includeMetadata != null) localVarQueryParams.Add("include_metadata", this.ApiClient.ParameterToString(options.includeMetadata)); // query 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, new HttpMethod("GET"), localVarQueryParams.ToList(), localVarPostBody, localVarHeaderParams.ToList(), localVarFormParams.ToList(), localVarPathParams.ToList(), localVarFileParams, localVarHttpContentType, localVarHttpContentDisposition); + DocuSignResponse localVarResponse = this.ApiClient.CallApi(localVarRequest); + + int localVarStatusCode = (int)localVarResponse.StatusCode; + + if (ExceptionFactory != null) + { + Exception exception = ExceptionFactory("ListTabs", localVarResponse); + if (exception != null) throw exception; + } + + return new ApiResponse(localVarStatusCode, + localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), + (Tabs)this.ApiClient.Deserialize(localVarResponse, typeof(Tabs))); + } + + /// + /// Gets the tabs information for a signer or sign-in-person recipient in an envelope. Retrieves information about the tabs associated with a recipient in a draft envelope. + /// + /// Thrown when fails to make API call + /// The external account number (int) or account ID Guid. + /// The envelopeId Guid of the envelope being accessed. + /// The ID of the recipient being accessed. + /// Options for modifying the behavior of the function. + /// Task of Tabs + public async System.Threading.Tasks.Task ListTabsAsync(string accountId, string envelopeId, string recipientId, EnvelopesApi.ListTabsOptions options = null) + { + ApiResponse localVarResponse = await ListTabsAsyncWithHttpInfo(accountId, envelopeId, recipientId, options); + return localVarResponse.Data; + } + + /// + /// Gets the tabs information for a signer or sign-in-person recipient in an envelope. Retrieves information about the tabs associated with a recipient in a draft envelope. + /// + /// Thrown when fails to make API call + /// The external account number (int) or account ID Guid. + /// The envelopeId Guid of the envelope being accessed. + /// The ID of the recipient being accessed. + /// Options for modifying the behavior of the function. + /// Task of ApiResponse (Tabs) + public async System.Threading.Tasks.Task> ListTabsAsyncWithHttpInfo(string accountId, string envelopeId, string recipientId, EnvelopesApi.ListTabsOptions options = null) + { + // verify the required parameter 'accountId' is set + if (accountId == null) + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->ListTabs"); + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->ListTabs"); + // verify the required parameter 'recipientId' is set + if (recipientId == null) + throw new ApiException(400, "Missing required parameter 'recipientId' when calling EnvelopesApi->ListTabs"); + + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/tabs"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new Dictionary(); + var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new List(); + 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 (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter + if (recipientId != null) localVarPathParams.Add("recipientId", this.ApiClient.ParameterToString(recipientId)); // path parameter + if (options != null) + { + if (options.includeAnchorTabLocations != null) localVarQueryParams.Add("include_anchor_tab_locations", this.ApiClient.ParameterToString(options.includeAnchorTabLocations)); // query parameter + if (options.includeMetadata != null) localVarQueryParams.Add("include_metadata", this.ApiClient.ParameterToString(options.includeMetadata)); // query 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, new HttpMethod("GET"), 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("ListTabs", localVarResponse); + if (exception != null) throw exception; + } + + return new ApiResponse(localVarStatusCode, + localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), + (Tabs)this.ApiClient.Deserialize(localVarResponse, typeof(Tabs))); + } + + /// + /// Get List of Templates used in an Envelope This returns a list of the server-side templates, their name and ID, used in an envelope. + /// + public class ListTemplatesOptions + { + /// The possible values are: matching_applied - This returns template matching information for the template. + public string include {get; set;} + } + + /// + /// Get List of Templates used in an Envelope This returns a list of the server-side templates, their name and ID, used in an envelope. + /// + /// Thrown when fails to make API call + /// The external account number (int) or account ID Guid. + /// The envelopeId Guid of the envelope being accessed. + /// Options for modifying the behavior of the function. + /// TemplateInformation + public TemplateInformation ListTemplates(string accountId, string envelopeId, EnvelopesApi.ListTemplatesOptions options = null) + { + ApiResponse localVarResponse = ListTemplatesWithHttpInfo(accountId, envelopeId, options); + return localVarResponse.Data; + } + + /// + /// Get List of Templates used in an Envelope This returns a list of the server-side templates, their name and ID, used in an envelope. + /// + /// Thrown when fails to make API call + /// The external account number (int) or account ID Guid. + /// The envelopeId Guid of the envelope being accessed. + /// Options for modifying the behavior of the function. + /// ApiResponse of TemplateInformation + public ApiResponse ListTemplatesWithHttpInfo(string accountId, string envelopeId, EnvelopesApi.ListTemplatesOptions options = null) + { + // verify the required parameter 'accountId' is set + if (accountId == null) + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->ListTemplates"); + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->ListTemplates"); + + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/templates"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new Dictionary(); + var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new List(); + 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 (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter + if (options != null) + { + if (options.include != null) localVarQueryParams.Add("include", this.ApiClient.ParameterToString(options.include)); // query 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, new HttpMethod("GET"), localVarQueryParams.ToList(), localVarPostBody, localVarHeaderParams.ToList(), localVarFormParams.ToList(), localVarPathParams.ToList(), localVarFileParams, localVarHttpContentType, localVarHttpContentDisposition); + DocuSignResponse localVarResponse = this.ApiClient.CallApi(localVarRequest); + + int localVarStatusCode = (int)localVarResponse.StatusCode; + + if (ExceptionFactory != null) + { + Exception exception = ExceptionFactory("ListTemplates", localVarResponse); + if (exception != null) throw exception; + } + + return new ApiResponse(localVarStatusCode, + localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), + (TemplateInformation)this.ApiClient.Deserialize(localVarResponse, typeof(TemplateInformation))); + } + + /// + /// Get List of Templates used in an Envelope This returns a list of the server-side templates, their name and ID, used in an envelope. + /// + /// Thrown when fails to make API call + /// The external account number (int) or account ID Guid. + /// The envelopeId Guid of the envelope being accessed. + /// Options for modifying the behavior of the function. + /// Task of TemplateInformation + public async System.Threading.Tasks.Task ListTemplatesAsync(string accountId, string envelopeId, EnvelopesApi.ListTemplatesOptions options = null) + { + ApiResponse localVarResponse = await ListTemplatesAsyncWithHttpInfo(accountId, envelopeId, options); + return localVarResponse.Data; + } + + /// + /// Get List of Templates used in an Envelope This returns a list of the server-side templates, their name and ID, used in an envelope. + /// + /// Thrown when fails to make API call + /// The external account number (int) or account ID Guid. + /// The envelopeId Guid of the envelope being accessed. + /// Options for modifying the behavior of the function. + /// Task of ApiResponse (TemplateInformation) + public async System.Threading.Tasks.Task> ListTemplatesAsyncWithHttpInfo(string accountId, string envelopeId, EnvelopesApi.ListTemplatesOptions options = null) + { + // verify the required parameter 'accountId' is set + if (accountId == null) + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->ListTemplates"); + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->ListTemplates"); + + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/templates"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new Dictionary(); + var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new List(); + 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 (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter + if (options != null) + { + if (options.include != null) localVarQueryParams.Add("include", this.ApiClient.ParameterToString(options.include)); // query 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, new HttpMethod("GET"), 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("ListTemplates", localVarResponse); + if (exception != null) throw exception; + } + + return new ApiResponse(localVarStatusCode, + localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), + (TemplateInformation)this.ApiClient.Deserialize(localVarResponse, typeof(TemplateInformation))); + } + + /// + /// Gets the templates associated with a document in an existing envelope. Retrieves the templates associated with a document in the specified envelope. + /// + public class ListTemplatesForDocumentOptions + { + /// + public string include {get; set;} + } + + /// + /// Gets the templates associated with a document in an existing envelope. Retrieves the templates associated with a document in the specified envelope. + /// + /// Thrown when fails to make API call + /// The external account number (int) or account ID Guid. + /// The envelopeId Guid of the envelope being accessed. + /// The ID of the document being accessed. + /// Options for modifying the behavior of the function. + /// TemplateInformation + public TemplateInformation ListTemplatesForDocument(string accountId, string envelopeId, string documentId, EnvelopesApi.ListTemplatesForDocumentOptions options = null) + { + ApiResponse localVarResponse = ListTemplatesForDocumentWithHttpInfo(accountId, envelopeId, documentId, options); + return localVarResponse.Data; + } + + /// + /// Gets the templates associated with a document in an existing envelope. Retrieves the templates associated with a document in the specified envelope. + /// + /// Thrown when fails to make API call + /// The external account number (int) or account ID Guid. + /// The envelopeId Guid of the envelope being accessed. + /// The ID of the document being accessed. + /// Options for modifying the behavior of the function. + /// ApiResponse of TemplateInformation + public ApiResponse ListTemplatesForDocumentWithHttpInfo(string accountId, string envelopeId, string documentId, EnvelopesApi.ListTemplatesForDocumentOptions options = null) + { + // verify the required parameter 'accountId' is set + if (accountId == null) + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->ListTemplatesForDocument"); + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->ListTemplatesForDocument"); + // verify the required parameter 'documentId' is set + if (documentId == null) + throw new ApiException(400, "Missing required parameter 'documentId' when calling EnvelopesApi->ListTemplatesForDocument"); + + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/templates"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new Dictionary(); + var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new List(); + 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 (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter + if (documentId != null) localVarPathParams.Add("documentId", this.ApiClient.ParameterToString(documentId)); // path parameter + if (options != null) + { + if (options.include != null) localVarQueryParams.Add("include", this.ApiClient.ParameterToString(options.include)); // query parameter } // authentication (docusignAccessCode) required @@ -23941,52 +25143,52 @@ public ApiResponse ListTabsWithHttpInfo(string accountId, string envelopeI if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("ListTabs", localVarResponse); + Exception exception = ExceptionFactory("ListTemplatesForDocument", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (Tabs)this.ApiClient.Deserialize(localVarResponse, typeof(Tabs))); + (TemplateInformation)this.ApiClient.Deserialize(localVarResponse, typeof(TemplateInformation))); } /// - /// Gets the tabs information for a signer or sign-in-person recipient in an envelope. Retrieves information about the tabs associated with a recipient in a draft envelope. + /// Gets the templates associated with a document in an existing envelope. Retrieves the templates associated with a document in the specified envelope. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// The ID of the recipient being accessed. + /// The ID of the document being accessed. /// Options for modifying the behavior of the function. - /// Task of Tabs - public async System.Threading.Tasks.Task ListTabsAsync(string accountId, string envelopeId, string recipientId, EnvelopesApi.ListTabsOptions options = null) + /// Task of TemplateInformation + public async System.Threading.Tasks.Task ListTemplatesForDocumentAsync(string accountId, string envelopeId, string documentId, EnvelopesApi.ListTemplatesForDocumentOptions options = null) { - ApiResponse localVarResponse = await ListTabsAsyncWithHttpInfo(accountId, envelopeId, recipientId, options); + ApiResponse localVarResponse = await ListTemplatesForDocumentAsyncWithHttpInfo(accountId, envelopeId, documentId, options); return localVarResponse.Data; } /// - /// Gets the tabs information for a signer or sign-in-person recipient in an envelope. Retrieves information about the tabs associated with a recipient in a draft envelope. + /// Gets the templates associated with a document in an existing envelope. Retrieves the templates associated with a document in the specified envelope. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// The ID of the recipient being accessed. + /// The ID of the document being accessed. /// Options for modifying the behavior of the function. - /// Task of ApiResponse (Tabs) - public async System.Threading.Tasks.Task> ListTabsAsyncWithHttpInfo(string accountId, string envelopeId, string recipientId, EnvelopesApi.ListTabsOptions options = null) + /// Task of ApiResponse (TemplateInformation) + public async System.Threading.Tasks.Task> ListTemplatesForDocumentAsyncWithHttpInfo(string accountId, string envelopeId, string documentId, EnvelopesApi.ListTemplatesForDocumentOptions options = null) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->ListTabs"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->ListTemplatesForDocument"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->ListTabs"); - // verify the required parameter 'recipientId' is set - if (recipientId == null) - throw new ApiException(400, "Missing required parameter 'recipientId' when calling EnvelopesApi->ListTabs"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->ListTemplatesForDocument"); + // verify the required parameter 'documentId' is set + if (documentId == null) + throw new ApiException(400, "Missing required parameter 'documentId' when calling EnvelopesApi->ListTemplatesForDocument"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/tabs"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/templates"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -24013,11 +25215,10 @@ public async System.Threading.Tasks.Task> ListTabsAsyncWithHtt localVarPathParams.Add("format", "json"); if (accountId != null) localVarPathParams.Add("accountId", this.ApiClient.ParameterToString(accountId)); // path parameter if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter - if (recipientId != null) localVarPathParams.Add("recipientId", this.ApiClient.ParameterToString(recipientId)); // path parameter + if (documentId != null) localVarPathParams.Add("documentId", this.ApiClient.ParameterToString(documentId)); // path parameter if (options != null) { - if (options.includeAnchorTabLocations != null) localVarQueryParams.Add("include_anchor_tab_locations", this.ApiClient.ParameterToString(options.includeAnchorTabLocations)); // query parameter - if (options.includeMetadata != null) localVarQueryParams.Add("include_metadata", this.ApiClient.ParameterToString(options.includeMetadata)); // query parameter + if (options.include != null) localVarQueryParams.Add("include", this.ApiClient.ParameterToString(options.include)); // query parameter } // authentication (docusignAccessCode) required @@ -24036,56 +25237,53 @@ public async System.Threading.Tasks.Task> ListTabsAsyncWithHtt if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("ListTabs", localVarResponse); + Exception exception = ExceptionFactory("ListTemplatesForDocument", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (Tabs)this.ApiClient.Deserialize(localVarResponse, typeof(Tabs))); + (TemplateInformation)this.ApiClient.Deserialize(localVarResponse, typeof(TemplateInformation))); } - /// - /// Get List of Templates used in an Envelope This returns a list of the server-side templates, their name and ID, used in an envelope. - /// - public class ListTemplatesOptions - { - /// The possible values are: matching_applied - This returns template matching information for the template. - public string include {get; set;} - } /// - /// Get List of Templates used in an Envelope This returns a list of the server-side templates, their name and ID, used in an envelope. + /// Add an attachment to a DRAFT or IN-PROCESS envelope. Adds an attachment to a draft or in-process envelope. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// Options for modifying the behavior of the function. - /// TemplateInformation - public TemplateInformation ListTemplates(string accountId, string envelopeId, EnvelopesApi.ListTemplatesOptions options = null) + /// + /// (optional) + /// EnvelopeAttachmentsResult + public EnvelopeAttachmentsResult PutAttachment(string accountId, string envelopeId, string attachmentId, Attachment attachment = null) { - ApiResponse localVarResponse = ListTemplatesWithHttpInfo(accountId, envelopeId, options); + ApiResponse localVarResponse = PutAttachmentWithHttpInfo(accountId, envelopeId, attachmentId, attachment); return localVarResponse.Data; } /// - /// Get List of Templates used in an Envelope This returns a list of the server-side templates, their name and ID, used in an envelope. + /// Add an attachment to a DRAFT or IN-PROCESS envelope. Adds an attachment to a draft or in-process envelope. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// Options for modifying the behavior of the function. - /// ApiResponse of TemplateInformation - public ApiResponse ListTemplatesWithHttpInfo(string accountId, string envelopeId, EnvelopesApi.ListTemplatesOptions options = null) + /// + /// (optional) + /// ApiResponse of EnvelopeAttachmentsResult + public ApiResponse PutAttachmentWithHttpInfo(string accountId, string envelopeId, string attachmentId, Attachment attachment = null) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->ListTemplates"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->PutAttachment"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->ListTemplates"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->PutAttachment"); + // verify the required parameter 'attachmentId' is set + if (attachmentId == null) + throw new ApiException(400, "Missing required parameter 'attachmentId' when calling EnvelopesApi->PutAttachment"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/templates"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/attachments/{attachmentId}"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -24112,9 +25310,14 @@ public ApiResponse ListTemplatesWithHttpInfo(string account localVarPathParams.Add("format", "json"); if (accountId != null) localVarPathParams.Add("accountId", this.ApiClient.ParameterToString(accountId)); // path parameter if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter - if (options != null) + if (attachmentId != null) localVarPathParams.Add("attachmentId", this.ApiClient.ParameterToString(attachmentId)); // path parameter + if (attachment != null && attachment.GetType() != typeof(byte[])) { - if (options.include != null) localVarQueryParams.Add("include", this.ApiClient.ParameterToString(options.include)); // query parameter + localVarPostBody = this.ApiClient.Serialize(attachment); // http body (model) parameter + } + else + { + localVarPostBody = attachment; // byte array } // authentication (docusignAccessCode) required @@ -24126,54 +25329,59 @@ public ApiResponse ListTemplatesWithHttpInfo(string account // make the HTTP request - DocuSignRequest localVarRequest = this.ApiClient.PrepareRequest(localVarPath, new HttpMethod("GET"), localVarQueryParams.ToList(), localVarPostBody, localVarHeaderParams.ToList(), localVarFormParams.ToList(), localVarPathParams.ToList(), localVarFileParams, localVarHttpContentType, localVarHttpContentDisposition); + DocuSignRequest localVarRequest = this.ApiClient.PrepareRequest(localVarPath, new HttpMethod("PUT"), localVarQueryParams.ToList(), localVarPostBody, localVarHeaderParams.ToList(), localVarFormParams.ToList(), localVarPathParams.ToList(), localVarFileParams, localVarHttpContentType, localVarHttpContentDisposition); DocuSignResponse localVarResponse = this.ApiClient.CallApi(localVarRequest); int localVarStatusCode = (int)localVarResponse.StatusCode; if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("ListTemplates", localVarResponse); + Exception exception = ExceptionFactory("PutAttachment", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (TemplateInformation)this.ApiClient.Deserialize(localVarResponse, typeof(TemplateInformation))); + (EnvelopeAttachmentsResult)this.ApiClient.Deserialize(localVarResponse, typeof(EnvelopeAttachmentsResult))); } /// - /// Get List of Templates used in an Envelope This returns a list of the server-side templates, their name and ID, used in an envelope. + /// Add an attachment to a DRAFT or IN-PROCESS envelope. Adds an attachment to a draft or in-process envelope. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// Options for modifying the behavior of the function. - /// Task of TemplateInformation - public async System.Threading.Tasks.Task ListTemplatesAsync(string accountId, string envelopeId, EnvelopesApi.ListTemplatesOptions options = null) + /// + /// (optional) + /// Task of EnvelopeAttachmentsResult + public async System.Threading.Tasks.Task PutAttachmentAsync(string accountId, string envelopeId, string attachmentId, Attachment attachment = null) { - ApiResponse localVarResponse = await ListTemplatesAsyncWithHttpInfo(accountId, envelopeId, options); + ApiResponse localVarResponse = await PutAttachmentAsyncWithHttpInfo(accountId, envelopeId, attachmentId, attachment); return localVarResponse.Data; } /// - /// Get List of Templates used in an Envelope This returns a list of the server-side templates, their name and ID, used in an envelope. + /// Add an attachment to a DRAFT or IN-PROCESS envelope. Adds an attachment to a draft or in-process envelope. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// Options for modifying the behavior of the function. - /// Task of ApiResponse (TemplateInformation) - public async System.Threading.Tasks.Task> ListTemplatesAsyncWithHttpInfo(string accountId, string envelopeId, EnvelopesApi.ListTemplatesOptions options = null) + /// + /// (optional) + /// Task of ApiResponse (EnvelopeAttachmentsResult) + public async System.Threading.Tasks.Task> PutAttachmentAsyncWithHttpInfo(string accountId, string envelopeId, string attachmentId, Attachment attachment = null) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->ListTemplates"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->PutAttachment"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->ListTemplates"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->PutAttachment"); + // verify the required parameter 'attachmentId' is set + if (attachmentId == null) + throw new ApiException(400, "Missing required parameter 'attachmentId' when calling EnvelopesApi->PutAttachment"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/templates"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/attachments/{attachmentId}"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -24200,9 +25408,14 @@ public async System.Threading.Tasks.Task> ListT localVarPathParams.Add("format", "json"); if (accountId != null) localVarPathParams.Add("accountId", this.ApiClient.ParameterToString(accountId)); // path parameter if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter - if (options != null) + if (attachmentId != null) localVarPathParams.Add("attachmentId", this.ApiClient.ParameterToString(attachmentId)); // path parameter + if (attachment != null && attachment.GetType() != typeof(byte[])) { - if (options.include != null) localVarQueryParams.Add("include", this.ApiClient.ParameterToString(options.include)); // query parameter + localVarPostBody = this.ApiClient.Serialize(attachment); // http body (model) parameter + } + else + { + localVarPostBody = attachment; // byte array } // authentication (docusignAccessCode) required @@ -24214,68 +25427,55 @@ public async System.Threading.Tasks.Task> ListT // make the HTTP request - DocuSignRequest localVarRequest = this.ApiClient.PrepareRequest(localVarPath, new HttpMethod("GET"), localVarQueryParams.ToList(), localVarPostBody, localVarHeaderParams.ToList(), localVarFormParams.ToList(), localVarPathParams.ToList(), localVarFileParams, localVarHttpContentType, localVarHttpContentDisposition); + DocuSignRequest localVarRequest = this.ApiClient.PrepareRequest(localVarPath, new HttpMethod("PUT"), 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("ListTemplates", localVarResponse); + Exception exception = ExceptionFactory("PutAttachment", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (TemplateInformation)this.ApiClient.Deserialize(localVarResponse, typeof(TemplateInformation))); + (EnvelopeAttachmentsResult)this.ApiClient.Deserialize(localVarResponse, typeof(EnvelopeAttachmentsResult))); } - /// - /// Gets the templates associated with a document in an existing envelope. Retrieves the templates associated with a document in the specified envelope. - /// - public class ListTemplatesForDocumentOptions - { - /// - public string include {get; set;} - } /// - /// Gets the templates associated with a document in an existing envelope. Retrieves the templates associated with a document in the specified envelope. + /// Add one or more attachments to a DRAFT or IN-PROCESS envelope. Adds one or more attachments to a draft or in-process envelope. Envelope attachments are files that an application can include in an envelope. They are not converted to PDF. Envelope attachments are available only through the API. There is no user interface in the DocuSign web application for them. For a list of supported file formats, see [Supported File Formats](https://support.docusign.com/guides/ndse-user-guide-supported-file-formats). /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// The ID of the document being accessed. - /// Options for modifying the behavior of the function. - /// TemplateInformation - public TemplateInformation ListTemplatesForDocument(string accountId, string envelopeId, string documentId, EnvelopesApi.ListTemplatesForDocumentOptions options = null) + /// (optional) + /// EnvelopeAttachmentsResult + public EnvelopeAttachmentsResult PutAttachments(string accountId, string envelopeId, EnvelopeAttachmentsRequest envelopeAttachmentsRequest = null) { - ApiResponse localVarResponse = ListTemplatesForDocumentWithHttpInfo(accountId, envelopeId, documentId, options); + ApiResponse localVarResponse = PutAttachmentsWithHttpInfo(accountId, envelopeId, envelopeAttachmentsRequest); return localVarResponse.Data; } /// - /// Gets the templates associated with a document in an existing envelope. Retrieves the templates associated with a document in the specified envelope. + /// Add one or more attachments to a DRAFT or IN-PROCESS envelope. Adds one or more attachments to a draft or in-process envelope. Envelope attachments are files that an application can include in an envelope. They are not converted to PDF. Envelope attachments are available only through the API. There is no user interface in the DocuSign web application for them. For a list of supported file formats, see [Supported File Formats](https://support.docusign.com/guides/ndse-user-guide-supported-file-formats). /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// The ID of the document being accessed. - /// Options for modifying the behavior of the function. - /// ApiResponse of TemplateInformation - public ApiResponse ListTemplatesForDocumentWithHttpInfo(string accountId, string envelopeId, string documentId, EnvelopesApi.ListTemplatesForDocumentOptions options = null) + /// (optional) + /// ApiResponse of EnvelopeAttachmentsResult + public ApiResponse PutAttachmentsWithHttpInfo(string accountId, string envelopeId, EnvelopeAttachmentsRequest envelopeAttachmentsRequest = null) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->ListTemplatesForDocument"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->PutAttachments"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->ListTemplatesForDocument"); - // verify the required parameter 'documentId' is set - if (documentId == null) - throw new ApiException(400, "Missing required parameter 'documentId' when calling EnvelopesApi->ListTemplatesForDocument"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->PutAttachments"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/templates"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/attachments"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -24302,10 +25502,13 @@ public ApiResponse ListTemplatesForDocumentWithHttpInfo(str localVarPathParams.Add("format", "json"); if (accountId != null) localVarPathParams.Add("accountId", this.ApiClient.ParameterToString(accountId)); // path parameter if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter - if (documentId != null) localVarPathParams.Add("documentId", this.ApiClient.ParameterToString(documentId)); // path parameter - if (options != null) + if (envelopeAttachmentsRequest != null && envelopeAttachmentsRequest.GetType() != typeof(byte[])) { - if (options.include != null) localVarQueryParams.Add("include", this.ApiClient.ParameterToString(options.include)); // query parameter + localVarPostBody = this.ApiClient.Serialize(envelopeAttachmentsRequest); // http body (model) parameter + } + else + { + localVarPostBody = envelopeAttachmentsRequest; // byte array } // authentication (docusignAccessCode) required @@ -24317,59 +25520,54 @@ public ApiResponse ListTemplatesForDocumentWithHttpInfo(str // make the HTTP request - DocuSignRequest localVarRequest = this.ApiClient.PrepareRequest(localVarPath, new HttpMethod("GET"), localVarQueryParams.ToList(), localVarPostBody, localVarHeaderParams.ToList(), localVarFormParams.ToList(), localVarPathParams.ToList(), localVarFileParams, localVarHttpContentType, localVarHttpContentDisposition); + DocuSignRequest localVarRequest = this.ApiClient.PrepareRequest(localVarPath, new HttpMethod("PUT"), localVarQueryParams.ToList(), localVarPostBody, localVarHeaderParams.ToList(), localVarFormParams.ToList(), localVarPathParams.ToList(), localVarFileParams, localVarHttpContentType, localVarHttpContentDisposition); DocuSignResponse localVarResponse = this.ApiClient.CallApi(localVarRequest); int localVarStatusCode = (int)localVarResponse.StatusCode; if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("ListTemplatesForDocument", localVarResponse); + Exception exception = ExceptionFactory("PutAttachments", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (TemplateInformation)this.ApiClient.Deserialize(localVarResponse, typeof(TemplateInformation))); + (EnvelopeAttachmentsResult)this.ApiClient.Deserialize(localVarResponse, typeof(EnvelopeAttachmentsResult))); } /// - /// Gets the templates associated with a document in an existing envelope. Retrieves the templates associated with a document in the specified envelope. + /// Add one or more attachments to a DRAFT or IN-PROCESS envelope. Adds one or more attachments to a draft or in-process envelope. Envelope attachments are files that an application can include in an envelope. They are not converted to PDF. Envelope attachments are available only through the API. There is no user interface in the DocuSign web application for them. For a list of supported file formats, see [Supported File Formats](https://support.docusign.com/guides/ndse-user-guide-supported-file-formats). /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// The ID of the document being accessed. - /// Options for modifying the behavior of the function. - /// Task of TemplateInformation - public async System.Threading.Tasks.Task ListTemplatesForDocumentAsync(string accountId, string envelopeId, string documentId, EnvelopesApi.ListTemplatesForDocumentOptions options = null) + /// (optional) + /// Task of EnvelopeAttachmentsResult + public async System.Threading.Tasks.Task PutAttachmentsAsync(string accountId, string envelopeId, EnvelopeAttachmentsRequest envelopeAttachmentsRequest = null) { - ApiResponse localVarResponse = await ListTemplatesForDocumentAsyncWithHttpInfo(accountId, envelopeId, documentId, options); + ApiResponse localVarResponse = await PutAttachmentsAsyncWithHttpInfo(accountId, envelopeId, envelopeAttachmentsRequest); return localVarResponse.Data; } /// - /// Gets the templates associated with a document in an existing envelope. Retrieves the templates associated with a document in the specified envelope. + /// Add one or more attachments to a DRAFT or IN-PROCESS envelope. Adds one or more attachments to a draft or in-process envelope. Envelope attachments are files that an application can include in an envelope. They are not converted to PDF. Envelope attachments are available only through the API. There is no user interface in the DocuSign web application for them. For a list of supported file formats, see [Supported File Formats](https://support.docusign.com/guides/ndse-user-guide-supported-file-formats). /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// The ID of the document being accessed. - /// Options for modifying the behavior of the function. - /// Task of ApiResponse (TemplateInformation) - public async System.Threading.Tasks.Task> ListTemplatesForDocumentAsyncWithHttpInfo(string accountId, string envelopeId, string documentId, EnvelopesApi.ListTemplatesForDocumentOptions options = null) + /// (optional) + /// Task of ApiResponse (EnvelopeAttachmentsResult) + public async System.Threading.Tasks.Task> PutAttachmentsAsyncWithHttpInfo(string accountId, string envelopeId, EnvelopeAttachmentsRequest envelopeAttachmentsRequest = null) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->ListTemplatesForDocument"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->PutAttachments"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->ListTemplatesForDocument"); - // verify the required parameter 'documentId' is set - if (documentId == null) - throw new ApiException(400, "Missing required parameter 'documentId' when calling EnvelopesApi->ListTemplatesForDocument"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->PutAttachments"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/templates"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/attachments"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -24396,10 +25594,13 @@ public async System.Threading.Tasks.Task> ListT localVarPathParams.Add("format", "json"); if (accountId != null) localVarPathParams.Add("accountId", this.ApiClient.ParameterToString(accountId)); // path parameter if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter - if (documentId != null) localVarPathParams.Add("documentId", this.ApiClient.ParameterToString(documentId)); // path parameter - if (options != null) + if (envelopeAttachmentsRequest != null && envelopeAttachmentsRequest.GetType() != typeof(byte[])) { - if (options.include != null) localVarQueryParams.Add("include", this.ApiClient.ParameterToString(options.include)); // query parameter + localVarPostBody = this.ApiClient.Serialize(envelopeAttachmentsRequest); // http body (model) parameter + } + else + { + localVarPostBody = envelopeAttachmentsRequest; // byte array } // authentication (docusignAccessCode) required @@ -24411,60 +25612,64 @@ public async System.Threading.Tasks.Task> ListT // make the HTTP request - DocuSignRequest localVarRequest = this.ApiClient.PrepareRequest(localVarPath, new HttpMethod("GET"), localVarQueryParams.ToList(), localVarPostBody, localVarHeaderParams.ToList(), localVarFormParams.ToList(), localVarPathParams.ToList(), localVarFileParams, localVarHttpContentType, localVarHttpContentDisposition); + DocuSignRequest localVarRequest = this.ApiClient.PrepareRequest(localVarPath, new HttpMethod("PUT"), 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("ListTemplatesForDocument", localVarResponse); + Exception exception = ExceptionFactory("PutAttachments", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (TemplateInformation)this.ApiClient.Deserialize(localVarResponse, typeof(TemplateInformation))); + (EnvelopeAttachmentsResult)this.ApiClient.Deserialize(localVarResponse, typeof(EnvelopeAttachmentsResult))); } /// - /// Add an attachment to a DRAFT or IN-PROCESS envelope. Adds an attachment to a draft or in-process envelope. + /// Rotates page image from an envelope for display. Rotates page image from an envelope for display. The page image can be rotated to the left or right. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// - /// (optional) - /// EnvelopeAttachmentsResult - public EnvelopeAttachmentsResult PutAttachment(string accountId, string envelopeId, string attachmentId, Attachment attachment = null) + /// The ID of the document being accessed. + /// The page number being accessed. + /// (optional) + /// + public void RotateDocumentPage(string accountId, string envelopeId, string documentId, string pageNumber, PageRequest pageRequest = null) { - ApiResponse localVarResponse = PutAttachmentWithHttpInfo(accountId, envelopeId, attachmentId, attachment); - return localVarResponse.Data; + RotateDocumentPageWithHttpInfo(accountId, envelopeId, documentId, pageNumber, pageRequest); } /// - /// Add an attachment to a DRAFT or IN-PROCESS envelope. Adds an attachment to a draft or in-process envelope. + /// Rotates page image from an envelope for display. Rotates page image from an envelope for display. The page image can be rotated to the left or right. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// - /// (optional) - /// ApiResponse of EnvelopeAttachmentsResult - public ApiResponse PutAttachmentWithHttpInfo(string accountId, string envelopeId, string attachmentId, Attachment attachment = null) + /// The ID of the document being accessed. + /// The page number being accessed. + /// (optional) + /// ApiResponse of Object(void) + public ApiResponse RotateDocumentPageWithHttpInfo(string accountId, string envelopeId, string documentId, string pageNumber, PageRequest pageRequest = null) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->PutAttachment"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->RotateDocumentPage"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->PutAttachment"); - // verify the required parameter 'attachmentId' is set - if (attachmentId == null) - throw new ApiException(400, "Missing required parameter 'attachmentId' when calling EnvelopesApi->PutAttachment"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->RotateDocumentPage"); + // verify the required parameter 'documentId' is set + if (documentId == null) + throw new ApiException(400, "Missing required parameter 'documentId' when calling EnvelopesApi->RotateDocumentPage"); + // verify the required parameter 'pageNumber' is set + if (pageNumber == null) + throw new ApiException(400, "Missing required parameter 'pageNumber' when calling EnvelopesApi->RotateDocumentPage"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/attachments/{attachmentId}"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/pages/{pageNumber}/page_image"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -24491,14 +25696,15 @@ public ApiResponse PutAttachmentWithHttpInfo(string a localVarPathParams.Add("format", "json"); if (accountId != null) localVarPathParams.Add("accountId", this.ApiClient.ParameterToString(accountId)); // path parameter if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter - if (attachmentId != null) localVarPathParams.Add("attachmentId", this.ApiClient.ParameterToString(attachmentId)); // path parameter - if (attachment != null && attachment.GetType() != typeof(byte[])) + if (documentId != null) localVarPathParams.Add("documentId", this.ApiClient.ParameterToString(documentId)); // path parameter + if (pageNumber != null) localVarPathParams.Add("pageNumber", this.ApiClient.ParameterToString(pageNumber)); // path parameter + if (pageRequest != null && pageRequest.GetType() != typeof(byte[])) { - localVarPostBody = this.ApiClient.Serialize(attachment); // http body (model) parameter + localVarPostBody = this.ApiClient.Serialize(pageRequest); // http body (model) parameter } else { - localVarPostBody = attachment; // byte array + localVarPostBody = pageRequest; // byte array } // authentication (docusignAccessCode) required @@ -24517,52 +25723,57 @@ public ApiResponse PutAttachmentWithHttpInfo(string a if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("PutAttachment", localVarResponse); + Exception exception = ExceptionFactory("RotateDocumentPage", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, - localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (EnvelopeAttachmentsResult)this.ApiClient.Deserialize(localVarResponse, typeof(EnvelopeAttachmentsResult))); + + return new ApiResponse(localVarStatusCode, + localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), + null); } /// - /// Add an attachment to a DRAFT or IN-PROCESS envelope. Adds an attachment to a draft or in-process envelope. + /// Rotates page image from an envelope for display. Rotates page image from an envelope for display. The page image can be rotated to the left or right. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// - /// (optional) - /// Task of EnvelopeAttachmentsResult - public async System.Threading.Tasks.Task PutAttachmentAsync(string accountId, string envelopeId, string attachmentId, Attachment attachment = null) + /// The ID of the document being accessed. + /// The page number being accessed. + /// (optional) + /// Task of void + public async System.Threading.Tasks.Task RotateDocumentPageAsync(string accountId, string envelopeId, string documentId, string pageNumber, PageRequest pageRequest = null) { - ApiResponse localVarResponse = await PutAttachmentAsyncWithHttpInfo(accountId, envelopeId, attachmentId, attachment); - return localVarResponse.Data; + await RotateDocumentPageAsyncWithHttpInfo(accountId, envelopeId, documentId, pageNumber, pageRequest); } /// - /// Add an attachment to a DRAFT or IN-PROCESS envelope. Adds an attachment to a draft or in-process envelope. + /// Rotates page image from an envelope for display. Rotates page image from an envelope for display. The page image can be rotated to the left or right. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// - /// (optional) - /// Task of ApiResponse (EnvelopeAttachmentsResult) - public async System.Threading.Tasks.Task> PutAttachmentAsyncWithHttpInfo(string accountId, string envelopeId, string attachmentId, Attachment attachment = null) + /// The ID of the document being accessed. + /// The page number being accessed. + /// (optional) + /// Task of ApiResponse + public async System.Threading.Tasks.Task> RotateDocumentPageAsyncWithHttpInfo(string accountId, string envelopeId, string documentId, string pageNumber, PageRequest pageRequest = null) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->PutAttachment"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->RotateDocumentPage"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->PutAttachment"); - // verify the required parameter 'attachmentId' is set - if (attachmentId == null) - throw new ApiException(400, "Missing required parameter 'attachmentId' when calling EnvelopesApi->PutAttachment"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->RotateDocumentPage"); + // verify the required parameter 'documentId' is set + if (documentId == null) + throw new ApiException(400, "Missing required parameter 'documentId' when calling EnvelopesApi->RotateDocumentPage"); + // verify the required parameter 'pageNumber' is set + if (pageNumber == null) + throw new ApiException(400, "Missing required parameter 'pageNumber' when calling EnvelopesApi->RotateDocumentPage"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/attachments/{attachmentId}"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/pages/{pageNumber}/page_image"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -24589,14 +25800,15 @@ public async System.Threading.Tasks.Task> localVarPathParams.Add("format", "json"); if (accountId != null) localVarPathParams.Add("accountId", this.ApiClient.ParameterToString(accountId)); // path parameter if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter - if (attachmentId != null) localVarPathParams.Add("attachmentId", this.ApiClient.ParameterToString(attachmentId)); // path parameter - if (attachment != null && attachment.GetType() != typeof(byte[])) + if (documentId != null) localVarPathParams.Add("documentId", this.ApiClient.ParameterToString(documentId)); // path parameter + if (pageNumber != null) localVarPathParams.Add("pageNumber", this.ApiClient.ParameterToString(pageNumber)); // path parameter + if (pageRequest != null && pageRequest.GetType() != typeof(byte[])) { - localVarPostBody = this.ApiClient.Serialize(attachment); // http body (model) parameter + localVarPostBody = this.ApiClient.Serialize(pageRequest); // http body (model) parameter } else { - localVarPostBody = attachment; // byte array + localVarPostBody = pageRequest; // byte array } // authentication (docusignAccessCode) required @@ -24615,48 +25827,63 @@ public async System.Threading.Tasks.Task> if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("PutAttachment", localVarResponse); + Exception exception = ExceptionFactory("RotateDocumentPage", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, - localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (EnvelopeAttachmentsResult)this.ApiClient.Deserialize(localVarResponse, typeof(EnvelopeAttachmentsResult))); + + return new ApiResponse(localVarStatusCode, + localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), + null); } + /// + /// Send Draft Envelope/Void Envelope/Move/Purge Envelope/Modify draft The Put Envelopes endpoint provides the following functionality: * Sends the specified single draft envelope. Add {\"status\":\"sent\"} to the request body to send the envelope. * Voids the specified in-process envelope. Add {\"status\":\"voided\", \"voidedReason\":\"The reason for voiding the envelope\"} to the request body to void the envelope. * Replaces the current email subject and message for a draft envelope. Add {\"emailSubject\":\"subject\", \"emailBlurb\":\"message\"} to the request body to modify the subject and message. * Place the envelope documents and envelope metadata in a purge queue so that this information is removed from the DocuSign system. Add {\"purgeState\":\"purge type\"} to the request body. *Additional information on purging documents* The purge request can only be used for completed envelopes that are not marked as the authoritative copy. The requesting user must have permission to purge documents and must be the sender (the requesting user can act as the sender using Send On Behalf Of). ###### Note: If you have set the Document Retention policy on your account, envelope documents are automatically placed in the purge queue and the warning emails are sent at the end of the retention period. ###### Note: You can set the Document Retention policy in the Classic DocuSign Experience by specifying the number of days to retain documents. ###### Note: Setting a Document Retention policy is the same as setting a schedule for purging documents. When the purge request is initiated the envelope documents, or documents and envelope metadata, are placed in a purge queue for deletion in 14 days. A warning email notification is sent to the sender and recipients associated with the envelope, notifying them that the envelope documents will be deleted in 14 days and providing a link to the documents. A second email is sent 7 days later with the same message. At the end of the 14-day period, the envelope documents are deleted from the system. If `purgeState=\"documents_queued\"` is used in the request, then only the documents are deleted and any corresponding attachments and tabs remain in the DocuSign system. If `purgeState= \"documents_and_metadata_queued\"` is used in the request, then the documents, attachments, and tabs are deleted. + /// + public class UpdateOptions + { + /// When set to **true**, allows the caller to update recipients, tabs, custom fields, notification, email settings and other envelope attributes. + public string advancedUpdate {get; set;} + /// + public string recycleOnVoid {get; set;} + /// When set to **true**, sends the specified envelope again. + public string resendEnvelope {get; set;} + } /// - /// Add one or more attachments to a DRAFT or IN-PROCESS envelope. Adds one or more attachments to a draft or in-process envelope. Envelope attachments are files that an application can include in an envelope. They are not converted to PDF. Envelope attachments are available only through the API. There is no user interface in the DocuSign web application for them. For a list of supported file formats, see [Supported File Formats](https://support.docusign.com/guides/ndse-user-guide-supported-file-formats). + /// Send Draft Envelope/Void Envelope/Move/Purge Envelope/Modify draft The Put Envelopes endpoint provides the following functionality: * Sends the specified single draft envelope. Add {\"status\":\"sent\"} to the request body to send the envelope. * Voids the specified in-process envelope. Add {\"status\":\"voided\", \"voidedReason\":\"The reason for voiding the envelope\"} to the request body to void the envelope. * Replaces the current email subject and message for a draft envelope. Add {\"emailSubject\":\"subject\", \"emailBlurb\":\"message\"} to the request body to modify the subject and message. * Place the envelope documents and envelope metadata in a purge queue so that this information is removed from the DocuSign system. Add {\"purgeState\":\"purge type\"} to the request body. *Additional information on purging documents* The purge request can only be used for completed envelopes that are not marked as the authoritative copy. The requesting user must have permission to purge documents and must be the sender (the requesting user can act as the sender using Send On Behalf Of). ###### Note: If you have set the Document Retention policy on your account, envelope documents are automatically placed in the purge queue and the warning emails are sent at the end of the retention period. ###### Note: You can set the Document Retention policy in the Classic DocuSign Experience by specifying the number of days to retain documents. ###### Note: Setting a Document Retention policy is the same as setting a schedule for purging documents. When the purge request is initiated the envelope documents, or documents and envelope metadata, are placed in a purge queue for deletion in 14 days. A warning email notification is sent to the sender and recipients associated with the envelope, notifying them that the envelope documents will be deleted in 14 days and providing a link to the documents. A second email is sent 7 days later with the same message. At the end of the 14-day period, the envelope documents are deleted from the system. If `purgeState=\"documents_queued\"` is used in the request, then only the documents are deleted and any corresponding attachments and tabs remain in the DocuSign system. If `purgeState= \"documents_and_metadata_queued\"` is used in the request, then the documents, attachments, and tabs are deleted. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// (optional) - /// EnvelopeAttachmentsResult - public EnvelopeAttachmentsResult PutAttachments(string accountId, string envelopeId, EnvelopeAttachmentsRequest envelopeAttachmentsRequest = null) + /// (optional) + /// Options for modifying the behavior of the function. + /// EnvelopeUpdateSummary + public EnvelopeUpdateSummary Update(string accountId, string envelopeId, Envelope envelope = null, EnvelopesApi.UpdateOptions options = null) { - ApiResponse localVarResponse = PutAttachmentsWithHttpInfo(accountId, envelopeId, envelopeAttachmentsRequest); + ApiResponse localVarResponse = UpdateWithHttpInfo(accountId, envelopeId, envelope, options); return localVarResponse.Data; } /// - /// Add one or more attachments to a DRAFT or IN-PROCESS envelope. Adds one or more attachments to a draft or in-process envelope. Envelope attachments are files that an application can include in an envelope. They are not converted to PDF. Envelope attachments are available only through the API. There is no user interface in the DocuSign web application for them. For a list of supported file formats, see [Supported File Formats](https://support.docusign.com/guides/ndse-user-guide-supported-file-formats). + /// Send Draft Envelope/Void Envelope/Move/Purge Envelope/Modify draft The Put Envelopes endpoint provides the following functionality: * Sends the specified single draft envelope. Add {\"status\":\"sent\"} to the request body to send the envelope. * Voids the specified in-process envelope. Add {\"status\":\"voided\", \"voidedReason\":\"The reason for voiding the envelope\"} to the request body to void the envelope. * Replaces the current email subject and message for a draft envelope. Add {\"emailSubject\":\"subject\", \"emailBlurb\":\"message\"} to the request body to modify the subject and message. * Place the envelope documents and envelope metadata in a purge queue so that this information is removed from the DocuSign system. Add {\"purgeState\":\"purge type\"} to the request body. *Additional information on purging documents* The purge request can only be used for completed envelopes that are not marked as the authoritative copy. The requesting user must have permission to purge documents and must be the sender (the requesting user can act as the sender using Send On Behalf Of). ###### Note: If you have set the Document Retention policy on your account, envelope documents are automatically placed in the purge queue and the warning emails are sent at the end of the retention period. ###### Note: You can set the Document Retention policy in the Classic DocuSign Experience by specifying the number of days to retain documents. ###### Note: Setting a Document Retention policy is the same as setting a schedule for purging documents. When the purge request is initiated the envelope documents, or documents and envelope metadata, are placed in a purge queue for deletion in 14 days. A warning email notification is sent to the sender and recipients associated with the envelope, notifying them that the envelope documents will be deleted in 14 days and providing a link to the documents. A second email is sent 7 days later with the same message. At the end of the 14-day period, the envelope documents are deleted from the system. If `purgeState=\"documents_queued\"` is used in the request, then only the documents are deleted and any corresponding attachments and tabs remain in the DocuSign system. If `purgeState= \"documents_and_metadata_queued\"` is used in the request, then the documents, attachments, and tabs are deleted. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// (optional) - /// ApiResponse of EnvelopeAttachmentsResult - public ApiResponse PutAttachmentsWithHttpInfo(string accountId, string envelopeId, EnvelopeAttachmentsRequest envelopeAttachmentsRequest = null) + /// (optional) + /// Options for modifying the behavior of the function. + /// ApiResponse of EnvelopeUpdateSummary + public ApiResponse UpdateWithHttpInfo(string accountId, string envelopeId, Envelope envelope = null, EnvelopesApi.UpdateOptions options = null) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->PutAttachments"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->Update"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->PutAttachments"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->Update"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/attachments"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -24683,13 +25910,19 @@ public ApiResponse PutAttachmentsWithHttpInfo(string localVarPathParams.Add("format", "json"); if (accountId != null) localVarPathParams.Add("accountId", this.ApiClient.ParameterToString(accountId)); // path parameter if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter - if (envelopeAttachmentsRequest != null && envelopeAttachmentsRequest.GetType() != typeof(byte[])) + if (options != null) { - localVarPostBody = this.ApiClient.Serialize(envelopeAttachmentsRequest); // http body (model) parameter + if (options.advancedUpdate != null) localVarQueryParams.Add("advanced_update", this.ApiClient.ParameterToString(options.advancedUpdate)); // query parameter + if (options.recycleOnVoid != null) localVarQueryParams.Add("recycle_on_void", this.ApiClient.ParameterToString(options.recycleOnVoid)); // query parameter + if (options.resendEnvelope != null) localVarQueryParams.Add("resend_envelope", this.ApiClient.ParameterToString(options.resendEnvelope)); // query parameter + } + if (envelope != null && envelope.GetType() != typeof(byte[])) + { + localVarPostBody = this.ApiClient.Serialize(envelope); // http body (model) parameter } else { - localVarPostBody = envelopeAttachmentsRequest; // byte array + localVarPostBody = envelope; // byte array } // authentication (docusignAccessCode) required @@ -24708,47 +25941,49 @@ public ApiResponse PutAttachmentsWithHttpInfo(string if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("PutAttachments", localVarResponse); + Exception exception = ExceptionFactory("Update", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (EnvelopeAttachmentsResult)this.ApiClient.Deserialize(localVarResponse, typeof(EnvelopeAttachmentsResult))); + (EnvelopeUpdateSummary)this.ApiClient.Deserialize(localVarResponse, typeof(EnvelopeUpdateSummary))); } /// - /// Add one or more attachments to a DRAFT or IN-PROCESS envelope. Adds one or more attachments to a draft or in-process envelope. Envelope attachments are files that an application can include in an envelope. They are not converted to PDF. Envelope attachments are available only through the API. There is no user interface in the DocuSign web application for them. For a list of supported file formats, see [Supported File Formats](https://support.docusign.com/guides/ndse-user-guide-supported-file-formats). + /// Send Draft Envelope/Void Envelope/Move/Purge Envelope/Modify draft The Put Envelopes endpoint provides the following functionality: * Sends the specified single draft envelope. Add {\"status\":\"sent\"} to the request body to send the envelope. * Voids the specified in-process envelope. Add {\"status\":\"voided\", \"voidedReason\":\"The reason for voiding the envelope\"} to the request body to void the envelope. * Replaces the current email subject and message for a draft envelope. Add {\"emailSubject\":\"subject\", \"emailBlurb\":\"message\"} to the request body to modify the subject and message. * Place the envelope documents and envelope metadata in a purge queue so that this information is removed from the DocuSign system. Add {\"purgeState\":\"purge type\"} to the request body. *Additional information on purging documents* The purge request can only be used for completed envelopes that are not marked as the authoritative copy. The requesting user must have permission to purge documents and must be the sender (the requesting user can act as the sender using Send On Behalf Of). ###### Note: If you have set the Document Retention policy on your account, envelope documents are automatically placed in the purge queue and the warning emails are sent at the end of the retention period. ###### Note: You can set the Document Retention policy in the Classic DocuSign Experience by specifying the number of days to retain documents. ###### Note: Setting a Document Retention policy is the same as setting a schedule for purging documents. When the purge request is initiated the envelope documents, or documents and envelope metadata, are placed in a purge queue for deletion in 14 days. A warning email notification is sent to the sender and recipients associated with the envelope, notifying them that the envelope documents will be deleted in 14 days and providing a link to the documents. A second email is sent 7 days later with the same message. At the end of the 14-day period, the envelope documents are deleted from the system. If `purgeState=\"documents_queued\"` is used in the request, then only the documents are deleted and any corresponding attachments and tabs remain in the DocuSign system. If `purgeState= \"documents_and_metadata_queued\"` is used in the request, then the documents, attachments, and tabs are deleted. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// (optional) - /// Task of EnvelopeAttachmentsResult - public async System.Threading.Tasks.Task PutAttachmentsAsync(string accountId, string envelopeId, EnvelopeAttachmentsRequest envelopeAttachmentsRequest = null) + /// (optional) + /// Options for modifying the behavior of the function. + /// Task of EnvelopeUpdateSummary + public async System.Threading.Tasks.Task UpdateAsync(string accountId, string envelopeId, Envelope envelope = null, EnvelopesApi.UpdateOptions options = null) { - ApiResponse localVarResponse = await PutAttachmentsAsyncWithHttpInfo(accountId, envelopeId, envelopeAttachmentsRequest); + ApiResponse localVarResponse = await UpdateAsyncWithHttpInfo(accountId, envelopeId, envelope, options); return localVarResponse.Data; } /// - /// Add one or more attachments to a DRAFT or IN-PROCESS envelope. Adds one or more attachments to a draft or in-process envelope. Envelope attachments are files that an application can include in an envelope. They are not converted to PDF. Envelope attachments are available only through the API. There is no user interface in the DocuSign web application for them. For a list of supported file formats, see [Supported File Formats](https://support.docusign.com/guides/ndse-user-guide-supported-file-formats). + /// Send Draft Envelope/Void Envelope/Move/Purge Envelope/Modify draft The Put Envelopes endpoint provides the following functionality: * Sends the specified single draft envelope. Add {\"status\":\"sent\"} to the request body to send the envelope. * Voids the specified in-process envelope. Add {\"status\":\"voided\", \"voidedReason\":\"The reason for voiding the envelope\"} to the request body to void the envelope. * Replaces the current email subject and message for a draft envelope. Add {\"emailSubject\":\"subject\", \"emailBlurb\":\"message\"} to the request body to modify the subject and message. * Place the envelope documents and envelope metadata in a purge queue so that this information is removed from the DocuSign system. Add {\"purgeState\":\"purge type\"} to the request body. *Additional information on purging documents* The purge request can only be used for completed envelopes that are not marked as the authoritative copy. The requesting user must have permission to purge documents and must be the sender (the requesting user can act as the sender using Send On Behalf Of). ###### Note: If you have set the Document Retention policy on your account, envelope documents are automatically placed in the purge queue and the warning emails are sent at the end of the retention period. ###### Note: You can set the Document Retention policy in the Classic DocuSign Experience by specifying the number of days to retain documents. ###### Note: Setting a Document Retention policy is the same as setting a schedule for purging documents. When the purge request is initiated the envelope documents, or documents and envelope metadata, are placed in a purge queue for deletion in 14 days. A warning email notification is sent to the sender and recipients associated with the envelope, notifying them that the envelope documents will be deleted in 14 days and providing a link to the documents. A second email is sent 7 days later with the same message. At the end of the 14-day period, the envelope documents are deleted from the system. If `purgeState=\"documents_queued\"` is used in the request, then only the documents are deleted and any corresponding attachments and tabs remain in the DocuSign system. If `purgeState= \"documents_and_metadata_queued\"` is used in the request, then the documents, attachments, and tabs are deleted. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// (optional) - /// Task of ApiResponse (EnvelopeAttachmentsResult) - public async System.Threading.Tasks.Task> PutAttachmentsAsyncWithHttpInfo(string accountId, string envelopeId, EnvelopeAttachmentsRequest envelopeAttachmentsRequest = null) + /// (optional) + /// Options for modifying the behavior of the function. + /// Task of ApiResponse (EnvelopeUpdateSummary) + public async System.Threading.Tasks.Task> UpdateAsyncWithHttpInfo(string accountId, string envelopeId, Envelope envelope = null, EnvelopesApi.UpdateOptions options = null) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->PutAttachments"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->Update"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->PutAttachments"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->Update"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/attachments"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -24775,13 +26010,19 @@ public async System.Threading.Tasks.Task> localVarPathParams.Add("format", "json"); if (accountId != null) localVarPathParams.Add("accountId", this.ApiClient.ParameterToString(accountId)); // path parameter if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter - if (envelopeAttachmentsRequest != null && envelopeAttachmentsRequest.GetType() != typeof(byte[])) + if (options != null) { - localVarPostBody = this.ApiClient.Serialize(envelopeAttachmentsRequest); // http body (model) parameter + if (options.advancedUpdate != null) localVarQueryParams.Add("advanced_update", this.ApiClient.ParameterToString(options.advancedUpdate)); // query parameter + if (options.recycleOnVoid != null) localVarQueryParams.Add("recycle_on_void", this.ApiClient.ParameterToString(options.recycleOnVoid)); // query parameter + if (options.resendEnvelope != null) localVarQueryParams.Add("resend_envelope", this.ApiClient.ParameterToString(options.resendEnvelope)); // query parameter + } + if (envelope != null && envelope.GetType() != typeof(byte[])) + { + localVarPostBody = this.ApiClient.Serialize(envelope); // http body (model) parameter } else { - localVarPostBody = envelopeAttachmentsRequest; // byte array + localVarPostBody = envelope; // byte array } // authentication (docusignAccessCode) required @@ -24800,57 +26041,56 @@ public async System.Threading.Tasks.Task> if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("PutAttachments", localVarResponse); + Exception exception = ExceptionFactory("Update", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (EnvelopeAttachmentsResult)this.ApiClient.Deserialize(localVarResponse, typeof(EnvelopeAttachmentsResult))); + (EnvelopeUpdateSummary)this.ApiClient.Deserialize(localVarResponse, typeof(EnvelopeUpdateSummary))); } + /// + /// Integrity-Check and Commit a ChunkedUpload, readying it for use elsewhere. This method checks the integrity of a chunked upload and then commits it. When this request is successful, the chunked upload is then ready to be referenced in other API calls. If the request is unsuccessful, ensure that you have uploaded all of the parts by using the Update method. **Note:** After you commit a chunked upload, it no longer accepts additional parts. + /// + public class UpdateChunkedUploadOptions + { + /// + public string action {get; set;} + } /// - /// Rotates page image from an envelope for display. Rotates page image from an envelope for display. The page image can be rotated to the left or right. + /// Integrity-Check and Commit a ChunkedUpload, readying it for use elsewhere. This method checks the integrity of a chunked upload and then commits it. When this request is successful, the chunked upload is then ready to be referenced in other API calls. If the request is unsuccessful, ensure that you have uploaded all of the parts by using the Update method. **Note:** After you commit a chunked upload, it no longer accepts additional parts. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// The envelopeId Guid of the envelope being accessed. - /// The ID of the document being accessed. - /// The page number being accessed. - /// (optional) - /// - public void RotateDocumentPage(string accountId, string envelopeId, string documentId, string pageNumber, PageRequest pageRequest = null) + /// + /// Options for modifying the behavior of the function. + /// ChunkedUploadResponse + public ChunkedUploadResponse UpdateChunkedUpload(string accountId, string chunkedUploadId, EnvelopesApi.UpdateChunkedUploadOptions options = null) { - RotateDocumentPageWithHttpInfo(accountId, envelopeId, documentId, pageNumber, pageRequest); + ApiResponse localVarResponse = UpdateChunkedUploadWithHttpInfo(accountId, chunkedUploadId, options); + return localVarResponse.Data; } /// - /// Rotates page image from an envelope for display. Rotates page image from an envelope for display. The page image can be rotated to the left or right. + /// Integrity-Check and Commit a ChunkedUpload, readying it for use elsewhere. This method checks the integrity of a chunked upload and then commits it. When this request is successful, the chunked upload is then ready to be referenced in other API calls. If the request is unsuccessful, ensure that you have uploaded all of the parts by using the Update method. **Note:** After you commit a chunked upload, it no longer accepts additional parts. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// The envelopeId Guid of the envelope being accessed. - /// The ID of the document being accessed. - /// The page number being accessed. - /// (optional) - /// ApiResponse of Object(void) - public ApiResponse RotateDocumentPageWithHttpInfo(string accountId, string envelopeId, string documentId, string pageNumber, PageRequest pageRequest = null) - { - // verify the required parameter 'accountId' is set - if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->RotateDocumentPage"); - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->RotateDocumentPage"); - // verify the required parameter 'documentId' is set - if (documentId == null) - throw new ApiException(400, "Missing required parameter 'documentId' when calling EnvelopesApi->RotateDocumentPage"); - // verify the required parameter 'pageNumber' is set - if (pageNumber == null) - throw new ApiException(400, "Missing required parameter 'pageNumber' when calling EnvelopesApi->RotateDocumentPage"); + /// + /// Options for modifying the behavior of the function. + /// ApiResponse of ChunkedUploadResponse + public ApiResponse UpdateChunkedUploadWithHttpInfo(string accountId, string chunkedUploadId, EnvelopesApi.UpdateChunkedUploadOptions options = null) + { + // verify the required parameter 'accountId' is set + if (accountId == null) + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->UpdateChunkedUpload"); + // verify the required parameter 'chunkedUploadId' is set + if (chunkedUploadId == null) + throw new ApiException(400, "Missing required parameter 'chunkedUploadId' when calling EnvelopesApi->UpdateChunkedUpload"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/pages/{pageNumber}/page_image"; + var localVarPath = "/v2.1/accounts/{accountId}/chunked_uploads/{chunkedUploadId}"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -24876,16 +26116,10 @@ public ApiResponse RotateDocumentPageWithHttpInfo(string accountId, stri // 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 (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter - if (documentId != null) localVarPathParams.Add("documentId", this.ApiClient.ParameterToString(documentId)); // path parameter - if (pageNumber != null) localVarPathParams.Add("pageNumber", this.ApiClient.ParameterToString(pageNumber)); // path parameter - if (pageRequest != null && pageRequest.GetType() != typeof(byte[])) - { - localVarPostBody = this.ApiClient.Serialize(pageRequest); // http body (model) parameter - } - else + if (chunkedUploadId != null) localVarPathParams.Add("chunkedUploadId", this.ApiClient.ParameterToString(chunkedUploadId)); // path parameter + if (options != null) { - localVarPostBody = pageRequest; // byte array + if (options.action != null) localVarQueryParams.Add("action", this.ApiClient.ParameterToString(options.action)); // query parameter } // authentication (docusignAccessCode) required @@ -24904,57 +26138,47 @@ public ApiResponse RotateDocumentPageWithHttpInfo(string accountId, stri if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("RotateDocumentPage", localVarResponse); + Exception exception = ExceptionFactory("UpdateChunkedUpload", localVarResponse); if (exception != null) throw exception; } - - return new ApiResponse(localVarStatusCode, - localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - null); + return new ApiResponse(localVarStatusCode, + localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), + (ChunkedUploadResponse)this.ApiClient.Deserialize(localVarResponse, typeof(ChunkedUploadResponse))); } /// - /// Rotates page image from an envelope for display. Rotates page image from an envelope for display. The page image can be rotated to the left or right. + /// Integrity-Check and Commit a ChunkedUpload, readying it for use elsewhere. This method checks the integrity of a chunked upload and then commits it. When this request is successful, the chunked upload is then ready to be referenced in other API calls. If the request is unsuccessful, ensure that you have uploaded all of the parts by using the Update method. **Note:** After you commit a chunked upload, it no longer accepts additional parts. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// The envelopeId Guid of the envelope being accessed. - /// The ID of the document being accessed. - /// The page number being accessed. - /// (optional) - /// Task of void - public async System.Threading.Tasks.Task RotateDocumentPageAsync(string accountId, string envelopeId, string documentId, string pageNumber, PageRequest pageRequest = null) + /// + /// Options for modifying the behavior of the function. + /// Task of ChunkedUploadResponse + public async System.Threading.Tasks.Task UpdateChunkedUploadAsync(string accountId, string chunkedUploadId, EnvelopesApi.UpdateChunkedUploadOptions options = null) { - await RotateDocumentPageAsyncWithHttpInfo(accountId, envelopeId, documentId, pageNumber, pageRequest); + ApiResponse localVarResponse = await UpdateChunkedUploadAsyncWithHttpInfo(accountId, chunkedUploadId, options); + return localVarResponse.Data; } /// - /// Rotates page image from an envelope for display. Rotates page image from an envelope for display. The page image can be rotated to the left or right. + /// Integrity-Check and Commit a ChunkedUpload, readying it for use elsewhere. This method checks the integrity of a chunked upload and then commits it. When this request is successful, the chunked upload is then ready to be referenced in other API calls. If the request is unsuccessful, ensure that you have uploaded all of the parts by using the Update method. **Note:** After you commit a chunked upload, it no longer accepts additional parts. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// The envelopeId Guid of the envelope being accessed. - /// The ID of the document being accessed. - /// The page number being accessed. - /// (optional) - /// Task of ApiResponse - public async System.Threading.Tasks.Task> RotateDocumentPageAsyncWithHttpInfo(string accountId, string envelopeId, string documentId, string pageNumber, PageRequest pageRequest = null) + /// + /// Options for modifying the behavior of the function. + /// Task of ApiResponse (ChunkedUploadResponse) + public async System.Threading.Tasks.Task> UpdateChunkedUploadAsyncWithHttpInfo(string accountId, string chunkedUploadId, EnvelopesApi.UpdateChunkedUploadOptions options = null) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->RotateDocumentPage"); - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->RotateDocumentPage"); - // verify the required parameter 'documentId' is set - if (documentId == null) - throw new ApiException(400, "Missing required parameter 'documentId' when calling EnvelopesApi->RotateDocumentPage"); - // verify the required parameter 'pageNumber' is set - if (pageNumber == null) - throw new ApiException(400, "Missing required parameter 'pageNumber' when calling EnvelopesApi->RotateDocumentPage"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->UpdateChunkedUpload"); + // verify the required parameter 'chunkedUploadId' is set + if (chunkedUploadId == null) + throw new ApiException(400, "Missing required parameter 'chunkedUploadId' when calling EnvelopesApi->UpdateChunkedUpload"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/pages/{pageNumber}/page_image"; + var localVarPath = "/v2.1/accounts/{accountId}/chunked_uploads/{chunkedUploadId}"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -24980,16 +26204,10 @@ public async System.Threading.Tasks.Task> RotateDocumentPage // 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 (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter - if (documentId != null) localVarPathParams.Add("documentId", this.ApiClient.ParameterToString(documentId)); // path parameter - if (pageNumber != null) localVarPathParams.Add("pageNumber", this.ApiClient.ParameterToString(pageNumber)); // path parameter - if (pageRequest != null && pageRequest.GetType() != typeof(byte[])) - { - localVarPostBody = this.ApiClient.Serialize(pageRequest); // http body (model) parameter - } - else + if (chunkedUploadId != null) localVarPathParams.Add("chunkedUploadId", this.ApiClient.ParameterToString(chunkedUploadId)); // path parameter + if (options != null) { - localVarPostBody = pageRequest; // byte array + if (options.action != null) localVarQueryParams.Add("action", this.ApiClient.ParameterToString(options.action)); // query parameter } // authentication (docusignAccessCode) required @@ -25008,63 +26226,53 @@ public async System.Threading.Tasks.Task> RotateDocumentPage if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("RotateDocumentPage", localVarResponse); + Exception exception = ExceptionFactory("UpdateChunkedUpload", localVarResponse); if (exception != null) throw exception; } - - return new ApiResponse(localVarStatusCode, - localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - null); + return new ApiResponse(localVarStatusCode, + localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), + (ChunkedUploadResponse)this.ApiClient.Deserialize(localVarResponse, typeof(ChunkedUploadResponse))); } - /// - /// Send Draft Envelope/Void Envelope/Move/Purge Envelope/Modify draft The Put Envelopes endpoint provides the following functionality: * Sends the specified single draft envelope. Add {\"status\":\"sent\"} to the request body to send the envelope. * Voids the specified in-process envelope. Add {\"status\":\"voided\", \"voidedReason\":\"The reason for voiding the envelope\"} to the request body to void the envelope. * Replaces the current email subject and message for a draft envelope. Add {\"emailSubject\":\"subject\", \"emailBlurb\":\"message\"} to the request body to modify the subject and message. * Place the envelope documents and envelope metadata in a purge queue so that this information is removed from the DocuSign system. Add {\"purgeState\":\"purge type\"} to the request body. *Additional information on purging documents* The purge request can only be used for completed envelopes that are not marked as the authoritative copy. The requesting user must have permission to purge documents and must be the sender (the requesting user can act as the sender using Send On Behalf Of). ###### Note: If you have set the Document Retention policy on your account, envelope documents are automatically placed in the purge queue and the warning emails are sent at the end of the retention period. ###### Note: You can set the Document Retention policy in the Classic DocuSign Experience by specifying the number of days to retain documents. ###### Note: Setting a Document Retention policy is the same as setting a schedule for purging documents. When the purge request is initiated the envelope documents, or documents and envelope metadata, are placed in a purge queue for deletion in 14 days. A warning email notification is sent to the sender and recipients associated with the envelope, notifying them that the envelope documents will be deleted in 14 days and providing a link to the documents. A second email is sent 7 days later with the same message. At the end of the 14-day period, the envelope documents are deleted from the system. If `purgeState=\"documents_queued\"` is used in the request, then only the documents are deleted and any corresponding attachments and tabs remain in the DocuSign system. If `purgeState= \"documents_and_metadata_queued\"` is used in the request, then the documents, attachments, and tabs are deleted. - /// - public class UpdateOptions - { - /// When set to **true**, allows the caller to update recipients, tabs, custom fields, notification, email settings and other envelope attributes. - public string advancedUpdate {get; set;} - /// - public string recycleOnVoid {get; set;} - /// When set to **true**, sends the specified envelope again. - public string resendEnvelope {get; set;} - } /// - /// Send Draft Envelope/Void Envelope/Move/Purge Envelope/Modify draft The Put Envelopes endpoint provides the following functionality: * Sends the specified single draft envelope. Add {\"status\":\"sent\"} to the request body to send the envelope. * Voids the specified in-process envelope. Add {\"status\":\"voided\", \"voidedReason\":\"The reason for voiding the envelope\"} to the request body to void the envelope. * Replaces the current email subject and message for a draft envelope. Add {\"emailSubject\":\"subject\", \"emailBlurb\":\"message\"} to the request body to modify the subject and message. * Place the envelope documents and envelope metadata in a purge queue so that this information is removed from the DocuSign system. Add {\"purgeState\":\"purge type\"} to the request body. *Additional information on purging documents* The purge request can only be used for completed envelopes that are not marked as the authoritative copy. The requesting user must have permission to purge documents and must be the sender (the requesting user can act as the sender using Send On Behalf Of). ###### Note: If you have set the Document Retention policy on your account, envelope documents are automatically placed in the purge queue and the warning emails are sent at the end of the retention period. ###### Note: You can set the Document Retention policy in the Classic DocuSign Experience by specifying the number of days to retain documents. ###### Note: Setting a Document Retention policy is the same as setting a schedule for purging documents. When the purge request is initiated the envelope documents, or documents and envelope metadata, are placed in a purge queue for deletion in 14 days. A warning email notification is sent to the sender and recipients associated with the envelope, notifying them that the envelope documents will be deleted in 14 days and providing a link to the documents. A second email is sent 7 days later with the same message. At the end of the 14-day period, the envelope documents are deleted from the system. If `purgeState=\"documents_queued\"` is used in the request, then only the documents are deleted and any corresponding attachments and tabs remain in the DocuSign system. If `purgeState= \"documents_and_metadata_queued\"` is used in the request, then the documents, attachments, and tabs are deleted. + /// Add a chunk, a chunk 'part', to an existing ChunkedUpload. Adds a chunk or part to an existing chunked upload. After you use the Create method to initiate a new chunked upload and upload the first part, use this method to upload subsequent parts. For simplicity, DocuSign recommends that you upload the parts in their sequential order ( 1,2, 3, 4, etc.). The Create method adds the first part and assigns it the `sequence` value `0`. As a result, DocuSign recommends that you start with a `sequence` value of `1` when you use this method, and continue uploading parts contiguously until you have uploaded the entirety of the original content to DocuSign. Example: ``` PUT /v2.1/accounts/{accountId}/chunked_uploads/{chunkedUploadId}/1 PUT /v2.1/accounts/{accountId}/chunked_uploads/{chunkedUploadId}/2 PUT /v2.1/accounts/{accountId}/chunked_uploads/{chunkedUploadId}/3 ``` **Note:** You cannot replace a part that DocuSign has already received, or add parts to a chunked upload that is already successfully committed. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// The envelopeId Guid of the envelope being accessed. - /// (optional) - /// Options for modifying the behavior of the function. - /// EnvelopeUpdateSummary - public EnvelopeUpdateSummary Update(string accountId, string envelopeId, Envelope envelope = null, EnvelopesApi.UpdateOptions options = null) + /// + /// + /// (optional) + /// ChunkedUploadResponse + public ChunkedUploadResponse UpdateChunkedUploadPart(string accountId, string chunkedUploadId, string chunkedUploadPartSeq, ChunkedUploadRequest chunkedUploadRequest = null) { - ApiResponse localVarResponse = UpdateWithHttpInfo(accountId, envelopeId, envelope, options); + ApiResponse localVarResponse = UpdateChunkedUploadPartWithHttpInfo(accountId, chunkedUploadId, chunkedUploadPartSeq, chunkedUploadRequest); return localVarResponse.Data; } /// - /// Send Draft Envelope/Void Envelope/Move/Purge Envelope/Modify draft The Put Envelopes endpoint provides the following functionality: * Sends the specified single draft envelope. Add {\"status\":\"sent\"} to the request body to send the envelope. * Voids the specified in-process envelope. Add {\"status\":\"voided\", \"voidedReason\":\"The reason for voiding the envelope\"} to the request body to void the envelope. * Replaces the current email subject and message for a draft envelope. Add {\"emailSubject\":\"subject\", \"emailBlurb\":\"message\"} to the request body to modify the subject and message. * Place the envelope documents and envelope metadata in a purge queue so that this information is removed from the DocuSign system. Add {\"purgeState\":\"purge type\"} to the request body. *Additional information on purging documents* The purge request can only be used for completed envelopes that are not marked as the authoritative copy. The requesting user must have permission to purge documents and must be the sender (the requesting user can act as the sender using Send On Behalf Of). ###### Note: If you have set the Document Retention policy on your account, envelope documents are automatically placed in the purge queue and the warning emails are sent at the end of the retention period. ###### Note: You can set the Document Retention policy in the Classic DocuSign Experience by specifying the number of days to retain documents. ###### Note: Setting a Document Retention policy is the same as setting a schedule for purging documents. When the purge request is initiated the envelope documents, or documents and envelope metadata, are placed in a purge queue for deletion in 14 days. A warning email notification is sent to the sender and recipients associated with the envelope, notifying them that the envelope documents will be deleted in 14 days and providing a link to the documents. A second email is sent 7 days later with the same message. At the end of the 14-day period, the envelope documents are deleted from the system. If `purgeState=\"documents_queued\"` is used in the request, then only the documents are deleted and any corresponding attachments and tabs remain in the DocuSign system. If `purgeState= \"documents_and_metadata_queued\"` is used in the request, then the documents, attachments, and tabs are deleted. + /// Add a chunk, a chunk 'part', to an existing ChunkedUpload. Adds a chunk or part to an existing chunked upload. After you use the Create method to initiate a new chunked upload and upload the first part, use this method to upload subsequent parts. For simplicity, DocuSign recommends that you upload the parts in their sequential order ( 1,2, 3, 4, etc.). The Create method adds the first part and assigns it the `sequence` value `0`. As a result, DocuSign recommends that you start with a `sequence` value of `1` when you use this method, and continue uploading parts contiguously until you have uploaded the entirety of the original content to DocuSign. Example: ``` PUT /v2.1/accounts/{accountId}/chunked_uploads/{chunkedUploadId}/1 PUT /v2.1/accounts/{accountId}/chunked_uploads/{chunkedUploadId}/2 PUT /v2.1/accounts/{accountId}/chunked_uploads/{chunkedUploadId}/3 ``` **Note:** You cannot replace a part that DocuSign has already received, or add parts to a chunked upload that is already successfully committed. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// The envelopeId Guid of the envelope being accessed. - /// (optional) - /// Options for modifying the behavior of the function. - /// ApiResponse of EnvelopeUpdateSummary - public ApiResponse UpdateWithHttpInfo(string accountId, string envelopeId, Envelope envelope = null, EnvelopesApi.UpdateOptions options = null) + /// + /// + /// (optional) + /// ApiResponse of ChunkedUploadResponse + public ApiResponse UpdateChunkedUploadPartWithHttpInfo(string accountId, string chunkedUploadId, string chunkedUploadPartSeq, ChunkedUploadRequest chunkedUploadRequest = null) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->Update"); - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->Update"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->UpdateChunkedUploadPart"); + // verify the required parameter 'chunkedUploadId' is set + if (chunkedUploadId == null) + throw new ApiException(400, "Missing required parameter 'chunkedUploadId' when calling EnvelopesApi->UpdateChunkedUploadPart"); + // verify the required parameter 'chunkedUploadPartSeq' is set + if (chunkedUploadPartSeq == null) + throw new ApiException(400, "Missing required parameter 'chunkedUploadPartSeq' when calling EnvelopesApi->UpdateChunkedUploadPart"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}"; + var localVarPath = "/v2.1/accounts/{accountId}/chunked_uploads/{chunkedUploadId}/{chunkedUploadPartSeq}"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -25090,20 +26298,15 @@ public ApiResponse UpdateWithHttpInfo(string accountId, s // 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 (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter - if (options != null) - { - if (options.advancedUpdate != null) localVarQueryParams.Add("advanced_update", this.ApiClient.ParameterToString(options.advancedUpdate)); // query parameter - if (options.recycleOnVoid != null) localVarQueryParams.Add("recycle_on_void", this.ApiClient.ParameterToString(options.recycleOnVoid)); // query parameter - if (options.resendEnvelope != null) localVarQueryParams.Add("resend_envelope", this.ApiClient.ParameterToString(options.resendEnvelope)); // query parameter - } - if (envelope != null && envelope.GetType() != typeof(byte[])) + if (chunkedUploadId != null) localVarPathParams.Add("chunkedUploadId", this.ApiClient.ParameterToString(chunkedUploadId)); // path parameter + if (chunkedUploadPartSeq != null) localVarPathParams.Add("chunkedUploadPartSeq", this.ApiClient.ParameterToString(chunkedUploadPartSeq)); // path parameter + if (chunkedUploadRequest != null && chunkedUploadRequest.GetType() != typeof(byte[])) { - localVarPostBody = this.ApiClient.Serialize(envelope); // http body (model) parameter + localVarPostBody = this.ApiClient.Serialize(chunkedUploadRequest); // http body (model) parameter } else { - localVarPostBody = envelope; // byte array + localVarPostBody = chunkedUploadRequest; // byte array } // authentication (docusignAccessCode) required @@ -25122,49 +26325,52 @@ public ApiResponse UpdateWithHttpInfo(string accountId, s if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("Update", localVarResponse); + Exception exception = ExceptionFactory("UpdateChunkedUploadPart", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (EnvelopeUpdateSummary)this.ApiClient.Deserialize(localVarResponse, typeof(EnvelopeUpdateSummary))); + (ChunkedUploadResponse)this.ApiClient.Deserialize(localVarResponse, typeof(ChunkedUploadResponse))); } /// - /// Send Draft Envelope/Void Envelope/Move/Purge Envelope/Modify draft The Put Envelopes endpoint provides the following functionality: * Sends the specified single draft envelope. Add {\"status\":\"sent\"} to the request body to send the envelope. * Voids the specified in-process envelope. Add {\"status\":\"voided\", \"voidedReason\":\"The reason for voiding the envelope\"} to the request body to void the envelope. * Replaces the current email subject and message for a draft envelope. Add {\"emailSubject\":\"subject\", \"emailBlurb\":\"message\"} to the request body to modify the subject and message. * Place the envelope documents and envelope metadata in a purge queue so that this information is removed from the DocuSign system. Add {\"purgeState\":\"purge type\"} to the request body. *Additional information on purging documents* The purge request can only be used for completed envelopes that are not marked as the authoritative copy. The requesting user must have permission to purge documents and must be the sender (the requesting user can act as the sender using Send On Behalf Of). ###### Note: If you have set the Document Retention policy on your account, envelope documents are automatically placed in the purge queue and the warning emails are sent at the end of the retention period. ###### Note: You can set the Document Retention policy in the Classic DocuSign Experience by specifying the number of days to retain documents. ###### Note: Setting a Document Retention policy is the same as setting a schedule for purging documents. When the purge request is initiated the envelope documents, or documents and envelope metadata, are placed in a purge queue for deletion in 14 days. A warning email notification is sent to the sender and recipients associated with the envelope, notifying them that the envelope documents will be deleted in 14 days and providing a link to the documents. A second email is sent 7 days later with the same message. At the end of the 14-day period, the envelope documents are deleted from the system. If `purgeState=\"documents_queued\"` is used in the request, then only the documents are deleted and any corresponding attachments and tabs remain in the DocuSign system. If `purgeState= \"documents_and_metadata_queued\"` is used in the request, then the documents, attachments, and tabs are deleted. + /// Add a chunk, a chunk 'part', to an existing ChunkedUpload. Adds a chunk or part to an existing chunked upload. After you use the Create method to initiate a new chunked upload and upload the first part, use this method to upload subsequent parts. For simplicity, DocuSign recommends that you upload the parts in their sequential order ( 1,2, 3, 4, etc.). The Create method adds the first part and assigns it the `sequence` value `0`. As a result, DocuSign recommends that you start with a `sequence` value of `1` when you use this method, and continue uploading parts contiguously until you have uploaded the entirety of the original content to DocuSign. Example: ``` PUT /v2.1/accounts/{accountId}/chunked_uploads/{chunkedUploadId}/1 PUT /v2.1/accounts/{accountId}/chunked_uploads/{chunkedUploadId}/2 PUT /v2.1/accounts/{accountId}/chunked_uploads/{chunkedUploadId}/3 ``` **Note:** You cannot replace a part that DocuSign has already received, or add parts to a chunked upload that is already successfully committed. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// The envelopeId Guid of the envelope being accessed. - /// (optional) - /// Options for modifying the behavior of the function. - /// Task of EnvelopeUpdateSummary - public async System.Threading.Tasks.Task UpdateAsync(string accountId, string envelopeId, Envelope envelope = null, EnvelopesApi.UpdateOptions options = null) + /// + /// + /// (optional) + /// Task of ChunkedUploadResponse + public async System.Threading.Tasks.Task UpdateChunkedUploadPartAsync(string accountId, string chunkedUploadId, string chunkedUploadPartSeq, ChunkedUploadRequest chunkedUploadRequest = null) { - ApiResponse localVarResponse = await UpdateAsyncWithHttpInfo(accountId, envelopeId, envelope, options); + ApiResponse localVarResponse = await UpdateChunkedUploadPartAsyncWithHttpInfo(accountId, chunkedUploadId, chunkedUploadPartSeq, chunkedUploadRequest); return localVarResponse.Data; } /// - /// Send Draft Envelope/Void Envelope/Move/Purge Envelope/Modify draft The Put Envelopes endpoint provides the following functionality: * Sends the specified single draft envelope. Add {\"status\":\"sent\"} to the request body to send the envelope. * Voids the specified in-process envelope. Add {\"status\":\"voided\", \"voidedReason\":\"The reason for voiding the envelope\"} to the request body to void the envelope. * Replaces the current email subject and message for a draft envelope. Add {\"emailSubject\":\"subject\", \"emailBlurb\":\"message\"} to the request body to modify the subject and message. * Place the envelope documents and envelope metadata in a purge queue so that this information is removed from the DocuSign system. Add {\"purgeState\":\"purge type\"} to the request body. *Additional information on purging documents* The purge request can only be used for completed envelopes that are not marked as the authoritative copy. The requesting user must have permission to purge documents and must be the sender (the requesting user can act as the sender using Send On Behalf Of). ###### Note: If you have set the Document Retention policy on your account, envelope documents are automatically placed in the purge queue and the warning emails are sent at the end of the retention period. ###### Note: You can set the Document Retention policy in the Classic DocuSign Experience by specifying the number of days to retain documents. ###### Note: Setting a Document Retention policy is the same as setting a schedule for purging documents. When the purge request is initiated the envelope documents, or documents and envelope metadata, are placed in a purge queue for deletion in 14 days. A warning email notification is sent to the sender and recipients associated with the envelope, notifying them that the envelope documents will be deleted in 14 days and providing a link to the documents. A second email is sent 7 days later with the same message. At the end of the 14-day period, the envelope documents are deleted from the system. If `purgeState=\"documents_queued\"` is used in the request, then only the documents are deleted and any corresponding attachments and tabs remain in the DocuSign system. If `purgeState= \"documents_and_metadata_queued\"` is used in the request, then the documents, attachments, and tabs are deleted. + /// Add a chunk, a chunk 'part', to an existing ChunkedUpload. Adds a chunk or part to an existing chunked upload. After you use the Create method to initiate a new chunked upload and upload the first part, use this method to upload subsequent parts. For simplicity, DocuSign recommends that you upload the parts in their sequential order ( 1,2, 3, 4, etc.). The Create method adds the first part and assigns it the `sequence` value `0`. As a result, DocuSign recommends that you start with a `sequence` value of `1` when you use this method, and continue uploading parts contiguously until you have uploaded the entirety of the original content to DocuSign. Example: ``` PUT /v2.1/accounts/{accountId}/chunked_uploads/{chunkedUploadId}/1 PUT /v2.1/accounts/{accountId}/chunked_uploads/{chunkedUploadId}/2 PUT /v2.1/accounts/{accountId}/chunked_uploads/{chunkedUploadId}/3 ``` **Note:** You cannot replace a part that DocuSign has already received, or add parts to a chunked upload that is already successfully committed. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// The envelopeId Guid of the envelope being accessed. - /// (optional) - /// Options for modifying the behavior of the function. - /// Task of ApiResponse (EnvelopeUpdateSummary) - public async System.Threading.Tasks.Task> UpdateAsyncWithHttpInfo(string accountId, string envelopeId, Envelope envelope = null, EnvelopesApi.UpdateOptions options = null) + /// + /// + /// (optional) + /// Task of ApiResponse (ChunkedUploadResponse) + public async System.Threading.Tasks.Task> UpdateChunkedUploadPartAsyncWithHttpInfo(string accountId, string chunkedUploadId, string chunkedUploadPartSeq, ChunkedUploadRequest chunkedUploadRequest = null) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->Update"); - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->Update"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->UpdateChunkedUploadPart"); + // verify the required parameter 'chunkedUploadId' is set + if (chunkedUploadId == null) + throw new ApiException(400, "Missing required parameter 'chunkedUploadId' when calling EnvelopesApi->UpdateChunkedUploadPart"); + // verify the required parameter 'chunkedUploadPartSeq' is set + if (chunkedUploadPartSeq == null) + throw new ApiException(400, "Missing required parameter 'chunkedUploadPartSeq' when calling EnvelopesApi->UpdateChunkedUploadPart"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}"; + var localVarPath = "/v2.1/accounts/{accountId}/chunked_uploads/{chunkedUploadId}/{chunkedUploadPartSeq}"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -25190,20 +26396,15 @@ public async System.Threading.Tasks.Task> Upd // 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 (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter - if (options != null) - { - if (options.advancedUpdate != null) localVarQueryParams.Add("advanced_update", this.ApiClient.ParameterToString(options.advancedUpdate)); // query parameter - if (options.recycleOnVoid != null) localVarQueryParams.Add("recycle_on_void", this.ApiClient.ParameterToString(options.recycleOnVoid)); // query parameter - if (options.resendEnvelope != null) localVarQueryParams.Add("resend_envelope", this.ApiClient.ParameterToString(options.resendEnvelope)); // query parameter - } - if (envelope != null && envelope.GetType() != typeof(byte[])) + if (chunkedUploadId != null) localVarPathParams.Add("chunkedUploadId", this.ApiClient.ParameterToString(chunkedUploadId)); // path parameter + if (chunkedUploadPartSeq != null) localVarPathParams.Add("chunkedUploadPartSeq", this.ApiClient.ParameterToString(chunkedUploadPartSeq)); // path parameter + if (chunkedUploadRequest != null && chunkedUploadRequest.GetType() != typeof(byte[])) { - localVarPostBody = this.ApiClient.Serialize(envelope); // http body (model) parameter + localVarPostBody = this.ApiClient.Serialize(chunkedUploadRequest); // http body (model) parameter } else { - localVarPostBody = envelope; // byte array + localVarPostBody = chunkedUploadRequest; // byte array } // authentication (docusignAccessCode) required @@ -25222,56 +26423,48 @@ public async System.Threading.Tasks.Task> Upd if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("Update", localVarResponse); + Exception exception = ExceptionFactory("UpdateChunkedUploadPart", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (EnvelopeUpdateSummary)this.ApiClient.Deserialize(localVarResponse, typeof(EnvelopeUpdateSummary))); + (ChunkedUploadResponse)this.ApiClient.Deserialize(localVarResponse, typeof(ChunkedUploadResponse))); } - /// - /// Integrity-Check and Commit a ChunkedUpload, readying it for use elsewhere. This method checks the integrity of a chunked upload and then commits it. When this request is successful, the chunked upload is then ready to be referenced in other API calls. If the request is unsuccessful, ensure that you have uploaded all of the parts by using the Update method. **Note:** After you commit a chunked upload, it no longer accepts additional parts. - /// - public class UpdateChunkedUploadOptions - { - /// - public string action {get; set;} - } /// - /// Integrity-Check and Commit a ChunkedUpload, readying it for use elsewhere. This method checks the integrity of a chunked upload and then commits it. When this request is successful, the chunked upload is then ready to be referenced in other API calls. If the request is unsuccessful, ensure that you have uploaded all of the parts by using the Update method. **Note:** After you commit a chunked upload, it no longer accepts additional parts. + /// Updates envelope custom fields in an envelope. Updates the envelope custom fields in draft and in-process envelopes. Each custom field used in an envelope must have a unique name. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// - /// Options for modifying the behavior of the function. - /// ChunkedUploadResponse - public ChunkedUploadResponse UpdateChunkedUpload(string accountId, string chunkedUploadId, EnvelopesApi.UpdateChunkedUploadOptions options = null) + /// The envelopeId Guid of the envelope being accessed. + /// (optional) + /// CustomFields + public CustomFields UpdateCustomFields(string accountId, string envelopeId, CustomFields customFields = null) { - ApiResponse localVarResponse = UpdateChunkedUploadWithHttpInfo(accountId, chunkedUploadId, options); + ApiResponse localVarResponse = UpdateCustomFieldsWithHttpInfo(accountId, envelopeId, customFields); return localVarResponse.Data; } /// - /// Integrity-Check and Commit a ChunkedUpload, readying it for use elsewhere. This method checks the integrity of a chunked upload and then commits it. When this request is successful, the chunked upload is then ready to be referenced in other API calls. If the request is unsuccessful, ensure that you have uploaded all of the parts by using the Update method. **Note:** After you commit a chunked upload, it no longer accepts additional parts. + /// Updates envelope custom fields in an envelope. Updates the envelope custom fields in draft and in-process envelopes. Each custom field used in an envelope must have a unique name. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// - /// Options for modifying the behavior of the function. - /// ApiResponse of ChunkedUploadResponse - public ApiResponse UpdateChunkedUploadWithHttpInfo(string accountId, string chunkedUploadId, EnvelopesApi.UpdateChunkedUploadOptions options = null) + /// The envelopeId Guid of the envelope being accessed. + /// (optional) + /// ApiResponse of CustomFields + public ApiResponse UpdateCustomFieldsWithHttpInfo(string accountId, string envelopeId, CustomFields customFields = null) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->UpdateChunkedUpload"); - // verify the required parameter 'chunkedUploadId' is set - if (chunkedUploadId == null) - throw new ApiException(400, "Missing required parameter 'chunkedUploadId' when calling EnvelopesApi->UpdateChunkedUpload"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->UpdateCustomFields"); + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->UpdateCustomFields"); - var localVarPath = "/v2.1/accounts/{accountId}/chunked_uploads/{chunkedUploadId}"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/custom_fields"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -25297,10 +26490,14 @@ public ApiResponse UpdateChunkedUploadWithHttpInfo(string // 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 (chunkedUploadId != null) localVarPathParams.Add("chunkedUploadId", this.ApiClient.ParameterToString(chunkedUploadId)); // path parameter - if (options != null) + if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter + if (customFields != null && customFields.GetType() != typeof(byte[])) { - if (options.action != null) localVarQueryParams.Add("action", this.ApiClient.ParameterToString(options.action)); // query parameter + localVarPostBody = this.ApiClient.Serialize(customFields); // http body (model) parameter + } + else + { + localVarPostBody = customFields; // byte array } // authentication (docusignAccessCode) required @@ -25319,47 +26516,47 @@ public ApiResponse UpdateChunkedUploadWithHttpInfo(string if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("UpdateChunkedUpload", localVarResponse); + Exception exception = ExceptionFactory("UpdateCustomFields", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (ChunkedUploadResponse)this.ApiClient.Deserialize(localVarResponse, typeof(ChunkedUploadResponse))); + (CustomFields)this.ApiClient.Deserialize(localVarResponse, typeof(CustomFields))); } /// - /// Integrity-Check and Commit a ChunkedUpload, readying it for use elsewhere. This method checks the integrity of a chunked upload and then commits it. When this request is successful, the chunked upload is then ready to be referenced in other API calls. If the request is unsuccessful, ensure that you have uploaded all of the parts by using the Update method. **Note:** After you commit a chunked upload, it no longer accepts additional parts. + /// Updates envelope custom fields in an envelope. Updates the envelope custom fields in draft and in-process envelopes. Each custom field used in an envelope must have a unique name. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// - /// Options for modifying the behavior of the function. - /// Task of ChunkedUploadResponse - public async System.Threading.Tasks.Task UpdateChunkedUploadAsync(string accountId, string chunkedUploadId, EnvelopesApi.UpdateChunkedUploadOptions options = null) + /// The envelopeId Guid of the envelope being accessed. + /// (optional) + /// Task of CustomFields + public async System.Threading.Tasks.Task UpdateCustomFieldsAsync(string accountId, string envelopeId, CustomFields customFields = null) { - ApiResponse localVarResponse = await UpdateChunkedUploadAsyncWithHttpInfo(accountId, chunkedUploadId, options); + ApiResponse localVarResponse = await UpdateCustomFieldsAsyncWithHttpInfo(accountId, envelopeId, customFields); return localVarResponse.Data; } /// - /// Integrity-Check and Commit a ChunkedUpload, readying it for use elsewhere. This method checks the integrity of a chunked upload and then commits it. When this request is successful, the chunked upload is then ready to be referenced in other API calls. If the request is unsuccessful, ensure that you have uploaded all of the parts by using the Update method. **Note:** After you commit a chunked upload, it no longer accepts additional parts. + /// Updates envelope custom fields in an envelope. Updates the envelope custom fields in draft and in-process envelopes. Each custom field used in an envelope must have a unique name. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// - /// Options for modifying the behavior of the function. - /// Task of ApiResponse (ChunkedUploadResponse) - public async System.Threading.Tasks.Task> UpdateChunkedUploadAsyncWithHttpInfo(string accountId, string chunkedUploadId, EnvelopesApi.UpdateChunkedUploadOptions options = null) + /// The envelopeId Guid of the envelope being accessed. + /// (optional) + /// Task of ApiResponse (CustomFields) + public async System.Threading.Tasks.Task> UpdateCustomFieldsAsyncWithHttpInfo(string accountId, string envelopeId, CustomFields customFields = null) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->UpdateChunkedUpload"); - // verify the required parameter 'chunkedUploadId' is set - if (chunkedUploadId == null) - throw new ApiException(400, "Missing required parameter 'chunkedUploadId' when calling EnvelopesApi->UpdateChunkedUpload"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->UpdateCustomFields"); + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->UpdateCustomFields"); - var localVarPath = "/v2.1/accounts/{accountId}/chunked_uploads/{chunkedUploadId}"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/custom_fields"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -25385,10 +26582,14 @@ public async System.Threading.Tasks.Task> Upd // 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 (chunkedUploadId != null) localVarPathParams.Add("chunkedUploadId", this.ApiClient.ParameterToString(chunkedUploadId)); // path parameter - if (options != null) + if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter + if (customFields != null && customFields.GetType() != typeof(byte[])) { - if (options.action != null) localVarQueryParams.Add("action", this.ApiClient.ParameterToString(options.action)); // query parameter + localVarPostBody = this.ApiClient.Serialize(customFields); // http body (model) parameter + } + else + { + localVarPostBody = customFields; // byte array } // authentication (docusignAccessCode) required @@ -25407,53 +26608,56 @@ public async System.Threading.Tasks.Task> Upd if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("UpdateChunkedUpload", localVarResponse); + Exception exception = ExceptionFactory("UpdateCustomFields", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (ChunkedUploadResponse)this.ApiClient.Deserialize(localVarResponse, typeof(ChunkedUploadResponse))); + (CustomFields)this.ApiClient.Deserialize(localVarResponse, typeof(CustomFields))); } /// - /// Add a chunk, a chunk 'part', to an existing ChunkedUpload. Adds a chunk or part to an existing chunked upload. After you use the Create method to initiate a new chunked upload and upload the first part, use this method to upload subsequent parts. For simplicity, DocuSign recommends that you upload the parts in their sequential order ( 1,2, 3, 4, etc.). The Create method adds the first part and assigns it the `sequence` value `0`. As a result, DocuSign recommends that you start with a `sequence` value of `1` when you use this method, and continue uploading parts contiguously until you have uploaded the entirety of the original content to DocuSign. Example: ``` PUT /v2.1/accounts/{accountId}/chunked_uploads/{chunkedUploadId}/1 PUT /v2.1/accounts/{accountId}/chunked_uploads/{chunkedUploadId}/2 PUT /v2.1/accounts/{accountId}/chunked_uploads/{chunkedUploadId}/3 ``` **Note:** You cannot replace a part that DocuSign has already received, or add parts to a chunked upload that is already successfully committed. + /// Adds a document to an existing draft envelope. Adds a document to an existing draft envelope. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// - /// - /// (optional) - /// ChunkedUploadResponse - public ChunkedUploadResponse UpdateChunkedUploadPart(string accountId, string chunkedUploadId, string chunkedUploadPartSeq, ChunkedUploadRequest chunkedUploadRequest = null) + /// The envelopeId Guid of the envelope being accessed. + /// The ID of the document being accessed. + /// Updated document content. + /// EnvelopeDocument + public EnvelopeDocument UpdateDocument(string accountId, string envelopeId, string documentId, byte[] documentFileBytes) { - ApiResponse localVarResponse = UpdateChunkedUploadPartWithHttpInfo(accountId, chunkedUploadId, chunkedUploadPartSeq, chunkedUploadRequest); + ApiResponse localVarResponse = UpdateDocumentWithHttpInfo(accountId, envelopeId, documentId, documentFileBytes); return localVarResponse.Data; } /// - /// Add a chunk, a chunk 'part', to an existing ChunkedUpload. Adds a chunk or part to an existing chunked upload. After you use the Create method to initiate a new chunked upload and upload the first part, use this method to upload subsequent parts. For simplicity, DocuSign recommends that you upload the parts in their sequential order ( 1,2, 3, 4, etc.). The Create method adds the first part and assigns it the `sequence` value `0`. As a result, DocuSign recommends that you start with a `sequence` value of `1` when you use this method, and continue uploading parts contiguously until you have uploaded the entirety of the original content to DocuSign. Example: ``` PUT /v2.1/accounts/{accountId}/chunked_uploads/{chunkedUploadId}/1 PUT /v2.1/accounts/{accountId}/chunked_uploads/{chunkedUploadId}/2 PUT /v2.1/accounts/{accountId}/chunked_uploads/{chunkedUploadId}/3 ``` **Note:** You cannot replace a part that DocuSign has already received, or add parts to a chunked upload that is already successfully committed. + /// Adds a document to an existing draft envelope. Adds a document to an existing draft envelope. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// - /// - /// (optional) - /// ApiResponse of ChunkedUploadResponse - public ApiResponse UpdateChunkedUploadPartWithHttpInfo(string accountId, string chunkedUploadId, string chunkedUploadPartSeq, ChunkedUploadRequest chunkedUploadRequest = null) + /// The envelopeId Guid of the envelope being accessed. + /// The ID of the document being accessed. + /// Updated document content. + /// ApiResponse of EnvelopeDocument + public ApiResponse UpdateDocumentWithHttpInfo(string accountId, string envelopeId, string documentId, byte[] documentFileBytes) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->UpdateChunkedUploadPart"); - // verify the required parameter 'chunkedUploadId' is set - if (chunkedUploadId == null) - throw new ApiException(400, "Missing required parameter 'chunkedUploadId' when calling EnvelopesApi->UpdateChunkedUploadPart"); - // verify the required parameter 'chunkedUploadPartSeq' is set - if (chunkedUploadPartSeq == null) - throw new ApiException(400, "Missing required parameter 'chunkedUploadPartSeq' when calling EnvelopesApi->UpdateChunkedUploadPart"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->UpdateDocument"); + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->UpdateDocument"); + // verify the required parameter 'documentId' is set + if (documentId == null) + throw new ApiException(400, "Missing required parameter 'documentId' when calling EnvelopesApi->UpdateDocument"); + // verify the required parameter 'documentFileBytes' is set + if (documentFileBytes == null) + throw new ApiException(400, "Missing required parameter 'documentFileBytes' when calling EnvelopesApi->UpdateDocument"); - var localVarPath = "/v2.1/accounts/{accountId}/chunked_uploads/{chunkedUploadId}/{chunkedUploadPartSeq}"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -25464,6 +26668,7 @@ public ApiResponse UpdateChunkedUploadPartWithHttpInfo(st // to determine the Content-Type header String[] localVarHttpContentTypes = new String[] { + "application/pdf" }; String localVarHttpContentType = this.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); @@ -25479,15 +26684,15 @@ public ApiResponse UpdateChunkedUploadPartWithHttpInfo(st // 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 (chunkedUploadId != null) localVarPathParams.Add("chunkedUploadId", this.ApiClient.ParameterToString(chunkedUploadId)); // path parameter - if (chunkedUploadPartSeq != null) localVarPathParams.Add("chunkedUploadPartSeq", this.ApiClient.ParameterToString(chunkedUploadPartSeq)); // path parameter - if (chunkedUploadRequest != null && chunkedUploadRequest.GetType() != typeof(byte[])) + if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter + if (documentId != null) localVarPathParams.Add("documentId", this.ApiClient.ParameterToString(documentId)); // path parameter + if (documentFileBytes != null && documentFileBytes.GetType() != typeof(byte[])) { - localVarPostBody = this.ApiClient.Serialize(chunkedUploadRequest); // http body (model) parameter + localVarPostBody = this.ApiClient.Serialize(documentFileBytes); // http body (model) parameter } else { - localVarPostBody = chunkedUploadRequest; // byte array + localVarPostBody = documentFileBytes; // byte array } // authentication (docusignAccessCode) required @@ -25506,52 +26711,55 @@ public ApiResponse UpdateChunkedUploadPartWithHttpInfo(st if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("UpdateChunkedUploadPart", localVarResponse); + Exception exception = ExceptionFactory("UpdateDocument", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (ChunkedUploadResponse)this.ApiClient.Deserialize(localVarResponse, typeof(ChunkedUploadResponse))); + (EnvelopeDocument)this.ApiClient.Deserialize(localVarResponse, typeof(EnvelopeDocument))); } /// - /// Add a chunk, a chunk 'part', to an existing ChunkedUpload. Adds a chunk or part to an existing chunked upload. After you use the Create method to initiate a new chunked upload and upload the first part, use this method to upload subsequent parts. For simplicity, DocuSign recommends that you upload the parts in their sequential order ( 1,2, 3, 4, etc.). The Create method adds the first part and assigns it the `sequence` value `0`. As a result, DocuSign recommends that you start with a `sequence` value of `1` when you use this method, and continue uploading parts contiguously until you have uploaded the entirety of the original content to DocuSign. Example: ``` PUT /v2.1/accounts/{accountId}/chunked_uploads/{chunkedUploadId}/1 PUT /v2.1/accounts/{accountId}/chunked_uploads/{chunkedUploadId}/2 PUT /v2.1/accounts/{accountId}/chunked_uploads/{chunkedUploadId}/3 ``` **Note:** You cannot replace a part that DocuSign has already received, or add parts to a chunked upload that is already successfully committed. + /// Adds a document to an existing draft envelope. Adds a document to an existing draft envelope. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// - /// - /// (optional) - /// Task of ChunkedUploadResponse - public async System.Threading.Tasks.Task UpdateChunkedUploadPartAsync(string accountId, string chunkedUploadId, string chunkedUploadPartSeq, ChunkedUploadRequest chunkedUploadRequest = null) + /// The envelopeId Guid of the envelope being accessed. + /// The ID of the document being accessed. + /// Updated document content. + /// Task of EnvelopeDocument + public async System.Threading.Tasks.Task UpdateDocumentAsync(string accountId, string envelopeId, string documentId, byte[] documentFileBytes) { - ApiResponse localVarResponse = await UpdateChunkedUploadPartAsyncWithHttpInfo(accountId, chunkedUploadId, chunkedUploadPartSeq, chunkedUploadRequest); + ApiResponse localVarResponse = await UpdateDocumentAsyncWithHttpInfo(accountId, envelopeId, documentId, documentFileBytes); return localVarResponse.Data; } /// - /// Add a chunk, a chunk 'part', to an existing ChunkedUpload. Adds a chunk or part to an existing chunked upload. After you use the Create method to initiate a new chunked upload and upload the first part, use this method to upload subsequent parts. For simplicity, DocuSign recommends that you upload the parts in their sequential order ( 1,2, 3, 4, etc.). The Create method adds the first part and assigns it the `sequence` value `0`. As a result, DocuSign recommends that you start with a `sequence` value of `1` when you use this method, and continue uploading parts contiguously until you have uploaded the entirety of the original content to DocuSign. Example: ``` PUT /v2.1/accounts/{accountId}/chunked_uploads/{chunkedUploadId}/1 PUT /v2.1/accounts/{accountId}/chunked_uploads/{chunkedUploadId}/2 PUT /v2.1/accounts/{accountId}/chunked_uploads/{chunkedUploadId}/3 ``` **Note:** You cannot replace a part that DocuSign has already received, or add parts to a chunked upload that is already successfully committed. + /// Adds a document to an existing draft envelope. Adds a document to an existing draft envelope. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// - /// - /// (optional) - /// Task of ApiResponse (ChunkedUploadResponse) - public async System.Threading.Tasks.Task> UpdateChunkedUploadPartAsyncWithHttpInfo(string accountId, string chunkedUploadId, string chunkedUploadPartSeq, ChunkedUploadRequest chunkedUploadRequest = null) + /// The envelopeId Guid of the envelope being accessed. + /// The ID of the document being accessed. + /// Updated document content. + /// Task of ApiResponse (EnvelopeDocument) + public async System.Threading.Tasks.Task> UpdateDocumentAsyncWithHttpInfo(string accountId, string envelopeId, string documentId, byte[] documentFileBytes) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->UpdateChunkedUploadPart"); - // verify the required parameter 'chunkedUploadId' is set - if (chunkedUploadId == null) - throw new ApiException(400, "Missing required parameter 'chunkedUploadId' when calling EnvelopesApi->UpdateChunkedUploadPart"); - // verify the required parameter 'chunkedUploadPartSeq' is set - if (chunkedUploadPartSeq == null) - throw new ApiException(400, "Missing required parameter 'chunkedUploadPartSeq' when calling EnvelopesApi->UpdateChunkedUploadPart"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->UpdateDocument"); + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->UpdateDocument"); + // verify the required parameter 'documentId' is set + if (documentId == null) + throw new ApiException(400, "Missing required parameter 'documentId' when calling EnvelopesApi->UpdateDocument"); + // verify the required parameter 'documentFileBytes' is set + if (documentFileBytes == null) + throw new ApiException(400, "Missing required parameter 'documentFileBytes' when calling EnvelopesApi->UpdateDocument"); - var localVarPath = "/v2.1/accounts/{accountId}/chunked_uploads/{chunkedUploadId}/{chunkedUploadPartSeq}"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -25562,6 +26770,7 @@ public async System.Threading.Tasks.Task> Upd // to determine the Content-Type header String[] localVarHttpContentTypes = new String[] { + "application/pdf" }; String localVarHttpContentType = this.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); @@ -25577,15 +26786,15 @@ public async System.Threading.Tasks.Task> Upd // 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 (chunkedUploadId != null) localVarPathParams.Add("chunkedUploadId", this.ApiClient.ParameterToString(chunkedUploadId)); // path parameter - if (chunkedUploadPartSeq != null) localVarPathParams.Add("chunkedUploadPartSeq", this.ApiClient.ParameterToString(chunkedUploadPartSeq)); // path parameter - if (chunkedUploadRequest != null && chunkedUploadRequest.GetType() != typeof(byte[])) + if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter + if (documentId != null) localVarPathParams.Add("documentId", this.ApiClient.ParameterToString(documentId)); // path parameter + if (documentFileBytes != null && documentFileBytes.GetType() != typeof(byte[])) { - localVarPostBody = this.ApiClient.Serialize(chunkedUploadRequest); // http body (model) parameter + localVarPostBody = this.ApiClient.Serialize(documentFileBytes); // http body (model) parameter } else { - localVarPostBody = chunkedUploadRequest; // byte array + localVarPostBody = documentFileBytes; // byte array } // authentication (docusignAccessCode) required @@ -25604,48 +26813,53 @@ public async System.Threading.Tasks.Task> Upd if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("UpdateChunkedUploadPart", localVarResponse); + Exception exception = ExceptionFactory("UpdateDocument", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (ChunkedUploadResponse)this.ApiClient.Deserialize(localVarResponse, typeof(ChunkedUploadResponse))); + (EnvelopeDocument)this.ApiClient.Deserialize(localVarResponse, typeof(EnvelopeDocument))); } /// - /// Updates envelope custom fields in an envelope. Updates the envelope custom fields in draft and in-process envelopes. Each custom field used in an envelope must have a unique name. + /// Updates existing custom document fields in an existing envelope document. Updates existing custom document fields in an existing envelope document. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// (optional) - /// CustomFields - public CustomFields UpdateCustomFields(string accountId, string envelopeId, CustomFields customFields = null) + /// The ID of the document being accessed. + /// (optional) + /// DocumentFieldsInformation + public DocumentFieldsInformation UpdateDocumentFields(string accountId, string envelopeId, string documentId, DocumentFieldsInformation documentFieldsInformation = null) { - ApiResponse localVarResponse = UpdateCustomFieldsWithHttpInfo(accountId, envelopeId, customFields); + ApiResponse localVarResponse = UpdateDocumentFieldsWithHttpInfo(accountId, envelopeId, documentId, documentFieldsInformation); return localVarResponse.Data; } /// - /// Updates envelope custom fields in an envelope. Updates the envelope custom fields in draft and in-process envelopes. Each custom field used in an envelope must have a unique name. + /// Updates existing custom document fields in an existing envelope document. Updates existing custom document fields in an existing envelope document. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// (optional) - /// ApiResponse of CustomFields - public ApiResponse UpdateCustomFieldsWithHttpInfo(string accountId, string envelopeId, CustomFields customFields = null) + /// The ID of the document being accessed. + /// (optional) + /// ApiResponse of DocumentFieldsInformation + public ApiResponse UpdateDocumentFieldsWithHttpInfo(string accountId, string envelopeId, string documentId, DocumentFieldsInformation documentFieldsInformation = null) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->UpdateCustomFields"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->UpdateDocumentFields"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->UpdateCustomFields"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->UpdateDocumentFields"); + // verify the required parameter 'documentId' is set + if (documentId == null) + throw new ApiException(400, "Missing required parameter 'documentId' when calling EnvelopesApi->UpdateDocumentFields"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/custom_fields"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/fields"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -25672,13 +26886,14 @@ public ApiResponse UpdateCustomFieldsWithHttpInfo(string accountId localVarPathParams.Add("format", "json"); if (accountId != null) localVarPathParams.Add("accountId", this.ApiClient.ParameterToString(accountId)); // path parameter if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter - if (customFields != null && customFields.GetType() != typeof(byte[])) + if (documentId != null) localVarPathParams.Add("documentId", this.ApiClient.ParameterToString(documentId)); // path parameter + if (documentFieldsInformation != null && documentFieldsInformation.GetType() != typeof(byte[])) { - localVarPostBody = this.ApiClient.Serialize(customFields); // http body (model) parameter + localVarPostBody = this.ApiClient.Serialize(documentFieldsInformation); // http body (model) parameter } else { - localVarPostBody = customFields; // byte array + localVarPostBody = documentFieldsInformation; // byte array } // authentication (docusignAccessCode) required @@ -25697,47 +26912,52 @@ public ApiResponse UpdateCustomFieldsWithHttpInfo(string accountId if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("UpdateCustomFields", localVarResponse); + Exception exception = ExceptionFactory("UpdateDocumentFields", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (CustomFields)this.ApiClient.Deserialize(localVarResponse, typeof(CustomFields))); + (DocumentFieldsInformation)this.ApiClient.Deserialize(localVarResponse, typeof(DocumentFieldsInformation))); } /// - /// Updates envelope custom fields in an envelope. Updates the envelope custom fields in draft and in-process envelopes. Each custom field used in an envelope must have a unique name. + /// Updates existing custom document fields in an existing envelope document. Updates existing custom document fields in an existing envelope document. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// (optional) - /// Task of CustomFields - public async System.Threading.Tasks.Task UpdateCustomFieldsAsync(string accountId, string envelopeId, CustomFields customFields = null) + /// The ID of the document being accessed. + /// (optional) + /// Task of DocumentFieldsInformation + public async System.Threading.Tasks.Task UpdateDocumentFieldsAsync(string accountId, string envelopeId, string documentId, DocumentFieldsInformation documentFieldsInformation = null) { - ApiResponse localVarResponse = await UpdateCustomFieldsAsyncWithHttpInfo(accountId, envelopeId, customFields); + ApiResponse localVarResponse = await UpdateDocumentFieldsAsyncWithHttpInfo(accountId, envelopeId, documentId, documentFieldsInformation); return localVarResponse.Data; } /// - /// Updates envelope custom fields in an envelope. Updates the envelope custom fields in draft and in-process envelopes. Each custom field used in an envelope must have a unique name. + /// Updates existing custom document fields in an existing envelope document. Updates existing custom document fields in an existing envelope document. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// (optional) - /// Task of ApiResponse (CustomFields) - public async System.Threading.Tasks.Task> UpdateCustomFieldsAsyncWithHttpInfo(string accountId, string envelopeId, CustomFields customFields = null) + /// The ID of the document being accessed. + /// (optional) + /// Task of ApiResponse (DocumentFieldsInformation) + public async System.Threading.Tasks.Task> UpdateDocumentFieldsAsyncWithHttpInfo(string accountId, string envelopeId, string documentId, DocumentFieldsInformation documentFieldsInformation = null) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->UpdateCustomFields"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->UpdateDocumentFields"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->UpdateCustomFields"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->UpdateDocumentFields"); + // verify the required parameter 'documentId' is set + if (documentId == null) + throw new ApiException(400, "Missing required parameter 'documentId' when calling EnvelopesApi->UpdateDocumentFields"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/custom_fields"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/fields"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -25764,13 +26984,14 @@ public async System.Threading.Tasks.Task> UpdateCustom localVarPathParams.Add("format", "json"); if (accountId != null) localVarPathParams.Add("accountId", this.ApiClient.ParameterToString(accountId)); // path parameter if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter - if (customFields != null && customFields.GetType() != typeof(byte[])) + if (documentId != null) localVarPathParams.Add("documentId", this.ApiClient.ParameterToString(documentId)); // path parameter + if (documentFieldsInformation != null && documentFieldsInformation.GetType() != typeof(byte[])) { - localVarPostBody = this.ApiClient.Serialize(customFields); // http body (model) parameter + localVarPostBody = this.ApiClient.Serialize(documentFieldsInformation); // http body (model) parameter } else { - localVarPostBody = customFields; // byte array + localVarPostBody = documentFieldsInformation; // byte array } // authentication (docusignAccessCode) required @@ -25789,56 +27010,53 @@ public async System.Threading.Tasks.Task> UpdateCustom if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("UpdateCustomFields", localVarResponse); + Exception exception = ExceptionFactory("UpdateDocumentFields", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (CustomFields)this.ApiClient.Deserialize(localVarResponse, typeof(CustomFields))); + (DocumentFieldsInformation)this.ApiClient.Deserialize(localVarResponse, typeof(DocumentFieldsInformation))); } /// - /// Adds a document to an existing draft envelope. Adds a document to an existing draft envelope. + /// Updates the tabs for an envelope document Updates tabs in the document specified by `documentId` in the envelope specified by `envelopeId`. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. /// The ID of the document being accessed. - /// Updated document content. - /// EnvelopeDocument - public EnvelopeDocument UpdateDocument(string accountId, string envelopeId, string documentId, byte[] documentFileBytes) + /// (optional) + /// Tabs + public Tabs UpdateDocumentTabs(string accountId, string envelopeId, string documentId, Tabs tabs = null) { - ApiResponse localVarResponse = UpdateDocumentWithHttpInfo(accountId, envelopeId, documentId, documentFileBytes); + ApiResponse localVarResponse = UpdateDocumentTabsWithHttpInfo(accountId, envelopeId, documentId, tabs); return localVarResponse.Data; } /// - /// Adds a document to an existing draft envelope. Adds a document to an existing draft envelope. + /// Updates the tabs for an envelope document Updates tabs in the document specified by `documentId` in the envelope specified by `envelopeId`. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. /// The ID of the document being accessed. - /// Updated document content. - /// ApiResponse of EnvelopeDocument - public ApiResponse UpdateDocumentWithHttpInfo(string accountId, string envelopeId, string documentId, byte[] documentFileBytes) + /// (optional) + /// ApiResponse of Tabs + public ApiResponse UpdateDocumentTabsWithHttpInfo(string accountId, string envelopeId, string documentId, Tabs tabs = null) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->UpdateDocument"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->UpdateDocumentTabs"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->UpdateDocument"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->UpdateDocumentTabs"); // verify the required parameter 'documentId' is set if (documentId == null) - throw new ApiException(400, "Missing required parameter 'documentId' when calling EnvelopesApi->UpdateDocument"); - // verify the required parameter 'documentFileBytes' is set - if (documentFileBytes == null) - throw new ApiException(400, "Missing required parameter 'documentFileBytes' when calling EnvelopesApi->UpdateDocument"); + throw new ApiException(400, "Missing required parameter 'documentId' when calling EnvelopesApi->UpdateDocumentTabs"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/tabs"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -25849,7 +27067,6 @@ public ApiResponse UpdateDocumentWithHttpInfo(string accountId // to determine the Content-Type header String[] localVarHttpContentTypes = new String[] { - "application/pdf" }; String localVarHttpContentType = this.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); @@ -25867,13 +27084,13 @@ public ApiResponse UpdateDocumentWithHttpInfo(string accountId if (accountId != null) localVarPathParams.Add("accountId", this.ApiClient.ParameterToString(accountId)); // path parameter if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter if (documentId != null) localVarPathParams.Add("documentId", this.ApiClient.ParameterToString(documentId)); // path parameter - if (documentFileBytes != null && documentFileBytes.GetType() != typeof(byte[])) + if (tabs != null && tabs.GetType() != typeof(byte[])) { - localVarPostBody = this.ApiClient.Serialize(documentFileBytes); // http body (model) parameter + localVarPostBody = this.ApiClient.Serialize(tabs); // http body (model) parameter } else { - localVarPostBody = documentFileBytes; // byte array + localVarPostBody = tabs; // byte array } // authentication (docusignAccessCode) required @@ -25892,55 +27109,52 @@ public ApiResponse UpdateDocumentWithHttpInfo(string accountId if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("UpdateDocument", localVarResponse); + Exception exception = ExceptionFactory("UpdateDocumentTabs", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (EnvelopeDocument)this.ApiClient.Deserialize(localVarResponse, typeof(EnvelopeDocument))); + (Tabs)this.ApiClient.Deserialize(localVarResponse, typeof(Tabs))); } /// - /// Adds a document to an existing draft envelope. Adds a document to an existing draft envelope. + /// Updates the tabs for an envelope document Updates tabs in the document specified by `documentId` in the envelope specified by `envelopeId`. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. /// The ID of the document being accessed. - /// Updated document content. - /// Task of EnvelopeDocument - public async System.Threading.Tasks.Task UpdateDocumentAsync(string accountId, string envelopeId, string documentId, byte[] documentFileBytes) + /// (optional) + /// Task of Tabs + public async System.Threading.Tasks.Task UpdateDocumentTabsAsync(string accountId, string envelopeId, string documentId, Tabs tabs = null) { - ApiResponse localVarResponse = await UpdateDocumentAsyncWithHttpInfo(accountId, envelopeId, documentId, documentFileBytes); + ApiResponse localVarResponse = await UpdateDocumentTabsAsyncWithHttpInfo(accountId, envelopeId, documentId, tabs); return localVarResponse.Data; } /// - /// Adds a document to an existing draft envelope. Adds a document to an existing draft envelope. + /// Updates the tabs for an envelope document Updates tabs in the document specified by `documentId` in the envelope specified by `envelopeId`. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. /// The ID of the document being accessed. - /// Updated document content. - /// Task of ApiResponse (EnvelopeDocument) - public async System.Threading.Tasks.Task> UpdateDocumentAsyncWithHttpInfo(string accountId, string envelopeId, string documentId, byte[] documentFileBytes) + /// (optional) + /// Task of ApiResponse (Tabs) + public async System.Threading.Tasks.Task> UpdateDocumentTabsAsyncWithHttpInfo(string accountId, string envelopeId, string documentId, Tabs tabs = null) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->UpdateDocument"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->UpdateDocumentTabs"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->UpdateDocument"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->UpdateDocumentTabs"); // verify the required parameter 'documentId' is set if (documentId == null) - throw new ApiException(400, "Missing required parameter 'documentId' when calling EnvelopesApi->UpdateDocument"); - // verify the required parameter 'documentFileBytes' is set - if (documentFileBytes == null) - throw new ApiException(400, "Missing required parameter 'documentFileBytes' when calling EnvelopesApi->UpdateDocument"); + throw new ApiException(400, "Missing required parameter 'documentId' when calling EnvelopesApi->UpdateDocumentTabs"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/tabs"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -25951,7 +27165,6 @@ public async System.Threading.Tasks.Task> UpdateDo // to determine the Content-Type header String[] localVarHttpContentTypes = new String[] { - "application/pdf" }; String localVarHttpContentType = this.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); @@ -25969,13 +27182,13 @@ public async System.Threading.Tasks.Task> UpdateDo if (accountId != null) localVarPathParams.Add("accountId", this.ApiClient.ParameterToString(accountId)); // path parameter if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter if (documentId != null) localVarPathParams.Add("documentId", this.ApiClient.ParameterToString(documentId)); // path parameter - if (documentFileBytes != null && documentFileBytes.GetType() != typeof(byte[])) + if (tabs != null && tabs.GetType() != typeof(byte[])) { - localVarPostBody = this.ApiClient.Serialize(documentFileBytes); // http body (model) parameter + localVarPostBody = this.ApiClient.Serialize(tabs); // http body (model) parameter } else { - localVarPostBody = documentFileBytes; // byte array + localVarPostBody = tabs; // byte array } // authentication (docusignAccessCode) required @@ -25994,53 +27207,48 @@ public async System.Threading.Tasks.Task> UpdateDo if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("UpdateDocument", localVarResponse); + Exception exception = ExceptionFactory("UpdateDocumentTabs", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (EnvelopeDocument)this.ApiClient.Deserialize(localVarResponse, typeof(EnvelopeDocument))); + (Tabs)this.ApiClient.Deserialize(localVarResponse, typeof(Tabs))); } /// - /// Updates existing custom document fields in an existing envelope document. Updates existing custom document fields in an existing envelope document. + /// Adds one or more documents to an existing envelope document. Adds one or more documents to an existing envelope document. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// The ID of the document being accessed. - /// (optional) - /// DocumentFieldsInformation - public DocumentFieldsInformation UpdateDocumentFields(string accountId, string envelopeId, string documentId, DocumentFieldsInformation documentFieldsInformation = null) + /// (optional) + /// EnvelopeDocumentsResult + public EnvelopeDocumentsResult UpdateDocuments(string accountId, string envelopeId, EnvelopeDefinition envelopeDefinition = null) { - ApiResponse localVarResponse = UpdateDocumentFieldsWithHttpInfo(accountId, envelopeId, documentId, documentFieldsInformation); + ApiResponse localVarResponse = UpdateDocumentsWithHttpInfo(accountId, envelopeId, envelopeDefinition); return localVarResponse.Data; } /// - /// Updates existing custom document fields in an existing envelope document. Updates existing custom document fields in an existing envelope document. + /// Adds one or more documents to an existing envelope document. Adds one or more documents to an existing envelope document. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// The ID of the document being accessed. - /// (optional) - /// ApiResponse of DocumentFieldsInformation - public ApiResponse UpdateDocumentFieldsWithHttpInfo(string accountId, string envelopeId, string documentId, DocumentFieldsInformation documentFieldsInformation = null) + /// (optional) + /// ApiResponse of EnvelopeDocumentsResult + public ApiResponse UpdateDocumentsWithHttpInfo(string accountId, string envelopeId, EnvelopeDefinition envelopeDefinition = null) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->UpdateDocumentFields"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->UpdateDocuments"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->UpdateDocumentFields"); - // verify the required parameter 'documentId' is set - if (documentId == null) - throw new ApiException(400, "Missing required parameter 'documentId' when calling EnvelopesApi->UpdateDocumentFields"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->UpdateDocuments"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/fields"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/documents"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -26067,14 +27275,13 @@ public ApiResponse UpdateDocumentFieldsWithHttpInfo(s localVarPathParams.Add("format", "json"); if (accountId != null) localVarPathParams.Add("accountId", this.ApiClient.ParameterToString(accountId)); // path parameter if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter - if (documentId != null) localVarPathParams.Add("documentId", this.ApiClient.ParameterToString(documentId)); // path parameter - if (documentFieldsInformation != null && documentFieldsInformation.GetType() != typeof(byte[])) + if (envelopeDefinition != null && envelopeDefinition.GetType() != typeof(byte[])) { - localVarPostBody = this.ApiClient.Serialize(documentFieldsInformation); // http body (model) parameter + localVarPostBody = this.ApiClient.Serialize(envelopeDefinition); // http body (model) parameter } else { - localVarPostBody = documentFieldsInformation; // byte array + localVarPostBody = envelopeDefinition; // byte array } // authentication (docusignAccessCode) required @@ -26093,52 +27300,47 @@ public ApiResponse UpdateDocumentFieldsWithHttpInfo(s if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("UpdateDocumentFields", localVarResponse); + Exception exception = ExceptionFactory("UpdateDocuments", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (DocumentFieldsInformation)this.ApiClient.Deserialize(localVarResponse, typeof(DocumentFieldsInformation))); + (EnvelopeDocumentsResult)this.ApiClient.Deserialize(localVarResponse, typeof(EnvelopeDocumentsResult))); } /// - /// Updates existing custom document fields in an existing envelope document. Updates existing custom document fields in an existing envelope document. + /// Adds one or more documents to an existing envelope document. Adds one or more documents to an existing envelope document. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// The ID of the document being accessed. - /// (optional) - /// Task of DocumentFieldsInformation - public async System.Threading.Tasks.Task UpdateDocumentFieldsAsync(string accountId, string envelopeId, string documentId, DocumentFieldsInformation documentFieldsInformation = null) + /// (optional) + /// Task of EnvelopeDocumentsResult + public async System.Threading.Tasks.Task UpdateDocumentsAsync(string accountId, string envelopeId, EnvelopeDefinition envelopeDefinition = null) { - ApiResponse localVarResponse = await UpdateDocumentFieldsAsyncWithHttpInfo(accountId, envelopeId, documentId, documentFieldsInformation); + ApiResponse localVarResponse = await UpdateDocumentsAsyncWithHttpInfo(accountId, envelopeId, envelopeDefinition); return localVarResponse.Data; } /// - /// Updates existing custom document fields in an existing envelope document. Updates existing custom document fields in an existing envelope document. + /// Adds one or more documents to an existing envelope document. Adds one or more documents to an existing envelope document. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// The ID of the document being accessed. - /// (optional) - /// Task of ApiResponse (DocumentFieldsInformation) - public async System.Threading.Tasks.Task> UpdateDocumentFieldsAsyncWithHttpInfo(string accountId, string envelopeId, string documentId, DocumentFieldsInformation documentFieldsInformation = null) + /// (optional) + /// Task of ApiResponse (EnvelopeDocumentsResult) + public async System.Threading.Tasks.Task> UpdateDocumentsAsyncWithHttpInfo(string accountId, string envelopeId, EnvelopeDefinition envelopeDefinition = null) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->UpdateDocumentFields"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->UpdateDocuments"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->UpdateDocumentFields"); - // verify the required parameter 'documentId' is set - if (documentId == null) - throw new ApiException(400, "Missing required parameter 'documentId' when calling EnvelopesApi->UpdateDocumentFields"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->UpdateDocuments"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/fields"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/documents"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -26165,14 +27367,13 @@ public async System.Threading.Tasks.Task> localVarPathParams.Add("format", "json"); if (accountId != null) localVarPathParams.Add("accountId", this.ApiClient.ParameterToString(accountId)); // path parameter if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter - if (documentId != null) localVarPathParams.Add("documentId", this.ApiClient.ParameterToString(documentId)); // path parameter - if (documentFieldsInformation != null && documentFieldsInformation.GetType() != typeof(byte[])) + if (envelopeDefinition != null && envelopeDefinition.GetType() != typeof(byte[])) { - localVarPostBody = this.ApiClient.Serialize(documentFieldsInformation); // http body (model) parameter + localVarPostBody = this.ApiClient.Serialize(envelopeDefinition); // http body (model) parameter } else { - localVarPostBody = documentFieldsInformation; // byte array + localVarPostBody = envelopeDefinition; // byte array } // authentication (docusignAccessCode) required @@ -26191,53 +27392,48 @@ public async System.Threading.Tasks.Task> if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("UpdateDocumentFields", localVarResponse); + Exception exception = ExceptionFactory("UpdateDocuments", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (DocumentFieldsInformation)this.ApiClient.Deserialize(localVarResponse, typeof(DocumentFieldsInformation))); + (EnvelopeDocumentsResult)this.ApiClient.Deserialize(localVarResponse, typeof(EnvelopeDocumentsResult))); } /// - /// Updates the tabs for an envelope document Updates tabs in the document specified by `documentId` in the envelope specified by `envelopeId`. + /// Updates the email setting overrides for an envelope. Updates the existing email override settings for the specified envelope. Note that modifying email settings will only affect email communications that occur after the modification was made. This can also be used to delete an individual email override setting by using an empty string for the value to be deleted. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// The ID of the document being accessed. - /// (optional) - /// Tabs - public Tabs UpdateDocumentTabs(string accountId, string envelopeId, string documentId, Tabs tabs = null) + /// (optional) + /// EmailSettings + public EmailSettings UpdateEmailSettings(string accountId, string envelopeId, EmailSettings emailSettings = null) { - ApiResponse localVarResponse = UpdateDocumentTabsWithHttpInfo(accountId, envelopeId, documentId, tabs); + ApiResponse localVarResponse = UpdateEmailSettingsWithHttpInfo(accountId, envelopeId, emailSettings); return localVarResponse.Data; } /// - /// Updates the tabs for an envelope document Updates tabs in the document specified by `documentId` in the envelope specified by `envelopeId`. + /// Updates the email setting overrides for an envelope. Updates the existing email override settings for the specified envelope. Note that modifying email settings will only affect email communications that occur after the modification was made. This can also be used to delete an individual email override setting by using an empty string for the value to be deleted. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// The ID of the document being accessed. - /// (optional) - /// ApiResponse of Tabs - public ApiResponse UpdateDocumentTabsWithHttpInfo(string accountId, string envelopeId, string documentId, Tabs tabs = null) + /// (optional) + /// ApiResponse of EmailSettings + public ApiResponse UpdateEmailSettingsWithHttpInfo(string accountId, string envelopeId, EmailSettings emailSettings = null) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->UpdateDocumentTabs"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->UpdateEmailSettings"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->UpdateDocumentTabs"); - // verify the required parameter 'documentId' is set - if (documentId == null) - throw new ApiException(400, "Missing required parameter 'documentId' when calling EnvelopesApi->UpdateDocumentTabs"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->UpdateEmailSettings"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/tabs"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/email_settings"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -26264,14 +27460,13 @@ public ApiResponse UpdateDocumentTabsWithHttpInfo(string accountId, string localVarPathParams.Add("format", "json"); if (accountId != null) localVarPathParams.Add("accountId", this.ApiClient.ParameterToString(accountId)); // path parameter if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter - if (documentId != null) localVarPathParams.Add("documentId", this.ApiClient.ParameterToString(documentId)); // path parameter - if (tabs != null && tabs.GetType() != typeof(byte[])) + if (emailSettings != null && emailSettings.GetType() != typeof(byte[])) { - localVarPostBody = this.ApiClient.Serialize(tabs); // http body (model) parameter + localVarPostBody = this.ApiClient.Serialize(emailSettings); // http body (model) parameter } else { - localVarPostBody = tabs; // byte array + localVarPostBody = emailSettings; // byte array } // authentication (docusignAccessCode) required @@ -26290,52 +27485,47 @@ public ApiResponse UpdateDocumentTabsWithHttpInfo(string accountId, string if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("UpdateDocumentTabs", localVarResponse); + Exception exception = ExceptionFactory("UpdateEmailSettings", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (Tabs)this.ApiClient.Deserialize(localVarResponse, typeof(Tabs))); + (EmailSettings)this.ApiClient.Deserialize(localVarResponse, typeof(EmailSettings))); } /// - /// Updates the tabs for an envelope document Updates tabs in the document specified by `documentId` in the envelope specified by `envelopeId`. + /// Updates the email setting overrides for an envelope. Updates the existing email override settings for the specified envelope. Note that modifying email settings will only affect email communications that occur after the modification was made. This can also be used to delete an individual email override setting by using an empty string for the value to be deleted. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// The ID of the document being accessed. - /// (optional) - /// Task of Tabs - public async System.Threading.Tasks.Task UpdateDocumentTabsAsync(string accountId, string envelopeId, string documentId, Tabs tabs = null) + /// (optional) + /// Task of EmailSettings + public async System.Threading.Tasks.Task UpdateEmailSettingsAsync(string accountId, string envelopeId, EmailSettings emailSettings = null) { - ApiResponse localVarResponse = await UpdateDocumentTabsAsyncWithHttpInfo(accountId, envelopeId, documentId, tabs); + ApiResponse localVarResponse = await UpdateEmailSettingsAsyncWithHttpInfo(accountId, envelopeId, emailSettings); return localVarResponse.Data; } /// - /// Updates the tabs for an envelope document Updates tabs in the document specified by `documentId` in the envelope specified by `envelopeId`. + /// Updates the email setting overrides for an envelope. Updates the existing email override settings for the specified envelope. Note that modifying email settings will only affect email communications that occur after the modification was made. This can also be used to delete an individual email override setting by using an empty string for the value to be deleted. /// - /// Thrown when fails to make API call - /// The external account number (int) or account ID Guid. - /// The envelopeId Guid of the envelope being accessed. - /// The ID of the document being accessed. - /// (optional) - /// Task of ApiResponse (Tabs) - public async System.Threading.Tasks.Task> UpdateDocumentTabsAsyncWithHttpInfo(string accountId, string envelopeId, string documentId, Tabs tabs = null) + /// Thrown when fails to make API call + /// The external account number (int) or account ID Guid. + /// The envelopeId Guid of the envelope being accessed. + /// (optional) + /// Task of ApiResponse (EmailSettings) + public async System.Threading.Tasks.Task> UpdateEmailSettingsAsyncWithHttpInfo(string accountId, string envelopeId, EmailSettings emailSettings = null) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->UpdateDocumentTabs"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->UpdateEmailSettings"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->UpdateDocumentTabs"); - // verify the required parameter 'documentId' is set - if (documentId == null) - throw new ApiException(400, "Missing required parameter 'documentId' when calling EnvelopesApi->UpdateDocumentTabs"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->UpdateEmailSettings"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/documents/{documentId}/tabs"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/email_settings"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -26362,14 +27552,13 @@ public async System.Threading.Tasks.Task> UpdateDocumentTabsAs localVarPathParams.Add("format", "json"); if (accountId != null) localVarPathParams.Add("accountId", this.ApiClient.ParameterToString(accountId)); // path parameter if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter - if (documentId != null) localVarPathParams.Add("documentId", this.ApiClient.ParameterToString(documentId)); // path parameter - if (tabs != null && tabs.GetType() != typeof(byte[])) + if (emailSettings != null && emailSettings.GetType() != typeof(byte[])) { - localVarPostBody = this.ApiClient.Serialize(tabs); // http body (model) parameter + localVarPostBody = this.ApiClient.Serialize(emailSettings); // http body (model) parameter } else { - localVarPostBody = tabs; // byte array + localVarPostBody = emailSettings; // byte array } // authentication (docusignAccessCode) required @@ -26388,48 +27577,53 @@ public async System.Threading.Tasks.Task> UpdateDocumentTabsAs if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("UpdateDocumentTabs", localVarResponse); + Exception exception = ExceptionFactory("UpdateEmailSettings", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (Tabs)this.ApiClient.Deserialize(localVarResponse, typeof(Tabs))); + (EmailSettings)this.ApiClient.Deserialize(localVarResponse, typeof(EmailSettings))); } /// - /// Adds one or more documents to an existing envelope document. Adds one or more documents to an existing envelope document. + /// Updates the delayed routing rules for an envelope's workflow step definition. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// (optional) - /// EnvelopeDocumentsResult - public EnvelopeDocumentsResult UpdateDocuments(string accountId, string envelopeId, EnvelopeDefinition envelopeDefinition = null) + /// + /// (optional) + /// DelayedRouting + public DelayedRouting UpdateEnvelopeDelayedRoutingDefinition(string accountId, string envelopeId, string workflowStepId, DelayedRouting delayedRouting = null) { - ApiResponse localVarResponse = UpdateDocumentsWithHttpInfo(accountId, envelopeId, envelopeDefinition); + ApiResponse localVarResponse = UpdateEnvelopeDelayedRoutingDefinitionWithHttpInfo(accountId, envelopeId, workflowStepId, delayedRouting); return localVarResponse.Data; } /// - /// Adds one or more documents to an existing envelope document. Adds one or more documents to an existing envelope document. + /// Updates the delayed routing rules for an envelope's workflow step definition. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// (optional) - /// ApiResponse of EnvelopeDocumentsResult - public ApiResponse UpdateDocumentsWithHttpInfo(string accountId, string envelopeId, EnvelopeDefinition envelopeDefinition = null) + /// + /// (optional) + /// ApiResponse of DelayedRouting + public ApiResponse UpdateEnvelopeDelayedRoutingDefinitionWithHttpInfo(string accountId, string envelopeId, string workflowStepId, DelayedRouting delayedRouting = null) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->UpdateDocuments"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->UpdateEnvelopeDelayedRoutingDefinition"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->UpdateDocuments"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->UpdateEnvelopeDelayedRoutingDefinition"); + // verify the required parameter 'workflowStepId' is set + if (workflowStepId == null) + throw new ApiException(400, "Missing required parameter 'workflowStepId' when calling EnvelopesApi->UpdateEnvelopeDelayedRoutingDefinition"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/documents"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/workflow/steps/{workflowStepId}/delayedRouting"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -26456,13 +27650,14 @@ public ApiResponse UpdateDocumentsWithHttpInfo(string a localVarPathParams.Add("format", "json"); if (accountId != null) localVarPathParams.Add("accountId", this.ApiClient.ParameterToString(accountId)); // path parameter if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter - if (envelopeDefinition != null && envelopeDefinition.GetType() != typeof(byte[])) + if (workflowStepId != null) localVarPathParams.Add("workflowStepId", this.ApiClient.ParameterToString(workflowStepId)); // path parameter + if (delayedRouting != null && delayedRouting.GetType() != typeof(byte[])) { - localVarPostBody = this.ApiClient.Serialize(envelopeDefinition); // http body (model) parameter + localVarPostBody = this.ApiClient.Serialize(delayedRouting); // http body (model) parameter } else { - localVarPostBody = envelopeDefinition; // byte array + localVarPostBody = delayedRouting; // byte array } // authentication (docusignAccessCode) required @@ -26481,47 +27676,52 @@ public ApiResponse UpdateDocumentsWithHttpInfo(string a if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("UpdateDocuments", localVarResponse); + Exception exception = ExceptionFactory("UpdateEnvelopeDelayedRoutingDefinition", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (EnvelopeDocumentsResult)this.ApiClient.Deserialize(localVarResponse, typeof(EnvelopeDocumentsResult))); + (DelayedRouting)this.ApiClient.Deserialize(localVarResponse, typeof(DelayedRouting))); } /// - /// Adds one or more documents to an existing envelope document. Adds one or more documents to an existing envelope document. + /// Updates the delayed routing rules for an envelope's workflow step definition. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// (optional) - /// Task of EnvelopeDocumentsResult - public async System.Threading.Tasks.Task UpdateDocumentsAsync(string accountId, string envelopeId, EnvelopeDefinition envelopeDefinition = null) + /// + /// (optional) + /// Task of DelayedRouting + public async System.Threading.Tasks.Task UpdateEnvelopeDelayedRoutingDefinitionAsync(string accountId, string envelopeId, string workflowStepId, DelayedRouting delayedRouting = null) { - ApiResponse localVarResponse = await UpdateDocumentsAsyncWithHttpInfo(accountId, envelopeId, envelopeDefinition); + ApiResponse localVarResponse = await UpdateEnvelopeDelayedRoutingDefinitionAsyncWithHttpInfo(accountId, envelopeId, workflowStepId, delayedRouting); return localVarResponse.Data; } /// - /// Adds one or more documents to an existing envelope document. Adds one or more documents to an existing envelope document. + /// Updates the delayed routing rules for an envelope's workflow step definition. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// (optional) - /// Task of ApiResponse (EnvelopeDocumentsResult) - public async System.Threading.Tasks.Task> UpdateDocumentsAsyncWithHttpInfo(string accountId, string envelopeId, EnvelopeDefinition envelopeDefinition = null) + /// + /// (optional) + /// Task of ApiResponse (DelayedRouting) + public async System.Threading.Tasks.Task> UpdateEnvelopeDelayedRoutingDefinitionAsyncWithHttpInfo(string accountId, string envelopeId, string workflowStepId, DelayedRouting delayedRouting = null) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->UpdateDocuments"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->UpdateEnvelopeDelayedRoutingDefinition"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->UpdateDocuments"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->UpdateEnvelopeDelayedRoutingDefinition"); + // verify the required parameter 'workflowStepId' is set + if (workflowStepId == null) + throw new ApiException(400, "Missing required parameter 'workflowStepId' when calling EnvelopesApi->UpdateEnvelopeDelayedRoutingDefinition"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/documents"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/workflow/steps/{workflowStepId}/delayedRouting"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -26548,13 +27748,14 @@ public async System.Threading.Tasks.Task> U localVarPathParams.Add("format", "json"); if (accountId != null) localVarPathParams.Add("accountId", this.ApiClient.ParameterToString(accountId)); // path parameter if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter - if (envelopeDefinition != null && envelopeDefinition.GetType() != typeof(byte[])) + if (workflowStepId != null) localVarPathParams.Add("workflowStepId", this.ApiClient.ParameterToString(workflowStepId)); // path parameter + if (delayedRouting != null && delayedRouting.GetType() != typeof(byte[])) { - localVarPostBody = this.ApiClient.Serialize(envelopeDefinition); // http body (model) parameter + localVarPostBody = this.ApiClient.Serialize(delayedRouting); // http body (model) parameter } else { - localVarPostBody = envelopeDefinition; // byte array + localVarPostBody = delayedRouting; // byte array } // authentication (docusignAccessCode) required @@ -26573,48 +27774,58 @@ public async System.Threading.Tasks.Task> U if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("UpdateDocuments", localVarResponse); + Exception exception = ExceptionFactory("UpdateEnvelopeDelayedRoutingDefinition", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (EnvelopeDocumentsResult)this.ApiClient.Deserialize(localVarResponse, typeof(EnvelopeDocumentsResult))); + (DelayedRouting)this.ApiClient.Deserialize(localVarResponse, typeof(DelayedRouting))); } + /// + /// Updates formfields for an envelope + /// + public class UpdateEnvelopeDocGenFormFieldsOptions + { + /// + public string updateDocgenFormfieldsOnly {get; set;} + } /// - /// Updates the email setting overrides for an envelope. Updates the existing email override settings for the specified envelope. Note that modifying email settings will only affect email communications that occur after the modification was made. This can also be used to delete an individual email override setting by using an empty string for the value to be deleted. + /// Updates formfields for an envelope /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// (optional) - /// EmailSettings - public EmailSettings UpdateEmailSettings(string accountId, string envelopeId, EmailSettings emailSettings = null) + /// (optional) + /// Options for modifying the behavior of the function. + /// DocGenFormFieldResponse + public DocGenFormFieldResponse UpdateEnvelopeDocGenFormFields(string accountId, string envelopeId, DocGenFormFieldRequest docGenFormFieldRequest = null, EnvelopesApi.UpdateEnvelopeDocGenFormFieldsOptions options = null) { - ApiResponse localVarResponse = UpdateEmailSettingsWithHttpInfo(accountId, envelopeId, emailSettings); + ApiResponse localVarResponse = UpdateEnvelopeDocGenFormFieldsWithHttpInfo(accountId, envelopeId, docGenFormFieldRequest, options); return localVarResponse.Data; } /// - /// Updates the email setting overrides for an envelope. Updates the existing email override settings for the specified envelope. Note that modifying email settings will only affect email communications that occur after the modification was made. This can also be used to delete an individual email override setting by using an empty string for the value to be deleted. + /// Updates formfields for an envelope /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// (optional) - /// ApiResponse of EmailSettings - public ApiResponse UpdateEmailSettingsWithHttpInfo(string accountId, string envelopeId, EmailSettings emailSettings = null) + /// (optional) + /// Options for modifying the behavior of the function. + /// ApiResponse of DocGenFormFieldResponse + public ApiResponse UpdateEnvelopeDocGenFormFieldsWithHttpInfo(string accountId, string envelopeId, DocGenFormFieldRequest docGenFormFieldRequest = null, EnvelopesApi.UpdateEnvelopeDocGenFormFieldsOptions options = null) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->UpdateEmailSettings"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->UpdateEnvelopeDocGenFormFields"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->UpdateEmailSettings"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->UpdateEnvelopeDocGenFormFields"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/email_settings"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/docGenFormFields"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -26641,13 +27852,17 @@ public ApiResponse UpdateEmailSettingsWithHttpInfo(string account localVarPathParams.Add("format", "json"); if (accountId != null) localVarPathParams.Add("accountId", this.ApiClient.ParameterToString(accountId)); // path parameter if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter - if (emailSettings != null && emailSettings.GetType() != typeof(byte[])) + if (options != null) { - localVarPostBody = this.ApiClient.Serialize(emailSettings); // http body (model) parameter + if (options.updateDocgenFormfieldsOnly != null) localVarQueryParams.Add("update_docgen_formfields_only", this.ApiClient.ParameterToString(options.updateDocgenFormfieldsOnly)); // query parameter + } + if (docGenFormFieldRequest != null && docGenFormFieldRequest.GetType() != typeof(byte[])) + { + localVarPostBody = this.ApiClient.Serialize(docGenFormFieldRequest); // http body (model) parameter } else { - localVarPostBody = emailSettings; // byte array + localVarPostBody = docGenFormFieldRequest; // byte array } // authentication (docusignAccessCode) required @@ -26666,47 +27881,49 @@ public ApiResponse UpdateEmailSettingsWithHttpInfo(string account if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("UpdateEmailSettings", localVarResponse); + Exception exception = ExceptionFactory("UpdateEnvelopeDocGenFormFields", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (EmailSettings)this.ApiClient.Deserialize(localVarResponse, typeof(EmailSettings))); + (DocGenFormFieldResponse)this.ApiClient.Deserialize(localVarResponse, typeof(DocGenFormFieldResponse))); } /// - /// Updates the email setting overrides for an envelope. Updates the existing email override settings for the specified envelope. Note that modifying email settings will only affect email communications that occur after the modification was made. This can also be used to delete an individual email override setting by using an empty string for the value to be deleted. + /// Updates formfields for an envelope /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// (optional) - /// Task of EmailSettings - public async System.Threading.Tasks.Task UpdateEmailSettingsAsync(string accountId, string envelopeId, EmailSettings emailSettings = null) + /// (optional) + /// Options for modifying the behavior of the function. + /// Task of DocGenFormFieldResponse + public async System.Threading.Tasks.Task UpdateEnvelopeDocGenFormFieldsAsync(string accountId, string envelopeId, DocGenFormFieldRequest docGenFormFieldRequest = null, EnvelopesApi.UpdateEnvelopeDocGenFormFieldsOptions options = null) { - ApiResponse localVarResponse = await UpdateEmailSettingsAsyncWithHttpInfo(accountId, envelopeId, emailSettings); + ApiResponse localVarResponse = await UpdateEnvelopeDocGenFormFieldsAsyncWithHttpInfo(accountId, envelopeId, docGenFormFieldRequest, options); return localVarResponse.Data; } /// - /// Updates the email setting overrides for an envelope. Updates the existing email override settings for the specified envelope. Note that modifying email settings will only affect email communications that occur after the modification was made. This can also be used to delete an individual email override setting by using an empty string for the value to be deleted. + /// Updates formfields for an envelope /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// (optional) - /// Task of ApiResponse (EmailSettings) - public async System.Threading.Tasks.Task> UpdateEmailSettingsAsyncWithHttpInfo(string accountId, string envelopeId, EmailSettings emailSettings = null) + /// (optional) + /// Options for modifying the behavior of the function. + /// Task of ApiResponse (DocGenFormFieldResponse) + public async System.Threading.Tasks.Task> UpdateEnvelopeDocGenFormFieldsAsyncWithHttpInfo(string accountId, string envelopeId, DocGenFormFieldRequest docGenFormFieldRequest = null, EnvelopesApi.UpdateEnvelopeDocGenFormFieldsOptions options = null) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->UpdateEmailSettings"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->UpdateEnvelopeDocGenFormFields"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->UpdateEmailSettings"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->UpdateEnvelopeDocGenFormFields"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/email_settings"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/docGenFormFields"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -26733,13 +27950,17 @@ public async System.Threading.Tasks.Task> UpdateEmail localVarPathParams.Add("format", "json"); if (accountId != null) localVarPathParams.Add("accountId", this.ApiClient.ParameterToString(accountId)); // path parameter if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter - if (emailSettings != null && emailSettings.GetType() != typeof(byte[])) + if (options != null) { - localVarPostBody = this.ApiClient.Serialize(emailSettings); // http body (model) parameter + if (options.updateDocgenFormfieldsOnly != null) localVarQueryParams.Add("update_docgen_formfields_only", this.ApiClient.ParameterToString(options.updateDocgenFormfieldsOnly)); // query parameter + } + if (docGenFormFieldRequest != null && docGenFormFieldRequest.GetType() != typeof(byte[])) + { + localVarPostBody = this.ApiClient.Serialize(docGenFormFieldRequest); // http body (model) parameter } else { - localVarPostBody = emailSettings; // byte array + localVarPostBody = docGenFormFieldRequest; // byte array } // authentication (docusignAccessCode) required @@ -26758,53 +27979,48 @@ public async System.Threading.Tasks.Task> UpdateEmail if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("UpdateEmailSettings", localVarResponse); + Exception exception = ExceptionFactory("UpdateEnvelopeDocGenFormFields", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (EmailSettings)this.ApiClient.Deserialize(localVarResponse, typeof(EmailSettings))); + (DocGenFormFieldResponse)this.ApiClient.Deserialize(localVarResponse, typeof(DocGenFormFieldResponse))); } /// - /// Updates the delayed routing rules for an envelope's workflow step definition. + /// Updates the scheduled sending rules for an envelope's workflow definition. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// - /// (optional) - /// DelayedRouting - public DelayedRouting UpdateEnvelopeDelayedRoutingDefinition(string accountId, string envelopeId, string workflowStepId, DelayedRouting delayedRouting = null) + /// (optional) + /// ScheduledSending + public ScheduledSending UpdateEnvelopeScheduledSendingDefinition(string accountId, string envelopeId, ScheduledSending scheduledSending = null) { - ApiResponse localVarResponse = UpdateEnvelopeDelayedRoutingDefinitionWithHttpInfo(accountId, envelopeId, workflowStepId, delayedRouting); + ApiResponse localVarResponse = UpdateEnvelopeScheduledSendingDefinitionWithHttpInfo(accountId, envelopeId, scheduledSending); return localVarResponse.Data; } /// - /// Updates the delayed routing rules for an envelope's workflow step definition. + /// Updates the scheduled sending rules for an envelope's workflow definition. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// - /// (optional) - /// ApiResponse of DelayedRouting - public ApiResponse UpdateEnvelopeDelayedRoutingDefinitionWithHttpInfo(string accountId, string envelopeId, string workflowStepId, DelayedRouting delayedRouting = null) + /// (optional) + /// ApiResponse of ScheduledSending + public ApiResponse UpdateEnvelopeScheduledSendingDefinitionWithHttpInfo(string accountId, string envelopeId, ScheduledSending scheduledSending = null) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->UpdateEnvelopeDelayedRoutingDefinition"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->UpdateEnvelopeScheduledSendingDefinition"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->UpdateEnvelopeDelayedRoutingDefinition"); - // verify the required parameter 'workflowStepId' is set - if (workflowStepId == null) - throw new ApiException(400, "Missing required parameter 'workflowStepId' when calling EnvelopesApi->UpdateEnvelopeDelayedRoutingDefinition"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->UpdateEnvelopeScheduledSendingDefinition"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/workflow/steps/{workflowStepId}/delayedRouting"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/workflow/scheduledSending"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -26831,14 +28047,13 @@ public ApiResponse UpdateEnvelopeDelayedRoutingDefinitionWithHtt localVarPathParams.Add("format", "json"); if (accountId != null) localVarPathParams.Add("accountId", this.ApiClient.ParameterToString(accountId)); // path parameter if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter - if (workflowStepId != null) localVarPathParams.Add("workflowStepId", this.ApiClient.ParameterToString(workflowStepId)); // path parameter - if (delayedRouting != null && delayedRouting.GetType() != typeof(byte[])) + if (scheduledSending != null && scheduledSending.GetType() != typeof(byte[])) { - localVarPostBody = this.ApiClient.Serialize(delayedRouting); // http body (model) parameter + localVarPostBody = this.ApiClient.Serialize(scheduledSending); // http body (model) parameter } else { - localVarPostBody = delayedRouting; // byte array + localVarPostBody = scheduledSending; // byte array } // authentication (docusignAccessCode) required @@ -26857,52 +28072,47 @@ public ApiResponse UpdateEnvelopeDelayedRoutingDefinitionWithHtt if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("UpdateEnvelopeDelayedRoutingDefinition", localVarResponse); + Exception exception = ExceptionFactory("UpdateEnvelopeScheduledSendingDefinition", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (DelayedRouting)this.ApiClient.Deserialize(localVarResponse, typeof(DelayedRouting))); + (ScheduledSending)this.ApiClient.Deserialize(localVarResponse, typeof(ScheduledSending))); } /// - /// Updates the delayed routing rules for an envelope's workflow step definition. + /// Updates the scheduled sending rules for an envelope's workflow definition. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// - /// (optional) - /// Task of DelayedRouting - public async System.Threading.Tasks.Task UpdateEnvelopeDelayedRoutingDefinitionAsync(string accountId, string envelopeId, string workflowStepId, DelayedRouting delayedRouting = null) + /// (optional) + /// Task of ScheduledSending + public async System.Threading.Tasks.Task UpdateEnvelopeScheduledSendingDefinitionAsync(string accountId, string envelopeId, ScheduledSending scheduledSending = null) { - ApiResponse localVarResponse = await UpdateEnvelopeDelayedRoutingDefinitionAsyncWithHttpInfo(accountId, envelopeId, workflowStepId, delayedRouting); + ApiResponse localVarResponse = await UpdateEnvelopeScheduledSendingDefinitionAsyncWithHttpInfo(accountId, envelopeId, scheduledSending); return localVarResponse.Data; } /// - /// Updates the delayed routing rules for an envelope's workflow step definition. + /// Updates the scheduled sending rules for an envelope's workflow definition. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// - /// (optional) - /// Task of ApiResponse (DelayedRouting) - public async System.Threading.Tasks.Task> UpdateEnvelopeDelayedRoutingDefinitionAsyncWithHttpInfo(string accountId, string envelopeId, string workflowStepId, DelayedRouting delayedRouting = null) + /// (optional) + /// Task of ApiResponse (ScheduledSending) + public async System.Threading.Tasks.Task> UpdateEnvelopeScheduledSendingDefinitionAsyncWithHttpInfo(string accountId, string envelopeId, ScheduledSending scheduledSending = null) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->UpdateEnvelopeDelayedRoutingDefinition"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->UpdateEnvelopeScheduledSendingDefinition"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->UpdateEnvelopeDelayedRoutingDefinition"); - // verify the required parameter 'workflowStepId' is set - if (workflowStepId == null) - throw new ApiException(400, "Missing required parameter 'workflowStepId' when calling EnvelopesApi->UpdateEnvelopeDelayedRoutingDefinition"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->UpdateEnvelopeScheduledSendingDefinition"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/workflow/steps/{workflowStepId}/delayedRouting"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/workflow/scheduledSending"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -26929,14 +28139,13 @@ public async System.Threading.Tasks.Task> UpdateEnve localVarPathParams.Add("format", "json"); if (accountId != null) localVarPathParams.Add("accountId", this.ApiClient.ParameterToString(accountId)); // path parameter if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter - if (workflowStepId != null) localVarPathParams.Add("workflowStepId", this.ApiClient.ParameterToString(workflowStepId)); // path parameter - if (delayedRouting != null && delayedRouting.GetType() != typeof(byte[])) + if (scheduledSending != null && scheduledSending.GetType() != typeof(byte[])) { - localVarPostBody = this.ApiClient.Serialize(delayedRouting); // http body (model) parameter + localVarPostBody = this.ApiClient.Serialize(scheduledSending); // http body (model) parameter } else { - localVarPostBody = delayedRouting; // byte array + localVarPostBody = scheduledSending; // byte array } // authentication (docusignAccessCode) required @@ -26955,58 +28164,48 @@ public async System.Threading.Tasks.Task> UpdateEnve if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("UpdateEnvelopeDelayedRoutingDefinition", localVarResponse); + Exception exception = ExceptionFactory("UpdateEnvelopeScheduledSendingDefinition", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (DelayedRouting)this.ApiClient.Deserialize(localVarResponse, typeof(DelayedRouting))); + (ScheduledSending)this.ApiClient.Deserialize(localVarResponse, typeof(ScheduledSending))); } - /// - /// Updates formfields for an envelope - /// - public class UpdateEnvelopeDocGenFormFieldsOptions - { - /// - public string updateDocgenFormfieldsOnly {get; set;} - } /// - /// Updates formfields for an envelope + /// Update an envelope transfer rule for an account. This method changes the status of an envelope transfer rule. You use this method to change whether or not the rule is enabled. You must include the `envelopeTransferRuleId` both as a query parameter, and in the request body. **Note:** You cannot change any other information about the envelope transfer rule. Only Administrators can update an envelope transfer rule. In addition, to use envelope transfer rules, the **Transfer Custody** feature must be enabled for your account. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// The envelopeId Guid of the envelope being accessed. - /// (optional) - /// Options for modifying the behavior of the function. - /// DocGenFormFieldResponse - public DocGenFormFieldResponse UpdateEnvelopeDocGenFormFields(string accountId, string envelopeId, DocGenFormFieldRequest docGenFormFieldRequest = null, EnvelopesApi.UpdateEnvelopeDocGenFormFieldsOptions options = null) + /// + /// (optional) + /// EnvelopeTransferRule + public EnvelopeTransferRule UpdateEnvelopeTransferRule(string accountId, string envelopeTransferRuleId, EnvelopeTransferRule envelopeTransferRule = null) { - ApiResponse localVarResponse = UpdateEnvelopeDocGenFormFieldsWithHttpInfo(accountId, envelopeId, docGenFormFieldRequest, options); + ApiResponse localVarResponse = UpdateEnvelopeTransferRuleWithHttpInfo(accountId, envelopeTransferRuleId, envelopeTransferRule); return localVarResponse.Data; } /// - /// Updates formfields for an envelope + /// Update an envelope transfer rule for an account. This method changes the status of an envelope transfer rule. You use this method to change whether or not the rule is enabled. You must include the `envelopeTransferRuleId` both as a query parameter, and in the request body. **Note:** You cannot change any other information about the envelope transfer rule. Only Administrators can update an envelope transfer rule. In addition, to use envelope transfer rules, the **Transfer Custody** feature must be enabled for your account. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// The envelopeId Guid of the envelope being accessed. - /// (optional) - /// Options for modifying the behavior of the function. - /// ApiResponse of DocGenFormFieldResponse - public ApiResponse UpdateEnvelopeDocGenFormFieldsWithHttpInfo(string accountId, string envelopeId, DocGenFormFieldRequest docGenFormFieldRequest = null, EnvelopesApi.UpdateEnvelopeDocGenFormFieldsOptions options = null) + /// + /// (optional) + /// ApiResponse of EnvelopeTransferRule + public ApiResponse UpdateEnvelopeTransferRuleWithHttpInfo(string accountId, string envelopeTransferRuleId, EnvelopeTransferRule envelopeTransferRule = null) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->UpdateEnvelopeDocGenFormFields"); - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->UpdateEnvelopeDocGenFormFields"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->UpdateEnvelopeTransferRule"); + // verify the required parameter 'envelopeTransferRuleId' is set + if (envelopeTransferRuleId == null) + throw new ApiException(400, "Missing required parameter 'envelopeTransferRuleId' when calling EnvelopesApi->UpdateEnvelopeTransferRule"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/docGenFormFields"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/transfer_rules/{envelopeTransferRuleId}"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -27032,18 +28231,14 @@ public ApiResponse UpdateEnvelopeDocGenFormFieldsWithHt // 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 (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter - if (options != null) - { - if (options.updateDocgenFormfieldsOnly != null) localVarQueryParams.Add("update_docgen_formfields_only", this.ApiClient.ParameterToString(options.updateDocgenFormfieldsOnly)); // query parameter - } - if (docGenFormFieldRequest != null && docGenFormFieldRequest.GetType() != typeof(byte[])) + if (envelopeTransferRuleId != null) localVarPathParams.Add("envelopeTransferRuleId", this.ApiClient.ParameterToString(envelopeTransferRuleId)); // path parameter + if (envelopeTransferRule != null && envelopeTransferRule.GetType() != typeof(byte[])) { - localVarPostBody = this.ApiClient.Serialize(docGenFormFieldRequest); // http body (model) parameter + localVarPostBody = this.ApiClient.Serialize(envelopeTransferRule); // http body (model) parameter } else { - localVarPostBody = docGenFormFieldRequest; // byte array + localVarPostBody = envelopeTransferRule; // byte array } // authentication (docusignAccessCode) required @@ -27062,49 +28257,47 @@ public ApiResponse UpdateEnvelopeDocGenFormFieldsWithHt if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("UpdateEnvelopeDocGenFormFields", localVarResponse); + Exception exception = ExceptionFactory("UpdateEnvelopeTransferRule", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (DocGenFormFieldResponse)this.ApiClient.Deserialize(localVarResponse, typeof(DocGenFormFieldResponse))); + (EnvelopeTransferRule)this.ApiClient.Deserialize(localVarResponse, typeof(EnvelopeTransferRule))); } /// - /// Updates formfields for an envelope + /// Update an envelope transfer rule for an account. This method changes the status of an envelope transfer rule. You use this method to change whether or not the rule is enabled. You must include the `envelopeTransferRuleId` both as a query parameter, and in the request body. **Note:** You cannot change any other information about the envelope transfer rule. Only Administrators can update an envelope transfer rule. In addition, to use envelope transfer rules, the **Transfer Custody** feature must be enabled for your account. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// The envelopeId Guid of the envelope being accessed. - /// (optional) - /// Options for modifying the behavior of the function. - /// Task of DocGenFormFieldResponse - public async System.Threading.Tasks.Task UpdateEnvelopeDocGenFormFieldsAsync(string accountId, string envelopeId, DocGenFormFieldRequest docGenFormFieldRequest = null, EnvelopesApi.UpdateEnvelopeDocGenFormFieldsOptions options = null) + /// + /// (optional) + /// Task of EnvelopeTransferRule + public async System.Threading.Tasks.Task UpdateEnvelopeTransferRuleAsync(string accountId, string envelopeTransferRuleId, EnvelopeTransferRule envelopeTransferRule = null) { - ApiResponse localVarResponse = await UpdateEnvelopeDocGenFormFieldsAsyncWithHttpInfo(accountId, envelopeId, docGenFormFieldRequest, options); + ApiResponse localVarResponse = await UpdateEnvelopeTransferRuleAsyncWithHttpInfo(accountId, envelopeTransferRuleId, envelopeTransferRule); return localVarResponse.Data; } /// - /// Updates formfields for an envelope + /// Update an envelope transfer rule for an account. This method changes the status of an envelope transfer rule. You use this method to change whether or not the rule is enabled. You must include the `envelopeTransferRuleId` both as a query parameter, and in the request body. **Note:** You cannot change any other information about the envelope transfer rule. Only Administrators can update an envelope transfer rule. In addition, to use envelope transfer rules, the **Transfer Custody** feature must be enabled for your account. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// The envelopeId Guid of the envelope being accessed. - /// (optional) - /// Options for modifying the behavior of the function. - /// Task of ApiResponse (DocGenFormFieldResponse) - public async System.Threading.Tasks.Task> UpdateEnvelopeDocGenFormFieldsAsyncWithHttpInfo(string accountId, string envelopeId, DocGenFormFieldRequest docGenFormFieldRequest = null, EnvelopesApi.UpdateEnvelopeDocGenFormFieldsOptions options = null) + /// + /// (optional) + /// Task of ApiResponse (EnvelopeTransferRule) + public async System.Threading.Tasks.Task> UpdateEnvelopeTransferRuleAsyncWithHttpInfo(string accountId, string envelopeTransferRuleId, EnvelopeTransferRule envelopeTransferRule = null) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->UpdateEnvelopeDocGenFormFields"); - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->UpdateEnvelopeDocGenFormFields"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->UpdateEnvelopeTransferRule"); + // verify the required parameter 'envelopeTransferRuleId' is set + if (envelopeTransferRuleId == null) + throw new ApiException(400, "Missing required parameter 'envelopeTransferRuleId' when calling EnvelopesApi->UpdateEnvelopeTransferRule"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/docGenFormFields"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/transfer_rules/{envelopeTransferRuleId}"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -27130,18 +28323,14 @@ public async System.Threading.Tasks.Task> U // 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 (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter - if (options != null) - { - if (options.updateDocgenFormfieldsOnly != null) localVarQueryParams.Add("update_docgen_formfields_only", this.ApiClient.ParameterToString(options.updateDocgenFormfieldsOnly)); // query parameter - } - if (docGenFormFieldRequest != null && docGenFormFieldRequest.GetType() != typeof(byte[])) + if (envelopeTransferRuleId != null) localVarPathParams.Add("envelopeTransferRuleId", this.ApiClient.ParameterToString(envelopeTransferRuleId)); // path parameter + if (envelopeTransferRule != null && envelopeTransferRule.GetType() != typeof(byte[])) { - localVarPostBody = this.ApiClient.Serialize(docGenFormFieldRequest); // http body (model) parameter + localVarPostBody = this.ApiClient.Serialize(envelopeTransferRule); // http body (model) parameter } else { - localVarPostBody = docGenFormFieldRequest; // byte array + localVarPostBody = envelopeTransferRule; // byte array } // authentication (docusignAccessCode) required @@ -27160,48 +28349,43 @@ public async System.Threading.Tasks.Task> U if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("UpdateEnvelopeDocGenFormFields", localVarResponse); + Exception exception = ExceptionFactory("UpdateEnvelopeTransferRule", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (DocGenFormFieldResponse)this.ApiClient.Deserialize(localVarResponse, typeof(DocGenFormFieldResponse))); + (EnvelopeTransferRule)this.ApiClient.Deserialize(localVarResponse, typeof(EnvelopeTransferRule))); } /// - /// Updates the scheduled sending rules for an envelope's workflow definition. + /// Update envelope transfer rules for an account. This method changes the status for one or more envelope transfer rules based on the `envelopeTransferRuleId`s in the request body. You use this method to change whether or not the rules are enabled. **Note:** You cannot change any other information about the envelope transfer rule. Only Administrators can update envelope transfer rules. In addition, to use envelope transfer rules, the **Transfer Custody** feature must be enabled for your account. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// The envelopeId Guid of the envelope being accessed. - /// (optional) - /// ScheduledSending - public ScheduledSending UpdateEnvelopeScheduledSendingDefinition(string accountId, string envelopeId, ScheduledSending scheduledSending = null) + /// (optional) + /// EnvelopeTransferRuleInformation + public EnvelopeTransferRuleInformation UpdateEnvelopeTransferRules(string accountId, EnvelopeTransferRuleInformation envelopeTransferRuleInformation = null) { - ApiResponse localVarResponse = UpdateEnvelopeScheduledSendingDefinitionWithHttpInfo(accountId, envelopeId, scheduledSending); + ApiResponse localVarResponse = UpdateEnvelopeTransferRulesWithHttpInfo(accountId, envelopeTransferRuleInformation); return localVarResponse.Data; } /// - /// Updates the scheduled sending rules for an envelope's workflow definition. + /// Update envelope transfer rules for an account. This method changes the status for one or more envelope transfer rules based on the `envelopeTransferRuleId`s in the request body. You use this method to change whether or not the rules are enabled. **Note:** You cannot change any other information about the envelope transfer rule. Only Administrators can update envelope transfer rules. In addition, to use envelope transfer rules, the **Transfer Custody** feature must be enabled for your account. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// The envelopeId Guid of the envelope being accessed. - /// (optional) - /// ApiResponse of ScheduledSending - public ApiResponse UpdateEnvelopeScheduledSendingDefinitionWithHttpInfo(string accountId, string envelopeId, ScheduledSending scheduledSending = null) + /// (optional) + /// ApiResponse of EnvelopeTransferRuleInformation + public ApiResponse UpdateEnvelopeTransferRulesWithHttpInfo(string accountId, EnvelopeTransferRuleInformation envelopeTransferRuleInformation = null) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->UpdateEnvelopeScheduledSendingDefinition"); - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->UpdateEnvelopeScheduledSendingDefinition"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->UpdateEnvelopeTransferRules"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/workflow/scheduledSending"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/transfer_rules"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -27227,14 +28411,13 @@ public ApiResponse UpdateEnvelopeScheduledSendingDefinitionWit // 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 (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter - if (scheduledSending != null && scheduledSending.GetType() != typeof(byte[])) + if (envelopeTransferRuleInformation != null && envelopeTransferRuleInformation.GetType() != typeof(byte[])) { - localVarPostBody = this.ApiClient.Serialize(scheduledSending); // http body (model) parameter + localVarPostBody = this.ApiClient.Serialize(envelopeTransferRuleInformation); // http body (model) parameter } else { - localVarPostBody = scheduledSending; // byte array + localVarPostBody = envelopeTransferRuleInformation; // byte array } // authentication (docusignAccessCode) required @@ -27253,47 +28436,42 @@ public ApiResponse UpdateEnvelopeScheduledSendingDefinitionWit if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("UpdateEnvelopeScheduledSendingDefinition", localVarResponse); + Exception exception = ExceptionFactory("UpdateEnvelopeTransferRules", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (ScheduledSending)this.ApiClient.Deserialize(localVarResponse, typeof(ScheduledSending))); + (EnvelopeTransferRuleInformation)this.ApiClient.Deserialize(localVarResponse, typeof(EnvelopeTransferRuleInformation))); } /// - /// Updates the scheduled sending rules for an envelope's workflow definition. + /// Update envelope transfer rules for an account. This method changes the status for one or more envelope transfer rules based on the `envelopeTransferRuleId`s in the request body. You use this method to change whether or not the rules are enabled. **Note:** You cannot change any other information about the envelope transfer rule. Only Administrators can update envelope transfer rules. In addition, to use envelope transfer rules, the **Transfer Custody** feature must be enabled for your account. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// The envelopeId Guid of the envelope being accessed. - /// (optional) - /// Task of ScheduledSending - public async System.Threading.Tasks.Task UpdateEnvelopeScheduledSendingDefinitionAsync(string accountId, string envelopeId, ScheduledSending scheduledSending = null) + /// (optional) + /// Task of EnvelopeTransferRuleInformation + public async System.Threading.Tasks.Task UpdateEnvelopeTransferRulesAsync(string accountId, EnvelopeTransferRuleInformation envelopeTransferRuleInformation = null) { - ApiResponse localVarResponse = await UpdateEnvelopeScheduledSendingDefinitionAsyncWithHttpInfo(accountId, envelopeId, scheduledSending); + ApiResponse localVarResponse = await UpdateEnvelopeTransferRulesAsyncWithHttpInfo(accountId, envelopeTransferRuleInformation); return localVarResponse.Data; } /// - /// Updates the scheduled sending rules for an envelope's workflow definition. + /// Update envelope transfer rules for an account. This method changes the status for one or more envelope transfer rules based on the `envelopeTransferRuleId`s in the request body. You use this method to change whether or not the rules are enabled. **Note:** You cannot change any other information about the envelope transfer rule. Only Administrators can update envelope transfer rules. In addition, to use envelope transfer rules, the **Transfer Custody** feature must be enabled for your account. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// The envelopeId Guid of the envelope being accessed. - /// (optional) - /// Task of ApiResponse (ScheduledSending) - public async System.Threading.Tasks.Task> UpdateEnvelopeScheduledSendingDefinitionAsyncWithHttpInfo(string accountId, string envelopeId, ScheduledSending scheduledSending = null) + /// (optional) + /// Task of ApiResponse (EnvelopeTransferRuleInformation) + public async System.Threading.Tasks.Task> UpdateEnvelopeTransferRulesAsyncWithHttpInfo(string accountId, EnvelopeTransferRuleInformation envelopeTransferRuleInformation = null) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->UpdateEnvelopeScheduledSendingDefinition"); - // verify the required parameter 'envelopeId' is set - if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->UpdateEnvelopeScheduledSendingDefinition"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->UpdateEnvelopeTransferRules"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/workflow/scheduledSending"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/transfer_rules"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -27319,14 +28497,13 @@ public async System.Threading.Tasks.Task> UpdateEn // 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 (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter - if (scheduledSending != null && scheduledSending.GetType() != typeof(byte[])) + if (envelopeTransferRuleInformation != null && envelopeTransferRuleInformation.GetType() != typeof(byte[])) { - localVarPostBody = this.ApiClient.Serialize(scheduledSending); // http body (model) parameter + localVarPostBody = this.ApiClient.Serialize(envelopeTransferRuleInformation); // http body (model) parameter } else { - localVarPostBody = scheduledSending; // byte array + localVarPostBody = envelopeTransferRuleInformation; // byte array } // authentication (docusignAccessCode) required @@ -27345,48 +28522,48 @@ public async System.Threading.Tasks.Task> UpdateEn if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("UpdateEnvelopeScheduledSendingDefinition", localVarResponse); + Exception exception = ExceptionFactory("UpdateEnvelopeTransferRules", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (ScheduledSending)this.ApiClient.Deserialize(localVarResponse, typeof(ScheduledSending))); + (EnvelopeTransferRuleInformation)this.ApiClient.Deserialize(localVarResponse, typeof(EnvelopeTransferRuleInformation))); } /// - /// Update an envelope transfer rule for an account. This method changes the status of an envelope transfer rule. You use this method to change whether or not the rule is enabled. You must include the `envelopeTransferRuleId` both as a query parameter, and in the request body. **Note:** You cannot change any other information about the envelope transfer rule. Only Administrators can update an envelope transfer rule. In addition, to use envelope transfer rules, the **Transfer Custody** feature must be enabled for your account. + /// Updates the envelope workflow definition for an envelope. Updates the specified envelope's workflow definition if it has one. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// - /// (optional) - /// EnvelopeTransferRule - public EnvelopeTransferRule UpdateEnvelopeTransferRule(string accountId, string envelopeTransferRuleId, EnvelopeTransferRule envelopeTransferRule = null) + /// The envelopeId Guid of the envelope being accessed. + /// (optional) + /// Workflow + public Workflow UpdateEnvelopeWorkflowDefinition(string accountId, string envelopeId, Workflow workflow = null) { - ApiResponse localVarResponse = UpdateEnvelopeTransferRuleWithHttpInfo(accountId, envelopeTransferRuleId, envelopeTransferRule); + ApiResponse localVarResponse = UpdateEnvelopeWorkflowDefinitionWithHttpInfo(accountId, envelopeId, workflow); return localVarResponse.Data; } /// - /// Update an envelope transfer rule for an account. This method changes the status of an envelope transfer rule. You use this method to change whether or not the rule is enabled. You must include the `envelopeTransferRuleId` both as a query parameter, and in the request body. **Note:** You cannot change any other information about the envelope transfer rule. Only Administrators can update an envelope transfer rule. In addition, to use envelope transfer rules, the **Transfer Custody** feature must be enabled for your account. + /// Updates the envelope workflow definition for an envelope. Updates the specified envelope's workflow definition if it has one. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// - /// (optional) - /// ApiResponse of EnvelopeTransferRule - public ApiResponse UpdateEnvelopeTransferRuleWithHttpInfo(string accountId, string envelopeTransferRuleId, EnvelopeTransferRule envelopeTransferRule = null) + /// The envelopeId Guid of the envelope being accessed. + /// (optional) + /// ApiResponse of Workflow + public ApiResponse UpdateEnvelopeWorkflowDefinitionWithHttpInfo(string accountId, string envelopeId, Workflow workflow = null) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->UpdateEnvelopeTransferRule"); - // verify the required parameter 'envelopeTransferRuleId' is set - if (envelopeTransferRuleId == null) - throw new ApiException(400, "Missing required parameter 'envelopeTransferRuleId' when calling EnvelopesApi->UpdateEnvelopeTransferRule"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->UpdateEnvelopeWorkflowDefinition"); + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->UpdateEnvelopeWorkflowDefinition"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/transfer_rules/{envelopeTransferRuleId}"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/workflow"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -27412,14 +28589,14 @@ public ApiResponse UpdateEnvelopeTransferRuleWithHttpInfo( // 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 (envelopeTransferRuleId != null) localVarPathParams.Add("envelopeTransferRuleId", this.ApiClient.ParameterToString(envelopeTransferRuleId)); // path parameter - if (envelopeTransferRule != null && envelopeTransferRule.GetType() != typeof(byte[])) + if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter + if (workflow != null && workflow.GetType() != typeof(byte[])) { - localVarPostBody = this.ApiClient.Serialize(envelopeTransferRule); // http body (model) parameter + localVarPostBody = this.ApiClient.Serialize(workflow); // http body (model) parameter } else { - localVarPostBody = envelopeTransferRule; // byte array + localVarPostBody = workflow; // byte array } // authentication (docusignAccessCode) required @@ -27438,47 +28615,47 @@ public ApiResponse UpdateEnvelopeTransferRuleWithHttpInfo( if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("UpdateEnvelopeTransferRule", localVarResponse); + Exception exception = ExceptionFactory("UpdateEnvelopeWorkflowDefinition", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (EnvelopeTransferRule)this.ApiClient.Deserialize(localVarResponse, typeof(EnvelopeTransferRule))); + (Workflow)this.ApiClient.Deserialize(localVarResponse, typeof(Workflow))); } /// - /// Update an envelope transfer rule for an account. This method changes the status of an envelope transfer rule. You use this method to change whether or not the rule is enabled. You must include the `envelopeTransferRuleId` both as a query parameter, and in the request body. **Note:** You cannot change any other information about the envelope transfer rule. Only Administrators can update an envelope transfer rule. In addition, to use envelope transfer rules, the **Transfer Custody** feature must be enabled for your account. + /// Updates the envelope workflow definition for an envelope. Updates the specified envelope's workflow definition if it has one. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// - /// (optional) - /// Task of EnvelopeTransferRule - public async System.Threading.Tasks.Task UpdateEnvelopeTransferRuleAsync(string accountId, string envelopeTransferRuleId, EnvelopeTransferRule envelopeTransferRule = null) + /// The envelopeId Guid of the envelope being accessed. + /// (optional) + /// Task of Workflow + public async System.Threading.Tasks.Task UpdateEnvelopeWorkflowDefinitionAsync(string accountId, string envelopeId, Workflow workflow = null) { - ApiResponse localVarResponse = await UpdateEnvelopeTransferRuleAsyncWithHttpInfo(accountId, envelopeTransferRuleId, envelopeTransferRule); + ApiResponse localVarResponse = await UpdateEnvelopeWorkflowDefinitionAsyncWithHttpInfo(accountId, envelopeId, workflow); return localVarResponse.Data; } /// - /// Update an envelope transfer rule for an account. This method changes the status of an envelope transfer rule. You use this method to change whether or not the rule is enabled. You must include the `envelopeTransferRuleId` both as a query parameter, and in the request body. **Note:** You cannot change any other information about the envelope transfer rule. Only Administrators can update an envelope transfer rule. In addition, to use envelope transfer rules, the **Transfer Custody** feature must be enabled for your account. + /// Updates the envelope workflow definition for an envelope. Updates the specified envelope's workflow definition if it has one. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// - /// (optional) - /// Task of ApiResponse (EnvelopeTransferRule) - public async System.Threading.Tasks.Task> UpdateEnvelopeTransferRuleAsyncWithHttpInfo(string accountId, string envelopeTransferRuleId, EnvelopeTransferRule envelopeTransferRule = null) + /// The envelopeId Guid of the envelope being accessed. + /// (optional) + /// Task of ApiResponse (Workflow) + public async System.Threading.Tasks.Task> UpdateEnvelopeWorkflowDefinitionAsyncWithHttpInfo(string accountId, string envelopeId, Workflow workflow = null) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->UpdateEnvelopeTransferRule"); - // verify the required parameter 'envelopeTransferRuleId' is set - if (envelopeTransferRuleId == null) - throw new ApiException(400, "Missing required parameter 'envelopeTransferRuleId' when calling EnvelopesApi->UpdateEnvelopeTransferRule"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->UpdateEnvelopeWorkflowDefinition"); + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->UpdateEnvelopeWorkflowDefinition"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/transfer_rules/{envelopeTransferRuleId}"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/workflow"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -27504,14 +28681,14 @@ public async System.Threading.Tasks.Task> Upda // 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 (envelopeTransferRuleId != null) localVarPathParams.Add("envelopeTransferRuleId", this.ApiClient.ParameterToString(envelopeTransferRuleId)); // path parameter - if (envelopeTransferRule != null && envelopeTransferRule.GetType() != typeof(byte[])) + if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter + if (workflow != null && workflow.GetType() != typeof(byte[])) { - localVarPostBody = this.ApiClient.Serialize(envelopeTransferRule); // http body (model) parameter + localVarPostBody = this.ApiClient.Serialize(workflow); // http body (model) parameter } else { - localVarPostBody = envelopeTransferRule; // byte array + localVarPostBody = workflow; // byte array } // authentication (docusignAccessCode) required @@ -27530,43 +28707,53 @@ public async System.Threading.Tasks.Task> Upda if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("UpdateEnvelopeTransferRule", localVarResponse); + Exception exception = ExceptionFactory("UpdateEnvelopeWorkflowDefinition", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (EnvelopeTransferRule)this.ApiClient.Deserialize(localVarResponse, typeof(EnvelopeTransferRule))); + (Workflow)this.ApiClient.Deserialize(localVarResponse, typeof(Workflow))); } /// - /// Update envelope transfer rules for an account. This method changes the status for one or more envelope transfer rules based on the `envelopeTransferRuleId`s in the request body. You use this method to change whether or not the rules are enabled. **Note:** You cannot change any other information about the envelope transfer rule. Only Administrators can update envelope transfer rules. In addition, to use envelope transfer rules, the **Transfer Custody** feature must be enabled for your account. + /// Updates the envelope workflow step definition for an envelope. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// (optional) - /// EnvelopeTransferRuleInformation - public EnvelopeTransferRuleInformation UpdateEnvelopeTransferRules(string accountId, EnvelopeTransferRuleInformation envelopeTransferRuleInformation = null) + /// The envelopeId Guid of the envelope being accessed. + /// + /// (optional) + /// WorkflowStep + public WorkflowStep UpdateEnvelopeWorkflowStepDefinition(string accountId, string envelopeId, string workflowStepId, WorkflowStep workflowStep = null) { - ApiResponse localVarResponse = UpdateEnvelopeTransferRulesWithHttpInfo(accountId, envelopeTransferRuleInformation); + ApiResponse localVarResponse = UpdateEnvelopeWorkflowStepDefinitionWithHttpInfo(accountId, envelopeId, workflowStepId, workflowStep); return localVarResponse.Data; } /// - /// Update envelope transfer rules for an account. This method changes the status for one or more envelope transfer rules based on the `envelopeTransferRuleId`s in the request body. You use this method to change whether or not the rules are enabled. **Note:** You cannot change any other information about the envelope transfer rule. Only Administrators can update envelope transfer rules. In addition, to use envelope transfer rules, the **Transfer Custody** feature must be enabled for your account. + /// Updates the envelope workflow step definition for an envelope. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// (optional) - /// ApiResponse of EnvelopeTransferRuleInformation - public ApiResponse UpdateEnvelopeTransferRulesWithHttpInfo(string accountId, EnvelopeTransferRuleInformation envelopeTransferRuleInformation = null) + /// The envelopeId Guid of the envelope being accessed. + /// + /// (optional) + /// ApiResponse of WorkflowStep + public ApiResponse UpdateEnvelopeWorkflowStepDefinitionWithHttpInfo(string accountId, string envelopeId, string workflowStepId, WorkflowStep workflowStep = null) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->UpdateEnvelopeTransferRules"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->UpdateEnvelopeWorkflowStepDefinition"); + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->UpdateEnvelopeWorkflowStepDefinition"); + // verify the required parameter 'workflowStepId' is set + if (workflowStepId == null) + throw new ApiException(400, "Missing required parameter 'workflowStepId' when calling EnvelopesApi->UpdateEnvelopeWorkflowStepDefinition"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/transfer_rules"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/workflow/steps/{workflowStepId}"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -27592,13 +28779,15 @@ public ApiResponse UpdateEnvelopeTransferRulesW // 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 (envelopeTransferRuleInformation != null && envelopeTransferRuleInformation.GetType() != typeof(byte[])) + if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter + if (workflowStepId != null) localVarPathParams.Add("workflowStepId", this.ApiClient.ParameterToString(workflowStepId)); // path parameter + if (workflowStep != null && workflowStep.GetType() != typeof(byte[])) { - localVarPostBody = this.ApiClient.Serialize(envelopeTransferRuleInformation); // http body (model) parameter + localVarPostBody = this.ApiClient.Serialize(workflowStep); // http body (model) parameter } else { - localVarPostBody = envelopeTransferRuleInformation; // byte array + localVarPostBody = workflowStep; // byte array } // authentication (docusignAccessCode) required @@ -27617,42 +28806,52 @@ public ApiResponse UpdateEnvelopeTransferRulesW if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("UpdateEnvelopeTransferRules", localVarResponse); + Exception exception = ExceptionFactory("UpdateEnvelopeWorkflowStepDefinition", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (EnvelopeTransferRuleInformation)this.ApiClient.Deserialize(localVarResponse, typeof(EnvelopeTransferRuleInformation))); + (WorkflowStep)this.ApiClient.Deserialize(localVarResponse, typeof(WorkflowStep))); } /// - /// Update envelope transfer rules for an account. This method changes the status for one or more envelope transfer rules based on the `envelopeTransferRuleId`s in the request body. You use this method to change whether or not the rules are enabled. **Note:** You cannot change any other information about the envelope transfer rule. Only Administrators can update envelope transfer rules. In addition, to use envelope transfer rules, the **Transfer Custody** feature must be enabled for your account. + /// Updates the envelope workflow step definition for an envelope. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// (optional) - /// Task of EnvelopeTransferRuleInformation - public async System.Threading.Tasks.Task UpdateEnvelopeTransferRulesAsync(string accountId, EnvelopeTransferRuleInformation envelopeTransferRuleInformation = null) + /// The envelopeId Guid of the envelope being accessed. + /// + /// (optional) + /// Task of WorkflowStep + public async System.Threading.Tasks.Task UpdateEnvelopeWorkflowStepDefinitionAsync(string accountId, string envelopeId, string workflowStepId, WorkflowStep workflowStep = null) { - ApiResponse localVarResponse = await UpdateEnvelopeTransferRulesAsyncWithHttpInfo(accountId, envelopeTransferRuleInformation); + ApiResponse localVarResponse = await UpdateEnvelopeWorkflowStepDefinitionAsyncWithHttpInfo(accountId, envelopeId, workflowStepId, workflowStep); return localVarResponse.Data; } /// - /// Update envelope transfer rules for an account. This method changes the status for one or more envelope transfer rules based on the `envelopeTransferRuleId`s in the request body. You use this method to change whether or not the rules are enabled. **Note:** You cannot change any other information about the envelope transfer rule. Only Administrators can update envelope transfer rules. In addition, to use envelope transfer rules, the **Transfer Custody** feature must be enabled for your account. + /// Updates the envelope workflow step definition for an envelope. /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. - /// (optional) - /// Task of ApiResponse (EnvelopeTransferRuleInformation) - public async System.Threading.Tasks.Task> UpdateEnvelopeTransferRulesAsyncWithHttpInfo(string accountId, EnvelopeTransferRuleInformation envelopeTransferRuleInformation = null) + /// The envelopeId Guid of the envelope being accessed. + /// + /// (optional) + /// Task of ApiResponse (WorkflowStep) + public async System.Threading.Tasks.Task> UpdateEnvelopeWorkflowStepDefinitionAsyncWithHttpInfo(string accountId, string envelopeId, string workflowStepId, WorkflowStep workflowStep = null) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->UpdateEnvelopeTransferRules"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->UpdateEnvelopeWorkflowStepDefinition"); + // verify the required parameter 'envelopeId' is set + if (envelopeId == null) + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->UpdateEnvelopeWorkflowStepDefinition"); + // verify the required parameter 'workflowStepId' is set + if (workflowStepId == null) + throw new ApiException(400, "Missing required parameter 'workflowStepId' when calling EnvelopesApi->UpdateEnvelopeWorkflowStepDefinition"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/transfer_rules"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/workflow/steps/{workflowStepId}"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -27678,13 +28877,15 @@ public async System.Threading.Tasks.Task(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (EnvelopeTransferRuleInformation)this.ApiClient.Deserialize(localVarResponse, typeof(EnvelopeTransferRuleInformation))); + (WorkflowStep)this.ApiClient.Deserialize(localVarResponse, typeof(WorkflowStep))); } /// - /// Updates the envelope workflow definition for an envelope. Updates the specified envelope's workflow definition if it has one. + /// Updates a single envelope share /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// (optional) - /// Workflow - public Workflow UpdateEnvelopeWorkflowDefinition(string accountId, string envelopeId, Workflow workflow = null) + /// + /// (optional) + /// EnvelopesShareResponse + public EnvelopesShareResponse UpdateEnvelopesShare(string accountId, string envelopeId, string shareId, EnvelopesSharePermissionRequest envelopesSharePermissionRequest = null) { - ApiResponse localVarResponse = UpdateEnvelopeWorkflowDefinitionWithHttpInfo(accountId, envelopeId, workflow); + ApiResponse localVarResponse = UpdateEnvelopesShareWithHttpInfo(accountId, envelopeId, shareId, envelopesSharePermissionRequest); return localVarResponse.Data; } /// - /// Updates the envelope workflow definition for an envelope. Updates the specified envelope's workflow definition if it has one. + /// Updates a single envelope share /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// (optional) - /// ApiResponse of Workflow - public ApiResponse UpdateEnvelopeWorkflowDefinitionWithHttpInfo(string accountId, string envelopeId, Workflow workflow = null) + /// + /// (optional) + /// ApiResponse of EnvelopesShareResponse + public ApiResponse UpdateEnvelopesShareWithHttpInfo(string accountId, string envelopeId, string shareId, EnvelopesSharePermissionRequest envelopesSharePermissionRequest = null) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->UpdateEnvelopeWorkflowDefinition"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->UpdateEnvelopesShare"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->UpdateEnvelopeWorkflowDefinition"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->UpdateEnvelopesShare"); + // verify the required parameter 'shareId' is set + if (shareId == null) + throw new ApiException(400, "Missing required parameter 'shareId' when calling EnvelopesApi->UpdateEnvelopesShare"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/workflow"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/shares/{shareId}"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -27771,13 +28977,14 @@ public ApiResponse UpdateEnvelopeWorkflowDefinitionWithHttpInfo(string localVarPathParams.Add("format", "json"); if (accountId != null) localVarPathParams.Add("accountId", this.ApiClient.ParameterToString(accountId)); // path parameter if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter - if (workflow != null && workflow.GetType() != typeof(byte[])) + if (shareId != null) localVarPathParams.Add("shareId", this.ApiClient.ParameterToString(shareId)); // path parameter + if (envelopesSharePermissionRequest != null && envelopesSharePermissionRequest.GetType() != typeof(byte[])) { - localVarPostBody = this.ApiClient.Serialize(workflow); // http body (model) parameter + localVarPostBody = this.ApiClient.Serialize(envelopesSharePermissionRequest); // http body (model) parameter } else { - localVarPostBody = workflow; // byte array + localVarPostBody = envelopesSharePermissionRequest; // byte array } // authentication (docusignAccessCode) required @@ -27796,47 +29003,52 @@ public ApiResponse UpdateEnvelopeWorkflowDefinitionWithHttpInfo(string if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("UpdateEnvelopeWorkflowDefinition", localVarResponse); + Exception exception = ExceptionFactory("UpdateEnvelopesShare", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (Workflow)this.ApiClient.Deserialize(localVarResponse, typeof(Workflow))); + (EnvelopesShareResponse)this.ApiClient.Deserialize(localVarResponse, typeof(EnvelopesShareResponse))); } /// - /// Updates the envelope workflow definition for an envelope. Updates the specified envelope's workflow definition if it has one. + /// Updates a single envelope share /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// (optional) - /// Task of Workflow - public async System.Threading.Tasks.Task UpdateEnvelopeWorkflowDefinitionAsync(string accountId, string envelopeId, Workflow workflow = null) + /// + /// (optional) + /// Task of EnvelopesShareResponse + public async System.Threading.Tasks.Task UpdateEnvelopesShareAsync(string accountId, string envelopeId, string shareId, EnvelopesSharePermissionRequest envelopesSharePermissionRequest = null) { - ApiResponse localVarResponse = await UpdateEnvelopeWorkflowDefinitionAsyncWithHttpInfo(accountId, envelopeId, workflow); + ApiResponse localVarResponse = await UpdateEnvelopesShareAsyncWithHttpInfo(accountId, envelopeId, shareId, envelopesSharePermissionRequest); return localVarResponse.Data; } /// - /// Updates the envelope workflow definition for an envelope. Updates the specified envelope's workflow definition if it has one. + /// Updates a single envelope share /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// (optional) - /// Task of ApiResponse (Workflow) - public async System.Threading.Tasks.Task> UpdateEnvelopeWorkflowDefinitionAsyncWithHttpInfo(string accountId, string envelopeId, Workflow workflow = null) + /// + /// (optional) + /// Task of ApiResponse (EnvelopesShareResponse) + public async System.Threading.Tasks.Task> UpdateEnvelopesShareAsyncWithHttpInfo(string accountId, string envelopeId, string shareId, EnvelopesSharePermissionRequest envelopesSharePermissionRequest = null) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->UpdateEnvelopeWorkflowDefinition"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->UpdateEnvelopesShare"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->UpdateEnvelopeWorkflowDefinition"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->UpdateEnvelopesShare"); + // verify the required parameter 'shareId' is set + if (shareId == null) + throw new ApiException(400, "Missing required parameter 'shareId' when calling EnvelopesApi->UpdateEnvelopesShare"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/workflow"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/shares/{shareId}"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -27863,13 +29075,14 @@ public async System.Threading.Tasks.Task> UpdateEnvelopeWo localVarPathParams.Add("format", "json"); if (accountId != null) localVarPathParams.Add("accountId", this.ApiClient.ParameterToString(accountId)); // path parameter if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter - if (workflow != null && workflow.GetType() != typeof(byte[])) + if (shareId != null) localVarPathParams.Add("shareId", this.ApiClient.ParameterToString(shareId)); // path parameter + if (envelopesSharePermissionRequest != null && envelopesSharePermissionRequest.GetType() != typeof(byte[])) { - localVarPostBody = this.ApiClient.Serialize(workflow); // http body (model) parameter + localVarPostBody = this.ApiClient.Serialize(envelopesSharePermissionRequest); // http body (model) parameter } else { - localVarPostBody = workflow; // byte array + localVarPostBody = envelopesSharePermissionRequest; // byte array } // authentication (docusignAccessCode) required @@ -27888,53 +29101,48 @@ public async System.Threading.Tasks.Task> UpdateEnvelopeWo if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("UpdateEnvelopeWorkflowDefinition", localVarResponse); + Exception exception = ExceptionFactory("UpdateEnvelopesShare", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (Workflow)this.ApiClient.Deserialize(localVarResponse, typeof(Workflow))); + (EnvelopesShareResponse)this.ApiClient.Deserialize(localVarResponse, typeof(EnvelopesShareResponse))); } /// - /// Updates the envelope workflow step definition for an envelope. + /// Updates existing envelopes shares /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// - /// (optional) - /// WorkflowStep - public WorkflowStep UpdateEnvelopeWorkflowStepDefinition(string accountId, string envelopeId, string workflowStepId, WorkflowStep workflowStep = null) + /// (optional) + /// EnvelopesSharesResponse + public EnvelopesSharesResponse UpdateEnvelopesShares(string accountId, string envelopeId, EnvelopesSharesRequest envelopesSharesRequest = null) { - ApiResponse localVarResponse = UpdateEnvelopeWorkflowStepDefinitionWithHttpInfo(accountId, envelopeId, workflowStepId, workflowStep); + ApiResponse localVarResponse = UpdateEnvelopesSharesWithHttpInfo(accountId, envelopeId, envelopesSharesRequest); return localVarResponse.Data; } /// - /// Updates the envelope workflow step definition for an envelope. + /// Updates existing envelopes shares /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// - /// (optional) - /// ApiResponse of WorkflowStep - public ApiResponse UpdateEnvelopeWorkflowStepDefinitionWithHttpInfo(string accountId, string envelopeId, string workflowStepId, WorkflowStep workflowStep = null) + /// (optional) + /// ApiResponse of EnvelopesSharesResponse + public ApiResponse UpdateEnvelopesSharesWithHttpInfo(string accountId, string envelopeId, EnvelopesSharesRequest envelopesSharesRequest = null) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->UpdateEnvelopeWorkflowStepDefinition"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->UpdateEnvelopesShares"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->UpdateEnvelopeWorkflowStepDefinition"); - // verify the required parameter 'workflowStepId' is set - if (workflowStepId == null) - throw new ApiException(400, "Missing required parameter 'workflowStepId' when calling EnvelopesApi->UpdateEnvelopeWorkflowStepDefinition"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->UpdateEnvelopesShares"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/workflow/steps/{workflowStepId}"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/shares"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -27961,14 +29169,13 @@ public ApiResponse UpdateEnvelopeWorkflowStepDefinitionWithHttpInf localVarPathParams.Add("format", "json"); if (accountId != null) localVarPathParams.Add("accountId", this.ApiClient.ParameterToString(accountId)); // path parameter if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter - if (workflowStepId != null) localVarPathParams.Add("workflowStepId", this.ApiClient.ParameterToString(workflowStepId)); // path parameter - if (workflowStep != null && workflowStep.GetType() != typeof(byte[])) + if (envelopesSharesRequest != null && envelopesSharesRequest.GetType() != typeof(byte[])) { - localVarPostBody = this.ApiClient.Serialize(workflowStep); // http body (model) parameter + localVarPostBody = this.ApiClient.Serialize(envelopesSharesRequest); // http body (model) parameter } else { - localVarPostBody = workflowStep; // byte array + localVarPostBody = envelopesSharesRequest; // byte array } // authentication (docusignAccessCode) required @@ -27987,52 +29194,47 @@ public ApiResponse UpdateEnvelopeWorkflowStepDefinitionWithHttpInf if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("UpdateEnvelopeWorkflowStepDefinition", localVarResponse); + Exception exception = ExceptionFactory("UpdateEnvelopesShares", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (WorkflowStep)this.ApiClient.Deserialize(localVarResponse, typeof(WorkflowStep))); + (EnvelopesSharesResponse)this.ApiClient.Deserialize(localVarResponse, typeof(EnvelopesSharesResponse))); } /// - /// Updates the envelope workflow step definition for an envelope. + /// Updates existing envelopes shares /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// - /// (optional) - /// Task of WorkflowStep - public async System.Threading.Tasks.Task UpdateEnvelopeWorkflowStepDefinitionAsync(string accountId, string envelopeId, string workflowStepId, WorkflowStep workflowStep = null) + /// (optional) + /// Task of EnvelopesSharesResponse + public async System.Threading.Tasks.Task UpdateEnvelopesSharesAsync(string accountId, string envelopeId, EnvelopesSharesRequest envelopesSharesRequest = null) { - ApiResponse localVarResponse = await UpdateEnvelopeWorkflowStepDefinitionAsyncWithHttpInfo(accountId, envelopeId, workflowStepId, workflowStep); + ApiResponse localVarResponse = await UpdateEnvelopesSharesAsyncWithHttpInfo(accountId, envelopeId, envelopesSharesRequest); return localVarResponse.Data; } /// - /// Updates the envelope workflow step definition for an envelope. + /// Updates existing envelopes shares /// /// Thrown when fails to make API call /// The external account number (int) or account ID Guid. /// The envelopeId Guid of the envelope being accessed. - /// - /// (optional) - /// Task of ApiResponse (WorkflowStep) - public async System.Threading.Tasks.Task> UpdateEnvelopeWorkflowStepDefinitionAsyncWithHttpInfo(string accountId, string envelopeId, string workflowStepId, WorkflowStep workflowStep = null) + /// (optional) + /// Task of ApiResponse (EnvelopesSharesResponse) + public async System.Threading.Tasks.Task> UpdateEnvelopesSharesAsyncWithHttpInfo(string accountId, string envelopeId, EnvelopesSharesRequest envelopesSharesRequest = null) { // verify the required parameter 'accountId' is set if (accountId == null) - throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->UpdateEnvelopeWorkflowStepDefinition"); + throw new ApiException(400, "Missing required parameter 'accountId' when calling EnvelopesApi->UpdateEnvelopesShares"); // verify the required parameter 'envelopeId' is set if (envelopeId == null) - throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->UpdateEnvelopeWorkflowStepDefinition"); - // verify the required parameter 'workflowStepId' is set - if (workflowStepId == null) - throw new ApiException(400, "Missing required parameter 'workflowStepId' when calling EnvelopesApi->UpdateEnvelopeWorkflowStepDefinition"); + throw new ApiException(400, "Missing required parameter 'envelopeId' when calling EnvelopesApi->UpdateEnvelopesShares"); - var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/workflow/steps/{workflowStepId}"; + var localVarPath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/shares"; var localVarPathParams = new Dictionary(); var localVarQueryParams = new Dictionary(); var localVarHeaderParams = new Dictionary(this.ApiClient.Configuration.DefaultHeader); @@ -28059,14 +29261,13 @@ public async System.Threading.Tasks.Task> UpdateEnvelo localVarPathParams.Add("format", "json"); if (accountId != null) localVarPathParams.Add("accountId", this.ApiClient.ParameterToString(accountId)); // path parameter if (envelopeId != null) localVarPathParams.Add("envelopeId", this.ApiClient.ParameterToString(envelopeId)); // path parameter - if (workflowStepId != null) localVarPathParams.Add("workflowStepId", this.ApiClient.ParameterToString(workflowStepId)); // path parameter - if (workflowStep != null && workflowStep.GetType() != typeof(byte[])) + if (envelopesSharesRequest != null && envelopesSharesRequest.GetType() != typeof(byte[])) { - localVarPostBody = this.ApiClient.Serialize(workflowStep); // http body (model) parameter + localVarPostBody = this.ApiClient.Serialize(envelopesSharesRequest); // http body (model) parameter } else { - localVarPostBody = workflowStep; // byte array + localVarPostBody = envelopesSharesRequest; // byte array } // authentication (docusignAccessCode) required @@ -28085,13 +29286,13 @@ public async System.Threading.Tasks.Task> UpdateEnvelo if (ExceptionFactory != null) { - Exception exception = ExceptionFactory("UpdateEnvelopeWorkflowStepDefinition", localVarResponse); + Exception exception = ExceptionFactory("UpdateEnvelopesShares", localVarResponse); if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(localVarStatusCode, localVarResponse.Headers.ToDictionary(x => x.Key, x => x.Value.ToString()), - (WorkflowStep)this.ApiClient.Deserialize(localVarResponse, typeof(WorkflowStep))); + (EnvelopesSharesResponse)this.ApiClient.Deserialize(localVarResponse, typeof(EnvelopesSharesResponse))); } diff --git a/sdk/src/DocuSign.eSign/Api/GroupsApi.cs b/sdk/src/DocuSign.eSign/Api/GroupsApi.cs index 5d70c5e87..02d929cdc 100644 --- a/sdk/src/DocuSign.eSign/Api/GroupsApi.cs +++ b/sdk/src/DocuSign.eSign/Api/GroupsApi.cs @@ -153,7 +153,7 @@ public interface IGroupsApi : IApiAccessor /// The ID of the group being accessed. /// Options for modifying the behavior of the function. /// - UsersResponse ListGroupUsers(string accountId, string groupId, GroupsApi.ListGroupUsersOptions options = null); + GroupUsersResponse ListGroupUsers(string accountId, string groupId, GroupsApi.ListGroupUsersOptions options = null); /// /// Gets a list of users in a group. @@ -166,7 +166,7 @@ public interface IGroupsApi : IApiAccessor /// The ID of the group being accessed. /// Options for modifying the behavior of the function. /// ApiResponse of - ApiResponse ListGroupUsersWithHttpInfo(string accountId, string groupId, GroupsApi.ListGroupUsersOptions options = null); + ApiResponse ListGroupUsersWithHttpInfo(string accountId, string groupId, GroupsApi.ListGroupUsersOptions options = null); /// /// Gets information about groups associated with the account. /// @@ -394,8 +394,8 @@ public interface IGroupsApi : IApiAccessor /// The external account number (int) or account ID Guid. /// The ID of the group being accessed. /// Options for modifying the behavior of the function. - /// Task of UsersResponse - System.Threading.Tasks.Task ListGroupUsersAsync(string accountId, string groupId, GroupsApi.ListGroupUsersOptions options = null); + /// Task of GroupUsersResponse + System.Threading.Tasks.Task ListGroupUsersAsync(string accountId, string groupId, GroupsApi.ListGroupUsersOptions options = null); /// /// Gets a list of users in a group. @@ -407,8 +407,8 @@ public interface IGroupsApi : IApiAccessor /// The external account number (int) or account ID Guid. /// The ID of the group being accessed. /// Options for modifying the behavior of the function. - /// Task of ApiResponse (UsersResponse) - System.Threading.Tasks.Task> ListGroupUsersAsyncWithHttpInfo(string accountId, string groupId, GroupsApi.ListGroupUsersOptions options = null); + /// Task of ApiResponse (GroupUsersResponse) + System.Threading.Tasks.Task> ListGroupUsersAsyncWithHttpInfo(string accountId, string groupId, GroupsApi.ListGroupUsersOptions options = null); /// /// Gets information about groups associated with the account. /// @@ -1458,10 +1458,10 @@ public class ListGroupUsersOptions /// The external account number (int) or account ID Guid. /// The ID of the group being accessed. /// Options for modifying the behavior of the function. - /// UsersResponse - public UsersResponse ListGroupUsers(string accountId, string groupId, GroupsApi.ListGroupUsersOptions options = null) + /// GroupUsersResponse + public GroupUsersResponse ListGroupUsers(string accountId, string groupId, GroupsApi.ListGroupUsersOptions options = null) { - ApiResponse localVarResponse = ListGroupUsersWithHttpInfo(accountId, groupId, options); + ApiResponse localVarResponse = ListGroupUsersWithHttpInfo(accountId, groupId, options); return localVarResponse.Data; } @@ -1472,8 +1472,8 @@ public UsersResponse ListGroupUsers(string accountId, string groupId, GroupsApi. /// The external account number (int) or account ID Guid. /// The ID of the group being accessed. /// Options for modifying the behavior of the function. - /// ApiResponse of UsersResponse - public ApiResponse ListGroupUsersWithHttpInfo(string accountId, string groupId, GroupsApi.ListGroupUsersOptions options = null) + /// ApiResponse of GroupUsersResponse + public ApiResponse ListGroupUsersWithHttpInfo(string accountId, string groupId, GroupsApi.ListGroupUsersOptions options = null) { // verify the required parameter 'accountId' is set if (accountId == null) @@ -1535,9 +1535,9 @@ public ApiResponse ListGroupUsersWithHttpInfo(string accountId, s if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(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))); } /// @@ -1547,10 +1547,10 @@ public ApiResponse ListGroupUsersWithHttpInfo(string accountId, s /// The external account number (int) or account ID Guid. /// The ID of the group being accessed. /// Options for modifying the behavior of the function. - /// Task of UsersResponse - public async System.Threading.Tasks.Task ListGroupUsersAsync(string accountId, string groupId, GroupsApi.ListGroupUsersOptions options = null) + /// Task of GroupUsersResponse + public async System.Threading.Tasks.Task ListGroupUsersAsync(string accountId, string groupId, GroupsApi.ListGroupUsersOptions options = null) { - ApiResponse localVarResponse = await ListGroupUsersAsyncWithHttpInfo(accountId, groupId, options); + ApiResponse localVarResponse = await ListGroupUsersAsyncWithHttpInfo(accountId, groupId, options); return localVarResponse.Data; } @@ -1561,8 +1561,8 @@ public async System.Threading.Tasks.Task ListGroupUsersAsync(stri /// The external account number (int) or account ID Guid. /// The ID of the group being accessed. /// Options for modifying the behavior of the function. - /// Task of ApiResponse (UsersResponse) - public async System.Threading.Tasks.Task> ListGroupUsersAsyncWithHttpInfo(string accountId, string groupId, GroupsApi.ListGroupUsersOptions options = null) + /// Task of ApiResponse (GroupUsersResponse) + public async System.Threading.Tasks.Task> ListGroupUsersAsyncWithHttpInfo(string accountId, string groupId, GroupsApi.ListGroupUsersOptions options = null) { // verify the required parameter 'accountId' is set if (accountId == null) @@ -1624,9 +1624,9 @@ public async System.Threading.Tasks.Task> ListGroupUs if (exception != null) throw exception; } - return new ApiResponse(localVarStatusCode, + return new ApiResponse(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))); } /// diff --git a/sdk/src/DocuSign.eSign/Client/Configuration.cs b/sdk/src/DocuSign.eSign/Client/Configuration.cs index 0e1568b40..10ee6a5b8 100644 --- a/sdk/src/DocuSign.eSign/Client/Configuration.cs +++ b/sdk/src/DocuSign.eSign/Client/Configuration.cs @@ -26,7 +26,7 @@ public class Configuration /// Version of the package. /// /// Version of the package. - public const string Version = "9.0.0"; + public const string Version = "10.0.0"; /// /// Identifier for ISO 8601 DateTime Format diff --git a/sdk/src/DocuSign.eSign/DocuSign.eSign.csproj b/sdk/src/DocuSign.eSign/DocuSign.eSign.csproj index b66e6f0f4..f7a8c9a7e 100644 --- a/sdk/src/DocuSign.eSign/DocuSign.eSign.csproj +++ b/sdk/src/DocuSign.eSign/DocuSign.eSign.csproj @@ -16,7 +16,7 @@ DocuSign.eSign DocuSign.eSign en-US - 9.0.0 + 10.0.0 true true @@ -26,7 +26,7 @@ https://github.com/docusign/docusign-esign-csharp-client/blob/master/LICENSE https://github.com/docusign/docusign-esign-csharp-client git - [v9.0.0] - ESignature API v2.1-26.1.02.00 - 5/3/2026 + [v10.0.0] - ESignature API v2.1-26.2.00.00 - 6/1/2026 NET462 diff --git a/sdk/src/DocuSign.eSign/Model/AccountSettingsInformation.cs b/sdk/src/DocuSign.eSign/Model/AccountSettingsInformation.cs index 3c293f2bf..9f27b61b5 100644 --- a/sdk/src/DocuSign.eSign/Model/AccountSettingsInformation.cs +++ b/sdk/src/DocuSign.eSign/Model/AccountSettingsInformation.cs @@ -44,6 +44,7 @@ public AccountSettingsInformation() /// Metadata that indicates whether the `accountName` property is editable.. /// An object that specifies notifications (expirations and reminders) for the envelope.. /// An object that defines the settings to use in the UI.. + /// AdditionalSettings. /// AdoptSigConfig. /// Metadata that indicates whether the `adoptSigConfig` property is editable. . /// AdvancedCorrect. @@ -54,6 +55,8 @@ public AccountSettingsInformation() /// AdvancedSearchEnableTemplateIdFieldMetadata. /// AdvancedSearchEnableTemplateNameField. /// AdvancedSearchEnableTemplateNameFieldMetadata. + /// AiAssistedWebFormCreationLevel. + /// AiAssistedWebFormCreationLevelMetadata. /// AllowAccessCodeFormat. /// Metadata that indicates whether the `allowAccessCodeFormat` property is editable. . /// AllowAccountManagementGranular. @@ -488,6 +491,8 @@ public AccountSettingsInformation() /// EnableI9OnDemandMetadata. /// EnableIAMClauseLibrary. /// EnableIAMClauseLibraryMetadata. + /// EnableIAMforXEmbeddedUX. + /// EnableIAMforXEmbeddedUXMetadata. /// EnableIDFxAccountlessSMSAuthForPart11. /// EnableIDFxAccountlessSMSAuthForPart11Metadata. /// EnableIDFxIntuitKBA. @@ -555,6 +560,8 @@ public AccountSettingsInformation() /// Metadata that indicates whether the `enableReservedDomain` property is editable. . /// EnableResponsiveSigning. /// Metadata that indicates whether the `enableResponsiveSigning` property is editable. . + /// EnableReviewerEventsSetting. + /// EnableReviewerEventsSettingMetadata. /// EnableSAPAribaExtension. /// EnableSAPAribaExtensionMetaData. /// EnableScheduledRelease. @@ -890,7 +897,7 @@ public AccountSettingsInformation() /// Metadata that indicates whether the `writeReminderToEnvelopeHistory` property is editable. . /// WurflMinAllowableScreenSize. /// Metadata that indicates whether the `wurflMinAllowableScreenSize` property is editable. . - public AccountSettingsInformation(AccessCodeFormat AccessCodeFormat = default(AccessCodeFormat), string AccountDateTimeFormat = default(string), SettingsMetadata AccountDateTimeFormatMetadata = default(SettingsMetadata), string AccountDefaultLanguage = default(string), SettingsMetadata AccountDefaultLanguageMetadata = default(SettingsMetadata), string AccountName = default(string), SettingsMetadata AccountNameMetadata = default(SettingsMetadata), AccountNotification AccountNotification = default(AccountNotification), AccountUISettings AccountUISettings = default(AccountUISettings), string AdoptSigConfig = default(string), SettingsMetadata AdoptSigConfigMetadata = default(SettingsMetadata), string AdvancedCorrect = default(string), SettingsMetadata AdvancedCorrectMetadata = default(SettingsMetadata), string AdvancedSearchEnableTabField = default(string), SettingsMetadata AdvancedSearchEnableTabFieldMetadata = default(SettingsMetadata), string AdvancedSearchEnableTemplateIdField = default(string), SettingsMetadata AdvancedSearchEnableTemplateIdFieldMetadata = default(SettingsMetadata), string AdvancedSearchEnableTemplateNameField = default(string), SettingsMetadata AdvancedSearchEnableTemplateNameFieldMetadata = default(SettingsMetadata), string AllowAccessCodeFormat = default(string), SettingsMetadata AllowAccessCodeFormatMetadata = default(SettingsMetadata), string AllowAccountManagementGranular = default(string), SettingsMetadata AllowAccountManagementGranularMetadata = default(SettingsMetadata), string AllowAccountMemberNameChange = default(string), SettingsMetadata AllowAccountMemberNameChangeMetadata = default(SettingsMetadata), string AllowACE = default(string), SettingsMetadata AllowACEMetadata = default(SettingsMetadata), string AllowAdvancedRecipientRoutingConditional = default(string), SettingsMetadata AllowAdvancedRecipientRoutingConditionalMetadata = default(SettingsMetadata), string AllowAgentNameEmailEdit = default(string), SettingsMetadata AllowAgentNameEmailEditMetadata = default(SettingsMetadata), string AllowAgreementActions = default(string), SettingsMetadata AllowAgreementActionsMetadata = default(SettingsMetadata), string AllowAgreementOrchestrations = default(string), SettingsMetadata AllowAgreementOrchestrationsMetadata = default(SettingsMetadata), string AllowAutoNavSettings = default(string), SettingsMetadata AllowAutoNavSettingsMetadata = default(SettingsMetadata), string AllowAutoTagging = default(string), SettingsMetadata AllowAutoTaggingMetadata = default(SettingsMetadata), string AllowBulkSend = default(string), SettingsMetadata AllowBulkSendMetadata = default(SettingsMetadata), string AllowBYOIDV = default(string), SettingsMetadata AllowBYOIDVMetadata = default(SettingsMetadata), string AllowCDWithdraw = default(string), SettingsMetadata AllowCDWithdrawMetadata = default(SettingsMetadata), string AllowConnectAgreementUI = default(string), SettingsMetadata AllowConnectAgreementUIMetadata = default(SettingsMetadata), string AllowConnectAuthoritativeCopyReadyEventUI = default(string), string AllowConnectEnvelopeReminderSentEventUI = default(string), string AllowConnectEnvelopeRemovedEvent = default(string), string AllowConnectExtensionUI = default(string), string AllowConnectHttpListenerConfigs = default(string), string AllowConnectIdentityVerificationUI = default(string), string AllowConnectOAuthUI = default(string), string AllowConnectSendFinishLater = default(string), SettingsMetadata AllowConnectSendFinishLaterMetadata = default(SettingsMetadata), string AllowConnectUnifiedPayloadUI = default(string), string AllowConsumerDisclosureOverride = default(string), SettingsMetadata AllowConsumerDisclosureOverrideMetadata = default(SettingsMetadata), string AllowDataDownload = default(string), SettingsMetadata AllowDataDownloadMetadata = default(SettingsMetadata), string AllowDelayedRouting = default(string), SettingsMetadata AllowDelayedRoutingMetadata = default(SettingsMetadata), string AllowDelegatedSigning = default(string), SettingsMetadata AllowDelegatedSigningMetadata = default(SettingsMetadata), string AllowDocGenDocuments = default(string), SettingsMetadata AllowDocGenDocumentsMetadata = default(SettingsMetadata), string AllowDocumentDisclosures = default(string), SettingsMetadata AllowDocumentDisclosuresMetadata = default(SettingsMetadata), string AllowDocumentsOnSignedEnvelopes = default(string), SettingsMetadata AllowDocumentsOnSignedEnvelopesMetadata = default(SettingsMetadata), string AllowDocumentVisibility = default(string), SettingsMetadata AllowDocumentVisibilityMetadata = default(SettingsMetadata), string AllowEditingEnvelopesOnBehalfOfOthers = default(string), SettingsMetadata AllowEditingEnvelopesOnBehalfOfOthersMetadata = default(SettingsMetadata), string AllowEHankoStamps = default(string), SettingsMetadata AllowEHankoStampsMetadata = default(SettingsMetadata), string AllowENoteEOriginal = default(string), SettingsMetadata AllowENoteEOriginalMetadata = default(SettingsMetadata), string AllowEnvelopeCorrect = default(string), SettingsMetadata AllowEnvelopeCorrectMetadata = default(SettingsMetadata), string AllowEnvelopeCustodyTransfer = default(string), SettingsMetadata AllowEnvelopeCustodyTransferMetadata = default(SettingsMetadata), string AllowEnvelopeCustomFields = default(string), SettingsMetadata AllowEnvelopeCustomFieldsMetadata = default(SettingsMetadata), string AllowEnvelopePublishReporting = default(string), SettingsMetadata AllowEnvelopePublishReportingMetadata = default(SettingsMetadata), string AllowEnvelopeReporting = default(string), SettingsMetadata AllowEnvelopeReportingMetadata = default(SettingsMetadata), string AllowExpression = default(string), SettingsMetadata AllowExpressionMetadata = default(SettingsMetadata), string AllowExpressSignerCertificate = default(string), SettingsMetadata AllowExpressSignerCertificateMetadata = default(SettingsMetadata), string AllowExtendedSendingResourceFile = default(string), SettingsMetadata AllowExtendedSendingResourceFileMetadata = default(SettingsMetadata), string AllowExternalLinkedAccounts = default(string), SettingsMetadata AllowExternalLinkedAccountsMetadata = default(SettingsMetadata), string AllowExternalSignaturePad = default(string), SettingsMetadata AllowExternalSignaturePadMetadata = default(SettingsMetadata), string AllowFedRampIDVLevel1 = default(string), SettingsMetadata AllowFedRampIDVLevel1Metadata = default(SettingsMetadata), string AllowFedRampIDVLevel2 = default(string), SettingsMetadata AllowFedRampIDVLevel2Metadata = default(SettingsMetadata), string AllowIDVForEUQualifiedSignatures = default(string), SettingsMetadata AllowIDVForEUQualifiedSignaturesMetadata = default(SettingsMetadata), string AllowIDVLevel1 = default(string), SettingsMetadata AllowIDVLevel1Metadata = default(SettingsMetadata), string AllowIDVLevel1Trial = default(string), SettingsMetadata AllowIDVLevel1TrialMetadata = default(SettingsMetadata), string AllowIDVLevel2 = default(string), SettingsMetadata AllowIDVLevel2Metadata = default(SettingsMetadata), string AllowIDVLevel3 = default(string), SettingsMetadata AllowIDVLevel3Metadata = default(SettingsMetadata), string AllowIDVPlatform = default(string), SettingsMetadata AllowIDVPlatformMetadata = default(SettingsMetadata), string AllowIdvRiskAssessment = default(string), SettingsMetadata AllowIdvRiskAssessmentMetadata = default(SettingsMetadata), string AllowInPerson = default(string), string AllowInPersonElectronicNotary = default(string), SettingsMetadata AllowInPersonElectronicNotaryMetadata = default(SettingsMetadata), SettingsMetadata AllowInPersonMetadata = default(SettingsMetadata), string AllowManagedStamps = default(string), SettingsMetadata AllowManagedStampsMetadata = default(SettingsMetadata), string AllowManagingEnvelopesOnBehalfOfOthers = default(string), SettingsMetadata AllowManagingEnvelopesOnBehalfOfOthersMetadata = default(SettingsMetadata), string AllowMarkup = default(string), SettingsMetadata AllowMarkupMetadata = default(SettingsMetadata), string AllowMemberTimeZone = default(string), SettingsMetadata AllowMemberTimeZoneMetadata = default(SettingsMetadata), string AllowMergeFields = default(string), SettingsMetadata AllowMergeFieldsMetadata = default(SettingsMetadata), string AllowMultipleBrandProfiles = default(string), SettingsMetadata AllowMultipleBrandProfilesMetadata = default(SettingsMetadata), string AllowMultipleSignerAttachments = default(string), SettingsMetadata AllowMultipleSignerAttachmentsMetadata = default(SettingsMetadata), string AllowNonUSPhoneAuth = default(string), SettingsMetadata AllowNonUSPhoneAuthMetadata = default(SettingsMetadata), string AllowOcrOfEnvelopeDocuments = default(string), SettingsMetadata AllowOcrOfEnvelopeDocumentsMetadata = default(SettingsMetadata), string AllowOfflineSigning = default(string), SettingsMetadata AllowOfflineSigningMetadata = default(SettingsMetadata), string AllowOnlyStandaloneWebForms = default(string), SettingsMetadata AllowOnlyStandaloneWebFormsMetadata = default(SettingsMetadata), string AllowOpenTrustSignerCertificate = default(string), SettingsMetadata AllowOpenTrustSignerCertificateMetadata = default(SettingsMetadata), string AllowOrganizationBranding = default(string), SettingsMetadata AllowOrganizationBrandingMetadata = default(SettingsMetadata), string AllowOrganizationDocusignMonitor = default(string), string AllowOrganizationDocusignMonitorFree = default(string), SettingsMetadata AllowOrganizationDocusignMonitorFreeMetadata = default(SettingsMetadata), SettingsMetadata AllowOrganizationDocusignMonitorMetadata = default(SettingsMetadata), string AllowOrganizationDomainUserManagement = default(string), SettingsMetadata AllowOrganizationDomainUserManagementMetadata = default(SettingsMetadata), string AllowOrganizations = default(string), SettingsMetadata AllowOrganizationsMetadata = default(SettingsMetadata), string AllowOrganizationSsoManagement = default(string), SettingsMetadata AllowOrganizationSsoManagementMetadata = default(SettingsMetadata), string AllowOrganizationToUseInPersonElectronicNotary = default(string), SettingsMetadata AllowOrganizationToUseInPersonElectronicNotaryMetadata = default(SettingsMetadata), string AllowOrganizationToUseRemoteNotary = default(string), SettingsMetadata AllowOrganizationToUseRemoteNotaryMetadata = default(SettingsMetadata), string AllowOrganizationToUseThirdPartyElectronicNotary = default(string), SettingsMetadata AllowOrganizationToUseThirdPartyElectronicNotaryMetadata = default(SettingsMetadata), string AllowParticipantRecipientType = default(string), SettingsMetadata AllowParticipantRecipientTypeMetadata = default(SettingsMetadata), string AllowPaymentProcessing = default(string), SettingsMetadata AllowPaymentProcessingMetadata = default(SettingsMetadata), string AllowPendingDestinationUrlEdition = default(string), SettingsMetadata AllowPendingDestinationUrlEditionMetadata = default(SettingsMetadata), string AllowPerformanceAnalytics = default(string), SettingsMetadata AllowPerformanceAnalyticsMetadata = default(SettingsMetadata), string AllowPhoneAuthentication = default(string), SettingsMetadata AllowPhoneAuthenticationMetadata = default(SettingsMetadata), string AllowPhoneAuthOverride = default(string), SettingsMetadata AllowPhoneAuthOverrideMetadata = default(SettingsMetadata), string AllowPrivateSigningGroups = default(string), SettingsMetadata AllowPrivateSigningGroupsMetadata = default(SettingsMetadata), string AllowRecipientConnect = default(string), SettingsMetadata AllowRecipientConnectMetadata = default(SettingsMetadata), string AllowReminders = default(string), SettingsMetadata AllowRemindersMetadata = default(SettingsMetadata), string AllowRemoteNotary = default(string), SettingsMetadata AllowRemoteNotaryMetadata = default(SettingsMetadata), string AllowResourceFileBranding = default(string), SettingsMetadata AllowResourceFileBrandingMetadata = default(SettingsMetadata), string AllowSafeBioPharmaSignerCertificate = default(string), SettingsMetadata AllowSafeBioPharmaSignerCertificateMetadata = default(SettingsMetadata), string AllowScheduledSending = default(string), SettingsMetadata AllowScheduledSendingMetadata = default(SettingsMetadata), string AllowSecurityAppliance = default(string), SettingsMetadata AllowSecurityApplianceMetadata = default(SettingsMetadata), string AllowSendingEnvelopesOnBehalfOfOthers = default(string), SettingsMetadata AllowSendingEnvelopesOnBehalfOfOthersMetadata = default(SettingsMetadata), string AllowSendToCertifiedDelivery = default(string), SettingsMetadata AllowSendToCertifiedDeliveryMetadata = default(SettingsMetadata), string AllowSendToIntermediary = default(string), SettingsMetadata AllowSendToIntermediaryMetadata = default(SettingsMetadata), string AllowServerTemplates = default(string), SettingsMetadata AllowServerTemplatesMetadata = default(SettingsMetadata), string AllowSetEmbeddedRecipientStartURL = default(string), SettingsMetadata AllowSetEmbeddedRecipientStartURLMetadata = default(SettingsMetadata), string AllowSharedTabs = default(string), SettingsMetadata AllowSharedTabsMetadata = default(SettingsMetadata), string AllowSignatureStamps = default(string), SettingsMetadata AllowSignatureStampsMetadata = default(SettingsMetadata), string AllowSignDocumentFromHomePage = default(string), SettingsMetadata AllowSignDocumentFromHomePageMetadata = default(SettingsMetadata), string AllowSignerReassign = default(string), SettingsMetadata AllowSignerReassignMetadata = default(SettingsMetadata), string AllowSignerReassignOverride = default(string), SettingsMetadata AllowSignerReassignOverrideMetadata = default(SettingsMetadata), string AllowSigningExtensions = default(string), SettingsMetadata AllowSigningExtensionsMetadata = default(SettingsMetadata), string AllowSigningGroups = default(string), SettingsMetadata AllowSigningGroupsMetadata = default(SettingsMetadata), string AllowSigningInsights = default(string), SettingsMetadata AllowSigningInsightsMetadata = default(SettingsMetadata), string AllowSigningRadioDeselect = default(string), SettingsMetadata AllowSigningRadioDeselectMetadata = default(SettingsMetadata), string AllowSignNow = default(string), string AllowSignNowMetadata = default(string), string AllowSMSDelivery = default(string), SettingsMetadata AllowSMSDeliveryMetadata = default(SettingsMetadata), string AllowSocialIdLogin = default(string), SettingsMetadata AllowSocialIdLoginMetadata = default(SettingsMetadata), string AllowSupplementalDocuments = default(string), SettingsMetadata AllowSupplementalDocumentsMetadata = default(SettingsMetadata), string AllowThirdPartyElectronicNotary = default(string), SettingsMetadata AllowThirdPartyElectronicNotaryMetadata = default(SettingsMetadata), string AllowTransactionsWorkspace = default(string), SettingsMetadata AllowTransactionsWorkspaceMetadata = default(SettingsMetadata), string AllowTransactionsWorkspaceOriginal = default(string), SettingsMetadata AllowTransactionsWorkspaceOriginalMetadata = default(SettingsMetadata), string AllowUsersToAccessDirectory = default(string), SettingsMetadata AllowUsersToAccessDirectoryMetadata = default(SettingsMetadata), string AllowValueInsights = default(string), SettingsMetadata AllowValueInsightsMetadata = default(SettingsMetadata), string AllowWebForms = default(string), SettingsMetadata AllowWebFormsMetadata = default(SettingsMetadata), string AllowWhatsAppDelivery = default(string), SettingsMetadata AllowWhatsAppDeliveryMetadata = default(SettingsMetadata), string AnchorPopulationScope = default(string), SettingsMetadata AnchorPopulationScopeMetadata = default(SettingsMetadata), string AnchorTagVersionedPlacementEnabled = default(string), SettingsMetadata AnchorTagVersionedPlacementMetadataEnabled = default(SettingsMetadata), string AttachCompletedEnvelope = default(string), SettingsMetadata AttachCompletedEnvelopeMetadata = default(SettingsMetadata), string AuthenticationCheck = default(string), SettingsMetadata AuthenticationCheckMetadata = default(SettingsMetadata), string AutoNavRule = default(string), SettingsMetadata AutoNavRuleMetadata = default(SettingsMetadata), string AutoProvisionSignerAccount = default(string), SettingsMetadata AutoProvisionSignerAccountMetadata = default(SettingsMetadata), string BccEmailArchive = default(string), SettingsMetadata BccEmailArchiveMetadata = default(SettingsMetadata), string BetaSwitchConfiguration = default(string), SettingsMetadata BetaSwitchConfigurationMetadata = default(SettingsMetadata), AddressInformation BillingAddress = default(AddressInformation), SettingsMetadata BillingAddressMetadata = default(SettingsMetadata), string BulkSend = default(string), string BulkSendActionResendLimit = default(string), string BulkSendMaxCopiesInBatch = default(string), string BulkSendMaxUnprocessedEnvelopesCount = default(string), SettingsMetadata BulkSendMetadata = default(SettingsMetadata), string CanSelfBrandSend = default(string), SettingsMetadata CanSelfBrandSendMetadata = default(SettingsMetadata), string CanSelfBrandSign = default(string), SettingsMetadata CanSelfBrandSignMetadata = default(SettingsMetadata), string CanUseSalesforceOAuth = default(string), SettingsMetadata CanUseSalesforceOAuthMetadata = default(SettingsMetadata), string CaptureVoiceRecording = default(string), SettingsMetadata CaptureVoiceRecordingMetadata = default(SettingsMetadata), string Cfr21SimplifiedSigningEnabled = default(string), SettingsMetadata Cfr21SimplifiedSigningEnabledMetadata = default(SettingsMetadata), string CfrUseWideImage = default(string), SettingsMetadata CfrUseWideImageMetadata = default(SettingsMetadata), string CheckForMultipleAdminsOnAccount = default(string), SettingsMetadata CheckForMultipleAdminsOnAccountMetadata = default(SettingsMetadata), string ChromeSignatureEnabled = default(string), SettingsMetadata ChromeSignatureEnabledMetadata = default(SettingsMetadata), string CloudReady = default(string), string CommentEmailShowMessageText = default(string), SettingsMetadata CommentEmailShowMessageTextMetadata = default(SettingsMetadata), string CommentsAllowEnvelopeOverride = default(string), SettingsMetadata CommentsAllowEnvelopeOverrideMetadata = default(SettingsMetadata), string ConditionalFieldsEnabled = default(string), SettingsMetadata ConditionalFieldsEnabledMetadata = default(SettingsMetadata), string ConsumerDisclosureFrequency = default(string), SettingsMetadata ConsumerDisclosureFrequencyMetadata = default(SettingsMetadata), string ConvertPdfFields = default(string), SettingsMetadata ConvertPdfFieldsMetadata = default(SettingsMetadata), string CustomExtractionPlanLevels = default(string), SettingsMetadata CustomExtractionPlanLevelsMetadata = default(SettingsMetadata), string DataPopulationScope = default(string), SettingsMetadata DataPopulationScopeMetadata = default(SettingsMetadata), string DefaultSigningResponsiveView = default(string), SettingsMetadata DefaultSigningResponsiveViewMetadata = default(SettingsMetadata), string DefaultSigningResponsiveViewUseGrade = default(string), SettingsMetadata DefaultSigningResponsiveViewUseGradeMetadata = default(SettingsMetadata), string DefaultToAdvancedEnvelopesFilterForm = default(string), SettingsMetadata DefaultToAdvancedEnvelopesFilterFormMetadata = default(SettingsMetadata), string DisableAutoTemplateMatching = default(string), SettingsMetadata DisableAutoTemplateMatchingMetadata = default(SettingsMetadata), string DisableLegacyKba = default(string), SettingsMetadata DisableLegacyKbaMetadata = default(SettingsMetadata), string DisableLegacySharedEnvelopes = default(string), SettingsMetadata DisableLegacySharedEnvelopesMetadata = default(SettingsMetadata), string DisableMobileApp = default(string), SettingsMetadata DisableMobileAppMetadata = default(SettingsMetadata), string DisableMobilePushNotifications = default(string), SettingsMetadata DisableMobilePushNotificationsMetadata = default(SettingsMetadata), string DisableMobileSending = default(string), SettingsMetadata DisableMobileSendingMetadata = default(SettingsMetadata), string DisableMultipleSessions = default(string), SettingsMetadata DisableMultipleSessionsMetadata = default(SettingsMetadata), SettingsMetadata DisablePurgeNotificationsForSenderMetadata = default(SettingsMetadata), string DisableSignerCertView = default(string), SettingsMetadata DisableSignerCertViewMetadata = default(SettingsMetadata), string DisableSignerHistoryView = default(string), SettingsMetadata DisableSignerHistoryViewMetadata = default(SettingsMetadata), string DisableStyleSignature = default(string), SettingsMetadata DisableStyleSignatureMetadata = default(SettingsMetadata), string DisableUploadSignature = default(string), SettingsMetadata DisableUploadSignatureMetadata = default(SettingsMetadata), string DisableUserSharing = default(string), SettingsMetadata DisableUserSharingMetadata = default(SettingsMetadata), string DisplayBetaSwitch = default(string), SettingsMetadata DisplayBetaSwitchMetadata = default(SettingsMetadata), string DocumentConversionRestrictions = default(string), SettingsMetadata DocumentConversionRestrictionsMetadata = default(SettingsMetadata), string DocumentRetention = default(string), SettingsMetadata DocumentRetentionMetadata = default(SettingsMetadata), string DocumentRetentionPurgeTabs = default(string), string DocumentVisibility = default(string), SettingsMetadata DocumentVisibilityMetadata = default(SettingsMetadata), string DraftEnvelopeRetention = default(string), SettingsMetadata DraftEnvelopeRetentionMetadata = default(SettingsMetadata), string DssSIGN28411EnableLeavePagePromptRadminOption = default(string), string DssSIGN29182SlideUpBarRadminOption = default(string), string EmailTemplateVersion = default(string), SettingsMetadata EmailTemplateVersionMetadata = default(SettingsMetadata), string EnableAccessCodeGenerator = default(string), SettingsMetadata EnableAccessCodeGeneratorMetadata = default(SettingsMetadata), string EnableAccountWideSearch = default(string), SettingsMetadata EnableAccountWideSearchMetadata = default(SettingsMetadata), string EnableAdditionalAdvancedWebFormsFeatures = default(string), SettingsMetadata EnableAdditionalAdvancedWebFormsFeaturesMetadata = default(SettingsMetadata), string EnableAdmHealthcare = default(string), SettingsMetadata EnableAdmHealthcareMetadata = default(SettingsMetadata), string EnableAdvancedEnvelopesSearch = default(string), SettingsMetadata EnableAdvancedEnvelopesSearchMetadata = default(SettingsMetadata), string EnableAdvancedPayments = default(string), SettingsMetadata EnableAdvancedPaymentsMetadata = default(SettingsMetadata), string EnableAdvancedPowerForms = default(string), SettingsMetadata EnableAdvancedPowerFormsMetadata = default(SettingsMetadata), string EnableAdvancedSearch = default(string), SettingsMetadata EnableAdvancedSearchMetadata = default(SettingsMetadata), string EnableAgreementActionsForCLM = default(string), SettingsMetadata EnableAgreementActionsForCLMMetadata = default(SettingsMetadata), string EnableAgreementActionsForESign = default(string), SettingsMetadata EnableAgreementActionsForESignMetadata = default(SettingsMetadata), string EnableAgreementDeskAdvanced = default(string), SettingsMetadata EnableAgreementDeskAdvancedMetaData = default(SettingsMetadata), string EnableAIContractReview = default(string), SettingsMetadata EnableAIContractReviewMetadata = default(SettingsMetadata), string EnableAISenderMessage = default(string), SettingsMetadata EnableAISenderMessageMetadata = default(SettingsMetadata), string EnableAISuggestedFields = default(string), string EnableAISuggestedFieldsAutoPlace = default(string), SettingsMetadata EnableAISuggestedFieldsAutoPlaceMetadata = default(SettingsMetadata), SettingsMetadata EnableAISuggestedFieldsMetadata = default(SettingsMetadata), string EnableAutoNav = default(string), SettingsMetadata EnableAutoNavMetadata = default(SettingsMetadata), string EnableBatchUpdateEnvelopeTypes = default(string), SettingsMetadata EnableBatchUpdateEnvelopeTypesMetadata = default(SettingsMetadata), string EnableBccDummyLink = default(string), SettingsMetadata EnableBccDummyLinkMetadata = default(SettingsMetadata), string EnableCacPivSignatureGroup = default(string), SettingsMetadata EnableCacPivSignatureGroupMetadata = default(SettingsMetadata), string EnableCalculatedFields = default(string), SettingsMetadata EnableCalculatedFieldsMetadata = default(SettingsMetadata), string EnableCFRRapidSigningEmbeddedAuth = default(string), SettingsMetadata EnableCFRRapidSigningEmbeddedAuthMetadata = default(SettingsMetadata), string EnableClickPlus = default(string), string EnableClickPlusConditionalContent = default(string), SettingsMetadata EnableClickPlusConditionalContentMetaData = default(SettingsMetadata), string EnableClickPlusCustomFields = default(string), SettingsMetadata EnableClickPlusCustomFieldsMetaData = default(SettingsMetadata), string EnableClickPlusCustomStyle = default(string), SettingsMetadata EnableClickPlusCustomStyleMetaData = default(SettingsMetadata), string EnableClickPlusDynamicContent = default(string), SettingsMetadata EnableClickPlusDynamicContentMetaData = default(SettingsMetadata), SettingsMetadata EnableClickPlusMetaData = default(SettingsMetadata), string EnableClickwraps = default(string), SettingsMetadata EnableClickwrapsMetadata = default(SettingsMetadata), string EnableCombinedPDFDownloadForSBS = default(string), string EnableCommentsHistoryDownloadInSigning = default(string), SettingsMetadata EnableCommentsHistoryDownloadInSigningMetadata = default(SettingsMetadata), string EnableContactSuggestions = default(string), SettingsMetadata EnableContactSuggestionsMetadata = default(SettingsMetadata), string EnableContentSearch = default(string), SettingsMetadata EnableContentSearchMetadata = default(SettingsMetadata), string EnableCoupaCoreExtension = default(string), SettingsMetadata EnableCoupaCoreExtensionMetadata = default(SettingsMetadata), string EnableCoupaIAMConnector = default(string), SettingsMetadata EnableCoupaIAMConnectorMetadata = default(SettingsMetadata), string EnableCustomDataVerificationExtensions = default(string), SettingsMetadata EnableCustomDataVerificationExtensionsMetadata = default(SettingsMetadata), string EnableCustomerSatisfactionMetricTracking = default(string), SettingsMetadata EnableCustomerSatisfactionMetricTrackingMetadata = default(SettingsMetadata), string EnableDataVerificationExtensions = default(string), SettingsMetadata EnableDataVerificationExtensionsMetadata = default(SettingsMetadata), string EnableDocumentTemplateLibrary = default(string), SettingsMetadata EnableDocumentTemplateLibraryMetadata = default(SettingsMetadata), string EnableDSigEUAdvancedPens = default(string), SettingsMetadata EnableDSigEUAdvancedPensMetadata = default(SettingsMetadata), string EnableDSigExpressPens = default(string), SettingsMetadata EnableDSigExpressPensMetadata = default(SettingsMetadata), string EnableDSigIDCheckForAESPens = default(string), SettingsMetadata EnableDSigIDCheckForAESPensMetadata = default(SettingsMetadata), string EnableDSigIDCheckInPersonForQESPens = default(string), SettingsMetadata EnableDSigIDCheckInPersonForQESPensMetadata = default(SettingsMetadata), string EnableDSigIDCheckRemoteForQESPens = default(string), SettingsMetadata EnableDSigIDCheckRemoteForQESPensMetadata = default(SettingsMetadata), string EnableDSigIDVerificationPens = default(string), SettingsMetadata EnableDSigIDVerificationPensMetadata = default(SettingsMetadata), string EnableDSigIDVerificationPremierPens = default(string), SettingsMetadata EnableDSigIDVerificationPremierPensMetadata = default(SettingsMetadata), string EnableDSigPenGroupEuQes = default(string), SettingsMetadata EnableDSigPenGroupEuQesMetadata = default(SettingsMetadata), string EnableDSigPlgEuQesPens = default(string), SettingsMetadata EnableDSigPlgEuQesPensMetadata = default(SettingsMetadata), string EnableDSPro = default(string), SettingsMetadata EnableDSProMetadata = default(SettingsMetadata), SettingsMetadata EnableEnforceTlsEmailsSettingMetadata = default(SettingsMetadata), string EnableEnvelopeStampingByAccountAdmin = default(string), SettingsMetadata EnableEnvelopeStampingByAccountAdminMetadata = default(SettingsMetadata), string EnableEnvelopeStampingByDSAdmin = default(string), SettingsMetadata EnableEnvelopeStampingByDSAdminMetadata = default(SettingsMetadata), string EnableESignAPIHourlyLimitManagement = default(string), SettingsMetadata EnableESignAPIHourlyLimitManagementMetadata = default(SettingsMetadata), string EnableEsignCommunities = default(string), SettingsMetadata EnableEsignCommunitiesMetadata = default(SettingsMetadata), string EnableEsignTaskList = default(string), SettingsMetadata EnableEsignTaskListMetadata = default(SettingsMetadata), string EnableGenerationWith3PIntegration = default(string), SettingsMetadata EnableGenerationWith3PIntegrationMetaData = default(SettingsMetadata), string EnableGreenhouseApp = default(string), SettingsMetadata EnableGreenhouseAppMetadata = default(SettingsMetadata), string EnableI9OnDemand = default(string), SettingsMetadata EnableI9OnDemandMetadata = default(SettingsMetadata), string EnableIAMClauseLibrary = default(string), SettingsMetadata EnableIAMClauseLibraryMetadata = default(SettingsMetadata), string EnableIDFxAccountlessSMSAuthForPart11 = default(string), SettingsMetadata EnableIDFxAccountlessSMSAuthForPart11Metadata = default(SettingsMetadata), string EnableIDFxIntuitKBA = default(string), SettingsMetadata EnableIDFxIntuitKBAMetadata = default(SettingsMetadata), string EnableIDFxPhoneAuthentication = default(string), SettingsMetadata EnableIDFxPhoneAuthenticationMetadata = default(SettingsMetadata), string EnableIdfxPhoneAuthSignatureAuthStatus = default(string), SettingsMetadata EnableIdfxPhoneAuthSignatureAuthStatusMetadata = default(SettingsMetadata), string EnableInboxBrowseViewsPoweredByElasticSearch = default(string), SettingsMetadata EnableInboxBrowseViewsPoweredByElasticSearchMetadata = default(SettingsMetadata), string EnableInboxRelevanceSort = default(string), SettingsMetadata EnableInboxRelevanceSortMetadata = default(SettingsMetadata), string EnableInBrowserEditor = default(string), SettingsMetadata EnableInBrowserEditorMetadata = default(SettingsMetadata), string EnableKeyTermsSuggestionsByDocumentType = default(string), SettingsMetadata EnableKeyTermsSuggestionsByDocumentTypeMetadata = default(SettingsMetadata), string EnableLargeFileSupport = default(string), SettingsMetadata EnableLargeFileSupportMetadata = default(SettingsMetadata), string EnableLegacySharedEnvelopes = default(string), SettingsMetadata EnableLegacySharedEnvelopesMetadata = default(SettingsMetadata), string EnableLicenseManagement = default(string), SettingsMetadata EnableLicenseManagementMetadata = default(SettingsMetadata), string EnableMicrosoftDynamics365Extension = default(string), SettingsMetadata EnableMicrosoftDynamics365ExtensionMetadata = default(SettingsMetadata), string EnableMultiUserRepositoryFeatures = default(string), SettingsMetadata EnableMultiUserRepositoryFeaturesMetadata = default(SettingsMetadata), string EnableNavigatorAPIDataIn = default(string), SettingsMetadata EnableNavigatorAPIDataInMetadata = default(SettingsMetadata), string EnableNavigatorAPIDataOut = default(string), SettingsMetadata EnableNavigatorAPIDataOutMetadata = default(SettingsMetadata), string EnableNavigatorAPIUtilities = default(string), SettingsMetadata EnableNavigatorAPIUtilitiesMetadata = default(SettingsMetadata), string EnableNavigatorForHR = default(string), SettingsMetadata EnableNavigatorForHRMetadata = default(SettingsMetadata), string EnableNavigatorHierarchyAI = default(string), SettingsMetadata EnableNavigatorHierarchyAIMetadata = default(SettingsMetadata), string EnableNavigatorPartialIngestion = default(string), SettingsMetadata EnableNavigatorPartialIngestionMetadata = default(SettingsMetadata), string EnableNavigatorTrial = default(string), SettingsMetadata EnableNavigatorTrialMetadata = default(SettingsMetadata), string EnableNotaryOnDemandWitness = default(string), SettingsMetadata EnableNotaryOnDemandWitnessMetadata = default(SettingsMetadata), string EnableObligationManagement = default(string), SettingsMetadata EnableObligationManagementMetadata = default(SettingsMetadata), SettingsMetadata EnableParticipantRecipientSettingMetadata = default(SettingsMetadata), string EnablePaymentProcessing = default(string), SettingsMetadata EnablePaymentProcessingMetadata = default(SettingsMetadata), string EnablePDFAConversion = default(string), SettingsMetadata EnablePDFAConversionMetadata = default(SettingsMetadata), string EnablePowerForm = default(string), string EnablePowerFormDirect = default(string), SettingsMetadata EnablePowerFormDirectMetadata = default(SettingsMetadata), SettingsMetadata EnablePowerFormMetadata = default(SettingsMetadata), string EnablePremiumDataVerificationExtensions = default(string), SettingsMetadata EnablePremiumDataVerificationExtensionsMetadata = default(SettingsMetadata), string EnableRecipientDomainValidation = default(string), SettingsMetadata EnableRecipientDomainValidationMetadata = default(SettingsMetadata), string EnableRecipientMayProvidePhoneNumber = default(string), SettingsMetadata EnableRecipientMayProvidePhoneNumberMetadata = default(SettingsMetadata), string EnableReportLinks = default(string), SettingsMetadata EnableReportLinksMetadata = default(SettingsMetadata), string EnableRequireSignOnPaper = default(string), SettingsMetadata EnableRequireSignOnPaperMetadata = default(SettingsMetadata), string EnableReservedDomain = default(string), SettingsMetadata EnableReservedDomainMetadata = default(SettingsMetadata), string EnableResponsiveSigning = default(string), SettingsMetadata EnableResponsiveSigningMetadata = default(SettingsMetadata), string EnableSAPAribaExtension = default(string), SettingsMetadata EnableSAPAribaExtensionMetaData = default(SettingsMetadata), string EnableScheduledRelease = default(string), SettingsMetadata EnableScheduledReleaseMetadata = default(SettingsMetadata), string EnableSearchServiceAzureUri = default(string), SettingsMetadata EnableSearchServiceAzureUriMetadata = default(SettingsMetadata), string EnableSearchSiteSpecificApi = default(string), SettingsMetadata EnableSearchSiteSpecificApiMetadata = default(SettingsMetadata), string EnableSendingTagsFontSettings = default(string), SettingsMetadata EnableSendingTagsFontSettingsMetadata = default(SettingsMetadata), string EnableSendToAgent = default(string), SettingsMetadata EnableSendToAgentMetadata = default(SettingsMetadata), string EnableSendToIntermediary = default(string), SettingsMetadata EnableSendToIntermediaryMetadata = default(SettingsMetadata), string EnableSendToManage = default(string), SettingsMetadata EnableSendToManageMetadata = default(SettingsMetadata), string EnableSequentialSigningAPI = default(string), SettingsMetadata EnableSequentialSigningAPIMetadata = default(SettingsMetadata), string EnableSequentialSigningUI = default(string), SettingsMetadata EnableSequentialSigningUIMetadata = default(SettingsMetadata), string EnableSignerAttachments = default(string), SettingsMetadata EnableSignerAttachmentsMetadata = default(SettingsMetadata), string EnableSigningAIFeaturesPlan = default(string), SettingsMetadata EnableSigningAIFeaturesPlanMetadata = default(SettingsMetadata), string EnableSigningExtensionComments = default(string), SettingsMetadata EnableSigningExtensionCommentsMetadata = default(SettingsMetadata), string EnableSigningExtensionConversations = default(string), SettingsMetadata EnableSigningExtensionConversationsMetadata = default(SettingsMetadata), string EnableSigningGroupContinuePageSetting = default(string), SettingsMetadata EnableSigningGroupContinuePageSettingMetadata = default(SettingsMetadata), string EnableSigningOrderSettingsForAccount = default(string), SettingsMetadata EnableSigningOrderSettingsForAccountMetadata = default(SettingsMetadata), string EnableSignOnPaper = default(string), SettingsMetadata EnableSignOnPaperMetadata = default(SettingsMetadata), string EnableSignOnPaperOverride = default(string), SettingsMetadata EnableSignOnPaperOverrideMetadata = default(SettingsMetadata), string EnableSignWithNotary = default(string), SettingsMetadata EnableSignWithNotaryMetadata = default(SettingsMetadata), string EnableSmartContracts = default(string), SettingsMetadata EnableSmartContractsMetadata = default(SettingsMetadata), string EnableSMSAuthentication = default(string), SettingsMetadata EnableSMSAuthenticationMetadata = default(SettingsMetadata), string EnableSMSDeliveryAdditionalNotification = default(string), SettingsMetadata EnableSMSDeliveryAdditionalNotificationMetadata = default(SettingsMetadata), string EnableSMSDeliveryPrimary = default(string), string EnableSocialIdLogin = default(string), SettingsMetadata EnableSocialIdLoginMetadata = default(SettingsMetadata), string EnableStrikeThrough = default(string), SettingsMetadata EnableStrikeThroughMetadata = default(SettingsMetadata), string EnableTickets = default(string), SettingsMetadata EnableTicketsMetaData = default(SettingsMetadata), string EnableTransactionPoint = default(string), SettingsMetadata EnableTransactionPointMetadata = default(SettingsMetadata), string EnableUnifiedRepository = default(string), SettingsMetadata EnableUnifiedRepositoryMetadata = default(SettingsMetadata), string EnableVaulting = default(string), SettingsMetadata EnableVaultingMetadata = default(SettingsMetadata), string EnableWebFormsRuntimeAPIs = default(string), SettingsMetadata EnableWebFormsRuntimeAPIsMetadata = default(SettingsMetadata), string EnableWebFormsSeparateUserPermissions = default(string), SettingsMetadata EnableWebFormsSeparateUserPermissionsMetadata = default(SettingsMetadata), string EnableWitnessing = default(string), SettingsMetadata EnableWitnessingMetadata = default(SettingsMetadata), string EnableWorkdayFinancialsExtension = default(string), SettingsMetadata EnableWorkdayFinancialsExtensionMetaData = default(SettingsMetadata), string EnableWorkdayHRApp = default(string), SettingsMetadata EnableWorkdayHRAppMetadata = default(SettingsMetadata), string EnforceTemplateNameUniqueness = default(string), SettingsMetadata EnforceTemplateNameUniquenessMetadata = default(SettingsMetadata), string EnforceTlsEmails = default(string), SettingsMetadata EnforceTlsEmailsMetadata = default(SettingsMetadata), string EnvelopeIntegrationAllowed = default(string), SettingsMetadata EnvelopeIntegrationAllowedMetadata = default(SettingsMetadata), string EnvelopeIntegrationEnabled = default(string), SettingsMetadata EnvelopeIntegrationEnabledMetadata = default(SettingsMetadata), string EnvelopeLimitsTotalDocumentSizeAllowedInMB = default(string), string EnvelopeLimitsTotalDocumentSizeAllowedInMBEnabled = default(string), SettingsMetadata EnvelopeLimitsTotalDocumentSizeAllowedInMBEnabledMetadata = default(SettingsMetadata), SettingsMetadata EnvelopeLimitsTotalDocumentSizeAllowedInMBMetadata = default(SettingsMetadata), string EnvelopeSearchMode = default(string), SettingsMetadata EnvelopeSearchModeMetadata = default(SettingsMetadata), string EnvelopeStampingDefaultValue = default(string), SettingsMetadata EnvelopeStampingDefaultValueMetadata = default(SettingsMetadata), string ExitPrompt = default(string), SettingsMetadata ExitPromptMetadata = default(SettingsMetadata), string ExpressSend = default(string), string ExpressSendAllowTabs = default(string), SettingsMetadata ExpressSendAllowTabsMetadata = default(SettingsMetadata), SettingsMetadata ExpressSendMetadata = default(SettingsMetadata), ExternalDocumentSources ExternalDocumentSources = default(ExternalDocumentSources), string ExternalSignaturePadType = default(string), SettingsMetadata ExternalSignaturePadTypeMetadata = default(SettingsMetadata), string FaxOutEnabled = default(string), SettingsMetadata FaxOutEnabledMetadata = default(SettingsMetadata), string FinishReminder = default(string), SettingsMetadata FinishReminderMetadata = default(SettingsMetadata), string ForbidAddingUserStamps = default(string), SettingsMetadata ForbidAddingUserStampsMetadata = default(SettingsMetadata), string GuidedFormsHtmlAllowed = default(string), SettingsMetadata GuidedFormsHtmlAllowedMetadata = default(SettingsMetadata), string GuidedFormsHtmlConversionPolicy = default(string), SettingsMetadata GuidedFormsHtmlConversionPolicyMetadata = default(SettingsMetadata), string HasRecipientConnectClaimedDomain = default(string), string HideAccountAddressInCoC = default(string), SettingsMetadata HideAccountAddressInCoCMetadata = default(SettingsMetadata), string HidePricing = default(string), SettingsMetadata HidePricingMetadata = default(SettingsMetadata), List IdCheckConfigurations = default(List), string IdCheckExpire = default(string), string IdCheckExpireDays = default(string), SettingsMetadata IdCheckExpireDaysMetadata = default(SettingsMetadata), SettingsMetadata IdCheckExpireMetadata = default(SettingsMetadata), string IdCheckExpireMinutes = default(string), SettingsMetadata IdCheckExpireMinutesMetadata = default(SettingsMetadata), string IdCheckRequired = default(string), SettingsMetadata IdCheckRequiredMetadata = default(SettingsMetadata), List IdentityVerification = default(List), SettingsMetadata IdentityVerificationMetadata = default(SettingsMetadata), string IdfxKBAAuthenticationOverride = default(string), SettingsMetadata IdfxKBAAuthenticationOverrideMetadata = default(SettingsMetadata), string IdfxPhoneAuthenticationOverride = default(string), SettingsMetadata IdfxPhoneAuthenticationOverrideMetadata = default(SettingsMetadata), string IgnoreErrorIfAnchorTabNotFound = default(string), SettingsMetadata IgnoreErrorIfAnchorTabNotFoundMetadataEnabled = default(SettingsMetadata), string InPersonIDCheckQuestion = default(string), SettingsMetadata InPersonIDCheckQuestionMetadata = default(SettingsMetadata), string InPersonSigningEnabled = default(string), SettingsMetadata InPersonSigningEnabledMetadata = default(SettingsMetadata), string InSessionEnabled = default(string), SettingsMetadata InSessionEnabledMetadata = default(SettingsMetadata), string InSessionSuppressEmails = default(string), SettingsMetadata InSessionSuppressEmailsMetadata = default(SettingsMetadata), string IsConnectDocumentFieldsEnabled = default(string), string IsvEmbed = default(string), SettingsMetadata IsvEmbedMetaData = default(SettingsMetadata), string IsvOemEmbed = default(string), SettingsMetadata IsvOemEmbedMetaData = default(SettingsMetadata), List LinkedExternalPrimaryAccounts = default(List), string MaestroPlanLevels = default(string), SettingsMetadata MaestroPlanLevelsMetadata = default(SettingsMetadata), string MaximumSigningGroups = default(string), SettingsMetadata MaximumSigningGroupsMetadata = default(SettingsMetadata), string MaximumUsersPerSigningGroup = default(string), SettingsMetadata MaximumUsersPerSigningGroupMetadata = default(SettingsMetadata), string MaxNumberOfCustomStamps = default(string), string MergeMixedModeResults = default(string), SettingsMetadata MergeMixedModeResultsMetadata = default(SettingsMetadata), string MobileSessionTimeout = default(string), SettingsMetadata MobileSessionTimeoutMetadata = default(SettingsMetadata), string NumberOfActiveCustomStamps = default(string), string OptInMobileSigningV02 = default(string), SettingsMetadata OptInMobileSigningV02Metadata = default(SettingsMetadata), string OptInUniversalSignatures = default(string), string OptOutAutoNavTextAndTabColorUpdates = default(string), SettingsMetadata OptOutAutoNavTextAndTabColorUpdatesMetadata = default(SettingsMetadata), string OptOutNewPlatformSeal = default(string), SettingsMetadata OptOutNewPlatformSealPlatformMetadata = default(SettingsMetadata), string OriginalAccountSite = default(string), string ParticipantCopyOptOut = default(string), SettingsMetadata ParticipantCopyOptOutMetadata = default(SettingsMetadata), string PdfMaxChunkedUploadPartSize = default(string), SettingsMetadata PdfMaxChunkedUploadPartSizeMetadata = default(SettingsMetadata), string PdfMaxChunkedUploadTotalSize = default(string), SettingsMetadata PdfMaxChunkedUploadTotalSizeMetadata = default(SettingsMetadata), string PdfMaxIndividualUploadSize = default(string), SettingsMetadata PdfMaxIndividualUploadSizeMetadata = default(SettingsMetadata), string PhoneAuthRecipientMayProvidePhoneNumber = default(string), SettingsMetadata PhoneAuthRecipientMayProvidePhoneNumberMetadata = default(SettingsMetadata), string PkiSignDownloadedPDFDocs = default(string), SettingsMetadata PkiSignDownloadedPDFDocsMetadata = default(SettingsMetadata), string ReadOnlyMode = default(string), SettingsMetadata ReadOnlyModeMetadata = default(SettingsMetadata), string RecipientsCanSignOffline = default(string), SettingsMetadata RecipientsCanSignOfflineMetadata = default(SettingsMetadata), string RecipientSigningAutoNavigationControl = default(string), SettingsMetadata RecipientSigningAutoNavigationControlMetadata = default(SettingsMetadata), string RecycleBinEnvelopeRetention = default(string), SettingsMetadata RecycleBinEnvelopeRetentionMetadata = default(SettingsMetadata), string Require21CFRpt11Compliance = default(string), SettingsMetadata Require21CFRpt11ComplianceMetadata = default(SettingsMetadata), string RequireDeclineReason = default(string), SettingsMetadata RequireDeclineReasonMetadata = default(SettingsMetadata), string RequireExternalUserManagement = default(string), SettingsMetadata RequireExternalUserManagementMetadata = default(SettingsMetadata), string RequireSignerCertificateType = default(string), SettingsMetadata RequireSignerCertificateTypeMetadata = default(SettingsMetadata), string RsaVeridAccountName = default(string), string RsaVeridPassword = default(string), string RsaVeridRuleset = default(string), string RsaVeridUserId = default(string), string SelfSignedRecipientEmailDocument = default(string), SettingsMetadata SelfSignedRecipientEmailDocumentMetadata = default(SettingsMetadata), string SelfSignedRecipientEmailDocumentUserOverride = default(string), SettingsMetadata SelfSignedRecipientEmailDocumentUserOverrideMetadata = default(SettingsMetadata), string SenderCanSignInEachLocation = default(string), SettingsMetadata SenderCanSignInEachLocationMetadata = default(SettingsMetadata), string SenderMustAuthenticateSigning = default(string), SettingsMetadata SenderMustAuthenticateSigningMetadata = default(SettingsMetadata), string SendingTagsFontColor = default(string), SettingsMetadata SendingTagsFontColorMetadata = default(SettingsMetadata), string SendingTagsFontName = default(string), SettingsMetadata SendingTagsFontNameMetadata = default(SettingsMetadata), string SendingTagsFontSize = default(string), SettingsMetadata SendingTagsFontSizeMetadata = default(SettingsMetadata), string SendLockoutRecipientNotification = default(string), SettingsMetadata SendLockoutRecipientNotificationMetadata = default(SettingsMetadata), string SendToCertifiedDeliveryEnabled = default(string), SettingsMetadata SendToCertifiedDeliveryEnabledMetadata = default(SettingsMetadata), string SessionTimeout = default(string), SettingsMetadata SessionTimeoutMetadata = default(SettingsMetadata), string SetRecipEmailLang = default(string), SettingsMetadata SetRecipEmailLangMetadata = default(SettingsMetadata), string SetRecipSignLang = default(string), SettingsMetadata SetRecipSignLangMetadata = default(SettingsMetadata), string SharedTemplateFolders = default(string), SettingsMetadata SharedTemplateFoldersMetadata = default(SettingsMetadata), string ShowCompleteDialogInEmbeddedSession = default(string), SettingsMetadata ShowCompleteDialogInEmbeddedSessionMetadata = default(SettingsMetadata), string ShowConditionalRoutingOnSend = default(string), SettingsMetadata ShowConditionalRoutingOnSendMetadata = default(SettingsMetadata), string ShowInitialConditionalFields = default(string), SettingsMetadata ShowInitialConditionalFieldsMetadata = default(SettingsMetadata), string ShowLocalizedWatermarks = default(string), SettingsMetadata ShowLocalizedWatermarksMetadata = default(SettingsMetadata), string ShowMaskedFieldsWhenDownloadingDocumentAsSender = default(string), SettingsMetadata ShowMaskedFieldsWhenDownloadingDocumentAsSenderMetadata = default(SettingsMetadata), string ShowTutorials = default(string), SettingsMetadata ShowTutorialsMetadata = default(SettingsMetadata), List SignatureProviders = default(List), SettingsMetadata SignatureProvidersMetadata = default(SettingsMetadata), string SignDateFormat = default(string), SettingsMetadata SignDateFormatMetadata = default(SettingsMetadata), string SignDateTimeAccountLanguageOverride = default(string), SettingsMetadata SignDateTimeAccountLanguageOverrideMetadata = default(SettingsMetadata), string SignDateTimeAccountTimezoneOverride = default(string), SettingsMetadata SignDateTimeAccountTimezoneOverrideMetadata = default(SettingsMetadata), string SignerAttachCertificateToEnvelopePDF = default(string), SettingsMetadata SignerAttachCertificateToEnvelopePDFMetadata = default(SettingsMetadata), string SignerAttachConcat = default(string), SettingsMetadata SignerAttachConcatMetadata = default(SettingsMetadata), string SignerCanCreateAccount = default(string), SettingsMetadata SignerCanCreateAccountMetadata = default(SettingsMetadata), string SignerCanSignOnMobile = default(string), SettingsMetadata SignerCanSignOnMobileMetadata = default(SettingsMetadata), string SignerInSessionUseEnvelopeCompleteEmail = default(string), SettingsMetadata SignerInSessionUseEnvelopeCompleteEmailMetadata = default(SettingsMetadata), string SignerLoginRequirements = default(string), SettingsMetadata SignerLoginRequirementsMetadata = default(SettingsMetadata), string SignerMustHaveAccount = default(string), SettingsMetadata SignerMustHaveAccountMetadata = default(SettingsMetadata), string SignerMustLoginToSign = default(string), SettingsMetadata SignerMustLoginToSignMetadata = default(SettingsMetadata), string SignerShowSecureFieldInitialValues = default(string), SettingsMetadata SignerShowSecureFieldInitialValuesMetadata = default(SettingsMetadata), string SigningSessionTimeout = default(string), SettingsMetadata SigningSessionTimeoutMetadata = default(SettingsMetadata), string SigningUiVersion = default(string), SettingsMetadata SigningUiVersionMetadata = default(SettingsMetadata), string SignTimeFormat = default(string), SettingsMetadata SignTimeFormatMetadata = default(SettingsMetadata), string SignTimeShowAmPm = default(string), SettingsMetadata SignTimeShowAmPmMetadata = default(SettingsMetadata), string SimplifiedSendingEnabled = default(string), SettingsMetadata SimplifiedSendingEnabledMetadata = default(SettingsMetadata), string SingleSignOnEnabled = default(string), SettingsMetadata SingleSignOnEnabledMetadata = default(SettingsMetadata), string SkipAuthCompletedEnvelopes = default(string), SettingsMetadata SkipAuthCompletedEnvelopesMetadata = default(SettingsMetadata), string SocialIdRecipAuth = default(string), SettingsMetadata SocialIdRecipAuthMetadata = default(SettingsMetadata), string SpecifyDocumentVisibility = default(string), SettingsMetadata SpecifyDocumentVisibilityMetadata = default(SettingsMetadata), string StartInAdvancedCorrect = default(string), SettingsMetadata StartInAdvancedCorrectMetadata = default(SettingsMetadata), string SupplementalDocumentsMustAccept = default(string), SettingsMetadata SupplementalDocumentsMustAcceptMetadata = default(SettingsMetadata), string SupplementalDocumentsMustRead = default(string), SettingsMetadata SupplementalDocumentsMustReadMetadata = default(SettingsMetadata), string SupplementalDocumentsMustView = default(string), SettingsMetadata SupplementalDocumentsMustViewMetadata = default(SettingsMetadata), string SuppressCertificateEnforcement = default(string), SettingsMetadata SuppressCertificateEnforcementMetadata = default(SettingsMetadata), TabAccountSettings TabAccountSettings = default(TabAccountSettings), string TimezoneOffsetAPI = default(string), SettingsMetadata TimezoneOffsetAPIMetadata = default(SettingsMetadata), string TimezoneOffsetUI = default(string), SettingsMetadata TimezoneOffsetUIMetadata = default(SettingsMetadata), string UniversalSignatureOptIn = default(string), string UniversalSignatureSkipPlatformSignature = default(string), SettingsMetadata UniversalSignatureSkipPlatformSignatureMetadata = default(SettingsMetadata), string UseAccountLevelEmail = default(string), SettingsMetadata UseAccountLevelEmailMetadata = default(SettingsMetadata), string UseConsumerDisclosure = default(string), SettingsMetadata UseConsumerDisclosureMetadata = default(SettingsMetadata), string UseConsumerDisclosureWithinAccount = default(string), SettingsMetadata UseConsumerDisclosureWithinAccountMetadata = default(SettingsMetadata), string UseDerivedKeys = default(string), SettingsMetadata UseDerivedKeysMetadata = default(SettingsMetadata), string UseDocuSignExpressSignerCertificate = default(string), SettingsMetadata UseDocuSignExpressSignerCertificateMetadata = default(SettingsMetadata), string UseEnvelopeSearchMixedMode = default(string), SettingsMetadata UseEnvelopeSearchMixedModeMetadata = default(SettingsMetadata), string UseMultiAppGroupsData = default(string), SettingsMetadata UseMultiAppGroupsDataMetadata = default(SettingsMetadata), string UseNewBlobForPdf = default(string), SettingsMetadata UseNewBlobForPdfMetadata = default(SettingsMetadata), string UseNewEnvelopeSearch = default(string), SettingsMetadata UseNewEnvelopeSearchMetadata = default(SettingsMetadata), string UseNewEnvelopeSearchOnlyWhenSearchingAfterDate = default(string), SettingsMetadata UseNewEnvelopeSearchOnlyWhenSearchingAfterDateMetadata = default(SettingsMetadata), string UseNewEnvelopeSearchOnlyWithSearchTerm = default(string), SettingsMetadata UseNewEnvelopeSearchOnlyWithSearchTermMetadata = default(SettingsMetadata), string UseSAFESignerCertificates = default(string), SettingsMetadata UseSAFESignerCertificatesMetadata = default(SettingsMetadata), string UsesAPI = default(string), SettingsMetadata UsesAPIMetadata = default(SettingsMetadata), string UseSignatureProviderPlatform = default(string), SettingsMetadata UseSignatureProviderPlatformMetadata = default(SettingsMetadata), string UseSmartContractsV1 = default(string), string ValidationsAllowed = default(string), SettingsMetadata ValidationsAllowedMetadata = default(SettingsMetadata), string ValidationsBrand = default(string), SettingsMetadata ValidationsBrandMetadata = default(SettingsMetadata), string ValidationsCadence = default(string), SettingsMetadata ValidationsCadenceMetadata = default(SettingsMetadata), string ValidationsEnabled = default(string), SettingsMetadata ValidationsEnabledMetadata = default(SettingsMetadata), string ValidationsReport = default(string), SettingsMetadata ValidationsReportMetadata = default(SettingsMetadata), string WaterMarkEnabled = default(string), SettingsMetadata WaterMarkEnabledMetadata = default(SettingsMetadata), string WriteReminderToEnvelopeHistory = default(string), SettingsMetadata WriteReminderToEnvelopeHistoryMetadata = default(SettingsMetadata), string WurflMinAllowableScreenSize = default(string), SettingsMetadata WurflMinAllowableScreenSizeMetadata = default(SettingsMetadata)) + public AccountSettingsInformation(AccessCodeFormat AccessCodeFormat = default(AccessCodeFormat), string AccountDateTimeFormat = default(string), SettingsMetadata AccountDateTimeFormatMetadata = default(SettingsMetadata), string AccountDefaultLanguage = default(string), SettingsMetadata AccountDefaultLanguageMetadata = default(SettingsMetadata), string AccountName = default(string), SettingsMetadata AccountNameMetadata = default(SettingsMetadata), AccountNotification AccountNotification = default(AccountNotification), AccountUISettings AccountUISettings = default(AccountUISettings), List AdditionalSettings = default(List), string AdoptSigConfig = default(string), SettingsMetadata AdoptSigConfigMetadata = default(SettingsMetadata), string AdvancedCorrect = default(string), SettingsMetadata AdvancedCorrectMetadata = default(SettingsMetadata), string AdvancedSearchEnableTabField = default(string), SettingsMetadata AdvancedSearchEnableTabFieldMetadata = default(SettingsMetadata), string AdvancedSearchEnableTemplateIdField = default(string), SettingsMetadata AdvancedSearchEnableTemplateIdFieldMetadata = default(SettingsMetadata), string AdvancedSearchEnableTemplateNameField = default(string), SettingsMetadata AdvancedSearchEnableTemplateNameFieldMetadata = default(SettingsMetadata), string AiAssistedWebFormCreationLevel = default(string), SettingsMetadata AiAssistedWebFormCreationLevelMetadata = default(SettingsMetadata), string AllowAccessCodeFormat = default(string), SettingsMetadata AllowAccessCodeFormatMetadata = default(SettingsMetadata), string AllowAccountManagementGranular = default(string), SettingsMetadata AllowAccountManagementGranularMetadata = default(SettingsMetadata), string AllowAccountMemberNameChange = default(string), SettingsMetadata AllowAccountMemberNameChangeMetadata = default(SettingsMetadata), string AllowACE = default(string), SettingsMetadata AllowACEMetadata = default(SettingsMetadata), string AllowAdvancedRecipientRoutingConditional = default(string), SettingsMetadata AllowAdvancedRecipientRoutingConditionalMetadata = default(SettingsMetadata), string AllowAgentNameEmailEdit = default(string), SettingsMetadata AllowAgentNameEmailEditMetadata = default(SettingsMetadata), string AllowAgreementActions = default(string), SettingsMetadata AllowAgreementActionsMetadata = default(SettingsMetadata), string AllowAgreementOrchestrations = default(string), SettingsMetadata AllowAgreementOrchestrationsMetadata = default(SettingsMetadata), string AllowAutoNavSettings = default(string), SettingsMetadata AllowAutoNavSettingsMetadata = default(SettingsMetadata), string AllowAutoTagging = default(string), SettingsMetadata AllowAutoTaggingMetadata = default(SettingsMetadata), string AllowBulkSend = default(string), SettingsMetadata AllowBulkSendMetadata = default(SettingsMetadata), string AllowBYOIDV = default(string), SettingsMetadata AllowBYOIDVMetadata = default(SettingsMetadata), string AllowCDWithdraw = default(string), SettingsMetadata AllowCDWithdrawMetadata = default(SettingsMetadata), string AllowConnectAgreementUI = default(string), SettingsMetadata AllowConnectAgreementUIMetadata = default(SettingsMetadata), string AllowConnectAuthoritativeCopyReadyEventUI = default(string), string AllowConnectEnvelopeReminderSentEventUI = default(string), string AllowConnectEnvelopeRemovedEvent = default(string), string AllowConnectExtensionUI = default(string), string AllowConnectHttpListenerConfigs = default(string), string AllowConnectIdentityVerificationUI = default(string), string AllowConnectOAuthUI = default(string), string AllowConnectSendFinishLater = default(string), SettingsMetadata AllowConnectSendFinishLaterMetadata = default(SettingsMetadata), string AllowConnectUnifiedPayloadUI = default(string), string AllowConsumerDisclosureOverride = default(string), SettingsMetadata AllowConsumerDisclosureOverrideMetadata = default(SettingsMetadata), string AllowDataDownload = default(string), SettingsMetadata AllowDataDownloadMetadata = default(SettingsMetadata), string AllowDelayedRouting = default(string), SettingsMetadata AllowDelayedRoutingMetadata = default(SettingsMetadata), string AllowDelegatedSigning = default(string), SettingsMetadata AllowDelegatedSigningMetadata = default(SettingsMetadata), string AllowDocGenDocuments = default(string), SettingsMetadata AllowDocGenDocumentsMetadata = default(SettingsMetadata), string AllowDocumentDisclosures = default(string), SettingsMetadata AllowDocumentDisclosuresMetadata = default(SettingsMetadata), string AllowDocumentsOnSignedEnvelopes = default(string), SettingsMetadata AllowDocumentsOnSignedEnvelopesMetadata = default(SettingsMetadata), string AllowDocumentVisibility = default(string), SettingsMetadata AllowDocumentVisibilityMetadata = default(SettingsMetadata), string AllowEditingEnvelopesOnBehalfOfOthers = default(string), SettingsMetadata AllowEditingEnvelopesOnBehalfOfOthersMetadata = default(SettingsMetadata), string AllowEHankoStamps = default(string), SettingsMetadata AllowEHankoStampsMetadata = default(SettingsMetadata), string AllowENoteEOriginal = default(string), SettingsMetadata AllowENoteEOriginalMetadata = default(SettingsMetadata), string AllowEnvelopeCorrect = default(string), SettingsMetadata AllowEnvelopeCorrectMetadata = default(SettingsMetadata), string AllowEnvelopeCustodyTransfer = default(string), SettingsMetadata AllowEnvelopeCustodyTransferMetadata = default(SettingsMetadata), string AllowEnvelopeCustomFields = default(string), SettingsMetadata AllowEnvelopeCustomFieldsMetadata = default(SettingsMetadata), string AllowEnvelopePublishReporting = default(string), SettingsMetadata AllowEnvelopePublishReportingMetadata = default(SettingsMetadata), string AllowEnvelopeReporting = default(string), SettingsMetadata AllowEnvelopeReportingMetadata = default(SettingsMetadata), string AllowExpression = default(string), SettingsMetadata AllowExpressionMetadata = default(SettingsMetadata), string AllowExpressSignerCertificate = default(string), SettingsMetadata AllowExpressSignerCertificateMetadata = default(SettingsMetadata), string AllowExtendedSendingResourceFile = default(string), SettingsMetadata AllowExtendedSendingResourceFileMetadata = default(SettingsMetadata), string AllowExternalLinkedAccounts = default(string), SettingsMetadata AllowExternalLinkedAccountsMetadata = default(SettingsMetadata), string AllowExternalSignaturePad = default(string), SettingsMetadata AllowExternalSignaturePadMetadata = default(SettingsMetadata), string AllowFedRampIDVLevel1 = default(string), SettingsMetadata AllowFedRampIDVLevel1Metadata = default(SettingsMetadata), string AllowFedRampIDVLevel2 = default(string), SettingsMetadata AllowFedRampIDVLevel2Metadata = default(SettingsMetadata), string AllowIDVForEUQualifiedSignatures = default(string), SettingsMetadata AllowIDVForEUQualifiedSignaturesMetadata = default(SettingsMetadata), string AllowIDVLevel1 = default(string), SettingsMetadata AllowIDVLevel1Metadata = default(SettingsMetadata), string AllowIDVLevel1Trial = default(string), SettingsMetadata AllowIDVLevel1TrialMetadata = default(SettingsMetadata), string AllowIDVLevel2 = default(string), SettingsMetadata AllowIDVLevel2Metadata = default(SettingsMetadata), string AllowIDVLevel3 = default(string), SettingsMetadata AllowIDVLevel3Metadata = default(SettingsMetadata), string AllowIDVPlatform = default(string), SettingsMetadata AllowIDVPlatformMetadata = default(SettingsMetadata), string AllowIdvRiskAssessment = default(string), SettingsMetadata AllowIdvRiskAssessmentMetadata = default(SettingsMetadata), string AllowInPerson = default(string), string AllowInPersonElectronicNotary = default(string), SettingsMetadata AllowInPersonElectronicNotaryMetadata = default(SettingsMetadata), SettingsMetadata AllowInPersonMetadata = default(SettingsMetadata), string AllowManagedStamps = default(string), SettingsMetadata AllowManagedStampsMetadata = default(SettingsMetadata), string AllowManagingEnvelopesOnBehalfOfOthers = default(string), SettingsMetadata AllowManagingEnvelopesOnBehalfOfOthersMetadata = default(SettingsMetadata), string AllowMarkup = default(string), SettingsMetadata AllowMarkupMetadata = default(SettingsMetadata), string AllowMemberTimeZone = default(string), SettingsMetadata AllowMemberTimeZoneMetadata = default(SettingsMetadata), string AllowMergeFields = default(string), SettingsMetadata AllowMergeFieldsMetadata = default(SettingsMetadata), string AllowMultipleBrandProfiles = default(string), SettingsMetadata AllowMultipleBrandProfilesMetadata = default(SettingsMetadata), string AllowMultipleSignerAttachments = default(string), SettingsMetadata AllowMultipleSignerAttachmentsMetadata = default(SettingsMetadata), string AllowNonUSPhoneAuth = default(string), SettingsMetadata AllowNonUSPhoneAuthMetadata = default(SettingsMetadata), string AllowOcrOfEnvelopeDocuments = default(string), SettingsMetadata AllowOcrOfEnvelopeDocumentsMetadata = default(SettingsMetadata), string AllowOfflineSigning = default(string), SettingsMetadata AllowOfflineSigningMetadata = default(SettingsMetadata), string AllowOnlyStandaloneWebForms = default(string), SettingsMetadata AllowOnlyStandaloneWebFormsMetadata = default(SettingsMetadata), string AllowOpenTrustSignerCertificate = default(string), SettingsMetadata AllowOpenTrustSignerCertificateMetadata = default(SettingsMetadata), string AllowOrganizationBranding = default(string), SettingsMetadata AllowOrganizationBrandingMetadata = default(SettingsMetadata), string AllowOrganizationDocusignMonitor = default(string), string AllowOrganizationDocusignMonitorFree = default(string), SettingsMetadata AllowOrganizationDocusignMonitorFreeMetadata = default(SettingsMetadata), SettingsMetadata AllowOrganizationDocusignMonitorMetadata = default(SettingsMetadata), string AllowOrganizationDomainUserManagement = default(string), SettingsMetadata AllowOrganizationDomainUserManagementMetadata = default(SettingsMetadata), string AllowOrganizations = default(string), SettingsMetadata AllowOrganizationsMetadata = default(SettingsMetadata), string AllowOrganizationSsoManagement = default(string), SettingsMetadata AllowOrganizationSsoManagementMetadata = default(SettingsMetadata), string AllowOrganizationToUseInPersonElectronicNotary = default(string), SettingsMetadata AllowOrganizationToUseInPersonElectronicNotaryMetadata = default(SettingsMetadata), string AllowOrganizationToUseRemoteNotary = default(string), SettingsMetadata AllowOrganizationToUseRemoteNotaryMetadata = default(SettingsMetadata), string AllowOrganizationToUseThirdPartyElectronicNotary = default(string), SettingsMetadata AllowOrganizationToUseThirdPartyElectronicNotaryMetadata = default(SettingsMetadata), string AllowParticipantRecipientType = default(string), SettingsMetadata AllowParticipantRecipientTypeMetadata = default(SettingsMetadata), string AllowPaymentProcessing = default(string), SettingsMetadata AllowPaymentProcessingMetadata = default(SettingsMetadata), string AllowPendingDestinationUrlEdition = default(string), SettingsMetadata AllowPendingDestinationUrlEditionMetadata = default(SettingsMetadata), string AllowPerformanceAnalytics = default(string), SettingsMetadata AllowPerformanceAnalyticsMetadata = default(SettingsMetadata), string AllowPhoneAuthentication = default(string), SettingsMetadata AllowPhoneAuthenticationMetadata = default(SettingsMetadata), string AllowPhoneAuthOverride = default(string), SettingsMetadata AllowPhoneAuthOverrideMetadata = default(SettingsMetadata), string AllowPrivateSigningGroups = default(string), SettingsMetadata AllowPrivateSigningGroupsMetadata = default(SettingsMetadata), string AllowRecipientConnect = default(string), SettingsMetadata AllowRecipientConnectMetadata = default(SettingsMetadata), string AllowReminders = default(string), SettingsMetadata AllowRemindersMetadata = default(SettingsMetadata), string AllowRemoteNotary = default(string), SettingsMetadata AllowRemoteNotaryMetadata = default(SettingsMetadata), string AllowResourceFileBranding = default(string), SettingsMetadata AllowResourceFileBrandingMetadata = default(SettingsMetadata), string AllowSafeBioPharmaSignerCertificate = default(string), SettingsMetadata AllowSafeBioPharmaSignerCertificateMetadata = default(SettingsMetadata), string AllowScheduledSending = default(string), SettingsMetadata AllowScheduledSendingMetadata = default(SettingsMetadata), string AllowSecurityAppliance = default(string), SettingsMetadata AllowSecurityApplianceMetadata = default(SettingsMetadata), string AllowSendingEnvelopesOnBehalfOfOthers = default(string), SettingsMetadata AllowSendingEnvelopesOnBehalfOfOthersMetadata = default(SettingsMetadata), string AllowSendToCertifiedDelivery = default(string), SettingsMetadata AllowSendToCertifiedDeliveryMetadata = default(SettingsMetadata), string AllowSendToIntermediary = default(string), SettingsMetadata AllowSendToIntermediaryMetadata = default(SettingsMetadata), string AllowServerTemplates = default(string), SettingsMetadata AllowServerTemplatesMetadata = default(SettingsMetadata), string AllowSetEmbeddedRecipientStartURL = default(string), SettingsMetadata AllowSetEmbeddedRecipientStartURLMetadata = default(SettingsMetadata), string AllowSharedTabs = default(string), SettingsMetadata AllowSharedTabsMetadata = default(SettingsMetadata), string AllowSignatureStamps = default(string), SettingsMetadata AllowSignatureStampsMetadata = default(SettingsMetadata), string AllowSignDocumentFromHomePage = default(string), SettingsMetadata AllowSignDocumentFromHomePageMetadata = default(SettingsMetadata), string AllowSignerReassign = default(string), SettingsMetadata AllowSignerReassignMetadata = default(SettingsMetadata), string AllowSignerReassignOverride = default(string), SettingsMetadata AllowSignerReassignOverrideMetadata = default(SettingsMetadata), string AllowSigningExtensions = default(string), SettingsMetadata AllowSigningExtensionsMetadata = default(SettingsMetadata), string AllowSigningGroups = default(string), SettingsMetadata AllowSigningGroupsMetadata = default(SettingsMetadata), string AllowSigningInsights = default(string), SettingsMetadata AllowSigningInsightsMetadata = default(SettingsMetadata), string AllowSigningRadioDeselect = default(string), SettingsMetadata AllowSigningRadioDeselectMetadata = default(SettingsMetadata), string AllowSignNow = default(string), string AllowSignNowMetadata = default(string), string AllowSMSDelivery = default(string), SettingsMetadata AllowSMSDeliveryMetadata = default(SettingsMetadata), string AllowSocialIdLogin = default(string), SettingsMetadata AllowSocialIdLoginMetadata = default(SettingsMetadata), string AllowSupplementalDocuments = default(string), SettingsMetadata AllowSupplementalDocumentsMetadata = default(SettingsMetadata), string AllowThirdPartyElectronicNotary = default(string), SettingsMetadata AllowThirdPartyElectronicNotaryMetadata = default(SettingsMetadata), string AllowTransactionsWorkspace = default(string), SettingsMetadata AllowTransactionsWorkspaceMetadata = default(SettingsMetadata), string AllowTransactionsWorkspaceOriginal = default(string), SettingsMetadata AllowTransactionsWorkspaceOriginalMetadata = default(SettingsMetadata), string AllowUsersToAccessDirectory = default(string), SettingsMetadata AllowUsersToAccessDirectoryMetadata = default(SettingsMetadata), string AllowValueInsights = default(string), SettingsMetadata AllowValueInsightsMetadata = default(SettingsMetadata), string AllowWebForms = default(string), SettingsMetadata AllowWebFormsMetadata = default(SettingsMetadata), string AllowWhatsAppDelivery = default(string), SettingsMetadata AllowWhatsAppDeliveryMetadata = default(SettingsMetadata), string AnchorPopulationScope = default(string), SettingsMetadata AnchorPopulationScopeMetadata = default(SettingsMetadata), string AnchorTagVersionedPlacementEnabled = default(string), SettingsMetadata AnchorTagVersionedPlacementMetadataEnabled = default(SettingsMetadata), string AttachCompletedEnvelope = default(string), SettingsMetadata AttachCompletedEnvelopeMetadata = default(SettingsMetadata), string AuthenticationCheck = default(string), SettingsMetadata AuthenticationCheckMetadata = default(SettingsMetadata), string AutoNavRule = default(string), SettingsMetadata AutoNavRuleMetadata = default(SettingsMetadata), string AutoProvisionSignerAccount = default(string), SettingsMetadata AutoProvisionSignerAccountMetadata = default(SettingsMetadata), string BccEmailArchive = default(string), SettingsMetadata BccEmailArchiveMetadata = default(SettingsMetadata), string BetaSwitchConfiguration = default(string), SettingsMetadata BetaSwitchConfigurationMetadata = default(SettingsMetadata), AddressInformation BillingAddress = default(AddressInformation), SettingsMetadata BillingAddressMetadata = default(SettingsMetadata), string BulkSend = default(string), string BulkSendActionResendLimit = default(string), string BulkSendMaxCopiesInBatch = default(string), string BulkSendMaxUnprocessedEnvelopesCount = default(string), SettingsMetadata BulkSendMetadata = default(SettingsMetadata), string CanSelfBrandSend = default(string), SettingsMetadata CanSelfBrandSendMetadata = default(SettingsMetadata), string CanSelfBrandSign = default(string), SettingsMetadata CanSelfBrandSignMetadata = default(SettingsMetadata), string CanUseSalesforceOAuth = default(string), SettingsMetadata CanUseSalesforceOAuthMetadata = default(SettingsMetadata), string CaptureVoiceRecording = default(string), SettingsMetadata CaptureVoiceRecordingMetadata = default(SettingsMetadata), string Cfr21SimplifiedSigningEnabled = default(string), SettingsMetadata Cfr21SimplifiedSigningEnabledMetadata = default(SettingsMetadata), string CfrUseWideImage = default(string), SettingsMetadata CfrUseWideImageMetadata = default(SettingsMetadata), string CheckForMultipleAdminsOnAccount = default(string), SettingsMetadata CheckForMultipleAdminsOnAccountMetadata = default(SettingsMetadata), string ChromeSignatureEnabled = default(string), SettingsMetadata ChromeSignatureEnabledMetadata = default(SettingsMetadata), string CloudReady = default(string), string CommentEmailShowMessageText = default(string), SettingsMetadata CommentEmailShowMessageTextMetadata = default(SettingsMetadata), string CommentsAllowEnvelopeOverride = default(string), SettingsMetadata CommentsAllowEnvelopeOverrideMetadata = default(SettingsMetadata), string ConditionalFieldsEnabled = default(string), SettingsMetadata ConditionalFieldsEnabledMetadata = default(SettingsMetadata), string ConsumerDisclosureFrequency = default(string), SettingsMetadata ConsumerDisclosureFrequencyMetadata = default(SettingsMetadata), string ConvertPdfFields = default(string), SettingsMetadata ConvertPdfFieldsMetadata = default(SettingsMetadata), string CustomExtractionPlanLevels = default(string), SettingsMetadata CustomExtractionPlanLevelsMetadata = default(SettingsMetadata), string DataPopulationScope = default(string), SettingsMetadata DataPopulationScopeMetadata = default(SettingsMetadata), string DefaultSigningResponsiveView = default(string), SettingsMetadata DefaultSigningResponsiveViewMetadata = default(SettingsMetadata), string DefaultSigningResponsiveViewUseGrade = default(string), SettingsMetadata DefaultSigningResponsiveViewUseGradeMetadata = default(SettingsMetadata), string DefaultToAdvancedEnvelopesFilterForm = default(string), SettingsMetadata DefaultToAdvancedEnvelopesFilterFormMetadata = default(SettingsMetadata), string DisableAutoTemplateMatching = default(string), SettingsMetadata DisableAutoTemplateMatchingMetadata = default(SettingsMetadata), string DisableLegacyKba = default(string), SettingsMetadata DisableLegacyKbaMetadata = default(SettingsMetadata), string DisableLegacySharedEnvelopes = default(string), SettingsMetadata DisableLegacySharedEnvelopesMetadata = default(SettingsMetadata), string DisableMobileApp = default(string), SettingsMetadata DisableMobileAppMetadata = default(SettingsMetadata), string DisableMobilePushNotifications = default(string), SettingsMetadata DisableMobilePushNotificationsMetadata = default(SettingsMetadata), string DisableMobileSending = default(string), SettingsMetadata DisableMobileSendingMetadata = default(SettingsMetadata), string DisableMultipleSessions = default(string), SettingsMetadata DisableMultipleSessionsMetadata = default(SettingsMetadata), SettingsMetadata DisablePurgeNotificationsForSenderMetadata = default(SettingsMetadata), string DisableSignerCertView = default(string), SettingsMetadata DisableSignerCertViewMetadata = default(SettingsMetadata), string DisableSignerHistoryView = default(string), SettingsMetadata DisableSignerHistoryViewMetadata = default(SettingsMetadata), string DisableStyleSignature = default(string), SettingsMetadata DisableStyleSignatureMetadata = default(SettingsMetadata), string DisableUploadSignature = default(string), SettingsMetadata DisableUploadSignatureMetadata = default(SettingsMetadata), string DisableUserSharing = default(string), SettingsMetadata DisableUserSharingMetadata = default(SettingsMetadata), string DisplayBetaSwitch = default(string), SettingsMetadata DisplayBetaSwitchMetadata = default(SettingsMetadata), string DocumentConversionRestrictions = default(string), SettingsMetadata DocumentConversionRestrictionsMetadata = default(SettingsMetadata), string DocumentRetention = default(string), SettingsMetadata DocumentRetentionMetadata = default(SettingsMetadata), string DocumentRetentionPurgeTabs = default(string), string DocumentVisibility = default(string), SettingsMetadata DocumentVisibilityMetadata = default(SettingsMetadata), string DraftEnvelopeRetention = default(string), SettingsMetadata DraftEnvelopeRetentionMetadata = default(SettingsMetadata), string DssSIGN28411EnableLeavePagePromptRadminOption = default(string), string DssSIGN29182SlideUpBarRadminOption = default(string), string EmailTemplateVersion = default(string), SettingsMetadata EmailTemplateVersionMetadata = default(SettingsMetadata), string EnableAccessCodeGenerator = default(string), SettingsMetadata EnableAccessCodeGeneratorMetadata = default(SettingsMetadata), string EnableAccountWideSearch = default(string), SettingsMetadata EnableAccountWideSearchMetadata = default(SettingsMetadata), string EnableAdditionalAdvancedWebFormsFeatures = default(string), SettingsMetadata EnableAdditionalAdvancedWebFormsFeaturesMetadata = default(SettingsMetadata), string EnableAdmHealthcare = default(string), SettingsMetadata EnableAdmHealthcareMetadata = default(SettingsMetadata), string EnableAdvancedEnvelopesSearch = default(string), SettingsMetadata EnableAdvancedEnvelopesSearchMetadata = default(SettingsMetadata), string EnableAdvancedPayments = default(string), SettingsMetadata EnableAdvancedPaymentsMetadata = default(SettingsMetadata), string EnableAdvancedPowerForms = default(string), SettingsMetadata EnableAdvancedPowerFormsMetadata = default(SettingsMetadata), string EnableAdvancedSearch = default(string), SettingsMetadata EnableAdvancedSearchMetadata = default(SettingsMetadata), string EnableAgreementActionsForCLM = default(string), SettingsMetadata EnableAgreementActionsForCLMMetadata = default(SettingsMetadata), string EnableAgreementActionsForESign = default(string), SettingsMetadata EnableAgreementActionsForESignMetadata = default(SettingsMetadata), string EnableAgreementDeskAdvanced = default(string), SettingsMetadata EnableAgreementDeskAdvancedMetaData = default(SettingsMetadata), string EnableAIContractReview = default(string), SettingsMetadata EnableAIContractReviewMetadata = default(SettingsMetadata), string EnableAISenderMessage = default(string), SettingsMetadata EnableAISenderMessageMetadata = default(SettingsMetadata), string EnableAISuggestedFields = default(string), string EnableAISuggestedFieldsAutoPlace = default(string), SettingsMetadata EnableAISuggestedFieldsAutoPlaceMetadata = default(SettingsMetadata), SettingsMetadata EnableAISuggestedFieldsMetadata = default(SettingsMetadata), string EnableAutoNav = default(string), SettingsMetadata EnableAutoNavMetadata = default(SettingsMetadata), string EnableBatchUpdateEnvelopeTypes = default(string), SettingsMetadata EnableBatchUpdateEnvelopeTypesMetadata = default(SettingsMetadata), string EnableBccDummyLink = default(string), SettingsMetadata EnableBccDummyLinkMetadata = default(SettingsMetadata), string EnableCacPivSignatureGroup = default(string), SettingsMetadata EnableCacPivSignatureGroupMetadata = default(SettingsMetadata), string EnableCalculatedFields = default(string), SettingsMetadata EnableCalculatedFieldsMetadata = default(SettingsMetadata), string EnableCFRRapidSigningEmbeddedAuth = default(string), SettingsMetadata EnableCFRRapidSigningEmbeddedAuthMetadata = default(SettingsMetadata), string EnableClickPlus = default(string), string EnableClickPlusConditionalContent = default(string), SettingsMetadata EnableClickPlusConditionalContentMetaData = default(SettingsMetadata), string EnableClickPlusCustomFields = default(string), SettingsMetadata EnableClickPlusCustomFieldsMetaData = default(SettingsMetadata), string EnableClickPlusCustomStyle = default(string), SettingsMetadata EnableClickPlusCustomStyleMetaData = default(SettingsMetadata), string EnableClickPlusDynamicContent = default(string), SettingsMetadata EnableClickPlusDynamicContentMetaData = default(SettingsMetadata), SettingsMetadata EnableClickPlusMetaData = default(SettingsMetadata), string EnableClickwraps = default(string), SettingsMetadata EnableClickwrapsMetadata = default(SettingsMetadata), string EnableCombinedPDFDownloadForSBS = default(string), string EnableCommentsHistoryDownloadInSigning = default(string), SettingsMetadata EnableCommentsHistoryDownloadInSigningMetadata = default(SettingsMetadata), string EnableContactSuggestions = default(string), SettingsMetadata EnableContactSuggestionsMetadata = default(SettingsMetadata), string EnableContentSearch = default(string), SettingsMetadata EnableContentSearchMetadata = default(SettingsMetadata), string EnableCoupaCoreExtension = default(string), SettingsMetadata EnableCoupaCoreExtensionMetadata = default(SettingsMetadata), string EnableCoupaIAMConnector = default(string), SettingsMetadata EnableCoupaIAMConnectorMetadata = default(SettingsMetadata), string EnableCustomDataVerificationExtensions = default(string), SettingsMetadata EnableCustomDataVerificationExtensionsMetadata = default(SettingsMetadata), string EnableCustomerSatisfactionMetricTracking = default(string), SettingsMetadata EnableCustomerSatisfactionMetricTrackingMetadata = default(SettingsMetadata), string EnableDataVerificationExtensions = default(string), SettingsMetadata EnableDataVerificationExtensionsMetadata = default(SettingsMetadata), string EnableDocumentTemplateLibrary = default(string), SettingsMetadata EnableDocumentTemplateLibraryMetadata = default(SettingsMetadata), string EnableDSigEUAdvancedPens = default(string), SettingsMetadata EnableDSigEUAdvancedPensMetadata = default(SettingsMetadata), string EnableDSigExpressPens = default(string), SettingsMetadata EnableDSigExpressPensMetadata = default(SettingsMetadata), string EnableDSigIDCheckForAESPens = default(string), SettingsMetadata EnableDSigIDCheckForAESPensMetadata = default(SettingsMetadata), string EnableDSigIDCheckInPersonForQESPens = default(string), SettingsMetadata EnableDSigIDCheckInPersonForQESPensMetadata = default(SettingsMetadata), string EnableDSigIDCheckRemoteForQESPens = default(string), SettingsMetadata EnableDSigIDCheckRemoteForQESPensMetadata = default(SettingsMetadata), string EnableDSigIDVerificationPens = default(string), SettingsMetadata EnableDSigIDVerificationPensMetadata = default(SettingsMetadata), string EnableDSigIDVerificationPremierPens = default(string), SettingsMetadata EnableDSigIDVerificationPremierPensMetadata = default(SettingsMetadata), string EnableDSigPenGroupEuQes = default(string), SettingsMetadata EnableDSigPenGroupEuQesMetadata = default(SettingsMetadata), string EnableDSigPlgEuQesPens = default(string), SettingsMetadata EnableDSigPlgEuQesPensMetadata = default(SettingsMetadata), string EnableDSPro = default(string), SettingsMetadata EnableDSProMetadata = default(SettingsMetadata), SettingsMetadata EnableEnforceTlsEmailsSettingMetadata = default(SettingsMetadata), string EnableEnvelopeStampingByAccountAdmin = default(string), SettingsMetadata EnableEnvelopeStampingByAccountAdminMetadata = default(SettingsMetadata), string EnableEnvelopeStampingByDSAdmin = default(string), SettingsMetadata EnableEnvelopeStampingByDSAdminMetadata = default(SettingsMetadata), string EnableESignAPIHourlyLimitManagement = default(string), SettingsMetadata EnableESignAPIHourlyLimitManagementMetadata = default(SettingsMetadata), string EnableEsignCommunities = default(string), SettingsMetadata EnableEsignCommunitiesMetadata = default(SettingsMetadata), string EnableEsignTaskList = default(string), SettingsMetadata EnableEsignTaskListMetadata = default(SettingsMetadata), string EnableGenerationWith3PIntegration = default(string), SettingsMetadata EnableGenerationWith3PIntegrationMetaData = default(SettingsMetadata), string EnableGreenhouseApp = default(string), SettingsMetadata EnableGreenhouseAppMetadata = default(SettingsMetadata), string EnableI9OnDemand = default(string), SettingsMetadata EnableI9OnDemandMetadata = default(SettingsMetadata), string EnableIAMClauseLibrary = default(string), SettingsMetadata EnableIAMClauseLibraryMetadata = default(SettingsMetadata), string EnableIAMforXEmbeddedUX = default(string), SettingsMetadata EnableIAMforXEmbeddedUXMetadata = default(SettingsMetadata), string EnableIDFxAccountlessSMSAuthForPart11 = default(string), SettingsMetadata EnableIDFxAccountlessSMSAuthForPart11Metadata = default(SettingsMetadata), string EnableIDFxIntuitKBA = default(string), SettingsMetadata EnableIDFxIntuitKBAMetadata = default(SettingsMetadata), string EnableIDFxPhoneAuthentication = default(string), SettingsMetadata EnableIDFxPhoneAuthenticationMetadata = default(SettingsMetadata), string EnableIdfxPhoneAuthSignatureAuthStatus = default(string), SettingsMetadata EnableIdfxPhoneAuthSignatureAuthStatusMetadata = default(SettingsMetadata), string EnableInboxBrowseViewsPoweredByElasticSearch = default(string), SettingsMetadata EnableInboxBrowseViewsPoweredByElasticSearchMetadata = default(SettingsMetadata), string EnableInboxRelevanceSort = default(string), SettingsMetadata EnableInboxRelevanceSortMetadata = default(SettingsMetadata), string EnableInBrowserEditor = default(string), SettingsMetadata EnableInBrowserEditorMetadata = default(SettingsMetadata), string EnableKeyTermsSuggestionsByDocumentType = default(string), SettingsMetadata EnableKeyTermsSuggestionsByDocumentTypeMetadata = default(SettingsMetadata), string EnableLargeFileSupport = default(string), SettingsMetadata EnableLargeFileSupportMetadata = default(SettingsMetadata), string EnableLegacySharedEnvelopes = default(string), SettingsMetadata EnableLegacySharedEnvelopesMetadata = default(SettingsMetadata), string EnableLicenseManagement = default(string), SettingsMetadata EnableLicenseManagementMetadata = default(SettingsMetadata), string EnableMicrosoftDynamics365Extension = default(string), SettingsMetadata EnableMicrosoftDynamics365ExtensionMetadata = default(SettingsMetadata), string EnableMultiUserRepositoryFeatures = default(string), SettingsMetadata EnableMultiUserRepositoryFeaturesMetadata = default(SettingsMetadata), string EnableNavigatorAPIDataIn = default(string), SettingsMetadata EnableNavigatorAPIDataInMetadata = default(SettingsMetadata), string EnableNavigatorAPIDataOut = default(string), SettingsMetadata EnableNavigatorAPIDataOutMetadata = default(SettingsMetadata), string EnableNavigatorAPIUtilities = default(string), SettingsMetadata EnableNavigatorAPIUtilitiesMetadata = default(SettingsMetadata), string EnableNavigatorForHR = default(string), SettingsMetadata EnableNavigatorForHRMetadata = default(SettingsMetadata), string EnableNavigatorHierarchyAI = default(string), SettingsMetadata EnableNavigatorHierarchyAIMetadata = default(SettingsMetadata), string EnableNavigatorPartialIngestion = default(string), SettingsMetadata EnableNavigatorPartialIngestionMetadata = default(SettingsMetadata), string EnableNavigatorTrial = default(string), SettingsMetadata EnableNavigatorTrialMetadata = default(SettingsMetadata), string EnableNotaryOnDemandWitness = default(string), SettingsMetadata EnableNotaryOnDemandWitnessMetadata = default(SettingsMetadata), string EnableObligationManagement = default(string), SettingsMetadata EnableObligationManagementMetadata = default(SettingsMetadata), SettingsMetadata EnableParticipantRecipientSettingMetadata = default(SettingsMetadata), string EnablePaymentProcessing = default(string), SettingsMetadata EnablePaymentProcessingMetadata = default(SettingsMetadata), string EnablePDFAConversion = default(string), SettingsMetadata EnablePDFAConversionMetadata = default(SettingsMetadata), string EnablePowerForm = default(string), string EnablePowerFormDirect = default(string), SettingsMetadata EnablePowerFormDirectMetadata = default(SettingsMetadata), SettingsMetadata EnablePowerFormMetadata = default(SettingsMetadata), string EnablePremiumDataVerificationExtensions = default(string), SettingsMetadata EnablePremiumDataVerificationExtensionsMetadata = default(SettingsMetadata), string EnableRecipientDomainValidation = default(string), SettingsMetadata EnableRecipientDomainValidationMetadata = default(SettingsMetadata), string EnableRecipientMayProvidePhoneNumber = default(string), SettingsMetadata EnableRecipientMayProvidePhoneNumberMetadata = default(SettingsMetadata), string EnableReportLinks = default(string), SettingsMetadata EnableReportLinksMetadata = default(SettingsMetadata), string EnableRequireSignOnPaper = default(string), SettingsMetadata EnableRequireSignOnPaperMetadata = default(SettingsMetadata), string EnableReservedDomain = default(string), SettingsMetadata EnableReservedDomainMetadata = default(SettingsMetadata), string EnableResponsiveSigning = default(string), SettingsMetadata EnableResponsiveSigningMetadata = default(SettingsMetadata), string EnableReviewerEventsSetting = default(string), SettingsMetadata EnableReviewerEventsSettingMetadata = default(SettingsMetadata), string EnableSAPAribaExtension = default(string), SettingsMetadata EnableSAPAribaExtensionMetaData = default(SettingsMetadata), string EnableScheduledRelease = default(string), SettingsMetadata EnableScheduledReleaseMetadata = default(SettingsMetadata), string EnableSearchServiceAzureUri = default(string), SettingsMetadata EnableSearchServiceAzureUriMetadata = default(SettingsMetadata), string EnableSearchSiteSpecificApi = default(string), SettingsMetadata EnableSearchSiteSpecificApiMetadata = default(SettingsMetadata), string EnableSendingTagsFontSettings = default(string), SettingsMetadata EnableSendingTagsFontSettingsMetadata = default(SettingsMetadata), string EnableSendToAgent = default(string), SettingsMetadata EnableSendToAgentMetadata = default(SettingsMetadata), string EnableSendToIntermediary = default(string), SettingsMetadata EnableSendToIntermediaryMetadata = default(SettingsMetadata), string EnableSendToManage = default(string), SettingsMetadata EnableSendToManageMetadata = default(SettingsMetadata), string EnableSequentialSigningAPI = default(string), SettingsMetadata EnableSequentialSigningAPIMetadata = default(SettingsMetadata), string EnableSequentialSigningUI = default(string), SettingsMetadata EnableSequentialSigningUIMetadata = default(SettingsMetadata), string EnableSignerAttachments = default(string), SettingsMetadata EnableSignerAttachmentsMetadata = default(SettingsMetadata), string EnableSigningAIFeaturesPlan = default(string), SettingsMetadata EnableSigningAIFeaturesPlanMetadata = default(SettingsMetadata), string EnableSigningExtensionComments = default(string), SettingsMetadata EnableSigningExtensionCommentsMetadata = default(SettingsMetadata), string EnableSigningExtensionConversations = default(string), SettingsMetadata EnableSigningExtensionConversationsMetadata = default(SettingsMetadata), string EnableSigningGroupContinuePageSetting = default(string), SettingsMetadata EnableSigningGroupContinuePageSettingMetadata = default(SettingsMetadata), string EnableSigningOrderSettingsForAccount = default(string), SettingsMetadata EnableSigningOrderSettingsForAccountMetadata = default(SettingsMetadata), string EnableSignOnPaper = default(string), SettingsMetadata EnableSignOnPaperMetadata = default(SettingsMetadata), string EnableSignOnPaperOverride = default(string), SettingsMetadata EnableSignOnPaperOverrideMetadata = default(SettingsMetadata), string EnableSignWithNotary = default(string), SettingsMetadata EnableSignWithNotaryMetadata = default(SettingsMetadata), string EnableSmartContracts = default(string), SettingsMetadata EnableSmartContractsMetadata = default(SettingsMetadata), string EnableSMSAuthentication = default(string), SettingsMetadata EnableSMSAuthenticationMetadata = default(SettingsMetadata), string EnableSMSDeliveryAdditionalNotification = default(string), SettingsMetadata EnableSMSDeliveryAdditionalNotificationMetadata = default(SettingsMetadata), string EnableSMSDeliveryPrimary = default(string), string EnableSocialIdLogin = default(string), SettingsMetadata EnableSocialIdLoginMetadata = default(SettingsMetadata), string EnableStrikeThrough = default(string), SettingsMetadata EnableStrikeThroughMetadata = default(SettingsMetadata), string EnableTickets = default(string), SettingsMetadata EnableTicketsMetaData = default(SettingsMetadata), string EnableTransactionPoint = default(string), SettingsMetadata EnableTransactionPointMetadata = default(SettingsMetadata), string EnableUnifiedRepository = default(string), SettingsMetadata EnableUnifiedRepositoryMetadata = default(SettingsMetadata), string EnableVaulting = default(string), SettingsMetadata EnableVaultingMetadata = default(SettingsMetadata), string EnableWebFormsRuntimeAPIs = default(string), SettingsMetadata EnableWebFormsRuntimeAPIsMetadata = default(SettingsMetadata), string EnableWebFormsSeparateUserPermissions = default(string), SettingsMetadata EnableWebFormsSeparateUserPermissionsMetadata = default(SettingsMetadata), string EnableWitnessing = default(string), SettingsMetadata EnableWitnessingMetadata = default(SettingsMetadata), string EnableWorkdayFinancialsExtension = default(string), SettingsMetadata EnableWorkdayFinancialsExtensionMetaData = default(SettingsMetadata), string EnableWorkdayHRApp = default(string), SettingsMetadata EnableWorkdayHRAppMetadata = default(SettingsMetadata), string EnforceTemplateNameUniqueness = default(string), SettingsMetadata EnforceTemplateNameUniquenessMetadata = default(SettingsMetadata), string EnforceTlsEmails = default(string), SettingsMetadata EnforceTlsEmailsMetadata = default(SettingsMetadata), string EnvelopeIntegrationAllowed = default(string), SettingsMetadata EnvelopeIntegrationAllowedMetadata = default(SettingsMetadata), string EnvelopeIntegrationEnabled = default(string), SettingsMetadata EnvelopeIntegrationEnabledMetadata = default(SettingsMetadata), string EnvelopeLimitsTotalDocumentSizeAllowedInMB = default(string), string EnvelopeLimitsTotalDocumentSizeAllowedInMBEnabled = default(string), SettingsMetadata EnvelopeLimitsTotalDocumentSizeAllowedInMBEnabledMetadata = default(SettingsMetadata), SettingsMetadata EnvelopeLimitsTotalDocumentSizeAllowedInMBMetadata = default(SettingsMetadata), string EnvelopeSearchMode = default(string), SettingsMetadata EnvelopeSearchModeMetadata = default(SettingsMetadata), string EnvelopeStampingDefaultValue = default(string), SettingsMetadata EnvelopeStampingDefaultValueMetadata = default(SettingsMetadata), string ExitPrompt = default(string), SettingsMetadata ExitPromptMetadata = default(SettingsMetadata), string ExpressSend = default(string), string ExpressSendAllowTabs = default(string), SettingsMetadata ExpressSendAllowTabsMetadata = default(SettingsMetadata), SettingsMetadata ExpressSendMetadata = default(SettingsMetadata), ExternalDocumentSources ExternalDocumentSources = default(ExternalDocumentSources), string ExternalSignaturePadType = default(string), SettingsMetadata ExternalSignaturePadTypeMetadata = default(SettingsMetadata), string FaxOutEnabled = default(string), SettingsMetadata FaxOutEnabledMetadata = default(SettingsMetadata), string FinishReminder = default(string), SettingsMetadata FinishReminderMetadata = default(SettingsMetadata), string ForbidAddingUserStamps = default(string), SettingsMetadata ForbidAddingUserStampsMetadata = default(SettingsMetadata), string GuidedFormsHtmlAllowed = default(string), SettingsMetadata GuidedFormsHtmlAllowedMetadata = default(SettingsMetadata), string GuidedFormsHtmlConversionPolicy = default(string), SettingsMetadata GuidedFormsHtmlConversionPolicyMetadata = default(SettingsMetadata), string HasRecipientConnectClaimedDomain = default(string), string HideAccountAddressInCoC = default(string), SettingsMetadata HideAccountAddressInCoCMetadata = default(SettingsMetadata), string HidePricing = default(string), SettingsMetadata HidePricingMetadata = default(SettingsMetadata), List IdCheckConfigurations = default(List), string IdCheckExpire = default(string), string IdCheckExpireDays = default(string), SettingsMetadata IdCheckExpireDaysMetadata = default(SettingsMetadata), SettingsMetadata IdCheckExpireMetadata = default(SettingsMetadata), string IdCheckExpireMinutes = default(string), SettingsMetadata IdCheckExpireMinutesMetadata = default(SettingsMetadata), string IdCheckRequired = default(string), SettingsMetadata IdCheckRequiredMetadata = default(SettingsMetadata), List IdentityVerification = default(List), SettingsMetadata IdentityVerificationMetadata = default(SettingsMetadata), string IdfxKBAAuthenticationOverride = default(string), SettingsMetadata IdfxKBAAuthenticationOverrideMetadata = default(SettingsMetadata), string IdfxPhoneAuthenticationOverride = default(string), SettingsMetadata IdfxPhoneAuthenticationOverrideMetadata = default(SettingsMetadata), string IgnoreErrorIfAnchorTabNotFound = default(string), SettingsMetadata IgnoreErrorIfAnchorTabNotFoundMetadataEnabled = default(SettingsMetadata), string InPersonIDCheckQuestion = default(string), SettingsMetadata InPersonIDCheckQuestionMetadata = default(SettingsMetadata), string InPersonSigningEnabled = default(string), SettingsMetadata InPersonSigningEnabledMetadata = default(SettingsMetadata), string InSessionEnabled = default(string), SettingsMetadata InSessionEnabledMetadata = default(SettingsMetadata), string InSessionSuppressEmails = default(string), SettingsMetadata InSessionSuppressEmailsMetadata = default(SettingsMetadata), string IsConnectDocumentFieldsEnabled = default(string), string IsvEmbed = default(string), SettingsMetadata IsvEmbedMetaData = default(SettingsMetadata), string IsvOemEmbed = default(string), SettingsMetadata IsvOemEmbedMetaData = default(SettingsMetadata), List LinkedExternalPrimaryAccounts = default(List), string MaestroPlanLevels = default(string), SettingsMetadata MaestroPlanLevelsMetadata = default(SettingsMetadata), string MaximumSigningGroups = default(string), SettingsMetadata MaximumSigningGroupsMetadata = default(SettingsMetadata), string MaximumUsersPerSigningGroup = default(string), SettingsMetadata MaximumUsersPerSigningGroupMetadata = default(SettingsMetadata), string MaxNumberOfCustomStamps = default(string), string MergeMixedModeResults = default(string), SettingsMetadata MergeMixedModeResultsMetadata = default(SettingsMetadata), string MobileSessionTimeout = default(string), SettingsMetadata MobileSessionTimeoutMetadata = default(SettingsMetadata), string NumberOfActiveCustomStamps = default(string), string OptInMobileSigningV02 = default(string), SettingsMetadata OptInMobileSigningV02Metadata = default(SettingsMetadata), string OptInUniversalSignatures = default(string), string OptOutAutoNavTextAndTabColorUpdates = default(string), SettingsMetadata OptOutAutoNavTextAndTabColorUpdatesMetadata = default(SettingsMetadata), string OptOutNewPlatformSeal = default(string), SettingsMetadata OptOutNewPlatformSealPlatformMetadata = default(SettingsMetadata), string OriginalAccountSite = default(string), string ParticipantCopyOptOut = default(string), SettingsMetadata ParticipantCopyOptOutMetadata = default(SettingsMetadata), string PdfMaxChunkedUploadPartSize = default(string), SettingsMetadata PdfMaxChunkedUploadPartSizeMetadata = default(SettingsMetadata), string PdfMaxChunkedUploadTotalSize = default(string), SettingsMetadata PdfMaxChunkedUploadTotalSizeMetadata = default(SettingsMetadata), string PdfMaxIndividualUploadSize = default(string), SettingsMetadata PdfMaxIndividualUploadSizeMetadata = default(SettingsMetadata), string PhoneAuthRecipientMayProvidePhoneNumber = default(string), SettingsMetadata PhoneAuthRecipientMayProvidePhoneNumberMetadata = default(SettingsMetadata), string PkiSignDownloadedPDFDocs = default(string), SettingsMetadata PkiSignDownloadedPDFDocsMetadata = default(SettingsMetadata), string ReadOnlyMode = default(string), SettingsMetadata ReadOnlyModeMetadata = default(SettingsMetadata), string RecipientsCanSignOffline = default(string), SettingsMetadata RecipientsCanSignOfflineMetadata = default(SettingsMetadata), string RecipientSigningAutoNavigationControl = default(string), SettingsMetadata RecipientSigningAutoNavigationControlMetadata = default(SettingsMetadata), string RecycleBinEnvelopeRetention = default(string), SettingsMetadata RecycleBinEnvelopeRetentionMetadata = default(SettingsMetadata), string Require21CFRpt11Compliance = default(string), SettingsMetadata Require21CFRpt11ComplianceMetadata = default(SettingsMetadata), string RequireDeclineReason = default(string), SettingsMetadata RequireDeclineReasonMetadata = default(SettingsMetadata), string RequireExternalUserManagement = default(string), SettingsMetadata RequireExternalUserManagementMetadata = default(SettingsMetadata), string RequireSignerCertificateType = default(string), SettingsMetadata RequireSignerCertificateTypeMetadata = default(SettingsMetadata), string RsaVeridAccountName = default(string), string RsaVeridPassword = default(string), string RsaVeridRuleset = default(string), string RsaVeridUserId = default(string), string SelfSignedRecipientEmailDocument = default(string), SettingsMetadata SelfSignedRecipientEmailDocumentMetadata = default(SettingsMetadata), string SelfSignedRecipientEmailDocumentUserOverride = default(string), SettingsMetadata SelfSignedRecipientEmailDocumentUserOverrideMetadata = default(SettingsMetadata), string SenderCanSignInEachLocation = default(string), SettingsMetadata SenderCanSignInEachLocationMetadata = default(SettingsMetadata), string SenderMustAuthenticateSigning = default(string), SettingsMetadata SenderMustAuthenticateSigningMetadata = default(SettingsMetadata), string SendingTagsFontColor = default(string), SettingsMetadata SendingTagsFontColorMetadata = default(SettingsMetadata), string SendingTagsFontName = default(string), SettingsMetadata SendingTagsFontNameMetadata = default(SettingsMetadata), string SendingTagsFontSize = default(string), SettingsMetadata SendingTagsFontSizeMetadata = default(SettingsMetadata), string SendLockoutRecipientNotification = default(string), SettingsMetadata SendLockoutRecipientNotificationMetadata = default(SettingsMetadata), string SendToCertifiedDeliveryEnabled = default(string), SettingsMetadata SendToCertifiedDeliveryEnabledMetadata = default(SettingsMetadata), string SessionTimeout = default(string), SettingsMetadata SessionTimeoutMetadata = default(SettingsMetadata), string SetRecipEmailLang = default(string), SettingsMetadata SetRecipEmailLangMetadata = default(SettingsMetadata), string SetRecipSignLang = default(string), SettingsMetadata SetRecipSignLangMetadata = default(SettingsMetadata), string SharedTemplateFolders = default(string), SettingsMetadata SharedTemplateFoldersMetadata = default(SettingsMetadata), string ShowCompleteDialogInEmbeddedSession = default(string), SettingsMetadata ShowCompleteDialogInEmbeddedSessionMetadata = default(SettingsMetadata), string ShowConditionalRoutingOnSend = default(string), SettingsMetadata ShowConditionalRoutingOnSendMetadata = default(SettingsMetadata), string ShowInitialConditionalFields = default(string), SettingsMetadata ShowInitialConditionalFieldsMetadata = default(SettingsMetadata), string ShowLocalizedWatermarks = default(string), SettingsMetadata ShowLocalizedWatermarksMetadata = default(SettingsMetadata), string ShowMaskedFieldsWhenDownloadingDocumentAsSender = default(string), SettingsMetadata ShowMaskedFieldsWhenDownloadingDocumentAsSenderMetadata = default(SettingsMetadata), string ShowTutorials = default(string), SettingsMetadata ShowTutorialsMetadata = default(SettingsMetadata), List SignatureProviders = default(List), SettingsMetadata SignatureProvidersMetadata = default(SettingsMetadata), string SignDateFormat = default(string), SettingsMetadata SignDateFormatMetadata = default(SettingsMetadata), string SignDateTimeAccountLanguageOverride = default(string), SettingsMetadata SignDateTimeAccountLanguageOverrideMetadata = default(SettingsMetadata), string SignDateTimeAccountTimezoneOverride = default(string), SettingsMetadata SignDateTimeAccountTimezoneOverrideMetadata = default(SettingsMetadata), string SignerAttachCertificateToEnvelopePDF = default(string), SettingsMetadata SignerAttachCertificateToEnvelopePDFMetadata = default(SettingsMetadata), string SignerAttachConcat = default(string), SettingsMetadata SignerAttachConcatMetadata = default(SettingsMetadata), string SignerCanCreateAccount = default(string), SettingsMetadata SignerCanCreateAccountMetadata = default(SettingsMetadata), string SignerCanSignOnMobile = default(string), SettingsMetadata SignerCanSignOnMobileMetadata = default(SettingsMetadata), string SignerInSessionUseEnvelopeCompleteEmail = default(string), SettingsMetadata SignerInSessionUseEnvelopeCompleteEmailMetadata = default(SettingsMetadata), string SignerLoginRequirements = default(string), SettingsMetadata SignerLoginRequirementsMetadata = default(SettingsMetadata), string SignerMustHaveAccount = default(string), SettingsMetadata SignerMustHaveAccountMetadata = default(SettingsMetadata), string SignerMustLoginToSign = default(string), SettingsMetadata SignerMustLoginToSignMetadata = default(SettingsMetadata), string SignerShowSecureFieldInitialValues = default(string), SettingsMetadata SignerShowSecureFieldInitialValuesMetadata = default(SettingsMetadata), string SigningSessionTimeout = default(string), SettingsMetadata SigningSessionTimeoutMetadata = default(SettingsMetadata), string SigningUiVersion = default(string), SettingsMetadata SigningUiVersionMetadata = default(SettingsMetadata), string SignTimeFormat = default(string), SettingsMetadata SignTimeFormatMetadata = default(SettingsMetadata), string SignTimeShowAmPm = default(string), SettingsMetadata SignTimeShowAmPmMetadata = default(SettingsMetadata), string SimplifiedSendingEnabled = default(string), SettingsMetadata SimplifiedSendingEnabledMetadata = default(SettingsMetadata), string SingleSignOnEnabled = default(string), SettingsMetadata SingleSignOnEnabledMetadata = default(SettingsMetadata), string SkipAuthCompletedEnvelopes = default(string), SettingsMetadata SkipAuthCompletedEnvelopesMetadata = default(SettingsMetadata), string SocialIdRecipAuth = default(string), SettingsMetadata SocialIdRecipAuthMetadata = default(SettingsMetadata), string SpecifyDocumentVisibility = default(string), SettingsMetadata SpecifyDocumentVisibilityMetadata = default(SettingsMetadata), string StartInAdvancedCorrect = default(string), SettingsMetadata StartInAdvancedCorrectMetadata = default(SettingsMetadata), string SupplementalDocumentsMustAccept = default(string), SettingsMetadata SupplementalDocumentsMustAcceptMetadata = default(SettingsMetadata), string SupplementalDocumentsMustRead = default(string), SettingsMetadata SupplementalDocumentsMustReadMetadata = default(SettingsMetadata), string SupplementalDocumentsMustView = default(string), SettingsMetadata SupplementalDocumentsMustViewMetadata = default(SettingsMetadata), string SuppressCertificateEnforcement = default(string), SettingsMetadata SuppressCertificateEnforcementMetadata = default(SettingsMetadata), TabAccountSettings TabAccountSettings = default(TabAccountSettings), string TimezoneOffsetAPI = default(string), SettingsMetadata TimezoneOffsetAPIMetadata = default(SettingsMetadata), string TimezoneOffsetUI = default(string), SettingsMetadata TimezoneOffsetUIMetadata = default(SettingsMetadata), string UniversalSignatureOptIn = default(string), string UniversalSignatureSkipPlatformSignature = default(string), SettingsMetadata UniversalSignatureSkipPlatformSignatureMetadata = default(SettingsMetadata), string UseAccountLevelEmail = default(string), SettingsMetadata UseAccountLevelEmailMetadata = default(SettingsMetadata), string UseConsumerDisclosure = default(string), SettingsMetadata UseConsumerDisclosureMetadata = default(SettingsMetadata), string UseConsumerDisclosureWithinAccount = default(string), SettingsMetadata UseConsumerDisclosureWithinAccountMetadata = default(SettingsMetadata), string UseDerivedKeys = default(string), SettingsMetadata UseDerivedKeysMetadata = default(SettingsMetadata), string UseDocuSignExpressSignerCertificate = default(string), SettingsMetadata UseDocuSignExpressSignerCertificateMetadata = default(SettingsMetadata), string UseEnvelopeSearchMixedMode = default(string), SettingsMetadata UseEnvelopeSearchMixedModeMetadata = default(SettingsMetadata), string UseMultiAppGroupsData = default(string), SettingsMetadata UseMultiAppGroupsDataMetadata = default(SettingsMetadata), string UseNewBlobForPdf = default(string), SettingsMetadata UseNewBlobForPdfMetadata = default(SettingsMetadata), string UseNewEnvelopeSearch = default(string), SettingsMetadata UseNewEnvelopeSearchMetadata = default(SettingsMetadata), string UseNewEnvelopeSearchOnlyWhenSearchingAfterDate = default(string), SettingsMetadata UseNewEnvelopeSearchOnlyWhenSearchingAfterDateMetadata = default(SettingsMetadata), string UseNewEnvelopeSearchOnlyWithSearchTerm = default(string), SettingsMetadata UseNewEnvelopeSearchOnlyWithSearchTermMetadata = default(SettingsMetadata), string UseSAFESignerCertificates = default(string), SettingsMetadata UseSAFESignerCertificatesMetadata = default(SettingsMetadata), string UsesAPI = default(string), SettingsMetadata UsesAPIMetadata = default(SettingsMetadata), string UseSignatureProviderPlatform = default(string), SettingsMetadata UseSignatureProviderPlatformMetadata = default(SettingsMetadata), string UseSmartContractsV1 = default(string), string ValidationsAllowed = default(string), SettingsMetadata ValidationsAllowedMetadata = default(SettingsMetadata), string ValidationsBrand = default(string), SettingsMetadata ValidationsBrandMetadata = default(SettingsMetadata), string ValidationsCadence = default(string), SettingsMetadata ValidationsCadenceMetadata = default(SettingsMetadata), string ValidationsEnabled = default(string), SettingsMetadata ValidationsEnabledMetadata = default(SettingsMetadata), string ValidationsReport = default(string), SettingsMetadata ValidationsReportMetadata = default(SettingsMetadata), string WaterMarkEnabled = default(string), SettingsMetadata WaterMarkEnabledMetadata = default(SettingsMetadata), string WriteReminderToEnvelopeHistory = default(string), SettingsMetadata WriteReminderToEnvelopeHistoryMetadata = default(SettingsMetadata), string WurflMinAllowableScreenSize = default(string), SettingsMetadata WurflMinAllowableScreenSizeMetadata = default(SettingsMetadata)) { this.AccessCodeFormat = AccessCodeFormat; this.AccountDateTimeFormat = AccountDateTimeFormat; @@ -901,6 +908,7 @@ public AccountSettingsInformation() this.AccountNameMetadata = AccountNameMetadata; this.AccountNotification = AccountNotification; this.AccountUISettings = AccountUISettings; + this.AdditionalSettings = AdditionalSettings; this.AdoptSigConfig = AdoptSigConfig; this.AdoptSigConfigMetadata = AdoptSigConfigMetadata; this.AdvancedCorrect = AdvancedCorrect; @@ -911,6 +919,8 @@ public AccountSettingsInformation() this.AdvancedSearchEnableTemplateIdFieldMetadata = AdvancedSearchEnableTemplateIdFieldMetadata; this.AdvancedSearchEnableTemplateNameField = AdvancedSearchEnableTemplateNameField; this.AdvancedSearchEnableTemplateNameFieldMetadata = AdvancedSearchEnableTemplateNameFieldMetadata; + this.AiAssistedWebFormCreationLevel = AiAssistedWebFormCreationLevel; + this.AiAssistedWebFormCreationLevelMetadata = AiAssistedWebFormCreationLevelMetadata; this.AllowAccessCodeFormat = AllowAccessCodeFormat; this.AllowAccessCodeFormatMetadata = AllowAccessCodeFormatMetadata; this.AllowAccountManagementGranular = AllowAccountManagementGranular; @@ -1345,6 +1355,8 @@ public AccountSettingsInformation() this.EnableI9OnDemandMetadata = EnableI9OnDemandMetadata; this.EnableIAMClauseLibrary = EnableIAMClauseLibrary; this.EnableIAMClauseLibraryMetadata = EnableIAMClauseLibraryMetadata; + this.EnableIAMforXEmbeddedUX = EnableIAMforXEmbeddedUX; + this.EnableIAMforXEmbeddedUXMetadata = EnableIAMforXEmbeddedUXMetadata; this.EnableIDFxAccountlessSMSAuthForPart11 = EnableIDFxAccountlessSMSAuthForPart11; this.EnableIDFxAccountlessSMSAuthForPart11Metadata = EnableIDFxAccountlessSMSAuthForPart11Metadata; this.EnableIDFxIntuitKBA = EnableIDFxIntuitKBA; @@ -1412,6 +1424,8 @@ public AccountSettingsInformation() this.EnableReservedDomainMetadata = EnableReservedDomainMetadata; this.EnableResponsiveSigning = EnableResponsiveSigning; this.EnableResponsiveSigningMetadata = EnableResponsiveSigningMetadata; + this.EnableReviewerEventsSetting = EnableReviewerEventsSetting; + this.EnableReviewerEventsSettingMetadata = EnableReviewerEventsSettingMetadata; this.EnableSAPAribaExtension = EnableSAPAribaExtension; this.EnableSAPAribaExtensionMetaData = EnableSAPAribaExtensionMetaData; this.EnableScheduledRelease = EnableScheduledRelease; @@ -1800,6 +1814,11 @@ public AccountSettingsInformation() [DataMember(Name="accountUISettings", EmitDefaultValue=false)] public AccountUISettings AccountUISettings { get; set; } /// + /// Gets or Sets AdditionalSettings + /// + [DataMember(Name="additionalSettings", EmitDefaultValue=false)] + public List AdditionalSettings { get; set; } + /// /// Gets or Sets AdoptSigConfig /// [DataMember(Name="adoptSigConfig", EmitDefaultValue=false)] @@ -1852,6 +1871,16 @@ public AccountSettingsInformation() [DataMember(Name="advancedSearchEnableTemplateNameFieldMetadata", EmitDefaultValue=false)] public SettingsMetadata AdvancedSearchEnableTemplateNameFieldMetadata { get; set; } /// + /// Gets or Sets AiAssistedWebFormCreationLevel + /// + [DataMember(Name="aiAssistedWebFormCreationLevel", EmitDefaultValue=false)] + public string AiAssistedWebFormCreationLevel { get; set; } + /// + /// Gets or Sets AiAssistedWebFormCreationLevelMetadata + /// + [DataMember(Name="aiAssistedWebFormCreationLevelMetadata", EmitDefaultValue=false)] + public SettingsMetadata AiAssistedWebFormCreationLevelMetadata { get; set; } + /// /// Gets or Sets AllowAccessCodeFormat /// [DataMember(Name="allowAccessCodeFormat", EmitDefaultValue=false)] @@ -4142,6 +4171,16 @@ public AccountSettingsInformation() [DataMember(Name="enableIAMClauseLibraryMetadata", EmitDefaultValue=false)] public SettingsMetadata EnableIAMClauseLibraryMetadata { get; set; } /// + /// Gets or Sets EnableIAMforXEmbeddedUX + /// + [DataMember(Name="enableIAMforXEmbeddedUX", EmitDefaultValue=false)] + public string EnableIAMforXEmbeddedUX { get; set; } + /// + /// Gets or Sets EnableIAMforXEmbeddedUXMetadata + /// + [DataMember(Name="enableIAMforXEmbeddedUXMetadata", EmitDefaultValue=false)] + public SettingsMetadata EnableIAMforXEmbeddedUXMetadata { get; set; } + /// /// Gets or Sets EnableIDFxAccountlessSMSAuthForPart11 /// [DataMember(Name="enableIDFxAccountlessSMSAuthForPart11", EmitDefaultValue=false)] @@ -4485,6 +4524,16 @@ public AccountSettingsInformation() [DataMember(Name="enableResponsiveSigningMetadata", EmitDefaultValue=false)] public SettingsMetadata EnableResponsiveSigningMetadata { get; set; } /// + /// Gets or Sets EnableReviewerEventsSetting + /// + [DataMember(Name="enableReviewerEventsSetting", EmitDefaultValue=false)] + public string EnableReviewerEventsSetting { get; set; } + /// + /// Gets or Sets EnableReviewerEventsSettingMetadata + /// + [DataMember(Name="enableReviewerEventsSettingMetadata", EmitDefaultValue=false)] + public SettingsMetadata EnableReviewerEventsSettingMetadata { get; set; } + /// /// Gets or Sets EnableSAPAribaExtension /// [DataMember(Name="enableSAPAribaExtension", EmitDefaultValue=false)] @@ -6293,6 +6342,7 @@ public override string ToString() sb.Append(" AccountNameMetadata: ").Append(AccountNameMetadata).Append("\n"); sb.Append(" AccountNotification: ").Append(AccountNotification).Append("\n"); sb.Append(" AccountUISettings: ").Append(AccountUISettings).Append("\n"); + sb.Append(" AdditionalSettings: ").Append(AdditionalSettings).Append("\n"); sb.Append(" AdoptSigConfig: ").Append(AdoptSigConfig).Append("\n"); sb.Append(" AdoptSigConfigMetadata: ").Append(AdoptSigConfigMetadata).Append("\n"); sb.Append(" AdvancedCorrect: ").Append(AdvancedCorrect).Append("\n"); @@ -6303,6 +6353,8 @@ public override string ToString() sb.Append(" AdvancedSearchEnableTemplateIdFieldMetadata: ").Append(AdvancedSearchEnableTemplateIdFieldMetadata).Append("\n"); sb.Append(" AdvancedSearchEnableTemplateNameField: ").Append(AdvancedSearchEnableTemplateNameField).Append("\n"); sb.Append(" AdvancedSearchEnableTemplateNameFieldMetadata: ").Append(AdvancedSearchEnableTemplateNameFieldMetadata).Append("\n"); + sb.Append(" AiAssistedWebFormCreationLevel: ").Append(AiAssistedWebFormCreationLevel).Append("\n"); + sb.Append(" AiAssistedWebFormCreationLevelMetadata: ").Append(AiAssistedWebFormCreationLevelMetadata).Append("\n"); sb.Append(" AllowAccessCodeFormat: ").Append(AllowAccessCodeFormat).Append("\n"); sb.Append(" AllowAccessCodeFormatMetadata: ").Append(AllowAccessCodeFormatMetadata).Append("\n"); sb.Append(" AllowAccountManagementGranular: ").Append(AllowAccountManagementGranular).Append("\n"); @@ -6737,6 +6789,8 @@ public override string ToString() sb.Append(" EnableI9OnDemandMetadata: ").Append(EnableI9OnDemandMetadata).Append("\n"); sb.Append(" EnableIAMClauseLibrary: ").Append(EnableIAMClauseLibrary).Append("\n"); sb.Append(" EnableIAMClauseLibraryMetadata: ").Append(EnableIAMClauseLibraryMetadata).Append("\n"); + sb.Append(" EnableIAMforXEmbeddedUX: ").Append(EnableIAMforXEmbeddedUX).Append("\n"); + sb.Append(" EnableIAMforXEmbeddedUXMetadata: ").Append(EnableIAMforXEmbeddedUXMetadata).Append("\n"); sb.Append(" EnableIDFxAccountlessSMSAuthForPart11: ").Append(EnableIDFxAccountlessSMSAuthForPart11).Append("\n"); sb.Append(" EnableIDFxAccountlessSMSAuthForPart11Metadata: ").Append(EnableIDFxAccountlessSMSAuthForPart11Metadata).Append("\n"); sb.Append(" EnableIDFxIntuitKBA: ").Append(EnableIDFxIntuitKBA).Append("\n"); @@ -6804,6 +6858,8 @@ public override string ToString() sb.Append(" EnableReservedDomainMetadata: ").Append(EnableReservedDomainMetadata).Append("\n"); sb.Append(" EnableResponsiveSigning: ").Append(EnableResponsiveSigning).Append("\n"); sb.Append(" EnableResponsiveSigningMetadata: ").Append(EnableResponsiveSigningMetadata).Append("\n"); + sb.Append(" EnableReviewerEventsSetting: ").Append(EnableReviewerEventsSetting).Append("\n"); + sb.Append(" EnableReviewerEventsSettingMetadata: ").Append(EnableReviewerEventsSettingMetadata).Append("\n"); sb.Append(" EnableSAPAribaExtension: ").Append(EnableSAPAribaExtension).Append("\n"); sb.Append(" EnableSAPAribaExtensionMetaData: ").Append(EnableSAPAribaExtensionMetaData).Append("\n"); sb.Append(" EnableScheduledRelease: ").Append(EnableScheduledRelease).Append("\n"); @@ -7220,6 +7276,11 @@ public bool Equals(AccountSettingsInformation other) this.AccountUISettings != null && this.AccountUISettings.Equals(other.AccountUISettings) ) && + ( + this.AdditionalSettings == other.AdditionalSettings || + this.AdditionalSettings != null && + this.AdditionalSettings.SequenceEqual(other.AdditionalSettings) + ) && ( this.AdoptSigConfig == other.AdoptSigConfig || this.AdoptSigConfig != null && @@ -7270,6 +7331,16 @@ public bool Equals(AccountSettingsInformation other) this.AdvancedSearchEnableTemplateNameFieldMetadata != null && this.AdvancedSearchEnableTemplateNameFieldMetadata.Equals(other.AdvancedSearchEnableTemplateNameFieldMetadata) ) && + ( + this.AiAssistedWebFormCreationLevel == other.AiAssistedWebFormCreationLevel || + this.AiAssistedWebFormCreationLevel != null && + this.AiAssistedWebFormCreationLevel.Equals(other.AiAssistedWebFormCreationLevel) + ) && + ( + this.AiAssistedWebFormCreationLevelMetadata == other.AiAssistedWebFormCreationLevelMetadata || + this.AiAssistedWebFormCreationLevelMetadata != null && + this.AiAssistedWebFormCreationLevelMetadata.Equals(other.AiAssistedWebFormCreationLevelMetadata) + ) && ( this.AllowAccessCodeFormat == other.AllowAccessCodeFormat || this.AllowAccessCodeFormat != null && @@ -9440,6 +9511,16 @@ public bool Equals(AccountSettingsInformation other) this.EnableIAMClauseLibraryMetadata != null && this.EnableIAMClauseLibraryMetadata.Equals(other.EnableIAMClauseLibraryMetadata) ) && + ( + this.EnableIAMforXEmbeddedUX == other.EnableIAMforXEmbeddedUX || + this.EnableIAMforXEmbeddedUX != null && + this.EnableIAMforXEmbeddedUX.Equals(other.EnableIAMforXEmbeddedUX) + ) && + ( + this.EnableIAMforXEmbeddedUXMetadata == other.EnableIAMforXEmbeddedUXMetadata || + this.EnableIAMforXEmbeddedUXMetadata != null && + this.EnableIAMforXEmbeddedUXMetadata.Equals(other.EnableIAMforXEmbeddedUXMetadata) + ) && ( this.EnableIDFxAccountlessSMSAuthForPart11 == other.EnableIDFxAccountlessSMSAuthForPart11 || this.EnableIDFxAccountlessSMSAuthForPart11 != null && @@ -9775,6 +9856,16 @@ public bool Equals(AccountSettingsInformation other) this.EnableResponsiveSigningMetadata != null && this.EnableResponsiveSigningMetadata.Equals(other.EnableResponsiveSigningMetadata) ) && + ( + this.EnableReviewerEventsSetting == other.EnableReviewerEventsSetting || + this.EnableReviewerEventsSetting != null && + this.EnableReviewerEventsSetting.Equals(other.EnableReviewerEventsSetting) + ) && + ( + this.EnableReviewerEventsSettingMetadata == other.EnableReviewerEventsSettingMetadata || + this.EnableReviewerEventsSettingMetadata != null && + this.EnableReviewerEventsSettingMetadata.Equals(other.EnableReviewerEventsSettingMetadata) + ) && ( this.EnableSAPAribaExtension == other.EnableSAPAribaExtension || this.EnableSAPAribaExtension != null && @@ -11481,6 +11572,8 @@ public override int GetHashCode() hash = hash * 59 + this.AccountNotification.GetHashCode(); if (this.AccountUISettings != null) hash = hash * 59 + this.AccountUISettings.GetHashCode(); + if (this.AdditionalSettings != null) + hash = hash * 59 + this.AdditionalSettings.GetHashCode(); if (this.AdoptSigConfig != null) hash = hash * 59 + this.AdoptSigConfig.GetHashCode(); if (this.AdoptSigConfigMetadata != null) @@ -11501,6 +11594,10 @@ public override int GetHashCode() hash = hash * 59 + this.AdvancedSearchEnableTemplateNameField.GetHashCode(); if (this.AdvancedSearchEnableTemplateNameFieldMetadata != null) hash = hash * 59 + this.AdvancedSearchEnableTemplateNameFieldMetadata.GetHashCode(); + if (this.AiAssistedWebFormCreationLevel != null) + hash = hash * 59 + this.AiAssistedWebFormCreationLevel.GetHashCode(); + if (this.AiAssistedWebFormCreationLevelMetadata != null) + hash = hash * 59 + this.AiAssistedWebFormCreationLevelMetadata.GetHashCode(); if (this.AllowAccessCodeFormat != null) hash = hash * 59 + this.AllowAccessCodeFormat.GetHashCode(); if (this.AllowAccessCodeFormatMetadata != null) @@ -12369,6 +12466,10 @@ public override int GetHashCode() hash = hash * 59 + this.EnableIAMClauseLibrary.GetHashCode(); if (this.EnableIAMClauseLibraryMetadata != null) hash = hash * 59 + this.EnableIAMClauseLibraryMetadata.GetHashCode(); + if (this.EnableIAMforXEmbeddedUX != null) + hash = hash * 59 + this.EnableIAMforXEmbeddedUX.GetHashCode(); + if (this.EnableIAMforXEmbeddedUXMetadata != null) + hash = hash * 59 + this.EnableIAMforXEmbeddedUXMetadata.GetHashCode(); if (this.EnableIDFxAccountlessSMSAuthForPart11 != null) hash = hash * 59 + this.EnableIDFxAccountlessSMSAuthForPart11.GetHashCode(); if (this.EnableIDFxAccountlessSMSAuthForPart11Metadata != null) @@ -12503,6 +12604,10 @@ public override int GetHashCode() hash = hash * 59 + this.EnableResponsiveSigning.GetHashCode(); if (this.EnableResponsiveSigningMetadata != null) hash = hash * 59 + this.EnableResponsiveSigningMetadata.GetHashCode(); + if (this.EnableReviewerEventsSetting != null) + hash = hash * 59 + this.EnableReviewerEventsSetting.GetHashCode(); + if (this.EnableReviewerEventsSettingMetadata != null) + hash = hash * 59 + this.EnableReviewerEventsSettingMetadata.GetHashCode(); if (this.EnableSAPAribaExtension != null) hash = hash * 59 + this.EnableSAPAribaExtension.GetHashCode(); if (this.EnableSAPAribaExtensionMetaData != null) diff --git a/sdk/src/DocuSign.eSign/Model/AdditionalSetting.cs b/sdk/src/DocuSign.eSign/Model/AdditionalSetting.cs new file mode 100644 index 000000000..90c73e5d1 --- /dev/null +++ b/sdk/src/DocuSign.eSign/Model/AdditionalSetting.cs @@ -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 +{ + /// + /// AdditionalSetting + /// + [DataContract] + public partial class AdditionalSetting : IEquatable, IValidatableObject + { + public AdditionalSetting() + { + // Empty Constructor + } + + /// + /// Initializes a new instance of the class. + /// + /// Metadata. + /// Name. + /// Specifies the value of the tab. . + public AdditionalSetting(SettingsMetadata Metadata = default(SettingsMetadata), string Name = default(string), string Value = default(string)) + { + this.Metadata = Metadata; + this.Name = Name; + this.Value = Value; + } + + /// + /// Gets or Sets Metadata + /// + [DataMember(Name="metadata", EmitDefaultValue=false)] + public SettingsMetadata Metadata { get; set; } + /// + /// Gets or Sets Name + /// + [DataMember(Name="name", EmitDefaultValue=false)] + public string Name { get; set; } + /// + /// Specifies the value of the tab. + /// + /// Specifies the value of the tab. + [DataMember(Name="value", EmitDefaultValue=false)] + public string Value { get; set; } + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + 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(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as AdditionalSetting); + } + + /// + /// Returns true if AdditionalSetting instances are equal + /// + /// Instance of AdditionalSetting to be compared + /// Boolean + 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) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + 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 Validate(ValidationContext validationContext) + { + yield break; + } + } +} diff --git a/sdk/src/DocuSign.eSign/Model/Approve.cs b/sdk/src/DocuSign.eSign/Model/Approve.cs index ebfe388f4..aa8b49e0a 100644 --- a/sdk/src/DocuSign.eSign/Model/Approve.cs +++ b/sdk/src/DocuSign.eSign/Model/Approve.cs @@ -51,6 +51,7 @@ public Approve() /// Metadata that indicates whether the `anchorString` property is editable.. /// AnchorTabProcessorVersion. /// Reserved for DocuSign.. + /// AnchorTabScope. /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.. /// Metadata that indicates whether the `anchorUnits` property is editable.. /// Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.. @@ -129,7 +130,7 @@ public Approve() /// Metadata that indicates whether the `xPosition` property is editable.. /// This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.. /// Metadata that indicates whether the `yPosition` property is editable.. - public Approve(string AgreementAttribute = default(string), string AgreementAttributeLocked = default(string), string AnchorAllowWhiteSpaceInCharacters = default(string), PropertyMetadata AnchorAllowWhiteSpaceInCharactersMetadata = default(PropertyMetadata), string AnchorCaseSensitive = default(string), PropertyMetadata AnchorCaseSensitiveMetadata = default(PropertyMetadata), string AnchorHorizontalAlignment = default(string), PropertyMetadata AnchorHorizontalAlignmentMetadata = default(PropertyMetadata), string AnchorIgnoreIfNotPresent = default(string), PropertyMetadata AnchorIgnoreIfNotPresentMetadata = default(PropertyMetadata), string AnchorMatchWholeWord = default(string), PropertyMetadata AnchorMatchWholeWordMetadata = default(PropertyMetadata), string AnchorString = default(string), PropertyMetadata AnchorStringMetadata = default(PropertyMetadata), string AnchorTabProcessorVersion = default(string), PropertyMetadata AnchorTabProcessorVersionMetadata = default(PropertyMetadata), string AnchorUnits = default(string), PropertyMetadata AnchorUnitsMetadata = default(PropertyMetadata), string AnchorXOffset = default(string), PropertyMetadata AnchorXOffsetMetadata = default(PropertyMetadata), string AnchorYOffset = default(string), PropertyMetadata AnchorYOffsetMetadata = default(PropertyMetadata), string Bold = default(string), PropertyMetadata BoldMetadata = default(PropertyMetadata), string ButtonText = default(string), PropertyMetadata ButtonTextMetadata = default(PropertyMetadata), string Caption = default(string), PropertyMetadata CaptionMetadata = default(PropertyMetadata), string ConditionalParentLabel = default(string), PropertyMetadata ConditionalParentLabelMetadata = default(PropertyMetadata), string ConditionalParentValue = default(string), PropertyMetadata ConditionalParentValueMetadata = default(PropertyMetadata), ConnectedObjectDetails ConnectedObjectDetails = default(ConnectedObjectDetails), string CustomTabId = default(string), PropertyMetadata CustomTabIdMetadata = default(PropertyMetadata), string DocumentId = default(string), PropertyMetadata DocumentIdMetadata = default(PropertyMetadata), ErrorDetails ErrorDetails = default(ErrorDetails), ExtensionData ExtensionData = default(ExtensionData), string Font = default(string), string FontColor = default(string), PropertyMetadata FontColorMetadata = default(PropertyMetadata), PropertyMetadata FontMetadata = default(PropertyMetadata), string FontSize = default(string), PropertyMetadata FontSizeMetadata = default(PropertyMetadata), string FormOrder = default(string), PropertyMetadata FormOrderMetadata = default(PropertyMetadata), string FormPageLabel = default(string), PropertyMetadata FormPageLabelMetadata = default(PropertyMetadata), string FormPageNumber = default(string), PropertyMetadata FormPageNumberMetadata = default(PropertyMetadata), string Height = default(string), PropertyMetadata HeightMetadata = default(PropertyMetadata), string Italic = default(string), PropertyMetadata ItalicMetadata = default(PropertyMetadata), LocalePolicyTab LocalePolicy = default(LocalePolicyTab), MergeField MergeField = default(MergeField), string MergeFieldXml = default(string), string PageNumber = default(string), PropertyMetadata PageNumberMetadata = default(PropertyMetadata), string RecipientId = default(string), string RecipientIdGuid = default(string), PropertyMetadata RecipientIdGuidMetadata = default(PropertyMetadata), PropertyMetadata RecipientIdMetadata = default(PropertyMetadata), SmartContractInformation SmartContractInformation = default(SmartContractInformation), string Source = default(string), string Status = default(string), PropertyMetadata StatusMetadata = default(PropertyMetadata), string TabFullyQualifiedPath = default(string), List TabGroupLabels = default(List), PropertyMetadata TabGroupLabelsMetadata = default(PropertyMetadata), string TabId = default(string), PropertyMetadata TabIdMetadata = default(PropertyMetadata), string TabLabel = default(string), PropertyMetadata TabLabelMetadata = default(PropertyMetadata), string TabOrder = default(string), PropertyMetadata TabOrderMetadata = default(PropertyMetadata), string TabType = default(string), PropertyMetadata TabTypeMetadata = default(PropertyMetadata), string TemplateLocked = default(string), PropertyMetadata TemplateLockedMetadata = default(PropertyMetadata), string TemplateRequired = default(string), PropertyMetadata TemplateRequiredMetadata = default(PropertyMetadata), string Tooltip = default(string), PropertyMetadata ToolTipMetadata = default(PropertyMetadata), string Underline = default(string), PropertyMetadata UnderlineMetadata = default(PropertyMetadata), ErrorDetails WarningDetails = default(ErrorDetails), string Width = default(string), PropertyMetadata WidthMetadata = default(PropertyMetadata), string XPosition = default(string), PropertyMetadata XPositionMetadata = default(PropertyMetadata), string YPosition = default(string), PropertyMetadata YPositionMetadata = default(PropertyMetadata)) + public Approve(string AgreementAttribute = default(string), string AgreementAttributeLocked = default(string), string AnchorAllowWhiteSpaceInCharacters = default(string), PropertyMetadata AnchorAllowWhiteSpaceInCharactersMetadata = default(PropertyMetadata), string AnchorCaseSensitive = default(string), PropertyMetadata AnchorCaseSensitiveMetadata = default(PropertyMetadata), string AnchorHorizontalAlignment = default(string), PropertyMetadata AnchorHorizontalAlignmentMetadata = default(PropertyMetadata), string AnchorIgnoreIfNotPresent = default(string), PropertyMetadata AnchorIgnoreIfNotPresentMetadata = default(PropertyMetadata), string AnchorMatchWholeWord = default(string), PropertyMetadata AnchorMatchWholeWordMetadata = default(PropertyMetadata), string AnchorString = default(string), PropertyMetadata AnchorStringMetadata = default(PropertyMetadata), string AnchorTabProcessorVersion = default(string), PropertyMetadata AnchorTabProcessorVersionMetadata = default(PropertyMetadata), string AnchorTabScope = default(string), string AnchorUnits = default(string), PropertyMetadata AnchorUnitsMetadata = default(PropertyMetadata), string AnchorXOffset = default(string), PropertyMetadata AnchorXOffsetMetadata = default(PropertyMetadata), string AnchorYOffset = default(string), PropertyMetadata AnchorYOffsetMetadata = default(PropertyMetadata), string Bold = default(string), PropertyMetadata BoldMetadata = default(PropertyMetadata), string ButtonText = default(string), PropertyMetadata ButtonTextMetadata = default(PropertyMetadata), string Caption = default(string), PropertyMetadata CaptionMetadata = default(PropertyMetadata), string ConditionalParentLabel = default(string), PropertyMetadata ConditionalParentLabelMetadata = default(PropertyMetadata), string ConditionalParentValue = default(string), PropertyMetadata ConditionalParentValueMetadata = default(PropertyMetadata), ConnectedObjectDetails ConnectedObjectDetails = default(ConnectedObjectDetails), string CustomTabId = default(string), PropertyMetadata CustomTabIdMetadata = default(PropertyMetadata), string DocumentId = default(string), PropertyMetadata DocumentIdMetadata = default(PropertyMetadata), ErrorDetails ErrorDetails = default(ErrorDetails), ExtensionData ExtensionData = default(ExtensionData), string Font = default(string), string FontColor = default(string), PropertyMetadata FontColorMetadata = default(PropertyMetadata), PropertyMetadata FontMetadata = default(PropertyMetadata), string FontSize = default(string), PropertyMetadata FontSizeMetadata = default(PropertyMetadata), string FormOrder = default(string), PropertyMetadata FormOrderMetadata = default(PropertyMetadata), string FormPageLabel = default(string), PropertyMetadata FormPageLabelMetadata = default(PropertyMetadata), string FormPageNumber = default(string), PropertyMetadata FormPageNumberMetadata = default(PropertyMetadata), string Height = default(string), PropertyMetadata HeightMetadata = default(PropertyMetadata), string Italic = default(string), PropertyMetadata ItalicMetadata = default(PropertyMetadata), LocalePolicyTab LocalePolicy = default(LocalePolicyTab), MergeField MergeField = default(MergeField), string MergeFieldXml = default(string), string PageNumber = default(string), PropertyMetadata PageNumberMetadata = default(PropertyMetadata), string RecipientId = default(string), string RecipientIdGuid = default(string), PropertyMetadata RecipientIdGuidMetadata = default(PropertyMetadata), PropertyMetadata RecipientIdMetadata = default(PropertyMetadata), SmartContractInformation SmartContractInformation = default(SmartContractInformation), string Source = default(string), string Status = default(string), PropertyMetadata StatusMetadata = default(PropertyMetadata), string TabFullyQualifiedPath = default(string), List TabGroupLabels = default(List), PropertyMetadata TabGroupLabelsMetadata = default(PropertyMetadata), string TabId = default(string), PropertyMetadata TabIdMetadata = default(PropertyMetadata), string TabLabel = default(string), PropertyMetadata TabLabelMetadata = default(PropertyMetadata), string TabOrder = default(string), PropertyMetadata TabOrderMetadata = default(PropertyMetadata), string TabType = default(string), PropertyMetadata TabTypeMetadata = default(PropertyMetadata), string TemplateLocked = default(string), PropertyMetadata TemplateLockedMetadata = default(PropertyMetadata), string TemplateRequired = default(string), PropertyMetadata TemplateRequiredMetadata = default(PropertyMetadata), string Tooltip = default(string), PropertyMetadata ToolTipMetadata = default(PropertyMetadata), string Underline = default(string), PropertyMetadata UnderlineMetadata = default(PropertyMetadata), ErrorDetails WarningDetails = default(ErrorDetails), string Width = default(string), PropertyMetadata WidthMetadata = default(PropertyMetadata), string XPosition = default(string), PropertyMetadata XPositionMetadata = default(PropertyMetadata), string YPosition = default(string), PropertyMetadata YPositionMetadata = default(PropertyMetadata)) { this.AgreementAttribute = AgreementAttribute; this.AgreementAttributeLocked = AgreementAttributeLocked; @@ -147,6 +148,7 @@ public Approve() this.AnchorStringMetadata = AnchorStringMetadata; this.AnchorTabProcessorVersion = AnchorTabProcessorVersion; this.AnchorTabProcessorVersionMetadata = AnchorTabProcessorVersionMetadata; + this.AnchorTabScope = AnchorTabScope; this.AnchorUnits = AnchorUnits; this.AnchorUnitsMetadata = AnchorUnitsMetadata; this.AnchorXOffset = AnchorXOffset; @@ -320,6 +322,11 @@ public Approve() [DataMember(Name="anchorTabProcessorVersionMetadata", EmitDefaultValue=false)] public PropertyMetadata AnchorTabProcessorVersionMetadata { get; set; } /// + /// Gets or Sets AnchorTabScope + /// + [DataMember(Name="anchorTabScope", EmitDefaultValue=false)] + public string AnchorTabScope { get; set; } + /// /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. /// /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. @@ -795,6 +802,7 @@ public override string ToString() sb.Append(" AnchorStringMetadata: ").Append(AnchorStringMetadata).Append("\n"); sb.Append(" AnchorTabProcessorVersion: ").Append(AnchorTabProcessorVersion).Append("\n"); sb.Append(" AnchorTabProcessorVersionMetadata: ").Append(AnchorTabProcessorVersionMetadata).Append("\n"); + sb.Append(" AnchorTabScope: ").Append(AnchorTabScope).Append("\n"); sb.Append(" AnchorUnits: ").Append(AnchorUnits).Append("\n"); sb.Append(" AnchorUnitsMetadata: ").Append(AnchorUnitsMetadata).Append("\n"); sb.Append(" AnchorXOffset: ").Append(AnchorXOffset).Append("\n"); @@ -989,6 +997,11 @@ public bool Equals(Approve other) this.AnchorTabProcessorVersionMetadata != null && this.AnchorTabProcessorVersionMetadata.Equals(other.AnchorTabProcessorVersionMetadata) ) && + ( + this.AnchorTabScope == other.AnchorTabScope || + this.AnchorTabScope != null && + this.AnchorTabScope.Equals(other.AnchorTabScope) + ) && ( this.AnchorUnits == other.AnchorUnits || this.AnchorUnits != null && @@ -1424,6 +1437,8 @@ public override int GetHashCode() hash = hash * 59 + this.AnchorTabProcessorVersion.GetHashCode(); if (this.AnchorTabProcessorVersionMetadata != null) hash = hash * 59 + this.AnchorTabProcessorVersionMetadata.GetHashCode(); + if (this.AnchorTabScope != null) + hash = hash * 59 + this.AnchorTabScope.GetHashCode(); if (this.AnchorUnits != null) hash = hash * 59 + this.AnchorUnits.GetHashCode(); if (this.AnchorUnitsMetadata != null) diff --git a/sdk/src/DocuSign.eSign/Model/BulkSendingCopy.cs b/sdk/src/DocuSign.eSign/Model/BulkSendingCopy.cs index 59cfe9487..9503a67cd 100644 --- a/sdk/src/DocuSign.eSign/Model/BulkSendingCopy.cs +++ b/sdk/src/DocuSign.eSign/Model/BulkSendingCopy.cs @@ -39,13 +39,15 @@ public BulkSendingCopy() /// DocGenFormFields. /// EmailBlurb. /// Specifies the subject of the email that is sent to all recipients. See [ML:Template Email Subject Merge Fields] for information about adding merge field information to the email subject.. + /// PrefillTabs. /// An array of powerform recipients.. - public BulkSendingCopy(List CustomFields = default(List), List DocGenFormFields = default(List), string EmailBlurb = default(string), string EmailSubject = default(string), List Recipients = default(List)) + public BulkSendingCopy(List CustomFields = default(List), List DocGenFormFields = default(List), string EmailBlurb = default(string), string EmailSubject = default(string), List PrefillTabs = default(List), List Recipients = default(List)) { this.CustomFields = CustomFields; this.DocGenFormFields = DocGenFormFields; this.EmailBlurb = EmailBlurb; this.EmailSubject = EmailSubject; + this.PrefillTabs = PrefillTabs; this.Recipients = Recipients; } @@ -72,6 +74,11 @@ public BulkSendingCopy() [DataMember(Name="emailSubject", EmitDefaultValue=false)] public string EmailSubject { get; set; } /// + /// Gets or Sets PrefillTabs + /// + [DataMember(Name="prefillTabs", EmitDefaultValue=false)] + public List PrefillTabs { get; set; } + /// /// An array of powerform recipients. /// /// An array of powerform recipients. @@ -89,6 +96,7 @@ public override string ToString() sb.Append(" DocGenFormFields: ").Append(DocGenFormFields).Append("\n"); sb.Append(" EmailBlurb: ").Append(EmailBlurb).Append("\n"); sb.Append(" EmailSubject: ").Append(EmailSubject).Append("\n"); + sb.Append(" PrefillTabs: ").Append(PrefillTabs).Append("\n"); sb.Append(" Recipients: ").Append(Recipients).Append("\n"); sb.Append("}\n"); return sb.ToString(); @@ -146,6 +154,11 @@ public bool Equals(BulkSendingCopy other) this.EmailSubject != null && this.EmailSubject.Equals(other.EmailSubject) ) && + ( + this.PrefillTabs == other.PrefillTabs || + this.PrefillTabs != null && + this.PrefillTabs.SequenceEqual(other.PrefillTabs) + ) && ( this.Recipients == other.Recipients || this.Recipients != null && @@ -172,6 +185,8 @@ public override int GetHashCode() hash = hash * 59 + this.EmailBlurb.GetHashCode(); if (this.EmailSubject != null) hash = hash * 59 + this.EmailSubject.GetHashCode(); + if (this.PrefillTabs != null) + hash = hash * 59 + this.PrefillTabs.GetHashCode(); if (this.Recipients != null) hash = hash * 59 + this.Recipients.GetHashCode(); return hash; diff --git a/sdk/src/DocuSign.eSign/Model/BulkSendingCopyPrefillTab.cs b/sdk/src/DocuSign.eSign/Model/BulkSendingCopyPrefillTab.cs new file mode 100644 index 000000000..7035f0ce4 --- /dev/null +++ b/sdk/src/DocuSign.eSign/Model/BulkSendingCopyPrefillTab.cs @@ -0,0 +1,140 @@ +/* + * 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 +{ + /// + /// BulkSendingCopyPrefillTab + /// + [DataContract] + public partial class BulkSendingCopyPrefillTab : IEquatable, IValidatableObject + { + public BulkSendingCopyPrefillTab() + { + // Empty Constructor + } + + /// + /// Initializes a new instance of the class. + /// + /// The original value of the tab.. + /// The label string associated with the tab.. + public BulkSendingCopyPrefillTab(string InitialValue = default(string), string TabLabel = default(string)) + { + this.InitialValue = InitialValue; + this.TabLabel = TabLabel; + } + + /// + /// The original value of the tab. + /// + /// The original value of the tab. + [DataMember(Name="initialValue", EmitDefaultValue=false)] + public string InitialValue { get; set; } + /// + /// The label string associated with the tab. + /// + /// The label string associated with the tab. + [DataMember(Name="tabLabel", EmitDefaultValue=false)] + public string TabLabel { get; set; } + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class BulkSendingCopyPrefillTab {\n"); + sb.Append(" InitialValue: ").Append(InitialValue).Append("\n"); + sb.Append(" TabLabel: ").Append(TabLabel).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as BulkSendingCopyPrefillTab); + } + + /// + /// Returns true if BulkSendingCopyPrefillTab instances are equal + /// + /// Instance of BulkSendingCopyPrefillTab to be compared + /// Boolean + public bool Equals(BulkSendingCopyPrefillTab other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.InitialValue == other.InitialValue || + this.InitialValue != null && + this.InitialValue.Equals(other.InitialValue) + ) && + ( + this.TabLabel == other.TabLabel || + this.TabLabel != null && + this.TabLabel.Equals(other.TabLabel) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + 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.InitialValue != null) + hash = hash * 59 + this.InitialValue.GetHashCode(); + if (this.TabLabel != null) + hash = hash * 59 + this.TabLabel.GetHashCode(); + return hash; + } + } + + public IEnumerable Validate(ValidationContext validationContext) + { + yield break; + } + } +} diff --git a/sdk/src/DocuSign.eSign/Model/Checkbox.cs b/sdk/src/DocuSign.eSign/Model/Checkbox.cs index 7ce139f10..c4e09c22f 100644 --- a/sdk/src/DocuSign.eSign/Model/Checkbox.cs +++ b/sdk/src/DocuSign.eSign/Model/Checkbox.cs @@ -51,6 +51,7 @@ public Checkbox() /// Metadata that indicates whether the `anchorString` property is editable.. /// AnchorTabProcessorVersion. /// Reserved for DocuSign.. + /// AnchorTabScope. /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.. /// Metadata that indicates whether the `anchorUnits` property is editable.. /// Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.. @@ -142,7 +143,7 @@ public Checkbox() /// Metadata that indicates whether the `xPosition` property is editable.. /// This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.. /// Metadata that indicates whether the `yPosition` property is editable.. - public Checkbox(string AgreementAttribute = default(string), string AgreementAttributeLocked = default(string), string AnchorAllowWhiteSpaceInCharacters = default(string), PropertyMetadata AnchorAllowWhiteSpaceInCharactersMetadata = default(PropertyMetadata), string AnchorCaseSensitive = default(string), PropertyMetadata AnchorCaseSensitiveMetadata = default(PropertyMetadata), string AnchorHorizontalAlignment = default(string), PropertyMetadata AnchorHorizontalAlignmentMetadata = default(PropertyMetadata), string AnchorIgnoreIfNotPresent = default(string), PropertyMetadata AnchorIgnoreIfNotPresentMetadata = default(PropertyMetadata), string AnchorMatchWholeWord = default(string), PropertyMetadata AnchorMatchWholeWordMetadata = default(PropertyMetadata), string AnchorString = default(string), PropertyMetadata AnchorStringMetadata = default(PropertyMetadata), string AnchorTabProcessorVersion = default(string), PropertyMetadata AnchorTabProcessorVersionMetadata = default(PropertyMetadata), string AnchorUnits = default(string), PropertyMetadata AnchorUnitsMetadata = default(PropertyMetadata), string AnchorXOffset = default(string), PropertyMetadata AnchorXOffsetMetadata = default(PropertyMetadata), string AnchorYOffset = default(string), PropertyMetadata AnchorYOffsetMetadata = default(PropertyMetadata), string Bold = default(string), PropertyMetadata BoldMetadata = default(PropertyMetadata), string Caption = default(string), PropertyMetadata CaptionMetadata = default(PropertyMetadata), string ConditionalParentLabel = default(string), PropertyMetadata ConditionalParentLabelMetadata = default(PropertyMetadata), string ConditionalParentValue = default(string), PropertyMetadata ConditionalParentValueMetadata = default(PropertyMetadata), ConnectedObjectDetails ConnectedObjectDetails = default(ConnectedObjectDetails), string CustomTabId = default(string), PropertyMetadata CustomTabIdMetadata = default(PropertyMetadata), string DocumentId = default(string), PropertyMetadata DocumentIdMetadata = default(PropertyMetadata), ErrorDetails ErrorDetails = default(ErrorDetails), ExtensionData ExtensionData = default(ExtensionData), string Font = default(string), string FontColor = default(string), PropertyMetadata FontColorMetadata = default(PropertyMetadata), PropertyMetadata FontMetadata = default(PropertyMetadata), string FontSize = default(string), PropertyMetadata FontSizeMetadata = default(PropertyMetadata), string FormOrder = default(string), PropertyMetadata FormOrderMetadata = default(PropertyMetadata), string FormPageLabel = default(string), PropertyMetadata FormPageLabelMetadata = default(PropertyMetadata), string FormPageNumber = default(string), PropertyMetadata FormPageNumberMetadata = default(PropertyMetadata), string Height = default(string), PropertyMetadata HeightMetadata = default(PropertyMetadata), string Italic = default(string), PropertyMetadata ItalicMetadata = default(PropertyMetadata), string Locked = default(string), PropertyMetadata LockedMetadata = default(PropertyMetadata), MergeField MergeField = default(MergeField), string MergeFieldXml = default(string), string Name = default(string), PropertyMetadata NameMetadata = default(PropertyMetadata), string PageNumber = default(string), PropertyMetadata PageNumberMetadata = default(PropertyMetadata), string RecipientId = default(string), string RecipientIdGuid = default(string), PropertyMetadata RecipientIdGuidMetadata = default(PropertyMetadata), PropertyMetadata RecipientIdMetadata = default(PropertyMetadata), string Required = default(string), PropertyMetadata RequiredMetadata = default(PropertyMetadata), string RequireInitialOnSharedChange = default(string), PropertyMetadata RequireInitialOnSharedChangeMetadata = default(PropertyMetadata), string Selected = default(string), PropertyMetadata SelectedMetadata = default(PropertyMetadata), string SelectedOriginal = default(string), PropertyMetadata SelectedOriginalMetadata = default(PropertyMetadata), string Shared = default(string), PropertyMetadata SharedMetadata = default(PropertyMetadata), string ShareToRecipients = default(string), PropertyMetadata ShareToRecipientsMetadata = default(PropertyMetadata), SmartContractInformation SmartContractInformation = default(SmartContractInformation), string Source = default(string), string Status = default(string), PropertyMetadata StatusMetadata = default(PropertyMetadata), string TabFullyQualifiedPath = default(string), List TabGroupLabels = default(List), PropertyMetadata TabGroupLabelsMetadata = default(PropertyMetadata), string TabId = default(string), PropertyMetadata TabIdMetadata = default(PropertyMetadata), string TabLabel = default(string), PropertyMetadata TabLabelMetadata = default(PropertyMetadata), string TabOrder = default(string), PropertyMetadata TabOrderMetadata = default(PropertyMetadata), string TabType = default(string), PropertyMetadata TabTypeMetadata = default(PropertyMetadata), string TemplateLocked = default(string), PropertyMetadata TemplateLockedMetadata = default(PropertyMetadata), string TemplateRequired = default(string), PropertyMetadata TemplateRequiredMetadata = default(PropertyMetadata), string Tooltip = default(string), PropertyMetadata ToolTipMetadata = default(PropertyMetadata), string Underline = default(string), PropertyMetadata UnderlineMetadata = default(PropertyMetadata), ErrorDetails WarningDetails = default(ErrorDetails), string Width = default(string), PropertyMetadata WidthMetadata = default(PropertyMetadata), string XPosition = default(string), PropertyMetadata XPositionMetadata = default(PropertyMetadata), string YPosition = default(string), PropertyMetadata YPositionMetadata = default(PropertyMetadata)) + public Checkbox(string AgreementAttribute = default(string), string AgreementAttributeLocked = default(string), string AnchorAllowWhiteSpaceInCharacters = default(string), PropertyMetadata AnchorAllowWhiteSpaceInCharactersMetadata = default(PropertyMetadata), string AnchorCaseSensitive = default(string), PropertyMetadata AnchorCaseSensitiveMetadata = default(PropertyMetadata), string AnchorHorizontalAlignment = default(string), PropertyMetadata AnchorHorizontalAlignmentMetadata = default(PropertyMetadata), string AnchorIgnoreIfNotPresent = default(string), PropertyMetadata AnchorIgnoreIfNotPresentMetadata = default(PropertyMetadata), string AnchorMatchWholeWord = default(string), PropertyMetadata AnchorMatchWholeWordMetadata = default(PropertyMetadata), string AnchorString = default(string), PropertyMetadata AnchorStringMetadata = default(PropertyMetadata), string AnchorTabProcessorVersion = default(string), PropertyMetadata AnchorTabProcessorVersionMetadata = default(PropertyMetadata), string AnchorTabScope = default(string), string AnchorUnits = default(string), PropertyMetadata AnchorUnitsMetadata = default(PropertyMetadata), string AnchorXOffset = default(string), PropertyMetadata AnchorXOffsetMetadata = default(PropertyMetadata), string AnchorYOffset = default(string), PropertyMetadata AnchorYOffsetMetadata = default(PropertyMetadata), string Bold = default(string), PropertyMetadata BoldMetadata = default(PropertyMetadata), string Caption = default(string), PropertyMetadata CaptionMetadata = default(PropertyMetadata), string ConditionalParentLabel = default(string), PropertyMetadata ConditionalParentLabelMetadata = default(PropertyMetadata), string ConditionalParentValue = default(string), PropertyMetadata ConditionalParentValueMetadata = default(PropertyMetadata), ConnectedObjectDetails ConnectedObjectDetails = default(ConnectedObjectDetails), string CustomTabId = default(string), PropertyMetadata CustomTabIdMetadata = default(PropertyMetadata), string DocumentId = default(string), PropertyMetadata DocumentIdMetadata = default(PropertyMetadata), ErrorDetails ErrorDetails = default(ErrorDetails), ExtensionData ExtensionData = default(ExtensionData), string Font = default(string), string FontColor = default(string), PropertyMetadata FontColorMetadata = default(PropertyMetadata), PropertyMetadata FontMetadata = default(PropertyMetadata), string FontSize = default(string), PropertyMetadata FontSizeMetadata = default(PropertyMetadata), string FormOrder = default(string), PropertyMetadata FormOrderMetadata = default(PropertyMetadata), string FormPageLabel = default(string), PropertyMetadata FormPageLabelMetadata = default(PropertyMetadata), string FormPageNumber = default(string), PropertyMetadata FormPageNumberMetadata = default(PropertyMetadata), string Height = default(string), PropertyMetadata HeightMetadata = default(PropertyMetadata), string Italic = default(string), PropertyMetadata ItalicMetadata = default(PropertyMetadata), string Locked = default(string), PropertyMetadata LockedMetadata = default(PropertyMetadata), MergeField MergeField = default(MergeField), string MergeFieldXml = default(string), string Name = default(string), PropertyMetadata NameMetadata = default(PropertyMetadata), string PageNumber = default(string), PropertyMetadata PageNumberMetadata = default(PropertyMetadata), string RecipientId = default(string), string RecipientIdGuid = default(string), PropertyMetadata RecipientIdGuidMetadata = default(PropertyMetadata), PropertyMetadata RecipientIdMetadata = default(PropertyMetadata), string Required = default(string), PropertyMetadata RequiredMetadata = default(PropertyMetadata), string RequireInitialOnSharedChange = default(string), PropertyMetadata RequireInitialOnSharedChangeMetadata = default(PropertyMetadata), string Selected = default(string), PropertyMetadata SelectedMetadata = default(PropertyMetadata), string SelectedOriginal = default(string), PropertyMetadata SelectedOriginalMetadata = default(PropertyMetadata), string Shared = default(string), PropertyMetadata SharedMetadata = default(PropertyMetadata), string ShareToRecipients = default(string), PropertyMetadata ShareToRecipientsMetadata = default(PropertyMetadata), SmartContractInformation SmartContractInformation = default(SmartContractInformation), string Source = default(string), string Status = default(string), PropertyMetadata StatusMetadata = default(PropertyMetadata), string TabFullyQualifiedPath = default(string), List TabGroupLabels = default(List), PropertyMetadata TabGroupLabelsMetadata = default(PropertyMetadata), string TabId = default(string), PropertyMetadata TabIdMetadata = default(PropertyMetadata), string TabLabel = default(string), PropertyMetadata TabLabelMetadata = default(PropertyMetadata), string TabOrder = default(string), PropertyMetadata TabOrderMetadata = default(PropertyMetadata), string TabType = default(string), PropertyMetadata TabTypeMetadata = default(PropertyMetadata), string TemplateLocked = default(string), PropertyMetadata TemplateLockedMetadata = default(PropertyMetadata), string TemplateRequired = default(string), PropertyMetadata TemplateRequiredMetadata = default(PropertyMetadata), string Tooltip = default(string), PropertyMetadata ToolTipMetadata = default(PropertyMetadata), string Underline = default(string), PropertyMetadata UnderlineMetadata = default(PropertyMetadata), ErrorDetails WarningDetails = default(ErrorDetails), string Width = default(string), PropertyMetadata WidthMetadata = default(PropertyMetadata), string XPosition = default(string), PropertyMetadata XPositionMetadata = default(PropertyMetadata), string YPosition = default(string), PropertyMetadata YPositionMetadata = default(PropertyMetadata)) { this.AgreementAttribute = AgreementAttribute; this.AgreementAttributeLocked = AgreementAttributeLocked; @@ -160,6 +161,7 @@ public Checkbox() this.AnchorStringMetadata = AnchorStringMetadata; this.AnchorTabProcessorVersion = AnchorTabProcessorVersion; this.AnchorTabProcessorVersionMetadata = AnchorTabProcessorVersionMetadata; + this.AnchorTabScope = AnchorTabScope; this.AnchorUnits = AnchorUnits; this.AnchorUnitsMetadata = AnchorUnitsMetadata; this.AnchorXOffset = AnchorXOffset; @@ -346,6 +348,11 @@ public Checkbox() [DataMember(Name="anchorTabProcessorVersionMetadata", EmitDefaultValue=false)] public PropertyMetadata AnchorTabProcessorVersionMetadata { get; set; } /// + /// Gets or Sets AnchorTabScope + /// + [DataMember(Name="anchorTabScope", EmitDefaultValue=false)] + public string AnchorTabScope { get; set; } + /// /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. /// /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. @@ -896,6 +903,7 @@ public override string ToString() sb.Append(" AnchorStringMetadata: ").Append(AnchorStringMetadata).Append("\n"); sb.Append(" AnchorTabProcessorVersion: ").Append(AnchorTabProcessorVersion).Append("\n"); sb.Append(" AnchorTabProcessorVersionMetadata: ").Append(AnchorTabProcessorVersionMetadata).Append("\n"); + sb.Append(" AnchorTabScope: ").Append(AnchorTabScope).Append("\n"); sb.Append(" AnchorUnits: ").Append(AnchorUnits).Append("\n"); sb.Append(" AnchorUnitsMetadata: ").Append(AnchorUnitsMetadata).Append("\n"); sb.Append(" AnchorXOffset: ").Append(AnchorXOffset).Append("\n"); @@ -1103,6 +1111,11 @@ public bool Equals(Checkbox other) this.AnchorTabProcessorVersionMetadata != null && this.AnchorTabProcessorVersionMetadata.Equals(other.AnchorTabProcessorVersionMetadata) ) && + ( + this.AnchorTabScope == other.AnchorTabScope || + this.AnchorTabScope != null && + this.AnchorTabScope.Equals(other.AnchorTabScope) + ) && ( this.AnchorUnits == other.AnchorUnits || this.AnchorUnits != null && @@ -1603,6 +1616,8 @@ public override int GetHashCode() hash = hash * 59 + this.AnchorTabProcessorVersion.GetHashCode(); if (this.AnchorTabProcessorVersionMetadata != null) hash = hash * 59 + this.AnchorTabProcessorVersionMetadata.GetHashCode(); + if (this.AnchorTabScope != null) + hash = hash * 59 + this.AnchorTabScope.GetHashCode(); if (this.AnchorUnits != null) hash = hash * 59 + this.AnchorUnits.GetHashCode(); if (this.AnchorUnitsMetadata != null) diff --git a/sdk/src/DocuSign.eSign/Model/CommentThread.cs b/sdk/src/DocuSign.eSign/Model/CommentThread.cs index d57748bc9..f819283c0 100644 --- a/sdk/src/DocuSign.eSign/Model/CommentThread.cs +++ b/sdk/src/DocuSign.eSign/Model/CommentThread.cs @@ -51,6 +51,7 @@ public CommentThread() /// Metadata that indicates whether the `anchorString` property is editable.. /// AnchorTabProcessorVersion. /// Reserved for DocuSign.. + /// AnchorTabScope. /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.. /// Metadata that indicates whether the `anchorUnits` property is editable.. /// Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.. @@ -129,7 +130,7 @@ public CommentThread() /// Metadata that indicates whether the `xPosition` property is editable.. /// This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.. /// Metadata that indicates whether the `yPosition` property is editable.. - public CommentThread(string AgreementAttribute = default(string), string AgreementAttributeLocked = default(string), string AnchorAllowWhiteSpaceInCharacters = default(string), PropertyMetadata AnchorAllowWhiteSpaceInCharactersMetadata = default(PropertyMetadata), string AnchorCaseSensitive = default(string), PropertyMetadata AnchorCaseSensitiveMetadata = default(PropertyMetadata), string AnchorHorizontalAlignment = default(string), PropertyMetadata AnchorHorizontalAlignmentMetadata = default(PropertyMetadata), string AnchorIgnoreIfNotPresent = default(string), PropertyMetadata AnchorIgnoreIfNotPresentMetadata = default(PropertyMetadata), string AnchorMatchWholeWord = default(string), PropertyMetadata AnchorMatchWholeWordMetadata = default(PropertyMetadata), string AnchorString = default(string), PropertyMetadata AnchorStringMetadata = default(PropertyMetadata), string AnchorTabProcessorVersion = default(string), PropertyMetadata AnchorTabProcessorVersionMetadata = default(PropertyMetadata), string AnchorUnits = default(string), PropertyMetadata AnchorUnitsMetadata = default(PropertyMetadata), string AnchorXOffset = default(string), PropertyMetadata AnchorXOffsetMetadata = default(PropertyMetadata), string AnchorYOffset = default(string), PropertyMetadata AnchorYOffsetMetadata = default(PropertyMetadata), string Bold = default(string), PropertyMetadata BoldMetadata = default(PropertyMetadata), string Caption = default(string), PropertyMetadata CaptionMetadata = default(PropertyMetadata), List Comments = default(List), string ConditionalParentLabel = default(string), PropertyMetadata ConditionalParentLabelMetadata = default(PropertyMetadata), string ConditionalParentValue = default(string), PropertyMetadata ConditionalParentValueMetadata = default(PropertyMetadata), ConnectedObjectDetails ConnectedObjectDetails = default(ConnectedObjectDetails), string CustomTabId = default(string), PropertyMetadata CustomTabIdMetadata = default(PropertyMetadata), string DocumentId = default(string), PropertyMetadata DocumentIdMetadata = default(PropertyMetadata), ErrorDetails ErrorDetails = default(ErrorDetails), ExtensionData ExtensionData = default(ExtensionData), string Font = default(string), string FontColor = default(string), PropertyMetadata FontColorMetadata = default(PropertyMetadata), PropertyMetadata FontMetadata = default(PropertyMetadata), string FontSize = default(string), PropertyMetadata FontSizeMetadata = default(PropertyMetadata), string FormOrder = default(string), PropertyMetadata FormOrderMetadata = default(PropertyMetadata), string FormPageLabel = default(string), PropertyMetadata FormPageLabelMetadata = default(PropertyMetadata), string FormPageNumber = default(string), PropertyMetadata FormPageNumberMetadata = default(PropertyMetadata), string Height = default(string), PropertyMetadata HeightMetadata = default(PropertyMetadata), string Italic = default(string), PropertyMetadata ItalicMetadata = default(PropertyMetadata), LocalePolicyTab LocalePolicy = default(LocalePolicyTab), MergeField MergeField = default(MergeField), string MergeFieldXml = default(string), string PageNumber = default(string), PropertyMetadata PageNumberMetadata = default(PropertyMetadata), string RecipientId = default(string), string RecipientIdGuid = default(string), PropertyMetadata RecipientIdGuidMetadata = default(PropertyMetadata), PropertyMetadata RecipientIdMetadata = default(PropertyMetadata), SmartContractInformation SmartContractInformation = default(SmartContractInformation), string Source = default(string), string Status = default(string), PropertyMetadata StatusMetadata = default(PropertyMetadata), string TabFullyQualifiedPath = default(string), List TabGroupLabels = default(List), PropertyMetadata TabGroupLabelsMetadata = default(PropertyMetadata), string TabId = default(string), PropertyMetadata TabIdMetadata = default(PropertyMetadata), string TabLabel = default(string), PropertyMetadata TabLabelMetadata = default(PropertyMetadata), string TabOrder = default(string), PropertyMetadata TabOrderMetadata = default(PropertyMetadata), string TabType = default(string), PropertyMetadata TabTypeMetadata = default(PropertyMetadata), string TemplateLocked = default(string), PropertyMetadata TemplateLockedMetadata = default(PropertyMetadata), string TemplateRequired = default(string), PropertyMetadata TemplateRequiredMetadata = default(PropertyMetadata), string ThreadId = default(string), string Tooltip = default(string), PropertyMetadata ToolTipMetadata = default(PropertyMetadata), string Underline = default(string), PropertyMetadata UnderlineMetadata = default(PropertyMetadata), ErrorDetails WarningDetails = default(ErrorDetails), string Width = default(string), PropertyMetadata WidthMetadata = default(PropertyMetadata), string XPosition = default(string), PropertyMetadata XPositionMetadata = default(PropertyMetadata), string YPosition = default(string), PropertyMetadata YPositionMetadata = default(PropertyMetadata)) + public CommentThread(string AgreementAttribute = default(string), string AgreementAttributeLocked = default(string), string AnchorAllowWhiteSpaceInCharacters = default(string), PropertyMetadata AnchorAllowWhiteSpaceInCharactersMetadata = default(PropertyMetadata), string AnchorCaseSensitive = default(string), PropertyMetadata AnchorCaseSensitiveMetadata = default(PropertyMetadata), string AnchorHorizontalAlignment = default(string), PropertyMetadata AnchorHorizontalAlignmentMetadata = default(PropertyMetadata), string AnchorIgnoreIfNotPresent = default(string), PropertyMetadata AnchorIgnoreIfNotPresentMetadata = default(PropertyMetadata), string AnchorMatchWholeWord = default(string), PropertyMetadata AnchorMatchWholeWordMetadata = default(PropertyMetadata), string AnchorString = default(string), PropertyMetadata AnchorStringMetadata = default(PropertyMetadata), string AnchorTabProcessorVersion = default(string), PropertyMetadata AnchorTabProcessorVersionMetadata = default(PropertyMetadata), string AnchorTabScope = default(string), string AnchorUnits = default(string), PropertyMetadata AnchorUnitsMetadata = default(PropertyMetadata), string AnchorXOffset = default(string), PropertyMetadata AnchorXOffsetMetadata = default(PropertyMetadata), string AnchorYOffset = default(string), PropertyMetadata AnchorYOffsetMetadata = default(PropertyMetadata), string Bold = default(string), PropertyMetadata BoldMetadata = default(PropertyMetadata), string Caption = default(string), PropertyMetadata CaptionMetadata = default(PropertyMetadata), List Comments = default(List), string ConditionalParentLabel = default(string), PropertyMetadata ConditionalParentLabelMetadata = default(PropertyMetadata), string ConditionalParentValue = default(string), PropertyMetadata ConditionalParentValueMetadata = default(PropertyMetadata), ConnectedObjectDetails ConnectedObjectDetails = default(ConnectedObjectDetails), string CustomTabId = default(string), PropertyMetadata CustomTabIdMetadata = default(PropertyMetadata), string DocumentId = default(string), PropertyMetadata DocumentIdMetadata = default(PropertyMetadata), ErrorDetails ErrorDetails = default(ErrorDetails), ExtensionData ExtensionData = default(ExtensionData), string Font = default(string), string FontColor = default(string), PropertyMetadata FontColorMetadata = default(PropertyMetadata), PropertyMetadata FontMetadata = default(PropertyMetadata), string FontSize = default(string), PropertyMetadata FontSizeMetadata = default(PropertyMetadata), string FormOrder = default(string), PropertyMetadata FormOrderMetadata = default(PropertyMetadata), string FormPageLabel = default(string), PropertyMetadata FormPageLabelMetadata = default(PropertyMetadata), string FormPageNumber = default(string), PropertyMetadata FormPageNumberMetadata = default(PropertyMetadata), string Height = default(string), PropertyMetadata HeightMetadata = default(PropertyMetadata), string Italic = default(string), PropertyMetadata ItalicMetadata = default(PropertyMetadata), LocalePolicyTab LocalePolicy = default(LocalePolicyTab), MergeField MergeField = default(MergeField), string MergeFieldXml = default(string), string PageNumber = default(string), PropertyMetadata PageNumberMetadata = default(PropertyMetadata), string RecipientId = default(string), string RecipientIdGuid = default(string), PropertyMetadata RecipientIdGuidMetadata = default(PropertyMetadata), PropertyMetadata RecipientIdMetadata = default(PropertyMetadata), SmartContractInformation SmartContractInformation = default(SmartContractInformation), string Source = default(string), string Status = default(string), PropertyMetadata StatusMetadata = default(PropertyMetadata), string TabFullyQualifiedPath = default(string), List TabGroupLabels = default(List), PropertyMetadata TabGroupLabelsMetadata = default(PropertyMetadata), string TabId = default(string), PropertyMetadata TabIdMetadata = default(PropertyMetadata), string TabLabel = default(string), PropertyMetadata TabLabelMetadata = default(PropertyMetadata), string TabOrder = default(string), PropertyMetadata TabOrderMetadata = default(PropertyMetadata), string TabType = default(string), PropertyMetadata TabTypeMetadata = default(PropertyMetadata), string TemplateLocked = default(string), PropertyMetadata TemplateLockedMetadata = default(PropertyMetadata), string TemplateRequired = default(string), PropertyMetadata TemplateRequiredMetadata = default(PropertyMetadata), string ThreadId = default(string), string Tooltip = default(string), PropertyMetadata ToolTipMetadata = default(PropertyMetadata), string Underline = default(string), PropertyMetadata UnderlineMetadata = default(PropertyMetadata), ErrorDetails WarningDetails = default(ErrorDetails), string Width = default(string), PropertyMetadata WidthMetadata = default(PropertyMetadata), string XPosition = default(string), PropertyMetadata XPositionMetadata = default(PropertyMetadata), string YPosition = default(string), PropertyMetadata YPositionMetadata = default(PropertyMetadata)) { this.AgreementAttribute = AgreementAttribute; this.AgreementAttributeLocked = AgreementAttributeLocked; @@ -147,6 +148,7 @@ public CommentThread() this.AnchorStringMetadata = AnchorStringMetadata; this.AnchorTabProcessorVersion = AnchorTabProcessorVersion; this.AnchorTabProcessorVersionMetadata = AnchorTabProcessorVersionMetadata; + this.AnchorTabScope = AnchorTabScope; this.AnchorUnits = AnchorUnits; this.AnchorUnitsMetadata = AnchorUnitsMetadata; this.AnchorXOffset = AnchorXOffset; @@ -320,6 +322,11 @@ public CommentThread() [DataMember(Name="anchorTabProcessorVersionMetadata", EmitDefaultValue=false)] public PropertyMetadata AnchorTabProcessorVersionMetadata { get; set; } /// + /// Gets or Sets AnchorTabScope + /// + [DataMember(Name="anchorTabScope", EmitDefaultValue=false)] + public string AnchorTabScope { get; set; } + /// /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. /// /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. @@ -793,6 +800,7 @@ public override string ToString() sb.Append(" AnchorStringMetadata: ").Append(AnchorStringMetadata).Append("\n"); sb.Append(" AnchorTabProcessorVersion: ").Append(AnchorTabProcessorVersion).Append("\n"); sb.Append(" AnchorTabProcessorVersionMetadata: ").Append(AnchorTabProcessorVersionMetadata).Append("\n"); + sb.Append(" AnchorTabScope: ").Append(AnchorTabScope).Append("\n"); sb.Append(" AnchorUnits: ").Append(AnchorUnits).Append("\n"); sb.Append(" AnchorUnitsMetadata: ").Append(AnchorUnitsMetadata).Append("\n"); sb.Append(" AnchorXOffset: ").Append(AnchorXOffset).Append("\n"); @@ -987,6 +995,11 @@ public bool Equals(CommentThread other) this.AnchorTabProcessorVersionMetadata != null && this.AnchorTabProcessorVersionMetadata.Equals(other.AnchorTabProcessorVersionMetadata) ) && + ( + this.AnchorTabScope == other.AnchorTabScope || + this.AnchorTabScope != null && + this.AnchorTabScope.Equals(other.AnchorTabScope) + ) && ( this.AnchorUnits == other.AnchorUnits || this.AnchorUnits != null && @@ -1422,6 +1435,8 @@ public override int GetHashCode() hash = hash * 59 + this.AnchorTabProcessorVersion.GetHashCode(); if (this.AnchorTabProcessorVersionMetadata != null) hash = hash * 59 + this.AnchorTabProcessorVersionMetadata.GetHashCode(); + if (this.AnchorTabScope != null) + hash = hash * 59 + this.AnchorTabScope.GetHashCode(); if (this.AnchorUnits != null) hash = hash * 59 + this.AnchorUnits.GetHashCode(); if (this.AnchorUnitsMetadata != null) diff --git a/sdk/src/DocuSign.eSign/Model/CommissionCounty.cs b/sdk/src/DocuSign.eSign/Model/CommissionCounty.cs index b73a82b0c..ef543beab 100644 --- a/sdk/src/DocuSign.eSign/Model/CommissionCounty.cs +++ b/sdk/src/DocuSign.eSign/Model/CommissionCounty.cs @@ -51,6 +51,7 @@ public CommissionCounty() /// Metadata that indicates whether the `anchorString` property is editable.. /// AnchorTabProcessorVersion. /// Reserved for DocuSign.. + /// AnchorTabScope. /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.. /// Metadata that indicates whether the `anchorUnits` property is editable.. /// Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.. @@ -143,7 +144,7 @@ public CommissionCounty() /// Metadata that indicates whether the `xPosition` property is editable.. /// This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.. /// Metadata that indicates whether the `yPosition` property is editable.. - public CommissionCounty(string AgreementAttribute = default(string), string AgreementAttributeLocked = default(string), string AnchorAllowWhiteSpaceInCharacters = default(string), PropertyMetadata AnchorAllowWhiteSpaceInCharactersMetadata = default(PropertyMetadata), string AnchorCaseSensitive = default(string), PropertyMetadata AnchorCaseSensitiveMetadata = default(PropertyMetadata), string AnchorHorizontalAlignment = default(string), PropertyMetadata AnchorHorizontalAlignmentMetadata = default(PropertyMetadata), string AnchorIgnoreIfNotPresent = default(string), PropertyMetadata AnchorIgnoreIfNotPresentMetadata = default(PropertyMetadata), string AnchorMatchWholeWord = default(string), PropertyMetadata AnchorMatchWholeWordMetadata = default(PropertyMetadata), string AnchorString = default(string), PropertyMetadata AnchorStringMetadata = default(PropertyMetadata), string AnchorTabProcessorVersion = default(string), PropertyMetadata AnchorTabProcessorVersionMetadata = default(PropertyMetadata), string AnchorUnits = default(string), PropertyMetadata AnchorUnitsMetadata = default(PropertyMetadata), string AnchorXOffset = default(string), PropertyMetadata AnchorXOffsetMetadata = default(PropertyMetadata), string AnchorYOffset = default(string), PropertyMetadata AnchorYOffsetMetadata = default(PropertyMetadata), string Bold = default(string), PropertyMetadata BoldMetadata = default(PropertyMetadata), string Caption = default(string), PropertyMetadata CaptionMetadata = default(PropertyMetadata), string ConcealValueOnDocument = default(string), PropertyMetadata ConcealValueOnDocumentMetadata = default(PropertyMetadata), string ConditionalParentLabel = default(string), PropertyMetadata ConditionalParentLabelMetadata = default(PropertyMetadata), string ConditionalParentValue = default(string), PropertyMetadata ConditionalParentValueMetadata = default(PropertyMetadata), ConnectedObjectDetails ConnectedObjectDetails = default(ConnectedObjectDetails), string CustomTabId = default(string), PropertyMetadata CustomTabIdMetadata = default(PropertyMetadata), string DisableAutoSize = default(string), PropertyMetadata DisableAutoSizeMetadata = default(PropertyMetadata), string DocumentId = default(string), PropertyMetadata DocumentIdMetadata = default(PropertyMetadata), ErrorDetails ErrorDetails = default(ErrorDetails), ExtensionData ExtensionData = default(ExtensionData), string Font = default(string), string FontColor = default(string), PropertyMetadata FontColorMetadata = default(PropertyMetadata), PropertyMetadata FontMetadata = default(PropertyMetadata), string FontSize = default(string), PropertyMetadata FontSizeMetadata = default(PropertyMetadata), string FormOrder = default(string), PropertyMetadata FormOrderMetadata = default(PropertyMetadata), string FormPageLabel = default(string), PropertyMetadata FormPageLabelMetadata = default(PropertyMetadata), string FormPageNumber = default(string), PropertyMetadata FormPageNumberMetadata = default(PropertyMetadata), string Height = default(string), PropertyMetadata HeightMetadata = default(PropertyMetadata), string Italic = default(string), PropertyMetadata ItalicMetadata = default(PropertyMetadata), LocalePolicyTab LocalePolicy = default(LocalePolicyTab), string Locked = default(string), PropertyMetadata LockedMetadata = default(PropertyMetadata), string MaxLength = default(string), PropertyMetadata MaxLengthMetadata = default(PropertyMetadata), MergeField MergeField = default(MergeField), string MergeFieldXml = default(string), string Name = default(string), PropertyMetadata NameMetadata = default(PropertyMetadata), string OriginalValue = default(string), PropertyMetadata OriginalValueMetadata = default(PropertyMetadata), string PageNumber = default(string), PropertyMetadata PageNumberMetadata = default(PropertyMetadata), string RecipientId = default(string), string RecipientIdGuid = default(string), PropertyMetadata RecipientIdGuidMetadata = default(PropertyMetadata), PropertyMetadata RecipientIdMetadata = default(PropertyMetadata), string Required = default(string), PropertyMetadata RequiredMetadata = default(PropertyMetadata), SmartContractInformation SmartContractInformation = default(SmartContractInformation), string Source = default(string), string Status = default(string), PropertyMetadata StatusMetadata = default(PropertyMetadata), string TabFullyQualifiedPath = default(string), List TabGroupLabels = default(List), PropertyMetadata TabGroupLabelsMetadata = default(PropertyMetadata), string TabId = default(string), PropertyMetadata TabIdMetadata = default(PropertyMetadata), string TabLabel = default(string), PropertyMetadata TabLabelMetadata = default(PropertyMetadata), string TabOrder = default(string), PropertyMetadata TabOrderMetadata = default(PropertyMetadata), string TabType = default(string), PropertyMetadata TabTypeMetadata = default(PropertyMetadata), string TemplateLocked = default(string), PropertyMetadata TemplateLockedMetadata = default(PropertyMetadata), string TemplateRequired = default(string), PropertyMetadata TemplateRequiredMetadata = default(PropertyMetadata), string Tooltip = default(string), PropertyMetadata ToolTipMetadata = default(PropertyMetadata), string Underline = default(string), PropertyMetadata UnderlineMetadata = default(PropertyMetadata), string Value = default(string), PropertyMetadata ValueMetadata = default(PropertyMetadata), ErrorDetails WarningDetails = default(ErrorDetails), string Width = default(string), PropertyMetadata WidthMetadata = default(PropertyMetadata), string XPosition = default(string), PropertyMetadata XPositionMetadata = default(PropertyMetadata), string YPosition = default(string), PropertyMetadata YPositionMetadata = default(PropertyMetadata)) + public CommissionCounty(string AgreementAttribute = default(string), string AgreementAttributeLocked = default(string), string AnchorAllowWhiteSpaceInCharacters = default(string), PropertyMetadata AnchorAllowWhiteSpaceInCharactersMetadata = default(PropertyMetadata), string AnchorCaseSensitive = default(string), PropertyMetadata AnchorCaseSensitiveMetadata = default(PropertyMetadata), string AnchorHorizontalAlignment = default(string), PropertyMetadata AnchorHorizontalAlignmentMetadata = default(PropertyMetadata), string AnchorIgnoreIfNotPresent = default(string), PropertyMetadata AnchorIgnoreIfNotPresentMetadata = default(PropertyMetadata), string AnchorMatchWholeWord = default(string), PropertyMetadata AnchorMatchWholeWordMetadata = default(PropertyMetadata), string AnchorString = default(string), PropertyMetadata AnchorStringMetadata = default(PropertyMetadata), string AnchorTabProcessorVersion = default(string), PropertyMetadata AnchorTabProcessorVersionMetadata = default(PropertyMetadata), string AnchorTabScope = default(string), string AnchorUnits = default(string), PropertyMetadata AnchorUnitsMetadata = default(PropertyMetadata), string AnchorXOffset = default(string), PropertyMetadata AnchorXOffsetMetadata = default(PropertyMetadata), string AnchorYOffset = default(string), PropertyMetadata AnchorYOffsetMetadata = default(PropertyMetadata), string Bold = default(string), PropertyMetadata BoldMetadata = default(PropertyMetadata), string Caption = default(string), PropertyMetadata CaptionMetadata = default(PropertyMetadata), string ConcealValueOnDocument = default(string), PropertyMetadata ConcealValueOnDocumentMetadata = default(PropertyMetadata), string ConditionalParentLabel = default(string), PropertyMetadata ConditionalParentLabelMetadata = default(PropertyMetadata), string ConditionalParentValue = default(string), PropertyMetadata ConditionalParentValueMetadata = default(PropertyMetadata), ConnectedObjectDetails ConnectedObjectDetails = default(ConnectedObjectDetails), string CustomTabId = default(string), PropertyMetadata CustomTabIdMetadata = default(PropertyMetadata), string DisableAutoSize = default(string), PropertyMetadata DisableAutoSizeMetadata = default(PropertyMetadata), string DocumentId = default(string), PropertyMetadata DocumentIdMetadata = default(PropertyMetadata), ErrorDetails ErrorDetails = default(ErrorDetails), ExtensionData ExtensionData = default(ExtensionData), string Font = default(string), string FontColor = default(string), PropertyMetadata FontColorMetadata = default(PropertyMetadata), PropertyMetadata FontMetadata = default(PropertyMetadata), string FontSize = default(string), PropertyMetadata FontSizeMetadata = default(PropertyMetadata), string FormOrder = default(string), PropertyMetadata FormOrderMetadata = default(PropertyMetadata), string FormPageLabel = default(string), PropertyMetadata FormPageLabelMetadata = default(PropertyMetadata), string FormPageNumber = default(string), PropertyMetadata FormPageNumberMetadata = default(PropertyMetadata), string Height = default(string), PropertyMetadata HeightMetadata = default(PropertyMetadata), string Italic = default(string), PropertyMetadata ItalicMetadata = default(PropertyMetadata), LocalePolicyTab LocalePolicy = default(LocalePolicyTab), string Locked = default(string), PropertyMetadata LockedMetadata = default(PropertyMetadata), string MaxLength = default(string), PropertyMetadata MaxLengthMetadata = default(PropertyMetadata), MergeField MergeField = default(MergeField), string MergeFieldXml = default(string), string Name = default(string), PropertyMetadata NameMetadata = default(PropertyMetadata), string OriginalValue = default(string), PropertyMetadata OriginalValueMetadata = default(PropertyMetadata), string PageNumber = default(string), PropertyMetadata PageNumberMetadata = default(PropertyMetadata), string RecipientId = default(string), string RecipientIdGuid = default(string), PropertyMetadata RecipientIdGuidMetadata = default(PropertyMetadata), PropertyMetadata RecipientIdMetadata = default(PropertyMetadata), string Required = default(string), PropertyMetadata RequiredMetadata = default(PropertyMetadata), SmartContractInformation SmartContractInformation = default(SmartContractInformation), string Source = default(string), string Status = default(string), PropertyMetadata StatusMetadata = default(PropertyMetadata), string TabFullyQualifiedPath = default(string), List TabGroupLabels = default(List), PropertyMetadata TabGroupLabelsMetadata = default(PropertyMetadata), string TabId = default(string), PropertyMetadata TabIdMetadata = default(PropertyMetadata), string TabLabel = default(string), PropertyMetadata TabLabelMetadata = default(PropertyMetadata), string TabOrder = default(string), PropertyMetadata TabOrderMetadata = default(PropertyMetadata), string TabType = default(string), PropertyMetadata TabTypeMetadata = default(PropertyMetadata), string TemplateLocked = default(string), PropertyMetadata TemplateLockedMetadata = default(PropertyMetadata), string TemplateRequired = default(string), PropertyMetadata TemplateRequiredMetadata = default(PropertyMetadata), string Tooltip = default(string), PropertyMetadata ToolTipMetadata = default(PropertyMetadata), string Underline = default(string), PropertyMetadata UnderlineMetadata = default(PropertyMetadata), string Value = default(string), PropertyMetadata ValueMetadata = default(PropertyMetadata), ErrorDetails WarningDetails = default(ErrorDetails), string Width = default(string), PropertyMetadata WidthMetadata = default(PropertyMetadata), string XPosition = default(string), PropertyMetadata XPositionMetadata = default(PropertyMetadata), string YPosition = default(string), PropertyMetadata YPositionMetadata = default(PropertyMetadata)) { this.AgreementAttribute = AgreementAttribute; this.AgreementAttributeLocked = AgreementAttributeLocked; @@ -161,6 +162,7 @@ public CommissionCounty() this.AnchorStringMetadata = AnchorStringMetadata; this.AnchorTabProcessorVersion = AnchorTabProcessorVersion; this.AnchorTabProcessorVersionMetadata = AnchorTabProcessorVersionMetadata; + this.AnchorTabScope = AnchorTabScope; this.AnchorUnits = AnchorUnits; this.AnchorUnitsMetadata = AnchorUnitsMetadata; this.AnchorXOffset = AnchorXOffset; @@ -348,6 +350,11 @@ public CommissionCounty() [DataMember(Name="anchorTabProcessorVersionMetadata", EmitDefaultValue=false)] public PropertyMetadata AnchorTabProcessorVersionMetadata { get; set; } /// + /// Gets or Sets AnchorTabScope + /// + [DataMember(Name="anchorTabScope", EmitDefaultValue=false)] + public string AnchorTabScope { get; set; } + /// /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. /// /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. @@ -906,6 +913,7 @@ public override string ToString() sb.Append(" AnchorStringMetadata: ").Append(AnchorStringMetadata).Append("\n"); sb.Append(" AnchorTabProcessorVersion: ").Append(AnchorTabProcessorVersion).Append("\n"); sb.Append(" AnchorTabProcessorVersionMetadata: ").Append(AnchorTabProcessorVersionMetadata).Append("\n"); + sb.Append(" AnchorTabScope: ").Append(AnchorTabScope).Append("\n"); sb.Append(" AnchorUnits: ").Append(AnchorUnits).Append("\n"); sb.Append(" AnchorUnitsMetadata: ").Append(AnchorUnitsMetadata).Append("\n"); sb.Append(" AnchorXOffset: ").Append(AnchorXOffset).Append("\n"); @@ -1114,6 +1122,11 @@ public bool Equals(CommissionCounty other) this.AnchorTabProcessorVersionMetadata != null && this.AnchorTabProcessorVersionMetadata.Equals(other.AnchorTabProcessorVersionMetadata) ) && + ( + this.AnchorTabScope == other.AnchorTabScope || + this.AnchorTabScope != null && + this.AnchorTabScope.Equals(other.AnchorTabScope) + ) && ( this.AnchorUnits == other.AnchorUnits || this.AnchorUnits != null && @@ -1619,6 +1632,8 @@ public override int GetHashCode() hash = hash * 59 + this.AnchorTabProcessorVersion.GetHashCode(); if (this.AnchorTabProcessorVersionMetadata != null) hash = hash * 59 + this.AnchorTabProcessorVersionMetadata.GetHashCode(); + if (this.AnchorTabScope != null) + hash = hash * 59 + this.AnchorTabScope.GetHashCode(); if (this.AnchorUnits != null) hash = hash * 59 + this.AnchorUnits.GetHashCode(); if (this.AnchorUnitsMetadata != null) diff --git a/sdk/src/DocuSign.eSign/Model/CommissionExpiration.cs b/sdk/src/DocuSign.eSign/Model/CommissionExpiration.cs index 7a6131769..43cbd5917 100644 --- a/sdk/src/DocuSign.eSign/Model/CommissionExpiration.cs +++ b/sdk/src/DocuSign.eSign/Model/CommissionExpiration.cs @@ -51,6 +51,7 @@ public CommissionExpiration() /// Metadata that indicates whether the `anchorString` property is editable.. /// AnchorTabProcessorVersion. /// Reserved for DocuSign.. + /// AnchorTabScope. /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.. /// Metadata that indicates whether the `anchorUnits` property is editable.. /// Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.. @@ -143,7 +144,7 @@ public CommissionExpiration() /// Metadata that indicates whether the `xPosition` property is editable.. /// This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.. /// Metadata that indicates whether the `yPosition` property is editable.. - public CommissionExpiration(string AgreementAttribute = default(string), string AgreementAttributeLocked = default(string), string AnchorAllowWhiteSpaceInCharacters = default(string), PropertyMetadata AnchorAllowWhiteSpaceInCharactersMetadata = default(PropertyMetadata), string AnchorCaseSensitive = default(string), PropertyMetadata AnchorCaseSensitiveMetadata = default(PropertyMetadata), string AnchorHorizontalAlignment = default(string), PropertyMetadata AnchorHorizontalAlignmentMetadata = default(PropertyMetadata), string AnchorIgnoreIfNotPresent = default(string), PropertyMetadata AnchorIgnoreIfNotPresentMetadata = default(PropertyMetadata), string AnchorMatchWholeWord = default(string), PropertyMetadata AnchorMatchWholeWordMetadata = default(PropertyMetadata), string AnchorString = default(string), PropertyMetadata AnchorStringMetadata = default(PropertyMetadata), string AnchorTabProcessorVersion = default(string), PropertyMetadata AnchorTabProcessorVersionMetadata = default(PropertyMetadata), string AnchorUnits = default(string), PropertyMetadata AnchorUnitsMetadata = default(PropertyMetadata), string AnchorXOffset = default(string), PropertyMetadata AnchorXOffsetMetadata = default(PropertyMetadata), string AnchorYOffset = default(string), PropertyMetadata AnchorYOffsetMetadata = default(PropertyMetadata), string Bold = default(string), PropertyMetadata BoldMetadata = default(PropertyMetadata), string Caption = default(string), PropertyMetadata CaptionMetadata = default(PropertyMetadata), string ConcealValueOnDocument = default(string), PropertyMetadata ConcealValueOnDocumentMetadata = default(PropertyMetadata), string ConditionalParentLabel = default(string), PropertyMetadata ConditionalParentLabelMetadata = default(PropertyMetadata), string ConditionalParentValue = default(string), PropertyMetadata ConditionalParentValueMetadata = default(PropertyMetadata), ConnectedObjectDetails ConnectedObjectDetails = default(ConnectedObjectDetails), string CustomTabId = default(string), PropertyMetadata CustomTabIdMetadata = default(PropertyMetadata), string DisableAutoSize = default(string), PropertyMetadata DisableAutoSizeMetadata = default(PropertyMetadata), string DocumentId = default(string), PropertyMetadata DocumentIdMetadata = default(PropertyMetadata), ErrorDetails ErrorDetails = default(ErrorDetails), ExtensionData ExtensionData = default(ExtensionData), string Font = default(string), string FontColor = default(string), PropertyMetadata FontColorMetadata = default(PropertyMetadata), PropertyMetadata FontMetadata = default(PropertyMetadata), string FontSize = default(string), PropertyMetadata FontSizeMetadata = default(PropertyMetadata), string FormOrder = default(string), PropertyMetadata FormOrderMetadata = default(PropertyMetadata), string FormPageLabel = default(string), PropertyMetadata FormPageLabelMetadata = default(PropertyMetadata), string FormPageNumber = default(string), PropertyMetadata FormPageNumberMetadata = default(PropertyMetadata), string Height = default(string), PropertyMetadata HeightMetadata = default(PropertyMetadata), string Italic = default(string), PropertyMetadata ItalicMetadata = default(PropertyMetadata), LocalePolicyTab LocalePolicy = default(LocalePolicyTab), string Locked = default(string), PropertyMetadata LockedMetadata = default(PropertyMetadata), string MaxLength = default(string), PropertyMetadata MaxLengthMetadata = default(PropertyMetadata), MergeField MergeField = default(MergeField), string MergeFieldXml = default(string), string Name = default(string), PropertyMetadata NameMetadata = default(PropertyMetadata), string OriginalValue = default(string), PropertyMetadata OriginalValueMetadata = default(PropertyMetadata), string PageNumber = default(string), PropertyMetadata PageNumberMetadata = default(PropertyMetadata), string RecipientId = default(string), string RecipientIdGuid = default(string), PropertyMetadata RecipientIdGuidMetadata = default(PropertyMetadata), PropertyMetadata RecipientIdMetadata = default(PropertyMetadata), string Required = default(string), PropertyMetadata RequiredMetadata = default(PropertyMetadata), SmartContractInformation SmartContractInformation = default(SmartContractInformation), string Source = default(string), string Status = default(string), PropertyMetadata StatusMetadata = default(PropertyMetadata), string TabFullyQualifiedPath = default(string), List TabGroupLabels = default(List), PropertyMetadata TabGroupLabelsMetadata = default(PropertyMetadata), string TabId = default(string), PropertyMetadata TabIdMetadata = default(PropertyMetadata), string TabLabel = default(string), PropertyMetadata TabLabelMetadata = default(PropertyMetadata), string TabOrder = default(string), PropertyMetadata TabOrderMetadata = default(PropertyMetadata), string TabType = default(string), PropertyMetadata TabTypeMetadata = default(PropertyMetadata), string TemplateLocked = default(string), PropertyMetadata TemplateLockedMetadata = default(PropertyMetadata), string TemplateRequired = default(string), PropertyMetadata TemplateRequiredMetadata = default(PropertyMetadata), string Tooltip = default(string), PropertyMetadata ToolTipMetadata = default(PropertyMetadata), string Underline = default(string), PropertyMetadata UnderlineMetadata = default(PropertyMetadata), string Value = default(string), PropertyMetadata ValueMetadata = default(PropertyMetadata), ErrorDetails WarningDetails = default(ErrorDetails), string Width = default(string), PropertyMetadata WidthMetadata = default(PropertyMetadata), string XPosition = default(string), PropertyMetadata XPositionMetadata = default(PropertyMetadata), string YPosition = default(string), PropertyMetadata YPositionMetadata = default(PropertyMetadata)) + public CommissionExpiration(string AgreementAttribute = default(string), string AgreementAttributeLocked = default(string), string AnchorAllowWhiteSpaceInCharacters = default(string), PropertyMetadata AnchorAllowWhiteSpaceInCharactersMetadata = default(PropertyMetadata), string AnchorCaseSensitive = default(string), PropertyMetadata AnchorCaseSensitiveMetadata = default(PropertyMetadata), string AnchorHorizontalAlignment = default(string), PropertyMetadata AnchorHorizontalAlignmentMetadata = default(PropertyMetadata), string AnchorIgnoreIfNotPresent = default(string), PropertyMetadata AnchorIgnoreIfNotPresentMetadata = default(PropertyMetadata), string AnchorMatchWholeWord = default(string), PropertyMetadata AnchorMatchWholeWordMetadata = default(PropertyMetadata), string AnchorString = default(string), PropertyMetadata AnchorStringMetadata = default(PropertyMetadata), string AnchorTabProcessorVersion = default(string), PropertyMetadata AnchorTabProcessorVersionMetadata = default(PropertyMetadata), string AnchorTabScope = default(string), string AnchorUnits = default(string), PropertyMetadata AnchorUnitsMetadata = default(PropertyMetadata), string AnchorXOffset = default(string), PropertyMetadata AnchorXOffsetMetadata = default(PropertyMetadata), string AnchorYOffset = default(string), PropertyMetadata AnchorYOffsetMetadata = default(PropertyMetadata), string Bold = default(string), PropertyMetadata BoldMetadata = default(PropertyMetadata), string Caption = default(string), PropertyMetadata CaptionMetadata = default(PropertyMetadata), string ConcealValueOnDocument = default(string), PropertyMetadata ConcealValueOnDocumentMetadata = default(PropertyMetadata), string ConditionalParentLabel = default(string), PropertyMetadata ConditionalParentLabelMetadata = default(PropertyMetadata), string ConditionalParentValue = default(string), PropertyMetadata ConditionalParentValueMetadata = default(PropertyMetadata), ConnectedObjectDetails ConnectedObjectDetails = default(ConnectedObjectDetails), string CustomTabId = default(string), PropertyMetadata CustomTabIdMetadata = default(PropertyMetadata), string DisableAutoSize = default(string), PropertyMetadata DisableAutoSizeMetadata = default(PropertyMetadata), string DocumentId = default(string), PropertyMetadata DocumentIdMetadata = default(PropertyMetadata), ErrorDetails ErrorDetails = default(ErrorDetails), ExtensionData ExtensionData = default(ExtensionData), string Font = default(string), string FontColor = default(string), PropertyMetadata FontColorMetadata = default(PropertyMetadata), PropertyMetadata FontMetadata = default(PropertyMetadata), string FontSize = default(string), PropertyMetadata FontSizeMetadata = default(PropertyMetadata), string FormOrder = default(string), PropertyMetadata FormOrderMetadata = default(PropertyMetadata), string FormPageLabel = default(string), PropertyMetadata FormPageLabelMetadata = default(PropertyMetadata), string FormPageNumber = default(string), PropertyMetadata FormPageNumberMetadata = default(PropertyMetadata), string Height = default(string), PropertyMetadata HeightMetadata = default(PropertyMetadata), string Italic = default(string), PropertyMetadata ItalicMetadata = default(PropertyMetadata), LocalePolicyTab LocalePolicy = default(LocalePolicyTab), string Locked = default(string), PropertyMetadata LockedMetadata = default(PropertyMetadata), string MaxLength = default(string), PropertyMetadata MaxLengthMetadata = default(PropertyMetadata), MergeField MergeField = default(MergeField), string MergeFieldXml = default(string), string Name = default(string), PropertyMetadata NameMetadata = default(PropertyMetadata), string OriginalValue = default(string), PropertyMetadata OriginalValueMetadata = default(PropertyMetadata), string PageNumber = default(string), PropertyMetadata PageNumberMetadata = default(PropertyMetadata), string RecipientId = default(string), string RecipientIdGuid = default(string), PropertyMetadata RecipientIdGuidMetadata = default(PropertyMetadata), PropertyMetadata RecipientIdMetadata = default(PropertyMetadata), string Required = default(string), PropertyMetadata RequiredMetadata = default(PropertyMetadata), SmartContractInformation SmartContractInformation = default(SmartContractInformation), string Source = default(string), string Status = default(string), PropertyMetadata StatusMetadata = default(PropertyMetadata), string TabFullyQualifiedPath = default(string), List TabGroupLabels = default(List), PropertyMetadata TabGroupLabelsMetadata = default(PropertyMetadata), string TabId = default(string), PropertyMetadata TabIdMetadata = default(PropertyMetadata), string TabLabel = default(string), PropertyMetadata TabLabelMetadata = default(PropertyMetadata), string TabOrder = default(string), PropertyMetadata TabOrderMetadata = default(PropertyMetadata), string TabType = default(string), PropertyMetadata TabTypeMetadata = default(PropertyMetadata), string TemplateLocked = default(string), PropertyMetadata TemplateLockedMetadata = default(PropertyMetadata), string TemplateRequired = default(string), PropertyMetadata TemplateRequiredMetadata = default(PropertyMetadata), string Tooltip = default(string), PropertyMetadata ToolTipMetadata = default(PropertyMetadata), string Underline = default(string), PropertyMetadata UnderlineMetadata = default(PropertyMetadata), string Value = default(string), PropertyMetadata ValueMetadata = default(PropertyMetadata), ErrorDetails WarningDetails = default(ErrorDetails), string Width = default(string), PropertyMetadata WidthMetadata = default(PropertyMetadata), string XPosition = default(string), PropertyMetadata XPositionMetadata = default(PropertyMetadata), string YPosition = default(string), PropertyMetadata YPositionMetadata = default(PropertyMetadata)) { this.AgreementAttribute = AgreementAttribute; this.AgreementAttributeLocked = AgreementAttributeLocked; @@ -161,6 +162,7 @@ public CommissionExpiration() this.AnchorStringMetadata = AnchorStringMetadata; this.AnchorTabProcessorVersion = AnchorTabProcessorVersion; this.AnchorTabProcessorVersionMetadata = AnchorTabProcessorVersionMetadata; + this.AnchorTabScope = AnchorTabScope; this.AnchorUnits = AnchorUnits; this.AnchorUnitsMetadata = AnchorUnitsMetadata; this.AnchorXOffset = AnchorXOffset; @@ -348,6 +350,11 @@ public CommissionExpiration() [DataMember(Name="anchorTabProcessorVersionMetadata", EmitDefaultValue=false)] public PropertyMetadata AnchorTabProcessorVersionMetadata { get; set; } /// + /// Gets or Sets AnchorTabScope + /// + [DataMember(Name="anchorTabScope", EmitDefaultValue=false)] + public string AnchorTabScope { get; set; } + /// /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. /// /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. @@ -906,6 +913,7 @@ public override string ToString() sb.Append(" AnchorStringMetadata: ").Append(AnchorStringMetadata).Append("\n"); sb.Append(" AnchorTabProcessorVersion: ").Append(AnchorTabProcessorVersion).Append("\n"); sb.Append(" AnchorTabProcessorVersionMetadata: ").Append(AnchorTabProcessorVersionMetadata).Append("\n"); + sb.Append(" AnchorTabScope: ").Append(AnchorTabScope).Append("\n"); sb.Append(" AnchorUnits: ").Append(AnchorUnits).Append("\n"); sb.Append(" AnchorUnitsMetadata: ").Append(AnchorUnitsMetadata).Append("\n"); sb.Append(" AnchorXOffset: ").Append(AnchorXOffset).Append("\n"); @@ -1114,6 +1122,11 @@ public bool Equals(CommissionExpiration other) this.AnchorTabProcessorVersionMetadata != null && this.AnchorTabProcessorVersionMetadata.Equals(other.AnchorTabProcessorVersionMetadata) ) && + ( + this.AnchorTabScope == other.AnchorTabScope || + this.AnchorTabScope != null && + this.AnchorTabScope.Equals(other.AnchorTabScope) + ) && ( this.AnchorUnits == other.AnchorUnits || this.AnchorUnits != null && @@ -1619,6 +1632,8 @@ public override int GetHashCode() hash = hash * 59 + this.AnchorTabProcessorVersion.GetHashCode(); if (this.AnchorTabProcessorVersionMetadata != null) hash = hash * 59 + this.AnchorTabProcessorVersionMetadata.GetHashCode(); + if (this.AnchorTabScope != null) + hash = hash * 59 + this.AnchorTabScope.GetHashCode(); if (this.AnchorUnits != null) hash = hash * 59 + this.AnchorUnits.GetHashCode(); if (this.AnchorUnitsMetadata != null) diff --git a/sdk/src/DocuSign.eSign/Model/CommissionNumber.cs b/sdk/src/DocuSign.eSign/Model/CommissionNumber.cs index 89e8d5ffd..8d24a49aa 100644 --- a/sdk/src/DocuSign.eSign/Model/CommissionNumber.cs +++ b/sdk/src/DocuSign.eSign/Model/CommissionNumber.cs @@ -51,6 +51,7 @@ public CommissionNumber() /// Metadata that indicates whether the `anchorString` property is editable.. /// AnchorTabProcessorVersion. /// Reserved for DocuSign.. + /// AnchorTabScope. /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.. /// Metadata that indicates whether the `anchorUnits` property is editable.. /// Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.. @@ -143,7 +144,7 @@ public CommissionNumber() /// Metadata that indicates whether the `xPosition` property is editable.. /// This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.. /// Metadata that indicates whether the `yPosition` property is editable.. - public CommissionNumber(string AgreementAttribute = default(string), string AgreementAttributeLocked = default(string), string AnchorAllowWhiteSpaceInCharacters = default(string), PropertyMetadata AnchorAllowWhiteSpaceInCharactersMetadata = default(PropertyMetadata), string AnchorCaseSensitive = default(string), PropertyMetadata AnchorCaseSensitiveMetadata = default(PropertyMetadata), string AnchorHorizontalAlignment = default(string), PropertyMetadata AnchorHorizontalAlignmentMetadata = default(PropertyMetadata), string AnchorIgnoreIfNotPresent = default(string), PropertyMetadata AnchorIgnoreIfNotPresentMetadata = default(PropertyMetadata), string AnchorMatchWholeWord = default(string), PropertyMetadata AnchorMatchWholeWordMetadata = default(PropertyMetadata), string AnchorString = default(string), PropertyMetadata AnchorStringMetadata = default(PropertyMetadata), string AnchorTabProcessorVersion = default(string), PropertyMetadata AnchorTabProcessorVersionMetadata = default(PropertyMetadata), string AnchorUnits = default(string), PropertyMetadata AnchorUnitsMetadata = default(PropertyMetadata), string AnchorXOffset = default(string), PropertyMetadata AnchorXOffsetMetadata = default(PropertyMetadata), string AnchorYOffset = default(string), PropertyMetadata AnchorYOffsetMetadata = default(PropertyMetadata), string Bold = default(string), PropertyMetadata BoldMetadata = default(PropertyMetadata), string Caption = default(string), PropertyMetadata CaptionMetadata = default(PropertyMetadata), string ConcealValueOnDocument = default(string), PropertyMetadata ConcealValueOnDocumentMetadata = default(PropertyMetadata), string ConditionalParentLabel = default(string), PropertyMetadata ConditionalParentLabelMetadata = default(PropertyMetadata), string ConditionalParentValue = default(string), PropertyMetadata ConditionalParentValueMetadata = default(PropertyMetadata), ConnectedObjectDetails ConnectedObjectDetails = default(ConnectedObjectDetails), string CustomTabId = default(string), PropertyMetadata CustomTabIdMetadata = default(PropertyMetadata), string DisableAutoSize = default(string), PropertyMetadata DisableAutoSizeMetadata = default(PropertyMetadata), string DocumentId = default(string), PropertyMetadata DocumentIdMetadata = default(PropertyMetadata), ErrorDetails ErrorDetails = default(ErrorDetails), ExtensionData ExtensionData = default(ExtensionData), string Font = default(string), string FontColor = default(string), PropertyMetadata FontColorMetadata = default(PropertyMetadata), PropertyMetadata FontMetadata = default(PropertyMetadata), string FontSize = default(string), PropertyMetadata FontSizeMetadata = default(PropertyMetadata), string FormOrder = default(string), PropertyMetadata FormOrderMetadata = default(PropertyMetadata), string FormPageLabel = default(string), PropertyMetadata FormPageLabelMetadata = default(PropertyMetadata), string FormPageNumber = default(string), PropertyMetadata FormPageNumberMetadata = default(PropertyMetadata), string Height = default(string), PropertyMetadata HeightMetadata = default(PropertyMetadata), string Italic = default(string), PropertyMetadata ItalicMetadata = default(PropertyMetadata), LocalePolicyTab LocalePolicy = default(LocalePolicyTab), string Locked = default(string), PropertyMetadata LockedMetadata = default(PropertyMetadata), string MaxLength = default(string), PropertyMetadata MaxLengthMetadata = default(PropertyMetadata), MergeField MergeField = default(MergeField), string MergeFieldXml = default(string), string Name = default(string), PropertyMetadata NameMetadata = default(PropertyMetadata), string OriginalValue = default(string), PropertyMetadata OriginalValueMetadata = default(PropertyMetadata), string PageNumber = default(string), PropertyMetadata PageNumberMetadata = default(PropertyMetadata), string RecipientId = default(string), string RecipientIdGuid = default(string), PropertyMetadata RecipientIdGuidMetadata = default(PropertyMetadata), PropertyMetadata RecipientIdMetadata = default(PropertyMetadata), string Required = default(string), PropertyMetadata RequiredMetadata = default(PropertyMetadata), SmartContractInformation SmartContractInformation = default(SmartContractInformation), string Source = default(string), string Status = default(string), PropertyMetadata StatusMetadata = default(PropertyMetadata), string TabFullyQualifiedPath = default(string), List TabGroupLabels = default(List), PropertyMetadata TabGroupLabelsMetadata = default(PropertyMetadata), string TabId = default(string), PropertyMetadata TabIdMetadata = default(PropertyMetadata), string TabLabel = default(string), PropertyMetadata TabLabelMetadata = default(PropertyMetadata), string TabOrder = default(string), PropertyMetadata TabOrderMetadata = default(PropertyMetadata), string TabType = default(string), PropertyMetadata TabTypeMetadata = default(PropertyMetadata), string TemplateLocked = default(string), PropertyMetadata TemplateLockedMetadata = default(PropertyMetadata), string TemplateRequired = default(string), PropertyMetadata TemplateRequiredMetadata = default(PropertyMetadata), string Tooltip = default(string), PropertyMetadata ToolTipMetadata = default(PropertyMetadata), string Underline = default(string), PropertyMetadata UnderlineMetadata = default(PropertyMetadata), string Value = default(string), PropertyMetadata ValueMetadata = default(PropertyMetadata), ErrorDetails WarningDetails = default(ErrorDetails), string Width = default(string), PropertyMetadata WidthMetadata = default(PropertyMetadata), string XPosition = default(string), PropertyMetadata XPositionMetadata = default(PropertyMetadata), string YPosition = default(string), PropertyMetadata YPositionMetadata = default(PropertyMetadata)) + public CommissionNumber(string AgreementAttribute = default(string), string AgreementAttributeLocked = default(string), string AnchorAllowWhiteSpaceInCharacters = default(string), PropertyMetadata AnchorAllowWhiteSpaceInCharactersMetadata = default(PropertyMetadata), string AnchorCaseSensitive = default(string), PropertyMetadata AnchorCaseSensitiveMetadata = default(PropertyMetadata), string AnchorHorizontalAlignment = default(string), PropertyMetadata AnchorHorizontalAlignmentMetadata = default(PropertyMetadata), string AnchorIgnoreIfNotPresent = default(string), PropertyMetadata AnchorIgnoreIfNotPresentMetadata = default(PropertyMetadata), string AnchorMatchWholeWord = default(string), PropertyMetadata AnchorMatchWholeWordMetadata = default(PropertyMetadata), string AnchorString = default(string), PropertyMetadata AnchorStringMetadata = default(PropertyMetadata), string AnchorTabProcessorVersion = default(string), PropertyMetadata AnchorTabProcessorVersionMetadata = default(PropertyMetadata), string AnchorTabScope = default(string), string AnchorUnits = default(string), PropertyMetadata AnchorUnitsMetadata = default(PropertyMetadata), string AnchorXOffset = default(string), PropertyMetadata AnchorXOffsetMetadata = default(PropertyMetadata), string AnchorYOffset = default(string), PropertyMetadata AnchorYOffsetMetadata = default(PropertyMetadata), string Bold = default(string), PropertyMetadata BoldMetadata = default(PropertyMetadata), string Caption = default(string), PropertyMetadata CaptionMetadata = default(PropertyMetadata), string ConcealValueOnDocument = default(string), PropertyMetadata ConcealValueOnDocumentMetadata = default(PropertyMetadata), string ConditionalParentLabel = default(string), PropertyMetadata ConditionalParentLabelMetadata = default(PropertyMetadata), string ConditionalParentValue = default(string), PropertyMetadata ConditionalParentValueMetadata = default(PropertyMetadata), ConnectedObjectDetails ConnectedObjectDetails = default(ConnectedObjectDetails), string CustomTabId = default(string), PropertyMetadata CustomTabIdMetadata = default(PropertyMetadata), string DisableAutoSize = default(string), PropertyMetadata DisableAutoSizeMetadata = default(PropertyMetadata), string DocumentId = default(string), PropertyMetadata DocumentIdMetadata = default(PropertyMetadata), ErrorDetails ErrorDetails = default(ErrorDetails), ExtensionData ExtensionData = default(ExtensionData), string Font = default(string), string FontColor = default(string), PropertyMetadata FontColorMetadata = default(PropertyMetadata), PropertyMetadata FontMetadata = default(PropertyMetadata), string FontSize = default(string), PropertyMetadata FontSizeMetadata = default(PropertyMetadata), string FormOrder = default(string), PropertyMetadata FormOrderMetadata = default(PropertyMetadata), string FormPageLabel = default(string), PropertyMetadata FormPageLabelMetadata = default(PropertyMetadata), string FormPageNumber = default(string), PropertyMetadata FormPageNumberMetadata = default(PropertyMetadata), string Height = default(string), PropertyMetadata HeightMetadata = default(PropertyMetadata), string Italic = default(string), PropertyMetadata ItalicMetadata = default(PropertyMetadata), LocalePolicyTab LocalePolicy = default(LocalePolicyTab), string Locked = default(string), PropertyMetadata LockedMetadata = default(PropertyMetadata), string MaxLength = default(string), PropertyMetadata MaxLengthMetadata = default(PropertyMetadata), MergeField MergeField = default(MergeField), string MergeFieldXml = default(string), string Name = default(string), PropertyMetadata NameMetadata = default(PropertyMetadata), string OriginalValue = default(string), PropertyMetadata OriginalValueMetadata = default(PropertyMetadata), string PageNumber = default(string), PropertyMetadata PageNumberMetadata = default(PropertyMetadata), string RecipientId = default(string), string RecipientIdGuid = default(string), PropertyMetadata RecipientIdGuidMetadata = default(PropertyMetadata), PropertyMetadata RecipientIdMetadata = default(PropertyMetadata), string Required = default(string), PropertyMetadata RequiredMetadata = default(PropertyMetadata), SmartContractInformation SmartContractInformation = default(SmartContractInformation), string Source = default(string), string Status = default(string), PropertyMetadata StatusMetadata = default(PropertyMetadata), string TabFullyQualifiedPath = default(string), List TabGroupLabels = default(List), PropertyMetadata TabGroupLabelsMetadata = default(PropertyMetadata), string TabId = default(string), PropertyMetadata TabIdMetadata = default(PropertyMetadata), string TabLabel = default(string), PropertyMetadata TabLabelMetadata = default(PropertyMetadata), string TabOrder = default(string), PropertyMetadata TabOrderMetadata = default(PropertyMetadata), string TabType = default(string), PropertyMetadata TabTypeMetadata = default(PropertyMetadata), string TemplateLocked = default(string), PropertyMetadata TemplateLockedMetadata = default(PropertyMetadata), string TemplateRequired = default(string), PropertyMetadata TemplateRequiredMetadata = default(PropertyMetadata), string Tooltip = default(string), PropertyMetadata ToolTipMetadata = default(PropertyMetadata), string Underline = default(string), PropertyMetadata UnderlineMetadata = default(PropertyMetadata), string Value = default(string), PropertyMetadata ValueMetadata = default(PropertyMetadata), ErrorDetails WarningDetails = default(ErrorDetails), string Width = default(string), PropertyMetadata WidthMetadata = default(PropertyMetadata), string XPosition = default(string), PropertyMetadata XPositionMetadata = default(PropertyMetadata), string YPosition = default(string), PropertyMetadata YPositionMetadata = default(PropertyMetadata)) { this.AgreementAttribute = AgreementAttribute; this.AgreementAttributeLocked = AgreementAttributeLocked; @@ -161,6 +162,7 @@ public CommissionNumber() this.AnchorStringMetadata = AnchorStringMetadata; this.AnchorTabProcessorVersion = AnchorTabProcessorVersion; this.AnchorTabProcessorVersionMetadata = AnchorTabProcessorVersionMetadata; + this.AnchorTabScope = AnchorTabScope; this.AnchorUnits = AnchorUnits; this.AnchorUnitsMetadata = AnchorUnitsMetadata; this.AnchorXOffset = AnchorXOffset; @@ -348,6 +350,11 @@ public CommissionNumber() [DataMember(Name="anchorTabProcessorVersionMetadata", EmitDefaultValue=false)] public PropertyMetadata AnchorTabProcessorVersionMetadata { get; set; } /// + /// Gets or Sets AnchorTabScope + /// + [DataMember(Name="anchorTabScope", EmitDefaultValue=false)] + public string AnchorTabScope { get; set; } + /// /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. /// /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. @@ -906,6 +913,7 @@ public override string ToString() sb.Append(" AnchorStringMetadata: ").Append(AnchorStringMetadata).Append("\n"); sb.Append(" AnchorTabProcessorVersion: ").Append(AnchorTabProcessorVersion).Append("\n"); sb.Append(" AnchorTabProcessorVersionMetadata: ").Append(AnchorTabProcessorVersionMetadata).Append("\n"); + sb.Append(" AnchorTabScope: ").Append(AnchorTabScope).Append("\n"); sb.Append(" AnchorUnits: ").Append(AnchorUnits).Append("\n"); sb.Append(" AnchorUnitsMetadata: ").Append(AnchorUnitsMetadata).Append("\n"); sb.Append(" AnchorXOffset: ").Append(AnchorXOffset).Append("\n"); @@ -1114,6 +1122,11 @@ public bool Equals(CommissionNumber other) this.AnchorTabProcessorVersionMetadata != null && this.AnchorTabProcessorVersionMetadata.Equals(other.AnchorTabProcessorVersionMetadata) ) && + ( + this.AnchorTabScope == other.AnchorTabScope || + this.AnchorTabScope != null && + this.AnchorTabScope.Equals(other.AnchorTabScope) + ) && ( this.AnchorUnits == other.AnchorUnits || this.AnchorUnits != null && @@ -1619,6 +1632,8 @@ public override int GetHashCode() hash = hash * 59 + this.AnchorTabProcessorVersion.GetHashCode(); if (this.AnchorTabProcessorVersionMetadata != null) hash = hash * 59 + this.AnchorTabProcessorVersionMetadata.GetHashCode(); + if (this.AnchorTabScope != null) + hash = hash * 59 + this.AnchorTabScope.GetHashCode(); if (this.AnchorUnits != null) hash = hash * 59 + this.AnchorUnits.GetHashCode(); if (this.AnchorUnitsMetadata != null) diff --git a/sdk/src/DocuSign.eSign/Model/CommissionState.cs b/sdk/src/DocuSign.eSign/Model/CommissionState.cs index d282911e3..17ca2d1f8 100644 --- a/sdk/src/DocuSign.eSign/Model/CommissionState.cs +++ b/sdk/src/DocuSign.eSign/Model/CommissionState.cs @@ -51,6 +51,7 @@ public CommissionState() /// Metadata that indicates whether the `anchorString` property is editable.. /// AnchorTabProcessorVersion. /// Reserved for DocuSign.. + /// AnchorTabScope. /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.. /// Metadata that indicates whether the `anchorUnits` property is editable.. /// Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.. @@ -143,7 +144,7 @@ public CommissionState() /// Metadata that indicates whether the `xPosition` property is editable.. /// This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.. /// Metadata that indicates whether the `yPosition` property is editable.. - public CommissionState(string AgreementAttribute = default(string), string AgreementAttributeLocked = default(string), string AnchorAllowWhiteSpaceInCharacters = default(string), PropertyMetadata AnchorAllowWhiteSpaceInCharactersMetadata = default(PropertyMetadata), string AnchorCaseSensitive = default(string), PropertyMetadata AnchorCaseSensitiveMetadata = default(PropertyMetadata), string AnchorHorizontalAlignment = default(string), PropertyMetadata AnchorHorizontalAlignmentMetadata = default(PropertyMetadata), string AnchorIgnoreIfNotPresent = default(string), PropertyMetadata AnchorIgnoreIfNotPresentMetadata = default(PropertyMetadata), string AnchorMatchWholeWord = default(string), PropertyMetadata AnchorMatchWholeWordMetadata = default(PropertyMetadata), string AnchorString = default(string), PropertyMetadata AnchorStringMetadata = default(PropertyMetadata), string AnchorTabProcessorVersion = default(string), PropertyMetadata AnchorTabProcessorVersionMetadata = default(PropertyMetadata), string AnchorUnits = default(string), PropertyMetadata AnchorUnitsMetadata = default(PropertyMetadata), string AnchorXOffset = default(string), PropertyMetadata AnchorXOffsetMetadata = default(PropertyMetadata), string AnchorYOffset = default(string), PropertyMetadata AnchorYOffsetMetadata = default(PropertyMetadata), string Bold = default(string), PropertyMetadata BoldMetadata = default(PropertyMetadata), string Caption = default(string), PropertyMetadata CaptionMetadata = default(PropertyMetadata), string ConcealValueOnDocument = default(string), PropertyMetadata ConcealValueOnDocumentMetadata = default(PropertyMetadata), string ConditionalParentLabel = default(string), PropertyMetadata ConditionalParentLabelMetadata = default(PropertyMetadata), string ConditionalParentValue = default(string), PropertyMetadata ConditionalParentValueMetadata = default(PropertyMetadata), ConnectedObjectDetails ConnectedObjectDetails = default(ConnectedObjectDetails), string CustomTabId = default(string), PropertyMetadata CustomTabIdMetadata = default(PropertyMetadata), string DisableAutoSize = default(string), PropertyMetadata DisableAutoSizeMetadata = default(PropertyMetadata), string DocumentId = default(string), PropertyMetadata DocumentIdMetadata = default(PropertyMetadata), ErrorDetails ErrorDetails = default(ErrorDetails), ExtensionData ExtensionData = default(ExtensionData), string Font = default(string), string FontColor = default(string), PropertyMetadata FontColorMetadata = default(PropertyMetadata), PropertyMetadata FontMetadata = default(PropertyMetadata), string FontSize = default(string), PropertyMetadata FontSizeMetadata = default(PropertyMetadata), string FormOrder = default(string), PropertyMetadata FormOrderMetadata = default(PropertyMetadata), string FormPageLabel = default(string), PropertyMetadata FormPageLabelMetadata = default(PropertyMetadata), string FormPageNumber = default(string), PropertyMetadata FormPageNumberMetadata = default(PropertyMetadata), string Height = default(string), PropertyMetadata HeightMetadata = default(PropertyMetadata), string Italic = default(string), PropertyMetadata ItalicMetadata = default(PropertyMetadata), LocalePolicyTab LocalePolicy = default(LocalePolicyTab), string Locked = default(string), PropertyMetadata LockedMetadata = default(PropertyMetadata), string MaxLength = default(string), PropertyMetadata MaxLengthMetadata = default(PropertyMetadata), MergeField MergeField = default(MergeField), string MergeFieldXml = default(string), string Name = default(string), PropertyMetadata NameMetadata = default(PropertyMetadata), string OriginalValue = default(string), PropertyMetadata OriginalValueMetadata = default(PropertyMetadata), string PageNumber = default(string), PropertyMetadata PageNumberMetadata = default(PropertyMetadata), string RecipientId = default(string), string RecipientIdGuid = default(string), PropertyMetadata RecipientIdGuidMetadata = default(PropertyMetadata), PropertyMetadata RecipientIdMetadata = default(PropertyMetadata), string Required = default(string), PropertyMetadata RequiredMetadata = default(PropertyMetadata), SmartContractInformation SmartContractInformation = default(SmartContractInformation), string Source = default(string), string Status = default(string), PropertyMetadata StatusMetadata = default(PropertyMetadata), string TabFullyQualifiedPath = default(string), List TabGroupLabels = default(List), PropertyMetadata TabGroupLabelsMetadata = default(PropertyMetadata), string TabId = default(string), PropertyMetadata TabIdMetadata = default(PropertyMetadata), string TabLabel = default(string), PropertyMetadata TabLabelMetadata = default(PropertyMetadata), string TabOrder = default(string), PropertyMetadata TabOrderMetadata = default(PropertyMetadata), string TabType = default(string), PropertyMetadata TabTypeMetadata = default(PropertyMetadata), string TemplateLocked = default(string), PropertyMetadata TemplateLockedMetadata = default(PropertyMetadata), string TemplateRequired = default(string), PropertyMetadata TemplateRequiredMetadata = default(PropertyMetadata), string Tooltip = default(string), PropertyMetadata ToolTipMetadata = default(PropertyMetadata), string Underline = default(string), PropertyMetadata UnderlineMetadata = default(PropertyMetadata), string Value = default(string), PropertyMetadata ValueMetadata = default(PropertyMetadata), ErrorDetails WarningDetails = default(ErrorDetails), string Width = default(string), PropertyMetadata WidthMetadata = default(PropertyMetadata), string XPosition = default(string), PropertyMetadata XPositionMetadata = default(PropertyMetadata), string YPosition = default(string), PropertyMetadata YPositionMetadata = default(PropertyMetadata)) + public CommissionState(string AgreementAttribute = default(string), string AgreementAttributeLocked = default(string), string AnchorAllowWhiteSpaceInCharacters = default(string), PropertyMetadata AnchorAllowWhiteSpaceInCharactersMetadata = default(PropertyMetadata), string AnchorCaseSensitive = default(string), PropertyMetadata AnchorCaseSensitiveMetadata = default(PropertyMetadata), string AnchorHorizontalAlignment = default(string), PropertyMetadata AnchorHorizontalAlignmentMetadata = default(PropertyMetadata), string AnchorIgnoreIfNotPresent = default(string), PropertyMetadata AnchorIgnoreIfNotPresentMetadata = default(PropertyMetadata), string AnchorMatchWholeWord = default(string), PropertyMetadata AnchorMatchWholeWordMetadata = default(PropertyMetadata), string AnchorString = default(string), PropertyMetadata AnchorStringMetadata = default(PropertyMetadata), string AnchorTabProcessorVersion = default(string), PropertyMetadata AnchorTabProcessorVersionMetadata = default(PropertyMetadata), string AnchorTabScope = default(string), string AnchorUnits = default(string), PropertyMetadata AnchorUnitsMetadata = default(PropertyMetadata), string AnchorXOffset = default(string), PropertyMetadata AnchorXOffsetMetadata = default(PropertyMetadata), string AnchorYOffset = default(string), PropertyMetadata AnchorYOffsetMetadata = default(PropertyMetadata), string Bold = default(string), PropertyMetadata BoldMetadata = default(PropertyMetadata), string Caption = default(string), PropertyMetadata CaptionMetadata = default(PropertyMetadata), string ConcealValueOnDocument = default(string), PropertyMetadata ConcealValueOnDocumentMetadata = default(PropertyMetadata), string ConditionalParentLabel = default(string), PropertyMetadata ConditionalParentLabelMetadata = default(PropertyMetadata), string ConditionalParentValue = default(string), PropertyMetadata ConditionalParentValueMetadata = default(PropertyMetadata), ConnectedObjectDetails ConnectedObjectDetails = default(ConnectedObjectDetails), string CustomTabId = default(string), PropertyMetadata CustomTabIdMetadata = default(PropertyMetadata), string DisableAutoSize = default(string), PropertyMetadata DisableAutoSizeMetadata = default(PropertyMetadata), string DocumentId = default(string), PropertyMetadata DocumentIdMetadata = default(PropertyMetadata), ErrorDetails ErrorDetails = default(ErrorDetails), ExtensionData ExtensionData = default(ExtensionData), string Font = default(string), string FontColor = default(string), PropertyMetadata FontColorMetadata = default(PropertyMetadata), PropertyMetadata FontMetadata = default(PropertyMetadata), string FontSize = default(string), PropertyMetadata FontSizeMetadata = default(PropertyMetadata), string FormOrder = default(string), PropertyMetadata FormOrderMetadata = default(PropertyMetadata), string FormPageLabel = default(string), PropertyMetadata FormPageLabelMetadata = default(PropertyMetadata), string FormPageNumber = default(string), PropertyMetadata FormPageNumberMetadata = default(PropertyMetadata), string Height = default(string), PropertyMetadata HeightMetadata = default(PropertyMetadata), string Italic = default(string), PropertyMetadata ItalicMetadata = default(PropertyMetadata), LocalePolicyTab LocalePolicy = default(LocalePolicyTab), string Locked = default(string), PropertyMetadata LockedMetadata = default(PropertyMetadata), string MaxLength = default(string), PropertyMetadata MaxLengthMetadata = default(PropertyMetadata), MergeField MergeField = default(MergeField), string MergeFieldXml = default(string), string Name = default(string), PropertyMetadata NameMetadata = default(PropertyMetadata), string OriginalValue = default(string), PropertyMetadata OriginalValueMetadata = default(PropertyMetadata), string PageNumber = default(string), PropertyMetadata PageNumberMetadata = default(PropertyMetadata), string RecipientId = default(string), string RecipientIdGuid = default(string), PropertyMetadata RecipientIdGuidMetadata = default(PropertyMetadata), PropertyMetadata RecipientIdMetadata = default(PropertyMetadata), string Required = default(string), PropertyMetadata RequiredMetadata = default(PropertyMetadata), SmartContractInformation SmartContractInformation = default(SmartContractInformation), string Source = default(string), string Status = default(string), PropertyMetadata StatusMetadata = default(PropertyMetadata), string TabFullyQualifiedPath = default(string), List TabGroupLabels = default(List), PropertyMetadata TabGroupLabelsMetadata = default(PropertyMetadata), string TabId = default(string), PropertyMetadata TabIdMetadata = default(PropertyMetadata), string TabLabel = default(string), PropertyMetadata TabLabelMetadata = default(PropertyMetadata), string TabOrder = default(string), PropertyMetadata TabOrderMetadata = default(PropertyMetadata), string TabType = default(string), PropertyMetadata TabTypeMetadata = default(PropertyMetadata), string TemplateLocked = default(string), PropertyMetadata TemplateLockedMetadata = default(PropertyMetadata), string TemplateRequired = default(string), PropertyMetadata TemplateRequiredMetadata = default(PropertyMetadata), string Tooltip = default(string), PropertyMetadata ToolTipMetadata = default(PropertyMetadata), string Underline = default(string), PropertyMetadata UnderlineMetadata = default(PropertyMetadata), string Value = default(string), PropertyMetadata ValueMetadata = default(PropertyMetadata), ErrorDetails WarningDetails = default(ErrorDetails), string Width = default(string), PropertyMetadata WidthMetadata = default(PropertyMetadata), string XPosition = default(string), PropertyMetadata XPositionMetadata = default(PropertyMetadata), string YPosition = default(string), PropertyMetadata YPositionMetadata = default(PropertyMetadata)) { this.AgreementAttribute = AgreementAttribute; this.AgreementAttributeLocked = AgreementAttributeLocked; @@ -161,6 +162,7 @@ public CommissionState() this.AnchorStringMetadata = AnchorStringMetadata; this.AnchorTabProcessorVersion = AnchorTabProcessorVersion; this.AnchorTabProcessorVersionMetadata = AnchorTabProcessorVersionMetadata; + this.AnchorTabScope = AnchorTabScope; this.AnchorUnits = AnchorUnits; this.AnchorUnitsMetadata = AnchorUnitsMetadata; this.AnchorXOffset = AnchorXOffset; @@ -348,6 +350,11 @@ public CommissionState() [DataMember(Name="anchorTabProcessorVersionMetadata", EmitDefaultValue=false)] public PropertyMetadata AnchorTabProcessorVersionMetadata { get; set; } /// + /// Gets or Sets AnchorTabScope + /// + [DataMember(Name="anchorTabScope", EmitDefaultValue=false)] + public string AnchorTabScope { get; set; } + /// /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. /// /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. @@ -906,6 +913,7 @@ public override string ToString() sb.Append(" AnchorStringMetadata: ").Append(AnchorStringMetadata).Append("\n"); sb.Append(" AnchorTabProcessorVersion: ").Append(AnchorTabProcessorVersion).Append("\n"); sb.Append(" AnchorTabProcessorVersionMetadata: ").Append(AnchorTabProcessorVersionMetadata).Append("\n"); + sb.Append(" AnchorTabScope: ").Append(AnchorTabScope).Append("\n"); sb.Append(" AnchorUnits: ").Append(AnchorUnits).Append("\n"); sb.Append(" AnchorUnitsMetadata: ").Append(AnchorUnitsMetadata).Append("\n"); sb.Append(" AnchorXOffset: ").Append(AnchorXOffset).Append("\n"); @@ -1114,6 +1122,11 @@ public bool Equals(CommissionState other) this.AnchorTabProcessorVersionMetadata != null && this.AnchorTabProcessorVersionMetadata.Equals(other.AnchorTabProcessorVersionMetadata) ) && + ( + this.AnchorTabScope == other.AnchorTabScope || + this.AnchorTabScope != null && + this.AnchorTabScope.Equals(other.AnchorTabScope) + ) && ( this.AnchorUnits == other.AnchorUnits || this.AnchorUnits != null && @@ -1619,6 +1632,8 @@ public override int GetHashCode() hash = hash * 59 + this.AnchorTabProcessorVersion.GetHashCode(); if (this.AnchorTabProcessorVersionMetadata != null) hash = hash * 59 + this.AnchorTabProcessorVersionMetadata.GetHashCode(); + if (this.AnchorTabScope != null) + hash = hash * 59 + this.AnchorTabScope.GetHashCode(); if (this.AnchorUnits != null) hash = hash * 59 + this.AnchorUnits.GetHashCode(); if (this.AnchorUnitsMetadata != null) diff --git a/sdk/src/DocuSign.eSign/Model/Company.cs b/sdk/src/DocuSign.eSign/Model/Company.cs index 9e375ab90..0222b8e2d 100644 --- a/sdk/src/DocuSign.eSign/Model/Company.cs +++ b/sdk/src/DocuSign.eSign/Model/Company.cs @@ -51,6 +51,7 @@ public Company() /// Metadata that indicates whether the `anchorString` property is editable.. /// AnchorTabProcessorVersion. /// Reserved for DocuSign.. + /// AnchorTabScope. /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.. /// Metadata that indicates whether the `anchorUnits` property is editable.. /// Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.. @@ -143,7 +144,7 @@ public Company() /// Metadata that indicates whether the `xPosition` property is editable.. /// This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.. /// Metadata that indicates whether the `yPosition` property is editable.. - public Company(string AgreementAttribute = default(string), string AgreementAttributeLocked = default(string), string AnchorAllowWhiteSpaceInCharacters = default(string), PropertyMetadata AnchorAllowWhiteSpaceInCharactersMetadata = default(PropertyMetadata), string AnchorCaseSensitive = default(string), PropertyMetadata AnchorCaseSensitiveMetadata = default(PropertyMetadata), string AnchorHorizontalAlignment = default(string), PropertyMetadata AnchorHorizontalAlignmentMetadata = default(PropertyMetadata), string AnchorIgnoreIfNotPresent = default(string), PropertyMetadata AnchorIgnoreIfNotPresentMetadata = default(PropertyMetadata), string AnchorMatchWholeWord = default(string), PropertyMetadata AnchorMatchWholeWordMetadata = default(PropertyMetadata), string AnchorString = default(string), PropertyMetadata AnchorStringMetadata = default(PropertyMetadata), string AnchorTabProcessorVersion = default(string), PropertyMetadata AnchorTabProcessorVersionMetadata = default(PropertyMetadata), string AnchorUnits = default(string), PropertyMetadata AnchorUnitsMetadata = default(PropertyMetadata), string AnchorXOffset = default(string), PropertyMetadata AnchorXOffsetMetadata = default(PropertyMetadata), string AnchorYOffset = default(string), PropertyMetadata AnchorYOffsetMetadata = default(PropertyMetadata), string Bold = default(string), PropertyMetadata BoldMetadata = default(PropertyMetadata), string Caption = default(string), PropertyMetadata CaptionMetadata = default(PropertyMetadata), string ConcealValueOnDocument = default(string), PropertyMetadata ConcealValueOnDocumentMetadata = default(PropertyMetadata), string ConditionalParentLabel = default(string), PropertyMetadata ConditionalParentLabelMetadata = default(PropertyMetadata), string ConditionalParentValue = default(string), PropertyMetadata ConditionalParentValueMetadata = default(PropertyMetadata), ConnectedObjectDetails ConnectedObjectDetails = default(ConnectedObjectDetails), string CustomTabId = default(string), PropertyMetadata CustomTabIdMetadata = default(PropertyMetadata), string DisableAutoSize = default(string), PropertyMetadata DisableAutoSizeMetadata = default(PropertyMetadata), string DocumentId = default(string), PropertyMetadata DocumentIdMetadata = default(PropertyMetadata), ErrorDetails ErrorDetails = default(ErrorDetails), ExtensionData ExtensionData = default(ExtensionData), string Font = default(string), string FontColor = default(string), PropertyMetadata FontColorMetadata = default(PropertyMetadata), PropertyMetadata FontMetadata = default(PropertyMetadata), string FontSize = default(string), PropertyMetadata FontSizeMetadata = default(PropertyMetadata), string FormOrder = default(string), PropertyMetadata FormOrderMetadata = default(PropertyMetadata), string FormPageLabel = default(string), PropertyMetadata FormPageLabelMetadata = default(PropertyMetadata), string FormPageNumber = default(string), PropertyMetadata FormPageNumberMetadata = default(PropertyMetadata), string Height = default(string), PropertyMetadata HeightMetadata = default(PropertyMetadata), string Italic = default(string), PropertyMetadata ItalicMetadata = default(PropertyMetadata), LocalePolicyTab LocalePolicy = default(LocalePolicyTab), string Locked = default(string), PropertyMetadata LockedMetadata = default(PropertyMetadata), string MaxLength = default(string), PropertyMetadata MaxLengthMetadata = default(PropertyMetadata), MergeField MergeField = default(MergeField), string MergeFieldXml = default(string), string Name = default(string), PropertyMetadata NameMetadata = default(PropertyMetadata), string OriginalValue = default(string), PropertyMetadata OriginalValueMetadata = default(PropertyMetadata), string PageNumber = default(string), PropertyMetadata PageNumberMetadata = default(PropertyMetadata), string RecipientId = default(string), string RecipientIdGuid = default(string), PropertyMetadata RecipientIdGuidMetadata = default(PropertyMetadata), PropertyMetadata RecipientIdMetadata = default(PropertyMetadata), string Required = default(string), PropertyMetadata RequiredMetadata = default(PropertyMetadata), SmartContractInformation SmartContractInformation = default(SmartContractInformation), string Source = default(string), string Status = default(string), PropertyMetadata StatusMetadata = default(PropertyMetadata), string TabFullyQualifiedPath = default(string), List TabGroupLabels = default(List), PropertyMetadata TabGroupLabelsMetadata = default(PropertyMetadata), string TabId = default(string), PropertyMetadata TabIdMetadata = default(PropertyMetadata), string TabLabel = default(string), PropertyMetadata TabLabelMetadata = default(PropertyMetadata), string TabOrder = default(string), PropertyMetadata TabOrderMetadata = default(PropertyMetadata), string TabType = default(string), PropertyMetadata TabTypeMetadata = default(PropertyMetadata), string TemplateLocked = default(string), PropertyMetadata TemplateLockedMetadata = default(PropertyMetadata), string TemplateRequired = default(string), PropertyMetadata TemplateRequiredMetadata = default(PropertyMetadata), string Tooltip = default(string), PropertyMetadata ToolTipMetadata = default(PropertyMetadata), string Underline = default(string), PropertyMetadata UnderlineMetadata = default(PropertyMetadata), string Value = default(string), PropertyMetadata ValueMetadata = default(PropertyMetadata), ErrorDetails WarningDetails = default(ErrorDetails), string Width = default(string), PropertyMetadata WidthMetadata = default(PropertyMetadata), string XPosition = default(string), PropertyMetadata XPositionMetadata = default(PropertyMetadata), string YPosition = default(string), PropertyMetadata YPositionMetadata = default(PropertyMetadata)) + public Company(string AgreementAttribute = default(string), string AgreementAttributeLocked = default(string), string AnchorAllowWhiteSpaceInCharacters = default(string), PropertyMetadata AnchorAllowWhiteSpaceInCharactersMetadata = default(PropertyMetadata), string AnchorCaseSensitive = default(string), PropertyMetadata AnchorCaseSensitiveMetadata = default(PropertyMetadata), string AnchorHorizontalAlignment = default(string), PropertyMetadata AnchorHorizontalAlignmentMetadata = default(PropertyMetadata), string AnchorIgnoreIfNotPresent = default(string), PropertyMetadata AnchorIgnoreIfNotPresentMetadata = default(PropertyMetadata), string AnchorMatchWholeWord = default(string), PropertyMetadata AnchorMatchWholeWordMetadata = default(PropertyMetadata), string AnchorString = default(string), PropertyMetadata AnchorStringMetadata = default(PropertyMetadata), string AnchorTabProcessorVersion = default(string), PropertyMetadata AnchorTabProcessorVersionMetadata = default(PropertyMetadata), string AnchorTabScope = default(string), string AnchorUnits = default(string), PropertyMetadata AnchorUnitsMetadata = default(PropertyMetadata), string AnchorXOffset = default(string), PropertyMetadata AnchorXOffsetMetadata = default(PropertyMetadata), string AnchorYOffset = default(string), PropertyMetadata AnchorYOffsetMetadata = default(PropertyMetadata), string Bold = default(string), PropertyMetadata BoldMetadata = default(PropertyMetadata), string Caption = default(string), PropertyMetadata CaptionMetadata = default(PropertyMetadata), string ConcealValueOnDocument = default(string), PropertyMetadata ConcealValueOnDocumentMetadata = default(PropertyMetadata), string ConditionalParentLabel = default(string), PropertyMetadata ConditionalParentLabelMetadata = default(PropertyMetadata), string ConditionalParentValue = default(string), PropertyMetadata ConditionalParentValueMetadata = default(PropertyMetadata), ConnectedObjectDetails ConnectedObjectDetails = default(ConnectedObjectDetails), string CustomTabId = default(string), PropertyMetadata CustomTabIdMetadata = default(PropertyMetadata), string DisableAutoSize = default(string), PropertyMetadata DisableAutoSizeMetadata = default(PropertyMetadata), string DocumentId = default(string), PropertyMetadata DocumentIdMetadata = default(PropertyMetadata), ErrorDetails ErrorDetails = default(ErrorDetails), ExtensionData ExtensionData = default(ExtensionData), string Font = default(string), string FontColor = default(string), PropertyMetadata FontColorMetadata = default(PropertyMetadata), PropertyMetadata FontMetadata = default(PropertyMetadata), string FontSize = default(string), PropertyMetadata FontSizeMetadata = default(PropertyMetadata), string FormOrder = default(string), PropertyMetadata FormOrderMetadata = default(PropertyMetadata), string FormPageLabel = default(string), PropertyMetadata FormPageLabelMetadata = default(PropertyMetadata), string FormPageNumber = default(string), PropertyMetadata FormPageNumberMetadata = default(PropertyMetadata), string Height = default(string), PropertyMetadata HeightMetadata = default(PropertyMetadata), string Italic = default(string), PropertyMetadata ItalicMetadata = default(PropertyMetadata), LocalePolicyTab LocalePolicy = default(LocalePolicyTab), string Locked = default(string), PropertyMetadata LockedMetadata = default(PropertyMetadata), string MaxLength = default(string), PropertyMetadata MaxLengthMetadata = default(PropertyMetadata), MergeField MergeField = default(MergeField), string MergeFieldXml = default(string), string Name = default(string), PropertyMetadata NameMetadata = default(PropertyMetadata), string OriginalValue = default(string), PropertyMetadata OriginalValueMetadata = default(PropertyMetadata), string PageNumber = default(string), PropertyMetadata PageNumberMetadata = default(PropertyMetadata), string RecipientId = default(string), string RecipientIdGuid = default(string), PropertyMetadata RecipientIdGuidMetadata = default(PropertyMetadata), PropertyMetadata RecipientIdMetadata = default(PropertyMetadata), string Required = default(string), PropertyMetadata RequiredMetadata = default(PropertyMetadata), SmartContractInformation SmartContractInformation = default(SmartContractInformation), string Source = default(string), string Status = default(string), PropertyMetadata StatusMetadata = default(PropertyMetadata), string TabFullyQualifiedPath = default(string), List TabGroupLabels = default(List), PropertyMetadata TabGroupLabelsMetadata = default(PropertyMetadata), string TabId = default(string), PropertyMetadata TabIdMetadata = default(PropertyMetadata), string TabLabel = default(string), PropertyMetadata TabLabelMetadata = default(PropertyMetadata), string TabOrder = default(string), PropertyMetadata TabOrderMetadata = default(PropertyMetadata), string TabType = default(string), PropertyMetadata TabTypeMetadata = default(PropertyMetadata), string TemplateLocked = default(string), PropertyMetadata TemplateLockedMetadata = default(PropertyMetadata), string TemplateRequired = default(string), PropertyMetadata TemplateRequiredMetadata = default(PropertyMetadata), string Tooltip = default(string), PropertyMetadata ToolTipMetadata = default(PropertyMetadata), string Underline = default(string), PropertyMetadata UnderlineMetadata = default(PropertyMetadata), string Value = default(string), PropertyMetadata ValueMetadata = default(PropertyMetadata), ErrorDetails WarningDetails = default(ErrorDetails), string Width = default(string), PropertyMetadata WidthMetadata = default(PropertyMetadata), string XPosition = default(string), PropertyMetadata XPositionMetadata = default(PropertyMetadata), string YPosition = default(string), PropertyMetadata YPositionMetadata = default(PropertyMetadata)) { this.AgreementAttribute = AgreementAttribute; this.AgreementAttributeLocked = AgreementAttributeLocked; @@ -161,6 +162,7 @@ public Company() this.AnchorStringMetadata = AnchorStringMetadata; this.AnchorTabProcessorVersion = AnchorTabProcessorVersion; this.AnchorTabProcessorVersionMetadata = AnchorTabProcessorVersionMetadata; + this.AnchorTabScope = AnchorTabScope; this.AnchorUnits = AnchorUnits; this.AnchorUnitsMetadata = AnchorUnitsMetadata; this.AnchorXOffset = AnchorXOffset; @@ -348,6 +350,11 @@ public Company() [DataMember(Name="anchorTabProcessorVersionMetadata", EmitDefaultValue=false)] public PropertyMetadata AnchorTabProcessorVersionMetadata { get; set; } /// + /// Gets or Sets AnchorTabScope + /// + [DataMember(Name="anchorTabScope", EmitDefaultValue=false)] + public string AnchorTabScope { get; set; } + /// /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. /// /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. @@ -907,6 +914,7 @@ public override string ToString() sb.Append(" AnchorStringMetadata: ").Append(AnchorStringMetadata).Append("\n"); sb.Append(" AnchorTabProcessorVersion: ").Append(AnchorTabProcessorVersion).Append("\n"); sb.Append(" AnchorTabProcessorVersionMetadata: ").Append(AnchorTabProcessorVersionMetadata).Append("\n"); + sb.Append(" AnchorTabScope: ").Append(AnchorTabScope).Append("\n"); sb.Append(" AnchorUnits: ").Append(AnchorUnits).Append("\n"); sb.Append(" AnchorUnitsMetadata: ").Append(AnchorUnitsMetadata).Append("\n"); sb.Append(" AnchorXOffset: ").Append(AnchorXOffset).Append("\n"); @@ -1115,6 +1123,11 @@ public bool Equals(Company other) this.AnchorTabProcessorVersionMetadata != null && this.AnchorTabProcessorVersionMetadata.Equals(other.AnchorTabProcessorVersionMetadata) ) && + ( + this.AnchorTabScope == other.AnchorTabScope || + this.AnchorTabScope != null && + this.AnchorTabScope.Equals(other.AnchorTabScope) + ) && ( this.AnchorUnits == other.AnchorUnits || this.AnchorUnits != null && @@ -1620,6 +1633,8 @@ public override int GetHashCode() hash = hash * 59 + this.AnchorTabProcessorVersion.GetHashCode(); if (this.AnchorTabProcessorVersionMetadata != null) hash = hash * 59 + this.AnchorTabProcessorVersionMetadata.GetHashCode(); + if (this.AnchorTabScope != null) + hash = hash * 59 + this.AnchorTabScope.GetHashCode(); if (this.AnchorUnits != null) hash = hash * 59 + this.AnchorUnits.GetHashCode(); if (this.AnchorUnitsMetadata != null) diff --git a/sdk/src/DocuSign.eSign/Model/Date.cs b/sdk/src/DocuSign.eSign/Model/Date.cs index 23407c45a..1b745124d 100644 --- a/sdk/src/DocuSign.eSign/Model/Date.cs +++ b/sdk/src/DocuSign.eSign/Model/Date.cs @@ -51,6 +51,7 @@ public Date() /// Metadata that indicates whether the `anchorString` property is editable.. /// AnchorTabProcessorVersion. /// Reserved for DocuSign.. + /// AnchorTabScope. /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.. /// Metadata that indicates whether the `anchorUnits` property is editable.. /// Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.. @@ -157,7 +158,7 @@ public Date() /// Metadata that indicates whether the `xPosition` property is editable.. /// This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.. /// Metadata that indicates whether the `yPosition` property is editable.. - public Date(string AgreementAttribute = default(string), string AgreementAttributeLocked = default(string), string AnchorAllowWhiteSpaceInCharacters = default(string), PropertyMetadata AnchorAllowWhiteSpaceInCharactersMetadata = default(PropertyMetadata), string AnchorCaseSensitive = default(string), PropertyMetadata AnchorCaseSensitiveMetadata = default(PropertyMetadata), string AnchorHorizontalAlignment = default(string), PropertyMetadata AnchorHorizontalAlignmentMetadata = default(PropertyMetadata), string AnchorIgnoreIfNotPresent = default(string), PropertyMetadata AnchorIgnoreIfNotPresentMetadata = default(PropertyMetadata), string AnchorMatchWholeWord = default(string), PropertyMetadata AnchorMatchWholeWordMetadata = default(PropertyMetadata), string AnchorString = default(string), PropertyMetadata AnchorStringMetadata = default(PropertyMetadata), string AnchorTabProcessorVersion = default(string), PropertyMetadata AnchorTabProcessorVersionMetadata = default(PropertyMetadata), string AnchorUnits = default(string), PropertyMetadata AnchorUnitsMetadata = default(PropertyMetadata), string AnchorXOffset = default(string), PropertyMetadata AnchorXOffsetMetadata = default(PropertyMetadata), string AnchorYOffset = default(string), PropertyMetadata AnchorYOffsetMetadata = default(PropertyMetadata), string Bold = default(string), PropertyMetadata BoldMetadata = default(PropertyMetadata), string Caption = default(string), PropertyMetadata CaptionMetadata = default(PropertyMetadata), string ConcealValueOnDocument = default(string), PropertyMetadata ConcealValueOnDocumentMetadata = default(PropertyMetadata), string ConditionalParentLabel = default(string), PropertyMetadata ConditionalParentLabelMetadata = default(PropertyMetadata), string ConditionalParentValue = default(string), PropertyMetadata ConditionalParentValueMetadata = default(PropertyMetadata), ConnectedObjectDetails ConnectedObjectDetails = default(ConnectedObjectDetails), string CustomTabId = default(string), PropertyMetadata CustomTabIdMetadata = default(PropertyMetadata), string DisableAutoSize = default(string), PropertyMetadata DisableAutoSizeMetadata = default(PropertyMetadata), string DocumentId = default(string), PropertyMetadata DocumentIdMetadata = default(PropertyMetadata), ErrorDetails ErrorDetails = default(ErrorDetails), ExtensionData ExtensionData = default(ExtensionData), string Font = default(string), string FontColor = default(string), PropertyMetadata FontColorMetadata = default(PropertyMetadata), PropertyMetadata FontMetadata = default(PropertyMetadata), string FontSize = default(string), PropertyMetadata FontSizeMetadata = default(PropertyMetadata), string FormOrder = default(string), PropertyMetadata FormOrderMetadata = default(PropertyMetadata), string FormPageLabel = default(string), PropertyMetadata FormPageLabelMetadata = default(PropertyMetadata), string FormPageNumber = default(string), PropertyMetadata FormPageNumberMetadata = default(PropertyMetadata), string Height = default(string), PropertyMetadata HeightMetadata = default(PropertyMetadata), string Italic = default(string), PropertyMetadata ItalicMetadata = default(PropertyMetadata), LocalePolicyTab LocalePolicy = default(LocalePolicyTab), string Locked = default(string), PropertyMetadata LockedMetadata = default(PropertyMetadata), string MaxLength = default(string), PropertyMetadata MaxLengthMetadata = default(PropertyMetadata), MergeField MergeField = default(MergeField), string MergeFieldXml = default(string), string Name = default(string), PropertyMetadata NameMetadata = default(PropertyMetadata), string OriginalValue = default(string), PropertyMetadata OriginalValueMetadata = default(PropertyMetadata), string PageNumber = default(string), PropertyMetadata PageNumberMetadata = default(PropertyMetadata), string RecipientId = default(string), string RecipientIdGuid = default(string), PropertyMetadata RecipientIdGuidMetadata = default(PropertyMetadata), PropertyMetadata RecipientIdMetadata = default(PropertyMetadata), string RequireAll = default(string), PropertyMetadata RequireAllMetadata = default(PropertyMetadata), string Required = default(string), PropertyMetadata RequiredMetadata = default(PropertyMetadata), string RequireInitialOnSharedChange = default(string), PropertyMetadata RequireInitialOnSharedChangeMetadata = default(PropertyMetadata), string SenderRequired = default(string), PropertyMetadata SenderRequiredMetadata = default(PropertyMetadata), string Shared = default(string), PropertyMetadata SharedMetadata = default(PropertyMetadata), string ShareToRecipients = default(string), PropertyMetadata ShareToRecipientsMetadata = default(PropertyMetadata), SmartContractInformation SmartContractInformation = default(SmartContractInformation), string Source = default(string), string Status = default(string), PropertyMetadata StatusMetadata = default(PropertyMetadata), string TabFullyQualifiedPath = default(string), List TabGroupLabels = default(List), PropertyMetadata TabGroupLabelsMetadata = default(PropertyMetadata), string TabId = default(string), PropertyMetadata TabIdMetadata = default(PropertyMetadata), string TabLabel = default(string), PropertyMetadata TabLabelMetadata = default(PropertyMetadata), string TabOrder = default(string), PropertyMetadata TabOrderMetadata = default(PropertyMetadata), string TabType = default(string), PropertyMetadata TabTypeMetadata = default(PropertyMetadata), string TemplateLocked = default(string), PropertyMetadata TemplateLockedMetadata = default(PropertyMetadata), string TemplateRequired = default(string), PropertyMetadata TemplateRequiredMetadata = default(PropertyMetadata), string Tooltip = default(string), PropertyMetadata ToolTipMetadata = default(PropertyMetadata), string Underline = default(string), PropertyMetadata UnderlineMetadata = default(PropertyMetadata), string ValidationMessage = default(string), PropertyMetadata ValidationMessageMetadata = default(PropertyMetadata), string ValidationPattern = default(string), PropertyMetadata ValidationPatternMetadata = default(PropertyMetadata), string Value = default(string), PropertyMetadata ValueMetadata = default(PropertyMetadata), ErrorDetails WarningDetails = default(ErrorDetails), string Width = default(string), PropertyMetadata WidthMetadata = default(PropertyMetadata), string XPosition = default(string), PropertyMetadata XPositionMetadata = default(PropertyMetadata), string YPosition = default(string), PropertyMetadata YPositionMetadata = default(PropertyMetadata)) + public Date(string AgreementAttribute = default(string), string AgreementAttributeLocked = default(string), string AnchorAllowWhiteSpaceInCharacters = default(string), PropertyMetadata AnchorAllowWhiteSpaceInCharactersMetadata = default(PropertyMetadata), string AnchorCaseSensitive = default(string), PropertyMetadata AnchorCaseSensitiveMetadata = default(PropertyMetadata), string AnchorHorizontalAlignment = default(string), PropertyMetadata AnchorHorizontalAlignmentMetadata = default(PropertyMetadata), string AnchorIgnoreIfNotPresent = default(string), PropertyMetadata AnchorIgnoreIfNotPresentMetadata = default(PropertyMetadata), string AnchorMatchWholeWord = default(string), PropertyMetadata AnchorMatchWholeWordMetadata = default(PropertyMetadata), string AnchorString = default(string), PropertyMetadata AnchorStringMetadata = default(PropertyMetadata), string AnchorTabProcessorVersion = default(string), PropertyMetadata AnchorTabProcessorVersionMetadata = default(PropertyMetadata), string AnchorTabScope = default(string), string AnchorUnits = default(string), PropertyMetadata AnchorUnitsMetadata = default(PropertyMetadata), string AnchorXOffset = default(string), PropertyMetadata AnchorXOffsetMetadata = default(PropertyMetadata), string AnchorYOffset = default(string), PropertyMetadata AnchorYOffsetMetadata = default(PropertyMetadata), string Bold = default(string), PropertyMetadata BoldMetadata = default(PropertyMetadata), string Caption = default(string), PropertyMetadata CaptionMetadata = default(PropertyMetadata), string ConcealValueOnDocument = default(string), PropertyMetadata ConcealValueOnDocumentMetadata = default(PropertyMetadata), string ConditionalParentLabel = default(string), PropertyMetadata ConditionalParentLabelMetadata = default(PropertyMetadata), string ConditionalParentValue = default(string), PropertyMetadata ConditionalParentValueMetadata = default(PropertyMetadata), ConnectedObjectDetails ConnectedObjectDetails = default(ConnectedObjectDetails), string CustomTabId = default(string), PropertyMetadata CustomTabIdMetadata = default(PropertyMetadata), string DisableAutoSize = default(string), PropertyMetadata DisableAutoSizeMetadata = default(PropertyMetadata), string DocumentId = default(string), PropertyMetadata DocumentIdMetadata = default(PropertyMetadata), ErrorDetails ErrorDetails = default(ErrorDetails), ExtensionData ExtensionData = default(ExtensionData), string Font = default(string), string FontColor = default(string), PropertyMetadata FontColorMetadata = default(PropertyMetadata), PropertyMetadata FontMetadata = default(PropertyMetadata), string FontSize = default(string), PropertyMetadata FontSizeMetadata = default(PropertyMetadata), string FormOrder = default(string), PropertyMetadata FormOrderMetadata = default(PropertyMetadata), string FormPageLabel = default(string), PropertyMetadata FormPageLabelMetadata = default(PropertyMetadata), string FormPageNumber = default(string), PropertyMetadata FormPageNumberMetadata = default(PropertyMetadata), string Height = default(string), PropertyMetadata HeightMetadata = default(PropertyMetadata), string Italic = default(string), PropertyMetadata ItalicMetadata = default(PropertyMetadata), LocalePolicyTab LocalePolicy = default(LocalePolicyTab), string Locked = default(string), PropertyMetadata LockedMetadata = default(PropertyMetadata), string MaxLength = default(string), PropertyMetadata MaxLengthMetadata = default(PropertyMetadata), MergeField MergeField = default(MergeField), string MergeFieldXml = default(string), string Name = default(string), PropertyMetadata NameMetadata = default(PropertyMetadata), string OriginalValue = default(string), PropertyMetadata OriginalValueMetadata = default(PropertyMetadata), string PageNumber = default(string), PropertyMetadata PageNumberMetadata = default(PropertyMetadata), string RecipientId = default(string), string RecipientIdGuid = default(string), PropertyMetadata RecipientIdGuidMetadata = default(PropertyMetadata), PropertyMetadata RecipientIdMetadata = default(PropertyMetadata), string RequireAll = default(string), PropertyMetadata RequireAllMetadata = default(PropertyMetadata), string Required = default(string), PropertyMetadata RequiredMetadata = default(PropertyMetadata), string RequireInitialOnSharedChange = default(string), PropertyMetadata RequireInitialOnSharedChangeMetadata = default(PropertyMetadata), string SenderRequired = default(string), PropertyMetadata SenderRequiredMetadata = default(PropertyMetadata), string Shared = default(string), PropertyMetadata SharedMetadata = default(PropertyMetadata), string ShareToRecipients = default(string), PropertyMetadata ShareToRecipientsMetadata = default(PropertyMetadata), SmartContractInformation SmartContractInformation = default(SmartContractInformation), string Source = default(string), string Status = default(string), PropertyMetadata StatusMetadata = default(PropertyMetadata), string TabFullyQualifiedPath = default(string), List TabGroupLabels = default(List), PropertyMetadata TabGroupLabelsMetadata = default(PropertyMetadata), string TabId = default(string), PropertyMetadata TabIdMetadata = default(PropertyMetadata), string TabLabel = default(string), PropertyMetadata TabLabelMetadata = default(PropertyMetadata), string TabOrder = default(string), PropertyMetadata TabOrderMetadata = default(PropertyMetadata), string TabType = default(string), PropertyMetadata TabTypeMetadata = default(PropertyMetadata), string TemplateLocked = default(string), PropertyMetadata TemplateLockedMetadata = default(PropertyMetadata), string TemplateRequired = default(string), PropertyMetadata TemplateRequiredMetadata = default(PropertyMetadata), string Tooltip = default(string), PropertyMetadata ToolTipMetadata = default(PropertyMetadata), string Underline = default(string), PropertyMetadata UnderlineMetadata = default(PropertyMetadata), string ValidationMessage = default(string), PropertyMetadata ValidationMessageMetadata = default(PropertyMetadata), string ValidationPattern = default(string), PropertyMetadata ValidationPatternMetadata = default(PropertyMetadata), string Value = default(string), PropertyMetadata ValueMetadata = default(PropertyMetadata), ErrorDetails WarningDetails = default(ErrorDetails), string Width = default(string), PropertyMetadata WidthMetadata = default(PropertyMetadata), string XPosition = default(string), PropertyMetadata XPositionMetadata = default(PropertyMetadata), string YPosition = default(string), PropertyMetadata YPositionMetadata = default(PropertyMetadata)) { this.AgreementAttribute = AgreementAttribute; this.AgreementAttributeLocked = AgreementAttributeLocked; @@ -175,6 +176,7 @@ public Date() this.AnchorStringMetadata = AnchorStringMetadata; this.AnchorTabProcessorVersion = AnchorTabProcessorVersion; this.AnchorTabProcessorVersionMetadata = AnchorTabProcessorVersionMetadata; + this.AnchorTabScope = AnchorTabScope; this.AnchorUnits = AnchorUnits; this.AnchorUnitsMetadata = AnchorUnitsMetadata; this.AnchorXOffset = AnchorXOffset; @@ -376,6 +378,11 @@ public Date() [DataMember(Name="anchorTabProcessorVersionMetadata", EmitDefaultValue=false)] public PropertyMetadata AnchorTabProcessorVersionMetadata { get; set; } /// + /// Gets or Sets AnchorTabScope + /// + [DataMember(Name="anchorTabScope", EmitDefaultValue=false)] + public string AnchorTabScope { get; set; } + /// /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. /// /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. @@ -1017,6 +1024,7 @@ public override string ToString() sb.Append(" AnchorStringMetadata: ").Append(AnchorStringMetadata).Append("\n"); sb.Append(" AnchorTabProcessorVersion: ").Append(AnchorTabProcessorVersion).Append("\n"); sb.Append(" AnchorTabProcessorVersionMetadata: ").Append(AnchorTabProcessorVersionMetadata).Append("\n"); + sb.Append(" AnchorTabScope: ").Append(AnchorTabScope).Append("\n"); sb.Append(" AnchorUnits: ").Append(AnchorUnits).Append("\n"); sb.Append(" AnchorUnitsMetadata: ").Append(AnchorUnitsMetadata).Append("\n"); sb.Append(" AnchorXOffset: ").Append(AnchorXOffset).Append("\n"); @@ -1239,6 +1247,11 @@ public bool Equals(Date other) this.AnchorTabProcessorVersionMetadata != null && this.AnchorTabProcessorVersionMetadata.Equals(other.AnchorTabProcessorVersionMetadata) ) && + ( + this.AnchorTabScope == other.AnchorTabScope || + this.AnchorTabScope != null && + this.AnchorTabScope.Equals(other.AnchorTabScope) + ) && ( this.AnchorUnits == other.AnchorUnits || this.AnchorUnits != null && @@ -1814,6 +1827,8 @@ public override int GetHashCode() hash = hash * 59 + this.AnchorTabProcessorVersion.GetHashCode(); if (this.AnchorTabProcessorVersionMetadata != null) hash = hash * 59 + this.AnchorTabProcessorVersionMetadata.GetHashCode(); + if (this.AnchorTabScope != null) + hash = hash * 59 + this.AnchorTabScope.GetHashCode(); if (this.AnchorUnits != null) hash = hash * 59 + this.AnchorUnits.GetHashCode(); if (this.AnchorUnitsMetadata != null) diff --git a/sdk/src/DocuSign.eSign/Model/DateSigned.cs b/sdk/src/DocuSign.eSign/Model/DateSigned.cs index e1f464e8c..9b54c9efd 100644 --- a/sdk/src/DocuSign.eSign/Model/DateSigned.cs +++ b/sdk/src/DocuSign.eSign/Model/DateSigned.cs @@ -51,6 +51,7 @@ public DateSigned() /// Metadata that indicates whether the `anchorString` property is editable.. /// AnchorTabProcessorVersion. /// Reserved for DocuSign.. + /// AnchorTabScope. /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.. /// Metadata that indicates whether the `anchorUnits` property is editable.. /// Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.. @@ -132,7 +133,7 @@ public DateSigned() /// Metadata that indicates whether the `xPosition` property is editable.. /// This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.. /// Metadata that indicates whether the `yPosition` property is editable.. - public DateSigned(string AgreementAttribute = default(string), string AgreementAttributeLocked = default(string), string AnchorAllowWhiteSpaceInCharacters = default(string), PropertyMetadata AnchorAllowWhiteSpaceInCharactersMetadata = default(PropertyMetadata), string AnchorCaseSensitive = default(string), PropertyMetadata AnchorCaseSensitiveMetadata = default(PropertyMetadata), string AnchorHorizontalAlignment = default(string), PropertyMetadata AnchorHorizontalAlignmentMetadata = default(PropertyMetadata), string AnchorIgnoreIfNotPresent = default(string), PropertyMetadata AnchorIgnoreIfNotPresentMetadata = default(PropertyMetadata), string AnchorMatchWholeWord = default(string), PropertyMetadata AnchorMatchWholeWordMetadata = default(PropertyMetadata), string AnchorString = default(string), PropertyMetadata AnchorStringMetadata = default(PropertyMetadata), string AnchorTabProcessorVersion = default(string), PropertyMetadata AnchorTabProcessorVersionMetadata = default(PropertyMetadata), string AnchorUnits = default(string), PropertyMetadata AnchorUnitsMetadata = default(PropertyMetadata), string AnchorXOffset = default(string), PropertyMetadata AnchorXOffsetMetadata = default(PropertyMetadata), string AnchorYOffset = default(string), PropertyMetadata AnchorYOffsetMetadata = default(PropertyMetadata), string Bold = default(string), PropertyMetadata BoldMetadata = default(PropertyMetadata), string Caption = default(string), PropertyMetadata CaptionMetadata = default(PropertyMetadata), string ConditionalParentLabel = default(string), PropertyMetadata ConditionalParentLabelMetadata = default(PropertyMetadata), string ConditionalParentValue = default(string), PropertyMetadata ConditionalParentValueMetadata = default(PropertyMetadata), ConnectedObjectDetails ConnectedObjectDetails = default(ConnectedObjectDetails), string CustomTabId = default(string), PropertyMetadata CustomTabIdMetadata = default(PropertyMetadata), string DocumentId = default(string), PropertyMetadata DocumentIdMetadata = default(PropertyMetadata), ErrorDetails ErrorDetails = default(ErrorDetails), ExtensionData ExtensionData = default(ExtensionData), string Font = default(string), string FontColor = default(string), PropertyMetadata FontColorMetadata = default(PropertyMetadata), PropertyMetadata FontMetadata = default(PropertyMetadata), string FontSize = default(string), PropertyMetadata FontSizeMetadata = default(PropertyMetadata), string FormOrder = default(string), PropertyMetadata FormOrderMetadata = default(PropertyMetadata), string FormPageLabel = default(string), PropertyMetadata FormPageLabelMetadata = default(PropertyMetadata), string FormPageNumber = default(string), PropertyMetadata FormPageNumberMetadata = default(PropertyMetadata), string Height = default(string), PropertyMetadata HeightMetadata = default(PropertyMetadata), string Italic = default(string), PropertyMetadata ItalicMetadata = default(PropertyMetadata), LocalePolicyTab LocalePolicy = default(LocalePolicyTab), MergeField MergeField = default(MergeField), string MergeFieldXml = default(string), string Name = default(string), PropertyMetadata NameMetadata = default(PropertyMetadata), string PageNumber = default(string), PropertyMetadata PageNumberMetadata = default(PropertyMetadata), string RecipientId = default(string), string RecipientIdGuid = default(string), PropertyMetadata RecipientIdGuidMetadata = default(PropertyMetadata), PropertyMetadata RecipientIdMetadata = default(PropertyMetadata), SmartContractInformation SmartContractInformation = default(SmartContractInformation), string Source = default(string), string Status = default(string), PropertyMetadata StatusMetadata = default(PropertyMetadata), string TabFullyQualifiedPath = default(string), List TabGroupLabels = default(List), PropertyMetadata TabGroupLabelsMetadata = default(PropertyMetadata), string TabId = default(string), PropertyMetadata TabIdMetadata = default(PropertyMetadata), string TabLabel = default(string), PropertyMetadata TabLabelMetadata = default(PropertyMetadata), string TabOrder = default(string), PropertyMetadata TabOrderMetadata = default(PropertyMetadata), string TabType = default(string), PropertyMetadata TabTypeMetadata = default(PropertyMetadata), string TemplateLocked = default(string), PropertyMetadata TemplateLockedMetadata = default(PropertyMetadata), string TemplateRequired = default(string), PropertyMetadata TemplateRequiredMetadata = default(PropertyMetadata), string TimestampStandardized = default(string), string Tooltip = default(string), PropertyMetadata ToolTipMetadata = default(PropertyMetadata), string Underline = default(string), PropertyMetadata UnderlineMetadata = default(PropertyMetadata), string Value = default(string), PropertyMetadata ValueMetadata = default(PropertyMetadata), ErrorDetails WarningDetails = default(ErrorDetails), string Width = default(string), PropertyMetadata WidthMetadata = default(PropertyMetadata), string XPosition = default(string), PropertyMetadata XPositionMetadata = default(PropertyMetadata), string YPosition = default(string), PropertyMetadata YPositionMetadata = default(PropertyMetadata)) + public DateSigned(string AgreementAttribute = default(string), string AgreementAttributeLocked = default(string), string AnchorAllowWhiteSpaceInCharacters = default(string), PropertyMetadata AnchorAllowWhiteSpaceInCharactersMetadata = default(PropertyMetadata), string AnchorCaseSensitive = default(string), PropertyMetadata AnchorCaseSensitiveMetadata = default(PropertyMetadata), string AnchorHorizontalAlignment = default(string), PropertyMetadata AnchorHorizontalAlignmentMetadata = default(PropertyMetadata), string AnchorIgnoreIfNotPresent = default(string), PropertyMetadata AnchorIgnoreIfNotPresentMetadata = default(PropertyMetadata), string AnchorMatchWholeWord = default(string), PropertyMetadata AnchorMatchWholeWordMetadata = default(PropertyMetadata), string AnchorString = default(string), PropertyMetadata AnchorStringMetadata = default(PropertyMetadata), string AnchorTabProcessorVersion = default(string), PropertyMetadata AnchorTabProcessorVersionMetadata = default(PropertyMetadata), string AnchorTabScope = default(string), string AnchorUnits = default(string), PropertyMetadata AnchorUnitsMetadata = default(PropertyMetadata), string AnchorXOffset = default(string), PropertyMetadata AnchorXOffsetMetadata = default(PropertyMetadata), string AnchorYOffset = default(string), PropertyMetadata AnchorYOffsetMetadata = default(PropertyMetadata), string Bold = default(string), PropertyMetadata BoldMetadata = default(PropertyMetadata), string Caption = default(string), PropertyMetadata CaptionMetadata = default(PropertyMetadata), string ConditionalParentLabel = default(string), PropertyMetadata ConditionalParentLabelMetadata = default(PropertyMetadata), string ConditionalParentValue = default(string), PropertyMetadata ConditionalParentValueMetadata = default(PropertyMetadata), ConnectedObjectDetails ConnectedObjectDetails = default(ConnectedObjectDetails), string CustomTabId = default(string), PropertyMetadata CustomTabIdMetadata = default(PropertyMetadata), string DocumentId = default(string), PropertyMetadata DocumentIdMetadata = default(PropertyMetadata), ErrorDetails ErrorDetails = default(ErrorDetails), ExtensionData ExtensionData = default(ExtensionData), string Font = default(string), string FontColor = default(string), PropertyMetadata FontColorMetadata = default(PropertyMetadata), PropertyMetadata FontMetadata = default(PropertyMetadata), string FontSize = default(string), PropertyMetadata FontSizeMetadata = default(PropertyMetadata), string FormOrder = default(string), PropertyMetadata FormOrderMetadata = default(PropertyMetadata), string FormPageLabel = default(string), PropertyMetadata FormPageLabelMetadata = default(PropertyMetadata), string FormPageNumber = default(string), PropertyMetadata FormPageNumberMetadata = default(PropertyMetadata), string Height = default(string), PropertyMetadata HeightMetadata = default(PropertyMetadata), string Italic = default(string), PropertyMetadata ItalicMetadata = default(PropertyMetadata), LocalePolicyTab LocalePolicy = default(LocalePolicyTab), MergeField MergeField = default(MergeField), string MergeFieldXml = default(string), string Name = default(string), PropertyMetadata NameMetadata = default(PropertyMetadata), string PageNumber = default(string), PropertyMetadata PageNumberMetadata = default(PropertyMetadata), string RecipientId = default(string), string RecipientIdGuid = default(string), PropertyMetadata RecipientIdGuidMetadata = default(PropertyMetadata), PropertyMetadata RecipientIdMetadata = default(PropertyMetadata), SmartContractInformation SmartContractInformation = default(SmartContractInformation), string Source = default(string), string Status = default(string), PropertyMetadata StatusMetadata = default(PropertyMetadata), string TabFullyQualifiedPath = default(string), List TabGroupLabels = default(List), PropertyMetadata TabGroupLabelsMetadata = default(PropertyMetadata), string TabId = default(string), PropertyMetadata TabIdMetadata = default(PropertyMetadata), string TabLabel = default(string), PropertyMetadata TabLabelMetadata = default(PropertyMetadata), string TabOrder = default(string), PropertyMetadata TabOrderMetadata = default(PropertyMetadata), string TabType = default(string), PropertyMetadata TabTypeMetadata = default(PropertyMetadata), string TemplateLocked = default(string), PropertyMetadata TemplateLockedMetadata = default(PropertyMetadata), string TemplateRequired = default(string), PropertyMetadata TemplateRequiredMetadata = default(PropertyMetadata), string TimestampStandardized = default(string), string Tooltip = default(string), PropertyMetadata ToolTipMetadata = default(PropertyMetadata), string Underline = default(string), PropertyMetadata UnderlineMetadata = default(PropertyMetadata), string Value = default(string), PropertyMetadata ValueMetadata = default(PropertyMetadata), ErrorDetails WarningDetails = default(ErrorDetails), string Width = default(string), PropertyMetadata WidthMetadata = default(PropertyMetadata), string XPosition = default(string), PropertyMetadata XPositionMetadata = default(PropertyMetadata), string YPosition = default(string), PropertyMetadata YPositionMetadata = default(PropertyMetadata)) { this.AgreementAttribute = AgreementAttribute; this.AgreementAttributeLocked = AgreementAttributeLocked; @@ -150,6 +151,7 @@ public DateSigned() this.AnchorStringMetadata = AnchorStringMetadata; this.AnchorTabProcessorVersion = AnchorTabProcessorVersion; this.AnchorTabProcessorVersionMetadata = AnchorTabProcessorVersionMetadata; + this.AnchorTabScope = AnchorTabScope; this.AnchorUnits = AnchorUnits; this.AnchorUnitsMetadata = AnchorUnitsMetadata; this.AnchorXOffset = AnchorXOffset; @@ -326,6 +328,11 @@ public DateSigned() [DataMember(Name="anchorTabProcessorVersionMetadata", EmitDefaultValue=false)] public PropertyMetadata AnchorTabProcessorVersionMetadata { get; set; } /// + /// Gets or Sets AnchorTabScope + /// + [DataMember(Name="anchorTabScope", EmitDefaultValue=false)] + public string AnchorTabScope { get; set; } + /// /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. /// /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. @@ -817,6 +824,7 @@ public override string ToString() sb.Append(" AnchorStringMetadata: ").Append(AnchorStringMetadata).Append("\n"); sb.Append(" AnchorTabProcessorVersion: ").Append(AnchorTabProcessorVersion).Append("\n"); sb.Append(" AnchorTabProcessorVersionMetadata: ").Append(AnchorTabProcessorVersionMetadata).Append("\n"); + sb.Append(" AnchorTabScope: ").Append(AnchorTabScope).Append("\n"); sb.Append(" AnchorUnits: ").Append(AnchorUnits).Append("\n"); sb.Append(" AnchorUnitsMetadata: ").Append(AnchorUnitsMetadata).Append("\n"); sb.Append(" AnchorXOffset: ").Append(AnchorXOffset).Append("\n"); @@ -1014,6 +1022,11 @@ public bool Equals(DateSigned other) this.AnchorTabProcessorVersionMetadata != null && this.AnchorTabProcessorVersionMetadata.Equals(other.AnchorTabProcessorVersionMetadata) ) && + ( + this.AnchorTabScope == other.AnchorTabScope || + this.AnchorTabScope != null && + this.AnchorTabScope.Equals(other.AnchorTabScope) + ) && ( this.AnchorUnits == other.AnchorUnits || this.AnchorUnits != null && @@ -1464,6 +1477,8 @@ public override int GetHashCode() hash = hash * 59 + this.AnchorTabProcessorVersion.GetHashCode(); if (this.AnchorTabProcessorVersionMetadata != null) hash = hash * 59 + this.AnchorTabProcessorVersionMetadata.GetHashCode(); + if (this.AnchorTabScope != null) + hash = hash * 59 + this.AnchorTabScope.GetHashCode(); if (this.AnchorUnits != null) hash = hash * 59 + this.AnchorUnits.GetHashCode(); if (this.AnchorUnitsMetadata != null) diff --git a/sdk/src/DocuSign.eSign/Model/Decline.cs b/sdk/src/DocuSign.eSign/Model/Decline.cs index fbb38879b..e099f711f 100644 --- a/sdk/src/DocuSign.eSign/Model/Decline.cs +++ b/sdk/src/DocuSign.eSign/Model/Decline.cs @@ -51,6 +51,7 @@ public Decline() /// Metadata that indicates whether the `anchorString` property is editable.. /// AnchorTabProcessorVersion. /// Reserved for DocuSign.. + /// AnchorTabScope. /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.. /// Metadata that indicates whether the `anchorUnits` property is editable.. /// Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.. @@ -131,7 +132,7 @@ public Decline() /// Metadata that indicates whether the `xPosition` property is editable.. /// This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.. /// Metadata that indicates whether the `yPosition` property is editable.. - public Decline(string AgreementAttribute = default(string), string AgreementAttributeLocked = default(string), string AnchorAllowWhiteSpaceInCharacters = default(string), PropertyMetadata AnchorAllowWhiteSpaceInCharactersMetadata = default(PropertyMetadata), string AnchorCaseSensitive = default(string), PropertyMetadata AnchorCaseSensitiveMetadata = default(PropertyMetadata), string AnchorHorizontalAlignment = default(string), PropertyMetadata AnchorHorizontalAlignmentMetadata = default(PropertyMetadata), string AnchorIgnoreIfNotPresent = default(string), PropertyMetadata AnchorIgnoreIfNotPresentMetadata = default(PropertyMetadata), string AnchorMatchWholeWord = default(string), PropertyMetadata AnchorMatchWholeWordMetadata = default(PropertyMetadata), string AnchorString = default(string), PropertyMetadata AnchorStringMetadata = default(PropertyMetadata), string AnchorTabProcessorVersion = default(string), PropertyMetadata AnchorTabProcessorVersionMetadata = default(PropertyMetadata), string AnchorUnits = default(string), PropertyMetadata AnchorUnitsMetadata = default(PropertyMetadata), string AnchorXOffset = default(string), PropertyMetadata AnchorXOffsetMetadata = default(PropertyMetadata), string AnchorYOffset = default(string), PropertyMetadata AnchorYOffsetMetadata = default(PropertyMetadata), string Bold = default(string), PropertyMetadata BoldMetadata = default(PropertyMetadata), string ButtonText = default(string), PropertyMetadata ButtonTextMetadata = default(PropertyMetadata), string Caption = default(string), PropertyMetadata CaptionMetadata = default(PropertyMetadata), string ConditionalParentLabel = default(string), PropertyMetadata ConditionalParentLabelMetadata = default(PropertyMetadata), string ConditionalParentValue = default(string), PropertyMetadata ConditionalParentValueMetadata = default(PropertyMetadata), ConnectedObjectDetails ConnectedObjectDetails = default(ConnectedObjectDetails), string CustomTabId = default(string), PropertyMetadata CustomTabIdMetadata = default(PropertyMetadata), string DeclineReason = default(string), PropertyMetadata DeclineReasonMetadata = default(PropertyMetadata), string DocumentId = default(string), PropertyMetadata DocumentIdMetadata = default(PropertyMetadata), ErrorDetails ErrorDetails = default(ErrorDetails), ExtensionData ExtensionData = default(ExtensionData), string Font = default(string), string FontColor = default(string), PropertyMetadata FontColorMetadata = default(PropertyMetadata), PropertyMetadata FontMetadata = default(PropertyMetadata), string FontSize = default(string), PropertyMetadata FontSizeMetadata = default(PropertyMetadata), string FormOrder = default(string), PropertyMetadata FormOrderMetadata = default(PropertyMetadata), string FormPageLabel = default(string), PropertyMetadata FormPageLabelMetadata = default(PropertyMetadata), string FormPageNumber = default(string), PropertyMetadata FormPageNumberMetadata = default(PropertyMetadata), string Height = default(string), PropertyMetadata HeightMetadata = default(PropertyMetadata), string Italic = default(string), PropertyMetadata ItalicMetadata = default(PropertyMetadata), LocalePolicyTab LocalePolicy = default(LocalePolicyTab), MergeField MergeField = default(MergeField), string MergeFieldXml = default(string), string PageNumber = default(string), PropertyMetadata PageNumberMetadata = default(PropertyMetadata), string RecipientId = default(string), string RecipientIdGuid = default(string), PropertyMetadata RecipientIdGuidMetadata = default(PropertyMetadata), PropertyMetadata RecipientIdMetadata = default(PropertyMetadata), SmartContractInformation SmartContractInformation = default(SmartContractInformation), string Source = default(string), string Status = default(string), PropertyMetadata StatusMetadata = default(PropertyMetadata), string TabFullyQualifiedPath = default(string), List TabGroupLabels = default(List), PropertyMetadata TabGroupLabelsMetadata = default(PropertyMetadata), string TabId = default(string), PropertyMetadata TabIdMetadata = default(PropertyMetadata), string TabLabel = default(string), PropertyMetadata TabLabelMetadata = default(PropertyMetadata), string TabOrder = default(string), PropertyMetadata TabOrderMetadata = default(PropertyMetadata), string TabType = default(string), PropertyMetadata TabTypeMetadata = default(PropertyMetadata), string TemplateLocked = default(string), PropertyMetadata TemplateLockedMetadata = default(PropertyMetadata), string TemplateRequired = default(string), PropertyMetadata TemplateRequiredMetadata = default(PropertyMetadata), string Tooltip = default(string), PropertyMetadata ToolTipMetadata = default(PropertyMetadata), string Underline = default(string), PropertyMetadata UnderlineMetadata = default(PropertyMetadata), ErrorDetails WarningDetails = default(ErrorDetails), string Width = default(string), PropertyMetadata WidthMetadata = default(PropertyMetadata), string XPosition = default(string), PropertyMetadata XPositionMetadata = default(PropertyMetadata), string YPosition = default(string), PropertyMetadata YPositionMetadata = default(PropertyMetadata)) + public Decline(string AgreementAttribute = default(string), string AgreementAttributeLocked = default(string), string AnchorAllowWhiteSpaceInCharacters = default(string), PropertyMetadata AnchorAllowWhiteSpaceInCharactersMetadata = default(PropertyMetadata), string AnchorCaseSensitive = default(string), PropertyMetadata AnchorCaseSensitiveMetadata = default(PropertyMetadata), string AnchorHorizontalAlignment = default(string), PropertyMetadata AnchorHorizontalAlignmentMetadata = default(PropertyMetadata), string AnchorIgnoreIfNotPresent = default(string), PropertyMetadata AnchorIgnoreIfNotPresentMetadata = default(PropertyMetadata), string AnchorMatchWholeWord = default(string), PropertyMetadata AnchorMatchWholeWordMetadata = default(PropertyMetadata), string AnchorString = default(string), PropertyMetadata AnchorStringMetadata = default(PropertyMetadata), string AnchorTabProcessorVersion = default(string), PropertyMetadata AnchorTabProcessorVersionMetadata = default(PropertyMetadata), string AnchorTabScope = default(string), string AnchorUnits = default(string), PropertyMetadata AnchorUnitsMetadata = default(PropertyMetadata), string AnchorXOffset = default(string), PropertyMetadata AnchorXOffsetMetadata = default(PropertyMetadata), string AnchorYOffset = default(string), PropertyMetadata AnchorYOffsetMetadata = default(PropertyMetadata), string Bold = default(string), PropertyMetadata BoldMetadata = default(PropertyMetadata), string ButtonText = default(string), PropertyMetadata ButtonTextMetadata = default(PropertyMetadata), string Caption = default(string), PropertyMetadata CaptionMetadata = default(PropertyMetadata), string ConditionalParentLabel = default(string), PropertyMetadata ConditionalParentLabelMetadata = default(PropertyMetadata), string ConditionalParentValue = default(string), PropertyMetadata ConditionalParentValueMetadata = default(PropertyMetadata), ConnectedObjectDetails ConnectedObjectDetails = default(ConnectedObjectDetails), string CustomTabId = default(string), PropertyMetadata CustomTabIdMetadata = default(PropertyMetadata), string DeclineReason = default(string), PropertyMetadata DeclineReasonMetadata = default(PropertyMetadata), string DocumentId = default(string), PropertyMetadata DocumentIdMetadata = default(PropertyMetadata), ErrorDetails ErrorDetails = default(ErrorDetails), ExtensionData ExtensionData = default(ExtensionData), string Font = default(string), string FontColor = default(string), PropertyMetadata FontColorMetadata = default(PropertyMetadata), PropertyMetadata FontMetadata = default(PropertyMetadata), string FontSize = default(string), PropertyMetadata FontSizeMetadata = default(PropertyMetadata), string FormOrder = default(string), PropertyMetadata FormOrderMetadata = default(PropertyMetadata), string FormPageLabel = default(string), PropertyMetadata FormPageLabelMetadata = default(PropertyMetadata), string FormPageNumber = default(string), PropertyMetadata FormPageNumberMetadata = default(PropertyMetadata), string Height = default(string), PropertyMetadata HeightMetadata = default(PropertyMetadata), string Italic = default(string), PropertyMetadata ItalicMetadata = default(PropertyMetadata), LocalePolicyTab LocalePolicy = default(LocalePolicyTab), MergeField MergeField = default(MergeField), string MergeFieldXml = default(string), string PageNumber = default(string), PropertyMetadata PageNumberMetadata = default(PropertyMetadata), string RecipientId = default(string), string RecipientIdGuid = default(string), PropertyMetadata RecipientIdGuidMetadata = default(PropertyMetadata), PropertyMetadata RecipientIdMetadata = default(PropertyMetadata), SmartContractInformation SmartContractInformation = default(SmartContractInformation), string Source = default(string), string Status = default(string), PropertyMetadata StatusMetadata = default(PropertyMetadata), string TabFullyQualifiedPath = default(string), List TabGroupLabels = default(List), PropertyMetadata TabGroupLabelsMetadata = default(PropertyMetadata), string TabId = default(string), PropertyMetadata TabIdMetadata = default(PropertyMetadata), string TabLabel = default(string), PropertyMetadata TabLabelMetadata = default(PropertyMetadata), string TabOrder = default(string), PropertyMetadata TabOrderMetadata = default(PropertyMetadata), string TabType = default(string), PropertyMetadata TabTypeMetadata = default(PropertyMetadata), string TemplateLocked = default(string), PropertyMetadata TemplateLockedMetadata = default(PropertyMetadata), string TemplateRequired = default(string), PropertyMetadata TemplateRequiredMetadata = default(PropertyMetadata), string Tooltip = default(string), PropertyMetadata ToolTipMetadata = default(PropertyMetadata), string Underline = default(string), PropertyMetadata UnderlineMetadata = default(PropertyMetadata), ErrorDetails WarningDetails = default(ErrorDetails), string Width = default(string), PropertyMetadata WidthMetadata = default(PropertyMetadata), string XPosition = default(string), PropertyMetadata XPositionMetadata = default(PropertyMetadata), string YPosition = default(string), PropertyMetadata YPositionMetadata = default(PropertyMetadata)) { this.AgreementAttribute = AgreementAttribute; this.AgreementAttributeLocked = AgreementAttributeLocked; @@ -149,6 +150,7 @@ public Decline() this.AnchorStringMetadata = AnchorStringMetadata; this.AnchorTabProcessorVersion = AnchorTabProcessorVersion; this.AnchorTabProcessorVersionMetadata = AnchorTabProcessorVersionMetadata; + this.AnchorTabScope = AnchorTabScope; this.AnchorUnits = AnchorUnits; this.AnchorUnitsMetadata = AnchorUnitsMetadata; this.AnchorXOffset = AnchorXOffset; @@ -324,6 +326,11 @@ public Decline() [DataMember(Name="anchorTabProcessorVersionMetadata", EmitDefaultValue=false)] public PropertyMetadata AnchorTabProcessorVersionMetadata { get; set; } /// + /// Gets or Sets AnchorTabScope + /// + [DataMember(Name="anchorTabScope", EmitDefaultValue=false)] + public string AnchorTabScope { get; set; } + /// /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. /// /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. @@ -811,6 +818,7 @@ public override string ToString() sb.Append(" AnchorStringMetadata: ").Append(AnchorStringMetadata).Append("\n"); sb.Append(" AnchorTabProcessorVersion: ").Append(AnchorTabProcessorVersion).Append("\n"); sb.Append(" AnchorTabProcessorVersionMetadata: ").Append(AnchorTabProcessorVersionMetadata).Append("\n"); + sb.Append(" AnchorTabScope: ").Append(AnchorTabScope).Append("\n"); sb.Append(" AnchorUnits: ").Append(AnchorUnits).Append("\n"); sb.Append(" AnchorUnitsMetadata: ").Append(AnchorUnitsMetadata).Append("\n"); sb.Append(" AnchorXOffset: ").Append(AnchorXOffset).Append("\n"); @@ -1007,6 +1015,11 @@ public bool Equals(Decline other) this.AnchorTabProcessorVersionMetadata != null && this.AnchorTabProcessorVersionMetadata.Equals(other.AnchorTabProcessorVersionMetadata) ) && + ( + this.AnchorTabScope == other.AnchorTabScope || + this.AnchorTabScope != null && + this.AnchorTabScope.Equals(other.AnchorTabScope) + ) && ( this.AnchorUnits == other.AnchorUnits || this.AnchorUnits != null && @@ -1452,6 +1465,8 @@ public override int GetHashCode() hash = hash * 59 + this.AnchorTabProcessorVersion.GetHashCode(); if (this.AnchorTabProcessorVersionMetadata != null) hash = hash * 59 + this.AnchorTabProcessorVersionMetadata.GetHashCode(); + if (this.AnchorTabScope != null) + hash = hash * 59 + this.AnchorTabScope.GetHashCode(); if (this.AnchorUnits != null) hash = hash * 59 + this.AnchorUnits.GetHashCode(); if (this.AnchorUnitsMetadata != null) diff --git a/sdk/src/DocuSign.eSign/Model/DocGenFormField.cs b/sdk/src/DocuSign.eSign/Model/DocGenFormField.cs index 9802d6c7e..d06b5c84e 100644 --- a/sdk/src/DocuSign.eSign/Model/DocGenFormField.cs +++ b/sdk/src/DocuSign.eSign/Model/DocGenFormField.cs @@ -36,6 +36,7 @@ public DocGenFormField() /// Initializes a new instance of the class. /// /// ConnectedObjectDetails. + /// DefaultValue. /// Description. /// Format. /// FullyQualifiedPath. @@ -51,9 +52,10 @@ public DocGenFormField() /// Type. /// Validation. /// Specifies the value of the tab. . - public DocGenFormField(ConnectedObjectDetails ConnectedObjectDetails = default(ConnectedObjectDetails), string Description = default(string), DocGenFormat Format = default(DocGenFormat), string FullyQualifiedPath = default(string), string Hidden = default(string), string Label = default(string), string Name = default(string), List Options = default(List), string Order = default(string), string PredefinedValidation = default(string), string ReadOnly = default(string), string Required = default(string), List RowValues = default(List), string Type = default(string), DocGenFormFieldValidation Validation = default(DocGenFormFieldValidation), string Value = default(string)) + public DocGenFormField(ConnectedObjectDetails ConnectedObjectDetails = default(ConnectedObjectDetails), string DefaultValue = default(string), string Description = default(string), DocGenFormat Format = default(DocGenFormat), string FullyQualifiedPath = default(string), string Hidden = default(string), string Label = default(string), string Name = default(string), List Options = default(List), string Order = default(string), string PredefinedValidation = default(string), string ReadOnly = default(string), string Required = default(string), List RowValues = default(List), string Type = default(string), DocGenFormFieldValidation Validation = default(DocGenFormFieldValidation), string Value = default(string)) { this.ConnectedObjectDetails = ConnectedObjectDetails; + this.DefaultValue = DefaultValue; this.Description = Description; this.Format = Format; this.FullyQualifiedPath = FullyQualifiedPath; @@ -77,6 +79,11 @@ public DocGenFormField() [DataMember(Name="connectedObjectDetails", EmitDefaultValue=false)] public ConnectedObjectDetails ConnectedObjectDetails { get; set; } /// + /// Gets or Sets DefaultValue + /// + [DataMember(Name="defaultValue", EmitDefaultValue=false)] + public string DefaultValue { get; set; } + /// /// Gets or Sets Description /// [DataMember(Name="description", EmitDefaultValue=false)] @@ -162,6 +169,7 @@ public override string ToString() var sb = new StringBuilder(); sb.Append("class DocGenFormField {\n"); sb.Append(" ConnectedObjectDetails: ").Append(ConnectedObjectDetails).Append("\n"); + sb.Append(" DefaultValue: ").Append(DefaultValue).Append("\n"); sb.Append(" Description: ").Append(Description).Append("\n"); sb.Append(" Format: ").Append(Format).Append("\n"); sb.Append(" FullyQualifiedPath: ").Append(FullyQualifiedPath).Append("\n"); @@ -218,6 +226,11 @@ public bool Equals(DocGenFormField other) this.ConnectedObjectDetails != null && this.ConnectedObjectDetails.Equals(other.ConnectedObjectDetails) ) && + ( + this.DefaultValue == other.DefaultValue || + this.DefaultValue != null && + this.DefaultValue.Equals(other.DefaultValue) + ) && ( this.Description == other.Description || this.Description != null && @@ -308,6 +321,8 @@ public override int GetHashCode() // Suitable nullity checks etc, of course :) if (this.ConnectedObjectDetails != null) hash = hash * 59 + this.ConnectedObjectDetails.GetHashCode(); + if (this.DefaultValue != null) + hash = hash * 59 + this.DefaultValue.GetHashCode(); if (this.Description != null) hash = hash * 59 + this.Description.GetHashCode(); if (this.Format != null) diff --git a/sdk/src/DocuSign.eSign/Model/Draw.cs b/sdk/src/DocuSign.eSign/Model/Draw.cs index 5cfc351f7..2249b136c 100644 --- a/sdk/src/DocuSign.eSign/Model/Draw.cs +++ b/sdk/src/DocuSign.eSign/Model/Draw.cs @@ -52,6 +52,7 @@ public Draw() /// Metadata that indicates whether the `anchorString` property is editable.. /// AnchorTabProcessorVersion. /// Reserved for DocuSign.. + /// AnchorTabScope. /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.. /// Metadata that indicates whether the `anchorUnits` property is editable.. /// Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.. @@ -121,7 +122,7 @@ public Draw() /// Metadata that indicates whether the `xPosition` property is editable.. /// This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.. /// Metadata that indicates whether the `yPosition` property is editable.. - public Draw(string AgreementAttribute = default(string), string AgreementAttributeLocked = default(string), string AllowSignerUpload = default(string), string AnchorAllowWhiteSpaceInCharacters = default(string), PropertyMetadata AnchorAllowWhiteSpaceInCharactersMetadata = default(PropertyMetadata), string AnchorCaseSensitive = default(string), PropertyMetadata AnchorCaseSensitiveMetadata = default(PropertyMetadata), string AnchorHorizontalAlignment = default(string), PropertyMetadata AnchorHorizontalAlignmentMetadata = default(PropertyMetadata), string AnchorIgnoreIfNotPresent = default(string), PropertyMetadata AnchorIgnoreIfNotPresentMetadata = default(PropertyMetadata), string AnchorMatchWholeWord = default(string), PropertyMetadata AnchorMatchWholeWordMetadata = default(PropertyMetadata), string AnchorString = default(string), PropertyMetadata AnchorStringMetadata = default(PropertyMetadata), string AnchorTabProcessorVersion = default(string), PropertyMetadata AnchorTabProcessorVersionMetadata = default(PropertyMetadata), string AnchorUnits = default(string), PropertyMetadata AnchorUnitsMetadata = default(PropertyMetadata), string AnchorXOffset = default(string), PropertyMetadata AnchorXOffsetMetadata = default(PropertyMetadata), string AnchorYOffset = default(string), PropertyMetadata AnchorYOffsetMetadata = default(PropertyMetadata), string Caption = default(string), PropertyMetadata CaptionMetadata = default(PropertyMetadata), string ConditionalParentLabel = default(string), PropertyMetadata ConditionalParentLabelMetadata = default(PropertyMetadata), string ConditionalParentValue = default(string), PropertyMetadata ConditionalParentValueMetadata = default(PropertyMetadata), ConnectedObjectDetails ConnectedObjectDetails = default(ConnectedObjectDetails), string CustomTabId = default(string), PropertyMetadata CustomTabIdMetadata = default(PropertyMetadata), string DocumentId = default(string), PropertyMetadata DocumentIdMetadata = default(PropertyMetadata), ErrorDetails ErrorDetails = default(ErrorDetails), ExtensionData ExtensionData = default(ExtensionData), string FormOrder = default(string), PropertyMetadata FormOrderMetadata = default(PropertyMetadata), string FormPageLabel = default(string), PropertyMetadata FormPageLabelMetadata = default(PropertyMetadata), string FormPageNumber = default(string), PropertyMetadata FormPageNumberMetadata = default(PropertyMetadata), string Height = default(string), PropertyMetadata HeightMetadata = default(PropertyMetadata), string Locked = default(string), PropertyMetadata LockedMetadata = default(PropertyMetadata), MergeField MergeField = default(MergeField), string MergeFieldXml = default(string), string PageNumber = default(string), PropertyMetadata PageNumberMetadata = default(PropertyMetadata), string RecipientId = default(string), string RecipientIdGuid = default(string), PropertyMetadata RecipientIdGuidMetadata = default(PropertyMetadata), PropertyMetadata RecipientIdMetadata = default(PropertyMetadata), string Required = default(string), PropertyMetadata RequiredMetadata = default(PropertyMetadata), string Shared = default(string), PropertyMetadata SharedMetadata = default(PropertyMetadata), SmartContractInformation SmartContractInformation = default(SmartContractInformation), string Source = default(string), string Status = default(string), PropertyMetadata StatusMetadata = default(PropertyMetadata), string TabFullyQualifiedPath = default(string), List TabGroupLabels = default(List), PropertyMetadata TabGroupLabelsMetadata = default(PropertyMetadata), string TabId = default(string), PropertyMetadata TabIdMetadata = default(PropertyMetadata), PropertyMetadata TabLabelMetadata = default(PropertyMetadata), string TabOrder = default(string), PropertyMetadata TabOrderMetadata = default(PropertyMetadata), string TabType = default(string), PropertyMetadata TabTypeMetadata = default(PropertyMetadata), string TemplateLocked = default(string), PropertyMetadata TemplateLockedMetadata = default(PropertyMetadata), string TemplateRequired = default(string), PropertyMetadata TemplateRequiredMetadata = default(PropertyMetadata), string Tooltip = default(string), PropertyMetadata ToolTipMetadata = default(PropertyMetadata), string UseBackgroundAsCanvas = default(string), ErrorDetails WarningDetails = default(ErrorDetails), string Width = default(string), PropertyMetadata WidthMetadata = default(PropertyMetadata), string XPosition = default(string), PropertyMetadata XPositionMetadata = default(PropertyMetadata), string YPosition = default(string), PropertyMetadata YPositionMetadata = default(PropertyMetadata)) + public Draw(string AgreementAttribute = default(string), string AgreementAttributeLocked = default(string), string AllowSignerUpload = default(string), string AnchorAllowWhiteSpaceInCharacters = default(string), PropertyMetadata AnchorAllowWhiteSpaceInCharactersMetadata = default(PropertyMetadata), string AnchorCaseSensitive = default(string), PropertyMetadata AnchorCaseSensitiveMetadata = default(PropertyMetadata), string AnchorHorizontalAlignment = default(string), PropertyMetadata AnchorHorizontalAlignmentMetadata = default(PropertyMetadata), string AnchorIgnoreIfNotPresent = default(string), PropertyMetadata AnchorIgnoreIfNotPresentMetadata = default(PropertyMetadata), string AnchorMatchWholeWord = default(string), PropertyMetadata AnchorMatchWholeWordMetadata = default(PropertyMetadata), string AnchorString = default(string), PropertyMetadata AnchorStringMetadata = default(PropertyMetadata), string AnchorTabProcessorVersion = default(string), PropertyMetadata AnchorTabProcessorVersionMetadata = default(PropertyMetadata), string AnchorTabScope = default(string), string AnchorUnits = default(string), PropertyMetadata AnchorUnitsMetadata = default(PropertyMetadata), string AnchorXOffset = default(string), PropertyMetadata AnchorXOffsetMetadata = default(PropertyMetadata), string AnchorYOffset = default(string), PropertyMetadata AnchorYOffsetMetadata = default(PropertyMetadata), string Caption = default(string), PropertyMetadata CaptionMetadata = default(PropertyMetadata), string ConditionalParentLabel = default(string), PropertyMetadata ConditionalParentLabelMetadata = default(PropertyMetadata), string ConditionalParentValue = default(string), PropertyMetadata ConditionalParentValueMetadata = default(PropertyMetadata), ConnectedObjectDetails ConnectedObjectDetails = default(ConnectedObjectDetails), string CustomTabId = default(string), PropertyMetadata CustomTabIdMetadata = default(PropertyMetadata), string DocumentId = default(string), PropertyMetadata DocumentIdMetadata = default(PropertyMetadata), ErrorDetails ErrorDetails = default(ErrorDetails), ExtensionData ExtensionData = default(ExtensionData), string FormOrder = default(string), PropertyMetadata FormOrderMetadata = default(PropertyMetadata), string FormPageLabel = default(string), PropertyMetadata FormPageLabelMetadata = default(PropertyMetadata), string FormPageNumber = default(string), PropertyMetadata FormPageNumberMetadata = default(PropertyMetadata), string Height = default(string), PropertyMetadata HeightMetadata = default(PropertyMetadata), string Locked = default(string), PropertyMetadata LockedMetadata = default(PropertyMetadata), MergeField MergeField = default(MergeField), string MergeFieldXml = default(string), string PageNumber = default(string), PropertyMetadata PageNumberMetadata = default(PropertyMetadata), string RecipientId = default(string), string RecipientIdGuid = default(string), PropertyMetadata RecipientIdGuidMetadata = default(PropertyMetadata), PropertyMetadata RecipientIdMetadata = default(PropertyMetadata), string Required = default(string), PropertyMetadata RequiredMetadata = default(PropertyMetadata), string Shared = default(string), PropertyMetadata SharedMetadata = default(PropertyMetadata), SmartContractInformation SmartContractInformation = default(SmartContractInformation), string Source = default(string), string Status = default(string), PropertyMetadata StatusMetadata = default(PropertyMetadata), string TabFullyQualifiedPath = default(string), List TabGroupLabels = default(List), PropertyMetadata TabGroupLabelsMetadata = default(PropertyMetadata), string TabId = default(string), PropertyMetadata TabIdMetadata = default(PropertyMetadata), PropertyMetadata TabLabelMetadata = default(PropertyMetadata), string TabOrder = default(string), PropertyMetadata TabOrderMetadata = default(PropertyMetadata), string TabType = default(string), PropertyMetadata TabTypeMetadata = default(PropertyMetadata), string TemplateLocked = default(string), PropertyMetadata TemplateLockedMetadata = default(PropertyMetadata), string TemplateRequired = default(string), PropertyMetadata TemplateRequiredMetadata = default(PropertyMetadata), string Tooltip = default(string), PropertyMetadata ToolTipMetadata = default(PropertyMetadata), string UseBackgroundAsCanvas = default(string), ErrorDetails WarningDetails = default(ErrorDetails), string Width = default(string), PropertyMetadata WidthMetadata = default(PropertyMetadata), string XPosition = default(string), PropertyMetadata XPositionMetadata = default(PropertyMetadata), string YPosition = default(string), PropertyMetadata YPositionMetadata = default(PropertyMetadata)) { this.AgreementAttribute = AgreementAttribute; this.AgreementAttributeLocked = AgreementAttributeLocked; @@ -140,6 +141,7 @@ public Draw() this.AnchorStringMetadata = AnchorStringMetadata; this.AnchorTabProcessorVersion = AnchorTabProcessorVersion; this.AnchorTabProcessorVersionMetadata = AnchorTabProcessorVersionMetadata; + this.AnchorTabScope = AnchorTabScope; this.AnchorUnits = AnchorUnits; this.AnchorUnitsMetadata = AnchorUnitsMetadata; this.AnchorXOffset = AnchorXOffset; @@ -309,6 +311,11 @@ public Draw() [DataMember(Name="anchorTabProcessorVersionMetadata", EmitDefaultValue=false)] public PropertyMetadata AnchorTabProcessorVersionMetadata { get; set; } /// + /// Gets or Sets AnchorTabScope + /// + [DataMember(Name="anchorTabScope", EmitDefaultValue=false)] + public string AnchorTabScope { get; set; } + /// /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. /// /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. @@ -730,6 +737,7 @@ public override string ToString() sb.Append(" AnchorStringMetadata: ").Append(AnchorStringMetadata).Append("\n"); sb.Append(" AnchorTabProcessorVersion: ").Append(AnchorTabProcessorVersion).Append("\n"); sb.Append(" AnchorTabProcessorVersionMetadata: ").Append(AnchorTabProcessorVersionMetadata).Append("\n"); + sb.Append(" AnchorTabScope: ").Append(AnchorTabScope).Append("\n"); sb.Append(" AnchorUnits: ").Append(AnchorUnits).Append("\n"); sb.Append(" AnchorUnitsMetadata: ").Append(AnchorUnitsMetadata).Append("\n"); sb.Append(" AnchorXOffset: ").Append(AnchorXOffset).Append("\n"); @@ -920,6 +928,11 @@ public bool Equals(Draw other) this.AnchorTabProcessorVersionMetadata != null && this.AnchorTabProcessorVersionMetadata.Equals(other.AnchorTabProcessorVersionMetadata) ) && + ( + this.AnchorTabScope == other.AnchorTabScope || + this.AnchorTabScope != null && + this.AnchorTabScope.Equals(other.AnchorTabScope) + ) && ( this.AnchorUnits == other.AnchorUnits || this.AnchorUnits != null && @@ -1312,6 +1325,8 @@ public override int GetHashCode() hash = hash * 59 + this.AnchorTabProcessorVersion.GetHashCode(); if (this.AnchorTabProcessorVersionMetadata != null) hash = hash * 59 + this.AnchorTabProcessorVersionMetadata.GetHashCode(); + if (this.AnchorTabScope != null) + hash = hash * 59 + this.AnchorTabScope.GetHashCode(); if (this.AnchorUnits != null) hash = hash * 59 + this.AnchorUnits.GetHashCode(); if (this.AnchorUnitsMetadata != null) diff --git a/sdk/src/DocuSign.eSign/Model/Email.cs b/sdk/src/DocuSign.eSign/Model/Email.cs index 01441f519..32d75a99d 100644 --- a/sdk/src/DocuSign.eSign/Model/Email.cs +++ b/sdk/src/DocuSign.eSign/Model/Email.cs @@ -51,6 +51,7 @@ public Email() /// Metadata that indicates whether the `anchorString` property is editable.. /// AnchorTabProcessorVersion. /// Reserved for DocuSign.. + /// AnchorTabScope. /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.. /// Metadata that indicates whether the `anchorUnits` property is editable.. /// Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.. @@ -157,7 +158,7 @@ public Email() /// Metadata that indicates whether the `xPosition` property is editable.. /// This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.. /// Metadata that indicates whether the `yPosition` property is editable.. - public Email(string AgreementAttribute = default(string), string AgreementAttributeLocked = default(string), string AnchorAllowWhiteSpaceInCharacters = default(string), PropertyMetadata AnchorAllowWhiteSpaceInCharactersMetadata = default(PropertyMetadata), string AnchorCaseSensitive = default(string), PropertyMetadata AnchorCaseSensitiveMetadata = default(PropertyMetadata), string AnchorHorizontalAlignment = default(string), PropertyMetadata AnchorHorizontalAlignmentMetadata = default(PropertyMetadata), string AnchorIgnoreIfNotPresent = default(string), PropertyMetadata AnchorIgnoreIfNotPresentMetadata = default(PropertyMetadata), string AnchorMatchWholeWord = default(string), PropertyMetadata AnchorMatchWholeWordMetadata = default(PropertyMetadata), string AnchorString = default(string), PropertyMetadata AnchorStringMetadata = default(PropertyMetadata), string AnchorTabProcessorVersion = default(string), PropertyMetadata AnchorTabProcessorVersionMetadata = default(PropertyMetadata), string AnchorUnits = default(string), PropertyMetadata AnchorUnitsMetadata = default(PropertyMetadata), string AnchorXOffset = default(string), PropertyMetadata AnchorXOffsetMetadata = default(PropertyMetadata), string AnchorYOffset = default(string), PropertyMetadata AnchorYOffsetMetadata = default(PropertyMetadata), string Bold = default(string), PropertyMetadata BoldMetadata = default(PropertyMetadata), string Caption = default(string), PropertyMetadata CaptionMetadata = default(PropertyMetadata), string ConcealValueOnDocument = default(string), PropertyMetadata ConcealValueOnDocumentMetadata = default(PropertyMetadata), string ConditionalParentLabel = default(string), PropertyMetadata ConditionalParentLabelMetadata = default(PropertyMetadata), string ConditionalParentValue = default(string), PropertyMetadata ConditionalParentValueMetadata = default(PropertyMetadata), ConnectedObjectDetails ConnectedObjectDetails = default(ConnectedObjectDetails), string CustomTabId = default(string), PropertyMetadata CustomTabIdMetadata = default(PropertyMetadata), string DisableAutoSize = default(string), PropertyMetadata DisableAutoSizeMetadata = default(PropertyMetadata), string DocumentId = default(string), PropertyMetadata DocumentIdMetadata = default(PropertyMetadata), ErrorDetails ErrorDetails = default(ErrorDetails), ExtensionData ExtensionData = default(ExtensionData), string Font = default(string), string FontColor = default(string), PropertyMetadata FontColorMetadata = default(PropertyMetadata), PropertyMetadata FontMetadata = default(PropertyMetadata), string FontSize = default(string), PropertyMetadata FontSizeMetadata = default(PropertyMetadata), string FormOrder = default(string), PropertyMetadata FormOrderMetadata = default(PropertyMetadata), string FormPageLabel = default(string), PropertyMetadata FormPageLabelMetadata = default(PropertyMetadata), string FormPageNumber = default(string), PropertyMetadata FormPageNumberMetadata = default(PropertyMetadata), string Height = default(string), PropertyMetadata HeightMetadata = default(PropertyMetadata), string Italic = default(string), PropertyMetadata ItalicMetadata = default(PropertyMetadata), LocalePolicyTab LocalePolicy = default(LocalePolicyTab), string Locked = default(string), PropertyMetadata LockedMetadata = default(PropertyMetadata), string MaxLength = default(string), PropertyMetadata MaxLengthMetadata = default(PropertyMetadata), MergeField MergeField = default(MergeField), string MergeFieldXml = default(string), string Name = default(string), PropertyMetadata NameMetadata = default(PropertyMetadata), string OriginalValue = default(string), PropertyMetadata OriginalValueMetadata = default(PropertyMetadata), string PageNumber = default(string), PropertyMetadata PageNumberMetadata = default(PropertyMetadata), string RecipientId = default(string), string RecipientIdGuid = default(string), PropertyMetadata RecipientIdGuidMetadata = default(PropertyMetadata), PropertyMetadata RecipientIdMetadata = default(PropertyMetadata), string RequireAll = default(string), PropertyMetadata RequireAllMetadata = default(PropertyMetadata), string Required = default(string), PropertyMetadata RequiredMetadata = default(PropertyMetadata), string RequireInitialOnSharedChange = default(string), PropertyMetadata RequireInitialOnSharedChangeMetadata = default(PropertyMetadata), string SenderRequired = default(string), PropertyMetadata SenderRequiredMetadata = default(PropertyMetadata), string Shared = default(string), PropertyMetadata SharedMetadata = default(PropertyMetadata), string ShareToRecipients = default(string), PropertyMetadata ShareToRecipientsMetadata = default(PropertyMetadata), SmartContractInformation SmartContractInformation = default(SmartContractInformation), string Source = default(string), string Status = default(string), PropertyMetadata StatusMetadata = default(PropertyMetadata), string TabFullyQualifiedPath = default(string), List TabGroupLabels = default(List), PropertyMetadata TabGroupLabelsMetadata = default(PropertyMetadata), string TabId = default(string), PropertyMetadata TabIdMetadata = default(PropertyMetadata), string TabLabel = default(string), PropertyMetadata TabLabelMetadata = default(PropertyMetadata), string TabOrder = default(string), PropertyMetadata TabOrderMetadata = default(PropertyMetadata), string TabType = default(string), PropertyMetadata TabTypeMetadata = default(PropertyMetadata), string TemplateLocked = default(string), PropertyMetadata TemplateLockedMetadata = default(PropertyMetadata), string TemplateRequired = default(string), PropertyMetadata TemplateRequiredMetadata = default(PropertyMetadata), string Tooltip = default(string), PropertyMetadata ToolTipMetadata = default(PropertyMetadata), string Underline = default(string), PropertyMetadata UnderlineMetadata = default(PropertyMetadata), string ValidationMessage = default(string), PropertyMetadata ValidationMessageMetadata = default(PropertyMetadata), string ValidationPattern = default(string), PropertyMetadata ValidationPatternMetadata = default(PropertyMetadata), string Value = default(string), PropertyMetadata ValueMetadata = default(PropertyMetadata), ErrorDetails WarningDetails = default(ErrorDetails), string Width = default(string), PropertyMetadata WidthMetadata = default(PropertyMetadata), string XPosition = default(string), PropertyMetadata XPositionMetadata = default(PropertyMetadata), string YPosition = default(string), PropertyMetadata YPositionMetadata = default(PropertyMetadata)) + public Email(string AgreementAttribute = default(string), string AgreementAttributeLocked = default(string), string AnchorAllowWhiteSpaceInCharacters = default(string), PropertyMetadata AnchorAllowWhiteSpaceInCharactersMetadata = default(PropertyMetadata), string AnchorCaseSensitive = default(string), PropertyMetadata AnchorCaseSensitiveMetadata = default(PropertyMetadata), string AnchorHorizontalAlignment = default(string), PropertyMetadata AnchorHorizontalAlignmentMetadata = default(PropertyMetadata), string AnchorIgnoreIfNotPresent = default(string), PropertyMetadata AnchorIgnoreIfNotPresentMetadata = default(PropertyMetadata), string AnchorMatchWholeWord = default(string), PropertyMetadata AnchorMatchWholeWordMetadata = default(PropertyMetadata), string AnchorString = default(string), PropertyMetadata AnchorStringMetadata = default(PropertyMetadata), string AnchorTabProcessorVersion = default(string), PropertyMetadata AnchorTabProcessorVersionMetadata = default(PropertyMetadata), string AnchorTabScope = default(string), string AnchorUnits = default(string), PropertyMetadata AnchorUnitsMetadata = default(PropertyMetadata), string AnchorXOffset = default(string), PropertyMetadata AnchorXOffsetMetadata = default(PropertyMetadata), string AnchorYOffset = default(string), PropertyMetadata AnchorYOffsetMetadata = default(PropertyMetadata), string Bold = default(string), PropertyMetadata BoldMetadata = default(PropertyMetadata), string Caption = default(string), PropertyMetadata CaptionMetadata = default(PropertyMetadata), string ConcealValueOnDocument = default(string), PropertyMetadata ConcealValueOnDocumentMetadata = default(PropertyMetadata), string ConditionalParentLabel = default(string), PropertyMetadata ConditionalParentLabelMetadata = default(PropertyMetadata), string ConditionalParentValue = default(string), PropertyMetadata ConditionalParentValueMetadata = default(PropertyMetadata), ConnectedObjectDetails ConnectedObjectDetails = default(ConnectedObjectDetails), string CustomTabId = default(string), PropertyMetadata CustomTabIdMetadata = default(PropertyMetadata), string DisableAutoSize = default(string), PropertyMetadata DisableAutoSizeMetadata = default(PropertyMetadata), string DocumentId = default(string), PropertyMetadata DocumentIdMetadata = default(PropertyMetadata), ErrorDetails ErrorDetails = default(ErrorDetails), ExtensionData ExtensionData = default(ExtensionData), string Font = default(string), string FontColor = default(string), PropertyMetadata FontColorMetadata = default(PropertyMetadata), PropertyMetadata FontMetadata = default(PropertyMetadata), string FontSize = default(string), PropertyMetadata FontSizeMetadata = default(PropertyMetadata), string FormOrder = default(string), PropertyMetadata FormOrderMetadata = default(PropertyMetadata), string FormPageLabel = default(string), PropertyMetadata FormPageLabelMetadata = default(PropertyMetadata), string FormPageNumber = default(string), PropertyMetadata FormPageNumberMetadata = default(PropertyMetadata), string Height = default(string), PropertyMetadata HeightMetadata = default(PropertyMetadata), string Italic = default(string), PropertyMetadata ItalicMetadata = default(PropertyMetadata), LocalePolicyTab LocalePolicy = default(LocalePolicyTab), string Locked = default(string), PropertyMetadata LockedMetadata = default(PropertyMetadata), string MaxLength = default(string), PropertyMetadata MaxLengthMetadata = default(PropertyMetadata), MergeField MergeField = default(MergeField), string MergeFieldXml = default(string), string Name = default(string), PropertyMetadata NameMetadata = default(PropertyMetadata), string OriginalValue = default(string), PropertyMetadata OriginalValueMetadata = default(PropertyMetadata), string PageNumber = default(string), PropertyMetadata PageNumberMetadata = default(PropertyMetadata), string RecipientId = default(string), string RecipientIdGuid = default(string), PropertyMetadata RecipientIdGuidMetadata = default(PropertyMetadata), PropertyMetadata RecipientIdMetadata = default(PropertyMetadata), string RequireAll = default(string), PropertyMetadata RequireAllMetadata = default(PropertyMetadata), string Required = default(string), PropertyMetadata RequiredMetadata = default(PropertyMetadata), string RequireInitialOnSharedChange = default(string), PropertyMetadata RequireInitialOnSharedChangeMetadata = default(PropertyMetadata), string SenderRequired = default(string), PropertyMetadata SenderRequiredMetadata = default(PropertyMetadata), string Shared = default(string), PropertyMetadata SharedMetadata = default(PropertyMetadata), string ShareToRecipients = default(string), PropertyMetadata ShareToRecipientsMetadata = default(PropertyMetadata), SmartContractInformation SmartContractInformation = default(SmartContractInformation), string Source = default(string), string Status = default(string), PropertyMetadata StatusMetadata = default(PropertyMetadata), string TabFullyQualifiedPath = default(string), List TabGroupLabels = default(List), PropertyMetadata TabGroupLabelsMetadata = default(PropertyMetadata), string TabId = default(string), PropertyMetadata TabIdMetadata = default(PropertyMetadata), string TabLabel = default(string), PropertyMetadata TabLabelMetadata = default(PropertyMetadata), string TabOrder = default(string), PropertyMetadata TabOrderMetadata = default(PropertyMetadata), string TabType = default(string), PropertyMetadata TabTypeMetadata = default(PropertyMetadata), string TemplateLocked = default(string), PropertyMetadata TemplateLockedMetadata = default(PropertyMetadata), string TemplateRequired = default(string), PropertyMetadata TemplateRequiredMetadata = default(PropertyMetadata), string Tooltip = default(string), PropertyMetadata ToolTipMetadata = default(PropertyMetadata), string Underline = default(string), PropertyMetadata UnderlineMetadata = default(PropertyMetadata), string ValidationMessage = default(string), PropertyMetadata ValidationMessageMetadata = default(PropertyMetadata), string ValidationPattern = default(string), PropertyMetadata ValidationPatternMetadata = default(PropertyMetadata), string Value = default(string), PropertyMetadata ValueMetadata = default(PropertyMetadata), ErrorDetails WarningDetails = default(ErrorDetails), string Width = default(string), PropertyMetadata WidthMetadata = default(PropertyMetadata), string XPosition = default(string), PropertyMetadata XPositionMetadata = default(PropertyMetadata), string YPosition = default(string), PropertyMetadata YPositionMetadata = default(PropertyMetadata)) { this.AgreementAttribute = AgreementAttribute; this.AgreementAttributeLocked = AgreementAttributeLocked; @@ -175,6 +176,7 @@ public Email() this.AnchorStringMetadata = AnchorStringMetadata; this.AnchorTabProcessorVersion = AnchorTabProcessorVersion; this.AnchorTabProcessorVersionMetadata = AnchorTabProcessorVersionMetadata; + this.AnchorTabScope = AnchorTabScope; this.AnchorUnits = AnchorUnits; this.AnchorUnitsMetadata = AnchorUnitsMetadata; this.AnchorXOffset = AnchorXOffset; @@ -376,6 +378,11 @@ public Email() [DataMember(Name="anchorTabProcessorVersionMetadata", EmitDefaultValue=false)] public PropertyMetadata AnchorTabProcessorVersionMetadata { get; set; } /// + /// Gets or Sets AnchorTabScope + /// + [DataMember(Name="anchorTabScope", EmitDefaultValue=false)] + public string AnchorTabScope { get; set; } + /// /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. /// /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. @@ -1017,6 +1024,7 @@ public override string ToString() sb.Append(" AnchorStringMetadata: ").Append(AnchorStringMetadata).Append("\n"); sb.Append(" AnchorTabProcessorVersion: ").Append(AnchorTabProcessorVersion).Append("\n"); sb.Append(" AnchorTabProcessorVersionMetadata: ").Append(AnchorTabProcessorVersionMetadata).Append("\n"); + sb.Append(" AnchorTabScope: ").Append(AnchorTabScope).Append("\n"); sb.Append(" AnchorUnits: ").Append(AnchorUnits).Append("\n"); sb.Append(" AnchorUnitsMetadata: ").Append(AnchorUnitsMetadata).Append("\n"); sb.Append(" AnchorXOffset: ").Append(AnchorXOffset).Append("\n"); @@ -1239,6 +1247,11 @@ public bool Equals(Email other) this.AnchorTabProcessorVersionMetadata != null && this.AnchorTabProcessorVersionMetadata.Equals(other.AnchorTabProcessorVersionMetadata) ) && + ( + this.AnchorTabScope == other.AnchorTabScope || + this.AnchorTabScope != null && + this.AnchorTabScope.Equals(other.AnchorTabScope) + ) && ( this.AnchorUnits == other.AnchorUnits || this.AnchorUnits != null && @@ -1814,6 +1827,8 @@ public override int GetHashCode() hash = hash * 59 + this.AnchorTabProcessorVersion.GetHashCode(); if (this.AnchorTabProcessorVersionMetadata != null) hash = hash * 59 + this.AnchorTabProcessorVersionMetadata.GetHashCode(); + if (this.AnchorTabScope != null) + hash = hash * 59 + this.AnchorTabScope.GetHashCode(); if (this.AnchorUnits != null) hash = hash * 59 + this.AnchorUnits.GetHashCode(); if (this.AnchorUnitsMetadata != null) diff --git a/sdk/src/DocuSign.eSign/Model/EmailAddress.cs b/sdk/src/DocuSign.eSign/Model/EmailAddress.cs index 4aa37e362..2506b0c70 100644 --- a/sdk/src/DocuSign.eSign/Model/EmailAddress.cs +++ b/sdk/src/DocuSign.eSign/Model/EmailAddress.cs @@ -51,6 +51,7 @@ public EmailAddress() /// Metadata that indicates whether the `anchorString` property is editable.. /// AnchorTabProcessorVersion. /// Reserved for DocuSign.. + /// AnchorTabScope. /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.. /// Metadata that indicates whether the `anchorUnits` property is editable.. /// Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.. @@ -131,7 +132,7 @@ public EmailAddress() /// Metadata that indicates whether the `xPosition` property is editable.. /// This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.. /// Metadata that indicates whether the `yPosition` property is editable.. - public EmailAddress(string AgreementAttribute = default(string), string AgreementAttributeLocked = default(string), string AnchorAllowWhiteSpaceInCharacters = default(string), PropertyMetadata AnchorAllowWhiteSpaceInCharactersMetadata = default(PropertyMetadata), string AnchorCaseSensitive = default(string), PropertyMetadata AnchorCaseSensitiveMetadata = default(PropertyMetadata), string AnchorHorizontalAlignment = default(string), PropertyMetadata AnchorHorizontalAlignmentMetadata = default(PropertyMetadata), string AnchorIgnoreIfNotPresent = default(string), PropertyMetadata AnchorIgnoreIfNotPresentMetadata = default(PropertyMetadata), string AnchorMatchWholeWord = default(string), PropertyMetadata AnchorMatchWholeWordMetadata = default(PropertyMetadata), string AnchorString = default(string), PropertyMetadata AnchorStringMetadata = default(PropertyMetadata), string AnchorTabProcessorVersion = default(string), PropertyMetadata AnchorTabProcessorVersionMetadata = default(PropertyMetadata), string AnchorUnits = default(string), PropertyMetadata AnchorUnitsMetadata = default(PropertyMetadata), string AnchorXOffset = default(string), PropertyMetadata AnchorXOffsetMetadata = default(PropertyMetadata), string AnchorYOffset = default(string), PropertyMetadata AnchorYOffsetMetadata = default(PropertyMetadata), string Bold = default(string), PropertyMetadata BoldMetadata = default(PropertyMetadata), string Caption = default(string), PropertyMetadata CaptionMetadata = default(PropertyMetadata), string ConditionalParentLabel = default(string), PropertyMetadata ConditionalParentLabelMetadata = default(PropertyMetadata), string ConditionalParentValue = default(string), PropertyMetadata ConditionalParentValueMetadata = default(PropertyMetadata), ConnectedObjectDetails ConnectedObjectDetails = default(ConnectedObjectDetails), string CustomTabId = default(string), PropertyMetadata CustomTabIdMetadata = default(PropertyMetadata), string DocumentId = default(string), PropertyMetadata DocumentIdMetadata = default(PropertyMetadata), ErrorDetails ErrorDetails = default(ErrorDetails), ExtensionData ExtensionData = default(ExtensionData), string Font = default(string), string FontColor = default(string), PropertyMetadata FontColorMetadata = default(PropertyMetadata), PropertyMetadata FontMetadata = default(PropertyMetadata), string FontSize = default(string), PropertyMetadata FontSizeMetadata = default(PropertyMetadata), string FormOrder = default(string), PropertyMetadata FormOrderMetadata = default(PropertyMetadata), string FormPageLabel = default(string), PropertyMetadata FormPageLabelMetadata = default(PropertyMetadata), string FormPageNumber = default(string), PropertyMetadata FormPageNumberMetadata = default(PropertyMetadata), string Height = default(string), PropertyMetadata HeightMetadata = default(PropertyMetadata), string Italic = default(string), PropertyMetadata ItalicMetadata = default(PropertyMetadata), LocalePolicyTab LocalePolicy = default(LocalePolicyTab), MergeField MergeField = default(MergeField), string MergeFieldXml = default(string), string Name = default(string), PropertyMetadata NameMetadata = default(PropertyMetadata), string PageNumber = default(string), PropertyMetadata PageNumberMetadata = default(PropertyMetadata), string RecipientId = default(string), string RecipientIdGuid = default(string), PropertyMetadata RecipientIdGuidMetadata = default(PropertyMetadata), PropertyMetadata RecipientIdMetadata = default(PropertyMetadata), SmartContractInformation SmartContractInformation = default(SmartContractInformation), string Source = default(string), string Status = default(string), PropertyMetadata StatusMetadata = default(PropertyMetadata), string TabFullyQualifiedPath = default(string), List TabGroupLabels = default(List), PropertyMetadata TabGroupLabelsMetadata = default(PropertyMetadata), string TabId = default(string), PropertyMetadata TabIdMetadata = default(PropertyMetadata), string TabLabel = default(string), PropertyMetadata TabLabelMetadata = default(PropertyMetadata), string TabOrder = default(string), PropertyMetadata TabOrderMetadata = default(PropertyMetadata), string TabType = default(string), PropertyMetadata TabTypeMetadata = default(PropertyMetadata), string TemplateLocked = default(string), PropertyMetadata TemplateLockedMetadata = default(PropertyMetadata), string TemplateRequired = default(string), PropertyMetadata TemplateRequiredMetadata = default(PropertyMetadata), string Tooltip = default(string), PropertyMetadata ToolTipMetadata = default(PropertyMetadata), string Underline = default(string), PropertyMetadata UnderlineMetadata = default(PropertyMetadata), string Value = default(string), PropertyMetadata ValueMetadata = default(PropertyMetadata), ErrorDetails WarningDetails = default(ErrorDetails), string Width = default(string), PropertyMetadata WidthMetadata = default(PropertyMetadata), string XPosition = default(string), PropertyMetadata XPositionMetadata = default(PropertyMetadata), string YPosition = default(string), PropertyMetadata YPositionMetadata = default(PropertyMetadata)) + public EmailAddress(string AgreementAttribute = default(string), string AgreementAttributeLocked = default(string), string AnchorAllowWhiteSpaceInCharacters = default(string), PropertyMetadata AnchorAllowWhiteSpaceInCharactersMetadata = default(PropertyMetadata), string AnchorCaseSensitive = default(string), PropertyMetadata AnchorCaseSensitiveMetadata = default(PropertyMetadata), string AnchorHorizontalAlignment = default(string), PropertyMetadata AnchorHorizontalAlignmentMetadata = default(PropertyMetadata), string AnchorIgnoreIfNotPresent = default(string), PropertyMetadata AnchorIgnoreIfNotPresentMetadata = default(PropertyMetadata), string AnchorMatchWholeWord = default(string), PropertyMetadata AnchorMatchWholeWordMetadata = default(PropertyMetadata), string AnchorString = default(string), PropertyMetadata AnchorStringMetadata = default(PropertyMetadata), string AnchorTabProcessorVersion = default(string), PropertyMetadata AnchorTabProcessorVersionMetadata = default(PropertyMetadata), string AnchorTabScope = default(string), string AnchorUnits = default(string), PropertyMetadata AnchorUnitsMetadata = default(PropertyMetadata), string AnchorXOffset = default(string), PropertyMetadata AnchorXOffsetMetadata = default(PropertyMetadata), string AnchorYOffset = default(string), PropertyMetadata AnchorYOffsetMetadata = default(PropertyMetadata), string Bold = default(string), PropertyMetadata BoldMetadata = default(PropertyMetadata), string Caption = default(string), PropertyMetadata CaptionMetadata = default(PropertyMetadata), string ConditionalParentLabel = default(string), PropertyMetadata ConditionalParentLabelMetadata = default(PropertyMetadata), string ConditionalParentValue = default(string), PropertyMetadata ConditionalParentValueMetadata = default(PropertyMetadata), ConnectedObjectDetails ConnectedObjectDetails = default(ConnectedObjectDetails), string CustomTabId = default(string), PropertyMetadata CustomTabIdMetadata = default(PropertyMetadata), string DocumentId = default(string), PropertyMetadata DocumentIdMetadata = default(PropertyMetadata), ErrorDetails ErrorDetails = default(ErrorDetails), ExtensionData ExtensionData = default(ExtensionData), string Font = default(string), string FontColor = default(string), PropertyMetadata FontColorMetadata = default(PropertyMetadata), PropertyMetadata FontMetadata = default(PropertyMetadata), string FontSize = default(string), PropertyMetadata FontSizeMetadata = default(PropertyMetadata), string FormOrder = default(string), PropertyMetadata FormOrderMetadata = default(PropertyMetadata), string FormPageLabel = default(string), PropertyMetadata FormPageLabelMetadata = default(PropertyMetadata), string FormPageNumber = default(string), PropertyMetadata FormPageNumberMetadata = default(PropertyMetadata), string Height = default(string), PropertyMetadata HeightMetadata = default(PropertyMetadata), string Italic = default(string), PropertyMetadata ItalicMetadata = default(PropertyMetadata), LocalePolicyTab LocalePolicy = default(LocalePolicyTab), MergeField MergeField = default(MergeField), string MergeFieldXml = default(string), string Name = default(string), PropertyMetadata NameMetadata = default(PropertyMetadata), string PageNumber = default(string), PropertyMetadata PageNumberMetadata = default(PropertyMetadata), string RecipientId = default(string), string RecipientIdGuid = default(string), PropertyMetadata RecipientIdGuidMetadata = default(PropertyMetadata), PropertyMetadata RecipientIdMetadata = default(PropertyMetadata), SmartContractInformation SmartContractInformation = default(SmartContractInformation), string Source = default(string), string Status = default(string), PropertyMetadata StatusMetadata = default(PropertyMetadata), string TabFullyQualifiedPath = default(string), List TabGroupLabels = default(List), PropertyMetadata TabGroupLabelsMetadata = default(PropertyMetadata), string TabId = default(string), PropertyMetadata TabIdMetadata = default(PropertyMetadata), string TabLabel = default(string), PropertyMetadata TabLabelMetadata = default(PropertyMetadata), string TabOrder = default(string), PropertyMetadata TabOrderMetadata = default(PropertyMetadata), string TabType = default(string), PropertyMetadata TabTypeMetadata = default(PropertyMetadata), string TemplateLocked = default(string), PropertyMetadata TemplateLockedMetadata = default(PropertyMetadata), string TemplateRequired = default(string), PropertyMetadata TemplateRequiredMetadata = default(PropertyMetadata), string Tooltip = default(string), PropertyMetadata ToolTipMetadata = default(PropertyMetadata), string Underline = default(string), PropertyMetadata UnderlineMetadata = default(PropertyMetadata), string Value = default(string), PropertyMetadata ValueMetadata = default(PropertyMetadata), ErrorDetails WarningDetails = default(ErrorDetails), string Width = default(string), PropertyMetadata WidthMetadata = default(PropertyMetadata), string XPosition = default(string), PropertyMetadata XPositionMetadata = default(PropertyMetadata), string YPosition = default(string), PropertyMetadata YPositionMetadata = default(PropertyMetadata)) { this.AgreementAttribute = AgreementAttribute; this.AgreementAttributeLocked = AgreementAttributeLocked; @@ -149,6 +150,7 @@ public EmailAddress() this.AnchorStringMetadata = AnchorStringMetadata; this.AnchorTabProcessorVersion = AnchorTabProcessorVersion; this.AnchorTabProcessorVersionMetadata = AnchorTabProcessorVersionMetadata; + this.AnchorTabScope = AnchorTabScope; this.AnchorUnits = AnchorUnits; this.AnchorUnitsMetadata = AnchorUnitsMetadata; this.AnchorXOffset = AnchorXOffset; @@ -324,6 +326,11 @@ public EmailAddress() [DataMember(Name="anchorTabProcessorVersionMetadata", EmitDefaultValue=false)] public PropertyMetadata AnchorTabProcessorVersionMetadata { get; set; } /// + /// Gets or Sets AnchorTabScope + /// + [DataMember(Name="anchorTabScope", EmitDefaultValue=false)] + public string AnchorTabScope { get; set; } + /// /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. /// /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. @@ -810,6 +817,7 @@ public override string ToString() sb.Append(" AnchorStringMetadata: ").Append(AnchorStringMetadata).Append("\n"); sb.Append(" AnchorTabProcessorVersion: ").Append(AnchorTabProcessorVersion).Append("\n"); sb.Append(" AnchorTabProcessorVersionMetadata: ").Append(AnchorTabProcessorVersionMetadata).Append("\n"); + sb.Append(" AnchorTabScope: ").Append(AnchorTabScope).Append("\n"); sb.Append(" AnchorUnits: ").Append(AnchorUnits).Append("\n"); sb.Append(" AnchorUnitsMetadata: ").Append(AnchorUnitsMetadata).Append("\n"); sb.Append(" AnchorXOffset: ").Append(AnchorXOffset).Append("\n"); @@ -1006,6 +1014,11 @@ public bool Equals(EmailAddress other) this.AnchorTabProcessorVersionMetadata != null && this.AnchorTabProcessorVersionMetadata.Equals(other.AnchorTabProcessorVersionMetadata) ) && + ( + this.AnchorTabScope == other.AnchorTabScope || + this.AnchorTabScope != null && + this.AnchorTabScope.Equals(other.AnchorTabScope) + ) && ( this.AnchorUnits == other.AnchorUnits || this.AnchorUnits != null && @@ -1451,6 +1464,8 @@ public override int GetHashCode() hash = hash * 59 + this.AnchorTabProcessorVersion.GetHashCode(); if (this.AnchorTabProcessorVersionMetadata != null) hash = hash * 59 + this.AnchorTabProcessorVersionMetadata.GetHashCode(); + if (this.AnchorTabScope != null) + hash = hash * 59 + this.AnchorTabScope.GetHashCode(); if (this.AnchorUnits != null) hash = hash * 59 + this.AnchorUnits.GetHashCode(); if (this.AnchorUnitsMetadata != null) diff --git a/sdk/src/DocuSign.eSign/Model/EnvelopeId.cs b/sdk/src/DocuSign.eSign/Model/EnvelopeId.cs index 4f3828166..f8b17ac7a 100644 --- a/sdk/src/DocuSign.eSign/Model/EnvelopeId.cs +++ b/sdk/src/DocuSign.eSign/Model/EnvelopeId.cs @@ -51,6 +51,7 @@ public EnvelopeId() /// Metadata that indicates whether the `anchorString` property is editable.. /// AnchorTabProcessorVersion. /// Reserved for DocuSign.. + /// AnchorTabScope. /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.. /// Metadata that indicates whether the `anchorUnits` property is editable.. /// Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.. @@ -129,7 +130,7 @@ public EnvelopeId() /// Metadata that indicates whether the `xPosition` property is editable.. /// This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.. /// Metadata that indicates whether the `yPosition` property is editable.. - public EnvelopeId(string AgreementAttribute = default(string), string AgreementAttributeLocked = default(string), string AnchorAllowWhiteSpaceInCharacters = default(string), PropertyMetadata AnchorAllowWhiteSpaceInCharactersMetadata = default(PropertyMetadata), string AnchorCaseSensitive = default(string), PropertyMetadata AnchorCaseSensitiveMetadata = default(PropertyMetadata), string AnchorHorizontalAlignment = default(string), PropertyMetadata AnchorHorizontalAlignmentMetadata = default(PropertyMetadata), string AnchorIgnoreIfNotPresent = default(string), PropertyMetadata AnchorIgnoreIfNotPresentMetadata = default(PropertyMetadata), string AnchorMatchWholeWord = default(string), PropertyMetadata AnchorMatchWholeWordMetadata = default(PropertyMetadata), string AnchorString = default(string), PropertyMetadata AnchorStringMetadata = default(PropertyMetadata), string AnchorTabProcessorVersion = default(string), PropertyMetadata AnchorTabProcessorVersionMetadata = default(PropertyMetadata), string AnchorUnits = default(string), PropertyMetadata AnchorUnitsMetadata = default(PropertyMetadata), string AnchorXOffset = default(string), PropertyMetadata AnchorXOffsetMetadata = default(PropertyMetadata), string AnchorYOffset = default(string), PropertyMetadata AnchorYOffsetMetadata = default(PropertyMetadata), string Bold = default(string), PropertyMetadata BoldMetadata = default(PropertyMetadata), string Caption = default(string), PropertyMetadata CaptionMetadata = default(PropertyMetadata), string ConditionalParentLabel = default(string), PropertyMetadata ConditionalParentLabelMetadata = default(PropertyMetadata), string ConditionalParentValue = default(string), PropertyMetadata ConditionalParentValueMetadata = default(PropertyMetadata), ConnectedObjectDetails ConnectedObjectDetails = default(ConnectedObjectDetails), string CustomTabId = default(string), PropertyMetadata CustomTabIdMetadata = default(PropertyMetadata), string DocumentId = default(string), PropertyMetadata DocumentIdMetadata = default(PropertyMetadata), ErrorDetails ErrorDetails = default(ErrorDetails), ExtensionData ExtensionData = default(ExtensionData), string Font = default(string), string FontColor = default(string), PropertyMetadata FontColorMetadata = default(PropertyMetadata), PropertyMetadata FontMetadata = default(PropertyMetadata), string FontSize = default(string), PropertyMetadata FontSizeMetadata = default(PropertyMetadata), string FormOrder = default(string), PropertyMetadata FormOrderMetadata = default(PropertyMetadata), string FormPageLabel = default(string), PropertyMetadata FormPageLabelMetadata = default(PropertyMetadata), string FormPageNumber = default(string), PropertyMetadata FormPageNumberMetadata = default(PropertyMetadata), string Height = default(string), PropertyMetadata HeightMetadata = default(PropertyMetadata), string Italic = default(string), PropertyMetadata ItalicMetadata = default(PropertyMetadata), LocalePolicyTab LocalePolicy = default(LocalePolicyTab), MergeField MergeField = default(MergeField), string MergeFieldXml = default(string), string Name = default(string), PropertyMetadata NameMetadata = default(PropertyMetadata), string PageNumber = default(string), PropertyMetadata PageNumberMetadata = default(PropertyMetadata), string RecipientId = default(string), string RecipientIdGuid = default(string), PropertyMetadata RecipientIdGuidMetadata = default(PropertyMetadata), PropertyMetadata RecipientIdMetadata = default(PropertyMetadata), SmartContractInformation SmartContractInformation = default(SmartContractInformation), string Source = default(string), string Status = default(string), PropertyMetadata StatusMetadata = default(PropertyMetadata), string TabFullyQualifiedPath = default(string), List TabGroupLabels = default(List), PropertyMetadata TabGroupLabelsMetadata = default(PropertyMetadata), string TabId = default(string), PropertyMetadata TabIdMetadata = default(PropertyMetadata), string TabLabel = default(string), PropertyMetadata TabLabelMetadata = default(PropertyMetadata), string TabOrder = default(string), PropertyMetadata TabOrderMetadata = default(PropertyMetadata), string TabType = default(string), PropertyMetadata TabTypeMetadata = default(PropertyMetadata), string TemplateLocked = default(string), PropertyMetadata TemplateLockedMetadata = default(PropertyMetadata), string TemplateRequired = default(string), PropertyMetadata TemplateRequiredMetadata = default(PropertyMetadata), string Tooltip = default(string), PropertyMetadata ToolTipMetadata = default(PropertyMetadata), string Underline = default(string), PropertyMetadata UnderlineMetadata = default(PropertyMetadata), ErrorDetails WarningDetails = default(ErrorDetails), string Width = default(string), PropertyMetadata WidthMetadata = default(PropertyMetadata), string XPosition = default(string), PropertyMetadata XPositionMetadata = default(PropertyMetadata), string YPosition = default(string), PropertyMetadata YPositionMetadata = default(PropertyMetadata)) + public EnvelopeId(string AgreementAttribute = default(string), string AgreementAttributeLocked = default(string), string AnchorAllowWhiteSpaceInCharacters = default(string), PropertyMetadata AnchorAllowWhiteSpaceInCharactersMetadata = default(PropertyMetadata), string AnchorCaseSensitive = default(string), PropertyMetadata AnchorCaseSensitiveMetadata = default(PropertyMetadata), string AnchorHorizontalAlignment = default(string), PropertyMetadata AnchorHorizontalAlignmentMetadata = default(PropertyMetadata), string AnchorIgnoreIfNotPresent = default(string), PropertyMetadata AnchorIgnoreIfNotPresentMetadata = default(PropertyMetadata), string AnchorMatchWholeWord = default(string), PropertyMetadata AnchorMatchWholeWordMetadata = default(PropertyMetadata), string AnchorString = default(string), PropertyMetadata AnchorStringMetadata = default(PropertyMetadata), string AnchorTabProcessorVersion = default(string), PropertyMetadata AnchorTabProcessorVersionMetadata = default(PropertyMetadata), string AnchorTabScope = default(string), string AnchorUnits = default(string), PropertyMetadata AnchorUnitsMetadata = default(PropertyMetadata), string AnchorXOffset = default(string), PropertyMetadata AnchorXOffsetMetadata = default(PropertyMetadata), string AnchorYOffset = default(string), PropertyMetadata AnchorYOffsetMetadata = default(PropertyMetadata), string Bold = default(string), PropertyMetadata BoldMetadata = default(PropertyMetadata), string Caption = default(string), PropertyMetadata CaptionMetadata = default(PropertyMetadata), string ConditionalParentLabel = default(string), PropertyMetadata ConditionalParentLabelMetadata = default(PropertyMetadata), string ConditionalParentValue = default(string), PropertyMetadata ConditionalParentValueMetadata = default(PropertyMetadata), ConnectedObjectDetails ConnectedObjectDetails = default(ConnectedObjectDetails), string CustomTabId = default(string), PropertyMetadata CustomTabIdMetadata = default(PropertyMetadata), string DocumentId = default(string), PropertyMetadata DocumentIdMetadata = default(PropertyMetadata), ErrorDetails ErrorDetails = default(ErrorDetails), ExtensionData ExtensionData = default(ExtensionData), string Font = default(string), string FontColor = default(string), PropertyMetadata FontColorMetadata = default(PropertyMetadata), PropertyMetadata FontMetadata = default(PropertyMetadata), string FontSize = default(string), PropertyMetadata FontSizeMetadata = default(PropertyMetadata), string FormOrder = default(string), PropertyMetadata FormOrderMetadata = default(PropertyMetadata), string FormPageLabel = default(string), PropertyMetadata FormPageLabelMetadata = default(PropertyMetadata), string FormPageNumber = default(string), PropertyMetadata FormPageNumberMetadata = default(PropertyMetadata), string Height = default(string), PropertyMetadata HeightMetadata = default(PropertyMetadata), string Italic = default(string), PropertyMetadata ItalicMetadata = default(PropertyMetadata), LocalePolicyTab LocalePolicy = default(LocalePolicyTab), MergeField MergeField = default(MergeField), string MergeFieldXml = default(string), string Name = default(string), PropertyMetadata NameMetadata = default(PropertyMetadata), string PageNumber = default(string), PropertyMetadata PageNumberMetadata = default(PropertyMetadata), string RecipientId = default(string), string RecipientIdGuid = default(string), PropertyMetadata RecipientIdGuidMetadata = default(PropertyMetadata), PropertyMetadata RecipientIdMetadata = default(PropertyMetadata), SmartContractInformation SmartContractInformation = default(SmartContractInformation), string Source = default(string), string Status = default(string), PropertyMetadata StatusMetadata = default(PropertyMetadata), string TabFullyQualifiedPath = default(string), List TabGroupLabels = default(List), PropertyMetadata TabGroupLabelsMetadata = default(PropertyMetadata), string TabId = default(string), PropertyMetadata TabIdMetadata = default(PropertyMetadata), string TabLabel = default(string), PropertyMetadata TabLabelMetadata = default(PropertyMetadata), string TabOrder = default(string), PropertyMetadata TabOrderMetadata = default(PropertyMetadata), string TabType = default(string), PropertyMetadata TabTypeMetadata = default(PropertyMetadata), string TemplateLocked = default(string), PropertyMetadata TemplateLockedMetadata = default(PropertyMetadata), string TemplateRequired = default(string), PropertyMetadata TemplateRequiredMetadata = default(PropertyMetadata), string Tooltip = default(string), PropertyMetadata ToolTipMetadata = default(PropertyMetadata), string Underline = default(string), PropertyMetadata UnderlineMetadata = default(PropertyMetadata), ErrorDetails WarningDetails = default(ErrorDetails), string Width = default(string), PropertyMetadata WidthMetadata = default(PropertyMetadata), string XPosition = default(string), PropertyMetadata XPositionMetadata = default(PropertyMetadata), string YPosition = default(string), PropertyMetadata YPositionMetadata = default(PropertyMetadata)) { this.AgreementAttribute = AgreementAttribute; this.AgreementAttributeLocked = AgreementAttributeLocked; @@ -147,6 +148,7 @@ public EnvelopeId() this.AnchorStringMetadata = AnchorStringMetadata; this.AnchorTabProcessorVersion = AnchorTabProcessorVersion; this.AnchorTabProcessorVersionMetadata = AnchorTabProcessorVersionMetadata; + this.AnchorTabScope = AnchorTabScope; this.AnchorUnits = AnchorUnits; this.AnchorUnitsMetadata = AnchorUnitsMetadata; this.AnchorXOffset = AnchorXOffset; @@ -320,6 +322,11 @@ public EnvelopeId() [DataMember(Name="anchorTabProcessorVersionMetadata", EmitDefaultValue=false)] public PropertyMetadata AnchorTabProcessorVersionMetadata { get; set; } /// + /// Gets or Sets AnchorTabScope + /// + [DataMember(Name="anchorTabScope", EmitDefaultValue=false)] + public string AnchorTabScope { get; set; } + /// /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. /// /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. @@ -794,6 +801,7 @@ public override string ToString() sb.Append(" AnchorStringMetadata: ").Append(AnchorStringMetadata).Append("\n"); sb.Append(" AnchorTabProcessorVersion: ").Append(AnchorTabProcessorVersion).Append("\n"); sb.Append(" AnchorTabProcessorVersionMetadata: ").Append(AnchorTabProcessorVersionMetadata).Append("\n"); + sb.Append(" AnchorTabScope: ").Append(AnchorTabScope).Append("\n"); sb.Append(" AnchorUnits: ").Append(AnchorUnits).Append("\n"); sb.Append(" AnchorUnitsMetadata: ").Append(AnchorUnitsMetadata).Append("\n"); sb.Append(" AnchorXOffset: ").Append(AnchorXOffset).Append("\n"); @@ -988,6 +996,11 @@ public bool Equals(EnvelopeId other) this.AnchorTabProcessorVersionMetadata != null && this.AnchorTabProcessorVersionMetadata.Equals(other.AnchorTabProcessorVersionMetadata) ) && + ( + this.AnchorTabScope == other.AnchorTabScope || + this.AnchorTabScope != null && + this.AnchorTabScope.Equals(other.AnchorTabScope) + ) && ( this.AnchorUnits == other.AnchorUnits || this.AnchorUnits != null && @@ -1423,6 +1436,8 @@ public override int GetHashCode() hash = hash * 59 + this.AnchorTabProcessorVersion.GetHashCode(); if (this.AnchorTabProcessorVersionMetadata != null) hash = hash * 59 + this.AnchorTabProcessorVersionMetadata.GetHashCode(); + if (this.AnchorTabScope != null) + hash = hash * 59 + this.AnchorTabScope.GetHashCode(); if (this.AnchorUnits != null) hash = hash * 59 + this.AnchorUnits.GetHashCode(); if (this.AnchorUnitsMetadata != null) diff --git a/sdk/src/DocuSign.eSign/Model/EnvelopesSharePermissionRequest.cs b/sdk/src/DocuSign.eSign/Model/EnvelopesSharePermissionRequest.cs new file mode 100644 index 000000000..891b8e86a --- /dev/null +++ b/sdk/src/DocuSign.eSign/Model/EnvelopesSharePermissionRequest.cs @@ -0,0 +1,138 @@ +/* + * 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 +{ + /// + /// EnvelopesSharePermissionRequest + /// + [DataContract] + public partial class EnvelopesSharePermissionRequest : IEquatable, IValidatableObject + { + public EnvelopesSharePermissionRequest() + { + // Empty Constructor + } + + /// + /// Initializes a new instance of the class. + /// + /// CustomMessage. + /// Permission. + public EnvelopesSharePermissionRequest(string CustomMessage = default(string), string Permission = default(string)) + { + this.CustomMessage = CustomMessage; + this.Permission = Permission; + } + + /// + /// Gets or Sets CustomMessage + /// + [DataMember(Name="customMessage", EmitDefaultValue=false)] + public string CustomMessage { get; set; } + /// + /// Gets or Sets Permission + /// + [DataMember(Name="permission", EmitDefaultValue=false)] + public string Permission { get; set; } + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class EnvelopesSharePermissionRequest {\n"); + sb.Append(" CustomMessage: ").Append(CustomMessage).Append("\n"); + sb.Append(" Permission: ").Append(Permission).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as EnvelopesSharePermissionRequest); + } + + /// + /// Returns true if EnvelopesSharePermissionRequest instances are equal + /// + /// Instance of EnvelopesSharePermissionRequest to be compared + /// Boolean + public bool Equals(EnvelopesSharePermissionRequest other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.CustomMessage == other.CustomMessage || + this.CustomMessage != null && + this.CustomMessage.Equals(other.CustomMessage) + ) && + ( + this.Permission == other.Permission || + this.Permission != null && + this.Permission.Equals(other.Permission) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + 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.CustomMessage != null) + hash = hash * 59 + this.CustomMessage.GetHashCode(); + if (this.Permission != null) + hash = hash * 59 + this.Permission.GetHashCode(); + return hash; + } + } + + public IEnumerable Validate(ValidationContext validationContext) + { + yield break; + } + } +} diff --git a/sdk/src/DocuSign.eSign/Model/EnvelopesShareRequest.cs b/sdk/src/DocuSign.eSign/Model/EnvelopesShareRequest.cs new file mode 100644 index 000000000..bccb56d9f --- /dev/null +++ b/sdk/src/DocuSign.eSign/Model/EnvelopesShareRequest.cs @@ -0,0 +1,153 @@ +/* + * 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 +{ + /// + /// EnvelopesShareRequest + /// + [DataContract] + public partial class EnvelopesShareRequest : IEquatable, IValidatableObject + { + public EnvelopesShareRequest() + { + // Empty Constructor + } + + /// + /// Initializes a new instance of the class. + /// + /// AgentUser. + /// CustomMessage. + /// Permission. + public EnvelopesShareRequest(AuthorizationUser AgentUser = default(AuthorizationUser), string CustomMessage = default(string), string Permission = default(string)) + { + this.AgentUser = AgentUser; + this.CustomMessage = CustomMessage; + this.Permission = Permission; + } + + /// + /// Gets or Sets AgentUser + /// + [DataMember(Name="agentUser", EmitDefaultValue=false)] + public AuthorizationUser AgentUser { get; set; } + /// + /// Gets or Sets CustomMessage + /// + [DataMember(Name="customMessage", EmitDefaultValue=false)] + public string CustomMessage { get; set; } + /// + /// Gets or Sets Permission + /// + [DataMember(Name="permission", EmitDefaultValue=false)] + public string Permission { get; set; } + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class EnvelopesShareRequest {\n"); + sb.Append(" AgentUser: ").Append(AgentUser).Append("\n"); + sb.Append(" CustomMessage: ").Append(CustomMessage).Append("\n"); + sb.Append(" Permission: ").Append(Permission).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as EnvelopesShareRequest); + } + + /// + /// Returns true if EnvelopesShareRequest instances are equal + /// + /// Instance of EnvelopesShareRequest to be compared + /// Boolean + public bool Equals(EnvelopesShareRequest other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.AgentUser == other.AgentUser || + this.AgentUser != null && + this.AgentUser.Equals(other.AgentUser) + ) && + ( + this.CustomMessage == other.CustomMessage || + this.CustomMessage != null && + this.CustomMessage.Equals(other.CustomMessage) + ) && + ( + this.Permission == other.Permission || + this.Permission != null && + this.Permission.Equals(other.Permission) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + 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.AgentUser != null) + hash = hash * 59 + this.AgentUser.GetHashCode(); + if (this.CustomMessage != null) + hash = hash * 59 + this.CustomMessage.GetHashCode(); + if (this.Permission != null) + hash = hash * 59 + this.Permission.GetHashCode(); + return hash; + } + } + + public IEnumerable Validate(ValidationContext validationContext) + { + yield break; + } + } +} diff --git a/sdk/src/DocuSign.eSign/Model/EnvelopesShareResponse.cs b/sdk/src/DocuSign.eSign/Model/EnvelopesShareResponse.cs new file mode 100644 index 000000000..878615bf8 --- /dev/null +++ b/sdk/src/DocuSign.eSign/Model/EnvelopesShareResponse.cs @@ -0,0 +1,245 @@ +/* + * 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 +{ + /// + /// EnvelopesShareResponse + /// + [DataContract] + public partial class EnvelopesShareResponse : IEquatable, IValidatableObject + { + public EnvelopesShareResponse() + { + // Empty Constructor + } + + /// + /// Initializes a new instance of the class. + /// + /// AgentUser. + /// CreatedTimestamp. + /// The envelope ID of the envelope status that failed to post.. + /// Array or errors.. + /// ModifiedTimestamp. + /// Permission. + /// SenderInfo. + /// ShareId. + /// Subject. + public EnvelopesShareResponse(AuthorizationUser AgentUser = default(AuthorizationUser), string CreatedTimestamp = default(string), string EnvelopeId = default(string), ErrorDetails ErrorDetails = default(ErrorDetails), string ModifiedTimestamp = default(string), string Permission = default(string), AuthorizationUser SenderInfo = default(AuthorizationUser), string ShareId = default(string), string Subject = default(string)) + { + this.AgentUser = AgentUser; + this.CreatedTimestamp = CreatedTimestamp; + this.EnvelopeId = EnvelopeId; + this.ErrorDetails = ErrorDetails; + this.ModifiedTimestamp = ModifiedTimestamp; + this.Permission = Permission; + this.SenderInfo = SenderInfo; + this.ShareId = ShareId; + this.Subject = Subject; + } + + /// + /// Gets or Sets AgentUser + /// + [DataMember(Name="agentUser", EmitDefaultValue=false)] + public AuthorizationUser AgentUser { get; set; } + /// + /// Gets or Sets CreatedTimestamp + /// + [DataMember(Name="createdTimestamp", EmitDefaultValue=false)] + public string CreatedTimestamp { get; set; } + /// + /// The envelope ID of the envelope status that failed to post. + /// + /// The envelope ID of the envelope status that failed to post. + [DataMember(Name="envelopeId", EmitDefaultValue=false)] + public string EnvelopeId { get; set; } + /// + /// Array or errors. + /// + /// Array or errors. + [DataMember(Name="errorDetails", EmitDefaultValue=false)] + public ErrorDetails ErrorDetails { get; set; } + /// + /// Gets or Sets ModifiedTimestamp + /// + [DataMember(Name="modifiedTimestamp", EmitDefaultValue=false)] + public string ModifiedTimestamp { get; set; } + /// + /// Gets or Sets Permission + /// + [DataMember(Name="permission", EmitDefaultValue=false)] + public string Permission { get; set; } + /// + /// Gets or Sets SenderInfo + /// + [DataMember(Name="senderInfo", EmitDefaultValue=false)] + public AuthorizationUser SenderInfo { get; set; } + /// + /// Gets or Sets ShareId + /// + [DataMember(Name="shareId", EmitDefaultValue=false)] + public string ShareId { get; set; } + /// + /// Gets or Sets Subject + /// + [DataMember(Name="subject", EmitDefaultValue=false)] + public string Subject { get; set; } + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class EnvelopesShareResponse {\n"); + sb.Append(" AgentUser: ").Append(AgentUser).Append("\n"); + sb.Append(" CreatedTimestamp: ").Append(CreatedTimestamp).Append("\n"); + sb.Append(" EnvelopeId: ").Append(EnvelopeId).Append("\n"); + sb.Append(" ErrorDetails: ").Append(ErrorDetails).Append("\n"); + sb.Append(" ModifiedTimestamp: ").Append(ModifiedTimestamp).Append("\n"); + sb.Append(" Permission: ").Append(Permission).Append("\n"); + sb.Append(" SenderInfo: ").Append(SenderInfo).Append("\n"); + sb.Append(" ShareId: ").Append(ShareId).Append("\n"); + sb.Append(" Subject: ").Append(Subject).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as EnvelopesShareResponse); + } + + /// + /// Returns true if EnvelopesShareResponse instances are equal + /// + /// Instance of EnvelopesShareResponse to be compared + /// Boolean + public bool Equals(EnvelopesShareResponse other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.AgentUser == other.AgentUser || + this.AgentUser != null && + this.AgentUser.Equals(other.AgentUser) + ) && + ( + this.CreatedTimestamp == other.CreatedTimestamp || + this.CreatedTimestamp != null && + this.CreatedTimestamp.Equals(other.CreatedTimestamp) + ) && + ( + this.EnvelopeId == other.EnvelopeId || + this.EnvelopeId != null && + this.EnvelopeId.Equals(other.EnvelopeId) + ) && + ( + this.ErrorDetails == other.ErrorDetails || + this.ErrorDetails != null && + this.ErrorDetails.Equals(other.ErrorDetails) + ) && + ( + this.ModifiedTimestamp == other.ModifiedTimestamp || + this.ModifiedTimestamp != null && + this.ModifiedTimestamp.Equals(other.ModifiedTimestamp) + ) && + ( + this.Permission == other.Permission || + this.Permission != null && + this.Permission.Equals(other.Permission) + ) && + ( + this.SenderInfo == other.SenderInfo || + this.SenderInfo != null && + this.SenderInfo.Equals(other.SenderInfo) + ) && + ( + this.ShareId == other.ShareId || + this.ShareId != null && + this.ShareId.Equals(other.ShareId) + ) && + ( + this.Subject == other.Subject || + this.Subject != null && + this.Subject.Equals(other.Subject) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + 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.AgentUser != null) + hash = hash * 59 + this.AgentUser.GetHashCode(); + if (this.CreatedTimestamp != null) + hash = hash * 59 + this.CreatedTimestamp.GetHashCode(); + if (this.EnvelopeId != null) + hash = hash * 59 + this.EnvelopeId.GetHashCode(); + if (this.ErrorDetails != null) + hash = hash * 59 + this.ErrorDetails.GetHashCode(); + if (this.ModifiedTimestamp != null) + hash = hash * 59 + this.ModifiedTimestamp.GetHashCode(); + if (this.Permission != null) + hash = hash * 59 + this.Permission.GetHashCode(); + if (this.SenderInfo != null) + hash = hash * 59 + this.SenderInfo.GetHashCode(); + if (this.ShareId != null) + hash = hash * 59 + this.ShareId.GetHashCode(); + if (this.Subject != null) + hash = hash * 59 + this.Subject.GetHashCode(); + return hash; + } + } + + public IEnumerable Validate(ValidationContext validationContext) + { + yield break; + } + } +} diff --git a/sdk/src/DocuSign.eSign/Model/EnvelopesSharesRequest.cs b/sdk/src/DocuSign.eSign/Model/EnvelopesSharesRequest.cs index ef1cd07ba..b25785fee 100644 --- a/sdk/src/DocuSign.eSign/Model/EnvelopesSharesRequest.cs +++ b/sdk/src/DocuSign.eSign/Model/EnvelopesSharesRequest.cs @@ -36,7 +36,7 @@ public EnvelopesSharesRequest() /// Initializes a new instance of the class. /// /// Shares. - public EnvelopesSharesRequest(List Shares = default(List)) + public EnvelopesSharesRequest(List Shares = default(List)) { this.Shares = Shares; } @@ -45,7 +45,7 @@ public EnvelopesSharesRequest() /// Gets or Sets Shares /// [DataMember(Name="shares", EmitDefaultValue=false)] - public List Shares { get; set; } + public List Shares { get; set; } /// /// Returns the string presentation of the object /// diff --git a/sdk/src/DocuSign.eSign/Model/EnvelopesSharesResponse.cs b/sdk/src/DocuSign.eSign/Model/EnvelopesSharesResponse.cs index 0051e707c..ca40bbde1 100644 --- a/sdk/src/DocuSign.eSign/Model/EnvelopesSharesResponse.cs +++ b/sdk/src/DocuSign.eSign/Model/EnvelopesSharesResponse.cs @@ -36,7 +36,7 @@ public EnvelopesSharesResponse() /// Initializes a new instance of the class. /// /// Shares. - public EnvelopesSharesResponse(List Shares = default(List)) + public EnvelopesSharesResponse(List Shares = default(List)) { this.Shares = Shares; } @@ -45,7 +45,7 @@ public EnvelopesSharesResponse() /// Gets or Sets Shares /// [DataMember(Name="shares", EmitDefaultValue=false)] - public List Shares { get; set; } + public List Shares { get; set; } /// /// Returns the string presentation of the object /// diff --git a/sdk/src/DocuSign.eSign/Model/FirstName.cs b/sdk/src/DocuSign.eSign/Model/FirstName.cs index 2c77a4644..c14c364b3 100644 --- a/sdk/src/DocuSign.eSign/Model/FirstName.cs +++ b/sdk/src/DocuSign.eSign/Model/FirstName.cs @@ -51,6 +51,7 @@ public FirstName() /// Metadata that indicates whether the `anchorString` property is editable.. /// AnchorTabProcessorVersion. /// Reserved for DocuSign.. + /// AnchorTabScope. /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.. /// Metadata that indicates whether the `anchorUnits` property is editable.. /// Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.. @@ -131,7 +132,7 @@ public FirstName() /// Metadata that indicates whether the `xPosition` property is editable.. /// This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.. /// Metadata that indicates whether the `yPosition` property is editable.. - public FirstName(string AgreementAttribute = default(string), string AgreementAttributeLocked = default(string), string AnchorAllowWhiteSpaceInCharacters = default(string), PropertyMetadata AnchorAllowWhiteSpaceInCharactersMetadata = default(PropertyMetadata), string AnchorCaseSensitive = default(string), PropertyMetadata AnchorCaseSensitiveMetadata = default(PropertyMetadata), string AnchorHorizontalAlignment = default(string), PropertyMetadata AnchorHorizontalAlignmentMetadata = default(PropertyMetadata), string AnchorIgnoreIfNotPresent = default(string), PropertyMetadata AnchorIgnoreIfNotPresentMetadata = default(PropertyMetadata), string AnchorMatchWholeWord = default(string), PropertyMetadata AnchorMatchWholeWordMetadata = default(PropertyMetadata), string AnchorString = default(string), PropertyMetadata AnchorStringMetadata = default(PropertyMetadata), string AnchorTabProcessorVersion = default(string), PropertyMetadata AnchorTabProcessorVersionMetadata = default(PropertyMetadata), string AnchorUnits = default(string), PropertyMetadata AnchorUnitsMetadata = default(PropertyMetadata), string AnchorXOffset = default(string), PropertyMetadata AnchorXOffsetMetadata = default(PropertyMetadata), string AnchorYOffset = default(string), PropertyMetadata AnchorYOffsetMetadata = default(PropertyMetadata), string Bold = default(string), PropertyMetadata BoldMetadata = default(PropertyMetadata), string Caption = default(string), PropertyMetadata CaptionMetadata = default(PropertyMetadata), string ConditionalParentLabel = default(string), PropertyMetadata ConditionalParentLabelMetadata = default(PropertyMetadata), string ConditionalParentValue = default(string), PropertyMetadata ConditionalParentValueMetadata = default(PropertyMetadata), ConnectedObjectDetails ConnectedObjectDetails = default(ConnectedObjectDetails), string CustomTabId = default(string), PropertyMetadata CustomTabIdMetadata = default(PropertyMetadata), string DocumentId = default(string), PropertyMetadata DocumentIdMetadata = default(PropertyMetadata), ErrorDetails ErrorDetails = default(ErrorDetails), ExtensionData ExtensionData = default(ExtensionData), string Font = default(string), string FontColor = default(string), PropertyMetadata FontColorMetadata = default(PropertyMetadata), PropertyMetadata FontMetadata = default(PropertyMetadata), string FontSize = default(string), PropertyMetadata FontSizeMetadata = default(PropertyMetadata), string FormOrder = default(string), PropertyMetadata FormOrderMetadata = default(PropertyMetadata), string FormPageLabel = default(string), PropertyMetadata FormPageLabelMetadata = default(PropertyMetadata), string FormPageNumber = default(string), PropertyMetadata FormPageNumberMetadata = default(PropertyMetadata), string Height = default(string), PropertyMetadata HeightMetadata = default(PropertyMetadata), string Italic = default(string), PropertyMetadata ItalicMetadata = default(PropertyMetadata), LocalePolicyTab LocalePolicy = default(LocalePolicyTab), MergeField MergeField = default(MergeField), string MergeFieldXml = default(string), string Name = default(string), PropertyMetadata NameMetadata = default(PropertyMetadata), string PageNumber = default(string), PropertyMetadata PageNumberMetadata = default(PropertyMetadata), string RecipientId = default(string), string RecipientIdGuid = default(string), PropertyMetadata RecipientIdGuidMetadata = default(PropertyMetadata), PropertyMetadata RecipientIdMetadata = default(PropertyMetadata), SmartContractInformation SmartContractInformation = default(SmartContractInformation), string Source = default(string), string Status = default(string), PropertyMetadata StatusMetadata = default(PropertyMetadata), string TabFullyQualifiedPath = default(string), List TabGroupLabels = default(List), PropertyMetadata TabGroupLabelsMetadata = default(PropertyMetadata), string TabId = default(string), PropertyMetadata TabIdMetadata = default(PropertyMetadata), string TabLabel = default(string), PropertyMetadata TabLabelMetadata = default(PropertyMetadata), string TabOrder = default(string), PropertyMetadata TabOrderMetadata = default(PropertyMetadata), string TabType = default(string), PropertyMetadata TabTypeMetadata = default(PropertyMetadata), string TemplateLocked = default(string), PropertyMetadata TemplateLockedMetadata = default(PropertyMetadata), string TemplateRequired = default(string), PropertyMetadata TemplateRequiredMetadata = default(PropertyMetadata), string Tooltip = default(string), PropertyMetadata ToolTipMetadata = default(PropertyMetadata), string Underline = default(string), PropertyMetadata UnderlineMetadata = default(PropertyMetadata), string Value = default(string), PropertyMetadata ValueMetadata = default(PropertyMetadata), ErrorDetails WarningDetails = default(ErrorDetails), string Width = default(string), PropertyMetadata WidthMetadata = default(PropertyMetadata), string XPosition = default(string), PropertyMetadata XPositionMetadata = default(PropertyMetadata), string YPosition = default(string), PropertyMetadata YPositionMetadata = default(PropertyMetadata)) + public FirstName(string AgreementAttribute = default(string), string AgreementAttributeLocked = default(string), string AnchorAllowWhiteSpaceInCharacters = default(string), PropertyMetadata AnchorAllowWhiteSpaceInCharactersMetadata = default(PropertyMetadata), string AnchorCaseSensitive = default(string), PropertyMetadata AnchorCaseSensitiveMetadata = default(PropertyMetadata), string AnchorHorizontalAlignment = default(string), PropertyMetadata AnchorHorizontalAlignmentMetadata = default(PropertyMetadata), string AnchorIgnoreIfNotPresent = default(string), PropertyMetadata AnchorIgnoreIfNotPresentMetadata = default(PropertyMetadata), string AnchorMatchWholeWord = default(string), PropertyMetadata AnchorMatchWholeWordMetadata = default(PropertyMetadata), string AnchorString = default(string), PropertyMetadata AnchorStringMetadata = default(PropertyMetadata), string AnchorTabProcessorVersion = default(string), PropertyMetadata AnchorTabProcessorVersionMetadata = default(PropertyMetadata), string AnchorTabScope = default(string), string AnchorUnits = default(string), PropertyMetadata AnchorUnitsMetadata = default(PropertyMetadata), string AnchorXOffset = default(string), PropertyMetadata AnchorXOffsetMetadata = default(PropertyMetadata), string AnchorYOffset = default(string), PropertyMetadata AnchorYOffsetMetadata = default(PropertyMetadata), string Bold = default(string), PropertyMetadata BoldMetadata = default(PropertyMetadata), string Caption = default(string), PropertyMetadata CaptionMetadata = default(PropertyMetadata), string ConditionalParentLabel = default(string), PropertyMetadata ConditionalParentLabelMetadata = default(PropertyMetadata), string ConditionalParentValue = default(string), PropertyMetadata ConditionalParentValueMetadata = default(PropertyMetadata), ConnectedObjectDetails ConnectedObjectDetails = default(ConnectedObjectDetails), string CustomTabId = default(string), PropertyMetadata CustomTabIdMetadata = default(PropertyMetadata), string DocumentId = default(string), PropertyMetadata DocumentIdMetadata = default(PropertyMetadata), ErrorDetails ErrorDetails = default(ErrorDetails), ExtensionData ExtensionData = default(ExtensionData), string Font = default(string), string FontColor = default(string), PropertyMetadata FontColorMetadata = default(PropertyMetadata), PropertyMetadata FontMetadata = default(PropertyMetadata), string FontSize = default(string), PropertyMetadata FontSizeMetadata = default(PropertyMetadata), string FormOrder = default(string), PropertyMetadata FormOrderMetadata = default(PropertyMetadata), string FormPageLabel = default(string), PropertyMetadata FormPageLabelMetadata = default(PropertyMetadata), string FormPageNumber = default(string), PropertyMetadata FormPageNumberMetadata = default(PropertyMetadata), string Height = default(string), PropertyMetadata HeightMetadata = default(PropertyMetadata), string Italic = default(string), PropertyMetadata ItalicMetadata = default(PropertyMetadata), LocalePolicyTab LocalePolicy = default(LocalePolicyTab), MergeField MergeField = default(MergeField), string MergeFieldXml = default(string), string Name = default(string), PropertyMetadata NameMetadata = default(PropertyMetadata), string PageNumber = default(string), PropertyMetadata PageNumberMetadata = default(PropertyMetadata), string RecipientId = default(string), string RecipientIdGuid = default(string), PropertyMetadata RecipientIdGuidMetadata = default(PropertyMetadata), PropertyMetadata RecipientIdMetadata = default(PropertyMetadata), SmartContractInformation SmartContractInformation = default(SmartContractInformation), string Source = default(string), string Status = default(string), PropertyMetadata StatusMetadata = default(PropertyMetadata), string TabFullyQualifiedPath = default(string), List TabGroupLabels = default(List), PropertyMetadata TabGroupLabelsMetadata = default(PropertyMetadata), string TabId = default(string), PropertyMetadata TabIdMetadata = default(PropertyMetadata), string TabLabel = default(string), PropertyMetadata TabLabelMetadata = default(PropertyMetadata), string TabOrder = default(string), PropertyMetadata TabOrderMetadata = default(PropertyMetadata), string TabType = default(string), PropertyMetadata TabTypeMetadata = default(PropertyMetadata), string TemplateLocked = default(string), PropertyMetadata TemplateLockedMetadata = default(PropertyMetadata), string TemplateRequired = default(string), PropertyMetadata TemplateRequiredMetadata = default(PropertyMetadata), string Tooltip = default(string), PropertyMetadata ToolTipMetadata = default(PropertyMetadata), string Underline = default(string), PropertyMetadata UnderlineMetadata = default(PropertyMetadata), string Value = default(string), PropertyMetadata ValueMetadata = default(PropertyMetadata), ErrorDetails WarningDetails = default(ErrorDetails), string Width = default(string), PropertyMetadata WidthMetadata = default(PropertyMetadata), string XPosition = default(string), PropertyMetadata XPositionMetadata = default(PropertyMetadata), string YPosition = default(string), PropertyMetadata YPositionMetadata = default(PropertyMetadata)) { this.AgreementAttribute = AgreementAttribute; this.AgreementAttributeLocked = AgreementAttributeLocked; @@ -149,6 +150,7 @@ public FirstName() this.AnchorStringMetadata = AnchorStringMetadata; this.AnchorTabProcessorVersion = AnchorTabProcessorVersion; this.AnchorTabProcessorVersionMetadata = AnchorTabProcessorVersionMetadata; + this.AnchorTabScope = AnchorTabScope; this.AnchorUnits = AnchorUnits; this.AnchorUnitsMetadata = AnchorUnitsMetadata; this.AnchorXOffset = AnchorXOffset; @@ -324,6 +326,11 @@ public FirstName() [DataMember(Name="anchorTabProcessorVersionMetadata", EmitDefaultValue=false)] public PropertyMetadata AnchorTabProcessorVersionMetadata { get; set; } /// + /// Gets or Sets AnchorTabScope + /// + [DataMember(Name="anchorTabScope", EmitDefaultValue=false)] + public string AnchorTabScope { get; set; } + /// /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. /// /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. @@ -810,6 +817,7 @@ public override string ToString() sb.Append(" AnchorStringMetadata: ").Append(AnchorStringMetadata).Append("\n"); sb.Append(" AnchorTabProcessorVersion: ").Append(AnchorTabProcessorVersion).Append("\n"); sb.Append(" AnchorTabProcessorVersionMetadata: ").Append(AnchorTabProcessorVersionMetadata).Append("\n"); + sb.Append(" AnchorTabScope: ").Append(AnchorTabScope).Append("\n"); sb.Append(" AnchorUnits: ").Append(AnchorUnits).Append("\n"); sb.Append(" AnchorUnitsMetadata: ").Append(AnchorUnitsMetadata).Append("\n"); sb.Append(" AnchorXOffset: ").Append(AnchorXOffset).Append("\n"); @@ -1006,6 +1014,11 @@ public bool Equals(FirstName other) this.AnchorTabProcessorVersionMetadata != null && this.AnchorTabProcessorVersionMetadata.Equals(other.AnchorTabProcessorVersionMetadata) ) && + ( + this.AnchorTabScope == other.AnchorTabScope || + this.AnchorTabScope != null && + this.AnchorTabScope.Equals(other.AnchorTabScope) + ) && ( this.AnchorUnits == other.AnchorUnits || this.AnchorUnits != null && @@ -1451,6 +1464,8 @@ public override int GetHashCode() hash = hash * 59 + this.AnchorTabProcessorVersion.GetHashCode(); if (this.AnchorTabProcessorVersionMetadata != null) hash = hash * 59 + this.AnchorTabProcessorVersionMetadata.GetHashCode(); + if (this.AnchorTabScope != null) + hash = hash * 59 + this.AnchorTabScope.GetHashCode(); if (this.AnchorUnits != null) hash = hash * 59 + this.AnchorUnits.GetHashCode(); if (this.AnchorUnitsMetadata != null) diff --git a/sdk/src/DocuSign.eSign/Model/FormulaTab.cs b/sdk/src/DocuSign.eSign/Model/FormulaTab.cs index c52d0783c..44ab069c0 100644 --- a/sdk/src/DocuSign.eSign/Model/FormulaTab.cs +++ b/sdk/src/DocuSign.eSign/Model/FormulaTab.cs @@ -51,6 +51,7 @@ public FormulaTab() /// Metadata that indicates whether the `anchorString` property is editable.. /// AnchorTabProcessorVersion. /// Reserved for DocuSign.. + /// AnchorTabScope. /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.. /// Metadata that indicates whether the `anchorUnits` property is editable.. /// Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.. @@ -166,7 +167,7 @@ public FormulaTab() /// Metadata that indicates whether the `xPosition` property is editable.. /// This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.. /// Metadata that indicates whether the `yPosition` property is editable.. - public FormulaTab(string AgreementAttribute = default(string), string AgreementAttributeLocked = default(string), string AnchorAllowWhiteSpaceInCharacters = default(string), PropertyMetadata AnchorAllowWhiteSpaceInCharactersMetadata = default(PropertyMetadata), string AnchorCaseSensitive = default(string), PropertyMetadata AnchorCaseSensitiveMetadata = default(PropertyMetadata), string AnchorHorizontalAlignment = default(string), PropertyMetadata AnchorHorizontalAlignmentMetadata = default(PropertyMetadata), string AnchorIgnoreIfNotPresent = default(string), PropertyMetadata AnchorIgnoreIfNotPresentMetadata = default(PropertyMetadata), string AnchorMatchWholeWord = default(string), PropertyMetadata AnchorMatchWholeWordMetadata = default(PropertyMetadata), string AnchorString = default(string), PropertyMetadata AnchorStringMetadata = default(PropertyMetadata), string AnchorTabProcessorVersion = default(string), PropertyMetadata AnchorTabProcessorVersionMetadata = default(PropertyMetadata), string AnchorUnits = default(string), PropertyMetadata AnchorUnitsMetadata = default(PropertyMetadata), string AnchorXOffset = default(string), PropertyMetadata AnchorXOffsetMetadata = default(PropertyMetadata), string AnchorYOffset = default(string), PropertyMetadata AnchorYOffsetMetadata = default(PropertyMetadata), string Bold = default(string), PropertyMetadata BoldMetadata = default(PropertyMetadata), string Caption = default(string), PropertyMetadata CaptionMetadata = default(PropertyMetadata), string ConcealValueOnDocument = default(string), PropertyMetadata ConcealValueOnDocumentMetadata = default(PropertyMetadata), string ConditionalParentLabel = default(string), PropertyMetadata ConditionalParentLabelMetadata = default(PropertyMetadata), string ConditionalParentValue = default(string), PropertyMetadata ConditionalParentValueMetadata = default(PropertyMetadata), ConnectedObjectDetails ConnectedObjectDetails = default(ConnectedObjectDetails), string CustomTabId = default(string), PropertyMetadata CustomTabIdMetadata = default(PropertyMetadata), string DisableAutoSize = default(string), PropertyMetadata DisableAutoSizeMetadata = default(PropertyMetadata), string DocumentId = default(string), PropertyMetadata DocumentIdMetadata = default(PropertyMetadata), ErrorDetails ErrorDetails = default(ErrorDetails), ExtensionData ExtensionData = default(ExtensionData), string Font = default(string), string FontColor = default(string), PropertyMetadata FontColorMetadata = default(PropertyMetadata), PropertyMetadata FontMetadata = default(PropertyMetadata), string FontSize = default(string), PropertyMetadata FontSizeMetadata = default(PropertyMetadata), string FormOrder = default(string), PropertyMetadata FormOrderMetadata = default(PropertyMetadata), string FormPageLabel = default(string), PropertyMetadata FormPageLabelMetadata = default(PropertyMetadata), string FormPageNumber = default(string), PropertyMetadata FormPageNumberMetadata = default(PropertyMetadata), string Formula = default(string), PropertyMetadata FormulaMetadata = default(PropertyMetadata), string Height = default(string), PropertyMetadata HeightMetadata = default(PropertyMetadata), string Hidden = default(string), PropertyMetadata HiddenMetadata = default(PropertyMetadata), string IsPaymentAmount = default(string), PropertyMetadata IsPaymentAmountMetadata = default(PropertyMetadata), string Italic = default(string), PropertyMetadata ItalicMetadata = default(PropertyMetadata), LocalePolicyTab LocalePolicy = default(LocalePolicyTab), string Locked = default(string), PropertyMetadata LockedMetadata = default(PropertyMetadata), string MaxLength = default(string), PropertyMetadata MaxLengthMetadata = default(PropertyMetadata), MergeField MergeField = default(MergeField), string MergeFieldXml = default(string), string Name = default(string), PropertyMetadata NameMetadata = default(PropertyMetadata), string OriginalValue = default(string), PropertyMetadata OriginalValueMetadata = default(PropertyMetadata), string PageNumber = default(string), PropertyMetadata PageNumberMetadata = default(PropertyMetadata), PaymentDetails PaymentDetails = default(PaymentDetails), string RecipientId = default(string), string RecipientIdGuid = default(string), PropertyMetadata RecipientIdGuidMetadata = default(PropertyMetadata), PropertyMetadata RecipientIdMetadata = default(PropertyMetadata), string RequireAll = default(string), PropertyMetadata RequireAllMetadata = default(PropertyMetadata), string Required = default(string), PropertyMetadata RequiredMetadata = default(PropertyMetadata), string RequireInitialOnSharedChange = default(string), PropertyMetadata RequireInitialOnSharedChangeMetadata = default(PropertyMetadata), string RoundDecimalPlaces = default(string), PropertyMetadata RoundDecimalPlacesMetadata = default(PropertyMetadata), string SenderRequired = default(string), PropertyMetadata SenderRequiredMetadata = default(PropertyMetadata), string Shared = default(string), PropertyMetadata SharedMetadata = default(PropertyMetadata), string ShareToRecipients = default(string), PropertyMetadata ShareToRecipientsMetadata = default(PropertyMetadata), SmartContractInformation SmartContractInformation = default(SmartContractInformation), string Source = default(string), string Status = default(string), PropertyMetadata StatusMetadata = default(PropertyMetadata), string TabFullyQualifiedPath = default(string), List TabGroupLabels = default(List), PropertyMetadata TabGroupLabelsMetadata = default(PropertyMetadata), string TabId = default(string), PropertyMetadata TabIdMetadata = default(PropertyMetadata), string TabLabel = default(string), PropertyMetadata TabLabelMetadata = default(PropertyMetadata), string TabOrder = default(string), PropertyMetadata TabOrderMetadata = default(PropertyMetadata), string TabType = default(string), PropertyMetadata TabTypeMetadata = default(PropertyMetadata), string TemplateLocked = default(string), PropertyMetadata TemplateLockedMetadata = default(PropertyMetadata), string TemplateRequired = default(string), PropertyMetadata TemplateRequiredMetadata = default(PropertyMetadata), string Tooltip = default(string), PropertyMetadata ToolTipMetadata = default(PropertyMetadata), string Underline = default(string), PropertyMetadata UnderlineMetadata = default(PropertyMetadata), string ValidationMessage = default(string), PropertyMetadata ValidationMessageMetadata = default(PropertyMetadata), string ValidationPattern = default(string), PropertyMetadata ValidationPatternMetadata = default(PropertyMetadata), string Value = default(string), PropertyMetadata ValueMetadata = default(PropertyMetadata), ErrorDetails WarningDetails = default(ErrorDetails), string Width = default(string), PropertyMetadata WidthMetadata = default(PropertyMetadata), string XPosition = default(string), PropertyMetadata XPositionMetadata = default(PropertyMetadata), string YPosition = default(string), PropertyMetadata YPositionMetadata = default(PropertyMetadata)) + public FormulaTab(string AgreementAttribute = default(string), string AgreementAttributeLocked = default(string), string AnchorAllowWhiteSpaceInCharacters = default(string), PropertyMetadata AnchorAllowWhiteSpaceInCharactersMetadata = default(PropertyMetadata), string AnchorCaseSensitive = default(string), PropertyMetadata AnchorCaseSensitiveMetadata = default(PropertyMetadata), string AnchorHorizontalAlignment = default(string), PropertyMetadata AnchorHorizontalAlignmentMetadata = default(PropertyMetadata), string AnchorIgnoreIfNotPresent = default(string), PropertyMetadata AnchorIgnoreIfNotPresentMetadata = default(PropertyMetadata), string AnchorMatchWholeWord = default(string), PropertyMetadata AnchorMatchWholeWordMetadata = default(PropertyMetadata), string AnchorString = default(string), PropertyMetadata AnchorStringMetadata = default(PropertyMetadata), string AnchorTabProcessorVersion = default(string), PropertyMetadata AnchorTabProcessorVersionMetadata = default(PropertyMetadata), string AnchorTabScope = default(string), string AnchorUnits = default(string), PropertyMetadata AnchorUnitsMetadata = default(PropertyMetadata), string AnchorXOffset = default(string), PropertyMetadata AnchorXOffsetMetadata = default(PropertyMetadata), string AnchorYOffset = default(string), PropertyMetadata AnchorYOffsetMetadata = default(PropertyMetadata), string Bold = default(string), PropertyMetadata BoldMetadata = default(PropertyMetadata), string Caption = default(string), PropertyMetadata CaptionMetadata = default(PropertyMetadata), string ConcealValueOnDocument = default(string), PropertyMetadata ConcealValueOnDocumentMetadata = default(PropertyMetadata), string ConditionalParentLabel = default(string), PropertyMetadata ConditionalParentLabelMetadata = default(PropertyMetadata), string ConditionalParentValue = default(string), PropertyMetadata ConditionalParentValueMetadata = default(PropertyMetadata), ConnectedObjectDetails ConnectedObjectDetails = default(ConnectedObjectDetails), string CustomTabId = default(string), PropertyMetadata CustomTabIdMetadata = default(PropertyMetadata), string DisableAutoSize = default(string), PropertyMetadata DisableAutoSizeMetadata = default(PropertyMetadata), string DocumentId = default(string), PropertyMetadata DocumentIdMetadata = default(PropertyMetadata), ErrorDetails ErrorDetails = default(ErrorDetails), ExtensionData ExtensionData = default(ExtensionData), string Font = default(string), string FontColor = default(string), PropertyMetadata FontColorMetadata = default(PropertyMetadata), PropertyMetadata FontMetadata = default(PropertyMetadata), string FontSize = default(string), PropertyMetadata FontSizeMetadata = default(PropertyMetadata), string FormOrder = default(string), PropertyMetadata FormOrderMetadata = default(PropertyMetadata), string FormPageLabel = default(string), PropertyMetadata FormPageLabelMetadata = default(PropertyMetadata), string FormPageNumber = default(string), PropertyMetadata FormPageNumberMetadata = default(PropertyMetadata), string Formula = default(string), PropertyMetadata FormulaMetadata = default(PropertyMetadata), string Height = default(string), PropertyMetadata HeightMetadata = default(PropertyMetadata), string Hidden = default(string), PropertyMetadata HiddenMetadata = default(PropertyMetadata), string IsPaymentAmount = default(string), PropertyMetadata IsPaymentAmountMetadata = default(PropertyMetadata), string Italic = default(string), PropertyMetadata ItalicMetadata = default(PropertyMetadata), LocalePolicyTab LocalePolicy = default(LocalePolicyTab), string Locked = default(string), PropertyMetadata LockedMetadata = default(PropertyMetadata), string MaxLength = default(string), PropertyMetadata MaxLengthMetadata = default(PropertyMetadata), MergeField MergeField = default(MergeField), string MergeFieldXml = default(string), string Name = default(string), PropertyMetadata NameMetadata = default(PropertyMetadata), string OriginalValue = default(string), PropertyMetadata OriginalValueMetadata = default(PropertyMetadata), string PageNumber = default(string), PropertyMetadata PageNumberMetadata = default(PropertyMetadata), PaymentDetails PaymentDetails = default(PaymentDetails), string RecipientId = default(string), string RecipientIdGuid = default(string), PropertyMetadata RecipientIdGuidMetadata = default(PropertyMetadata), PropertyMetadata RecipientIdMetadata = default(PropertyMetadata), string RequireAll = default(string), PropertyMetadata RequireAllMetadata = default(PropertyMetadata), string Required = default(string), PropertyMetadata RequiredMetadata = default(PropertyMetadata), string RequireInitialOnSharedChange = default(string), PropertyMetadata RequireInitialOnSharedChangeMetadata = default(PropertyMetadata), string RoundDecimalPlaces = default(string), PropertyMetadata RoundDecimalPlacesMetadata = default(PropertyMetadata), string SenderRequired = default(string), PropertyMetadata SenderRequiredMetadata = default(PropertyMetadata), string Shared = default(string), PropertyMetadata SharedMetadata = default(PropertyMetadata), string ShareToRecipients = default(string), PropertyMetadata ShareToRecipientsMetadata = default(PropertyMetadata), SmartContractInformation SmartContractInformation = default(SmartContractInformation), string Source = default(string), string Status = default(string), PropertyMetadata StatusMetadata = default(PropertyMetadata), string TabFullyQualifiedPath = default(string), List TabGroupLabels = default(List), PropertyMetadata TabGroupLabelsMetadata = default(PropertyMetadata), string TabId = default(string), PropertyMetadata TabIdMetadata = default(PropertyMetadata), string TabLabel = default(string), PropertyMetadata TabLabelMetadata = default(PropertyMetadata), string TabOrder = default(string), PropertyMetadata TabOrderMetadata = default(PropertyMetadata), string TabType = default(string), PropertyMetadata TabTypeMetadata = default(PropertyMetadata), string TemplateLocked = default(string), PropertyMetadata TemplateLockedMetadata = default(PropertyMetadata), string TemplateRequired = default(string), PropertyMetadata TemplateRequiredMetadata = default(PropertyMetadata), string Tooltip = default(string), PropertyMetadata ToolTipMetadata = default(PropertyMetadata), string Underline = default(string), PropertyMetadata UnderlineMetadata = default(PropertyMetadata), string ValidationMessage = default(string), PropertyMetadata ValidationMessageMetadata = default(PropertyMetadata), string ValidationPattern = default(string), PropertyMetadata ValidationPatternMetadata = default(PropertyMetadata), string Value = default(string), PropertyMetadata ValueMetadata = default(PropertyMetadata), ErrorDetails WarningDetails = default(ErrorDetails), string Width = default(string), PropertyMetadata WidthMetadata = default(PropertyMetadata), string XPosition = default(string), PropertyMetadata XPositionMetadata = default(PropertyMetadata), string YPosition = default(string), PropertyMetadata YPositionMetadata = default(PropertyMetadata)) { this.AgreementAttribute = AgreementAttribute; this.AgreementAttributeLocked = AgreementAttributeLocked; @@ -184,6 +185,7 @@ public FormulaTab() this.AnchorStringMetadata = AnchorStringMetadata; this.AnchorTabProcessorVersion = AnchorTabProcessorVersion; this.AnchorTabProcessorVersionMetadata = AnchorTabProcessorVersionMetadata; + this.AnchorTabScope = AnchorTabScope; this.AnchorUnits = AnchorUnits; this.AnchorUnitsMetadata = AnchorUnitsMetadata; this.AnchorXOffset = AnchorXOffset; @@ -394,6 +396,11 @@ public FormulaTab() [DataMember(Name="anchorTabProcessorVersionMetadata", EmitDefaultValue=false)] public PropertyMetadata AnchorTabProcessorVersionMetadata { get; set; } /// + /// Gets or Sets AnchorTabScope + /// + [DataMember(Name="anchorTabScope", EmitDefaultValue=false)] + public string AnchorTabScope { get; set; } + /// /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. /// /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. @@ -1087,6 +1094,7 @@ public override string ToString() sb.Append(" AnchorStringMetadata: ").Append(AnchorStringMetadata).Append("\n"); sb.Append(" AnchorTabProcessorVersion: ").Append(AnchorTabProcessorVersion).Append("\n"); sb.Append(" AnchorTabProcessorVersionMetadata: ").Append(AnchorTabProcessorVersionMetadata).Append("\n"); + sb.Append(" AnchorTabScope: ").Append(AnchorTabScope).Append("\n"); sb.Append(" AnchorUnits: ").Append(AnchorUnits).Append("\n"); sb.Append(" AnchorUnitsMetadata: ").Append(AnchorUnitsMetadata).Append("\n"); sb.Append(" AnchorXOffset: ").Append(AnchorXOffset).Append("\n"); @@ -1318,6 +1326,11 @@ public bool Equals(FormulaTab other) this.AnchorTabProcessorVersionMetadata != null && this.AnchorTabProcessorVersionMetadata.Equals(other.AnchorTabProcessorVersionMetadata) ) && + ( + this.AnchorTabScope == other.AnchorTabScope || + this.AnchorTabScope != null && + this.AnchorTabScope.Equals(other.AnchorTabScope) + ) && ( this.AnchorUnits == other.AnchorUnits || this.AnchorUnits != null && @@ -1938,6 +1951,8 @@ public override int GetHashCode() hash = hash * 59 + this.AnchorTabProcessorVersion.GetHashCode(); if (this.AnchorTabProcessorVersionMetadata != null) hash = hash * 59 + this.AnchorTabProcessorVersionMetadata.GetHashCode(); + if (this.AnchorTabScope != null) + hash = hash * 59 + this.AnchorTabScope.GetHashCode(); if (this.AnchorUnits != null) hash = hash * 59 + this.AnchorUnits.GetHashCode(); if (this.AnchorUnitsMetadata != null) diff --git a/sdk/src/DocuSign.eSign/Model/FullName.cs b/sdk/src/DocuSign.eSign/Model/FullName.cs index ff89f8179..30e19ffb0 100644 --- a/sdk/src/DocuSign.eSign/Model/FullName.cs +++ b/sdk/src/DocuSign.eSign/Model/FullName.cs @@ -51,6 +51,7 @@ public FullName() /// Metadata that indicates whether the `anchorString` property is editable.. /// AnchorTabProcessorVersion. /// Reserved for DocuSign.. + /// AnchorTabScope. /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.. /// Metadata that indicates whether the `anchorUnits` property is editable.. /// Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.. @@ -131,7 +132,7 @@ public FullName() /// Metadata that indicates whether the `xPosition` property is editable.. /// This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.. /// Metadata that indicates whether the `yPosition` property is editable.. - public FullName(string AgreementAttribute = default(string), string AgreementAttributeLocked = default(string), string AnchorAllowWhiteSpaceInCharacters = default(string), PropertyMetadata AnchorAllowWhiteSpaceInCharactersMetadata = default(PropertyMetadata), string AnchorCaseSensitive = default(string), PropertyMetadata AnchorCaseSensitiveMetadata = default(PropertyMetadata), string AnchorHorizontalAlignment = default(string), PropertyMetadata AnchorHorizontalAlignmentMetadata = default(PropertyMetadata), string AnchorIgnoreIfNotPresent = default(string), PropertyMetadata AnchorIgnoreIfNotPresentMetadata = default(PropertyMetadata), string AnchorMatchWholeWord = default(string), PropertyMetadata AnchorMatchWholeWordMetadata = default(PropertyMetadata), string AnchorString = default(string), PropertyMetadata AnchorStringMetadata = default(PropertyMetadata), string AnchorTabProcessorVersion = default(string), PropertyMetadata AnchorTabProcessorVersionMetadata = default(PropertyMetadata), string AnchorUnits = default(string), PropertyMetadata AnchorUnitsMetadata = default(PropertyMetadata), string AnchorXOffset = default(string), PropertyMetadata AnchorXOffsetMetadata = default(PropertyMetadata), string AnchorYOffset = default(string), PropertyMetadata AnchorYOffsetMetadata = default(PropertyMetadata), string Bold = default(string), PropertyMetadata BoldMetadata = default(PropertyMetadata), string Caption = default(string), PropertyMetadata CaptionMetadata = default(PropertyMetadata), string ConditionalParentLabel = default(string), PropertyMetadata ConditionalParentLabelMetadata = default(PropertyMetadata), string ConditionalParentValue = default(string), PropertyMetadata ConditionalParentValueMetadata = default(PropertyMetadata), ConnectedObjectDetails ConnectedObjectDetails = default(ConnectedObjectDetails), string CustomTabId = default(string), PropertyMetadata CustomTabIdMetadata = default(PropertyMetadata), string DocumentId = default(string), PropertyMetadata DocumentIdMetadata = default(PropertyMetadata), ErrorDetails ErrorDetails = default(ErrorDetails), ExtensionData ExtensionData = default(ExtensionData), string Font = default(string), string FontColor = default(string), PropertyMetadata FontColorMetadata = default(PropertyMetadata), PropertyMetadata FontMetadata = default(PropertyMetadata), string FontSize = default(string), PropertyMetadata FontSizeMetadata = default(PropertyMetadata), string FormOrder = default(string), PropertyMetadata FormOrderMetadata = default(PropertyMetadata), string FormPageLabel = default(string), PropertyMetadata FormPageLabelMetadata = default(PropertyMetadata), string FormPageNumber = default(string), PropertyMetadata FormPageNumberMetadata = default(PropertyMetadata), string Height = default(string), PropertyMetadata HeightMetadata = default(PropertyMetadata), string Italic = default(string), PropertyMetadata ItalicMetadata = default(PropertyMetadata), LocalePolicyTab LocalePolicy = default(LocalePolicyTab), MergeField MergeField = default(MergeField), string MergeFieldXml = default(string), string Name = default(string), PropertyMetadata NameMetadata = default(PropertyMetadata), string PageNumber = default(string), PropertyMetadata PageNumberMetadata = default(PropertyMetadata), string RecipientId = default(string), string RecipientIdGuid = default(string), PropertyMetadata RecipientIdGuidMetadata = default(PropertyMetadata), PropertyMetadata RecipientIdMetadata = default(PropertyMetadata), SmartContractInformation SmartContractInformation = default(SmartContractInformation), string Source = default(string), string Status = default(string), PropertyMetadata StatusMetadata = default(PropertyMetadata), string TabFullyQualifiedPath = default(string), List TabGroupLabels = default(List), PropertyMetadata TabGroupLabelsMetadata = default(PropertyMetadata), string TabId = default(string), PropertyMetadata TabIdMetadata = default(PropertyMetadata), string TabLabel = default(string), PropertyMetadata TabLabelMetadata = default(PropertyMetadata), string TabOrder = default(string), PropertyMetadata TabOrderMetadata = default(PropertyMetadata), string TabType = default(string), PropertyMetadata TabTypeMetadata = default(PropertyMetadata), string TemplateLocked = default(string), PropertyMetadata TemplateLockedMetadata = default(PropertyMetadata), string TemplateRequired = default(string), PropertyMetadata TemplateRequiredMetadata = default(PropertyMetadata), string Tooltip = default(string), PropertyMetadata ToolTipMetadata = default(PropertyMetadata), string Underline = default(string), PropertyMetadata UnderlineMetadata = default(PropertyMetadata), string Value = default(string), PropertyMetadata ValueMetadata = default(PropertyMetadata), ErrorDetails WarningDetails = default(ErrorDetails), string Width = default(string), PropertyMetadata WidthMetadata = default(PropertyMetadata), string XPosition = default(string), PropertyMetadata XPositionMetadata = default(PropertyMetadata), string YPosition = default(string), PropertyMetadata YPositionMetadata = default(PropertyMetadata)) + public FullName(string AgreementAttribute = default(string), string AgreementAttributeLocked = default(string), string AnchorAllowWhiteSpaceInCharacters = default(string), PropertyMetadata AnchorAllowWhiteSpaceInCharactersMetadata = default(PropertyMetadata), string AnchorCaseSensitive = default(string), PropertyMetadata AnchorCaseSensitiveMetadata = default(PropertyMetadata), string AnchorHorizontalAlignment = default(string), PropertyMetadata AnchorHorizontalAlignmentMetadata = default(PropertyMetadata), string AnchorIgnoreIfNotPresent = default(string), PropertyMetadata AnchorIgnoreIfNotPresentMetadata = default(PropertyMetadata), string AnchorMatchWholeWord = default(string), PropertyMetadata AnchorMatchWholeWordMetadata = default(PropertyMetadata), string AnchorString = default(string), PropertyMetadata AnchorStringMetadata = default(PropertyMetadata), string AnchorTabProcessorVersion = default(string), PropertyMetadata AnchorTabProcessorVersionMetadata = default(PropertyMetadata), string AnchorTabScope = default(string), string AnchorUnits = default(string), PropertyMetadata AnchorUnitsMetadata = default(PropertyMetadata), string AnchorXOffset = default(string), PropertyMetadata AnchorXOffsetMetadata = default(PropertyMetadata), string AnchorYOffset = default(string), PropertyMetadata AnchorYOffsetMetadata = default(PropertyMetadata), string Bold = default(string), PropertyMetadata BoldMetadata = default(PropertyMetadata), string Caption = default(string), PropertyMetadata CaptionMetadata = default(PropertyMetadata), string ConditionalParentLabel = default(string), PropertyMetadata ConditionalParentLabelMetadata = default(PropertyMetadata), string ConditionalParentValue = default(string), PropertyMetadata ConditionalParentValueMetadata = default(PropertyMetadata), ConnectedObjectDetails ConnectedObjectDetails = default(ConnectedObjectDetails), string CustomTabId = default(string), PropertyMetadata CustomTabIdMetadata = default(PropertyMetadata), string DocumentId = default(string), PropertyMetadata DocumentIdMetadata = default(PropertyMetadata), ErrorDetails ErrorDetails = default(ErrorDetails), ExtensionData ExtensionData = default(ExtensionData), string Font = default(string), string FontColor = default(string), PropertyMetadata FontColorMetadata = default(PropertyMetadata), PropertyMetadata FontMetadata = default(PropertyMetadata), string FontSize = default(string), PropertyMetadata FontSizeMetadata = default(PropertyMetadata), string FormOrder = default(string), PropertyMetadata FormOrderMetadata = default(PropertyMetadata), string FormPageLabel = default(string), PropertyMetadata FormPageLabelMetadata = default(PropertyMetadata), string FormPageNumber = default(string), PropertyMetadata FormPageNumberMetadata = default(PropertyMetadata), string Height = default(string), PropertyMetadata HeightMetadata = default(PropertyMetadata), string Italic = default(string), PropertyMetadata ItalicMetadata = default(PropertyMetadata), LocalePolicyTab LocalePolicy = default(LocalePolicyTab), MergeField MergeField = default(MergeField), string MergeFieldXml = default(string), string Name = default(string), PropertyMetadata NameMetadata = default(PropertyMetadata), string PageNumber = default(string), PropertyMetadata PageNumberMetadata = default(PropertyMetadata), string RecipientId = default(string), string RecipientIdGuid = default(string), PropertyMetadata RecipientIdGuidMetadata = default(PropertyMetadata), PropertyMetadata RecipientIdMetadata = default(PropertyMetadata), SmartContractInformation SmartContractInformation = default(SmartContractInformation), string Source = default(string), string Status = default(string), PropertyMetadata StatusMetadata = default(PropertyMetadata), string TabFullyQualifiedPath = default(string), List TabGroupLabels = default(List), PropertyMetadata TabGroupLabelsMetadata = default(PropertyMetadata), string TabId = default(string), PropertyMetadata TabIdMetadata = default(PropertyMetadata), string TabLabel = default(string), PropertyMetadata TabLabelMetadata = default(PropertyMetadata), string TabOrder = default(string), PropertyMetadata TabOrderMetadata = default(PropertyMetadata), string TabType = default(string), PropertyMetadata TabTypeMetadata = default(PropertyMetadata), string TemplateLocked = default(string), PropertyMetadata TemplateLockedMetadata = default(PropertyMetadata), string TemplateRequired = default(string), PropertyMetadata TemplateRequiredMetadata = default(PropertyMetadata), string Tooltip = default(string), PropertyMetadata ToolTipMetadata = default(PropertyMetadata), string Underline = default(string), PropertyMetadata UnderlineMetadata = default(PropertyMetadata), string Value = default(string), PropertyMetadata ValueMetadata = default(PropertyMetadata), ErrorDetails WarningDetails = default(ErrorDetails), string Width = default(string), PropertyMetadata WidthMetadata = default(PropertyMetadata), string XPosition = default(string), PropertyMetadata XPositionMetadata = default(PropertyMetadata), string YPosition = default(string), PropertyMetadata YPositionMetadata = default(PropertyMetadata)) { this.AgreementAttribute = AgreementAttribute; this.AgreementAttributeLocked = AgreementAttributeLocked; @@ -149,6 +150,7 @@ public FullName() this.AnchorStringMetadata = AnchorStringMetadata; this.AnchorTabProcessorVersion = AnchorTabProcessorVersion; this.AnchorTabProcessorVersionMetadata = AnchorTabProcessorVersionMetadata; + this.AnchorTabScope = AnchorTabScope; this.AnchorUnits = AnchorUnits; this.AnchorUnitsMetadata = AnchorUnitsMetadata; this.AnchorXOffset = AnchorXOffset; @@ -324,6 +326,11 @@ public FullName() [DataMember(Name="anchorTabProcessorVersionMetadata", EmitDefaultValue=false)] public PropertyMetadata AnchorTabProcessorVersionMetadata { get; set; } /// + /// Gets or Sets AnchorTabScope + /// + [DataMember(Name="anchorTabScope", EmitDefaultValue=false)] + public string AnchorTabScope { get; set; } + /// /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. /// /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. @@ -810,6 +817,7 @@ public override string ToString() sb.Append(" AnchorStringMetadata: ").Append(AnchorStringMetadata).Append("\n"); sb.Append(" AnchorTabProcessorVersion: ").Append(AnchorTabProcessorVersion).Append("\n"); sb.Append(" AnchorTabProcessorVersionMetadata: ").Append(AnchorTabProcessorVersionMetadata).Append("\n"); + sb.Append(" AnchorTabScope: ").Append(AnchorTabScope).Append("\n"); sb.Append(" AnchorUnits: ").Append(AnchorUnits).Append("\n"); sb.Append(" AnchorUnitsMetadata: ").Append(AnchorUnitsMetadata).Append("\n"); sb.Append(" AnchorXOffset: ").Append(AnchorXOffset).Append("\n"); @@ -1006,6 +1014,11 @@ public bool Equals(FullName other) this.AnchorTabProcessorVersionMetadata != null && this.AnchorTabProcessorVersionMetadata.Equals(other.AnchorTabProcessorVersionMetadata) ) && + ( + this.AnchorTabScope == other.AnchorTabScope || + this.AnchorTabScope != null && + this.AnchorTabScope.Equals(other.AnchorTabScope) + ) && ( this.AnchorUnits == other.AnchorUnits || this.AnchorUnits != null && @@ -1451,6 +1464,8 @@ public override int GetHashCode() hash = hash * 59 + this.AnchorTabProcessorVersion.GetHashCode(); if (this.AnchorTabProcessorVersionMetadata != null) hash = hash * 59 + this.AnchorTabProcessorVersionMetadata.GetHashCode(); + if (this.AnchorTabScope != null) + hash = hash * 59 + this.AnchorTabScope.GetHashCode(); if (this.AnchorUnits != null) hash = hash * 59 + this.AnchorUnits.GetHashCode(); if (this.AnchorUnitsMetadata != null) diff --git a/sdk/src/DocuSign.eSign/Model/GroupUserInfo.cs b/sdk/src/DocuSign.eSign/Model/GroupUserInfo.cs new file mode 100644 index 000000000..2922d415c --- /dev/null +++ b/sdk/src/DocuSign.eSign/Model/GroupUserInfo.cs @@ -0,0 +1,259 @@ +/* + * 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 +{ + /// + /// GroupUserInfo + /// + [DataContract] + public partial class GroupUserInfo : IEquatable, IValidatableObject + { + public GroupUserInfo() + { + // Empty Constructor + } + + /// + /// Initializes a new instance of the class. + /// + /// ActivationAccessCode. + /// Email. + /// Array or errors.. + /// LoginStatus. + /// SendActivationEmail. + /// Uri. + /// UserId. + /// UserName. + /// UserStatus. + /// UserType. + public GroupUserInfo(string ActivationAccessCode = default(string), string Email = default(string), ErrorDetails ErrorDetails = default(ErrorDetails), string LoginStatus = default(string), string SendActivationEmail = default(string), string Uri = default(string), string UserId = default(string), string UserName = default(string), string UserStatus = default(string), string UserType = default(string)) + { + this.ActivationAccessCode = ActivationAccessCode; + this.Email = Email; + this.ErrorDetails = ErrorDetails; + this.LoginStatus = LoginStatus; + this.SendActivationEmail = SendActivationEmail; + this.Uri = Uri; + this.UserId = UserId; + this.UserName = UserName; + this.UserStatus = UserStatus; + this.UserType = UserType; + } + + /// + /// Gets or Sets ActivationAccessCode + /// + [DataMember(Name="activationAccessCode", EmitDefaultValue=false)] + public string ActivationAccessCode { get; set; } + /// + /// Gets or Sets Email + /// + [DataMember(Name="email", EmitDefaultValue=false)] + public string Email { get; set; } + /// + /// Array or errors. + /// + /// Array or errors. + [DataMember(Name="errorDetails", EmitDefaultValue=false)] + public ErrorDetails ErrorDetails { get; set; } + /// + /// Gets or Sets LoginStatus + /// + [DataMember(Name="loginStatus", EmitDefaultValue=false)] + public string LoginStatus { get; set; } + /// + /// Gets or Sets SendActivationEmail + /// + [DataMember(Name="sendActivationEmail", EmitDefaultValue=false)] + public string SendActivationEmail { get; set; } + /// + /// Gets or Sets Uri + /// + [DataMember(Name="uri", EmitDefaultValue=false)] + public string Uri { get; set; } + /// + /// Gets or Sets UserId + /// + [DataMember(Name="userId", EmitDefaultValue=false)] + public string UserId { get; set; } + /// + /// Gets or Sets UserName + /// + [DataMember(Name="userName", EmitDefaultValue=false)] + public string UserName { get; set; } + /// + /// Gets or Sets UserStatus + /// + [DataMember(Name="userStatus", EmitDefaultValue=false)] + public string UserStatus { get; set; } + /// + /// Gets or Sets UserType + /// + [DataMember(Name="userType", EmitDefaultValue=false)] + public string UserType { get; set; } + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class GroupUserInfo {\n"); + sb.Append(" ActivationAccessCode: ").Append(ActivationAccessCode).Append("\n"); + sb.Append(" Email: ").Append(Email).Append("\n"); + sb.Append(" ErrorDetails: ").Append(ErrorDetails).Append("\n"); + sb.Append(" LoginStatus: ").Append(LoginStatus).Append("\n"); + sb.Append(" SendActivationEmail: ").Append(SendActivationEmail).Append("\n"); + sb.Append(" Uri: ").Append(Uri).Append("\n"); + sb.Append(" UserId: ").Append(UserId).Append("\n"); + sb.Append(" UserName: ").Append(UserName).Append("\n"); + sb.Append(" UserStatus: ").Append(UserStatus).Append("\n"); + sb.Append(" UserType: ").Append(UserType).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as GroupUserInfo); + } + + /// + /// Returns true if GroupUserInfo instances are equal + /// + /// Instance of GroupUserInfo to be compared + /// Boolean + public bool Equals(GroupUserInfo other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.ActivationAccessCode == other.ActivationAccessCode || + this.ActivationAccessCode != null && + this.ActivationAccessCode.Equals(other.ActivationAccessCode) + ) && + ( + this.Email == other.Email || + this.Email != null && + this.Email.Equals(other.Email) + ) && + ( + this.ErrorDetails == other.ErrorDetails || + this.ErrorDetails != null && + this.ErrorDetails.Equals(other.ErrorDetails) + ) && + ( + this.LoginStatus == other.LoginStatus || + this.LoginStatus != null && + this.LoginStatus.Equals(other.LoginStatus) + ) && + ( + this.SendActivationEmail == other.SendActivationEmail || + this.SendActivationEmail != null && + this.SendActivationEmail.Equals(other.SendActivationEmail) + ) && + ( + this.Uri == other.Uri || + this.Uri != null && + this.Uri.Equals(other.Uri) + ) && + ( + this.UserId == other.UserId || + this.UserId != null && + this.UserId.Equals(other.UserId) + ) && + ( + this.UserName == other.UserName || + this.UserName != null && + this.UserName.Equals(other.UserName) + ) && + ( + this.UserStatus == other.UserStatus || + this.UserStatus != null && + this.UserStatus.Equals(other.UserStatus) + ) && + ( + this.UserType == other.UserType || + this.UserType != null && + this.UserType.Equals(other.UserType) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + 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.ActivationAccessCode != null) + hash = hash * 59 + this.ActivationAccessCode.GetHashCode(); + if (this.Email != null) + hash = hash * 59 + this.Email.GetHashCode(); + if (this.ErrorDetails != null) + hash = hash * 59 + this.ErrorDetails.GetHashCode(); + if (this.LoginStatus != null) + hash = hash * 59 + this.LoginStatus.GetHashCode(); + if (this.SendActivationEmail != null) + hash = hash * 59 + this.SendActivationEmail.GetHashCode(); + if (this.Uri != null) + hash = hash * 59 + this.Uri.GetHashCode(); + if (this.UserId != null) + hash = hash * 59 + this.UserId.GetHashCode(); + if (this.UserName != null) + hash = hash * 59 + this.UserName.GetHashCode(); + if (this.UserStatus != null) + hash = hash * 59 + this.UserStatus.GetHashCode(); + if (this.UserType != null) + hash = hash * 59 + this.UserType.GetHashCode(); + return hash; + } + } + + public IEnumerable Validate(ValidationContext validationContext) + { + yield break; + } + } +} diff --git a/sdk/src/DocuSign.eSign/Model/GroupUsersResponse.cs b/sdk/src/DocuSign.eSign/Model/GroupUsersResponse.cs new file mode 100644 index 000000000..f6cb60524 --- /dev/null +++ b/sdk/src/DocuSign.eSign/Model/GroupUsersResponse.cs @@ -0,0 +1,219 @@ +/* + * 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 +{ + /// + /// GroupUsersResponse + /// + [DataContract] + public partial class GroupUsersResponse : IEquatable, IValidatableObject + { + public GroupUsersResponse() + { + // Empty Constructor + } + + /// + /// Initializes a new instance of the class. + /// + /// The last position in the result set. . + /// The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. . + /// The postal code for the billing address.. + /// The number of results returned in this response. . + /// Starting position of the current result set.. + /// The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response.. + /// Users. + public GroupUsersResponse(string EndPosition = default(string), string NextUri = default(string), string PreviousUri = default(string), string ResultSetSize = default(string), string StartPosition = default(string), string TotalSetSize = default(string), List Users = default(List)) + { + this.EndPosition = EndPosition; + this.NextUri = NextUri; + this.PreviousUri = PreviousUri; + this.ResultSetSize = ResultSetSize; + this.StartPosition = StartPosition; + this.TotalSetSize = TotalSetSize; + this.Users = Users; + } + + /// + /// The last position in the result set. + /// + /// The last position in the result set. + [DataMember(Name="endPosition", EmitDefaultValue=false)] + public string EndPosition { get; set; } + /// + /// The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. + /// + /// The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null. + [DataMember(Name="nextUri", EmitDefaultValue=false)] + public string NextUri { get; set; } + /// + /// The postal code for the billing address. + /// + /// The postal code for the billing address. + [DataMember(Name="previousUri", EmitDefaultValue=false)] + public string PreviousUri { get; set; } + /// + /// The number of results returned in this response. + /// + /// The number of results returned in this response. + [DataMember(Name="resultSetSize", EmitDefaultValue=false)] + public string ResultSetSize { get; set; } + /// + /// Starting position of the current result set. + /// + /// Starting position of the current result set. + [DataMember(Name="startPosition", EmitDefaultValue=false)] + public string StartPosition { get; set; } + /// + /// The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response. + /// + /// The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response. + [DataMember(Name="totalSetSize", EmitDefaultValue=false)] + public string TotalSetSize { get; set; } + /// + /// Gets or Sets Users + /// + [DataMember(Name="users", EmitDefaultValue=false)] + public List Users { get; set; } + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class GroupUsersResponse {\n"); + sb.Append(" EndPosition: ").Append(EndPosition).Append("\n"); + sb.Append(" NextUri: ").Append(NextUri).Append("\n"); + sb.Append(" PreviousUri: ").Append(PreviousUri).Append("\n"); + sb.Append(" ResultSetSize: ").Append(ResultSetSize).Append("\n"); + sb.Append(" StartPosition: ").Append(StartPosition).Append("\n"); + sb.Append(" TotalSetSize: ").Append(TotalSetSize).Append("\n"); + sb.Append(" Users: ").Append(Users).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object obj) + { + // credit: http://stackoverflow.com/a/10454552/677735 + return this.Equals(obj as GroupUsersResponse); + } + + /// + /// Returns true if GroupUsersResponse instances are equal + /// + /// Instance of GroupUsersResponse to be compared + /// Boolean + public bool Equals(GroupUsersResponse other) + { + // credit: http://stackoverflow.com/a/10454552/677735 + if (other == null) + return false; + + return + ( + this.EndPosition == other.EndPosition || + this.EndPosition != null && + this.EndPosition.Equals(other.EndPosition) + ) && + ( + this.NextUri == other.NextUri || + this.NextUri != null && + this.NextUri.Equals(other.NextUri) + ) && + ( + this.PreviousUri == other.PreviousUri || + this.PreviousUri != null && + this.PreviousUri.Equals(other.PreviousUri) + ) && + ( + this.ResultSetSize == other.ResultSetSize || + this.ResultSetSize != null && + this.ResultSetSize.Equals(other.ResultSetSize) + ) && + ( + this.StartPosition == other.StartPosition || + this.StartPosition != null && + this.StartPosition.Equals(other.StartPosition) + ) && + ( + this.TotalSetSize == other.TotalSetSize || + this.TotalSetSize != null && + this.TotalSetSize.Equals(other.TotalSetSize) + ) && + ( + this.Users == other.Users || + this.Users != null && + this.Users.SequenceEqual(other.Users) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + 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.EndPosition != null) + hash = hash * 59 + this.EndPosition.GetHashCode(); + if (this.NextUri != null) + hash = hash * 59 + this.NextUri.GetHashCode(); + if (this.PreviousUri != null) + hash = hash * 59 + this.PreviousUri.GetHashCode(); + if (this.ResultSetSize != null) + hash = hash * 59 + this.ResultSetSize.GetHashCode(); + if (this.StartPosition != null) + hash = hash * 59 + this.StartPosition.GetHashCode(); + if (this.TotalSetSize != null) + hash = hash * 59 + this.TotalSetSize.GetHashCode(); + if (this.Users != null) + hash = hash * 59 + this.Users.GetHashCode(); + return hash; + } + } + + public IEnumerable Validate(ValidationContext validationContext) + { + yield break; + } + } +} diff --git a/sdk/src/DocuSign.eSign/Model/InitialHere.cs b/sdk/src/DocuSign.eSign/Model/InitialHere.cs index ac2260cce..2204a2ebe 100644 --- a/sdk/src/DocuSign.eSign/Model/InitialHere.cs +++ b/sdk/src/DocuSign.eSign/Model/InitialHere.cs @@ -51,6 +51,7 @@ public InitialHere() /// Metadata that indicates whether the `anchorString` property is editable.. /// AnchorTabProcessorVersion. /// Reserved for DocuSign.. + /// AnchorTabScope. /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.. /// Metadata that indicates whether the `anchorUnits` property is editable.. /// Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.. @@ -121,7 +122,7 @@ public InitialHere() /// Metadata that indicates whether the `xPosition` property is editable.. /// This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.. /// Metadata that indicates whether the `yPosition` property is editable.. - public InitialHere(string AgreementAttribute = default(string), string AgreementAttributeLocked = default(string), string AnchorAllowWhiteSpaceInCharacters = default(string), PropertyMetadata AnchorAllowWhiteSpaceInCharactersMetadata = default(PropertyMetadata), string AnchorCaseSensitive = default(string), PropertyMetadata AnchorCaseSensitiveMetadata = default(PropertyMetadata), string AnchorHorizontalAlignment = default(string), PropertyMetadata AnchorHorizontalAlignmentMetadata = default(PropertyMetadata), string AnchorIgnoreIfNotPresent = default(string), PropertyMetadata AnchorIgnoreIfNotPresentMetadata = default(PropertyMetadata), string AnchorMatchWholeWord = default(string), PropertyMetadata AnchorMatchWholeWordMetadata = default(PropertyMetadata), string AnchorString = default(string), PropertyMetadata AnchorStringMetadata = default(PropertyMetadata), string AnchorTabProcessorVersion = default(string), PropertyMetadata AnchorTabProcessorVersionMetadata = default(PropertyMetadata), string AnchorUnits = default(string), PropertyMetadata AnchorUnitsMetadata = default(PropertyMetadata), string AnchorXOffset = default(string), PropertyMetadata AnchorXOffsetMetadata = default(PropertyMetadata), string AnchorYOffset = default(string), PropertyMetadata AnchorYOffsetMetadata = default(PropertyMetadata), string Caption = default(string), PropertyMetadata CaptionMetadata = default(PropertyMetadata), string ConditionalParentLabel = default(string), PropertyMetadata ConditionalParentLabelMetadata = default(PropertyMetadata), string ConditionalParentValue = default(string), PropertyMetadata ConditionalParentValueMetadata = default(PropertyMetadata), ConnectedObjectDetails ConnectedObjectDetails = default(ConnectedObjectDetails), string CustomTabId = default(string), PropertyMetadata CustomTabIdMetadata = default(PropertyMetadata), string DocumentId = default(string), PropertyMetadata DocumentIdMetadata = default(PropertyMetadata), ErrorDetails ErrorDetails = default(ErrorDetails), ExtensionData ExtensionData = default(ExtensionData), string FormOrder = default(string), PropertyMetadata FormOrderMetadata = default(PropertyMetadata), string FormPageLabel = default(string), PropertyMetadata FormPageLabelMetadata = default(PropertyMetadata), string FormPageNumber = default(string), PropertyMetadata FormPageNumberMetadata = default(PropertyMetadata), string HandDrawRequired = default(string), string Height = default(string), PropertyMetadata HeightMetadata = default(PropertyMetadata), MergeField MergeField = default(MergeField), string MergeFieldXml = default(string), string Name = default(string), PropertyMetadata NameMetadata = default(PropertyMetadata), string Optional = default(string), PropertyMetadata OptionalMetadata = default(PropertyMetadata), string PageNumber = default(string), PropertyMetadata PageNumberMetadata = default(PropertyMetadata), string RecipientId = default(string), string RecipientIdGuid = default(string), PropertyMetadata RecipientIdGuidMetadata = default(PropertyMetadata), PropertyMetadata RecipientIdMetadata = default(PropertyMetadata), string ScaleValue = default(string), PropertyMetadata ScaleValueMetadata = default(PropertyMetadata), SmartContractInformation SmartContractInformation = default(SmartContractInformation), string Source = default(string), string Status = default(string), PropertyMetadata StatusMetadata = default(PropertyMetadata), string TabFullyQualifiedPath = default(string), List TabGroupLabels = default(List), PropertyMetadata TabGroupLabelsMetadata = default(PropertyMetadata), string TabId = default(string), PropertyMetadata TabIdMetadata = default(PropertyMetadata), string TabLabel = default(string), PropertyMetadata TabLabelMetadata = default(PropertyMetadata), string TabOrder = default(string), PropertyMetadata TabOrderMetadata = default(PropertyMetadata), string TabType = default(string), PropertyMetadata TabTypeMetadata = default(PropertyMetadata), string TemplateLocked = default(string), PropertyMetadata TemplateLockedMetadata = default(PropertyMetadata), string TemplateRequired = default(string), PropertyMetadata TemplateRequiredMetadata = default(PropertyMetadata), string Tooltip = default(string), PropertyMetadata ToolTipMetadata = default(PropertyMetadata), ErrorDetails WarningDetails = default(ErrorDetails), string Width = default(string), PropertyMetadata WidthMetadata = default(PropertyMetadata), string XPosition = default(string), PropertyMetadata XPositionMetadata = default(PropertyMetadata), string YPosition = default(string), PropertyMetadata YPositionMetadata = default(PropertyMetadata)) + public InitialHere(string AgreementAttribute = default(string), string AgreementAttributeLocked = default(string), string AnchorAllowWhiteSpaceInCharacters = default(string), PropertyMetadata AnchorAllowWhiteSpaceInCharactersMetadata = default(PropertyMetadata), string AnchorCaseSensitive = default(string), PropertyMetadata AnchorCaseSensitiveMetadata = default(PropertyMetadata), string AnchorHorizontalAlignment = default(string), PropertyMetadata AnchorHorizontalAlignmentMetadata = default(PropertyMetadata), string AnchorIgnoreIfNotPresent = default(string), PropertyMetadata AnchorIgnoreIfNotPresentMetadata = default(PropertyMetadata), string AnchorMatchWholeWord = default(string), PropertyMetadata AnchorMatchWholeWordMetadata = default(PropertyMetadata), string AnchorString = default(string), PropertyMetadata AnchorStringMetadata = default(PropertyMetadata), string AnchorTabProcessorVersion = default(string), PropertyMetadata AnchorTabProcessorVersionMetadata = default(PropertyMetadata), string AnchorTabScope = default(string), string AnchorUnits = default(string), PropertyMetadata AnchorUnitsMetadata = default(PropertyMetadata), string AnchorXOffset = default(string), PropertyMetadata AnchorXOffsetMetadata = default(PropertyMetadata), string AnchorYOffset = default(string), PropertyMetadata AnchorYOffsetMetadata = default(PropertyMetadata), string Caption = default(string), PropertyMetadata CaptionMetadata = default(PropertyMetadata), string ConditionalParentLabel = default(string), PropertyMetadata ConditionalParentLabelMetadata = default(PropertyMetadata), string ConditionalParentValue = default(string), PropertyMetadata ConditionalParentValueMetadata = default(PropertyMetadata), ConnectedObjectDetails ConnectedObjectDetails = default(ConnectedObjectDetails), string CustomTabId = default(string), PropertyMetadata CustomTabIdMetadata = default(PropertyMetadata), string DocumentId = default(string), PropertyMetadata DocumentIdMetadata = default(PropertyMetadata), ErrorDetails ErrorDetails = default(ErrorDetails), ExtensionData ExtensionData = default(ExtensionData), string FormOrder = default(string), PropertyMetadata FormOrderMetadata = default(PropertyMetadata), string FormPageLabel = default(string), PropertyMetadata FormPageLabelMetadata = default(PropertyMetadata), string FormPageNumber = default(string), PropertyMetadata FormPageNumberMetadata = default(PropertyMetadata), string HandDrawRequired = default(string), string Height = default(string), PropertyMetadata HeightMetadata = default(PropertyMetadata), MergeField MergeField = default(MergeField), string MergeFieldXml = default(string), string Name = default(string), PropertyMetadata NameMetadata = default(PropertyMetadata), string Optional = default(string), PropertyMetadata OptionalMetadata = default(PropertyMetadata), string PageNumber = default(string), PropertyMetadata PageNumberMetadata = default(PropertyMetadata), string RecipientId = default(string), string RecipientIdGuid = default(string), PropertyMetadata RecipientIdGuidMetadata = default(PropertyMetadata), PropertyMetadata RecipientIdMetadata = default(PropertyMetadata), string ScaleValue = default(string), PropertyMetadata ScaleValueMetadata = default(PropertyMetadata), SmartContractInformation SmartContractInformation = default(SmartContractInformation), string Source = default(string), string Status = default(string), PropertyMetadata StatusMetadata = default(PropertyMetadata), string TabFullyQualifiedPath = default(string), List TabGroupLabels = default(List), PropertyMetadata TabGroupLabelsMetadata = default(PropertyMetadata), string TabId = default(string), PropertyMetadata TabIdMetadata = default(PropertyMetadata), string TabLabel = default(string), PropertyMetadata TabLabelMetadata = default(PropertyMetadata), string TabOrder = default(string), PropertyMetadata TabOrderMetadata = default(PropertyMetadata), string TabType = default(string), PropertyMetadata TabTypeMetadata = default(PropertyMetadata), string TemplateLocked = default(string), PropertyMetadata TemplateLockedMetadata = default(PropertyMetadata), string TemplateRequired = default(string), PropertyMetadata TemplateRequiredMetadata = default(PropertyMetadata), string Tooltip = default(string), PropertyMetadata ToolTipMetadata = default(PropertyMetadata), ErrorDetails WarningDetails = default(ErrorDetails), string Width = default(string), PropertyMetadata WidthMetadata = default(PropertyMetadata), string XPosition = default(string), PropertyMetadata XPositionMetadata = default(PropertyMetadata), string YPosition = default(string), PropertyMetadata YPositionMetadata = default(PropertyMetadata)) { this.AgreementAttribute = AgreementAttribute; this.AgreementAttributeLocked = AgreementAttributeLocked; @@ -139,6 +140,7 @@ public InitialHere() this.AnchorStringMetadata = AnchorStringMetadata; this.AnchorTabProcessorVersion = AnchorTabProcessorVersion; this.AnchorTabProcessorVersionMetadata = AnchorTabProcessorVersionMetadata; + this.AnchorTabScope = AnchorTabScope; this.AnchorUnits = AnchorUnits; this.AnchorUnitsMetadata = AnchorUnitsMetadata; this.AnchorXOffset = AnchorXOffset; @@ -304,6 +306,11 @@ public InitialHere() [DataMember(Name="anchorTabProcessorVersionMetadata", EmitDefaultValue=false)] public PropertyMetadata AnchorTabProcessorVersionMetadata { get; set; } /// + /// Gets or Sets AnchorTabScope + /// + [DataMember(Name="anchorTabScope", EmitDefaultValue=false)] + public string AnchorTabScope { get; set; } + /// /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. /// /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. @@ -729,6 +736,7 @@ public override string ToString() sb.Append(" AnchorStringMetadata: ").Append(AnchorStringMetadata).Append("\n"); sb.Append(" AnchorTabProcessorVersion: ").Append(AnchorTabProcessorVersion).Append("\n"); sb.Append(" AnchorTabProcessorVersionMetadata: ").Append(AnchorTabProcessorVersionMetadata).Append("\n"); + sb.Append(" AnchorTabScope: ").Append(AnchorTabScope).Append("\n"); sb.Append(" AnchorUnits: ").Append(AnchorUnits).Append("\n"); sb.Append(" AnchorUnitsMetadata: ").Append(AnchorUnitsMetadata).Append("\n"); sb.Append(" AnchorXOffset: ").Append(AnchorXOffset).Append("\n"); @@ -915,6 +923,11 @@ public bool Equals(InitialHere other) this.AnchorTabProcessorVersionMetadata != null && this.AnchorTabProcessorVersionMetadata.Equals(other.AnchorTabProcessorVersionMetadata) ) && + ( + this.AnchorTabScope == other.AnchorTabScope || + this.AnchorTabScope != null && + this.AnchorTabScope.Equals(other.AnchorTabScope) + ) && ( this.AnchorUnits == other.AnchorUnits || this.AnchorUnits != null && @@ -1310,6 +1323,8 @@ public override int GetHashCode() hash = hash * 59 + this.AnchorTabProcessorVersion.GetHashCode(); if (this.AnchorTabProcessorVersionMetadata != null) hash = hash * 59 + this.AnchorTabProcessorVersionMetadata.GetHashCode(); + if (this.AnchorTabScope != null) + hash = hash * 59 + this.AnchorTabScope.GetHashCode(); if (this.AnchorUnits != null) hash = hash * 59 + this.AnchorUnits.GetHashCode(); if (this.AnchorUnitsMetadata != null) diff --git a/sdk/src/DocuSign.eSign/Model/LastName.cs b/sdk/src/DocuSign.eSign/Model/LastName.cs index bf0dabd58..ad97e1318 100644 --- a/sdk/src/DocuSign.eSign/Model/LastName.cs +++ b/sdk/src/DocuSign.eSign/Model/LastName.cs @@ -51,6 +51,7 @@ public LastName() /// Metadata that indicates whether the `anchorString` property is editable.. /// AnchorTabProcessorVersion. /// Reserved for DocuSign.. + /// AnchorTabScope. /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.. /// Metadata that indicates whether the `anchorUnits` property is editable.. /// Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.. @@ -131,7 +132,7 @@ public LastName() /// Metadata that indicates whether the `xPosition` property is editable.. /// This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.. /// Metadata that indicates whether the `yPosition` property is editable.. - public LastName(string AgreementAttribute = default(string), string AgreementAttributeLocked = default(string), string AnchorAllowWhiteSpaceInCharacters = default(string), PropertyMetadata AnchorAllowWhiteSpaceInCharactersMetadata = default(PropertyMetadata), string AnchorCaseSensitive = default(string), PropertyMetadata AnchorCaseSensitiveMetadata = default(PropertyMetadata), string AnchorHorizontalAlignment = default(string), PropertyMetadata AnchorHorizontalAlignmentMetadata = default(PropertyMetadata), string AnchorIgnoreIfNotPresent = default(string), PropertyMetadata AnchorIgnoreIfNotPresentMetadata = default(PropertyMetadata), string AnchorMatchWholeWord = default(string), PropertyMetadata AnchorMatchWholeWordMetadata = default(PropertyMetadata), string AnchorString = default(string), PropertyMetadata AnchorStringMetadata = default(PropertyMetadata), string AnchorTabProcessorVersion = default(string), PropertyMetadata AnchorTabProcessorVersionMetadata = default(PropertyMetadata), string AnchorUnits = default(string), PropertyMetadata AnchorUnitsMetadata = default(PropertyMetadata), string AnchorXOffset = default(string), PropertyMetadata AnchorXOffsetMetadata = default(PropertyMetadata), string AnchorYOffset = default(string), PropertyMetadata AnchorYOffsetMetadata = default(PropertyMetadata), string Bold = default(string), PropertyMetadata BoldMetadata = default(PropertyMetadata), string Caption = default(string), PropertyMetadata CaptionMetadata = default(PropertyMetadata), string ConditionalParentLabel = default(string), PropertyMetadata ConditionalParentLabelMetadata = default(PropertyMetadata), string ConditionalParentValue = default(string), PropertyMetadata ConditionalParentValueMetadata = default(PropertyMetadata), ConnectedObjectDetails ConnectedObjectDetails = default(ConnectedObjectDetails), string CustomTabId = default(string), PropertyMetadata CustomTabIdMetadata = default(PropertyMetadata), string DocumentId = default(string), PropertyMetadata DocumentIdMetadata = default(PropertyMetadata), ErrorDetails ErrorDetails = default(ErrorDetails), ExtensionData ExtensionData = default(ExtensionData), string Font = default(string), string FontColor = default(string), PropertyMetadata FontColorMetadata = default(PropertyMetadata), PropertyMetadata FontMetadata = default(PropertyMetadata), string FontSize = default(string), PropertyMetadata FontSizeMetadata = default(PropertyMetadata), string FormOrder = default(string), PropertyMetadata FormOrderMetadata = default(PropertyMetadata), string FormPageLabel = default(string), PropertyMetadata FormPageLabelMetadata = default(PropertyMetadata), string FormPageNumber = default(string), PropertyMetadata FormPageNumberMetadata = default(PropertyMetadata), string Height = default(string), PropertyMetadata HeightMetadata = default(PropertyMetadata), string Italic = default(string), PropertyMetadata ItalicMetadata = default(PropertyMetadata), LocalePolicyTab LocalePolicy = default(LocalePolicyTab), MergeField MergeField = default(MergeField), string MergeFieldXml = default(string), string Name = default(string), PropertyMetadata NameMetadata = default(PropertyMetadata), string PageNumber = default(string), PropertyMetadata PageNumberMetadata = default(PropertyMetadata), string RecipientId = default(string), string RecipientIdGuid = default(string), PropertyMetadata RecipientIdGuidMetadata = default(PropertyMetadata), PropertyMetadata RecipientIdMetadata = default(PropertyMetadata), SmartContractInformation SmartContractInformation = default(SmartContractInformation), string Source = default(string), string Status = default(string), PropertyMetadata StatusMetadata = default(PropertyMetadata), string TabFullyQualifiedPath = default(string), List TabGroupLabels = default(List), PropertyMetadata TabGroupLabelsMetadata = default(PropertyMetadata), string TabId = default(string), PropertyMetadata TabIdMetadata = default(PropertyMetadata), string TabLabel = default(string), PropertyMetadata TabLabelMetadata = default(PropertyMetadata), string TabOrder = default(string), PropertyMetadata TabOrderMetadata = default(PropertyMetadata), string TabType = default(string), PropertyMetadata TabTypeMetadata = default(PropertyMetadata), string TemplateLocked = default(string), PropertyMetadata TemplateLockedMetadata = default(PropertyMetadata), string TemplateRequired = default(string), PropertyMetadata TemplateRequiredMetadata = default(PropertyMetadata), string Tooltip = default(string), PropertyMetadata ToolTipMetadata = default(PropertyMetadata), string Underline = default(string), PropertyMetadata UnderlineMetadata = default(PropertyMetadata), string Value = default(string), PropertyMetadata ValueMetadata = default(PropertyMetadata), ErrorDetails WarningDetails = default(ErrorDetails), string Width = default(string), PropertyMetadata WidthMetadata = default(PropertyMetadata), string XPosition = default(string), PropertyMetadata XPositionMetadata = default(PropertyMetadata), string YPosition = default(string), PropertyMetadata YPositionMetadata = default(PropertyMetadata)) + public LastName(string AgreementAttribute = default(string), string AgreementAttributeLocked = default(string), string AnchorAllowWhiteSpaceInCharacters = default(string), PropertyMetadata AnchorAllowWhiteSpaceInCharactersMetadata = default(PropertyMetadata), string AnchorCaseSensitive = default(string), PropertyMetadata AnchorCaseSensitiveMetadata = default(PropertyMetadata), string AnchorHorizontalAlignment = default(string), PropertyMetadata AnchorHorizontalAlignmentMetadata = default(PropertyMetadata), string AnchorIgnoreIfNotPresent = default(string), PropertyMetadata AnchorIgnoreIfNotPresentMetadata = default(PropertyMetadata), string AnchorMatchWholeWord = default(string), PropertyMetadata AnchorMatchWholeWordMetadata = default(PropertyMetadata), string AnchorString = default(string), PropertyMetadata AnchorStringMetadata = default(PropertyMetadata), string AnchorTabProcessorVersion = default(string), PropertyMetadata AnchorTabProcessorVersionMetadata = default(PropertyMetadata), string AnchorTabScope = default(string), string AnchorUnits = default(string), PropertyMetadata AnchorUnitsMetadata = default(PropertyMetadata), string AnchorXOffset = default(string), PropertyMetadata AnchorXOffsetMetadata = default(PropertyMetadata), string AnchorYOffset = default(string), PropertyMetadata AnchorYOffsetMetadata = default(PropertyMetadata), string Bold = default(string), PropertyMetadata BoldMetadata = default(PropertyMetadata), string Caption = default(string), PropertyMetadata CaptionMetadata = default(PropertyMetadata), string ConditionalParentLabel = default(string), PropertyMetadata ConditionalParentLabelMetadata = default(PropertyMetadata), string ConditionalParentValue = default(string), PropertyMetadata ConditionalParentValueMetadata = default(PropertyMetadata), ConnectedObjectDetails ConnectedObjectDetails = default(ConnectedObjectDetails), string CustomTabId = default(string), PropertyMetadata CustomTabIdMetadata = default(PropertyMetadata), string DocumentId = default(string), PropertyMetadata DocumentIdMetadata = default(PropertyMetadata), ErrorDetails ErrorDetails = default(ErrorDetails), ExtensionData ExtensionData = default(ExtensionData), string Font = default(string), string FontColor = default(string), PropertyMetadata FontColorMetadata = default(PropertyMetadata), PropertyMetadata FontMetadata = default(PropertyMetadata), string FontSize = default(string), PropertyMetadata FontSizeMetadata = default(PropertyMetadata), string FormOrder = default(string), PropertyMetadata FormOrderMetadata = default(PropertyMetadata), string FormPageLabel = default(string), PropertyMetadata FormPageLabelMetadata = default(PropertyMetadata), string FormPageNumber = default(string), PropertyMetadata FormPageNumberMetadata = default(PropertyMetadata), string Height = default(string), PropertyMetadata HeightMetadata = default(PropertyMetadata), string Italic = default(string), PropertyMetadata ItalicMetadata = default(PropertyMetadata), LocalePolicyTab LocalePolicy = default(LocalePolicyTab), MergeField MergeField = default(MergeField), string MergeFieldXml = default(string), string Name = default(string), PropertyMetadata NameMetadata = default(PropertyMetadata), string PageNumber = default(string), PropertyMetadata PageNumberMetadata = default(PropertyMetadata), string RecipientId = default(string), string RecipientIdGuid = default(string), PropertyMetadata RecipientIdGuidMetadata = default(PropertyMetadata), PropertyMetadata RecipientIdMetadata = default(PropertyMetadata), SmartContractInformation SmartContractInformation = default(SmartContractInformation), string Source = default(string), string Status = default(string), PropertyMetadata StatusMetadata = default(PropertyMetadata), string TabFullyQualifiedPath = default(string), List TabGroupLabels = default(List), PropertyMetadata TabGroupLabelsMetadata = default(PropertyMetadata), string TabId = default(string), PropertyMetadata TabIdMetadata = default(PropertyMetadata), string TabLabel = default(string), PropertyMetadata TabLabelMetadata = default(PropertyMetadata), string TabOrder = default(string), PropertyMetadata TabOrderMetadata = default(PropertyMetadata), string TabType = default(string), PropertyMetadata TabTypeMetadata = default(PropertyMetadata), string TemplateLocked = default(string), PropertyMetadata TemplateLockedMetadata = default(PropertyMetadata), string TemplateRequired = default(string), PropertyMetadata TemplateRequiredMetadata = default(PropertyMetadata), string Tooltip = default(string), PropertyMetadata ToolTipMetadata = default(PropertyMetadata), string Underline = default(string), PropertyMetadata UnderlineMetadata = default(PropertyMetadata), string Value = default(string), PropertyMetadata ValueMetadata = default(PropertyMetadata), ErrorDetails WarningDetails = default(ErrorDetails), string Width = default(string), PropertyMetadata WidthMetadata = default(PropertyMetadata), string XPosition = default(string), PropertyMetadata XPositionMetadata = default(PropertyMetadata), string YPosition = default(string), PropertyMetadata YPositionMetadata = default(PropertyMetadata)) { this.AgreementAttribute = AgreementAttribute; this.AgreementAttributeLocked = AgreementAttributeLocked; @@ -149,6 +150,7 @@ public LastName() this.AnchorStringMetadata = AnchorStringMetadata; this.AnchorTabProcessorVersion = AnchorTabProcessorVersion; this.AnchorTabProcessorVersionMetadata = AnchorTabProcessorVersionMetadata; + this.AnchorTabScope = AnchorTabScope; this.AnchorUnits = AnchorUnits; this.AnchorUnitsMetadata = AnchorUnitsMetadata; this.AnchorXOffset = AnchorXOffset; @@ -324,6 +326,11 @@ public LastName() [DataMember(Name="anchorTabProcessorVersionMetadata", EmitDefaultValue=false)] public PropertyMetadata AnchorTabProcessorVersionMetadata { get; set; } /// + /// Gets or Sets AnchorTabScope + /// + [DataMember(Name="anchorTabScope", EmitDefaultValue=false)] + public string AnchorTabScope { get; set; } + /// /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. /// /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. @@ -810,6 +817,7 @@ public override string ToString() sb.Append(" AnchorStringMetadata: ").Append(AnchorStringMetadata).Append("\n"); sb.Append(" AnchorTabProcessorVersion: ").Append(AnchorTabProcessorVersion).Append("\n"); sb.Append(" AnchorTabProcessorVersionMetadata: ").Append(AnchorTabProcessorVersionMetadata).Append("\n"); + sb.Append(" AnchorTabScope: ").Append(AnchorTabScope).Append("\n"); sb.Append(" AnchorUnits: ").Append(AnchorUnits).Append("\n"); sb.Append(" AnchorUnitsMetadata: ").Append(AnchorUnitsMetadata).Append("\n"); sb.Append(" AnchorXOffset: ").Append(AnchorXOffset).Append("\n"); @@ -1006,6 +1014,11 @@ public bool Equals(LastName other) this.AnchorTabProcessorVersionMetadata != null && this.AnchorTabProcessorVersionMetadata.Equals(other.AnchorTabProcessorVersionMetadata) ) && + ( + this.AnchorTabScope == other.AnchorTabScope || + this.AnchorTabScope != null && + this.AnchorTabScope.Equals(other.AnchorTabScope) + ) && ( this.AnchorUnits == other.AnchorUnits || this.AnchorUnits != null && @@ -1451,6 +1464,8 @@ public override int GetHashCode() hash = hash * 59 + this.AnchorTabProcessorVersion.GetHashCode(); if (this.AnchorTabProcessorVersionMetadata != null) hash = hash * 59 + this.AnchorTabProcessorVersionMetadata.GetHashCode(); + if (this.AnchorTabScope != null) + hash = hash * 59 + this.AnchorTabScope.GetHashCode(); if (this.AnchorUnits != null) hash = hash * 59 + this.AnchorUnits.GetHashCode(); if (this.AnchorUnitsMetadata != null) diff --git a/sdk/src/DocuSign.eSign/Model/List.cs b/sdk/src/DocuSign.eSign/Model/List.cs index 9bc8ce78c..b050d64b3 100644 --- a/sdk/src/DocuSign.eSign/Model/List.cs +++ b/sdk/src/DocuSign.eSign/Model/List.cs @@ -51,6 +51,7 @@ public List() /// Metadata that indicates whether the `anchorString` property is editable.. /// AnchorTabProcessorVersion. /// Reserved for DocuSign.. + /// AnchorTabScope. /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.. /// Metadata that indicates whether the `anchorUnits` property is editable.. /// Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.. @@ -148,7 +149,7 @@ public List() /// Metadata that indicates whether the `xPosition` property is editable.. /// This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.. /// Metadata that indicates whether the `yPosition` property is editable.. - public List(string AgreementAttribute = default(string), string AgreementAttributeLocked = default(string), string AnchorAllowWhiteSpaceInCharacters = default(string), PropertyMetadata AnchorAllowWhiteSpaceInCharactersMetadata = default(PropertyMetadata), string AnchorCaseSensitive = default(string), PropertyMetadata AnchorCaseSensitiveMetadata = default(PropertyMetadata), string AnchorHorizontalAlignment = default(string), PropertyMetadata AnchorHorizontalAlignmentMetadata = default(PropertyMetadata), string AnchorIgnoreIfNotPresent = default(string), PropertyMetadata AnchorIgnoreIfNotPresentMetadata = default(PropertyMetadata), string AnchorMatchWholeWord = default(string), PropertyMetadata AnchorMatchWholeWordMetadata = default(PropertyMetadata), string AnchorString = default(string), PropertyMetadata AnchorStringMetadata = default(PropertyMetadata), string AnchorTabProcessorVersion = default(string), PropertyMetadata AnchorTabProcessorVersionMetadata = default(PropertyMetadata), string AnchorUnits = default(string), PropertyMetadata AnchorUnitsMetadata = default(PropertyMetadata), string AnchorXOffset = default(string), PropertyMetadata AnchorXOffsetMetadata = default(PropertyMetadata), string AnchorYOffset = default(string), PropertyMetadata AnchorYOffsetMetadata = default(PropertyMetadata), string Bold = default(string), PropertyMetadata BoldMetadata = default(PropertyMetadata), string Caption = default(string), PropertyMetadata CaptionMetadata = default(PropertyMetadata), string ConditionalParentLabel = default(string), PropertyMetadata ConditionalParentLabelMetadata = default(PropertyMetadata), string ConditionalParentValue = default(string), PropertyMetadata ConditionalParentValueMetadata = default(PropertyMetadata), ConnectedObjectDetails ConnectedObjectDetails = default(ConnectedObjectDetails), string CustomTabId = default(string), PropertyMetadata CustomTabIdMetadata = default(PropertyMetadata), string DocumentId = default(string), PropertyMetadata DocumentIdMetadata = default(PropertyMetadata), ErrorDetails ErrorDetails = default(ErrorDetails), ExtensionData ExtensionData = default(ExtensionData), string Font = default(string), string FontColor = default(string), PropertyMetadata FontColorMetadata = default(PropertyMetadata), PropertyMetadata FontMetadata = default(PropertyMetadata), string FontSize = default(string), PropertyMetadata FontSizeMetadata = default(PropertyMetadata), string FormOrder = default(string), PropertyMetadata FormOrderMetadata = default(PropertyMetadata), string FormPageLabel = default(string), PropertyMetadata FormPageLabelMetadata = default(PropertyMetadata), string FormPageNumber = default(string), PropertyMetadata FormPageNumberMetadata = default(PropertyMetadata), string Height = default(string), PropertyMetadata HeightMetadata = default(PropertyMetadata), string Italic = default(string), PropertyMetadata ItalicMetadata = default(PropertyMetadata), List ListItems = default(List), string ListSelectedValue = default(string), PropertyMetadata ListSelectedValueMetadata = default(PropertyMetadata), LocalePolicyTab LocalePolicy = default(LocalePolicyTab), string Locked = default(string), PropertyMetadata LockedMetadata = default(PropertyMetadata), MergeField MergeField = default(MergeField), string MergeFieldXml = default(string), string OriginalValue = default(string), PropertyMetadata OriginalValueMetadata = default(PropertyMetadata), string PageNumber = default(string), PropertyMetadata PageNumberMetadata = default(PropertyMetadata), string RecipientId = default(string), string RecipientIdGuid = default(string), PropertyMetadata RecipientIdGuidMetadata = default(PropertyMetadata), PropertyMetadata RecipientIdMetadata = default(PropertyMetadata), string RequireAll = default(string), PropertyMetadata RequireAllMetadata = default(PropertyMetadata), string Required = default(string), PropertyMetadata RequiredMetadata = default(PropertyMetadata), string RequireInitialOnSharedChange = default(string), PropertyMetadata RequireInitialOnSharedChangeMetadata = default(PropertyMetadata), string SenderRequired = default(string), PropertyMetadata SenderRequiredMetadata = default(PropertyMetadata), string Shared = default(string), PropertyMetadata SharedMetadata = default(PropertyMetadata), string ShareToRecipients = default(string), PropertyMetadata ShareToRecipientsMetadata = default(PropertyMetadata), SmartContractInformation SmartContractInformation = default(SmartContractInformation), string Source = default(string), string Status = default(string), PropertyMetadata StatusMetadata = default(PropertyMetadata), string TabFullyQualifiedPath = default(string), List TabGroupLabels = default(List), PropertyMetadata TabGroupLabelsMetadata = default(PropertyMetadata), string TabId = default(string), PropertyMetadata TabIdMetadata = default(PropertyMetadata), string TabLabel = default(string), PropertyMetadata TabLabelMetadata = default(PropertyMetadata), string TabOrder = default(string), PropertyMetadata TabOrderMetadata = default(PropertyMetadata), string TabType = default(string), PropertyMetadata TabTypeMetadata = default(PropertyMetadata), string TemplateLocked = default(string), PropertyMetadata TemplateLockedMetadata = default(PropertyMetadata), string TemplateRequired = default(string), PropertyMetadata TemplateRequiredMetadata = default(PropertyMetadata), string Tooltip = default(string), PropertyMetadata ToolTipMetadata = default(PropertyMetadata), string Underline = default(string), PropertyMetadata UnderlineMetadata = default(PropertyMetadata), string Value = default(string), PropertyMetadata ValueMetadata = default(PropertyMetadata), ErrorDetails WarningDetails = default(ErrorDetails), string Width = default(string), PropertyMetadata WidthMetadata = default(PropertyMetadata), string XPosition = default(string), PropertyMetadata XPositionMetadata = default(PropertyMetadata), string YPosition = default(string), PropertyMetadata YPositionMetadata = default(PropertyMetadata)) + public List(string AgreementAttribute = default(string), string AgreementAttributeLocked = default(string), string AnchorAllowWhiteSpaceInCharacters = default(string), PropertyMetadata AnchorAllowWhiteSpaceInCharactersMetadata = default(PropertyMetadata), string AnchorCaseSensitive = default(string), PropertyMetadata AnchorCaseSensitiveMetadata = default(PropertyMetadata), string AnchorHorizontalAlignment = default(string), PropertyMetadata AnchorHorizontalAlignmentMetadata = default(PropertyMetadata), string AnchorIgnoreIfNotPresent = default(string), PropertyMetadata AnchorIgnoreIfNotPresentMetadata = default(PropertyMetadata), string AnchorMatchWholeWord = default(string), PropertyMetadata AnchorMatchWholeWordMetadata = default(PropertyMetadata), string AnchorString = default(string), PropertyMetadata AnchorStringMetadata = default(PropertyMetadata), string AnchorTabProcessorVersion = default(string), PropertyMetadata AnchorTabProcessorVersionMetadata = default(PropertyMetadata), string AnchorTabScope = default(string), string AnchorUnits = default(string), PropertyMetadata AnchorUnitsMetadata = default(PropertyMetadata), string AnchorXOffset = default(string), PropertyMetadata AnchorXOffsetMetadata = default(PropertyMetadata), string AnchorYOffset = default(string), PropertyMetadata AnchorYOffsetMetadata = default(PropertyMetadata), string Bold = default(string), PropertyMetadata BoldMetadata = default(PropertyMetadata), string Caption = default(string), PropertyMetadata CaptionMetadata = default(PropertyMetadata), string ConditionalParentLabel = default(string), PropertyMetadata ConditionalParentLabelMetadata = default(PropertyMetadata), string ConditionalParentValue = default(string), PropertyMetadata ConditionalParentValueMetadata = default(PropertyMetadata), ConnectedObjectDetails ConnectedObjectDetails = default(ConnectedObjectDetails), string CustomTabId = default(string), PropertyMetadata CustomTabIdMetadata = default(PropertyMetadata), string DocumentId = default(string), PropertyMetadata DocumentIdMetadata = default(PropertyMetadata), ErrorDetails ErrorDetails = default(ErrorDetails), ExtensionData ExtensionData = default(ExtensionData), string Font = default(string), string FontColor = default(string), PropertyMetadata FontColorMetadata = default(PropertyMetadata), PropertyMetadata FontMetadata = default(PropertyMetadata), string FontSize = default(string), PropertyMetadata FontSizeMetadata = default(PropertyMetadata), string FormOrder = default(string), PropertyMetadata FormOrderMetadata = default(PropertyMetadata), string FormPageLabel = default(string), PropertyMetadata FormPageLabelMetadata = default(PropertyMetadata), string FormPageNumber = default(string), PropertyMetadata FormPageNumberMetadata = default(PropertyMetadata), string Height = default(string), PropertyMetadata HeightMetadata = default(PropertyMetadata), string Italic = default(string), PropertyMetadata ItalicMetadata = default(PropertyMetadata), List ListItems = default(List), string ListSelectedValue = default(string), PropertyMetadata ListSelectedValueMetadata = default(PropertyMetadata), LocalePolicyTab LocalePolicy = default(LocalePolicyTab), string Locked = default(string), PropertyMetadata LockedMetadata = default(PropertyMetadata), MergeField MergeField = default(MergeField), string MergeFieldXml = default(string), string OriginalValue = default(string), PropertyMetadata OriginalValueMetadata = default(PropertyMetadata), string PageNumber = default(string), PropertyMetadata PageNumberMetadata = default(PropertyMetadata), string RecipientId = default(string), string RecipientIdGuid = default(string), PropertyMetadata RecipientIdGuidMetadata = default(PropertyMetadata), PropertyMetadata RecipientIdMetadata = default(PropertyMetadata), string RequireAll = default(string), PropertyMetadata RequireAllMetadata = default(PropertyMetadata), string Required = default(string), PropertyMetadata RequiredMetadata = default(PropertyMetadata), string RequireInitialOnSharedChange = default(string), PropertyMetadata RequireInitialOnSharedChangeMetadata = default(PropertyMetadata), string SenderRequired = default(string), PropertyMetadata SenderRequiredMetadata = default(PropertyMetadata), string Shared = default(string), PropertyMetadata SharedMetadata = default(PropertyMetadata), string ShareToRecipients = default(string), PropertyMetadata ShareToRecipientsMetadata = default(PropertyMetadata), SmartContractInformation SmartContractInformation = default(SmartContractInformation), string Source = default(string), string Status = default(string), PropertyMetadata StatusMetadata = default(PropertyMetadata), string TabFullyQualifiedPath = default(string), List TabGroupLabels = default(List), PropertyMetadata TabGroupLabelsMetadata = default(PropertyMetadata), string TabId = default(string), PropertyMetadata TabIdMetadata = default(PropertyMetadata), string TabLabel = default(string), PropertyMetadata TabLabelMetadata = default(PropertyMetadata), string TabOrder = default(string), PropertyMetadata TabOrderMetadata = default(PropertyMetadata), string TabType = default(string), PropertyMetadata TabTypeMetadata = default(PropertyMetadata), string TemplateLocked = default(string), PropertyMetadata TemplateLockedMetadata = default(PropertyMetadata), string TemplateRequired = default(string), PropertyMetadata TemplateRequiredMetadata = default(PropertyMetadata), string Tooltip = default(string), PropertyMetadata ToolTipMetadata = default(PropertyMetadata), string Underline = default(string), PropertyMetadata UnderlineMetadata = default(PropertyMetadata), string Value = default(string), PropertyMetadata ValueMetadata = default(PropertyMetadata), ErrorDetails WarningDetails = default(ErrorDetails), string Width = default(string), PropertyMetadata WidthMetadata = default(PropertyMetadata), string XPosition = default(string), PropertyMetadata XPositionMetadata = default(PropertyMetadata), string YPosition = default(string), PropertyMetadata YPositionMetadata = default(PropertyMetadata)) { this.AgreementAttribute = AgreementAttribute; this.AgreementAttributeLocked = AgreementAttributeLocked; @@ -166,6 +167,7 @@ public List() this.AnchorStringMetadata = AnchorStringMetadata; this.AnchorTabProcessorVersion = AnchorTabProcessorVersion; this.AnchorTabProcessorVersionMetadata = AnchorTabProcessorVersionMetadata; + this.AnchorTabScope = AnchorTabScope; this.AnchorUnits = AnchorUnits; this.AnchorUnitsMetadata = AnchorUnitsMetadata; this.AnchorXOffset = AnchorXOffset; @@ -358,6 +360,11 @@ public List() [DataMember(Name="anchorTabProcessorVersionMetadata", EmitDefaultValue=false)] public PropertyMetadata AnchorTabProcessorVersionMetadata { get; set; } /// + /// Gets or Sets AnchorTabScope + /// + [DataMember(Name="anchorTabScope", EmitDefaultValue=false)] + public string AnchorTabScope { get; set; } + /// /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. /// /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. @@ -945,6 +952,7 @@ public override string ToString() sb.Append(" AnchorStringMetadata: ").Append(AnchorStringMetadata).Append("\n"); sb.Append(" AnchorTabProcessorVersion: ").Append(AnchorTabProcessorVersion).Append("\n"); sb.Append(" AnchorTabProcessorVersionMetadata: ").Append(AnchorTabProcessorVersionMetadata).Append("\n"); + sb.Append(" AnchorTabScope: ").Append(AnchorTabScope).Append("\n"); sb.Append(" AnchorUnits: ").Append(AnchorUnits).Append("\n"); sb.Append(" AnchorUnitsMetadata: ").Append(AnchorUnitsMetadata).Append("\n"); sb.Append(" AnchorXOffset: ").Append(AnchorXOffset).Append("\n"); @@ -1158,6 +1166,11 @@ public bool Equals(List other) this.AnchorTabProcessorVersionMetadata != null && this.AnchorTabProcessorVersionMetadata.Equals(other.AnchorTabProcessorVersionMetadata) ) && + ( + this.AnchorTabScope == other.AnchorTabScope || + this.AnchorTabScope != null && + this.AnchorTabScope.Equals(other.AnchorTabScope) + ) && ( this.AnchorUnits == other.AnchorUnits || this.AnchorUnits != null && @@ -1688,6 +1701,8 @@ public override int GetHashCode() hash = hash * 59 + this.AnchorTabProcessorVersion.GetHashCode(); if (this.AnchorTabProcessorVersionMetadata != null) hash = hash * 59 + this.AnchorTabProcessorVersionMetadata.GetHashCode(); + if (this.AnchorTabScope != null) + hash = hash * 59 + this.AnchorTabScope.GetHashCode(); if (this.AnchorUnits != null) hash = hash * 59 + this.AnchorUnits.GetHashCode(); if (this.AnchorUnitsMetadata != null) diff --git a/sdk/src/DocuSign.eSign/Model/Notarize.cs b/sdk/src/DocuSign.eSign/Model/Notarize.cs index 725a7041b..2b4d553d3 100644 --- a/sdk/src/DocuSign.eSign/Model/Notarize.cs +++ b/sdk/src/DocuSign.eSign/Model/Notarize.cs @@ -51,6 +51,7 @@ public Notarize() /// Metadata that indicates whether the `anchorString` property is editable.. /// AnchorTabProcessorVersion. /// Reserved for DocuSign.. + /// AnchorTabScope. /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.. /// Metadata that indicates whether the `anchorUnits` property is editable.. /// Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.. @@ -116,7 +117,7 @@ public Notarize() /// Metadata that indicates whether the `xPosition` property is editable.. /// This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.. /// Metadata that indicates whether the `yPosition` property is editable.. - public Notarize(string AgreementAttribute = default(string), string AgreementAttributeLocked = default(string), string AnchorAllowWhiteSpaceInCharacters = default(string), PropertyMetadata AnchorAllowWhiteSpaceInCharactersMetadata = default(PropertyMetadata), string AnchorCaseSensitive = default(string), PropertyMetadata AnchorCaseSensitiveMetadata = default(PropertyMetadata), string AnchorHorizontalAlignment = default(string), PropertyMetadata AnchorHorizontalAlignmentMetadata = default(PropertyMetadata), string AnchorIgnoreIfNotPresent = default(string), PropertyMetadata AnchorIgnoreIfNotPresentMetadata = default(PropertyMetadata), string AnchorMatchWholeWord = default(string), PropertyMetadata AnchorMatchWholeWordMetadata = default(PropertyMetadata), string AnchorString = default(string), PropertyMetadata AnchorStringMetadata = default(PropertyMetadata), string AnchorTabProcessorVersion = default(string), PropertyMetadata AnchorTabProcessorVersionMetadata = default(PropertyMetadata), string AnchorUnits = default(string), PropertyMetadata AnchorUnitsMetadata = default(PropertyMetadata), string AnchorXOffset = default(string), PropertyMetadata AnchorXOffsetMetadata = default(PropertyMetadata), string AnchorYOffset = default(string), PropertyMetadata AnchorYOffsetMetadata = default(PropertyMetadata), string Caption = default(string), PropertyMetadata CaptionMetadata = default(PropertyMetadata), string ConditionalParentLabel = default(string), PropertyMetadata ConditionalParentLabelMetadata = default(PropertyMetadata), string ConditionalParentValue = default(string), PropertyMetadata ConditionalParentValueMetadata = default(PropertyMetadata), ConnectedObjectDetails ConnectedObjectDetails = default(ConnectedObjectDetails), string CustomTabId = default(string), PropertyMetadata CustomTabIdMetadata = default(PropertyMetadata), string DocumentId = default(string), PropertyMetadata DocumentIdMetadata = default(PropertyMetadata), ErrorDetails ErrorDetails = default(ErrorDetails), ExtensionData ExtensionData = default(ExtensionData), string FormOrder = default(string), PropertyMetadata FormOrderMetadata = default(PropertyMetadata), string FormPageLabel = default(string), PropertyMetadata FormPageLabelMetadata = default(PropertyMetadata), string FormPageNumber = default(string), PropertyMetadata FormPageNumberMetadata = default(PropertyMetadata), string Height = default(string), PropertyMetadata HeightMetadata = default(PropertyMetadata), string Locked = default(string), PropertyMetadata LockedMetadata = default(PropertyMetadata), MergeField MergeField = default(MergeField), string MergeFieldXml = default(string), string PageNumber = default(string), PropertyMetadata PageNumberMetadata = default(PropertyMetadata), string RecipientId = default(string), string RecipientIdGuid = default(string), PropertyMetadata RecipientIdGuidMetadata = default(PropertyMetadata), PropertyMetadata RecipientIdMetadata = default(PropertyMetadata), string Required = default(string), PropertyMetadata RequiredMetadata = default(PropertyMetadata), SmartContractInformation SmartContractInformation = default(SmartContractInformation), string Source = default(string), string Status = default(string), PropertyMetadata StatusMetadata = default(PropertyMetadata), string TabFullyQualifiedPath = default(string), List TabGroupLabels = default(List), PropertyMetadata TabGroupLabelsMetadata = default(PropertyMetadata), string TabId = default(string), PropertyMetadata TabIdMetadata = default(PropertyMetadata), string TabOrder = default(string), PropertyMetadata TabOrderMetadata = default(PropertyMetadata), string TabType = default(string), PropertyMetadata TabTypeMetadata = default(PropertyMetadata), string TemplateLocked = default(string), PropertyMetadata TemplateLockedMetadata = default(PropertyMetadata), string TemplateRequired = default(string), PropertyMetadata TemplateRequiredMetadata = default(PropertyMetadata), string Tooltip = default(string), PropertyMetadata ToolTipMetadata = default(PropertyMetadata), ErrorDetails WarningDetails = default(ErrorDetails), string Width = default(string), PropertyMetadata WidthMetadata = default(PropertyMetadata), string XPosition = default(string), PropertyMetadata XPositionMetadata = default(PropertyMetadata), string YPosition = default(string), PropertyMetadata YPositionMetadata = default(PropertyMetadata)) + public Notarize(string AgreementAttribute = default(string), string AgreementAttributeLocked = default(string), string AnchorAllowWhiteSpaceInCharacters = default(string), PropertyMetadata AnchorAllowWhiteSpaceInCharactersMetadata = default(PropertyMetadata), string AnchorCaseSensitive = default(string), PropertyMetadata AnchorCaseSensitiveMetadata = default(PropertyMetadata), string AnchorHorizontalAlignment = default(string), PropertyMetadata AnchorHorizontalAlignmentMetadata = default(PropertyMetadata), string AnchorIgnoreIfNotPresent = default(string), PropertyMetadata AnchorIgnoreIfNotPresentMetadata = default(PropertyMetadata), string AnchorMatchWholeWord = default(string), PropertyMetadata AnchorMatchWholeWordMetadata = default(PropertyMetadata), string AnchorString = default(string), PropertyMetadata AnchorStringMetadata = default(PropertyMetadata), string AnchorTabProcessorVersion = default(string), PropertyMetadata AnchorTabProcessorVersionMetadata = default(PropertyMetadata), string AnchorTabScope = default(string), string AnchorUnits = default(string), PropertyMetadata AnchorUnitsMetadata = default(PropertyMetadata), string AnchorXOffset = default(string), PropertyMetadata AnchorXOffsetMetadata = default(PropertyMetadata), string AnchorYOffset = default(string), PropertyMetadata AnchorYOffsetMetadata = default(PropertyMetadata), string Caption = default(string), PropertyMetadata CaptionMetadata = default(PropertyMetadata), string ConditionalParentLabel = default(string), PropertyMetadata ConditionalParentLabelMetadata = default(PropertyMetadata), string ConditionalParentValue = default(string), PropertyMetadata ConditionalParentValueMetadata = default(PropertyMetadata), ConnectedObjectDetails ConnectedObjectDetails = default(ConnectedObjectDetails), string CustomTabId = default(string), PropertyMetadata CustomTabIdMetadata = default(PropertyMetadata), string DocumentId = default(string), PropertyMetadata DocumentIdMetadata = default(PropertyMetadata), ErrorDetails ErrorDetails = default(ErrorDetails), ExtensionData ExtensionData = default(ExtensionData), string FormOrder = default(string), PropertyMetadata FormOrderMetadata = default(PropertyMetadata), string FormPageLabel = default(string), PropertyMetadata FormPageLabelMetadata = default(PropertyMetadata), string FormPageNumber = default(string), PropertyMetadata FormPageNumberMetadata = default(PropertyMetadata), string Height = default(string), PropertyMetadata HeightMetadata = default(PropertyMetadata), string Locked = default(string), PropertyMetadata LockedMetadata = default(PropertyMetadata), MergeField MergeField = default(MergeField), string MergeFieldXml = default(string), string PageNumber = default(string), PropertyMetadata PageNumberMetadata = default(PropertyMetadata), string RecipientId = default(string), string RecipientIdGuid = default(string), PropertyMetadata RecipientIdGuidMetadata = default(PropertyMetadata), PropertyMetadata RecipientIdMetadata = default(PropertyMetadata), string Required = default(string), PropertyMetadata RequiredMetadata = default(PropertyMetadata), SmartContractInformation SmartContractInformation = default(SmartContractInformation), string Source = default(string), string Status = default(string), PropertyMetadata StatusMetadata = default(PropertyMetadata), string TabFullyQualifiedPath = default(string), List TabGroupLabels = default(List), PropertyMetadata TabGroupLabelsMetadata = default(PropertyMetadata), string TabId = default(string), PropertyMetadata TabIdMetadata = default(PropertyMetadata), string TabOrder = default(string), PropertyMetadata TabOrderMetadata = default(PropertyMetadata), string TabType = default(string), PropertyMetadata TabTypeMetadata = default(PropertyMetadata), string TemplateLocked = default(string), PropertyMetadata TemplateLockedMetadata = default(PropertyMetadata), string TemplateRequired = default(string), PropertyMetadata TemplateRequiredMetadata = default(PropertyMetadata), string Tooltip = default(string), PropertyMetadata ToolTipMetadata = default(PropertyMetadata), ErrorDetails WarningDetails = default(ErrorDetails), string Width = default(string), PropertyMetadata WidthMetadata = default(PropertyMetadata), string XPosition = default(string), PropertyMetadata XPositionMetadata = default(PropertyMetadata), string YPosition = default(string), PropertyMetadata YPositionMetadata = default(PropertyMetadata)) { this.AgreementAttribute = AgreementAttribute; this.AgreementAttributeLocked = AgreementAttributeLocked; @@ -134,6 +135,7 @@ public Notarize() this.AnchorStringMetadata = AnchorStringMetadata; this.AnchorTabProcessorVersion = AnchorTabProcessorVersion; this.AnchorTabProcessorVersionMetadata = AnchorTabProcessorVersionMetadata; + this.AnchorTabScope = AnchorTabScope; this.AnchorUnits = AnchorUnits; this.AnchorUnitsMetadata = AnchorUnitsMetadata; this.AnchorXOffset = AnchorXOffset; @@ -294,6 +296,11 @@ public Notarize() [DataMember(Name="anchorTabProcessorVersionMetadata", EmitDefaultValue=false)] public PropertyMetadata AnchorTabProcessorVersionMetadata { get; set; } /// + /// Gets or Sets AnchorTabScope + /// + [DataMember(Name="anchorTabScope", EmitDefaultValue=false)] + public string AnchorTabScope { get; set; } + /// /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. /// /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. @@ -691,6 +698,7 @@ public override string ToString() sb.Append(" AnchorStringMetadata: ").Append(AnchorStringMetadata).Append("\n"); sb.Append(" AnchorTabProcessorVersion: ").Append(AnchorTabProcessorVersion).Append("\n"); sb.Append(" AnchorTabProcessorVersionMetadata: ").Append(AnchorTabProcessorVersionMetadata).Append("\n"); + sb.Append(" AnchorTabScope: ").Append(AnchorTabScope).Append("\n"); sb.Append(" AnchorUnits: ").Append(AnchorUnits).Append("\n"); sb.Append(" AnchorUnitsMetadata: ").Append(AnchorUnitsMetadata).Append("\n"); sb.Append(" AnchorXOffset: ").Append(AnchorXOffset).Append("\n"); @@ -872,6 +880,11 @@ public bool Equals(Notarize other) this.AnchorTabProcessorVersionMetadata != null && this.AnchorTabProcessorVersionMetadata.Equals(other.AnchorTabProcessorVersionMetadata) ) && + ( + this.AnchorTabScope == other.AnchorTabScope || + this.AnchorTabScope != null && + this.AnchorTabScope.Equals(other.AnchorTabScope) + ) && ( this.AnchorUnits == other.AnchorUnits || this.AnchorUnits != null && @@ -1242,6 +1255,8 @@ public override int GetHashCode() hash = hash * 59 + this.AnchorTabProcessorVersion.GetHashCode(); if (this.AnchorTabProcessorVersionMetadata != null) hash = hash * 59 + this.AnchorTabProcessorVersionMetadata.GetHashCode(); + if (this.AnchorTabScope != null) + hash = hash * 59 + this.AnchorTabScope.GetHashCode(); if (this.AnchorUnits != null) hash = hash * 59 + this.AnchorUnits.GetHashCode(); if (this.AnchorUnitsMetadata != null) diff --git a/sdk/src/DocuSign.eSign/Model/NotarySeal.cs b/sdk/src/DocuSign.eSign/Model/NotarySeal.cs index 9c6402889..3e115d62c 100644 --- a/sdk/src/DocuSign.eSign/Model/NotarySeal.cs +++ b/sdk/src/DocuSign.eSign/Model/NotarySeal.cs @@ -51,6 +51,7 @@ public NotarySeal() /// Metadata that indicates whether the `anchorString` property is editable.. /// AnchorTabProcessorVersion. /// Reserved for DocuSign.. + /// AnchorTabScope. /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.. /// Metadata that indicates whether the `anchorUnits` property is editable.. /// Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.. @@ -118,7 +119,7 @@ public NotarySeal() /// Metadata that indicates whether the `xPosition` property is editable.. /// This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.. /// Metadata that indicates whether the `yPosition` property is editable.. - public NotarySeal(string AgreementAttribute = default(string), string AgreementAttributeLocked = default(string), string AnchorAllowWhiteSpaceInCharacters = default(string), PropertyMetadata AnchorAllowWhiteSpaceInCharactersMetadata = default(PropertyMetadata), string AnchorCaseSensitive = default(string), PropertyMetadata AnchorCaseSensitiveMetadata = default(PropertyMetadata), string AnchorHorizontalAlignment = default(string), PropertyMetadata AnchorHorizontalAlignmentMetadata = default(PropertyMetadata), string AnchorIgnoreIfNotPresent = default(string), PropertyMetadata AnchorIgnoreIfNotPresentMetadata = default(PropertyMetadata), string AnchorMatchWholeWord = default(string), PropertyMetadata AnchorMatchWholeWordMetadata = default(PropertyMetadata), string AnchorString = default(string), PropertyMetadata AnchorStringMetadata = default(PropertyMetadata), string AnchorTabProcessorVersion = default(string), PropertyMetadata AnchorTabProcessorVersionMetadata = default(PropertyMetadata), string AnchorUnits = default(string), PropertyMetadata AnchorUnitsMetadata = default(PropertyMetadata), string AnchorXOffset = default(string), PropertyMetadata AnchorXOffsetMetadata = default(PropertyMetadata), string AnchorYOffset = default(string), PropertyMetadata AnchorYOffsetMetadata = default(PropertyMetadata), string Caption = default(string), PropertyMetadata CaptionMetadata = default(PropertyMetadata), string ConditionalParentLabel = default(string), PropertyMetadata ConditionalParentLabelMetadata = default(PropertyMetadata), string ConditionalParentValue = default(string), PropertyMetadata ConditionalParentValueMetadata = default(PropertyMetadata), ConnectedObjectDetails ConnectedObjectDetails = default(ConnectedObjectDetails), string CustomTabId = default(string), PropertyMetadata CustomTabIdMetadata = default(PropertyMetadata), string DocumentId = default(string), PropertyMetadata DocumentIdMetadata = default(PropertyMetadata), ErrorDetails ErrorDetails = default(ErrorDetails), ExtensionData ExtensionData = default(ExtensionData), string FormOrder = default(string), PropertyMetadata FormOrderMetadata = default(PropertyMetadata), string FormPageLabel = default(string), PropertyMetadata FormPageLabelMetadata = default(PropertyMetadata), string FormPageNumber = default(string), PropertyMetadata FormPageNumberMetadata = default(PropertyMetadata), string Height = default(string), PropertyMetadata HeightMetadata = default(PropertyMetadata), MergeField MergeField = default(MergeField), string MergeFieldXml = default(string), string Name = default(string), PropertyMetadata NameMetadata = default(PropertyMetadata), string PageNumber = default(string), PropertyMetadata PageNumberMetadata = default(PropertyMetadata), string RecipientId = default(string), string RecipientIdGuid = default(string), PropertyMetadata RecipientIdGuidMetadata = default(PropertyMetadata), PropertyMetadata RecipientIdMetadata = default(PropertyMetadata), string ScaleValue = default(string), PropertyMetadata ScaleValueMetadata = default(PropertyMetadata), SmartContractInformation SmartContractInformation = default(SmartContractInformation), string Source = default(string), string Status = default(string), PropertyMetadata StatusMetadata = default(PropertyMetadata), string TabFullyQualifiedPath = default(string), List TabGroupLabels = default(List), PropertyMetadata TabGroupLabelsMetadata = default(PropertyMetadata), string TabId = default(string), PropertyMetadata TabIdMetadata = default(PropertyMetadata), string TabLabel = default(string), PropertyMetadata TabLabelMetadata = default(PropertyMetadata), string TabOrder = default(string), PropertyMetadata TabOrderMetadata = default(PropertyMetadata), string TabType = default(string), PropertyMetadata TabTypeMetadata = default(PropertyMetadata), string TemplateLocked = default(string), PropertyMetadata TemplateLockedMetadata = default(PropertyMetadata), string TemplateRequired = default(string), PropertyMetadata TemplateRequiredMetadata = default(PropertyMetadata), string Tooltip = default(string), PropertyMetadata ToolTipMetadata = default(PropertyMetadata), ErrorDetails WarningDetails = default(ErrorDetails), string Width = default(string), PropertyMetadata WidthMetadata = default(PropertyMetadata), string XPosition = default(string), PropertyMetadata XPositionMetadata = default(PropertyMetadata), string YPosition = default(string), PropertyMetadata YPositionMetadata = default(PropertyMetadata)) + public NotarySeal(string AgreementAttribute = default(string), string AgreementAttributeLocked = default(string), string AnchorAllowWhiteSpaceInCharacters = default(string), PropertyMetadata AnchorAllowWhiteSpaceInCharactersMetadata = default(PropertyMetadata), string AnchorCaseSensitive = default(string), PropertyMetadata AnchorCaseSensitiveMetadata = default(PropertyMetadata), string AnchorHorizontalAlignment = default(string), PropertyMetadata AnchorHorizontalAlignmentMetadata = default(PropertyMetadata), string AnchorIgnoreIfNotPresent = default(string), PropertyMetadata AnchorIgnoreIfNotPresentMetadata = default(PropertyMetadata), string AnchorMatchWholeWord = default(string), PropertyMetadata AnchorMatchWholeWordMetadata = default(PropertyMetadata), string AnchorString = default(string), PropertyMetadata AnchorStringMetadata = default(PropertyMetadata), string AnchorTabProcessorVersion = default(string), PropertyMetadata AnchorTabProcessorVersionMetadata = default(PropertyMetadata), string AnchorTabScope = default(string), string AnchorUnits = default(string), PropertyMetadata AnchorUnitsMetadata = default(PropertyMetadata), string AnchorXOffset = default(string), PropertyMetadata AnchorXOffsetMetadata = default(PropertyMetadata), string AnchorYOffset = default(string), PropertyMetadata AnchorYOffsetMetadata = default(PropertyMetadata), string Caption = default(string), PropertyMetadata CaptionMetadata = default(PropertyMetadata), string ConditionalParentLabel = default(string), PropertyMetadata ConditionalParentLabelMetadata = default(PropertyMetadata), string ConditionalParentValue = default(string), PropertyMetadata ConditionalParentValueMetadata = default(PropertyMetadata), ConnectedObjectDetails ConnectedObjectDetails = default(ConnectedObjectDetails), string CustomTabId = default(string), PropertyMetadata CustomTabIdMetadata = default(PropertyMetadata), string DocumentId = default(string), PropertyMetadata DocumentIdMetadata = default(PropertyMetadata), ErrorDetails ErrorDetails = default(ErrorDetails), ExtensionData ExtensionData = default(ExtensionData), string FormOrder = default(string), PropertyMetadata FormOrderMetadata = default(PropertyMetadata), string FormPageLabel = default(string), PropertyMetadata FormPageLabelMetadata = default(PropertyMetadata), string FormPageNumber = default(string), PropertyMetadata FormPageNumberMetadata = default(PropertyMetadata), string Height = default(string), PropertyMetadata HeightMetadata = default(PropertyMetadata), MergeField MergeField = default(MergeField), string MergeFieldXml = default(string), string Name = default(string), PropertyMetadata NameMetadata = default(PropertyMetadata), string PageNumber = default(string), PropertyMetadata PageNumberMetadata = default(PropertyMetadata), string RecipientId = default(string), string RecipientIdGuid = default(string), PropertyMetadata RecipientIdGuidMetadata = default(PropertyMetadata), PropertyMetadata RecipientIdMetadata = default(PropertyMetadata), string ScaleValue = default(string), PropertyMetadata ScaleValueMetadata = default(PropertyMetadata), SmartContractInformation SmartContractInformation = default(SmartContractInformation), string Source = default(string), string Status = default(string), PropertyMetadata StatusMetadata = default(PropertyMetadata), string TabFullyQualifiedPath = default(string), List TabGroupLabels = default(List), PropertyMetadata TabGroupLabelsMetadata = default(PropertyMetadata), string TabId = default(string), PropertyMetadata TabIdMetadata = default(PropertyMetadata), string TabLabel = default(string), PropertyMetadata TabLabelMetadata = default(PropertyMetadata), string TabOrder = default(string), PropertyMetadata TabOrderMetadata = default(PropertyMetadata), string TabType = default(string), PropertyMetadata TabTypeMetadata = default(PropertyMetadata), string TemplateLocked = default(string), PropertyMetadata TemplateLockedMetadata = default(PropertyMetadata), string TemplateRequired = default(string), PropertyMetadata TemplateRequiredMetadata = default(PropertyMetadata), string Tooltip = default(string), PropertyMetadata ToolTipMetadata = default(PropertyMetadata), ErrorDetails WarningDetails = default(ErrorDetails), string Width = default(string), PropertyMetadata WidthMetadata = default(PropertyMetadata), string XPosition = default(string), PropertyMetadata XPositionMetadata = default(PropertyMetadata), string YPosition = default(string), PropertyMetadata YPositionMetadata = default(PropertyMetadata)) { this.AgreementAttribute = AgreementAttribute; this.AgreementAttributeLocked = AgreementAttributeLocked; @@ -136,6 +137,7 @@ public NotarySeal() this.AnchorStringMetadata = AnchorStringMetadata; this.AnchorTabProcessorVersion = AnchorTabProcessorVersion; this.AnchorTabProcessorVersionMetadata = AnchorTabProcessorVersionMetadata; + this.AnchorTabScope = AnchorTabScope; this.AnchorUnits = AnchorUnits; this.AnchorUnitsMetadata = AnchorUnitsMetadata; this.AnchorXOffset = AnchorXOffset; @@ -298,6 +300,11 @@ public NotarySeal() [DataMember(Name="anchorTabProcessorVersionMetadata", EmitDefaultValue=false)] public PropertyMetadata AnchorTabProcessorVersionMetadata { get; set; } /// + /// Gets or Sets AnchorTabScope + /// + [DataMember(Name="anchorTabScope", EmitDefaultValue=false)] + public string AnchorTabScope { get; set; } + /// /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. /// /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. @@ -705,6 +712,7 @@ public override string ToString() sb.Append(" AnchorStringMetadata: ").Append(AnchorStringMetadata).Append("\n"); sb.Append(" AnchorTabProcessorVersion: ").Append(AnchorTabProcessorVersion).Append("\n"); sb.Append(" AnchorTabProcessorVersionMetadata: ").Append(AnchorTabProcessorVersionMetadata).Append("\n"); + sb.Append(" AnchorTabScope: ").Append(AnchorTabScope).Append("\n"); sb.Append(" AnchorUnits: ").Append(AnchorUnits).Append("\n"); sb.Append(" AnchorUnitsMetadata: ").Append(AnchorUnitsMetadata).Append("\n"); sb.Append(" AnchorXOffset: ").Append(AnchorXOffset).Append("\n"); @@ -888,6 +896,11 @@ public bool Equals(NotarySeal other) this.AnchorTabProcessorVersionMetadata != null && this.AnchorTabProcessorVersionMetadata.Equals(other.AnchorTabProcessorVersionMetadata) ) && + ( + this.AnchorTabScope == other.AnchorTabScope || + this.AnchorTabScope != null && + this.AnchorTabScope.Equals(other.AnchorTabScope) + ) && ( this.AnchorUnits == other.AnchorUnits || this.AnchorUnits != null && @@ -1268,6 +1281,8 @@ public override int GetHashCode() hash = hash * 59 + this.AnchorTabProcessorVersion.GetHashCode(); if (this.AnchorTabProcessorVersionMetadata != null) hash = hash * 59 + this.AnchorTabProcessorVersionMetadata.GetHashCode(); + if (this.AnchorTabScope != null) + hash = hash * 59 + this.AnchorTabScope.GetHashCode(); if (this.AnchorUnits != null) hash = hash * 59 + this.AnchorUnits.GetHashCode(); if (this.AnchorUnitsMetadata != null) diff --git a/sdk/src/DocuSign.eSign/Model/Note.cs b/sdk/src/DocuSign.eSign/Model/Note.cs index dc5f368ae..5d04f6bca 100644 --- a/sdk/src/DocuSign.eSign/Model/Note.cs +++ b/sdk/src/DocuSign.eSign/Model/Note.cs @@ -51,6 +51,7 @@ public Note() /// Metadata that indicates whether the `anchorString` property is editable.. /// AnchorTabProcessorVersion. /// Reserved for DocuSign.. + /// AnchorTabScope. /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.. /// Metadata that indicates whether the `anchorUnits` property is editable.. /// Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.. @@ -133,7 +134,7 @@ public Note() /// Metadata that indicates whether the `xPosition` property is editable.. /// This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.. /// Metadata that indicates whether the `yPosition` property is editable.. - public Note(string AgreementAttribute = default(string), string AgreementAttributeLocked = default(string), string AnchorAllowWhiteSpaceInCharacters = default(string), PropertyMetadata AnchorAllowWhiteSpaceInCharactersMetadata = default(PropertyMetadata), string AnchorCaseSensitive = default(string), PropertyMetadata AnchorCaseSensitiveMetadata = default(PropertyMetadata), string AnchorHorizontalAlignment = default(string), PropertyMetadata AnchorHorizontalAlignmentMetadata = default(PropertyMetadata), string AnchorIgnoreIfNotPresent = default(string), PropertyMetadata AnchorIgnoreIfNotPresentMetadata = default(PropertyMetadata), string AnchorMatchWholeWord = default(string), PropertyMetadata AnchorMatchWholeWordMetadata = default(PropertyMetadata), string AnchorString = default(string), PropertyMetadata AnchorStringMetadata = default(PropertyMetadata), string AnchorTabProcessorVersion = default(string), PropertyMetadata AnchorTabProcessorVersionMetadata = default(PropertyMetadata), string AnchorUnits = default(string), PropertyMetadata AnchorUnitsMetadata = default(PropertyMetadata), string AnchorXOffset = default(string), PropertyMetadata AnchorXOffsetMetadata = default(PropertyMetadata), string AnchorYOffset = default(string), PropertyMetadata AnchorYOffsetMetadata = default(PropertyMetadata), string Bold = default(string), PropertyMetadata BoldMetadata = default(PropertyMetadata), string Caption = default(string), PropertyMetadata CaptionMetadata = default(PropertyMetadata), string ConditionalParentLabel = default(string), PropertyMetadata ConditionalParentLabelMetadata = default(PropertyMetadata), string ConditionalParentValue = default(string), PropertyMetadata ConditionalParentValueMetadata = default(PropertyMetadata), ConnectedObjectDetails ConnectedObjectDetails = default(ConnectedObjectDetails), string CustomTabId = default(string), PropertyMetadata CustomTabIdMetadata = default(PropertyMetadata), string DocumentId = default(string), PropertyMetadata DocumentIdMetadata = default(PropertyMetadata), ErrorDetails ErrorDetails = default(ErrorDetails), ExtensionData ExtensionData = default(ExtensionData), string Font = default(string), string FontColor = default(string), PropertyMetadata FontColorMetadata = default(PropertyMetadata), PropertyMetadata FontMetadata = default(PropertyMetadata), string FontSize = default(string), PropertyMetadata FontSizeMetadata = default(PropertyMetadata), string FormOrder = default(string), PropertyMetadata FormOrderMetadata = default(PropertyMetadata), string FormPageLabel = default(string), PropertyMetadata FormPageLabelMetadata = default(PropertyMetadata), string FormPageNumber = default(string), PropertyMetadata FormPageNumberMetadata = default(PropertyMetadata), string Height = default(string), PropertyMetadata HeightMetadata = default(PropertyMetadata), string Italic = default(string), PropertyMetadata ItalicMetadata = default(PropertyMetadata), LocalePolicyTab LocalePolicy = default(LocalePolicyTab), MergeField MergeField = default(MergeField), string MergeFieldXml = default(string), string Name = default(string), PropertyMetadata NameMetadata = default(PropertyMetadata), string PageNumber = default(string), PropertyMetadata PageNumberMetadata = default(PropertyMetadata), string RecipientId = default(string), string RecipientIdGuid = default(string), PropertyMetadata RecipientIdGuidMetadata = default(PropertyMetadata), PropertyMetadata RecipientIdMetadata = default(PropertyMetadata), string Shared = default(string), PropertyMetadata SharedMetadata = default(PropertyMetadata), SmartContractInformation SmartContractInformation = default(SmartContractInformation), string Source = default(string), string Status = default(string), PropertyMetadata StatusMetadata = default(PropertyMetadata), string TabFullyQualifiedPath = default(string), List TabGroupLabels = default(List), PropertyMetadata TabGroupLabelsMetadata = default(PropertyMetadata), string TabId = default(string), PropertyMetadata TabIdMetadata = default(PropertyMetadata), string TabLabel = default(string), PropertyMetadata TabLabelMetadata = default(PropertyMetadata), string TabOrder = default(string), PropertyMetadata TabOrderMetadata = default(PropertyMetadata), string TabType = default(string), PropertyMetadata TabTypeMetadata = default(PropertyMetadata), string TemplateLocked = default(string), PropertyMetadata TemplateLockedMetadata = default(PropertyMetadata), string TemplateRequired = default(string), PropertyMetadata TemplateRequiredMetadata = default(PropertyMetadata), string Tooltip = default(string), PropertyMetadata ToolTipMetadata = default(PropertyMetadata), string Underline = default(string), PropertyMetadata UnderlineMetadata = default(PropertyMetadata), string Value = default(string), PropertyMetadata ValueMetadata = default(PropertyMetadata), ErrorDetails WarningDetails = default(ErrorDetails), string Width = default(string), PropertyMetadata WidthMetadata = default(PropertyMetadata), string XPosition = default(string), PropertyMetadata XPositionMetadata = default(PropertyMetadata), string YPosition = default(string), PropertyMetadata YPositionMetadata = default(PropertyMetadata)) + public Note(string AgreementAttribute = default(string), string AgreementAttributeLocked = default(string), string AnchorAllowWhiteSpaceInCharacters = default(string), PropertyMetadata AnchorAllowWhiteSpaceInCharactersMetadata = default(PropertyMetadata), string AnchorCaseSensitive = default(string), PropertyMetadata AnchorCaseSensitiveMetadata = default(PropertyMetadata), string AnchorHorizontalAlignment = default(string), PropertyMetadata AnchorHorizontalAlignmentMetadata = default(PropertyMetadata), string AnchorIgnoreIfNotPresent = default(string), PropertyMetadata AnchorIgnoreIfNotPresentMetadata = default(PropertyMetadata), string AnchorMatchWholeWord = default(string), PropertyMetadata AnchorMatchWholeWordMetadata = default(PropertyMetadata), string AnchorString = default(string), PropertyMetadata AnchorStringMetadata = default(PropertyMetadata), string AnchorTabProcessorVersion = default(string), PropertyMetadata AnchorTabProcessorVersionMetadata = default(PropertyMetadata), string AnchorTabScope = default(string), string AnchorUnits = default(string), PropertyMetadata AnchorUnitsMetadata = default(PropertyMetadata), string AnchorXOffset = default(string), PropertyMetadata AnchorXOffsetMetadata = default(PropertyMetadata), string AnchorYOffset = default(string), PropertyMetadata AnchorYOffsetMetadata = default(PropertyMetadata), string Bold = default(string), PropertyMetadata BoldMetadata = default(PropertyMetadata), string Caption = default(string), PropertyMetadata CaptionMetadata = default(PropertyMetadata), string ConditionalParentLabel = default(string), PropertyMetadata ConditionalParentLabelMetadata = default(PropertyMetadata), string ConditionalParentValue = default(string), PropertyMetadata ConditionalParentValueMetadata = default(PropertyMetadata), ConnectedObjectDetails ConnectedObjectDetails = default(ConnectedObjectDetails), string CustomTabId = default(string), PropertyMetadata CustomTabIdMetadata = default(PropertyMetadata), string DocumentId = default(string), PropertyMetadata DocumentIdMetadata = default(PropertyMetadata), ErrorDetails ErrorDetails = default(ErrorDetails), ExtensionData ExtensionData = default(ExtensionData), string Font = default(string), string FontColor = default(string), PropertyMetadata FontColorMetadata = default(PropertyMetadata), PropertyMetadata FontMetadata = default(PropertyMetadata), string FontSize = default(string), PropertyMetadata FontSizeMetadata = default(PropertyMetadata), string FormOrder = default(string), PropertyMetadata FormOrderMetadata = default(PropertyMetadata), string FormPageLabel = default(string), PropertyMetadata FormPageLabelMetadata = default(PropertyMetadata), string FormPageNumber = default(string), PropertyMetadata FormPageNumberMetadata = default(PropertyMetadata), string Height = default(string), PropertyMetadata HeightMetadata = default(PropertyMetadata), string Italic = default(string), PropertyMetadata ItalicMetadata = default(PropertyMetadata), LocalePolicyTab LocalePolicy = default(LocalePolicyTab), MergeField MergeField = default(MergeField), string MergeFieldXml = default(string), string Name = default(string), PropertyMetadata NameMetadata = default(PropertyMetadata), string PageNumber = default(string), PropertyMetadata PageNumberMetadata = default(PropertyMetadata), string RecipientId = default(string), string RecipientIdGuid = default(string), PropertyMetadata RecipientIdGuidMetadata = default(PropertyMetadata), PropertyMetadata RecipientIdMetadata = default(PropertyMetadata), string Shared = default(string), PropertyMetadata SharedMetadata = default(PropertyMetadata), SmartContractInformation SmartContractInformation = default(SmartContractInformation), string Source = default(string), string Status = default(string), PropertyMetadata StatusMetadata = default(PropertyMetadata), string TabFullyQualifiedPath = default(string), List TabGroupLabels = default(List), PropertyMetadata TabGroupLabelsMetadata = default(PropertyMetadata), string TabId = default(string), PropertyMetadata TabIdMetadata = default(PropertyMetadata), string TabLabel = default(string), PropertyMetadata TabLabelMetadata = default(PropertyMetadata), string TabOrder = default(string), PropertyMetadata TabOrderMetadata = default(PropertyMetadata), string TabType = default(string), PropertyMetadata TabTypeMetadata = default(PropertyMetadata), string TemplateLocked = default(string), PropertyMetadata TemplateLockedMetadata = default(PropertyMetadata), string TemplateRequired = default(string), PropertyMetadata TemplateRequiredMetadata = default(PropertyMetadata), string Tooltip = default(string), PropertyMetadata ToolTipMetadata = default(PropertyMetadata), string Underline = default(string), PropertyMetadata UnderlineMetadata = default(PropertyMetadata), string Value = default(string), PropertyMetadata ValueMetadata = default(PropertyMetadata), ErrorDetails WarningDetails = default(ErrorDetails), string Width = default(string), PropertyMetadata WidthMetadata = default(PropertyMetadata), string XPosition = default(string), PropertyMetadata XPositionMetadata = default(PropertyMetadata), string YPosition = default(string), PropertyMetadata YPositionMetadata = default(PropertyMetadata)) { this.AgreementAttribute = AgreementAttribute; this.AgreementAttributeLocked = AgreementAttributeLocked; @@ -151,6 +152,7 @@ public Note() this.AnchorStringMetadata = AnchorStringMetadata; this.AnchorTabProcessorVersion = AnchorTabProcessorVersion; this.AnchorTabProcessorVersionMetadata = AnchorTabProcessorVersionMetadata; + this.AnchorTabScope = AnchorTabScope; this.AnchorUnits = AnchorUnits; this.AnchorUnitsMetadata = AnchorUnitsMetadata; this.AnchorXOffset = AnchorXOffset; @@ -328,6 +330,11 @@ public Note() [DataMember(Name="anchorTabProcessorVersionMetadata", EmitDefaultValue=false)] public PropertyMetadata AnchorTabProcessorVersionMetadata { get; set; } /// + /// Gets or Sets AnchorTabScope + /// + [DataMember(Name="anchorTabScope", EmitDefaultValue=false)] + public string AnchorTabScope { get; set; } + /// /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. /// /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. @@ -827,6 +834,7 @@ public override string ToString() sb.Append(" AnchorStringMetadata: ").Append(AnchorStringMetadata).Append("\n"); sb.Append(" AnchorTabProcessorVersion: ").Append(AnchorTabProcessorVersion).Append("\n"); sb.Append(" AnchorTabProcessorVersionMetadata: ").Append(AnchorTabProcessorVersionMetadata).Append("\n"); + sb.Append(" AnchorTabScope: ").Append(AnchorTabScope).Append("\n"); sb.Append(" AnchorUnits: ").Append(AnchorUnits).Append("\n"); sb.Append(" AnchorUnitsMetadata: ").Append(AnchorUnitsMetadata).Append("\n"); sb.Append(" AnchorXOffset: ").Append(AnchorXOffset).Append("\n"); @@ -1025,6 +1033,11 @@ public bool Equals(Note other) this.AnchorTabProcessorVersionMetadata != null && this.AnchorTabProcessorVersionMetadata.Equals(other.AnchorTabProcessorVersionMetadata) ) && + ( + this.AnchorTabScope == other.AnchorTabScope || + this.AnchorTabScope != null && + this.AnchorTabScope.Equals(other.AnchorTabScope) + ) && ( this.AnchorUnits == other.AnchorUnits || this.AnchorUnits != null && @@ -1480,6 +1493,8 @@ public override int GetHashCode() hash = hash * 59 + this.AnchorTabProcessorVersion.GetHashCode(); if (this.AnchorTabProcessorVersionMetadata != null) hash = hash * 59 + this.AnchorTabProcessorVersionMetadata.GetHashCode(); + if (this.AnchorTabScope != null) + hash = hash * 59 + this.AnchorTabScope.GetHashCode(); if (this.AnchorUnits != null) hash = hash * 59 + this.AnchorUnits.GetHashCode(); if (this.AnchorUnitsMetadata != null) diff --git a/sdk/src/DocuSign.eSign/Model/Number.cs b/sdk/src/DocuSign.eSign/Model/Number.cs index c8192083d..cb12928c0 100644 --- a/sdk/src/DocuSign.eSign/Model/Number.cs +++ b/sdk/src/DocuSign.eSign/Model/Number.cs @@ -51,6 +51,7 @@ public Number() /// Metadata that indicates whether the `anchorString` property is editable.. /// AnchorTabProcessorVersion. /// Reserved for DocuSign.. + /// AnchorTabScope. /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.. /// Metadata that indicates whether the `anchorUnits` property is editable.. /// Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.. @@ -161,7 +162,7 @@ public Number() /// Metadata that indicates whether the `xPosition` property is editable.. /// This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.. /// Metadata that indicates whether the `yPosition` property is editable.. - public Number(string AgreementAttribute = default(string), string AgreementAttributeLocked = default(string), string AnchorAllowWhiteSpaceInCharacters = default(string), PropertyMetadata AnchorAllowWhiteSpaceInCharactersMetadata = default(PropertyMetadata), string AnchorCaseSensitive = default(string), PropertyMetadata AnchorCaseSensitiveMetadata = default(PropertyMetadata), string AnchorHorizontalAlignment = default(string), PropertyMetadata AnchorHorizontalAlignmentMetadata = default(PropertyMetadata), string AnchorIgnoreIfNotPresent = default(string), PropertyMetadata AnchorIgnoreIfNotPresentMetadata = default(PropertyMetadata), string AnchorMatchWholeWord = default(string), PropertyMetadata AnchorMatchWholeWordMetadata = default(PropertyMetadata), string AnchorString = default(string), PropertyMetadata AnchorStringMetadata = default(PropertyMetadata), string AnchorTabProcessorVersion = default(string), PropertyMetadata AnchorTabProcessorVersionMetadata = default(PropertyMetadata), string AnchorUnits = default(string), PropertyMetadata AnchorUnitsMetadata = default(PropertyMetadata), string AnchorXOffset = default(string), PropertyMetadata AnchorXOffsetMetadata = default(PropertyMetadata), string AnchorYOffset = default(string), PropertyMetadata AnchorYOffsetMetadata = default(PropertyMetadata), string Bold = default(string), PropertyMetadata BoldMetadata = default(PropertyMetadata), string Caption = default(string), PropertyMetadata CaptionMetadata = default(PropertyMetadata), string ConcealValueOnDocument = default(string), PropertyMetadata ConcealValueOnDocumentMetadata = default(PropertyMetadata), string ConditionalParentLabel = default(string), PropertyMetadata ConditionalParentLabelMetadata = default(PropertyMetadata), string ConditionalParentValue = default(string), PropertyMetadata ConditionalParentValueMetadata = default(PropertyMetadata), ConnectedObjectDetails ConnectedObjectDetails = default(ConnectedObjectDetails), string CustomTabId = default(string), PropertyMetadata CustomTabIdMetadata = default(PropertyMetadata), string DisableAutoSize = default(string), PropertyMetadata DisableAutoSizeMetadata = default(PropertyMetadata), string DocumentId = default(string), PropertyMetadata DocumentIdMetadata = default(PropertyMetadata), ErrorDetails ErrorDetails = default(ErrorDetails), ExtensionData ExtensionData = default(ExtensionData), string Font = default(string), string FontColor = default(string), PropertyMetadata FontColorMetadata = default(PropertyMetadata), PropertyMetadata FontMetadata = default(PropertyMetadata), string FontSize = default(string), PropertyMetadata FontSizeMetadata = default(PropertyMetadata), string FormOrder = default(string), PropertyMetadata FormOrderMetadata = default(PropertyMetadata), string FormPageLabel = default(string), PropertyMetadata FormPageLabelMetadata = default(PropertyMetadata), string FormPageNumber = default(string), PropertyMetadata FormPageNumberMetadata = default(PropertyMetadata), string Formula = default(string), PropertyMetadata FormulaMetadata = default(PropertyMetadata), string Height = default(string), PropertyMetadata HeightMetadata = default(PropertyMetadata), string IsPaymentAmount = default(string), PropertyMetadata IsPaymentAmountMetadata = default(PropertyMetadata), string Italic = default(string), PropertyMetadata ItalicMetadata = default(PropertyMetadata), LocalePolicyTab LocalePolicy = default(LocalePolicyTab), string Locked = default(string), PropertyMetadata LockedMetadata = default(PropertyMetadata), string MaxLength = default(string), PropertyMetadata MaxLengthMetadata = default(PropertyMetadata), MergeField MergeField = default(MergeField), string MergeFieldXml = default(string), string Name = default(string), PropertyMetadata NameMetadata = default(PropertyMetadata), string OriginalValue = default(string), PropertyMetadata OriginalValueMetadata = default(PropertyMetadata), string PageNumber = default(string), PropertyMetadata PageNumberMetadata = default(PropertyMetadata), string RecipientId = default(string), string RecipientIdGuid = default(string), PropertyMetadata RecipientIdGuidMetadata = default(PropertyMetadata), PropertyMetadata RecipientIdMetadata = default(PropertyMetadata), string RequireAll = default(string), PropertyMetadata RequireAllMetadata = default(PropertyMetadata), string Required = default(string), PropertyMetadata RequiredMetadata = default(PropertyMetadata), string RequireInitialOnSharedChange = default(string), PropertyMetadata RequireInitialOnSharedChangeMetadata = default(PropertyMetadata), string SenderRequired = default(string), PropertyMetadata SenderRequiredMetadata = default(PropertyMetadata), string Shared = default(string), PropertyMetadata SharedMetadata = default(PropertyMetadata), string ShareToRecipients = default(string), PropertyMetadata ShareToRecipientsMetadata = default(PropertyMetadata), SmartContractInformation SmartContractInformation = default(SmartContractInformation), string Source = default(string), string Status = default(string), PropertyMetadata StatusMetadata = default(PropertyMetadata), string TabFullyQualifiedPath = default(string), List TabGroupLabels = default(List), PropertyMetadata TabGroupLabelsMetadata = default(PropertyMetadata), string TabId = default(string), PropertyMetadata TabIdMetadata = default(PropertyMetadata), string TabLabel = default(string), PropertyMetadata TabLabelMetadata = default(PropertyMetadata), string TabOrder = default(string), PropertyMetadata TabOrderMetadata = default(PropertyMetadata), string TabType = default(string), PropertyMetadata TabTypeMetadata = default(PropertyMetadata), string TemplateLocked = default(string), PropertyMetadata TemplateLockedMetadata = default(PropertyMetadata), string TemplateRequired = default(string), PropertyMetadata TemplateRequiredMetadata = default(PropertyMetadata), string Tooltip = default(string), PropertyMetadata ToolTipMetadata = default(PropertyMetadata), string Underline = default(string), PropertyMetadata UnderlineMetadata = default(PropertyMetadata), string ValidationMessage = default(string), PropertyMetadata ValidationMessageMetadata = default(PropertyMetadata), string ValidationPattern = default(string), PropertyMetadata ValidationPatternMetadata = default(PropertyMetadata), string Value = default(string), PropertyMetadata ValueMetadata = default(PropertyMetadata), ErrorDetails WarningDetails = default(ErrorDetails), string Width = default(string), PropertyMetadata WidthMetadata = default(PropertyMetadata), string XPosition = default(string), PropertyMetadata XPositionMetadata = default(PropertyMetadata), string YPosition = default(string), PropertyMetadata YPositionMetadata = default(PropertyMetadata)) + public Number(string AgreementAttribute = default(string), string AgreementAttributeLocked = default(string), string AnchorAllowWhiteSpaceInCharacters = default(string), PropertyMetadata AnchorAllowWhiteSpaceInCharactersMetadata = default(PropertyMetadata), string AnchorCaseSensitive = default(string), PropertyMetadata AnchorCaseSensitiveMetadata = default(PropertyMetadata), string AnchorHorizontalAlignment = default(string), PropertyMetadata AnchorHorizontalAlignmentMetadata = default(PropertyMetadata), string AnchorIgnoreIfNotPresent = default(string), PropertyMetadata AnchorIgnoreIfNotPresentMetadata = default(PropertyMetadata), string AnchorMatchWholeWord = default(string), PropertyMetadata AnchorMatchWholeWordMetadata = default(PropertyMetadata), string AnchorString = default(string), PropertyMetadata AnchorStringMetadata = default(PropertyMetadata), string AnchorTabProcessorVersion = default(string), PropertyMetadata AnchorTabProcessorVersionMetadata = default(PropertyMetadata), string AnchorTabScope = default(string), string AnchorUnits = default(string), PropertyMetadata AnchorUnitsMetadata = default(PropertyMetadata), string AnchorXOffset = default(string), PropertyMetadata AnchorXOffsetMetadata = default(PropertyMetadata), string AnchorYOffset = default(string), PropertyMetadata AnchorYOffsetMetadata = default(PropertyMetadata), string Bold = default(string), PropertyMetadata BoldMetadata = default(PropertyMetadata), string Caption = default(string), PropertyMetadata CaptionMetadata = default(PropertyMetadata), string ConcealValueOnDocument = default(string), PropertyMetadata ConcealValueOnDocumentMetadata = default(PropertyMetadata), string ConditionalParentLabel = default(string), PropertyMetadata ConditionalParentLabelMetadata = default(PropertyMetadata), string ConditionalParentValue = default(string), PropertyMetadata ConditionalParentValueMetadata = default(PropertyMetadata), ConnectedObjectDetails ConnectedObjectDetails = default(ConnectedObjectDetails), string CustomTabId = default(string), PropertyMetadata CustomTabIdMetadata = default(PropertyMetadata), string DisableAutoSize = default(string), PropertyMetadata DisableAutoSizeMetadata = default(PropertyMetadata), string DocumentId = default(string), PropertyMetadata DocumentIdMetadata = default(PropertyMetadata), ErrorDetails ErrorDetails = default(ErrorDetails), ExtensionData ExtensionData = default(ExtensionData), string Font = default(string), string FontColor = default(string), PropertyMetadata FontColorMetadata = default(PropertyMetadata), PropertyMetadata FontMetadata = default(PropertyMetadata), string FontSize = default(string), PropertyMetadata FontSizeMetadata = default(PropertyMetadata), string FormOrder = default(string), PropertyMetadata FormOrderMetadata = default(PropertyMetadata), string FormPageLabel = default(string), PropertyMetadata FormPageLabelMetadata = default(PropertyMetadata), string FormPageNumber = default(string), PropertyMetadata FormPageNumberMetadata = default(PropertyMetadata), string Formula = default(string), PropertyMetadata FormulaMetadata = default(PropertyMetadata), string Height = default(string), PropertyMetadata HeightMetadata = default(PropertyMetadata), string IsPaymentAmount = default(string), PropertyMetadata IsPaymentAmountMetadata = default(PropertyMetadata), string Italic = default(string), PropertyMetadata ItalicMetadata = default(PropertyMetadata), LocalePolicyTab LocalePolicy = default(LocalePolicyTab), string Locked = default(string), PropertyMetadata LockedMetadata = default(PropertyMetadata), string MaxLength = default(string), PropertyMetadata MaxLengthMetadata = default(PropertyMetadata), MergeField MergeField = default(MergeField), string MergeFieldXml = default(string), string Name = default(string), PropertyMetadata NameMetadata = default(PropertyMetadata), string OriginalValue = default(string), PropertyMetadata OriginalValueMetadata = default(PropertyMetadata), string PageNumber = default(string), PropertyMetadata PageNumberMetadata = default(PropertyMetadata), string RecipientId = default(string), string RecipientIdGuid = default(string), PropertyMetadata RecipientIdGuidMetadata = default(PropertyMetadata), PropertyMetadata RecipientIdMetadata = default(PropertyMetadata), string RequireAll = default(string), PropertyMetadata RequireAllMetadata = default(PropertyMetadata), string Required = default(string), PropertyMetadata RequiredMetadata = default(PropertyMetadata), string RequireInitialOnSharedChange = default(string), PropertyMetadata RequireInitialOnSharedChangeMetadata = default(PropertyMetadata), string SenderRequired = default(string), PropertyMetadata SenderRequiredMetadata = default(PropertyMetadata), string Shared = default(string), PropertyMetadata SharedMetadata = default(PropertyMetadata), string ShareToRecipients = default(string), PropertyMetadata ShareToRecipientsMetadata = default(PropertyMetadata), SmartContractInformation SmartContractInformation = default(SmartContractInformation), string Source = default(string), string Status = default(string), PropertyMetadata StatusMetadata = default(PropertyMetadata), string TabFullyQualifiedPath = default(string), List TabGroupLabels = default(List), PropertyMetadata TabGroupLabelsMetadata = default(PropertyMetadata), string TabId = default(string), PropertyMetadata TabIdMetadata = default(PropertyMetadata), string TabLabel = default(string), PropertyMetadata TabLabelMetadata = default(PropertyMetadata), string TabOrder = default(string), PropertyMetadata TabOrderMetadata = default(PropertyMetadata), string TabType = default(string), PropertyMetadata TabTypeMetadata = default(PropertyMetadata), string TemplateLocked = default(string), PropertyMetadata TemplateLockedMetadata = default(PropertyMetadata), string TemplateRequired = default(string), PropertyMetadata TemplateRequiredMetadata = default(PropertyMetadata), string Tooltip = default(string), PropertyMetadata ToolTipMetadata = default(PropertyMetadata), string Underline = default(string), PropertyMetadata UnderlineMetadata = default(PropertyMetadata), string ValidationMessage = default(string), PropertyMetadata ValidationMessageMetadata = default(PropertyMetadata), string ValidationPattern = default(string), PropertyMetadata ValidationPatternMetadata = default(PropertyMetadata), string Value = default(string), PropertyMetadata ValueMetadata = default(PropertyMetadata), ErrorDetails WarningDetails = default(ErrorDetails), string Width = default(string), PropertyMetadata WidthMetadata = default(PropertyMetadata), string XPosition = default(string), PropertyMetadata XPositionMetadata = default(PropertyMetadata), string YPosition = default(string), PropertyMetadata YPositionMetadata = default(PropertyMetadata)) { this.AgreementAttribute = AgreementAttribute; this.AgreementAttributeLocked = AgreementAttributeLocked; @@ -179,6 +180,7 @@ public Number() this.AnchorStringMetadata = AnchorStringMetadata; this.AnchorTabProcessorVersion = AnchorTabProcessorVersion; this.AnchorTabProcessorVersionMetadata = AnchorTabProcessorVersionMetadata; + this.AnchorTabScope = AnchorTabScope; this.AnchorUnits = AnchorUnits; this.AnchorUnitsMetadata = AnchorUnitsMetadata; this.AnchorXOffset = AnchorXOffset; @@ -384,6 +386,11 @@ public Number() [DataMember(Name="anchorTabProcessorVersionMetadata", EmitDefaultValue=false)] public PropertyMetadata AnchorTabProcessorVersionMetadata { get; set; } /// + /// Gets or Sets AnchorTabScope + /// + [DataMember(Name="anchorTabScope", EmitDefaultValue=false)] + public string AnchorTabScope { get; set; } + /// /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. /// /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. @@ -1050,6 +1057,7 @@ public override string ToString() sb.Append(" AnchorStringMetadata: ").Append(AnchorStringMetadata).Append("\n"); sb.Append(" AnchorTabProcessorVersion: ").Append(AnchorTabProcessorVersion).Append("\n"); sb.Append(" AnchorTabProcessorVersionMetadata: ").Append(AnchorTabProcessorVersionMetadata).Append("\n"); + sb.Append(" AnchorTabScope: ").Append(AnchorTabScope).Append("\n"); sb.Append(" AnchorUnits: ").Append(AnchorUnits).Append("\n"); sb.Append(" AnchorUnitsMetadata: ").Append(AnchorUnitsMetadata).Append("\n"); sb.Append(" AnchorXOffset: ").Append(AnchorXOffset).Append("\n"); @@ -1276,6 +1284,11 @@ public bool Equals(Number other) this.AnchorTabProcessorVersionMetadata != null && this.AnchorTabProcessorVersionMetadata.Equals(other.AnchorTabProcessorVersionMetadata) ) && + ( + this.AnchorTabScope == other.AnchorTabScope || + this.AnchorTabScope != null && + this.AnchorTabScope.Equals(other.AnchorTabScope) + ) && ( this.AnchorUnits == other.AnchorUnits || this.AnchorUnits != null && @@ -1871,6 +1884,8 @@ public override int GetHashCode() hash = hash * 59 + this.AnchorTabProcessorVersion.GetHashCode(); if (this.AnchorTabProcessorVersionMetadata != null) hash = hash * 59 + this.AnchorTabProcessorVersionMetadata.GetHashCode(); + if (this.AnchorTabScope != null) + hash = hash * 59 + this.AnchorTabScope.GetHashCode(); if (this.AnchorUnits != null) hash = hash * 59 + this.AnchorUnits.GetHashCode(); if (this.AnchorUnitsMetadata != null) diff --git a/sdk/src/DocuSign.eSign/Model/Numerical.cs b/sdk/src/DocuSign.eSign/Model/Numerical.cs index fe8dd129b..c67107431 100644 --- a/sdk/src/DocuSign.eSign/Model/Numerical.cs +++ b/sdk/src/DocuSign.eSign/Model/Numerical.cs @@ -51,6 +51,7 @@ public Numerical() /// AnchorStringMetadata. /// AnchorTabProcessorVersion. /// AnchorTabProcessorVersionMetadata. + /// AnchorTabScope. /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.. /// AnchorUnitsMetadata. /// Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.. @@ -158,7 +159,7 @@ public Numerical() /// XPositionMetadata. /// This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.. /// YPositionMetadata. - public Numerical(string AgreementAttribute = default(string), string AgreementAttributeLocked = default(string), string AnchorAllowWhiteSpaceInCharacters = default(string), PropertyMetadata AnchorAllowWhiteSpaceInCharactersMetadata = default(PropertyMetadata), string AnchorCaseSensitive = default(string), PropertyMetadata AnchorCaseSensitiveMetadata = default(PropertyMetadata), string AnchorHorizontalAlignment = default(string), PropertyMetadata AnchorHorizontalAlignmentMetadata = default(PropertyMetadata), string AnchorIgnoreIfNotPresent = default(string), PropertyMetadata AnchorIgnoreIfNotPresentMetadata = default(PropertyMetadata), string AnchorMatchWholeWord = default(string), PropertyMetadata AnchorMatchWholeWordMetadata = default(PropertyMetadata), string AnchorString = default(string), PropertyMetadata AnchorStringMetadata = default(PropertyMetadata), string AnchorTabProcessorVersion = default(string), PropertyMetadata AnchorTabProcessorVersionMetadata = default(PropertyMetadata), string AnchorUnits = default(string), PropertyMetadata AnchorUnitsMetadata = default(PropertyMetadata), string AnchorXOffset = default(string), PropertyMetadata AnchorXOffsetMetadata = default(PropertyMetadata), string AnchorYOffset = default(string), PropertyMetadata AnchorYOffsetMetadata = default(PropertyMetadata), string Bold = default(string), PropertyMetadata BoldMetadata = default(PropertyMetadata), string Caption = default(string), PropertyMetadata CaptionMetadata = default(PropertyMetadata), string ConcealValueOnDocument = default(string), PropertyMetadata ConcealValueOnDocumentMetadata = default(PropertyMetadata), string ConditionalParentLabel = default(string), PropertyMetadata ConditionalParentLabelMetadata = default(PropertyMetadata), string ConditionalParentValue = default(string), PropertyMetadata ConditionalParentValueMetadata = default(PropertyMetadata), ConnectedObjectDetails ConnectedObjectDetails = default(ConnectedObjectDetails), string CustomTabId = default(string), PropertyMetadata CustomTabIdMetadata = default(PropertyMetadata), string DisableAutoSize = default(string), PropertyMetadata DisableAutoSizeMetadata = default(PropertyMetadata), string DocumentId = default(string), PropertyMetadata DocumentIdMetadata = default(PropertyMetadata), ErrorDetails ErrorDetails = default(ErrorDetails), ExtensionData ExtensionData = default(ExtensionData), string Font = default(string), string FontColor = default(string), PropertyMetadata FontColorMetadata = default(PropertyMetadata), PropertyMetadata FontMetadata = default(PropertyMetadata), string FontSize = default(string), PropertyMetadata FontSizeMetadata = default(PropertyMetadata), string FormOrder = default(string), PropertyMetadata FormOrderMetadata = default(PropertyMetadata), string FormPageLabel = default(string), PropertyMetadata FormPageLabelMetadata = default(PropertyMetadata), string FormPageNumber = default(string), PropertyMetadata FormPageNumberMetadata = default(PropertyMetadata), string Height = default(string), PropertyMetadata HeightMetadata = default(PropertyMetadata), string Italic = default(string), PropertyMetadata ItalicMetadata = default(PropertyMetadata), LocalePolicyTab LocalePolicy = default(LocalePolicyTab), string Locked = default(string), PropertyMetadata LockedMetadata = default(PropertyMetadata), string MaxLength = default(string), PropertyMetadata MaxLengthMetadata = default(PropertyMetadata), string MaxNumericalValue = default(string), MergeField MergeField = default(MergeField), string MergeFieldXml = default(string), string MinNumericalValue = default(string), string Name = default(string), PropertyMetadata NameMetadata = default(PropertyMetadata), string NumericalValue = default(string), string OriginalNumericalValue = default(string), string OriginalValue = default(string), PropertyMetadata OriginalValueMetadata = default(PropertyMetadata), string PageNumber = default(string), PropertyMetadata PageNumberMetadata = default(PropertyMetadata), string RecipientId = default(string), string RecipientIdGuid = default(string), PropertyMetadata RecipientIdGuidMetadata = default(PropertyMetadata), PropertyMetadata RecipientIdMetadata = default(PropertyMetadata), string RequireAll = default(string), PropertyMetadata RequireAllMetadata = default(PropertyMetadata), string Required = default(string), PropertyMetadata RequiredMetadata = default(PropertyMetadata), string RequireInitialOnSharedChange = default(string), PropertyMetadata RequireInitialOnSharedChangeMetadata = default(PropertyMetadata), string SenderRequired = default(string), PropertyMetadata SenderRequiredMetadata = default(PropertyMetadata), string Shared = default(string), PropertyMetadata SharedMetadata = default(PropertyMetadata), string ShareToRecipients = default(string), PropertyMetadata ShareToRecipientsMetadata = default(PropertyMetadata), SmartContractInformation SmartContractInformation = default(SmartContractInformation), string Source = default(string), string Status = default(string), PropertyMetadata StatusMetadata = default(PropertyMetadata), string TabFullyQualifiedPath = default(string), List TabGroupLabels = default(List), PropertyMetadata TabGroupLabelsMetadata = default(PropertyMetadata), string TabId = default(string), PropertyMetadata TabIdMetadata = default(PropertyMetadata), string TabLabel = default(string), PropertyMetadata TabLabelMetadata = default(PropertyMetadata), string TabOrder = default(string), PropertyMetadata TabOrderMetadata = default(PropertyMetadata), string TabType = default(string), PropertyMetadata TabTypeMetadata = default(PropertyMetadata), string TemplateLocked = default(string), PropertyMetadata TemplateLockedMetadata = default(PropertyMetadata), string TemplateRequired = default(string), PropertyMetadata TemplateRequiredMetadata = default(PropertyMetadata), string Tooltip = default(string), PropertyMetadata ToolTipMetadata = default(PropertyMetadata), string Underline = default(string), PropertyMetadata UnderlineMetadata = default(PropertyMetadata), string ValidationType = default(string), string Value = default(string), PropertyMetadata ValueMetadata = default(PropertyMetadata), ErrorDetails WarningDetails = default(ErrorDetails), string Width = default(string), PropertyMetadata WidthMetadata = default(PropertyMetadata), string XPosition = default(string), PropertyMetadata XPositionMetadata = default(PropertyMetadata), string YPosition = default(string), PropertyMetadata YPositionMetadata = default(PropertyMetadata)) + public Numerical(string AgreementAttribute = default(string), string AgreementAttributeLocked = default(string), string AnchorAllowWhiteSpaceInCharacters = default(string), PropertyMetadata AnchorAllowWhiteSpaceInCharactersMetadata = default(PropertyMetadata), string AnchorCaseSensitive = default(string), PropertyMetadata AnchorCaseSensitiveMetadata = default(PropertyMetadata), string AnchorHorizontalAlignment = default(string), PropertyMetadata AnchorHorizontalAlignmentMetadata = default(PropertyMetadata), string AnchorIgnoreIfNotPresent = default(string), PropertyMetadata AnchorIgnoreIfNotPresentMetadata = default(PropertyMetadata), string AnchorMatchWholeWord = default(string), PropertyMetadata AnchorMatchWholeWordMetadata = default(PropertyMetadata), string AnchorString = default(string), PropertyMetadata AnchorStringMetadata = default(PropertyMetadata), string AnchorTabProcessorVersion = default(string), PropertyMetadata AnchorTabProcessorVersionMetadata = default(PropertyMetadata), string AnchorTabScope = default(string), string AnchorUnits = default(string), PropertyMetadata AnchorUnitsMetadata = default(PropertyMetadata), string AnchorXOffset = default(string), PropertyMetadata AnchorXOffsetMetadata = default(PropertyMetadata), string AnchorYOffset = default(string), PropertyMetadata AnchorYOffsetMetadata = default(PropertyMetadata), string Bold = default(string), PropertyMetadata BoldMetadata = default(PropertyMetadata), string Caption = default(string), PropertyMetadata CaptionMetadata = default(PropertyMetadata), string ConcealValueOnDocument = default(string), PropertyMetadata ConcealValueOnDocumentMetadata = default(PropertyMetadata), string ConditionalParentLabel = default(string), PropertyMetadata ConditionalParentLabelMetadata = default(PropertyMetadata), string ConditionalParentValue = default(string), PropertyMetadata ConditionalParentValueMetadata = default(PropertyMetadata), ConnectedObjectDetails ConnectedObjectDetails = default(ConnectedObjectDetails), string CustomTabId = default(string), PropertyMetadata CustomTabIdMetadata = default(PropertyMetadata), string DisableAutoSize = default(string), PropertyMetadata DisableAutoSizeMetadata = default(PropertyMetadata), string DocumentId = default(string), PropertyMetadata DocumentIdMetadata = default(PropertyMetadata), ErrorDetails ErrorDetails = default(ErrorDetails), ExtensionData ExtensionData = default(ExtensionData), string Font = default(string), string FontColor = default(string), PropertyMetadata FontColorMetadata = default(PropertyMetadata), PropertyMetadata FontMetadata = default(PropertyMetadata), string FontSize = default(string), PropertyMetadata FontSizeMetadata = default(PropertyMetadata), string FormOrder = default(string), PropertyMetadata FormOrderMetadata = default(PropertyMetadata), string FormPageLabel = default(string), PropertyMetadata FormPageLabelMetadata = default(PropertyMetadata), string FormPageNumber = default(string), PropertyMetadata FormPageNumberMetadata = default(PropertyMetadata), string Height = default(string), PropertyMetadata HeightMetadata = default(PropertyMetadata), string Italic = default(string), PropertyMetadata ItalicMetadata = default(PropertyMetadata), LocalePolicyTab LocalePolicy = default(LocalePolicyTab), string Locked = default(string), PropertyMetadata LockedMetadata = default(PropertyMetadata), string MaxLength = default(string), PropertyMetadata MaxLengthMetadata = default(PropertyMetadata), string MaxNumericalValue = default(string), MergeField MergeField = default(MergeField), string MergeFieldXml = default(string), string MinNumericalValue = default(string), string Name = default(string), PropertyMetadata NameMetadata = default(PropertyMetadata), string NumericalValue = default(string), string OriginalNumericalValue = default(string), string OriginalValue = default(string), PropertyMetadata OriginalValueMetadata = default(PropertyMetadata), string PageNumber = default(string), PropertyMetadata PageNumberMetadata = default(PropertyMetadata), string RecipientId = default(string), string RecipientIdGuid = default(string), PropertyMetadata RecipientIdGuidMetadata = default(PropertyMetadata), PropertyMetadata RecipientIdMetadata = default(PropertyMetadata), string RequireAll = default(string), PropertyMetadata RequireAllMetadata = default(PropertyMetadata), string Required = default(string), PropertyMetadata RequiredMetadata = default(PropertyMetadata), string RequireInitialOnSharedChange = default(string), PropertyMetadata RequireInitialOnSharedChangeMetadata = default(PropertyMetadata), string SenderRequired = default(string), PropertyMetadata SenderRequiredMetadata = default(PropertyMetadata), string Shared = default(string), PropertyMetadata SharedMetadata = default(PropertyMetadata), string ShareToRecipients = default(string), PropertyMetadata ShareToRecipientsMetadata = default(PropertyMetadata), SmartContractInformation SmartContractInformation = default(SmartContractInformation), string Source = default(string), string Status = default(string), PropertyMetadata StatusMetadata = default(PropertyMetadata), string TabFullyQualifiedPath = default(string), List TabGroupLabels = default(List), PropertyMetadata TabGroupLabelsMetadata = default(PropertyMetadata), string TabId = default(string), PropertyMetadata TabIdMetadata = default(PropertyMetadata), string TabLabel = default(string), PropertyMetadata TabLabelMetadata = default(PropertyMetadata), string TabOrder = default(string), PropertyMetadata TabOrderMetadata = default(PropertyMetadata), string TabType = default(string), PropertyMetadata TabTypeMetadata = default(PropertyMetadata), string TemplateLocked = default(string), PropertyMetadata TemplateLockedMetadata = default(PropertyMetadata), string TemplateRequired = default(string), PropertyMetadata TemplateRequiredMetadata = default(PropertyMetadata), string Tooltip = default(string), PropertyMetadata ToolTipMetadata = default(PropertyMetadata), string Underline = default(string), PropertyMetadata UnderlineMetadata = default(PropertyMetadata), string ValidationType = default(string), string Value = default(string), PropertyMetadata ValueMetadata = default(PropertyMetadata), ErrorDetails WarningDetails = default(ErrorDetails), string Width = default(string), PropertyMetadata WidthMetadata = default(PropertyMetadata), string XPosition = default(string), PropertyMetadata XPositionMetadata = default(PropertyMetadata), string YPosition = default(string), PropertyMetadata YPositionMetadata = default(PropertyMetadata)) { this.AgreementAttribute = AgreementAttribute; this.AgreementAttributeLocked = AgreementAttributeLocked; @@ -176,6 +177,7 @@ public Numerical() this.AnchorStringMetadata = AnchorStringMetadata; this.AnchorTabProcessorVersion = AnchorTabProcessorVersion; this.AnchorTabProcessorVersionMetadata = AnchorTabProcessorVersionMetadata; + this.AnchorTabScope = AnchorTabScope; this.AnchorUnits = AnchorUnits; this.AnchorUnitsMetadata = AnchorUnitsMetadata; this.AnchorXOffset = AnchorXOffset; @@ -371,6 +373,11 @@ public Numerical() [DataMember(Name="anchorTabProcessorVersionMetadata", EmitDefaultValue=false)] public PropertyMetadata AnchorTabProcessorVersionMetadata { get; set; } /// + /// Gets or Sets AnchorTabScope + /// + [DataMember(Name="anchorTabScope", EmitDefaultValue=false)] + public string AnchorTabScope { get; set; } + /// /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. /// /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. @@ -965,6 +972,7 @@ public override string ToString() sb.Append(" AnchorStringMetadata: ").Append(AnchorStringMetadata).Append("\n"); sb.Append(" AnchorTabProcessorVersion: ").Append(AnchorTabProcessorVersion).Append("\n"); sb.Append(" AnchorTabProcessorVersionMetadata: ").Append(AnchorTabProcessorVersionMetadata).Append("\n"); + sb.Append(" AnchorTabScope: ").Append(AnchorTabScope).Append("\n"); sb.Append(" AnchorUnits: ").Append(AnchorUnits).Append("\n"); sb.Append(" AnchorUnitsMetadata: ").Append(AnchorUnitsMetadata).Append("\n"); sb.Append(" AnchorXOffset: ").Append(AnchorXOffset).Append("\n"); @@ -1188,6 +1196,11 @@ public bool Equals(Numerical other) this.AnchorTabProcessorVersionMetadata != null && this.AnchorTabProcessorVersionMetadata.Equals(other.AnchorTabProcessorVersionMetadata) ) && + ( + this.AnchorTabScope == other.AnchorTabScope || + this.AnchorTabScope != null && + this.AnchorTabScope.Equals(other.AnchorTabScope) + ) && ( this.AnchorUnits == other.AnchorUnits || this.AnchorUnits != null && @@ -1768,6 +1781,8 @@ public override int GetHashCode() hash = hash * 59 + this.AnchorTabProcessorVersion.GetHashCode(); if (this.AnchorTabProcessorVersionMetadata != null) hash = hash * 59 + this.AnchorTabProcessorVersionMetadata.GetHashCode(); + if (this.AnchorTabScope != null) + hash = hash * 59 + this.AnchorTabScope.GetHashCode(); if (this.AnchorUnits != null) hash = hash * 59 + this.AnchorUnits.GetHashCode(); if (this.AnchorUnitsMetadata != null) diff --git a/sdk/src/DocuSign.eSign/Model/PhoneNumber.cs b/sdk/src/DocuSign.eSign/Model/PhoneNumber.cs index d9d34312c..5553040a2 100644 --- a/sdk/src/DocuSign.eSign/Model/PhoneNumber.cs +++ b/sdk/src/DocuSign.eSign/Model/PhoneNumber.cs @@ -51,6 +51,7 @@ public PhoneNumber() /// Metadata that indicates whether the `anchorString` property is editable.. /// AnchorTabProcessorVersion. /// Reserved for DocuSign.. + /// AnchorTabScope. /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.. /// Metadata that indicates whether the `anchorUnits` property is editable.. /// Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.. @@ -143,7 +144,7 @@ public PhoneNumber() /// Metadata that indicates whether the `xPosition` property is editable.. /// This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.. /// Metadata that indicates whether the `yPosition` property is editable.. - public PhoneNumber(string AgreementAttribute = default(string), string AgreementAttributeLocked = default(string), string AnchorAllowWhiteSpaceInCharacters = default(string), PropertyMetadata AnchorAllowWhiteSpaceInCharactersMetadata = default(PropertyMetadata), string AnchorCaseSensitive = default(string), PropertyMetadata AnchorCaseSensitiveMetadata = default(PropertyMetadata), string AnchorHorizontalAlignment = default(string), PropertyMetadata AnchorHorizontalAlignmentMetadata = default(PropertyMetadata), string AnchorIgnoreIfNotPresent = default(string), PropertyMetadata AnchorIgnoreIfNotPresentMetadata = default(PropertyMetadata), string AnchorMatchWholeWord = default(string), PropertyMetadata AnchorMatchWholeWordMetadata = default(PropertyMetadata), string AnchorString = default(string), PropertyMetadata AnchorStringMetadata = default(PropertyMetadata), string AnchorTabProcessorVersion = default(string), PropertyMetadata AnchorTabProcessorVersionMetadata = default(PropertyMetadata), string AnchorUnits = default(string), PropertyMetadata AnchorUnitsMetadata = default(PropertyMetadata), string AnchorXOffset = default(string), PropertyMetadata AnchorXOffsetMetadata = default(PropertyMetadata), string AnchorYOffset = default(string), PropertyMetadata AnchorYOffsetMetadata = default(PropertyMetadata), string Bold = default(string), PropertyMetadata BoldMetadata = default(PropertyMetadata), string Caption = default(string), PropertyMetadata CaptionMetadata = default(PropertyMetadata), string ConcealValueOnDocument = default(string), PropertyMetadata ConcealValueOnDocumentMetadata = default(PropertyMetadata), string ConditionalParentLabel = default(string), PropertyMetadata ConditionalParentLabelMetadata = default(PropertyMetadata), string ConditionalParentValue = default(string), PropertyMetadata ConditionalParentValueMetadata = default(PropertyMetadata), ConnectedObjectDetails ConnectedObjectDetails = default(ConnectedObjectDetails), string CustomTabId = default(string), PropertyMetadata CustomTabIdMetadata = default(PropertyMetadata), string DisableAutoSize = default(string), PropertyMetadata DisableAutoSizeMetadata = default(PropertyMetadata), string DocumentId = default(string), PropertyMetadata DocumentIdMetadata = default(PropertyMetadata), ErrorDetails ErrorDetails = default(ErrorDetails), ExtensionData ExtensionData = default(ExtensionData), string Font = default(string), string FontColor = default(string), PropertyMetadata FontColorMetadata = default(PropertyMetadata), PropertyMetadata FontMetadata = default(PropertyMetadata), string FontSize = default(string), PropertyMetadata FontSizeMetadata = default(PropertyMetadata), string FormOrder = default(string), PropertyMetadata FormOrderMetadata = default(PropertyMetadata), string FormPageLabel = default(string), PropertyMetadata FormPageLabelMetadata = default(PropertyMetadata), string FormPageNumber = default(string), PropertyMetadata FormPageNumberMetadata = default(PropertyMetadata), string Height = default(string), PropertyMetadata HeightMetadata = default(PropertyMetadata), string Italic = default(string), PropertyMetadata ItalicMetadata = default(PropertyMetadata), LocalePolicyTab LocalePolicy = default(LocalePolicyTab), string Locked = default(string), PropertyMetadata LockedMetadata = default(PropertyMetadata), string MaxLength = default(string), PropertyMetadata MaxLengthMetadata = default(PropertyMetadata), MergeField MergeField = default(MergeField), string MergeFieldXml = default(string), string Name = default(string), PropertyMetadata NameMetadata = default(PropertyMetadata), string OriginalValue = default(string), PropertyMetadata OriginalValueMetadata = default(PropertyMetadata), string PageNumber = default(string), PropertyMetadata PageNumberMetadata = default(PropertyMetadata), string RecipientId = default(string), string RecipientIdGuid = default(string), PropertyMetadata RecipientIdGuidMetadata = default(PropertyMetadata), PropertyMetadata RecipientIdMetadata = default(PropertyMetadata), string Required = default(string), PropertyMetadata RequiredMetadata = default(PropertyMetadata), SmartContractInformation SmartContractInformation = default(SmartContractInformation), string Source = default(string), string Status = default(string), PropertyMetadata StatusMetadata = default(PropertyMetadata), string TabFullyQualifiedPath = default(string), List TabGroupLabels = default(List), PropertyMetadata TabGroupLabelsMetadata = default(PropertyMetadata), string TabId = default(string), PropertyMetadata TabIdMetadata = default(PropertyMetadata), string TabLabel = default(string), PropertyMetadata TabLabelMetadata = default(PropertyMetadata), string TabOrder = default(string), PropertyMetadata TabOrderMetadata = default(PropertyMetadata), string TabType = default(string), PropertyMetadata TabTypeMetadata = default(PropertyMetadata), string TemplateLocked = default(string), PropertyMetadata TemplateLockedMetadata = default(PropertyMetadata), string TemplateRequired = default(string), PropertyMetadata TemplateRequiredMetadata = default(PropertyMetadata), string Tooltip = default(string), PropertyMetadata ToolTipMetadata = default(PropertyMetadata), string Underline = default(string), PropertyMetadata UnderlineMetadata = default(PropertyMetadata), string Value = default(string), PropertyMetadata ValueMetadata = default(PropertyMetadata), ErrorDetails WarningDetails = default(ErrorDetails), string Width = default(string), PropertyMetadata WidthMetadata = default(PropertyMetadata), string XPosition = default(string), PropertyMetadata XPositionMetadata = default(PropertyMetadata), string YPosition = default(string), PropertyMetadata YPositionMetadata = default(PropertyMetadata)) + public PhoneNumber(string AgreementAttribute = default(string), string AgreementAttributeLocked = default(string), string AnchorAllowWhiteSpaceInCharacters = default(string), PropertyMetadata AnchorAllowWhiteSpaceInCharactersMetadata = default(PropertyMetadata), string AnchorCaseSensitive = default(string), PropertyMetadata AnchorCaseSensitiveMetadata = default(PropertyMetadata), string AnchorHorizontalAlignment = default(string), PropertyMetadata AnchorHorizontalAlignmentMetadata = default(PropertyMetadata), string AnchorIgnoreIfNotPresent = default(string), PropertyMetadata AnchorIgnoreIfNotPresentMetadata = default(PropertyMetadata), string AnchorMatchWholeWord = default(string), PropertyMetadata AnchorMatchWholeWordMetadata = default(PropertyMetadata), string AnchorString = default(string), PropertyMetadata AnchorStringMetadata = default(PropertyMetadata), string AnchorTabProcessorVersion = default(string), PropertyMetadata AnchorTabProcessorVersionMetadata = default(PropertyMetadata), string AnchorTabScope = default(string), string AnchorUnits = default(string), PropertyMetadata AnchorUnitsMetadata = default(PropertyMetadata), string AnchorXOffset = default(string), PropertyMetadata AnchorXOffsetMetadata = default(PropertyMetadata), string AnchorYOffset = default(string), PropertyMetadata AnchorYOffsetMetadata = default(PropertyMetadata), string Bold = default(string), PropertyMetadata BoldMetadata = default(PropertyMetadata), string Caption = default(string), PropertyMetadata CaptionMetadata = default(PropertyMetadata), string ConcealValueOnDocument = default(string), PropertyMetadata ConcealValueOnDocumentMetadata = default(PropertyMetadata), string ConditionalParentLabel = default(string), PropertyMetadata ConditionalParentLabelMetadata = default(PropertyMetadata), string ConditionalParentValue = default(string), PropertyMetadata ConditionalParentValueMetadata = default(PropertyMetadata), ConnectedObjectDetails ConnectedObjectDetails = default(ConnectedObjectDetails), string CustomTabId = default(string), PropertyMetadata CustomTabIdMetadata = default(PropertyMetadata), string DisableAutoSize = default(string), PropertyMetadata DisableAutoSizeMetadata = default(PropertyMetadata), string DocumentId = default(string), PropertyMetadata DocumentIdMetadata = default(PropertyMetadata), ErrorDetails ErrorDetails = default(ErrorDetails), ExtensionData ExtensionData = default(ExtensionData), string Font = default(string), string FontColor = default(string), PropertyMetadata FontColorMetadata = default(PropertyMetadata), PropertyMetadata FontMetadata = default(PropertyMetadata), string FontSize = default(string), PropertyMetadata FontSizeMetadata = default(PropertyMetadata), string FormOrder = default(string), PropertyMetadata FormOrderMetadata = default(PropertyMetadata), string FormPageLabel = default(string), PropertyMetadata FormPageLabelMetadata = default(PropertyMetadata), string FormPageNumber = default(string), PropertyMetadata FormPageNumberMetadata = default(PropertyMetadata), string Height = default(string), PropertyMetadata HeightMetadata = default(PropertyMetadata), string Italic = default(string), PropertyMetadata ItalicMetadata = default(PropertyMetadata), LocalePolicyTab LocalePolicy = default(LocalePolicyTab), string Locked = default(string), PropertyMetadata LockedMetadata = default(PropertyMetadata), string MaxLength = default(string), PropertyMetadata MaxLengthMetadata = default(PropertyMetadata), MergeField MergeField = default(MergeField), string MergeFieldXml = default(string), string Name = default(string), PropertyMetadata NameMetadata = default(PropertyMetadata), string OriginalValue = default(string), PropertyMetadata OriginalValueMetadata = default(PropertyMetadata), string PageNumber = default(string), PropertyMetadata PageNumberMetadata = default(PropertyMetadata), string RecipientId = default(string), string RecipientIdGuid = default(string), PropertyMetadata RecipientIdGuidMetadata = default(PropertyMetadata), PropertyMetadata RecipientIdMetadata = default(PropertyMetadata), string Required = default(string), PropertyMetadata RequiredMetadata = default(PropertyMetadata), SmartContractInformation SmartContractInformation = default(SmartContractInformation), string Source = default(string), string Status = default(string), PropertyMetadata StatusMetadata = default(PropertyMetadata), string TabFullyQualifiedPath = default(string), List TabGroupLabels = default(List), PropertyMetadata TabGroupLabelsMetadata = default(PropertyMetadata), string TabId = default(string), PropertyMetadata TabIdMetadata = default(PropertyMetadata), string TabLabel = default(string), PropertyMetadata TabLabelMetadata = default(PropertyMetadata), string TabOrder = default(string), PropertyMetadata TabOrderMetadata = default(PropertyMetadata), string TabType = default(string), PropertyMetadata TabTypeMetadata = default(PropertyMetadata), string TemplateLocked = default(string), PropertyMetadata TemplateLockedMetadata = default(PropertyMetadata), string TemplateRequired = default(string), PropertyMetadata TemplateRequiredMetadata = default(PropertyMetadata), string Tooltip = default(string), PropertyMetadata ToolTipMetadata = default(PropertyMetadata), string Underline = default(string), PropertyMetadata UnderlineMetadata = default(PropertyMetadata), string Value = default(string), PropertyMetadata ValueMetadata = default(PropertyMetadata), ErrorDetails WarningDetails = default(ErrorDetails), string Width = default(string), PropertyMetadata WidthMetadata = default(PropertyMetadata), string XPosition = default(string), PropertyMetadata XPositionMetadata = default(PropertyMetadata), string YPosition = default(string), PropertyMetadata YPositionMetadata = default(PropertyMetadata)) { this.AgreementAttribute = AgreementAttribute; this.AgreementAttributeLocked = AgreementAttributeLocked; @@ -161,6 +162,7 @@ public PhoneNumber() this.AnchorStringMetadata = AnchorStringMetadata; this.AnchorTabProcessorVersion = AnchorTabProcessorVersion; this.AnchorTabProcessorVersionMetadata = AnchorTabProcessorVersionMetadata; + this.AnchorTabScope = AnchorTabScope; this.AnchorUnits = AnchorUnits; this.AnchorUnitsMetadata = AnchorUnitsMetadata; this.AnchorXOffset = AnchorXOffset; @@ -348,6 +350,11 @@ public PhoneNumber() [DataMember(Name="anchorTabProcessorVersionMetadata", EmitDefaultValue=false)] public PropertyMetadata AnchorTabProcessorVersionMetadata { get; set; } /// + /// Gets or Sets AnchorTabScope + /// + [DataMember(Name="anchorTabScope", EmitDefaultValue=false)] + public string AnchorTabScope { get; set; } + /// /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. /// /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. @@ -906,6 +913,7 @@ public override string ToString() sb.Append(" AnchorStringMetadata: ").Append(AnchorStringMetadata).Append("\n"); sb.Append(" AnchorTabProcessorVersion: ").Append(AnchorTabProcessorVersion).Append("\n"); sb.Append(" AnchorTabProcessorVersionMetadata: ").Append(AnchorTabProcessorVersionMetadata).Append("\n"); + sb.Append(" AnchorTabScope: ").Append(AnchorTabScope).Append("\n"); sb.Append(" AnchorUnits: ").Append(AnchorUnits).Append("\n"); sb.Append(" AnchorUnitsMetadata: ").Append(AnchorUnitsMetadata).Append("\n"); sb.Append(" AnchorXOffset: ").Append(AnchorXOffset).Append("\n"); @@ -1114,6 +1122,11 @@ public bool Equals(PhoneNumber other) this.AnchorTabProcessorVersionMetadata != null && this.AnchorTabProcessorVersionMetadata.Equals(other.AnchorTabProcessorVersionMetadata) ) && + ( + this.AnchorTabScope == other.AnchorTabScope || + this.AnchorTabScope != null && + this.AnchorTabScope.Equals(other.AnchorTabScope) + ) && ( this.AnchorUnits == other.AnchorUnits || this.AnchorUnits != null && @@ -1619,6 +1632,8 @@ public override int GetHashCode() hash = hash * 59 + this.AnchorTabProcessorVersion.GetHashCode(); if (this.AnchorTabProcessorVersionMetadata != null) hash = hash * 59 + this.AnchorTabProcessorVersionMetadata.GetHashCode(); + if (this.AnchorTabScope != null) + hash = hash * 59 + this.AnchorTabScope.GetHashCode(); if (this.AnchorUnits != null) hash = hash * 59 + this.AnchorUnits.GetHashCode(); if (this.AnchorUnitsMetadata != null) diff --git a/sdk/src/DocuSign.eSign/Model/PolyLineOverlay.cs b/sdk/src/DocuSign.eSign/Model/PolyLineOverlay.cs index 8d67f6af2..f467dfb9e 100644 --- a/sdk/src/DocuSign.eSign/Model/PolyLineOverlay.cs +++ b/sdk/src/DocuSign.eSign/Model/PolyLineOverlay.cs @@ -51,6 +51,7 @@ public PolyLineOverlay() /// Metadata that indicates whether the `anchorString` property is editable.. /// AnchorTabProcessorVersion. /// Reserved for DocuSign.. + /// AnchorTabScope. /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.. /// Metadata that indicates whether the `anchorUnits` property is editable.. /// Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.. @@ -121,7 +122,7 @@ public PolyLineOverlay() /// Metadata that indicates whether the `xPosition` property is editable.. /// This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.. /// Metadata that indicates whether the `yPosition` property is editable.. - public PolyLineOverlay(string AgreementAttribute = default(string), string AgreementAttributeLocked = default(string), string AnchorAllowWhiteSpaceInCharacters = default(string), PropertyMetadata AnchorAllowWhiteSpaceInCharactersMetadata = default(PropertyMetadata), string AnchorCaseSensitive = default(string), PropertyMetadata AnchorCaseSensitiveMetadata = default(PropertyMetadata), string AnchorHorizontalAlignment = default(string), PropertyMetadata AnchorHorizontalAlignmentMetadata = default(PropertyMetadata), string AnchorIgnoreIfNotPresent = default(string), PropertyMetadata AnchorIgnoreIfNotPresentMetadata = default(PropertyMetadata), string AnchorMatchWholeWord = default(string), PropertyMetadata AnchorMatchWholeWordMetadata = default(PropertyMetadata), string AnchorString = default(string), PropertyMetadata AnchorStringMetadata = default(PropertyMetadata), string AnchorTabProcessorVersion = default(string), PropertyMetadata AnchorTabProcessorVersionMetadata = default(PropertyMetadata), string AnchorUnits = default(string), PropertyMetadata AnchorUnitsMetadata = default(PropertyMetadata), string AnchorXOffset = default(string), PropertyMetadata AnchorXOffsetMetadata = default(PropertyMetadata), string AnchorYOffset = default(string), PropertyMetadata AnchorYOffsetMetadata = default(PropertyMetadata), string Caption = default(string), PropertyMetadata CaptionMetadata = default(PropertyMetadata), string ConditionalParentLabel = default(string), PropertyMetadata ConditionalParentLabelMetadata = default(PropertyMetadata), string ConditionalParentValue = default(string), PropertyMetadata ConditionalParentValueMetadata = default(PropertyMetadata), ConnectedObjectDetails ConnectedObjectDetails = default(ConnectedObjectDetails), string CustomTabId = default(string), PropertyMetadata CustomTabIdMetadata = default(PropertyMetadata), string DocumentId = default(string), PropertyMetadata DocumentIdMetadata = default(PropertyMetadata), ErrorDetails ErrorDetails = default(ErrorDetails), ExtensionData ExtensionData = default(ExtensionData), string FormOrder = default(string), PropertyMetadata FormOrderMetadata = default(PropertyMetadata), string FormPageLabel = default(string), PropertyMetadata FormPageLabelMetadata = default(PropertyMetadata), string FormPageNumber = default(string), PropertyMetadata FormPageNumberMetadata = default(PropertyMetadata), GraphicsContext GraphicsContext = default(GraphicsContext), string Height = default(string), PropertyMetadata HeightMetadata = default(PropertyMetadata), string Locked = default(string), PropertyMetadata LockedMetadata = default(PropertyMetadata), MergeField MergeField = default(MergeField), string MergeFieldXml = default(string), string OverlayType = default(string), PropertyMetadata OverlayTypeMetadata = default(PropertyMetadata), string PageNumber = default(string), PropertyMetadata PageNumberMetadata = default(PropertyMetadata), List PolyLines = default(List), string RecipientId = default(string), string RecipientIdGuid = default(string), PropertyMetadata RecipientIdGuidMetadata = default(PropertyMetadata), PropertyMetadata RecipientIdMetadata = default(PropertyMetadata), string Shared = default(string), PropertyMetadata SharedMetadata = default(PropertyMetadata), SmartContractInformation SmartContractInformation = default(SmartContractInformation), string Source = default(string), string Status = default(string), PropertyMetadata StatusMetadata = default(PropertyMetadata), string TabFullyQualifiedPath = default(string), List TabGroupLabels = default(List), PropertyMetadata TabGroupLabelsMetadata = default(PropertyMetadata), string TabId = default(string), PropertyMetadata TabIdMetadata = default(PropertyMetadata), string TabLabel = default(string), string TabOrder = default(string), PropertyMetadata TabOrderMetadata = default(PropertyMetadata), string TabType = default(string), PropertyMetadata TabTypeMetadata = default(PropertyMetadata), string TemplateLocked = default(string), PropertyMetadata TemplateLockedMetadata = default(PropertyMetadata), string TemplateRequired = default(string), PropertyMetadata TemplateRequiredMetadata = default(PropertyMetadata), string Tooltip = default(string), PropertyMetadata ToolTipMetadata = default(PropertyMetadata), ErrorDetails WarningDetails = default(ErrorDetails), string Width = default(string), PropertyMetadata WidthMetadata = default(PropertyMetadata), string XPosition = default(string), PropertyMetadata XPositionMetadata = default(PropertyMetadata), string YPosition = default(string), PropertyMetadata YPositionMetadata = default(PropertyMetadata)) + public PolyLineOverlay(string AgreementAttribute = default(string), string AgreementAttributeLocked = default(string), string AnchorAllowWhiteSpaceInCharacters = default(string), PropertyMetadata AnchorAllowWhiteSpaceInCharactersMetadata = default(PropertyMetadata), string AnchorCaseSensitive = default(string), PropertyMetadata AnchorCaseSensitiveMetadata = default(PropertyMetadata), string AnchorHorizontalAlignment = default(string), PropertyMetadata AnchorHorizontalAlignmentMetadata = default(PropertyMetadata), string AnchorIgnoreIfNotPresent = default(string), PropertyMetadata AnchorIgnoreIfNotPresentMetadata = default(PropertyMetadata), string AnchorMatchWholeWord = default(string), PropertyMetadata AnchorMatchWholeWordMetadata = default(PropertyMetadata), string AnchorString = default(string), PropertyMetadata AnchorStringMetadata = default(PropertyMetadata), string AnchorTabProcessorVersion = default(string), PropertyMetadata AnchorTabProcessorVersionMetadata = default(PropertyMetadata), string AnchorTabScope = default(string), string AnchorUnits = default(string), PropertyMetadata AnchorUnitsMetadata = default(PropertyMetadata), string AnchorXOffset = default(string), PropertyMetadata AnchorXOffsetMetadata = default(PropertyMetadata), string AnchorYOffset = default(string), PropertyMetadata AnchorYOffsetMetadata = default(PropertyMetadata), string Caption = default(string), PropertyMetadata CaptionMetadata = default(PropertyMetadata), string ConditionalParentLabel = default(string), PropertyMetadata ConditionalParentLabelMetadata = default(PropertyMetadata), string ConditionalParentValue = default(string), PropertyMetadata ConditionalParentValueMetadata = default(PropertyMetadata), ConnectedObjectDetails ConnectedObjectDetails = default(ConnectedObjectDetails), string CustomTabId = default(string), PropertyMetadata CustomTabIdMetadata = default(PropertyMetadata), string DocumentId = default(string), PropertyMetadata DocumentIdMetadata = default(PropertyMetadata), ErrorDetails ErrorDetails = default(ErrorDetails), ExtensionData ExtensionData = default(ExtensionData), string FormOrder = default(string), PropertyMetadata FormOrderMetadata = default(PropertyMetadata), string FormPageLabel = default(string), PropertyMetadata FormPageLabelMetadata = default(PropertyMetadata), string FormPageNumber = default(string), PropertyMetadata FormPageNumberMetadata = default(PropertyMetadata), GraphicsContext GraphicsContext = default(GraphicsContext), string Height = default(string), PropertyMetadata HeightMetadata = default(PropertyMetadata), string Locked = default(string), PropertyMetadata LockedMetadata = default(PropertyMetadata), MergeField MergeField = default(MergeField), string MergeFieldXml = default(string), string OverlayType = default(string), PropertyMetadata OverlayTypeMetadata = default(PropertyMetadata), string PageNumber = default(string), PropertyMetadata PageNumberMetadata = default(PropertyMetadata), List PolyLines = default(List), string RecipientId = default(string), string RecipientIdGuid = default(string), PropertyMetadata RecipientIdGuidMetadata = default(PropertyMetadata), PropertyMetadata RecipientIdMetadata = default(PropertyMetadata), string Shared = default(string), PropertyMetadata SharedMetadata = default(PropertyMetadata), SmartContractInformation SmartContractInformation = default(SmartContractInformation), string Source = default(string), string Status = default(string), PropertyMetadata StatusMetadata = default(PropertyMetadata), string TabFullyQualifiedPath = default(string), List TabGroupLabels = default(List), PropertyMetadata TabGroupLabelsMetadata = default(PropertyMetadata), string TabId = default(string), PropertyMetadata TabIdMetadata = default(PropertyMetadata), string TabLabel = default(string), string TabOrder = default(string), PropertyMetadata TabOrderMetadata = default(PropertyMetadata), string TabType = default(string), PropertyMetadata TabTypeMetadata = default(PropertyMetadata), string TemplateLocked = default(string), PropertyMetadata TemplateLockedMetadata = default(PropertyMetadata), string TemplateRequired = default(string), PropertyMetadata TemplateRequiredMetadata = default(PropertyMetadata), string Tooltip = default(string), PropertyMetadata ToolTipMetadata = default(PropertyMetadata), ErrorDetails WarningDetails = default(ErrorDetails), string Width = default(string), PropertyMetadata WidthMetadata = default(PropertyMetadata), string XPosition = default(string), PropertyMetadata XPositionMetadata = default(PropertyMetadata), string YPosition = default(string), PropertyMetadata YPositionMetadata = default(PropertyMetadata)) { this.AgreementAttribute = AgreementAttribute; this.AgreementAttributeLocked = AgreementAttributeLocked; @@ -139,6 +140,7 @@ public PolyLineOverlay() this.AnchorStringMetadata = AnchorStringMetadata; this.AnchorTabProcessorVersion = AnchorTabProcessorVersion; this.AnchorTabProcessorVersionMetadata = AnchorTabProcessorVersionMetadata; + this.AnchorTabScope = AnchorTabScope; this.AnchorUnits = AnchorUnits; this.AnchorUnitsMetadata = AnchorUnitsMetadata; this.AnchorXOffset = AnchorXOffset; @@ -304,6 +306,11 @@ public PolyLineOverlay() [DataMember(Name="anchorTabProcessorVersionMetadata", EmitDefaultValue=false)] public PropertyMetadata AnchorTabProcessorVersionMetadata { get; set; } /// + /// Gets or Sets AnchorTabScope + /// + [DataMember(Name="anchorTabScope", EmitDefaultValue=false)] + public string AnchorTabScope { get; set; } + /// /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. /// /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. @@ -729,6 +736,7 @@ public override string ToString() sb.Append(" AnchorStringMetadata: ").Append(AnchorStringMetadata).Append("\n"); sb.Append(" AnchorTabProcessorVersion: ").Append(AnchorTabProcessorVersion).Append("\n"); sb.Append(" AnchorTabProcessorVersionMetadata: ").Append(AnchorTabProcessorVersionMetadata).Append("\n"); + sb.Append(" AnchorTabScope: ").Append(AnchorTabScope).Append("\n"); sb.Append(" AnchorUnits: ").Append(AnchorUnits).Append("\n"); sb.Append(" AnchorUnitsMetadata: ").Append(AnchorUnitsMetadata).Append("\n"); sb.Append(" AnchorXOffset: ").Append(AnchorXOffset).Append("\n"); @@ -915,6 +923,11 @@ public bool Equals(PolyLineOverlay other) this.AnchorTabProcessorVersionMetadata != null && this.AnchorTabProcessorVersionMetadata.Equals(other.AnchorTabProcessorVersionMetadata) ) && + ( + this.AnchorTabScope == other.AnchorTabScope || + this.AnchorTabScope != null && + this.AnchorTabScope.Equals(other.AnchorTabScope) + ) && ( this.AnchorUnits == other.AnchorUnits || this.AnchorUnits != null && @@ -1310,6 +1323,8 @@ public override int GetHashCode() hash = hash * 59 + this.AnchorTabProcessorVersion.GetHashCode(); if (this.AnchorTabProcessorVersionMetadata != null) hash = hash * 59 + this.AnchorTabProcessorVersionMetadata.GetHashCode(); + if (this.AnchorTabScope != null) + hash = hash * 59 + this.AnchorTabScope.GetHashCode(); if (this.AnchorUnits != null) hash = hash * 59 + this.AnchorUnits.GetHashCode(); if (this.AnchorUnitsMetadata != null) diff --git a/sdk/src/DocuSign.eSign/Model/Radio.cs b/sdk/src/DocuSign.eSign/Model/Radio.cs index 7158f0fa3..6783d2eea 100644 --- a/sdk/src/DocuSign.eSign/Model/Radio.cs +++ b/sdk/src/DocuSign.eSign/Model/Radio.cs @@ -49,6 +49,7 @@ public Radio() /// Metadata that indicates whether the `anchorString` property is editable.. /// AnchorTabProcessorVersion. /// Reserved for DocuSign.. + /// AnchorTabScope. /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.. /// Metadata that indicates whether the `anchorUnits` property is editable.. /// Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.. @@ -94,7 +95,7 @@ public Radio() /// Metadata that indicates whether the `xPosition` property is editable.. /// This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.. /// Metadata that indicates whether the `yPosition` property is editable.. - public Radio(string AnchorAllowWhiteSpaceInCharacters = default(string), PropertyMetadata AnchorAllowWhiteSpaceInCharactersMetadata = default(PropertyMetadata), string AnchorCaseSensitive = default(string), PropertyMetadata AnchorCaseSensitiveMetadata = default(PropertyMetadata), string AnchorHorizontalAlignment = default(string), PropertyMetadata AnchorHorizontalAlignmentMetadata = default(PropertyMetadata), string AnchorIgnoreIfNotPresent = default(string), PropertyMetadata AnchorIgnoreIfNotPresentMetadata = default(PropertyMetadata), string AnchorMatchWholeWord = default(string), PropertyMetadata AnchorMatchWholeWordMetadata = default(PropertyMetadata), string AnchorString = default(string), PropertyMetadata AnchorStringMetadata = default(PropertyMetadata), string AnchorTabProcessorVersion = default(string), PropertyMetadata AnchorTabProcessorVersionMetadata = default(PropertyMetadata), string AnchorUnits = default(string), PropertyMetadata AnchorUnitsMetadata = default(PropertyMetadata), string AnchorXOffset = default(string), PropertyMetadata AnchorXOffsetMetadata = default(PropertyMetadata), string AnchorYOffset = default(string), PropertyMetadata AnchorYOffsetMetadata = default(PropertyMetadata), string Bold = default(string), PropertyMetadata BoldMetadata = default(PropertyMetadata), string Caption = default(string), PropertyMetadata CaptionMetadata = default(PropertyMetadata), ConnectedObjectDetails ConnectedObjectDetails = default(ConnectedObjectDetails), ErrorDetails ErrorDetails = default(ErrorDetails), ExtensionData ExtensionData = default(ExtensionData), string Font = default(string), string FontColor = default(string), PropertyMetadata FontColorMetadata = default(PropertyMetadata), PropertyMetadata FontMetadata = default(PropertyMetadata), string FontSize = default(string), PropertyMetadata FontSizeMetadata = default(PropertyMetadata), string Italic = default(string), PropertyMetadata ItalicMetadata = default(PropertyMetadata), string Locked = default(string), PropertyMetadata LockedMetadata = default(PropertyMetadata), string MergeFieldXml = default(string), string PageNumber = default(string), PropertyMetadata PageNumberMetadata = default(PropertyMetadata), string Required = default(string), PropertyMetadata RequiredMetadata = default(PropertyMetadata), string Selected = default(string), PropertyMetadata SelectedMetadata = default(PropertyMetadata), string Status = default(string), PropertyMetadata StatusMetadata = default(PropertyMetadata), string TabFullyQualifiedPath = default(string), string TabId = default(string), PropertyMetadata TabIdMetadata = default(PropertyMetadata), string TabOrder = default(string), PropertyMetadata TabOrderMetadata = default(PropertyMetadata), string Underline = default(string), PropertyMetadata UnderlineMetadata = default(PropertyMetadata), string Value = default(string), PropertyMetadata ValueMetadata = default(PropertyMetadata), string XPosition = default(string), PropertyMetadata XPositionMetadata = default(PropertyMetadata), string YPosition = default(string), PropertyMetadata YPositionMetadata = default(PropertyMetadata)) + public Radio(string AnchorAllowWhiteSpaceInCharacters = default(string), PropertyMetadata AnchorAllowWhiteSpaceInCharactersMetadata = default(PropertyMetadata), string AnchorCaseSensitive = default(string), PropertyMetadata AnchorCaseSensitiveMetadata = default(PropertyMetadata), string AnchorHorizontalAlignment = default(string), PropertyMetadata AnchorHorizontalAlignmentMetadata = default(PropertyMetadata), string AnchorIgnoreIfNotPresent = default(string), PropertyMetadata AnchorIgnoreIfNotPresentMetadata = default(PropertyMetadata), string AnchorMatchWholeWord = default(string), PropertyMetadata AnchorMatchWholeWordMetadata = default(PropertyMetadata), string AnchorString = default(string), PropertyMetadata AnchorStringMetadata = default(PropertyMetadata), string AnchorTabProcessorVersion = default(string), PropertyMetadata AnchorTabProcessorVersionMetadata = default(PropertyMetadata), string AnchorTabScope = default(string), string AnchorUnits = default(string), PropertyMetadata AnchorUnitsMetadata = default(PropertyMetadata), string AnchorXOffset = default(string), PropertyMetadata AnchorXOffsetMetadata = default(PropertyMetadata), string AnchorYOffset = default(string), PropertyMetadata AnchorYOffsetMetadata = default(PropertyMetadata), string Bold = default(string), PropertyMetadata BoldMetadata = default(PropertyMetadata), string Caption = default(string), PropertyMetadata CaptionMetadata = default(PropertyMetadata), ConnectedObjectDetails ConnectedObjectDetails = default(ConnectedObjectDetails), ErrorDetails ErrorDetails = default(ErrorDetails), ExtensionData ExtensionData = default(ExtensionData), string Font = default(string), string FontColor = default(string), PropertyMetadata FontColorMetadata = default(PropertyMetadata), PropertyMetadata FontMetadata = default(PropertyMetadata), string FontSize = default(string), PropertyMetadata FontSizeMetadata = default(PropertyMetadata), string Italic = default(string), PropertyMetadata ItalicMetadata = default(PropertyMetadata), string Locked = default(string), PropertyMetadata LockedMetadata = default(PropertyMetadata), string MergeFieldXml = default(string), string PageNumber = default(string), PropertyMetadata PageNumberMetadata = default(PropertyMetadata), string Required = default(string), PropertyMetadata RequiredMetadata = default(PropertyMetadata), string Selected = default(string), PropertyMetadata SelectedMetadata = default(PropertyMetadata), string Status = default(string), PropertyMetadata StatusMetadata = default(PropertyMetadata), string TabFullyQualifiedPath = default(string), string TabId = default(string), PropertyMetadata TabIdMetadata = default(PropertyMetadata), string TabOrder = default(string), PropertyMetadata TabOrderMetadata = default(PropertyMetadata), string Underline = default(string), PropertyMetadata UnderlineMetadata = default(PropertyMetadata), string Value = default(string), PropertyMetadata ValueMetadata = default(PropertyMetadata), string XPosition = default(string), PropertyMetadata XPositionMetadata = default(PropertyMetadata), string YPosition = default(string), PropertyMetadata YPositionMetadata = default(PropertyMetadata)) { this.AnchorAllowWhiteSpaceInCharacters = AnchorAllowWhiteSpaceInCharacters; this.AnchorAllowWhiteSpaceInCharactersMetadata = AnchorAllowWhiteSpaceInCharactersMetadata; @@ -110,6 +111,7 @@ public Radio() this.AnchorStringMetadata = AnchorStringMetadata; this.AnchorTabProcessorVersion = AnchorTabProcessorVersion; this.AnchorTabProcessorVersionMetadata = AnchorTabProcessorVersionMetadata; + this.AnchorTabScope = AnchorTabScope; this.AnchorUnits = AnchorUnits; this.AnchorUnitsMetadata = AnchorUnitsMetadata; this.AnchorXOffset = AnchorXOffset; @@ -240,6 +242,11 @@ public Radio() [DataMember(Name="anchorTabProcessorVersionMetadata", EmitDefaultValue=false)] public PropertyMetadata AnchorTabProcessorVersionMetadata { get; set; } /// + /// Gets or Sets AnchorTabScope + /// + [DataMember(Name="anchorTabScope", EmitDefaultValue=false)] + public string AnchorTabScope { get; set; } + /// /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. /// /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. @@ -524,6 +531,7 @@ public override string ToString() sb.Append(" AnchorStringMetadata: ").Append(AnchorStringMetadata).Append("\n"); sb.Append(" AnchorTabProcessorVersion: ").Append(AnchorTabProcessorVersion).Append("\n"); sb.Append(" AnchorTabProcessorVersionMetadata: ").Append(AnchorTabProcessorVersionMetadata).Append("\n"); + sb.Append(" AnchorTabScope: ").Append(AnchorTabScope).Append("\n"); sb.Append(" AnchorUnits: ").Append(AnchorUnits).Append("\n"); sb.Append(" AnchorUnitsMetadata: ").Append(AnchorUnitsMetadata).Append("\n"); sb.Append(" AnchorXOffset: ").Append(AnchorXOffset).Append("\n"); @@ -675,6 +683,11 @@ public bool Equals(Radio other) this.AnchorTabProcessorVersionMetadata != null && this.AnchorTabProcessorVersionMetadata.Equals(other.AnchorTabProcessorVersionMetadata) ) && + ( + this.AnchorTabScope == other.AnchorTabScope || + this.AnchorTabScope != null && + this.AnchorTabScope.Equals(other.AnchorTabScope) + ) && ( this.AnchorUnits == other.AnchorUnits || this.AnchorUnits != null && @@ -941,6 +954,8 @@ public override int GetHashCode() hash = hash * 59 + this.AnchorTabProcessorVersion.GetHashCode(); if (this.AnchorTabProcessorVersionMetadata != null) hash = hash * 59 + this.AnchorTabProcessorVersionMetadata.GetHashCode(); + if (this.AnchorTabScope != null) + hash = hash * 59 + this.AnchorTabScope.GetHashCode(); if (this.AnchorUnits != null) hash = hash * 59 + this.AnchorUnits.GetHashCode(); if (this.AnchorUnitsMetadata != null) diff --git a/sdk/src/DocuSign.eSign/Model/SenderCompany.cs b/sdk/src/DocuSign.eSign/Model/SenderCompany.cs index c0d7c563a..49a47fe62 100644 --- a/sdk/src/DocuSign.eSign/Model/SenderCompany.cs +++ b/sdk/src/DocuSign.eSign/Model/SenderCompany.cs @@ -51,6 +51,7 @@ public SenderCompany() /// Metadata that indicates whether the `anchorString` property is editable.. /// AnchorTabProcessorVersion. /// Reserved for DocuSign.. + /// AnchorTabScope. /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.. /// Metadata that indicates whether the `anchorUnits` property is editable.. /// Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.. @@ -131,7 +132,7 @@ public SenderCompany() /// Metadata that indicates whether the `xPosition` property is editable.. /// This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.. /// Metadata that indicates whether the `yPosition` property is editable.. - public SenderCompany(string AgreementAttribute = default(string), string AgreementAttributeLocked = default(string), string AnchorAllowWhiteSpaceInCharacters = default(string), PropertyMetadata AnchorAllowWhiteSpaceInCharactersMetadata = default(PropertyMetadata), string AnchorCaseSensitive = default(string), PropertyMetadata AnchorCaseSensitiveMetadata = default(PropertyMetadata), string AnchorHorizontalAlignment = default(string), PropertyMetadata AnchorHorizontalAlignmentMetadata = default(PropertyMetadata), string AnchorIgnoreIfNotPresent = default(string), PropertyMetadata AnchorIgnoreIfNotPresentMetadata = default(PropertyMetadata), string AnchorMatchWholeWord = default(string), PropertyMetadata AnchorMatchWholeWordMetadata = default(PropertyMetadata), string AnchorString = default(string), PropertyMetadata AnchorStringMetadata = default(PropertyMetadata), string AnchorTabProcessorVersion = default(string), PropertyMetadata AnchorTabProcessorVersionMetadata = default(PropertyMetadata), string AnchorUnits = default(string), PropertyMetadata AnchorUnitsMetadata = default(PropertyMetadata), string AnchorXOffset = default(string), PropertyMetadata AnchorXOffsetMetadata = default(PropertyMetadata), string AnchorYOffset = default(string), PropertyMetadata AnchorYOffsetMetadata = default(PropertyMetadata), string Bold = default(string), PropertyMetadata BoldMetadata = default(PropertyMetadata), string Caption = default(string), PropertyMetadata CaptionMetadata = default(PropertyMetadata), string ConditionalParentLabel = default(string), PropertyMetadata ConditionalParentLabelMetadata = default(PropertyMetadata), string ConditionalParentValue = default(string), PropertyMetadata ConditionalParentValueMetadata = default(PropertyMetadata), ConnectedObjectDetails ConnectedObjectDetails = default(ConnectedObjectDetails), string CustomTabId = default(string), PropertyMetadata CustomTabIdMetadata = default(PropertyMetadata), string DocumentId = default(string), PropertyMetadata DocumentIdMetadata = default(PropertyMetadata), ErrorDetails ErrorDetails = default(ErrorDetails), ExtensionData ExtensionData = default(ExtensionData), string Font = default(string), string FontColor = default(string), PropertyMetadata FontColorMetadata = default(PropertyMetadata), PropertyMetadata FontMetadata = default(PropertyMetadata), string FontSize = default(string), PropertyMetadata FontSizeMetadata = default(PropertyMetadata), string FormOrder = default(string), PropertyMetadata FormOrderMetadata = default(PropertyMetadata), string FormPageLabel = default(string), PropertyMetadata FormPageLabelMetadata = default(PropertyMetadata), string FormPageNumber = default(string), PropertyMetadata FormPageNumberMetadata = default(PropertyMetadata), string Height = default(string), PropertyMetadata HeightMetadata = default(PropertyMetadata), string Italic = default(string), PropertyMetadata ItalicMetadata = default(PropertyMetadata), LocalePolicyTab LocalePolicy = default(LocalePolicyTab), MergeField MergeField = default(MergeField), string MergeFieldXml = default(string), string Name = default(string), PropertyMetadata NameMetadata = default(PropertyMetadata), string PageNumber = default(string), PropertyMetadata PageNumberMetadata = default(PropertyMetadata), string RecipientId = default(string), string RecipientIdGuid = default(string), PropertyMetadata RecipientIdGuidMetadata = default(PropertyMetadata), PropertyMetadata RecipientIdMetadata = default(PropertyMetadata), SmartContractInformation SmartContractInformation = default(SmartContractInformation), string Source = default(string), string Status = default(string), PropertyMetadata StatusMetadata = default(PropertyMetadata), string TabFullyQualifiedPath = default(string), List TabGroupLabels = default(List), PropertyMetadata TabGroupLabelsMetadata = default(PropertyMetadata), string TabId = default(string), PropertyMetadata TabIdMetadata = default(PropertyMetadata), string TabLabel = default(string), PropertyMetadata TabLabelMetadata = default(PropertyMetadata), string TabOrder = default(string), PropertyMetadata TabOrderMetadata = default(PropertyMetadata), string TabType = default(string), PropertyMetadata TabTypeMetadata = default(PropertyMetadata), string TemplateLocked = default(string), PropertyMetadata TemplateLockedMetadata = default(PropertyMetadata), string TemplateRequired = default(string), PropertyMetadata TemplateRequiredMetadata = default(PropertyMetadata), string Tooltip = default(string), PropertyMetadata ToolTipMetadata = default(PropertyMetadata), string Underline = default(string), PropertyMetadata UnderlineMetadata = default(PropertyMetadata), string Value = default(string), PropertyMetadata ValueMetadata = default(PropertyMetadata), ErrorDetails WarningDetails = default(ErrorDetails), string Width = default(string), PropertyMetadata WidthMetadata = default(PropertyMetadata), string XPosition = default(string), PropertyMetadata XPositionMetadata = default(PropertyMetadata), string YPosition = default(string), PropertyMetadata YPositionMetadata = default(PropertyMetadata)) + public SenderCompany(string AgreementAttribute = default(string), string AgreementAttributeLocked = default(string), string AnchorAllowWhiteSpaceInCharacters = default(string), PropertyMetadata AnchorAllowWhiteSpaceInCharactersMetadata = default(PropertyMetadata), string AnchorCaseSensitive = default(string), PropertyMetadata AnchorCaseSensitiveMetadata = default(PropertyMetadata), string AnchorHorizontalAlignment = default(string), PropertyMetadata AnchorHorizontalAlignmentMetadata = default(PropertyMetadata), string AnchorIgnoreIfNotPresent = default(string), PropertyMetadata AnchorIgnoreIfNotPresentMetadata = default(PropertyMetadata), string AnchorMatchWholeWord = default(string), PropertyMetadata AnchorMatchWholeWordMetadata = default(PropertyMetadata), string AnchorString = default(string), PropertyMetadata AnchorStringMetadata = default(PropertyMetadata), string AnchorTabProcessorVersion = default(string), PropertyMetadata AnchorTabProcessorVersionMetadata = default(PropertyMetadata), string AnchorTabScope = default(string), string AnchorUnits = default(string), PropertyMetadata AnchorUnitsMetadata = default(PropertyMetadata), string AnchorXOffset = default(string), PropertyMetadata AnchorXOffsetMetadata = default(PropertyMetadata), string AnchorYOffset = default(string), PropertyMetadata AnchorYOffsetMetadata = default(PropertyMetadata), string Bold = default(string), PropertyMetadata BoldMetadata = default(PropertyMetadata), string Caption = default(string), PropertyMetadata CaptionMetadata = default(PropertyMetadata), string ConditionalParentLabel = default(string), PropertyMetadata ConditionalParentLabelMetadata = default(PropertyMetadata), string ConditionalParentValue = default(string), PropertyMetadata ConditionalParentValueMetadata = default(PropertyMetadata), ConnectedObjectDetails ConnectedObjectDetails = default(ConnectedObjectDetails), string CustomTabId = default(string), PropertyMetadata CustomTabIdMetadata = default(PropertyMetadata), string DocumentId = default(string), PropertyMetadata DocumentIdMetadata = default(PropertyMetadata), ErrorDetails ErrorDetails = default(ErrorDetails), ExtensionData ExtensionData = default(ExtensionData), string Font = default(string), string FontColor = default(string), PropertyMetadata FontColorMetadata = default(PropertyMetadata), PropertyMetadata FontMetadata = default(PropertyMetadata), string FontSize = default(string), PropertyMetadata FontSizeMetadata = default(PropertyMetadata), string FormOrder = default(string), PropertyMetadata FormOrderMetadata = default(PropertyMetadata), string FormPageLabel = default(string), PropertyMetadata FormPageLabelMetadata = default(PropertyMetadata), string FormPageNumber = default(string), PropertyMetadata FormPageNumberMetadata = default(PropertyMetadata), string Height = default(string), PropertyMetadata HeightMetadata = default(PropertyMetadata), string Italic = default(string), PropertyMetadata ItalicMetadata = default(PropertyMetadata), LocalePolicyTab LocalePolicy = default(LocalePolicyTab), MergeField MergeField = default(MergeField), string MergeFieldXml = default(string), string Name = default(string), PropertyMetadata NameMetadata = default(PropertyMetadata), string PageNumber = default(string), PropertyMetadata PageNumberMetadata = default(PropertyMetadata), string RecipientId = default(string), string RecipientIdGuid = default(string), PropertyMetadata RecipientIdGuidMetadata = default(PropertyMetadata), PropertyMetadata RecipientIdMetadata = default(PropertyMetadata), SmartContractInformation SmartContractInformation = default(SmartContractInformation), string Source = default(string), string Status = default(string), PropertyMetadata StatusMetadata = default(PropertyMetadata), string TabFullyQualifiedPath = default(string), List TabGroupLabels = default(List), PropertyMetadata TabGroupLabelsMetadata = default(PropertyMetadata), string TabId = default(string), PropertyMetadata TabIdMetadata = default(PropertyMetadata), string TabLabel = default(string), PropertyMetadata TabLabelMetadata = default(PropertyMetadata), string TabOrder = default(string), PropertyMetadata TabOrderMetadata = default(PropertyMetadata), string TabType = default(string), PropertyMetadata TabTypeMetadata = default(PropertyMetadata), string TemplateLocked = default(string), PropertyMetadata TemplateLockedMetadata = default(PropertyMetadata), string TemplateRequired = default(string), PropertyMetadata TemplateRequiredMetadata = default(PropertyMetadata), string Tooltip = default(string), PropertyMetadata ToolTipMetadata = default(PropertyMetadata), string Underline = default(string), PropertyMetadata UnderlineMetadata = default(PropertyMetadata), string Value = default(string), PropertyMetadata ValueMetadata = default(PropertyMetadata), ErrorDetails WarningDetails = default(ErrorDetails), string Width = default(string), PropertyMetadata WidthMetadata = default(PropertyMetadata), string XPosition = default(string), PropertyMetadata XPositionMetadata = default(PropertyMetadata), string YPosition = default(string), PropertyMetadata YPositionMetadata = default(PropertyMetadata)) { this.AgreementAttribute = AgreementAttribute; this.AgreementAttributeLocked = AgreementAttributeLocked; @@ -149,6 +150,7 @@ public SenderCompany() this.AnchorStringMetadata = AnchorStringMetadata; this.AnchorTabProcessorVersion = AnchorTabProcessorVersion; this.AnchorTabProcessorVersionMetadata = AnchorTabProcessorVersionMetadata; + this.AnchorTabScope = AnchorTabScope; this.AnchorUnits = AnchorUnits; this.AnchorUnitsMetadata = AnchorUnitsMetadata; this.AnchorXOffset = AnchorXOffset; @@ -324,6 +326,11 @@ public SenderCompany() [DataMember(Name="anchorTabProcessorVersionMetadata", EmitDefaultValue=false)] public PropertyMetadata AnchorTabProcessorVersionMetadata { get; set; } /// + /// Gets or Sets AnchorTabScope + /// + [DataMember(Name="anchorTabScope", EmitDefaultValue=false)] + public string AnchorTabScope { get; set; } + /// /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. /// /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. @@ -810,6 +817,7 @@ public override string ToString() sb.Append(" AnchorStringMetadata: ").Append(AnchorStringMetadata).Append("\n"); sb.Append(" AnchorTabProcessorVersion: ").Append(AnchorTabProcessorVersion).Append("\n"); sb.Append(" AnchorTabProcessorVersionMetadata: ").Append(AnchorTabProcessorVersionMetadata).Append("\n"); + sb.Append(" AnchorTabScope: ").Append(AnchorTabScope).Append("\n"); sb.Append(" AnchorUnits: ").Append(AnchorUnits).Append("\n"); sb.Append(" AnchorUnitsMetadata: ").Append(AnchorUnitsMetadata).Append("\n"); sb.Append(" AnchorXOffset: ").Append(AnchorXOffset).Append("\n"); @@ -1006,6 +1014,11 @@ public bool Equals(SenderCompany other) this.AnchorTabProcessorVersionMetadata != null && this.AnchorTabProcessorVersionMetadata.Equals(other.AnchorTabProcessorVersionMetadata) ) && + ( + this.AnchorTabScope == other.AnchorTabScope || + this.AnchorTabScope != null && + this.AnchorTabScope.Equals(other.AnchorTabScope) + ) && ( this.AnchorUnits == other.AnchorUnits || this.AnchorUnits != null && @@ -1451,6 +1464,8 @@ public override int GetHashCode() hash = hash * 59 + this.AnchorTabProcessorVersion.GetHashCode(); if (this.AnchorTabProcessorVersionMetadata != null) hash = hash * 59 + this.AnchorTabProcessorVersionMetadata.GetHashCode(); + if (this.AnchorTabScope != null) + hash = hash * 59 + this.AnchorTabScope.GetHashCode(); if (this.AnchorUnits != null) hash = hash * 59 + this.AnchorUnits.GetHashCode(); if (this.AnchorUnitsMetadata != null) diff --git a/sdk/src/DocuSign.eSign/Model/SenderName.cs b/sdk/src/DocuSign.eSign/Model/SenderName.cs index cf174573b..329f43b91 100644 --- a/sdk/src/DocuSign.eSign/Model/SenderName.cs +++ b/sdk/src/DocuSign.eSign/Model/SenderName.cs @@ -51,6 +51,7 @@ public SenderName() /// Metadata that indicates whether the `anchorString` property is editable.. /// AnchorTabProcessorVersion. /// Reserved for DocuSign.. + /// AnchorTabScope. /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.. /// Metadata that indicates whether the `anchorUnits` property is editable.. /// Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.. @@ -131,7 +132,7 @@ public SenderName() /// Metadata that indicates whether the `xPosition` property is editable.. /// This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.. /// Metadata that indicates whether the `yPosition` property is editable.. - public SenderName(string AgreementAttribute = default(string), string AgreementAttributeLocked = default(string), string AnchorAllowWhiteSpaceInCharacters = default(string), PropertyMetadata AnchorAllowWhiteSpaceInCharactersMetadata = default(PropertyMetadata), string AnchorCaseSensitive = default(string), PropertyMetadata AnchorCaseSensitiveMetadata = default(PropertyMetadata), string AnchorHorizontalAlignment = default(string), PropertyMetadata AnchorHorizontalAlignmentMetadata = default(PropertyMetadata), string AnchorIgnoreIfNotPresent = default(string), PropertyMetadata AnchorIgnoreIfNotPresentMetadata = default(PropertyMetadata), string AnchorMatchWholeWord = default(string), PropertyMetadata AnchorMatchWholeWordMetadata = default(PropertyMetadata), string AnchorString = default(string), PropertyMetadata AnchorStringMetadata = default(PropertyMetadata), string AnchorTabProcessorVersion = default(string), PropertyMetadata AnchorTabProcessorVersionMetadata = default(PropertyMetadata), string AnchorUnits = default(string), PropertyMetadata AnchorUnitsMetadata = default(PropertyMetadata), string AnchorXOffset = default(string), PropertyMetadata AnchorXOffsetMetadata = default(PropertyMetadata), string AnchorYOffset = default(string), PropertyMetadata AnchorYOffsetMetadata = default(PropertyMetadata), string Bold = default(string), PropertyMetadata BoldMetadata = default(PropertyMetadata), string Caption = default(string), PropertyMetadata CaptionMetadata = default(PropertyMetadata), string ConditionalParentLabel = default(string), PropertyMetadata ConditionalParentLabelMetadata = default(PropertyMetadata), string ConditionalParentValue = default(string), PropertyMetadata ConditionalParentValueMetadata = default(PropertyMetadata), ConnectedObjectDetails ConnectedObjectDetails = default(ConnectedObjectDetails), string CustomTabId = default(string), PropertyMetadata CustomTabIdMetadata = default(PropertyMetadata), string DocumentId = default(string), PropertyMetadata DocumentIdMetadata = default(PropertyMetadata), ErrorDetails ErrorDetails = default(ErrorDetails), ExtensionData ExtensionData = default(ExtensionData), string Font = default(string), string FontColor = default(string), PropertyMetadata FontColorMetadata = default(PropertyMetadata), PropertyMetadata FontMetadata = default(PropertyMetadata), string FontSize = default(string), PropertyMetadata FontSizeMetadata = default(PropertyMetadata), string FormOrder = default(string), PropertyMetadata FormOrderMetadata = default(PropertyMetadata), string FormPageLabel = default(string), PropertyMetadata FormPageLabelMetadata = default(PropertyMetadata), string FormPageNumber = default(string), PropertyMetadata FormPageNumberMetadata = default(PropertyMetadata), string Height = default(string), PropertyMetadata HeightMetadata = default(PropertyMetadata), string Italic = default(string), PropertyMetadata ItalicMetadata = default(PropertyMetadata), LocalePolicyTab LocalePolicy = default(LocalePolicyTab), MergeField MergeField = default(MergeField), string MergeFieldXml = default(string), string Name = default(string), PropertyMetadata NameMetadata = default(PropertyMetadata), string PageNumber = default(string), PropertyMetadata PageNumberMetadata = default(PropertyMetadata), string RecipientId = default(string), string RecipientIdGuid = default(string), PropertyMetadata RecipientIdGuidMetadata = default(PropertyMetadata), PropertyMetadata RecipientIdMetadata = default(PropertyMetadata), SmartContractInformation SmartContractInformation = default(SmartContractInformation), string Source = default(string), string Status = default(string), PropertyMetadata StatusMetadata = default(PropertyMetadata), string TabFullyQualifiedPath = default(string), List TabGroupLabels = default(List), PropertyMetadata TabGroupLabelsMetadata = default(PropertyMetadata), string TabId = default(string), PropertyMetadata TabIdMetadata = default(PropertyMetadata), string TabLabel = default(string), PropertyMetadata TabLabelMetadata = default(PropertyMetadata), string TabOrder = default(string), PropertyMetadata TabOrderMetadata = default(PropertyMetadata), string TabType = default(string), PropertyMetadata TabTypeMetadata = default(PropertyMetadata), string TemplateLocked = default(string), PropertyMetadata TemplateLockedMetadata = default(PropertyMetadata), string TemplateRequired = default(string), PropertyMetadata TemplateRequiredMetadata = default(PropertyMetadata), string Tooltip = default(string), PropertyMetadata ToolTipMetadata = default(PropertyMetadata), string Underline = default(string), PropertyMetadata UnderlineMetadata = default(PropertyMetadata), string Value = default(string), PropertyMetadata ValueMetadata = default(PropertyMetadata), ErrorDetails WarningDetails = default(ErrorDetails), string Width = default(string), PropertyMetadata WidthMetadata = default(PropertyMetadata), string XPosition = default(string), PropertyMetadata XPositionMetadata = default(PropertyMetadata), string YPosition = default(string), PropertyMetadata YPositionMetadata = default(PropertyMetadata)) + public SenderName(string AgreementAttribute = default(string), string AgreementAttributeLocked = default(string), string AnchorAllowWhiteSpaceInCharacters = default(string), PropertyMetadata AnchorAllowWhiteSpaceInCharactersMetadata = default(PropertyMetadata), string AnchorCaseSensitive = default(string), PropertyMetadata AnchorCaseSensitiveMetadata = default(PropertyMetadata), string AnchorHorizontalAlignment = default(string), PropertyMetadata AnchorHorizontalAlignmentMetadata = default(PropertyMetadata), string AnchorIgnoreIfNotPresent = default(string), PropertyMetadata AnchorIgnoreIfNotPresentMetadata = default(PropertyMetadata), string AnchorMatchWholeWord = default(string), PropertyMetadata AnchorMatchWholeWordMetadata = default(PropertyMetadata), string AnchorString = default(string), PropertyMetadata AnchorStringMetadata = default(PropertyMetadata), string AnchorTabProcessorVersion = default(string), PropertyMetadata AnchorTabProcessorVersionMetadata = default(PropertyMetadata), string AnchorTabScope = default(string), string AnchorUnits = default(string), PropertyMetadata AnchorUnitsMetadata = default(PropertyMetadata), string AnchorXOffset = default(string), PropertyMetadata AnchorXOffsetMetadata = default(PropertyMetadata), string AnchorYOffset = default(string), PropertyMetadata AnchorYOffsetMetadata = default(PropertyMetadata), string Bold = default(string), PropertyMetadata BoldMetadata = default(PropertyMetadata), string Caption = default(string), PropertyMetadata CaptionMetadata = default(PropertyMetadata), string ConditionalParentLabel = default(string), PropertyMetadata ConditionalParentLabelMetadata = default(PropertyMetadata), string ConditionalParentValue = default(string), PropertyMetadata ConditionalParentValueMetadata = default(PropertyMetadata), ConnectedObjectDetails ConnectedObjectDetails = default(ConnectedObjectDetails), string CustomTabId = default(string), PropertyMetadata CustomTabIdMetadata = default(PropertyMetadata), string DocumentId = default(string), PropertyMetadata DocumentIdMetadata = default(PropertyMetadata), ErrorDetails ErrorDetails = default(ErrorDetails), ExtensionData ExtensionData = default(ExtensionData), string Font = default(string), string FontColor = default(string), PropertyMetadata FontColorMetadata = default(PropertyMetadata), PropertyMetadata FontMetadata = default(PropertyMetadata), string FontSize = default(string), PropertyMetadata FontSizeMetadata = default(PropertyMetadata), string FormOrder = default(string), PropertyMetadata FormOrderMetadata = default(PropertyMetadata), string FormPageLabel = default(string), PropertyMetadata FormPageLabelMetadata = default(PropertyMetadata), string FormPageNumber = default(string), PropertyMetadata FormPageNumberMetadata = default(PropertyMetadata), string Height = default(string), PropertyMetadata HeightMetadata = default(PropertyMetadata), string Italic = default(string), PropertyMetadata ItalicMetadata = default(PropertyMetadata), LocalePolicyTab LocalePolicy = default(LocalePolicyTab), MergeField MergeField = default(MergeField), string MergeFieldXml = default(string), string Name = default(string), PropertyMetadata NameMetadata = default(PropertyMetadata), string PageNumber = default(string), PropertyMetadata PageNumberMetadata = default(PropertyMetadata), string RecipientId = default(string), string RecipientIdGuid = default(string), PropertyMetadata RecipientIdGuidMetadata = default(PropertyMetadata), PropertyMetadata RecipientIdMetadata = default(PropertyMetadata), SmartContractInformation SmartContractInformation = default(SmartContractInformation), string Source = default(string), string Status = default(string), PropertyMetadata StatusMetadata = default(PropertyMetadata), string TabFullyQualifiedPath = default(string), List TabGroupLabels = default(List), PropertyMetadata TabGroupLabelsMetadata = default(PropertyMetadata), string TabId = default(string), PropertyMetadata TabIdMetadata = default(PropertyMetadata), string TabLabel = default(string), PropertyMetadata TabLabelMetadata = default(PropertyMetadata), string TabOrder = default(string), PropertyMetadata TabOrderMetadata = default(PropertyMetadata), string TabType = default(string), PropertyMetadata TabTypeMetadata = default(PropertyMetadata), string TemplateLocked = default(string), PropertyMetadata TemplateLockedMetadata = default(PropertyMetadata), string TemplateRequired = default(string), PropertyMetadata TemplateRequiredMetadata = default(PropertyMetadata), string Tooltip = default(string), PropertyMetadata ToolTipMetadata = default(PropertyMetadata), string Underline = default(string), PropertyMetadata UnderlineMetadata = default(PropertyMetadata), string Value = default(string), PropertyMetadata ValueMetadata = default(PropertyMetadata), ErrorDetails WarningDetails = default(ErrorDetails), string Width = default(string), PropertyMetadata WidthMetadata = default(PropertyMetadata), string XPosition = default(string), PropertyMetadata XPositionMetadata = default(PropertyMetadata), string YPosition = default(string), PropertyMetadata YPositionMetadata = default(PropertyMetadata)) { this.AgreementAttribute = AgreementAttribute; this.AgreementAttributeLocked = AgreementAttributeLocked; @@ -149,6 +150,7 @@ public SenderName() this.AnchorStringMetadata = AnchorStringMetadata; this.AnchorTabProcessorVersion = AnchorTabProcessorVersion; this.AnchorTabProcessorVersionMetadata = AnchorTabProcessorVersionMetadata; + this.AnchorTabScope = AnchorTabScope; this.AnchorUnits = AnchorUnits; this.AnchorUnitsMetadata = AnchorUnitsMetadata; this.AnchorXOffset = AnchorXOffset; @@ -324,6 +326,11 @@ public SenderName() [DataMember(Name="anchorTabProcessorVersionMetadata", EmitDefaultValue=false)] public PropertyMetadata AnchorTabProcessorVersionMetadata { get; set; } /// + /// Gets or Sets AnchorTabScope + /// + [DataMember(Name="anchorTabScope", EmitDefaultValue=false)] + public string AnchorTabScope { get; set; } + /// /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. /// /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. @@ -810,6 +817,7 @@ public override string ToString() sb.Append(" AnchorStringMetadata: ").Append(AnchorStringMetadata).Append("\n"); sb.Append(" AnchorTabProcessorVersion: ").Append(AnchorTabProcessorVersion).Append("\n"); sb.Append(" AnchorTabProcessorVersionMetadata: ").Append(AnchorTabProcessorVersionMetadata).Append("\n"); + sb.Append(" AnchorTabScope: ").Append(AnchorTabScope).Append("\n"); sb.Append(" AnchorUnits: ").Append(AnchorUnits).Append("\n"); sb.Append(" AnchorUnitsMetadata: ").Append(AnchorUnitsMetadata).Append("\n"); sb.Append(" AnchorXOffset: ").Append(AnchorXOffset).Append("\n"); @@ -1006,6 +1014,11 @@ public bool Equals(SenderName other) this.AnchorTabProcessorVersionMetadata != null && this.AnchorTabProcessorVersionMetadata.Equals(other.AnchorTabProcessorVersionMetadata) ) && + ( + this.AnchorTabScope == other.AnchorTabScope || + this.AnchorTabScope != null && + this.AnchorTabScope.Equals(other.AnchorTabScope) + ) && ( this.AnchorUnits == other.AnchorUnits || this.AnchorUnits != null && @@ -1451,6 +1464,8 @@ public override int GetHashCode() hash = hash * 59 + this.AnchorTabProcessorVersion.GetHashCode(); if (this.AnchorTabProcessorVersionMetadata != null) hash = hash * 59 + this.AnchorTabProcessorVersionMetadata.GetHashCode(); + if (this.AnchorTabScope != null) + hash = hash * 59 + this.AnchorTabScope.GetHashCode(); if (this.AnchorUnits != null) hash = hash * 59 + this.AnchorUnits.GetHashCode(); if (this.AnchorUnitsMetadata != null) diff --git a/sdk/src/DocuSign.eSign/Model/SignHere.cs b/sdk/src/DocuSign.eSign/Model/SignHere.cs index 51164dc31..ff5bd6860 100644 --- a/sdk/src/DocuSign.eSign/Model/SignHere.cs +++ b/sdk/src/DocuSign.eSign/Model/SignHere.cs @@ -51,6 +51,7 @@ public SignHere() /// Metadata that indicates whether the `anchorString` property is editable.. /// AnchorTabProcessorVersion. /// Reserved for DocuSign.. + /// AnchorTabScope. /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.. /// Metadata that indicates whether the `anchorUnits` property is editable.. /// Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.. @@ -125,7 +126,7 @@ public SignHere() /// Metadata that indicates whether the `xPosition` property is editable.. /// This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.. /// Metadata that indicates whether the `yPosition` property is editable.. - public SignHere(string AgreementAttribute = default(string), string AgreementAttributeLocked = default(string), string AnchorAllowWhiteSpaceInCharacters = default(string), PropertyMetadata AnchorAllowWhiteSpaceInCharactersMetadata = default(PropertyMetadata), string AnchorCaseSensitive = default(string), PropertyMetadata AnchorCaseSensitiveMetadata = default(PropertyMetadata), string AnchorHorizontalAlignment = default(string), PropertyMetadata AnchorHorizontalAlignmentMetadata = default(PropertyMetadata), string AnchorIgnoreIfNotPresent = default(string), PropertyMetadata AnchorIgnoreIfNotPresentMetadata = default(PropertyMetadata), string AnchorMatchWholeWord = default(string), PropertyMetadata AnchorMatchWholeWordMetadata = default(PropertyMetadata), string AnchorString = default(string), PropertyMetadata AnchorStringMetadata = default(PropertyMetadata), string AnchorTabProcessorVersion = default(string), PropertyMetadata AnchorTabProcessorVersionMetadata = default(PropertyMetadata), string AnchorUnits = default(string), PropertyMetadata AnchorUnitsMetadata = default(PropertyMetadata), string AnchorXOffset = default(string), PropertyMetadata AnchorXOffsetMetadata = default(PropertyMetadata), string AnchorYOffset = default(string), PropertyMetadata AnchorYOffsetMetadata = default(PropertyMetadata), string Caption = default(string), PropertyMetadata CaptionMetadata = default(PropertyMetadata), string ConditionalParentLabel = default(string), PropertyMetadata ConditionalParentLabelMetadata = default(PropertyMetadata), string ConditionalParentValue = default(string), PropertyMetadata ConditionalParentValueMetadata = default(PropertyMetadata), ConnectedObjectDetails ConnectedObjectDetails = default(ConnectedObjectDetails), string CustomTabId = default(string), PropertyMetadata CustomTabIdMetadata = default(PropertyMetadata), string DocumentId = default(string), PropertyMetadata DocumentIdMetadata = default(PropertyMetadata), ErrorDetails ErrorDetails = default(ErrorDetails), ExtensionData ExtensionData = default(ExtensionData), string FormOrder = default(string), PropertyMetadata FormOrderMetadata = default(PropertyMetadata), string FormPageLabel = default(string), PropertyMetadata FormPageLabelMetadata = default(PropertyMetadata), string FormPageNumber = default(string), PropertyMetadata FormPageNumberMetadata = default(PropertyMetadata), string HandDrawRequired = default(string), string Height = default(string), PropertyMetadata HeightMetadata = default(PropertyMetadata), string IsSealSignTab = default(string), MergeField MergeField = default(MergeField), string MergeFieldXml = default(string), string Name = default(string), PropertyMetadata NameMetadata = default(PropertyMetadata), string Optional = default(string), PropertyMetadata OptionalMetadata = default(PropertyMetadata), string PageNumber = default(string), PropertyMetadata PageNumberMetadata = default(PropertyMetadata), string RecipientId = default(string), string RecipientIdGuid = default(string), PropertyMetadata RecipientIdGuidMetadata = default(PropertyMetadata), PropertyMetadata RecipientIdMetadata = default(PropertyMetadata), string ScaleValue = default(string), PropertyMetadata ScaleValueMetadata = default(PropertyMetadata), SmartContractInformation SmartContractInformation = default(SmartContractInformation), string Source = default(string), Stamp Stamp = default(Stamp), string StampType = default(string), PropertyMetadata StampTypeMetadata = default(PropertyMetadata), string Status = default(string), PropertyMetadata StatusMetadata = default(PropertyMetadata), string TabFullyQualifiedPath = default(string), List TabGroupLabels = default(List), PropertyMetadata TabGroupLabelsMetadata = default(PropertyMetadata), string TabId = default(string), PropertyMetadata TabIdMetadata = default(PropertyMetadata), string TabLabel = default(string), PropertyMetadata TabLabelMetadata = default(PropertyMetadata), string TabOrder = default(string), PropertyMetadata TabOrderMetadata = default(PropertyMetadata), string TabType = default(string), PropertyMetadata TabTypeMetadata = default(PropertyMetadata), string TemplateLocked = default(string), PropertyMetadata TemplateLockedMetadata = default(PropertyMetadata), string TemplateRequired = default(string), PropertyMetadata TemplateRequiredMetadata = default(PropertyMetadata), string Tooltip = default(string), PropertyMetadata ToolTipMetadata = default(PropertyMetadata), ErrorDetails WarningDetails = default(ErrorDetails), string Width = default(string), PropertyMetadata WidthMetadata = default(PropertyMetadata), string XPosition = default(string), PropertyMetadata XPositionMetadata = default(PropertyMetadata), string YPosition = default(string), PropertyMetadata YPositionMetadata = default(PropertyMetadata)) + public SignHere(string AgreementAttribute = default(string), string AgreementAttributeLocked = default(string), string AnchorAllowWhiteSpaceInCharacters = default(string), PropertyMetadata AnchorAllowWhiteSpaceInCharactersMetadata = default(PropertyMetadata), string AnchorCaseSensitive = default(string), PropertyMetadata AnchorCaseSensitiveMetadata = default(PropertyMetadata), string AnchorHorizontalAlignment = default(string), PropertyMetadata AnchorHorizontalAlignmentMetadata = default(PropertyMetadata), string AnchorIgnoreIfNotPresent = default(string), PropertyMetadata AnchorIgnoreIfNotPresentMetadata = default(PropertyMetadata), string AnchorMatchWholeWord = default(string), PropertyMetadata AnchorMatchWholeWordMetadata = default(PropertyMetadata), string AnchorString = default(string), PropertyMetadata AnchorStringMetadata = default(PropertyMetadata), string AnchorTabProcessorVersion = default(string), PropertyMetadata AnchorTabProcessorVersionMetadata = default(PropertyMetadata), string AnchorTabScope = default(string), string AnchorUnits = default(string), PropertyMetadata AnchorUnitsMetadata = default(PropertyMetadata), string AnchorXOffset = default(string), PropertyMetadata AnchorXOffsetMetadata = default(PropertyMetadata), string AnchorYOffset = default(string), PropertyMetadata AnchorYOffsetMetadata = default(PropertyMetadata), string Caption = default(string), PropertyMetadata CaptionMetadata = default(PropertyMetadata), string ConditionalParentLabel = default(string), PropertyMetadata ConditionalParentLabelMetadata = default(PropertyMetadata), string ConditionalParentValue = default(string), PropertyMetadata ConditionalParentValueMetadata = default(PropertyMetadata), ConnectedObjectDetails ConnectedObjectDetails = default(ConnectedObjectDetails), string CustomTabId = default(string), PropertyMetadata CustomTabIdMetadata = default(PropertyMetadata), string DocumentId = default(string), PropertyMetadata DocumentIdMetadata = default(PropertyMetadata), ErrorDetails ErrorDetails = default(ErrorDetails), ExtensionData ExtensionData = default(ExtensionData), string FormOrder = default(string), PropertyMetadata FormOrderMetadata = default(PropertyMetadata), string FormPageLabel = default(string), PropertyMetadata FormPageLabelMetadata = default(PropertyMetadata), string FormPageNumber = default(string), PropertyMetadata FormPageNumberMetadata = default(PropertyMetadata), string HandDrawRequired = default(string), string Height = default(string), PropertyMetadata HeightMetadata = default(PropertyMetadata), string IsSealSignTab = default(string), MergeField MergeField = default(MergeField), string MergeFieldXml = default(string), string Name = default(string), PropertyMetadata NameMetadata = default(PropertyMetadata), string Optional = default(string), PropertyMetadata OptionalMetadata = default(PropertyMetadata), string PageNumber = default(string), PropertyMetadata PageNumberMetadata = default(PropertyMetadata), string RecipientId = default(string), string RecipientIdGuid = default(string), PropertyMetadata RecipientIdGuidMetadata = default(PropertyMetadata), PropertyMetadata RecipientIdMetadata = default(PropertyMetadata), string ScaleValue = default(string), PropertyMetadata ScaleValueMetadata = default(PropertyMetadata), SmartContractInformation SmartContractInformation = default(SmartContractInformation), string Source = default(string), Stamp Stamp = default(Stamp), string StampType = default(string), PropertyMetadata StampTypeMetadata = default(PropertyMetadata), string Status = default(string), PropertyMetadata StatusMetadata = default(PropertyMetadata), string TabFullyQualifiedPath = default(string), List TabGroupLabels = default(List), PropertyMetadata TabGroupLabelsMetadata = default(PropertyMetadata), string TabId = default(string), PropertyMetadata TabIdMetadata = default(PropertyMetadata), string TabLabel = default(string), PropertyMetadata TabLabelMetadata = default(PropertyMetadata), string TabOrder = default(string), PropertyMetadata TabOrderMetadata = default(PropertyMetadata), string TabType = default(string), PropertyMetadata TabTypeMetadata = default(PropertyMetadata), string TemplateLocked = default(string), PropertyMetadata TemplateLockedMetadata = default(PropertyMetadata), string TemplateRequired = default(string), PropertyMetadata TemplateRequiredMetadata = default(PropertyMetadata), string Tooltip = default(string), PropertyMetadata ToolTipMetadata = default(PropertyMetadata), ErrorDetails WarningDetails = default(ErrorDetails), string Width = default(string), PropertyMetadata WidthMetadata = default(PropertyMetadata), string XPosition = default(string), PropertyMetadata XPositionMetadata = default(PropertyMetadata), string YPosition = default(string), PropertyMetadata YPositionMetadata = default(PropertyMetadata)) { this.AgreementAttribute = AgreementAttribute; this.AgreementAttributeLocked = AgreementAttributeLocked; @@ -143,6 +144,7 @@ public SignHere() this.AnchorStringMetadata = AnchorStringMetadata; this.AnchorTabProcessorVersion = AnchorTabProcessorVersion; this.AnchorTabProcessorVersionMetadata = AnchorTabProcessorVersionMetadata; + this.AnchorTabScope = AnchorTabScope; this.AnchorUnits = AnchorUnits; this.AnchorUnitsMetadata = AnchorUnitsMetadata; this.AnchorXOffset = AnchorXOffset; @@ -312,6 +314,11 @@ public SignHere() [DataMember(Name="anchorTabProcessorVersionMetadata", EmitDefaultValue=false)] public PropertyMetadata AnchorTabProcessorVersionMetadata { get; set; } /// + /// Gets or Sets AnchorTabScope + /// + [DataMember(Name="anchorTabScope", EmitDefaultValue=false)] + public string AnchorTabScope { get; set; } + /// /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. /// /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. @@ -757,6 +764,7 @@ public override string ToString() sb.Append(" AnchorStringMetadata: ").Append(AnchorStringMetadata).Append("\n"); sb.Append(" AnchorTabProcessorVersion: ").Append(AnchorTabProcessorVersion).Append("\n"); sb.Append(" AnchorTabProcessorVersionMetadata: ").Append(AnchorTabProcessorVersionMetadata).Append("\n"); + sb.Append(" AnchorTabScope: ").Append(AnchorTabScope).Append("\n"); sb.Append(" AnchorUnits: ").Append(AnchorUnits).Append("\n"); sb.Append(" AnchorUnitsMetadata: ").Append(AnchorUnitsMetadata).Append("\n"); sb.Append(" AnchorXOffset: ").Append(AnchorXOffset).Append("\n"); @@ -947,6 +955,11 @@ public bool Equals(SignHere other) this.AnchorTabProcessorVersionMetadata != null && this.AnchorTabProcessorVersionMetadata.Equals(other.AnchorTabProcessorVersionMetadata) ) && + ( + this.AnchorTabScope == other.AnchorTabScope || + this.AnchorTabScope != null && + this.AnchorTabScope.Equals(other.AnchorTabScope) + ) && ( this.AnchorUnits == other.AnchorUnits || this.AnchorUnits != null && @@ -1362,6 +1375,8 @@ public override int GetHashCode() hash = hash * 59 + this.AnchorTabProcessorVersion.GetHashCode(); if (this.AnchorTabProcessorVersionMetadata != null) hash = hash * 59 + this.AnchorTabProcessorVersionMetadata.GetHashCode(); + if (this.AnchorTabScope != null) + hash = hash * 59 + this.AnchorTabScope.GetHashCode(); if (this.AnchorUnits != null) hash = hash * 59 + this.AnchorUnits.GetHashCode(); if (this.AnchorUnitsMetadata != null) diff --git a/sdk/src/DocuSign.eSign/Model/SignerAttachment.cs b/sdk/src/DocuSign.eSign/Model/SignerAttachment.cs index 2dfb69569..6461558bc 100644 --- a/sdk/src/DocuSign.eSign/Model/SignerAttachment.cs +++ b/sdk/src/DocuSign.eSign/Model/SignerAttachment.cs @@ -51,6 +51,7 @@ public SignerAttachment() /// Metadata that indicates whether the `anchorString` property is editable.. /// AnchorTabProcessorVersion. /// Reserved for DocuSign.. + /// AnchorTabScope. /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.. /// Metadata that indicates whether the `anchorUnits` property is editable.. /// Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.. @@ -121,7 +122,7 @@ public SignerAttachment() /// Metadata that indicates whether the `xPosition` property is editable.. /// This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.. /// Metadata that indicates whether the `yPosition` property is editable.. - public SignerAttachment(string AgreementAttribute = default(string), string AgreementAttributeLocked = default(string), string AnchorAllowWhiteSpaceInCharacters = default(string), PropertyMetadata AnchorAllowWhiteSpaceInCharactersMetadata = default(PropertyMetadata), string AnchorCaseSensitive = default(string), PropertyMetadata AnchorCaseSensitiveMetadata = default(PropertyMetadata), string AnchorHorizontalAlignment = default(string), PropertyMetadata AnchorHorizontalAlignmentMetadata = default(PropertyMetadata), string AnchorIgnoreIfNotPresent = default(string), PropertyMetadata AnchorIgnoreIfNotPresentMetadata = default(PropertyMetadata), string AnchorMatchWholeWord = default(string), PropertyMetadata AnchorMatchWholeWordMetadata = default(PropertyMetadata), string AnchorString = default(string), PropertyMetadata AnchorStringMetadata = default(PropertyMetadata), string AnchorTabProcessorVersion = default(string), PropertyMetadata AnchorTabProcessorVersionMetadata = default(PropertyMetadata), string AnchorUnits = default(string), PropertyMetadata AnchorUnitsMetadata = default(PropertyMetadata), string AnchorXOffset = default(string), PropertyMetadata AnchorXOffsetMetadata = default(PropertyMetadata), string AnchorYOffset = default(string), PropertyMetadata AnchorYOffsetMetadata = default(PropertyMetadata), string Caption = default(string), PropertyMetadata CaptionMetadata = default(PropertyMetadata), string ConditionalParentLabel = default(string), PropertyMetadata ConditionalParentLabelMetadata = default(PropertyMetadata), string ConditionalParentValue = default(string), PropertyMetadata ConditionalParentValueMetadata = default(PropertyMetadata), ConnectedObjectDetails ConnectedObjectDetails = default(ConnectedObjectDetails), string CustomTabId = default(string), PropertyMetadata CustomTabIdMetadata = default(PropertyMetadata), string DocumentId = default(string), PropertyMetadata DocumentIdMetadata = default(PropertyMetadata), ErrorDetails ErrorDetails = default(ErrorDetails), ExtensionData ExtensionData = default(ExtensionData), string FormOrder = default(string), PropertyMetadata FormOrderMetadata = default(PropertyMetadata), string FormPageLabel = default(string), PropertyMetadata FormPageLabelMetadata = default(PropertyMetadata), string FormPageNumber = default(string), PropertyMetadata FormPageNumberMetadata = default(PropertyMetadata), string HandDrawRequired = default(string), string Height = default(string), PropertyMetadata HeightMetadata = default(PropertyMetadata), MergeField MergeField = default(MergeField), string MergeFieldXml = default(string), string Name = default(string), PropertyMetadata NameMetadata = default(PropertyMetadata), string Optional = default(string), PropertyMetadata OptionalMetadata = default(PropertyMetadata), string PageNumber = default(string), PropertyMetadata PageNumberMetadata = default(PropertyMetadata), string RecipientId = default(string), string RecipientIdGuid = default(string), PropertyMetadata RecipientIdGuidMetadata = default(PropertyMetadata), PropertyMetadata RecipientIdMetadata = default(PropertyMetadata), string ScaleValue = default(string), PropertyMetadata ScaleValueMetadata = default(PropertyMetadata), SmartContractInformation SmartContractInformation = default(SmartContractInformation), string Source = default(string), string Status = default(string), PropertyMetadata StatusMetadata = default(PropertyMetadata), string TabFullyQualifiedPath = default(string), List TabGroupLabels = default(List), PropertyMetadata TabGroupLabelsMetadata = default(PropertyMetadata), string TabId = default(string), PropertyMetadata TabIdMetadata = default(PropertyMetadata), string TabLabel = default(string), PropertyMetadata TabLabelMetadata = default(PropertyMetadata), string TabOrder = default(string), PropertyMetadata TabOrderMetadata = default(PropertyMetadata), string TabType = default(string), PropertyMetadata TabTypeMetadata = default(PropertyMetadata), string TemplateLocked = default(string), PropertyMetadata TemplateLockedMetadata = default(PropertyMetadata), string TemplateRequired = default(string), PropertyMetadata TemplateRequiredMetadata = default(PropertyMetadata), string Tooltip = default(string), PropertyMetadata ToolTipMetadata = default(PropertyMetadata), ErrorDetails WarningDetails = default(ErrorDetails), string Width = default(string), PropertyMetadata WidthMetadata = default(PropertyMetadata), string XPosition = default(string), PropertyMetadata XPositionMetadata = default(PropertyMetadata), string YPosition = default(string), PropertyMetadata YPositionMetadata = default(PropertyMetadata)) + public SignerAttachment(string AgreementAttribute = default(string), string AgreementAttributeLocked = default(string), string AnchorAllowWhiteSpaceInCharacters = default(string), PropertyMetadata AnchorAllowWhiteSpaceInCharactersMetadata = default(PropertyMetadata), string AnchorCaseSensitive = default(string), PropertyMetadata AnchorCaseSensitiveMetadata = default(PropertyMetadata), string AnchorHorizontalAlignment = default(string), PropertyMetadata AnchorHorizontalAlignmentMetadata = default(PropertyMetadata), string AnchorIgnoreIfNotPresent = default(string), PropertyMetadata AnchorIgnoreIfNotPresentMetadata = default(PropertyMetadata), string AnchorMatchWholeWord = default(string), PropertyMetadata AnchorMatchWholeWordMetadata = default(PropertyMetadata), string AnchorString = default(string), PropertyMetadata AnchorStringMetadata = default(PropertyMetadata), string AnchorTabProcessorVersion = default(string), PropertyMetadata AnchorTabProcessorVersionMetadata = default(PropertyMetadata), string AnchorTabScope = default(string), string AnchorUnits = default(string), PropertyMetadata AnchorUnitsMetadata = default(PropertyMetadata), string AnchorXOffset = default(string), PropertyMetadata AnchorXOffsetMetadata = default(PropertyMetadata), string AnchorYOffset = default(string), PropertyMetadata AnchorYOffsetMetadata = default(PropertyMetadata), string Caption = default(string), PropertyMetadata CaptionMetadata = default(PropertyMetadata), string ConditionalParentLabel = default(string), PropertyMetadata ConditionalParentLabelMetadata = default(PropertyMetadata), string ConditionalParentValue = default(string), PropertyMetadata ConditionalParentValueMetadata = default(PropertyMetadata), ConnectedObjectDetails ConnectedObjectDetails = default(ConnectedObjectDetails), string CustomTabId = default(string), PropertyMetadata CustomTabIdMetadata = default(PropertyMetadata), string DocumentId = default(string), PropertyMetadata DocumentIdMetadata = default(PropertyMetadata), ErrorDetails ErrorDetails = default(ErrorDetails), ExtensionData ExtensionData = default(ExtensionData), string FormOrder = default(string), PropertyMetadata FormOrderMetadata = default(PropertyMetadata), string FormPageLabel = default(string), PropertyMetadata FormPageLabelMetadata = default(PropertyMetadata), string FormPageNumber = default(string), PropertyMetadata FormPageNumberMetadata = default(PropertyMetadata), string HandDrawRequired = default(string), string Height = default(string), PropertyMetadata HeightMetadata = default(PropertyMetadata), MergeField MergeField = default(MergeField), string MergeFieldXml = default(string), string Name = default(string), PropertyMetadata NameMetadata = default(PropertyMetadata), string Optional = default(string), PropertyMetadata OptionalMetadata = default(PropertyMetadata), string PageNumber = default(string), PropertyMetadata PageNumberMetadata = default(PropertyMetadata), string RecipientId = default(string), string RecipientIdGuid = default(string), PropertyMetadata RecipientIdGuidMetadata = default(PropertyMetadata), PropertyMetadata RecipientIdMetadata = default(PropertyMetadata), string ScaleValue = default(string), PropertyMetadata ScaleValueMetadata = default(PropertyMetadata), SmartContractInformation SmartContractInformation = default(SmartContractInformation), string Source = default(string), string Status = default(string), PropertyMetadata StatusMetadata = default(PropertyMetadata), string TabFullyQualifiedPath = default(string), List TabGroupLabels = default(List), PropertyMetadata TabGroupLabelsMetadata = default(PropertyMetadata), string TabId = default(string), PropertyMetadata TabIdMetadata = default(PropertyMetadata), string TabLabel = default(string), PropertyMetadata TabLabelMetadata = default(PropertyMetadata), string TabOrder = default(string), PropertyMetadata TabOrderMetadata = default(PropertyMetadata), string TabType = default(string), PropertyMetadata TabTypeMetadata = default(PropertyMetadata), string TemplateLocked = default(string), PropertyMetadata TemplateLockedMetadata = default(PropertyMetadata), string TemplateRequired = default(string), PropertyMetadata TemplateRequiredMetadata = default(PropertyMetadata), string Tooltip = default(string), PropertyMetadata ToolTipMetadata = default(PropertyMetadata), ErrorDetails WarningDetails = default(ErrorDetails), string Width = default(string), PropertyMetadata WidthMetadata = default(PropertyMetadata), string XPosition = default(string), PropertyMetadata XPositionMetadata = default(PropertyMetadata), string YPosition = default(string), PropertyMetadata YPositionMetadata = default(PropertyMetadata)) { this.AgreementAttribute = AgreementAttribute; this.AgreementAttributeLocked = AgreementAttributeLocked; @@ -139,6 +140,7 @@ public SignerAttachment() this.AnchorStringMetadata = AnchorStringMetadata; this.AnchorTabProcessorVersion = AnchorTabProcessorVersion; this.AnchorTabProcessorVersionMetadata = AnchorTabProcessorVersionMetadata; + this.AnchorTabScope = AnchorTabScope; this.AnchorUnits = AnchorUnits; this.AnchorUnitsMetadata = AnchorUnitsMetadata; this.AnchorXOffset = AnchorXOffset; @@ -304,6 +306,11 @@ public SignerAttachment() [DataMember(Name="anchorTabProcessorVersionMetadata", EmitDefaultValue=false)] public PropertyMetadata AnchorTabProcessorVersionMetadata { get; set; } /// + /// Gets or Sets AnchorTabScope + /// + [DataMember(Name="anchorTabScope", EmitDefaultValue=false)] + public string AnchorTabScope { get; set; } + /// /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. /// /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. @@ -727,6 +734,7 @@ public override string ToString() sb.Append(" AnchorStringMetadata: ").Append(AnchorStringMetadata).Append("\n"); sb.Append(" AnchorTabProcessorVersion: ").Append(AnchorTabProcessorVersion).Append("\n"); sb.Append(" AnchorTabProcessorVersionMetadata: ").Append(AnchorTabProcessorVersionMetadata).Append("\n"); + sb.Append(" AnchorTabScope: ").Append(AnchorTabScope).Append("\n"); sb.Append(" AnchorUnits: ").Append(AnchorUnits).Append("\n"); sb.Append(" AnchorUnitsMetadata: ").Append(AnchorUnitsMetadata).Append("\n"); sb.Append(" AnchorXOffset: ").Append(AnchorXOffset).Append("\n"); @@ -913,6 +921,11 @@ public bool Equals(SignerAttachment other) this.AnchorTabProcessorVersionMetadata != null && this.AnchorTabProcessorVersionMetadata.Equals(other.AnchorTabProcessorVersionMetadata) ) && + ( + this.AnchorTabScope == other.AnchorTabScope || + this.AnchorTabScope != null && + this.AnchorTabScope.Equals(other.AnchorTabScope) + ) && ( this.AnchorUnits == other.AnchorUnits || this.AnchorUnits != null && @@ -1308,6 +1321,8 @@ public override int GetHashCode() hash = hash * 59 + this.AnchorTabProcessorVersion.GetHashCode(); if (this.AnchorTabProcessorVersionMetadata != null) hash = hash * 59 + this.AnchorTabProcessorVersionMetadata.GetHashCode(); + if (this.AnchorTabScope != null) + hash = hash * 59 + this.AnchorTabScope.GetHashCode(); if (this.AnchorUnits != null) hash = hash * 59 + this.AnchorUnits.GetHashCode(); if (this.AnchorUnitsMetadata != null) diff --git a/sdk/src/DocuSign.eSign/Model/SmartSection.cs b/sdk/src/DocuSign.eSign/Model/SmartSection.cs index 6fc300b0b..1c16d0c17 100644 --- a/sdk/src/DocuSign.eSign/Model/SmartSection.cs +++ b/sdk/src/DocuSign.eSign/Model/SmartSection.cs @@ -51,6 +51,7 @@ public SmartSection() /// Metadata that indicates whether the `anchorString` property is editable.. /// AnchorTabProcessorVersion. /// Reserved for DocuSign.. + /// AnchorTabScope. /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.. /// Metadata that indicates whether the `anchorUnits` property is editable.. /// Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.. @@ -127,7 +128,7 @@ public SmartSection() /// Metadata that indicates whether the `xPosition` property is editable.. /// This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.. /// Metadata that indicates whether the `yPosition` property is editable.. - public SmartSection(string AgreementAttribute = default(string), string AgreementAttributeLocked = default(string), string AnchorAllowWhiteSpaceInCharacters = default(string), PropertyMetadata AnchorAllowWhiteSpaceInCharactersMetadata = default(PropertyMetadata), string AnchorCaseSensitive = default(string), PropertyMetadata AnchorCaseSensitiveMetadata = default(PropertyMetadata), string AnchorHorizontalAlignment = default(string), PropertyMetadata AnchorHorizontalAlignmentMetadata = default(PropertyMetadata), string AnchorIgnoreIfNotPresent = default(string), PropertyMetadata AnchorIgnoreIfNotPresentMetadata = default(PropertyMetadata), string AnchorMatchWholeWord = default(string), PropertyMetadata AnchorMatchWholeWordMetadata = default(PropertyMetadata), string AnchorString = default(string), PropertyMetadata AnchorStringMetadata = default(PropertyMetadata), string AnchorTabProcessorVersion = default(string), PropertyMetadata AnchorTabProcessorVersionMetadata = default(PropertyMetadata), string AnchorUnits = default(string), PropertyMetadata AnchorUnitsMetadata = default(PropertyMetadata), string AnchorXOffset = default(string), PropertyMetadata AnchorXOffsetMetadata = default(PropertyMetadata), string AnchorYOffset = default(string), PropertyMetadata AnchorYOffsetMetadata = default(PropertyMetadata), string Caption = default(string), PropertyMetadata CaptionMetadata = default(PropertyMetadata), bool? CaseSensitive = default(bool?), string ConditionalParentLabel = default(string), PropertyMetadata ConditionalParentLabelMetadata = default(PropertyMetadata), string ConditionalParentValue = default(string), PropertyMetadata ConditionalParentValueMetadata = default(PropertyMetadata), ConnectedObjectDetails ConnectedObjectDetails = default(ConnectedObjectDetails), string CustomTabId = default(string), PropertyMetadata CustomTabIdMetadata = default(PropertyMetadata), SmartSectionDisplaySettings DisplaySettings = default(SmartSectionDisplaySettings), string DocumentId = default(string), PropertyMetadata DocumentIdMetadata = default(PropertyMetadata), string EndAnchor = default(string), SmartSectionAnchorPosition EndPosition = default(SmartSectionAnchorPosition), ErrorDetails ErrorDetails = default(ErrorDetails), ExtensionData ExtensionData = default(ExtensionData), string FormOrder = default(string), PropertyMetadata FormOrderMetadata = default(PropertyMetadata), string FormPageLabel = default(string), PropertyMetadata FormPageLabelMetadata = default(PropertyMetadata), string FormPageNumber = default(string), PropertyMetadata FormPageNumberMetadata = default(PropertyMetadata), string Height = default(string), PropertyMetadata HeightMetadata = default(PropertyMetadata), string Locked = default(string), PropertyMetadata LockedMetadata = default(PropertyMetadata), MergeField MergeField = default(MergeField), string MergeFieldXml = default(string), string OverlayType = default(string), PropertyMetadata OverlayTypeMetadata = default(PropertyMetadata), string PageNumber = default(string), PropertyMetadata PageNumberMetadata = default(PropertyMetadata), string RecipientId = default(string), string RecipientIdGuid = default(string), PropertyMetadata RecipientIdGuidMetadata = default(PropertyMetadata), PropertyMetadata RecipientIdMetadata = default(PropertyMetadata), bool? RemoveEndAnchor = default(bool?), bool? RemoveStartAnchor = default(bool?), string Shared = default(string), PropertyMetadata SharedMetadata = default(PropertyMetadata), SmartContractInformation SmartContractInformation = default(SmartContractInformation), string Source = default(string), string StartAnchor = default(string), SmartSectionAnchorPosition StartPosition = default(SmartSectionAnchorPosition), string Status = default(string), PropertyMetadata StatusMetadata = default(PropertyMetadata), string TabFullyQualifiedPath = default(string), List TabGroupLabels = default(List), PropertyMetadata TabGroupLabelsMetadata = default(PropertyMetadata), string TabId = default(string), PropertyMetadata TabIdMetadata = default(PropertyMetadata), string TabLabel = default(string), string TabOrder = default(string), PropertyMetadata TabOrderMetadata = default(PropertyMetadata), string TabType = default(string), PropertyMetadata TabTypeMetadata = default(PropertyMetadata), string TemplateLocked = default(string), PropertyMetadata TemplateLockedMetadata = default(PropertyMetadata), string TemplateRequired = default(string), PropertyMetadata TemplateRequiredMetadata = default(PropertyMetadata), string Tooltip = default(string), PropertyMetadata ToolTipMetadata = default(PropertyMetadata), ErrorDetails WarningDetails = default(ErrorDetails), string Width = default(string), PropertyMetadata WidthMetadata = default(PropertyMetadata), string XPosition = default(string), PropertyMetadata XPositionMetadata = default(PropertyMetadata), string YPosition = default(string), PropertyMetadata YPositionMetadata = default(PropertyMetadata)) + public SmartSection(string AgreementAttribute = default(string), string AgreementAttributeLocked = default(string), string AnchorAllowWhiteSpaceInCharacters = default(string), PropertyMetadata AnchorAllowWhiteSpaceInCharactersMetadata = default(PropertyMetadata), string AnchorCaseSensitive = default(string), PropertyMetadata AnchorCaseSensitiveMetadata = default(PropertyMetadata), string AnchorHorizontalAlignment = default(string), PropertyMetadata AnchorHorizontalAlignmentMetadata = default(PropertyMetadata), string AnchorIgnoreIfNotPresent = default(string), PropertyMetadata AnchorIgnoreIfNotPresentMetadata = default(PropertyMetadata), string AnchorMatchWholeWord = default(string), PropertyMetadata AnchorMatchWholeWordMetadata = default(PropertyMetadata), string AnchorString = default(string), PropertyMetadata AnchorStringMetadata = default(PropertyMetadata), string AnchorTabProcessorVersion = default(string), PropertyMetadata AnchorTabProcessorVersionMetadata = default(PropertyMetadata), string AnchorTabScope = default(string), string AnchorUnits = default(string), PropertyMetadata AnchorUnitsMetadata = default(PropertyMetadata), string AnchorXOffset = default(string), PropertyMetadata AnchorXOffsetMetadata = default(PropertyMetadata), string AnchorYOffset = default(string), PropertyMetadata AnchorYOffsetMetadata = default(PropertyMetadata), string Caption = default(string), PropertyMetadata CaptionMetadata = default(PropertyMetadata), bool? CaseSensitive = default(bool?), string ConditionalParentLabel = default(string), PropertyMetadata ConditionalParentLabelMetadata = default(PropertyMetadata), string ConditionalParentValue = default(string), PropertyMetadata ConditionalParentValueMetadata = default(PropertyMetadata), ConnectedObjectDetails ConnectedObjectDetails = default(ConnectedObjectDetails), string CustomTabId = default(string), PropertyMetadata CustomTabIdMetadata = default(PropertyMetadata), SmartSectionDisplaySettings DisplaySettings = default(SmartSectionDisplaySettings), string DocumentId = default(string), PropertyMetadata DocumentIdMetadata = default(PropertyMetadata), string EndAnchor = default(string), SmartSectionAnchorPosition EndPosition = default(SmartSectionAnchorPosition), ErrorDetails ErrorDetails = default(ErrorDetails), ExtensionData ExtensionData = default(ExtensionData), string FormOrder = default(string), PropertyMetadata FormOrderMetadata = default(PropertyMetadata), string FormPageLabel = default(string), PropertyMetadata FormPageLabelMetadata = default(PropertyMetadata), string FormPageNumber = default(string), PropertyMetadata FormPageNumberMetadata = default(PropertyMetadata), string Height = default(string), PropertyMetadata HeightMetadata = default(PropertyMetadata), string Locked = default(string), PropertyMetadata LockedMetadata = default(PropertyMetadata), MergeField MergeField = default(MergeField), string MergeFieldXml = default(string), string OverlayType = default(string), PropertyMetadata OverlayTypeMetadata = default(PropertyMetadata), string PageNumber = default(string), PropertyMetadata PageNumberMetadata = default(PropertyMetadata), string RecipientId = default(string), string RecipientIdGuid = default(string), PropertyMetadata RecipientIdGuidMetadata = default(PropertyMetadata), PropertyMetadata RecipientIdMetadata = default(PropertyMetadata), bool? RemoveEndAnchor = default(bool?), bool? RemoveStartAnchor = default(bool?), string Shared = default(string), PropertyMetadata SharedMetadata = default(PropertyMetadata), SmartContractInformation SmartContractInformation = default(SmartContractInformation), string Source = default(string), string StartAnchor = default(string), SmartSectionAnchorPosition StartPosition = default(SmartSectionAnchorPosition), string Status = default(string), PropertyMetadata StatusMetadata = default(PropertyMetadata), string TabFullyQualifiedPath = default(string), List TabGroupLabels = default(List), PropertyMetadata TabGroupLabelsMetadata = default(PropertyMetadata), string TabId = default(string), PropertyMetadata TabIdMetadata = default(PropertyMetadata), string TabLabel = default(string), string TabOrder = default(string), PropertyMetadata TabOrderMetadata = default(PropertyMetadata), string TabType = default(string), PropertyMetadata TabTypeMetadata = default(PropertyMetadata), string TemplateLocked = default(string), PropertyMetadata TemplateLockedMetadata = default(PropertyMetadata), string TemplateRequired = default(string), PropertyMetadata TemplateRequiredMetadata = default(PropertyMetadata), string Tooltip = default(string), PropertyMetadata ToolTipMetadata = default(PropertyMetadata), ErrorDetails WarningDetails = default(ErrorDetails), string Width = default(string), PropertyMetadata WidthMetadata = default(PropertyMetadata), string XPosition = default(string), PropertyMetadata XPositionMetadata = default(PropertyMetadata), string YPosition = default(string), PropertyMetadata YPositionMetadata = default(PropertyMetadata)) { this.AgreementAttribute = AgreementAttribute; this.AgreementAttributeLocked = AgreementAttributeLocked; @@ -145,6 +146,7 @@ public SmartSection() this.AnchorStringMetadata = AnchorStringMetadata; this.AnchorTabProcessorVersion = AnchorTabProcessorVersion; this.AnchorTabProcessorVersionMetadata = AnchorTabProcessorVersionMetadata; + this.AnchorTabScope = AnchorTabScope; this.AnchorUnits = AnchorUnits; this.AnchorUnitsMetadata = AnchorUnitsMetadata; this.AnchorXOffset = AnchorXOffset; @@ -316,6 +318,11 @@ public SmartSection() [DataMember(Name="anchorTabProcessorVersionMetadata", EmitDefaultValue=false)] public PropertyMetadata AnchorTabProcessorVersionMetadata { get; set; } /// + /// Gets or Sets AnchorTabScope + /// + [DataMember(Name="anchorTabScope", EmitDefaultValue=false)] + public string AnchorTabScope { get; set; } + /// /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. /// /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. @@ -773,6 +780,7 @@ public override string ToString() sb.Append(" AnchorStringMetadata: ").Append(AnchorStringMetadata).Append("\n"); sb.Append(" AnchorTabProcessorVersion: ").Append(AnchorTabProcessorVersion).Append("\n"); sb.Append(" AnchorTabProcessorVersionMetadata: ").Append(AnchorTabProcessorVersionMetadata).Append("\n"); + sb.Append(" AnchorTabScope: ").Append(AnchorTabScope).Append("\n"); sb.Append(" AnchorUnits: ").Append(AnchorUnits).Append("\n"); sb.Append(" AnchorUnitsMetadata: ").Append(AnchorUnitsMetadata).Append("\n"); sb.Append(" AnchorXOffset: ").Append(AnchorXOffset).Append("\n"); @@ -965,6 +973,11 @@ public bool Equals(SmartSection other) this.AnchorTabProcessorVersionMetadata != null && this.AnchorTabProcessorVersionMetadata.Equals(other.AnchorTabProcessorVersionMetadata) ) && + ( + this.AnchorTabScope == other.AnchorTabScope || + this.AnchorTabScope != null && + this.AnchorTabScope.Equals(other.AnchorTabScope) + ) && ( this.AnchorUnits == other.AnchorUnits || this.AnchorUnits != null && @@ -1390,6 +1403,8 @@ public override int GetHashCode() hash = hash * 59 + this.AnchorTabProcessorVersion.GetHashCode(); if (this.AnchorTabProcessorVersionMetadata != null) hash = hash * 59 + this.AnchorTabProcessorVersionMetadata.GetHashCode(); + if (this.AnchorTabScope != null) + hash = hash * 59 + this.AnchorTabScope.GetHashCode(); if (this.AnchorUnits != null) hash = hash * 59 + this.AnchorUnits.GetHashCode(); if (this.AnchorUnitsMetadata != null) diff --git a/sdk/src/DocuSign.eSign/Model/Ssn.cs b/sdk/src/DocuSign.eSign/Model/Ssn.cs index 50e7b188c..700d6ee35 100644 --- a/sdk/src/DocuSign.eSign/Model/Ssn.cs +++ b/sdk/src/DocuSign.eSign/Model/Ssn.cs @@ -51,6 +51,7 @@ public Ssn() /// Metadata that indicates whether the `anchorString` property is editable.. /// AnchorTabProcessorVersion. /// Reserved for DocuSign.. + /// AnchorTabScope. /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.. /// Metadata that indicates whether the `anchorUnits` property is editable.. /// Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.. @@ -157,7 +158,7 @@ public Ssn() /// Metadata that indicates whether the `xPosition` property is editable.. /// This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.. /// Metadata that indicates whether the `yPosition` property is editable.. - public Ssn(string AgreementAttribute = default(string), string AgreementAttributeLocked = default(string), string AnchorAllowWhiteSpaceInCharacters = default(string), PropertyMetadata AnchorAllowWhiteSpaceInCharactersMetadata = default(PropertyMetadata), string AnchorCaseSensitive = default(string), PropertyMetadata AnchorCaseSensitiveMetadata = default(PropertyMetadata), string AnchorHorizontalAlignment = default(string), PropertyMetadata AnchorHorizontalAlignmentMetadata = default(PropertyMetadata), string AnchorIgnoreIfNotPresent = default(string), PropertyMetadata AnchorIgnoreIfNotPresentMetadata = default(PropertyMetadata), string AnchorMatchWholeWord = default(string), PropertyMetadata AnchorMatchWholeWordMetadata = default(PropertyMetadata), string AnchorString = default(string), PropertyMetadata AnchorStringMetadata = default(PropertyMetadata), string AnchorTabProcessorVersion = default(string), PropertyMetadata AnchorTabProcessorVersionMetadata = default(PropertyMetadata), string AnchorUnits = default(string), PropertyMetadata AnchorUnitsMetadata = default(PropertyMetadata), string AnchorXOffset = default(string), PropertyMetadata AnchorXOffsetMetadata = default(PropertyMetadata), string AnchorYOffset = default(string), PropertyMetadata AnchorYOffsetMetadata = default(PropertyMetadata), string Bold = default(string), PropertyMetadata BoldMetadata = default(PropertyMetadata), string Caption = default(string), PropertyMetadata CaptionMetadata = default(PropertyMetadata), string ConcealValueOnDocument = default(string), PropertyMetadata ConcealValueOnDocumentMetadata = default(PropertyMetadata), string ConditionalParentLabel = default(string), PropertyMetadata ConditionalParentLabelMetadata = default(PropertyMetadata), string ConditionalParentValue = default(string), PropertyMetadata ConditionalParentValueMetadata = default(PropertyMetadata), ConnectedObjectDetails ConnectedObjectDetails = default(ConnectedObjectDetails), string CustomTabId = default(string), PropertyMetadata CustomTabIdMetadata = default(PropertyMetadata), string DisableAutoSize = default(string), PropertyMetadata DisableAutoSizeMetadata = default(PropertyMetadata), string DocumentId = default(string), PropertyMetadata DocumentIdMetadata = default(PropertyMetadata), ErrorDetails ErrorDetails = default(ErrorDetails), ExtensionData ExtensionData = default(ExtensionData), string Font = default(string), string FontColor = default(string), PropertyMetadata FontColorMetadata = default(PropertyMetadata), PropertyMetadata FontMetadata = default(PropertyMetadata), string FontSize = default(string), PropertyMetadata FontSizeMetadata = default(PropertyMetadata), string FormOrder = default(string), PropertyMetadata FormOrderMetadata = default(PropertyMetadata), string FormPageLabel = default(string), PropertyMetadata FormPageLabelMetadata = default(PropertyMetadata), string FormPageNumber = default(string), PropertyMetadata FormPageNumberMetadata = default(PropertyMetadata), string Height = default(string), PropertyMetadata HeightMetadata = default(PropertyMetadata), string Italic = default(string), PropertyMetadata ItalicMetadata = default(PropertyMetadata), LocalePolicyTab LocalePolicy = default(LocalePolicyTab), string Locked = default(string), PropertyMetadata LockedMetadata = default(PropertyMetadata), string MaxLength = default(string), PropertyMetadata MaxLengthMetadata = default(PropertyMetadata), MergeField MergeField = default(MergeField), string MergeFieldXml = default(string), string Name = default(string), PropertyMetadata NameMetadata = default(PropertyMetadata), string OriginalValue = default(string), PropertyMetadata OriginalValueMetadata = default(PropertyMetadata), string PageNumber = default(string), PropertyMetadata PageNumberMetadata = default(PropertyMetadata), string RecipientId = default(string), string RecipientIdGuid = default(string), PropertyMetadata RecipientIdGuidMetadata = default(PropertyMetadata), PropertyMetadata RecipientIdMetadata = default(PropertyMetadata), string RequireAll = default(string), PropertyMetadata RequireAllMetadata = default(PropertyMetadata), string Required = default(string), PropertyMetadata RequiredMetadata = default(PropertyMetadata), string RequireInitialOnSharedChange = default(string), PropertyMetadata RequireInitialOnSharedChangeMetadata = default(PropertyMetadata), string SenderRequired = default(string), PropertyMetadata SenderRequiredMetadata = default(PropertyMetadata), string Shared = default(string), PropertyMetadata SharedMetadata = default(PropertyMetadata), string ShareToRecipients = default(string), PropertyMetadata ShareToRecipientsMetadata = default(PropertyMetadata), SmartContractInformation SmartContractInformation = default(SmartContractInformation), string Source = default(string), string Status = default(string), PropertyMetadata StatusMetadata = default(PropertyMetadata), string TabFullyQualifiedPath = default(string), List TabGroupLabels = default(List), PropertyMetadata TabGroupLabelsMetadata = default(PropertyMetadata), string TabId = default(string), PropertyMetadata TabIdMetadata = default(PropertyMetadata), string TabLabel = default(string), PropertyMetadata TabLabelMetadata = default(PropertyMetadata), string TabOrder = default(string), PropertyMetadata TabOrderMetadata = default(PropertyMetadata), string TabType = default(string), PropertyMetadata TabTypeMetadata = default(PropertyMetadata), string TemplateLocked = default(string), PropertyMetadata TemplateLockedMetadata = default(PropertyMetadata), string TemplateRequired = default(string), PropertyMetadata TemplateRequiredMetadata = default(PropertyMetadata), string Tooltip = default(string), PropertyMetadata ToolTipMetadata = default(PropertyMetadata), string Underline = default(string), PropertyMetadata UnderlineMetadata = default(PropertyMetadata), string ValidationMessage = default(string), PropertyMetadata ValidationMessageMetadata = default(PropertyMetadata), string ValidationPattern = default(string), PropertyMetadata ValidationPatternMetadata = default(PropertyMetadata), string Value = default(string), PropertyMetadata ValueMetadata = default(PropertyMetadata), ErrorDetails WarningDetails = default(ErrorDetails), string Width = default(string), PropertyMetadata WidthMetadata = default(PropertyMetadata), string XPosition = default(string), PropertyMetadata XPositionMetadata = default(PropertyMetadata), string YPosition = default(string), PropertyMetadata YPositionMetadata = default(PropertyMetadata)) + public Ssn(string AgreementAttribute = default(string), string AgreementAttributeLocked = default(string), string AnchorAllowWhiteSpaceInCharacters = default(string), PropertyMetadata AnchorAllowWhiteSpaceInCharactersMetadata = default(PropertyMetadata), string AnchorCaseSensitive = default(string), PropertyMetadata AnchorCaseSensitiveMetadata = default(PropertyMetadata), string AnchorHorizontalAlignment = default(string), PropertyMetadata AnchorHorizontalAlignmentMetadata = default(PropertyMetadata), string AnchorIgnoreIfNotPresent = default(string), PropertyMetadata AnchorIgnoreIfNotPresentMetadata = default(PropertyMetadata), string AnchorMatchWholeWord = default(string), PropertyMetadata AnchorMatchWholeWordMetadata = default(PropertyMetadata), string AnchorString = default(string), PropertyMetadata AnchorStringMetadata = default(PropertyMetadata), string AnchorTabProcessorVersion = default(string), PropertyMetadata AnchorTabProcessorVersionMetadata = default(PropertyMetadata), string AnchorTabScope = default(string), string AnchorUnits = default(string), PropertyMetadata AnchorUnitsMetadata = default(PropertyMetadata), string AnchorXOffset = default(string), PropertyMetadata AnchorXOffsetMetadata = default(PropertyMetadata), string AnchorYOffset = default(string), PropertyMetadata AnchorYOffsetMetadata = default(PropertyMetadata), string Bold = default(string), PropertyMetadata BoldMetadata = default(PropertyMetadata), string Caption = default(string), PropertyMetadata CaptionMetadata = default(PropertyMetadata), string ConcealValueOnDocument = default(string), PropertyMetadata ConcealValueOnDocumentMetadata = default(PropertyMetadata), string ConditionalParentLabel = default(string), PropertyMetadata ConditionalParentLabelMetadata = default(PropertyMetadata), string ConditionalParentValue = default(string), PropertyMetadata ConditionalParentValueMetadata = default(PropertyMetadata), ConnectedObjectDetails ConnectedObjectDetails = default(ConnectedObjectDetails), string CustomTabId = default(string), PropertyMetadata CustomTabIdMetadata = default(PropertyMetadata), string DisableAutoSize = default(string), PropertyMetadata DisableAutoSizeMetadata = default(PropertyMetadata), string DocumentId = default(string), PropertyMetadata DocumentIdMetadata = default(PropertyMetadata), ErrorDetails ErrorDetails = default(ErrorDetails), ExtensionData ExtensionData = default(ExtensionData), string Font = default(string), string FontColor = default(string), PropertyMetadata FontColorMetadata = default(PropertyMetadata), PropertyMetadata FontMetadata = default(PropertyMetadata), string FontSize = default(string), PropertyMetadata FontSizeMetadata = default(PropertyMetadata), string FormOrder = default(string), PropertyMetadata FormOrderMetadata = default(PropertyMetadata), string FormPageLabel = default(string), PropertyMetadata FormPageLabelMetadata = default(PropertyMetadata), string FormPageNumber = default(string), PropertyMetadata FormPageNumberMetadata = default(PropertyMetadata), string Height = default(string), PropertyMetadata HeightMetadata = default(PropertyMetadata), string Italic = default(string), PropertyMetadata ItalicMetadata = default(PropertyMetadata), LocalePolicyTab LocalePolicy = default(LocalePolicyTab), string Locked = default(string), PropertyMetadata LockedMetadata = default(PropertyMetadata), string MaxLength = default(string), PropertyMetadata MaxLengthMetadata = default(PropertyMetadata), MergeField MergeField = default(MergeField), string MergeFieldXml = default(string), string Name = default(string), PropertyMetadata NameMetadata = default(PropertyMetadata), string OriginalValue = default(string), PropertyMetadata OriginalValueMetadata = default(PropertyMetadata), string PageNumber = default(string), PropertyMetadata PageNumberMetadata = default(PropertyMetadata), string RecipientId = default(string), string RecipientIdGuid = default(string), PropertyMetadata RecipientIdGuidMetadata = default(PropertyMetadata), PropertyMetadata RecipientIdMetadata = default(PropertyMetadata), string RequireAll = default(string), PropertyMetadata RequireAllMetadata = default(PropertyMetadata), string Required = default(string), PropertyMetadata RequiredMetadata = default(PropertyMetadata), string RequireInitialOnSharedChange = default(string), PropertyMetadata RequireInitialOnSharedChangeMetadata = default(PropertyMetadata), string SenderRequired = default(string), PropertyMetadata SenderRequiredMetadata = default(PropertyMetadata), string Shared = default(string), PropertyMetadata SharedMetadata = default(PropertyMetadata), string ShareToRecipients = default(string), PropertyMetadata ShareToRecipientsMetadata = default(PropertyMetadata), SmartContractInformation SmartContractInformation = default(SmartContractInformation), string Source = default(string), string Status = default(string), PropertyMetadata StatusMetadata = default(PropertyMetadata), string TabFullyQualifiedPath = default(string), List TabGroupLabels = default(List), PropertyMetadata TabGroupLabelsMetadata = default(PropertyMetadata), string TabId = default(string), PropertyMetadata TabIdMetadata = default(PropertyMetadata), string TabLabel = default(string), PropertyMetadata TabLabelMetadata = default(PropertyMetadata), string TabOrder = default(string), PropertyMetadata TabOrderMetadata = default(PropertyMetadata), string TabType = default(string), PropertyMetadata TabTypeMetadata = default(PropertyMetadata), string TemplateLocked = default(string), PropertyMetadata TemplateLockedMetadata = default(PropertyMetadata), string TemplateRequired = default(string), PropertyMetadata TemplateRequiredMetadata = default(PropertyMetadata), string Tooltip = default(string), PropertyMetadata ToolTipMetadata = default(PropertyMetadata), string Underline = default(string), PropertyMetadata UnderlineMetadata = default(PropertyMetadata), string ValidationMessage = default(string), PropertyMetadata ValidationMessageMetadata = default(PropertyMetadata), string ValidationPattern = default(string), PropertyMetadata ValidationPatternMetadata = default(PropertyMetadata), string Value = default(string), PropertyMetadata ValueMetadata = default(PropertyMetadata), ErrorDetails WarningDetails = default(ErrorDetails), string Width = default(string), PropertyMetadata WidthMetadata = default(PropertyMetadata), string XPosition = default(string), PropertyMetadata XPositionMetadata = default(PropertyMetadata), string YPosition = default(string), PropertyMetadata YPositionMetadata = default(PropertyMetadata)) { this.AgreementAttribute = AgreementAttribute; this.AgreementAttributeLocked = AgreementAttributeLocked; @@ -175,6 +176,7 @@ public Ssn() this.AnchorStringMetadata = AnchorStringMetadata; this.AnchorTabProcessorVersion = AnchorTabProcessorVersion; this.AnchorTabProcessorVersionMetadata = AnchorTabProcessorVersionMetadata; + this.AnchorTabScope = AnchorTabScope; this.AnchorUnits = AnchorUnits; this.AnchorUnitsMetadata = AnchorUnitsMetadata; this.AnchorXOffset = AnchorXOffset; @@ -376,6 +378,11 @@ public Ssn() [DataMember(Name="anchorTabProcessorVersionMetadata", EmitDefaultValue=false)] public PropertyMetadata AnchorTabProcessorVersionMetadata { get; set; } /// + /// Gets or Sets AnchorTabScope + /// + [DataMember(Name="anchorTabScope", EmitDefaultValue=false)] + public string AnchorTabScope { get; set; } + /// /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. /// /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. @@ -1018,6 +1025,7 @@ public override string ToString() sb.Append(" AnchorStringMetadata: ").Append(AnchorStringMetadata).Append("\n"); sb.Append(" AnchorTabProcessorVersion: ").Append(AnchorTabProcessorVersion).Append("\n"); sb.Append(" AnchorTabProcessorVersionMetadata: ").Append(AnchorTabProcessorVersionMetadata).Append("\n"); + sb.Append(" AnchorTabScope: ").Append(AnchorTabScope).Append("\n"); sb.Append(" AnchorUnits: ").Append(AnchorUnits).Append("\n"); sb.Append(" AnchorUnitsMetadata: ").Append(AnchorUnitsMetadata).Append("\n"); sb.Append(" AnchorXOffset: ").Append(AnchorXOffset).Append("\n"); @@ -1240,6 +1248,11 @@ public bool Equals(Ssn other) this.AnchorTabProcessorVersionMetadata != null && this.AnchorTabProcessorVersionMetadata.Equals(other.AnchorTabProcessorVersionMetadata) ) && + ( + this.AnchorTabScope == other.AnchorTabScope || + this.AnchorTabScope != null && + this.AnchorTabScope.Equals(other.AnchorTabScope) + ) && ( this.AnchorUnits == other.AnchorUnits || this.AnchorUnits != null && @@ -1815,6 +1828,8 @@ public override int GetHashCode() hash = hash * 59 + this.AnchorTabProcessorVersion.GetHashCode(); if (this.AnchorTabProcessorVersionMetadata != null) hash = hash * 59 + this.AnchorTabProcessorVersionMetadata.GetHashCode(); + if (this.AnchorTabScope != null) + hash = hash * 59 + this.AnchorTabScope.GetHashCode(); if (this.AnchorUnits != null) hash = hash * 59 + this.AnchorUnits.GetHashCode(); if (this.AnchorUnitsMetadata != null) diff --git a/sdk/src/DocuSign.eSign/Model/TabGroup.cs b/sdk/src/DocuSign.eSign/Model/TabGroup.cs index 773f2a2a7..9b44d8ee2 100644 --- a/sdk/src/DocuSign.eSign/Model/TabGroup.cs +++ b/sdk/src/DocuSign.eSign/Model/TabGroup.cs @@ -51,6 +51,7 @@ public TabGroup() /// Metadata that indicates whether the `anchorString` property is editable.. /// AnchorTabProcessorVersion. /// Reserved for DocuSign.. + /// AnchorTabScope. /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.. /// Metadata that indicates whether the `anchorUnits` property is editable.. /// Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.. @@ -124,7 +125,7 @@ public TabGroup() /// Metadata that indicates whether the `xPosition` property is editable.. /// This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.. /// Metadata that indicates whether the `yPosition` property is editable.. - public TabGroup(string AgreementAttribute = default(string), string AgreementAttributeLocked = default(string), string AnchorAllowWhiteSpaceInCharacters = default(string), PropertyMetadata AnchorAllowWhiteSpaceInCharactersMetadata = default(PropertyMetadata), string AnchorCaseSensitive = default(string), PropertyMetadata AnchorCaseSensitiveMetadata = default(PropertyMetadata), string AnchorHorizontalAlignment = default(string), PropertyMetadata AnchorHorizontalAlignmentMetadata = default(PropertyMetadata), string AnchorIgnoreIfNotPresent = default(string), PropertyMetadata AnchorIgnoreIfNotPresentMetadata = default(PropertyMetadata), string AnchorMatchWholeWord = default(string), PropertyMetadata AnchorMatchWholeWordMetadata = default(PropertyMetadata), string AnchorString = default(string), PropertyMetadata AnchorStringMetadata = default(PropertyMetadata), string AnchorTabProcessorVersion = default(string), PropertyMetadata AnchorTabProcessorVersionMetadata = default(PropertyMetadata), string AnchorUnits = default(string), PropertyMetadata AnchorUnitsMetadata = default(PropertyMetadata), string AnchorXOffset = default(string), PropertyMetadata AnchorXOffsetMetadata = default(PropertyMetadata), string AnchorYOffset = default(string), PropertyMetadata AnchorYOffsetMetadata = default(PropertyMetadata), string Caption = default(string), PropertyMetadata CaptionMetadata = default(PropertyMetadata), string ConditionalParentLabel = default(string), PropertyMetadata ConditionalParentLabelMetadata = default(PropertyMetadata), string ConditionalParentValue = default(string), PropertyMetadata ConditionalParentValueMetadata = default(PropertyMetadata), ConnectedObjectDetails ConnectedObjectDetails = default(ConnectedObjectDetails), string CustomTabId = default(string), PropertyMetadata CustomTabIdMetadata = default(PropertyMetadata), string DocumentId = default(string), PropertyMetadata DocumentIdMetadata = default(PropertyMetadata), ErrorDetails ErrorDetails = default(ErrorDetails), ExtensionData ExtensionData = default(ExtensionData), string FormOrder = default(string), PropertyMetadata FormOrderMetadata = default(PropertyMetadata), string FormPageLabel = default(string), PropertyMetadata FormPageLabelMetadata = default(PropertyMetadata), string FormPageNumber = default(string), PropertyMetadata FormPageNumberMetadata = default(PropertyMetadata), string GroupLabel = default(string), PropertyMetadata GroupLabelMetadata = default(PropertyMetadata), string GroupRule = default(string), PropertyMetadata GroupRuleMetadata = default(PropertyMetadata), string Height = default(string), PropertyMetadata HeightMetadata = default(PropertyMetadata), string MaximumAllowed = default(string), PropertyMetadata MaximumAllowedMetadata = default(PropertyMetadata), MergeField MergeField = default(MergeField), string MergeFieldXml = default(string), string MinimumRequired = default(string), PropertyMetadata MinimumRequiredMetadata = default(PropertyMetadata), string PageNumber = default(string), PropertyMetadata PageNumberMetadata = default(PropertyMetadata), string RecipientId = default(string), string RecipientIdGuid = default(string), PropertyMetadata RecipientIdGuidMetadata = default(PropertyMetadata), PropertyMetadata RecipientIdMetadata = default(PropertyMetadata), SmartContractInformation SmartContractInformation = default(SmartContractInformation), string Source = default(string), string Status = default(string), PropertyMetadata StatusMetadata = default(PropertyMetadata), string TabFullyQualifiedPath = default(string), List TabGroupLabels = default(List), PropertyMetadata TabGroupLabelsMetadata = default(PropertyMetadata), string TabId = default(string), PropertyMetadata TabIdMetadata = default(PropertyMetadata), string TabOrder = default(string), PropertyMetadata TabOrderMetadata = default(PropertyMetadata), string TabScope = default(string), PropertyMetadata TabScopeMetadata = default(PropertyMetadata), string TabType = default(string), PropertyMetadata TabTypeMetadata = default(PropertyMetadata), string TemplateLocked = default(string), PropertyMetadata TemplateLockedMetadata = default(PropertyMetadata), string TemplateRequired = default(string), PropertyMetadata TemplateRequiredMetadata = default(PropertyMetadata), string Tooltip = default(string), PropertyMetadata ToolTipMetadata = default(PropertyMetadata), string ValidationMessage = default(string), PropertyMetadata ValidationMessageMetadata = default(PropertyMetadata), ErrorDetails WarningDetails = default(ErrorDetails), string Width = default(string), PropertyMetadata WidthMetadata = default(PropertyMetadata), string XPosition = default(string), PropertyMetadata XPositionMetadata = default(PropertyMetadata), string YPosition = default(string), PropertyMetadata YPositionMetadata = default(PropertyMetadata)) + public TabGroup(string AgreementAttribute = default(string), string AgreementAttributeLocked = default(string), string AnchorAllowWhiteSpaceInCharacters = default(string), PropertyMetadata AnchorAllowWhiteSpaceInCharactersMetadata = default(PropertyMetadata), string AnchorCaseSensitive = default(string), PropertyMetadata AnchorCaseSensitiveMetadata = default(PropertyMetadata), string AnchorHorizontalAlignment = default(string), PropertyMetadata AnchorHorizontalAlignmentMetadata = default(PropertyMetadata), string AnchorIgnoreIfNotPresent = default(string), PropertyMetadata AnchorIgnoreIfNotPresentMetadata = default(PropertyMetadata), string AnchorMatchWholeWord = default(string), PropertyMetadata AnchorMatchWholeWordMetadata = default(PropertyMetadata), string AnchorString = default(string), PropertyMetadata AnchorStringMetadata = default(PropertyMetadata), string AnchorTabProcessorVersion = default(string), PropertyMetadata AnchorTabProcessorVersionMetadata = default(PropertyMetadata), string AnchorTabScope = default(string), string AnchorUnits = default(string), PropertyMetadata AnchorUnitsMetadata = default(PropertyMetadata), string AnchorXOffset = default(string), PropertyMetadata AnchorXOffsetMetadata = default(PropertyMetadata), string AnchorYOffset = default(string), PropertyMetadata AnchorYOffsetMetadata = default(PropertyMetadata), string Caption = default(string), PropertyMetadata CaptionMetadata = default(PropertyMetadata), string ConditionalParentLabel = default(string), PropertyMetadata ConditionalParentLabelMetadata = default(PropertyMetadata), string ConditionalParentValue = default(string), PropertyMetadata ConditionalParentValueMetadata = default(PropertyMetadata), ConnectedObjectDetails ConnectedObjectDetails = default(ConnectedObjectDetails), string CustomTabId = default(string), PropertyMetadata CustomTabIdMetadata = default(PropertyMetadata), string DocumentId = default(string), PropertyMetadata DocumentIdMetadata = default(PropertyMetadata), ErrorDetails ErrorDetails = default(ErrorDetails), ExtensionData ExtensionData = default(ExtensionData), string FormOrder = default(string), PropertyMetadata FormOrderMetadata = default(PropertyMetadata), string FormPageLabel = default(string), PropertyMetadata FormPageLabelMetadata = default(PropertyMetadata), string FormPageNumber = default(string), PropertyMetadata FormPageNumberMetadata = default(PropertyMetadata), string GroupLabel = default(string), PropertyMetadata GroupLabelMetadata = default(PropertyMetadata), string GroupRule = default(string), PropertyMetadata GroupRuleMetadata = default(PropertyMetadata), string Height = default(string), PropertyMetadata HeightMetadata = default(PropertyMetadata), string MaximumAllowed = default(string), PropertyMetadata MaximumAllowedMetadata = default(PropertyMetadata), MergeField MergeField = default(MergeField), string MergeFieldXml = default(string), string MinimumRequired = default(string), PropertyMetadata MinimumRequiredMetadata = default(PropertyMetadata), string PageNumber = default(string), PropertyMetadata PageNumberMetadata = default(PropertyMetadata), string RecipientId = default(string), string RecipientIdGuid = default(string), PropertyMetadata RecipientIdGuidMetadata = default(PropertyMetadata), PropertyMetadata RecipientIdMetadata = default(PropertyMetadata), SmartContractInformation SmartContractInformation = default(SmartContractInformation), string Source = default(string), string Status = default(string), PropertyMetadata StatusMetadata = default(PropertyMetadata), string TabFullyQualifiedPath = default(string), List TabGroupLabels = default(List), PropertyMetadata TabGroupLabelsMetadata = default(PropertyMetadata), string TabId = default(string), PropertyMetadata TabIdMetadata = default(PropertyMetadata), string TabOrder = default(string), PropertyMetadata TabOrderMetadata = default(PropertyMetadata), string TabScope = default(string), PropertyMetadata TabScopeMetadata = default(PropertyMetadata), string TabType = default(string), PropertyMetadata TabTypeMetadata = default(PropertyMetadata), string TemplateLocked = default(string), PropertyMetadata TemplateLockedMetadata = default(PropertyMetadata), string TemplateRequired = default(string), PropertyMetadata TemplateRequiredMetadata = default(PropertyMetadata), string Tooltip = default(string), PropertyMetadata ToolTipMetadata = default(PropertyMetadata), string ValidationMessage = default(string), PropertyMetadata ValidationMessageMetadata = default(PropertyMetadata), ErrorDetails WarningDetails = default(ErrorDetails), string Width = default(string), PropertyMetadata WidthMetadata = default(PropertyMetadata), string XPosition = default(string), PropertyMetadata XPositionMetadata = default(PropertyMetadata), string YPosition = default(string), PropertyMetadata YPositionMetadata = default(PropertyMetadata)) { this.AgreementAttribute = AgreementAttribute; this.AgreementAttributeLocked = AgreementAttributeLocked; @@ -142,6 +143,7 @@ public TabGroup() this.AnchorStringMetadata = AnchorStringMetadata; this.AnchorTabProcessorVersion = AnchorTabProcessorVersion; this.AnchorTabProcessorVersionMetadata = AnchorTabProcessorVersionMetadata; + this.AnchorTabScope = AnchorTabScope; this.AnchorUnits = AnchorUnits; this.AnchorUnitsMetadata = AnchorUnitsMetadata; this.AnchorXOffset = AnchorXOffset; @@ -310,6 +312,11 @@ public TabGroup() [DataMember(Name="anchorTabProcessorVersionMetadata", EmitDefaultValue=false)] public PropertyMetadata AnchorTabProcessorVersionMetadata { get; set; } /// + /// Gets or Sets AnchorTabScope + /// + [DataMember(Name="anchorTabScope", EmitDefaultValue=false)] + public string AnchorTabScope { get; set; } + /// /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. /// /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. @@ -750,6 +757,7 @@ public override string ToString() sb.Append(" AnchorStringMetadata: ").Append(AnchorStringMetadata).Append("\n"); sb.Append(" AnchorTabProcessorVersion: ").Append(AnchorTabProcessorVersion).Append("\n"); sb.Append(" AnchorTabProcessorVersionMetadata: ").Append(AnchorTabProcessorVersionMetadata).Append("\n"); + sb.Append(" AnchorTabScope: ").Append(AnchorTabScope).Append("\n"); sb.Append(" AnchorUnits: ").Append(AnchorUnits).Append("\n"); sb.Append(" AnchorUnitsMetadata: ").Append(AnchorUnitsMetadata).Append("\n"); sb.Append(" AnchorXOffset: ").Append(AnchorXOffset).Append("\n"); @@ -939,6 +947,11 @@ public bool Equals(TabGroup other) this.AnchorTabProcessorVersionMetadata != null && this.AnchorTabProcessorVersionMetadata.Equals(other.AnchorTabProcessorVersionMetadata) ) && + ( + this.AnchorTabScope == other.AnchorTabScope || + this.AnchorTabScope != null && + this.AnchorTabScope.Equals(other.AnchorTabScope) + ) && ( this.AnchorUnits == other.AnchorUnits || this.AnchorUnits != null && @@ -1349,6 +1362,8 @@ public override int GetHashCode() hash = hash * 59 + this.AnchorTabProcessorVersion.GetHashCode(); if (this.AnchorTabProcessorVersionMetadata != null) hash = hash * 59 + this.AnchorTabProcessorVersionMetadata.GetHashCode(); + if (this.AnchorTabScope != null) + hash = hash * 59 + this.AnchorTabScope.GetHashCode(); if (this.AnchorUnits != null) hash = hash * 59 + this.AnchorUnits.GetHashCode(); if (this.AnchorUnitsMetadata != null) diff --git a/sdk/src/DocuSign.eSign/Model/Text.cs b/sdk/src/DocuSign.eSign/Model/Text.cs index 707ff51e8..8696ab6bb 100644 --- a/sdk/src/DocuSign.eSign/Model/Text.cs +++ b/sdk/src/DocuSign.eSign/Model/Text.cs @@ -51,6 +51,7 @@ public Text() /// Metadata that indicates whether the `anchorString` property is editable.. /// AnchorTabProcessorVersion. /// Reserved for DocuSign.. + /// AnchorTabScope. /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.. /// Metadata that indicates whether the `anchorUnits` property is editable.. /// Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.. @@ -161,7 +162,7 @@ public Text() /// Metadata that indicates whether the `xPosition` property is editable.. /// This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.. /// Metadata that indicates whether the `yPosition` property is editable.. - public Text(string AgreementAttribute = default(string), string AgreementAttributeLocked = default(string), string AnchorAllowWhiteSpaceInCharacters = default(string), PropertyMetadata AnchorAllowWhiteSpaceInCharactersMetadata = default(PropertyMetadata), string AnchorCaseSensitive = default(string), PropertyMetadata AnchorCaseSensitiveMetadata = default(PropertyMetadata), string AnchorHorizontalAlignment = default(string), PropertyMetadata AnchorHorizontalAlignmentMetadata = default(PropertyMetadata), string AnchorIgnoreIfNotPresent = default(string), PropertyMetadata AnchorIgnoreIfNotPresentMetadata = default(PropertyMetadata), string AnchorMatchWholeWord = default(string), PropertyMetadata AnchorMatchWholeWordMetadata = default(PropertyMetadata), string AnchorString = default(string), PropertyMetadata AnchorStringMetadata = default(PropertyMetadata), string AnchorTabProcessorVersion = default(string), PropertyMetadata AnchorTabProcessorVersionMetadata = default(PropertyMetadata), string AnchorUnits = default(string), PropertyMetadata AnchorUnitsMetadata = default(PropertyMetadata), string AnchorXOffset = default(string), PropertyMetadata AnchorXOffsetMetadata = default(PropertyMetadata), string AnchorYOffset = default(string), PropertyMetadata AnchorYOffsetMetadata = default(PropertyMetadata), string Bold = default(string), PropertyMetadata BoldMetadata = default(PropertyMetadata), string Caption = default(string), PropertyMetadata CaptionMetadata = default(PropertyMetadata), string ConcealValueOnDocument = default(string), PropertyMetadata ConcealValueOnDocumentMetadata = default(PropertyMetadata), string ConditionalParentLabel = default(string), PropertyMetadata ConditionalParentLabelMetadata = default(PropertyMetadata), string ConditionalParentValue = default(string), PropertyMetadata ConditionalParentValueMetadata = default(PropertyMetadata), ConnectedObjectDetails ConnectedObjectDetails = default(ConnectedObjectDetails), string CustomTabId = default(string), PropertyMetadata CustomTabIdMetadata = default(PropertyMetadata), string DisableAutoSize = default(string), PropertyMetadata DisableAutoSizeMetadata = default(PropertyMetadata), string DocumentId = default(string), PropertyMetadata DocumentIdMetadata = default(PropertyMetadata), ErrorDetails ErrorDetails = default(ErrorDetails), ExtensionData ExtensionData = default(ExtensionData), string Font = default(string), string FontColor = default(string), PropertyMetadata FontColorMetadata = default(PropertyMetadata), PropertyMetadata FontMetadata = default(PropertyMetadata), string FontSize = default(string), PropertyMetadata FontSizeMetadata = default(PropertyMetadata), string FormOrder = default(string), PropertyMetadata FormOrderMetadata = default(PropertyMetadata), string FormPageLabel = default(string), PropertyMetadata FormPageLabelMetadata = default(PropertyMetadata), string FormPageNumber = default(string), PropertyMetadata FormPageNumberMetadata = default(PropertyMetadata), string Formula = default(string), PropertyMetadata FormulaMetadata = default(PropertyMetadata), string Height = default(string), PropertyMetadata HeightMetadata = default(PropertyMetadata), string IsPaymentAmount = default(string), PropertyMetadata IsPaymentAmountMetadata = default(PropertyMetadata), string Italic = default(string), PropertyMetadata ItalicMetadata = default(PropertyMetadata), LocalePolicyTab LocalePolicy = default(LocalePolicyTab), string Locked = default(string), PropertyMetadata LockedMetadata = default(PropertyMetadata), string MaxLength = default(string), PropertyMetadata MaxLengthMetadata = default(PropertyMetadata), MergeField MergeField = default(MergeField), string MergeFieldXml = default(string), string Name = default(string), PropertyMetadata NameMetadata = default(PropertyMetadata), string OriginalValue = default(string), PropertyMetadata OriginalValueMetadata = default(PropertyMetadata), string PageNumber = default(string), PropertyMetadata PageNumberMetadata = default(PropertyMetadata), string RecipientId = default(string), string RecipientIdGuid = default(string), PropertyMetadata RecipientIdGuidMetadata = default(PropertyMetadata), PropertyMetadata RecipientIdMetadata = default(PropertyMetadata), string RequireAll = default(string), PropertyMetadata RequireAllMetadata = default(PropertyMetadata), string Required = default(string), PropertyMetadata RequiredMetadata = default(PropertyMetadata), string RequireInitialOnSharedChange = default(string), PropertyMetadata RequireInitialOnSharedChangeMetadata = default(PropertyMetadata), string SenderRequired = default(string), PropertyMetadata SenderRequiredMetadata = default(PropertyMetadata), string Shared = default(string), PropertyMetadata SharedMetadata = default(PropertyMetadata), string ShareToRecipients = default(string), PropertyMetadata ShareToRecipientsMetadata = default(PropertyMetadata), SmartContractInformation SmartContractInformation = default(SmartContractInformation), string Source = default(string), string Status = default(string), PropertyMetadata StatusMetadata = default(PropertyMetadata), string TabFullyQualifiedPath = default(string), List TabGroupLabels = default(List), PropertyMetadata TabGroupLabelsMetadata = default(PropertyMetadata), string TabId = default(string), PropertyMetadata TabIdMetadata = default(PropertyMetadata), string TabLabel = default(string), PropertyMetadata TabLabelMetadata = default(PropertyMetadata), string TabOrder = default(string), PropertyMetadata TabOrderMetadata = default(PropertyMetadata), string TabType = default(string), PropertyMetadata TabTypeMetadata = default(PropertyMetadata), string TemplateLocked = default(string), PropertyMetadata TemplateLockedMetadata = default(PropertyMetadata), string TemplateRequired = default(string), PropertyMetadata TemplateRequiredMetadata = default(PropertyMetadata), string Tooltip = default(string), PropertyMetadata ToolTipMetadata = default(PropertyMetadata), string Underline = default(string), PropertyMetadata UnderlineMetadata = default(PropertyMetadata), string ValidationMessage = default(string), PropertyMetadata ValidationMessageMetadata = default(PropertyMetadata), string ValidationPattern = default(string), PropertyMetadata ValidationPatternMetadata = default(PropertyMetadata), string Value = default(string), PropertyMetadata ValueMetadata = default(PropertyMetadata), ErrorDetails WarningDetails = default(ErrorDetails), string Width = default(string), PropertyMetadata WidthMetadata = default(PropertyMetadata), string XPosition = default(string), PropertyMetadata XPositionMetadata = default(PropertyMetadata), string YPosition = default(string), PropertyMetadata YPositionMetadata = default(PropertyMetadata)) + public Text(string AgreementAttribute = default(string), string AgreementAttributeLocked = default(string), string AnchorAllowWhiteSpaceInCharacters = default(string), PropertyMetadata AnchorAllowWhiteSpaceInCharactersMetadata = default(PropertyMetadata), string AnchorCaseSensitive = default(string), PropertyMetadata AnchorCaseSensitiveMetadata = default(PropertyMetadata), string AnchorHorizontalAlignment = default(string), PropertyMetadata AnchorHorizontalAlignmentMetadata = default(PropertyMetadata), string AnchorIgnoreIfNotPresent = default(string), PropertyMetadata AnchorIgnoreIfNotPresentMetadata = default(PropertyMetadata), string AnchorMatchWholeWord = default(string), PropertyMetadata AnchorMatchWholeWordMetadata = default(PropertyMetadata), string AnchorString = default(string), PropertyMetadata AnchorStringMetadata = default(PropertyMetadata), string AnchorTabProcessorVersion = default(string), PropertyMetadata AnchorTabProcessorVersionMetadata = default(PropertyMetadata), string AnchorTabScope = default(string), string AnchorUnits = default(string), PropertyMetadata AnchorUnitsMetadata = default(PropertyMetadata), string AnchorXOffset = default(string), PropertyMetadata AnchorXOffsetMetadata = default(PropertyMetadata), string AnchorYOffset = default(string), PropertyMetadata AnchorYOffsetMetadata = default(PropertyMetadata), string Bold = default(string), PropertyMetadata BoldMetadata = default(PropertyMetadata), string Caption = default(string), PropertyMetadata CaptionMetadata = default(PropertyMetadata), string ConcealValueOnDocument = default(string), PropertyMetadata ConcealValueOnDocumentMetadata = default(PropertyMetadata), string ConditionalParentLabel = default(string), PropertyMetadata ConditionalParentLabelMetadata = default(PropertyMetadata), string ConditionalParentValue = default(string), PropertyMetadata ConditionalParentValueMetadata = default(PropertyMetadata), ConnectedObjectDetails ConnectedObjectDetails = default(ConnectedObjectDetails), string CustomTabId = default(string), PropertyMetadata CustomTabIdMetadata = default(PropertyMetadata), string DisableAutoSize = default(string), PropertyMetadata DisableAutoSizeMetadata = default(PropertyMetadata), string DocumentId = default(string), PropertyMetadata DocumentIdMetadata = default(PropertyMetadata), ErrorDetails ErrorDetails = default(ErrorDetails), ExtensionData ExtensionData = default(ExtensionData), string Font = default(string), string FontColor = default(string), PropertyMetadata FontColorMetadata = default(PropertyMetadata), PropertyMetadata FontMetadata = default(PropertyMetadata), string FontSize = default(string), PropertyMetadata FontSizeMetadata = default(PropertyMetadata), string FormOrder = default(string), PropertyMetadata FormOrderMetadata = default(PropertyMetadata), string FormPageLabel = default(string), PropertyMetadata FormPageLabelMetadata = default(PropertyMetadata), string FormPageNumber = default(string), PropertyMetadata FormPageNumberMetadata = default(PropertyMetadata), string Formula = default(string), PropertyMetadata FormulaMetadata = default(PropertyMetadata), string Height = default(string), PropertyMetadata HeightMetadata = default(PropertyMetadata), string IsPaymentAmount = default(string), PropertyMetadata IsPaymentAmountMetadata = default(PropertyMetadata), string Italic = default(string), PropertyMetadata ItalicMetadata = default(PropertyMetadata), LocalePolicyTab LocalePolicy = default(LocalePolicyTab), string Locked = default(string), PropertyMetadata LockedMetadata = default(PropertyMetadata), string MaxLength = default(string), PropertyMetadata MaxLengthMetadata = default(PropertyMetadata), MergeField MergeField = default(MergeField), string MergeFieldXml = default(string), string Name = default(string), PropertyMetadata NameMetadata = default(PropertyMetadata), string OriginalValue = default(string), PropertyMetadata OriginalValueMetadata = default(PropertyMetadata), string PageNumber = default(string), PropertyMetadata PageNumberMetadata = default(PropertyMetadata), string RecipientId = default(string), string RecipientIdGuid = default(string), PropertyMetadata RecipientIdGuidMetadata = default(PropertyMetadata), PropertyMetadata RecipientIdMetadata = default(PropertyMetadata), string RequireAll = default(string), PropertyMetadata RequireAllMetadata = default(PropertyMetadata), string Required = default(string), PropertyMetadata RequiredMetadata = default(PropertyMetadata), string RequireInitialOnSharedChange = default(string), PropertyMetadata RequireInitialOnSharedChangeMetadata = default(PropertyMetadata), string SenderRequired = default(string), PropertyMetadata SenderRequiredMetadata = default(PropertyMetadata), string Shared = default(string), PropertyMetadata SharedMetadata = default(PropertyMetadata), string ShareToRecipients = default(string), PropertyMetadata ShareToRecipientsMetadata = default(PropertyMetadata), SmartContractInformation SmartContractInformation = default(SmartContractInformation), string Source = default(string), string Status = default(string), PropertyMetadata StatusMetadata = default(PropertyMetadata), string TabFullyQualifiedPath = default(string), List TabGroupLabels = default(List), PropertyMetadata TabGroupLabelsMetadata = default(PropertyMetadata), string TabId = default(string), PropertyMetadata TabIdMetadata = default(PropertyMetadata), string TabLabel = default(string), PropertyMetadata TabLabelMetadata = default(PropertyMetadata), string TabOrder = default(string), PropertyMetadata TabOrderMetadata = default(PropertyMetadata), string TabType = default(string), PropertyMetadata TabTypeMetadata = default(PropertyMetadata), string TemplateLocked = default(string), PropertyMetadata TemplateLockedMetadata = default(PropertyMetadata), string TemplateRequired = default(string), PropertyMetadata TemplateRequiredMetadata = default(PropertyMetadata), string Tooltip = default(string), PropertyMetadata ToolTipMetadata = default(PropertyMetadata), string Underline = default(string), PropertyMetadata UnderlineMetadata = default(PropertyMetadata), string ValidationMessage = default(string), PropertyMetadata ValidationMessageMetadata = default(PropertyMetadata), string ValidationPattern = default(string), PropertyMetadata ValidationPatternMetadata = default(PropertyMetadata), string Value = default(string), PropertyMetadata ValueMetadata = default(PropertyMetadata), ErrorDetails WarningDetails = default(ErrorDetails), string Width = default(string), PropertyMetadata WidthMetadata = default(PropertyMetadata), string XPosition = default(string), PropertyMetadata XPositionMetadata = default(PropertyMetadata), string YPosition = default(string), PropertyMetadata YPositionMetadata = default(PropertyMetadata)) { this.AgreementAttribute = AgreementAttribute; this.AgreementAttributeLocked = AgreementAttributeLocked; @@ -179,6 +180,7 @@ public Text() this.AnchorStringMetadata = AnchorStringMetadata; this.AnchorTabProcessorVersion = AnchorTabProcessorVersion; this.AnchorTabProcessorVersionMetadata = AnchorTabProcessorVersionMetadata; + this.AnchorTabScope = AnchorTabScope; this.AnchorUnits = AnchorUnits; this.AnchorUnitsMetadata = AnchorUnitsMetadata; this.AnchorXOffset = AnchorXOffset; @@ -384,6 +386,11 @@ public Text() [DataMember(Name="anchorTabProcessorVersionMetadata", EmitDefaultValue=false)] public PropertyMetadata AnchorTabProcessorVersionMetadata { get; set; } /// + /// Gets or Sets AnchorTabScope + /// + [DataMember(Name="anchorTabScope", EmitDefaultValue=false)] + public string AnchorTabScope { get; set; } + /// /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. /// /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. @@ -1050,6 +1057,7 @@ public override string ToString() sb.Append(" AnchorStringMetadata: ").Append(AnchorStringMetadata).Append("\n"); sb.Append(" AnchorTabProcessorVersion: ").Append(AnchorTabProcessorVersion).Append("\n"); sb.Append(" AnchorTabProcessorVersionMetadata: ").Append(AnchorTabProcessorVersionMetadata).Append("\n"); + sb.Append(" AnchorTabScope: ").Append(AnchorTabScope).Append("\n"); sb.Append(" AnchorUnits: ").Append(AnchorUnits).Append("\n"); sb.Append(" AnchorUnitsMetadata: ").Append(AnchorUnitsMetadata).Append("\n"); sb.Append(" AnchorXOffset: ").Append(AnchorXOffset).Append("\n"); @@ -1276,6 +1284,11 @@ public bool Equals(Text other) this.AnchorTabProcessorVersionMetadata != null && this.AnchorTabProcessorVersionMetadata.Equals(other.AnchorTabProcessorVersionMetadata) ) && + ( + this.AnchorTabScope == other.AnchorTabScope || + this.AnchorTabScope != null && + this.AnchorTabScope.Equals(other.AnchorTabScope) + ) && ( this.AnchorUnits == other.AnchorUnits || this.AnchorUnits != null && @@ -1871,6 +1884,8 @@ public override int GetHashCode() hash = hash * 59 + this.AnchorTabProcessorVersion.GetHashCode(); if (this.AnchorTabProcessorVersionMetadata != null) hash = hash * 59 + this.AnchorTabProcessorVersionMetadata.GetHashCode(); + if (this.AnchorTabScope != null) + hash = hash * 59 + this.AnchorTabScope.GetHashCode(); if (this.AnchorUnits != null) hash = hash * 59 + this.AnchorUnits.GetHashCode(); if (this.AnchorUnitsMetadata != null) diff --git a/sdk/src/DocuSign.eSign/Model/Title.cs b/sdk/src/DocuSign.eSign/Model/Title.cs index 1bb37d9c9..1ae8abec7 100644 --- a/sdk/src/DocuSign.eSign/Model/Title.cs +++ b/sdk/src/DocuSign.eSign/Model/Title.cs @@ -51,6 +51,7 @@ public Title() /// Metadata that indicates whether the `anchorString` property is editable.. /// AnchorTabProcessorVersion. /// Reserved for DocuSign.. + /// AnchorTabScope. /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.. /// Metadata that indicates whether the `anchorUnits` property is editable.. /// Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.. @@ -143,7 +144,7 @@ public Title() /// Metadata that indicates whether the `xPosition` property is editable.. /// This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.. /// Metadata that indicates whether the `yPosition` property is editable.. - public Title(string AgreementAttribute = default(string), string AgreementAttributeLocked = default(string), string AnchorAllowWhiteSpaceInCharacters = default(string), PropertyMetadata AnchorAllowWhiteSpaceInCharactersMetadata = default(PropertyMetadata), string AnchorCaseSensitive = default(string), PropertyMetadata AnchorCaseSensitiveMetadata = default(PropertyMetadata), string AnchorHorizontalAlignment = default(string), PropertyMetadata AnchorHorizontalAlignmentMetadata = default(PropertyMetadata), string AnchorIgnoreIfNotPresent = default(string), PropertyMetadata AnchorIgnoreIfNotPresentMetadata = default(PropertyMetadata), string AnchorMatchWholeWord = default(string), PropertyMetadata AnchorMatchWholeWordMetadata = default(PropertyMetadata), string AnchorString = default(string), PropertyMetadata AnchorStringMetadata = default(PropertyMetadata), string AnchorTabProcessorVersion = default(string), PropertyMetadata AnchorTabProcessorVersionMetadata = default(PropertyMetadata), string AnchorUnits = default(string), PropertyMetadata AnchorUnitsMetadata = default(PropertyMetadata), string AnchorXOffset = default(string), PropertyMetadata AnchorXOffsetMetadata = default(PropertyMetadata), string AnchorYOffset = default(string), PropertyMetadata AnchorYOffsetMetadata = default(PropertyMetadata), string Bold = default(string), PropertyMetadata BoldMetadata = default(PropertyMetadata), string Caption = default(string), PropertyMetadata CaptionMetadata = default(PropertyMetadata), string ConcealValueOnDocument = default(string), PropertyMetadata ConcealValueOnDocumentMetadata = default(PropertyMetadata), string ConditionalParentLabel = default(string), PropertyMetadata ConditionalParentLabelMetadata = default(PropertyMetadata), string ConditionalParentValue = default(string), PropertyMetadata ConditionalParentValueMetadata = default(PropertyMetadata), ConnectedObjectDetails ConnectedObjectDetails = default(ConnectedObjectDetails), string CustomTabId = default(string), PropertyMetadata CustomTabIdMetadata = default(PropertyMetadata), string DisableAutoSize = default(string), PropertyMetadata DisableAutoSizeMetadata = default(PropertyMetadata), string DocumentId = default(string), PropertyMetadata DocumentIdMetadata = default(PropertyMetadata), ErrorDetails ErrorDetails = default(ErrorDetails), ExtensionData ExtensionData = default(ExtensionData), string Font = default(string), string FontColor = default(string), PropertyMetadata FontColorMetadata = default(PropertyMetadata), PropertyMetadata FontMetadata = default(PropertyMetadata), string FontSize = default(string), PropertyMetadata FontSizeMetadata = default(PropertyMetadata), string FormOrder = default(string), PropertyMetadata FormOrderMetadata = default(PropertyMetadata), string FormPageLabel = default(string), PropertyMetadata FormPageLabelMetadata = default(PropertyMetadata), string FormPageNumber = default(string), PropertyMetadata FormPageNumberMetadata = default(PropertyMetadata), string Height = default(string), PropertyMetadata HeightMetadata = default(PropertyMetadata), string Italic = default(string), PropertyMetadata ItalicMetadata = default(PropertyMetadata), LocalePolicyTab LocalePolicy = default(LocalePolicyTab), string Locked = default(string), PropertyMetadata LockedMetadata = default(PropertyMetadata), string MaxLength = default(string), PropertyMetadata MaxLengthMetadata = default(PropertyMetadata), MergeField MergeField = default(MergeField), string MergeFieldXml = default(string), string Name = default(string), PropertyMetadata NameMetadata = default(PropertyMetadata), string OriginalValue = default(string), PropertyMetadata OriginalValueMetadata = default(PropertyMetadata), string PageNumber = default(string), PropertyMetadata PageNumberMetadata = default(PropertyMetadata), string RecipientId = default(string), string RecipientIdGuid = default(string), PropertyMetadata RecipientIdGuidMetadata = default(PropertyMetadata), PropertyMetadata RecipientIdMetadata = default(PropertyMetadata), string Required = default(string), PropertyMetadata RequiredMetadata = default(PropertyMetadata), SmartContractInformation SmartContractInformation = default(SmartContractInformation), string Source = default(string), string Status = default(string), PropertyMetadata StatusMetadata = default(PropertyMetadata), string TabFullyQualifiedPath = default(string), List TabGroupLabels = default(List), PropertyMetadata TabGroupLabelsMetadata = default(PropertyMetadata), string TabId = default(string), PropertyMetadata TabIdMetadata = default(PropertyMetadata), string TabLabel = default(string), PropertyMetadata TabLabelMetadata = default(PropertyMetadata), string TabOrder = default(string), PropertyMetadata TabOrderMetadata = default(PropertyMetadata), string TabType = default(string), PropertyMetadata TabTypeMetadata = default(PropertyMetadata), string TemplateLocked = default(string), PropertyMetadata TemplateLockedMetadata = default(PropertyMetadata), string TemplateRequired = default(string), PropertyMetadata TemplateRequiredMetadata = default(PropertyMetadata), string Tooltip = default(string), PropertyMetadata ToolTipMetadata = default(PropertyMetadata), string Underline = default(string), PropertyMetadata UnderlineMetadata = default(PropertyMetadata), string Value = default(string), PropertyMetadata ValueMetadata = default(PropertyMetadata), ErrorDetails WarningDetails = default(ErrorDetails), string Width = default(string), PropertyMetadata WidthMetadata = default(PropertyMetadata), string XPosition = default(string), PropertyMetadata XPositionMetadata = default(PropertyMetadata), string YPosition = default(string), PropertyMetadata YPositionMetadata = default(PropertyMetadata)) + public Title(string AgreementAttribute = default(string), string AgreementAttributeLocked = default(string), string AnchorAllowWhiteSpaceInCharacters = default(string), PropertyMetadata AnchorAllowWhiteSpaceInCharactersMetadata = default(PropertyMetadata), string AnchorCaseSensitive = default(string), PropertyMetadata AnchorCaseSensitiveMetadata = default(PropertyMetadata), string AnchorHorizontalAlignment = default(string), PropertyMetadata AnchorHorizontalAlignmentMetadata = default(PropertyMetadata), string AnchorIgnoreIfNotPresent = default(string), PropertyMetadata AnchorIgnoreIfNotPresentMetadata = default(PropertyMetadata), string AnchorMatchWholeWord = default(string), PropertyMetadata AnchorMatchWholeWordMetadata = default(PropertyMetadata), string AnchorString = default(string), PropertyMetadata AnchorStringMetadata = default(PropertyMetadata), string AnchorTabProcessorVersion = default(string), PropertyMetadata AnchorTabProcessorVersionMetadata = default(PropertyMetadata), string AnchorTabScope = default(string), string AnchorUnits = default(string), PropertyMetadata AnchorUnitsMetadata = default(PropertyMetadata), string AnchorXOffset = default(string), PropertyMetadata AnchorXOffsetMetadata = default(PropertyMetadata), string AnchorYOffset = default(string), PropertyMetadata AnchorYOffsetMetadata = default(PropertyMetadata), string Bold = default(string), PropertyMetadata BoldMetadata = default(PropertyMetadata), string Caption = default(string), PropertyMetadata CaptionMetadata = default(PropertyMetadata), string ConcealValueOnDocument = default(string), PropertyMetadata ConcealValueOnDocumentMetadata = default(PropertyMetadata), string ConditionalParentLabel = default(string), PropertyMetadata ConditionalParentLabelMetadata = default(PropertyMetadata), string ConditionalParentValue = default(string), PropertyMetadata ConditionalParentValueMetadata = default(PropertyMetadata), ConnectedObjectDetails ConnectedObjectDetails = default(ConnectedObjectDetails), string CustomTabId = default(string), PropertyMetadata CustomTabIdMetadata = default(PropertyMetadata), string DisableAutoSize = default(string), PropertyMetadata DisableAutoSizeMetadata = default(PropertyMetadata), string DocumentId = default(string), PropertyMetadata DocumentIdMetadata = default(PropertyMetadata), ErrorDetails ErrorDetails = default(ErrorDetails), ExtensionData ExtensionData = default(ExtensionData), string Font = default(string), string FontColor = default(string), PropertyMetadata FontColorMetadata = default(PropertyMetadata), PropertyMetadata FontMetadata = default(PropertyMetadata), string FontSize = default(string), PropertyMetadata FontSizeMetadata = default(PropertyMetadata), string FormOrder = default(string), PropertyMetadata FormOrderMetadata = default(PropertyMetadata), string FormPageLabel = default(string), PropertyMetadata FormPageLabelMetadata = default(PropertyMetadata), string FormPageNumber = default(string), PropertyMetadata FormPageNumberMetadata = default(PropertyMetadata), string Height = default(string), PropertyMetadata HeightMetadata = default(PropertyMetadata), string Italic = default(string), PropertyMetadata ItalicMetadata = default(PropertyMetadata), LocalePolicyTab LocalePolicy = default(LocalePolicyTab), string Locked = default(string), PropertyMetadata LockedMetadata = default(PropertyMetadata), string MaxLength = default(string), PropertyMetadata MaxLengthMetadata = default(PropertyMetadata), MergeField MergeField = default(MergeField), string MergeFieldXml = default(string), string Name = default(string), PropertyMetadata NameMetadata = default(PropertyMetadata), string OriginalValue = default(string), PropertyMetadata OriginalValueMetadata = default(PropertyMetadata), string PageNumber = default(string), PropertyMetadata PageNumberMetadata = default(PropertyMetadata), string RecipientId = default(string), string RecipientIdGuid = default(string), PropertyMetadata RecipientIdGuidMetadata = default(PropertyMetadata), PropertyMetadata RecipientIdMetadata = default(PropertyMetadata), string Required = default(string), PropertyMetadata RequiredMetadata = default(PropertyMetadata), SmartContractInformation SmartContractInformation = default(SmartContractInformation), string Source = default(string), string Status = default(string), PropertyMetadata StatusMetadata = default(PropertyMetadata), string TabFullyQualifiedPath = default(string), List TabGroupLabels = default(List), PropertyMetadata TabGroupLabelsMetadata = default(PropertyMetadata), string TabId = default(string), PropertyMetadata TabIdMetadata = default(PropertyMetadata), string TabLabel = default(string), PropertyMetadata TabLabelMetadata = default(PropertyMetadata), string TabOrder = default(string), PropertyMetadata TabOrderMetadata = default(PropertyMetadata), string TabType = default(string), PropertyMetadata TabTypeMetadata = default(PropertyMetadata), string TemplateLocked = default(string), PropertyMetadata TemplateLockedMetadata = default(PropertyMetadata), string TemplateRequired = default(string), PropertyMetadata TemplateRequiredMetadata = default(PropertyMetadata), string Tooltip = default(string), PropertyMetadata ToolTipMetadata = default(PropertyMetadata), string Underline = default(string), PropertyMetadata UnderlineMetadata = default(PropertyMetadata), string Value = default(string), PropertyMetadata ValueMetadata = default(PropertyMetadata), ErrorDetails WarningDetails = default(ErrorDetails), string Width = default(string), PropertyMetadata WidthMetadata = default(PropertyMetadata), string XPosition = default(string), PropertyMetadata XPositionMetadata = default(PropertyMetadata), string YPosition = default(string), PropertyMetadata YPositionMetadata = default(PropertyMetadata)) { this.AgreementAttribute = AgreementAttribute; this.AgreementAttributeLocked = AgreementAttributeLocked; @@ -161,6 +162,7 @@ public Title() this.AnchorStringMetadata = AnchorStringMetadata; this.AnchorTabProcessorVersion = AnchorTabProcessorVersion; this.AnchorTabProcessorVersionMetadata = AnchorTabProcessorVersionMetadata; + this.AnchorTabScope = AnchorTabScope; this.AnchorUnits = AnchorUnits; this.AnchorUnitsMetadata = AnchorUnitsMetadata; this.AnchorXOffset = AnchorXOffset; @@ -348,6 +350,11 @@ public Title() [DataMember(Name="anchorTabProcessorVersionMetadata", EmitDefaultValue=false)] public PropertyMetadata AnchorTabProcessorVersionMetadata { get; set; } /// + /// Gets or Sets AnchorTabScope + /// + [DataMember(Name="anchorTabScope", EmitDefaultValue=false)] + public string AnchorTabScope { get; set; } + /// /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. /// /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. @@ -906,6 +913,7 @@ public override string ToString() sb.Append(" AnchorStringMetadata: ").Append(AnchorStringMetadata).Append("\n"); sb.Append(" AnchorTabProcessorVersion: ").Append(AnchorTabProcessorVersion).Append("\n"); sb.Append(" AnchorTabProcessorVersionMetadata: ").Append(AnchorTabProcessorVersionMetadata).Append("\n"); + sb.Append(" AnchorTabScope: ").Append(AnchorTabScope).Append("\n"); sb.Append(" AnchorUnits: ").Append(AnchorUnits).Append("\n"); sb.Append(" AnchorUnitsMetadata: ").Append(AnchorUnitsMetadata).Append("\n"); sb.Append(" AnchorXOffset: ").Append(AnchorXOffset).Append("\n"); @@ -1114,6 +1122,11 @@ public bool Equals(Title other) this.AnchorTabProcessorVersionMetadata != null && this.AnchorTabProcessorVersionMetadata.Equals(other.AnchorTabProcessorVersionMetadata) ) && + ( + this.AnchorTabScope == other.AnchorTabScope || + this.AnchorTabScope != null && + this.AnchorTabScope.Equals(other.AnchorTabScope) + ) && ( this.AnchorUnits == other.AnchorUnits || this.AnchorUnits != null && @@ -1619,6 +1632,8 @@ public override int GetHashCode() hash = hash * 59 + this.AnchorTabProcessorVersion.GetHashCode(); if (this.AnchorTabProcessorVersionMetadata != null) hash = hash * 59 + this.AnchorTabProcessorVersionMetadata.GetHashCode(); + if (this.AnchorTabScope != null) + hash = hash * 59 + this.AnchorTabScope.GetHashCode(); if (this.AnchorUnits != null) hash = hash * 59 + this.AnchorUnits.GetHashCode(); if (this.AnchorUnitsMetadata != null) diff --git a/sdk/src/DocuSign.eSign/Model/View.cs b/sdk/src/DocuSign.eSign/Model/View.cs index 687442d08..70ce86eaf 100644 --- a/sdk/src/DocuSign.eSign/Model/View.cs +++ b/sdk/src/DocuSign.eSign/Model/View.cs @@ -51,6 +51,7 @@ public View() /// Metadata that indicates whether the `anchorString` property is editable.. /// AnchorTabProcessorVersion. /// Reserved for DocuSign.. + /// AnchorTabScope. /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.. /// Metadata that indicates whether the `anchorUnits` property is editable.. /// Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.. @@ -132,7 +133,7 @@ public View() /// Metadata that indicates whether the `xPosition` property is editable.. /// This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.. /// Metadata that indicates whether the `yPosition` property is editable.. - public View(string AgreementAttribute = default(string), string AgreementAttributeLocked = default(string), string AnchorAllowWhiteSpaceInCharacters = default(string), PropertyMetadata AnchorAllowWhiteSpaceInCharactersMetadata = default(PropertyMetadata), string AnchorCaseSensitive = default(string), PropertyMetadata AnchorCaseSensitiveMetadata = default(PropertyMetadata), string AnchorHorizontalAlignment = default(string), PropertyMetadata AnchorHorizontalAlignmentMetadata = default(PropertyMetadata), string AnchorIgnoreIfNotPresent = default(string), PropertyMetadata AnchorIgnoreIfNotPresentMetadata = default(PropertyMetadata), string AnchorMatchWholeWord = default(string), PropertyMetadata AnchorMatchWholeWordMetadata = default(PropertyMetadata), string AnchorString = default(string), PropertyMetadata AnchorStringMetadata = default(PropertyMetadata), string AnchorTabProcessorVersion = default(string), PropertyMetadata AnchorTabProcessorVersionMetadata = default(PropertyMetadata), string AnchorUnits = default(string), PropertyMetadata AnchorUnitsMetadata = default(PropertyMetadata), string AnchorXOffset = default(string), PropertyMetadata AnchorXOffsetMetadata = default(PropertyMetadata), string AnchorYOffset = default(string), PropertyMetadata AnchorYOffsetMetadata = default(PropertyMetadata), string Bold = default(string), PropertyMetadata BoldMetadata = default(PropertyMetadata), string ButtonText = default(string), PropertyMetadata ButtonTextMetadata = default(PropertyMetadata), string Caption = default(string), PropertyMetadata CaptionMetadata = default(PropertyMetadata), string ConditionalParentLabel = default(string), PropertyMetadata ConditionalParentLabelMetadata = default(PropertyMetadata), string ConditionalParentValue = default(string), PropertyMetadata ConditionalParentValueMetadata = default(PropertyMetadata), ConnectedObjectDetails ConnectedObjectDetails = default(ConnectedObjectDetails), string CustomTabId = default(string), PropertyMetadata CustomTabIdMetadata = default(PropertyMetadata), string DocumentId = default(string), PropertyMetadata DocumentIdMetadata = default(PropertyMetadata), ErrorDetails ErrorDetails = default(ErrorDetails), ExtensionData ExtensionData = default(ExtensionData), string Font = default(string), string FontColor = default(string), PropertyMetadata FontColorMetadata = default(PropertyMetadata), PropertyMetadata FontMetadata = default(PropertyMetadata), string FontSize = default(string), PropertyMetadata FontSizeMetadata = default(PropertyMetadata), string FormOrder = default(string), PropertyMetadata FormOrderMetadata = default(PropertyMetadata), string FormPageLabel = default(string), PropertyMetadata FormPageLabelMetadata = default(PropertyMetadata), string FormPageNumber = default(string), PropertyMetadata FormPageNumberMetadata = default(PropertyMetadata), string Height = default(string), PropertyMetadata HeightMetadata = default(PropertyMetadata), string Italic = default(string), PropertyMetadata ItalicMetadata = default(PropertyMetadata), LocalePolicyTab LocalePolicy = default(LocalePolicyTab), MergeField MergeField = default(MergeField), string MergeFieldXml = default(string), string PageNumber = default(string), PropertyMetadata PageNumberMetadata = default(PropertyMetadata), string RecipientId = default(string), string RecipientIdGuid = default(string), PropertyMetadata RecipientIdGuidMetadata = default(PropertyMetadata), PropertyMetadata RecipientIdMetadata = default(PropertyMetadata), string Required = default(string), PropertyMetadata RequiredMetadata = default(PropertyMetadata), string RequiredRead = default(string), SmartContractInformation SmartContractInformation = default(SmartContractInformation), string Source = default(string), string Status = default(string), PropertyMetadata StatusMetadata = default(PropertyMetadata), string TabFullyQualifiedPath = default(string), List TabGroupLabels = default(List), PropertyMetadata TabGroupLabelsMetadata = default(PropertyMetadata), string TabId = default(string), PropertyMetadata TabIdMetadata = default(PropertyMetadata), string TabLabel = default(string), PropertyMetadata TabLabelMetadata = default(PropertyMetadata), string TabOrder = default(string), PropertyMetadata TabOrderMetadata = default(PropertyMetadata), string TabType = default(string), PropertyMetadata TabTypeMetadata = default(PropertyMetadata), string TemplateLocked = default(string), PropertyMetadata TemplateLockedMetadata = default(PropertyMetadata), string TemplateRequired = default(string), PropertyMetadata TemplateRequiredMetadata = default(PropertyMetadata), string Tooltip = default(string), PropertyMetadata ToolTipMetadata = default(PropertyMetadata), string Underline = default(string), PropertyMetadata UnderlineMetadata = default(PropertyMetadata), ErrorDetails WarningDetails = default(ErrorDetails), string Width = default(string), PropertyMetadata WidthMetadata = default(PropertyMetadata), string XPosition = default(string), PropertyMetadata XPositionMetadata = default(PropertyMetadata), string YPosition = default(string), PropertyMetadata YPositionMetadata = default(PropertyMetadata)) + public View(string AgreementAttribute = default(string), string AgreementAttributeLocked = default(string), string AnchorAllowWhiteSpaceInCharacters = default(string), PropertyMetadata AnchorAllowWhiteSpaceInCharactersMetadata = default(PropertyMetadata), string AnchorCaseSensitive = default(string), PropertyMetadata AnchorCaseSensitiveMetadata = default(PropertyMetadata), string AnchorHorizontalAlignment = default(string), PropertyMetadata AnchorHorizontalAlignmentMetadata = default(PropertyMetadata), string AnchorIgnoreIfNotPresent = default(string), PropertyMetadata AnchorIgnoreIfNotPresentMetadata = default(PropertyMetadata), string AnchorMatchWholeWord = default(string), PropertyMetadata AnchorMatchWholeWordMetadata = default(PropertyMetadata), string AnchorString = default(string), PropertyMetadata AnchorStringMetadata = default(PropertyMetadata), string AnchorTabProcessorVersion = default(string), PropertyMetadata AnchorTabProcessorVersionMetadata = default(PropertyMetadata), string AnchorTabScope = default(string), string AnchorUnits = default(string), PropertyMetadata AnchorUnitsMetadata = default(PropertyMetadata), string AnchorXOffset = default(string), PropertyMetadata AnchorXOffsetMetadata = default(PropertyMetadata), string AnchorYOffset = default(string), PropertyMetadata AnchorYOffsetMetadata = default(PropertyMetadata), string Bold = default(string), PropertyMetadata BoldMetadata = default(PropertyMetadata), string ButtonText = default(string), PropertyMetadata ButtonTextMetadata = default(PropertyMetadata), string Caption = default(string), PropertyMetadata CaptionMetadata = default(PropertyMetadata), string ConditionalParentLabel = default(string), PropertyMetadata ConditionalParentLabelMetadata = default(PropertyMetadata), string ConditionalParentValue = default(string), PropertyMetadata ConditionalParentValueMetadata = default(PropertyMetadata), ConnectedObjectDetails ConnectedObjectDetails = default(ConnectedObjectDetails), string CustomTabId = default(string), PropertyMetadata CustomTabIdMetadata = default(PropertyMetadata), string DocumentId = default(string), PropertyMetadata DocumentIdMetadata = default(PropertyMetadata), ErrorDetails ErrorDetails = default(ErrorDetails), ExtensionData ExtensionData = default(ExtensionData), string Font = default(string), string FontColor = default(string), PropertyMetadata FontColorMetadata = default(PropertyMetadata), PropertyMetadata FontMetadata = default(PropertyMetadata), string FontSize = default(string), PropertyMetadata FontSizeMetadata = default(PropertyMetadata), string FormOrder = default(string), PropertyMetadata FormOrderMetadata = default(PropertyMetadata), string FormPageLabel = default(string), PropertyMetadata FormPageLabelMetadata = default(PropertyMetadata), string FormPageNumber = default(string), PropertyMetadata FormPageNumberMetadata = default(PropertyMetadata), string Height = default(string), PropertyMetadata HeightMetadata = default(PropertyMetadata), string Italic = default(string), PropertyMetadata ItalicMetadata = default(PropertyMetadata), LocalePolicyTab LocalePolicy = default(LocalePolicyTab), MergeField MergeField = default(MergeField), string MergeFieldXml = default(string), string PageNumber = default(string), PropertyMetadata PageNumberMetadata = default(PropertyMetadata), string RecipientId = default(string), string RecipientIdGuid = default(string), PropertyMetadata RecipientIdGuidMetadata = default(PropertyMetadata), PropertyMetadata RecipientIdMetadata = default(PropertyMetadata), string Required = default(string), PropertyMetadata RequiredMetadata = default(PropertyMetadata), string RequiredRead = default(string), SmartContractInformation SmartContractInformation = default(SmartContractInformation), string Source = default(string), string Status = default(string), PropertyMetadata StatusMetadata = default(PropertyMetadata), string TabFullyQualifiedPath = default(string), List TabGroupLabels = default(List), PropertyMetadata TabGroupLabelsMetadata = default(PropertyMetadata), string TabId = default(string), PropertyMetadata TabIdMetadata = default(PropertyMetadata), string TabLabel = default(string), PropertyMetadata TabLabelMetadata = default(PropertyMetadata), string TabOrder = default(string), PropertyMetadata TabOrderMetadata = default(PropertyMetadata), string TabType = default(string), PropertyMetadata TabTypeMetadata = default(PropertyMetadata), string TemplateLocked = default(string), PropertyMetadata TemplateLockedMetadata = default(PropertyMetadata), string TemplateRequired = default(string), PropertyMetadata TemplateRequiredMetadata = default(PropertyMetadata), string Tooltip = default(string), PropertyMetadata ToolTipMetadata = default(PropertyMetadata), string Underline = default(string), PropertyMetadata UnderlineMetadata = default(PropertyMetadata), ErrorDetails WarningDetails = default(ErrorDetails), string Width = default(string), PropertyMetadata WidthMetadata = default(PropertyMetadata), string XPosition = default(string), PropertyMetadata XPositionMetadata = default(PropertyMetadata), string YPosition = default(string), PropertyMetadata YPositionMetadata = default(PropertyMetadata)) { this.AgreementAttribute = AgreementAttribute; this.AgreementAttributeLocked = AgreementAttributeLocked; @@ -150,6 +151,7 @@ public View() this.AnchorStringMetadata = AnchorStringMetadata; this.AnchorTabProcessorVersion = AnchorTabProcessorVersion; this.AnchorTabProcessorVersionMetadata = AnchorTabProcessorVersionMetadata; + this.AnchorTabScope = AnchorTabScope; this.AnchorUnits = AnchorUnits; this.AnchorUnitsMetadata = AnchorUnitsMetadata; this.AnchorXOffset = AnchorXOffset; @@ -326,6 +328,11 @@ public View() [DataMember(Name="anchorTabProcessorVersionMetadata", EmitDefaultValue=false)] public PropertyMetadata AnchorTabProcessorVersionMetadata { get; set; } /// + /// Gets or Sets AnchorTabScope + /// + [DataMember(Name="anchorTabScope", EmitDefaultValue=false)] + public string AnchorTabScope { get; set; } + /// /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. /// /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. @@ -817,6 +824,7 @@ public override string ToString() sb.Append(" AnchorStringMetadata: ").Append(AnchorStringMetadata).Append("\n"); sb.Append(" AnchorTabProcessorVersion: ").Append(AnchorTabProcessorVersion).Append("\n"); sb.Append(" AnchorTabProcessorVersionMetadata: ").Append(AnchorTabProcessorVersionMetadata).Append("\n"); + sb.Append(" AnchorTabScope: ").Append(AnchorTabScope).Append("\n"); sb.Append(" AnchorUnits: ").Append(AnchorUnits).Append("\n"); sb.Append(" AnchorUnitsMetadata: ").Append(AnchorUnitsMetadata).Append("\n"); sb.Append(" AnchorXOffset: ").Append(AnchorXOffset).Append("\n"); @@ -1014,6 +1022,11 @@ public bool Equals(View other) this.AnchorTabProcessorVersionMetadata != null && this.AnchorTabProcessorVersionMetadata.Equals(other.AnchorTabProcessorVersionMetadata) ) && + ( + this.AnchorTabScope == other.AnchorTabScope || + this.AnchorTabScope != null && + this.AnchorTabScope.Equals(other.AnchorTabScope) + ) && ( this.AnchorUnits == other.AnchorUnits || this.AnchorUnits != null && @@ -1464,6 +1477,8 @@ public override int GetHashCode() hash = hash * 59 + this.AnchorTabProcessorVersion.GetHashCode(); if (this.AnchorTabProcessorVersionMetadata != null) hash = hash * 59 + this.AnchorTabProcessorVersionMetadata.GetHashCode(); + if (this.AnchorTabScope != null) + hash = hash * 59 + this.AnchorTabScope.GetHashCode(); if (this.AnchorUnits != null) hash = hash * 59 + this.AnchorUnits.GetHashCode(); if (this.AnchorUnitsMetadata != null) diff --git a/sdk/src/DocuSign.eSign/Model/Zip.cs b/sdk/src/DocuSign.eSign/Model/Zip.cs index 01ec13d5c..5a96a17be 100644 --- a/sdk/src/DocuSign.eSign/Model/Zip.cs +++ b/sdk/src/DocuSign.eSign/Model/Zip.cs @@ -51,6 +51,7 @@ public Zip() /// Metadata that indicates whether the `anchorString` property is editable.. /// AnchorTabProcessorVersion. /// Reserved for DocuSign.. + /// AnchorTabScope. /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.. /// Metadata that indicates whether the `anchorUnits` property is editable.. /// Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.. @@ -159,7 +160,7 @@ public Zip() /// Metadata that indicates whether the `xPosition` property is editable.. /// This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.. /// Metadata that indicates whether the `yPosition` property is editable.. - public Zip(string AgreementAttribute = default(string), string AgreementAttributeLocked = default(string), string AnchorAllowWhiteSpaceInCharacters = default(string), PropertyMetadata AnchorAllowWhiteSpaceInCharactersMetadata = default(PropertyMetadata), string AnchorCaseSensitive = default(string), PropertyMetadata AnchorCaseSensitiveMetadata = default(PropertyMetadata), string AnchorHorizontalAlignment = default(string), PropertyMetadata AnchorHorizontalAlignmentMetadata = default(PropertyMetadata), string AnchorIgnoreIfNotPresent = default(string), PropertyMetadata AnchorIgnoreIfNotPresentMetadata = default(PropertyMetadata), string AnchorMatchWholeWord = default(string), PropertyMetadata AnchorMatchWholeWordMetadata = default(PropertyMetadata), string AnchorString = default(string), PropertyMetadata AnchorStringMetadata = default(PropertyMetadata), string AnchorTabProcessorVersion = default(string), PropertyMetadata AnchorTabProcessorVersionMetadata = default(PropertyMetadata), string AnchorUnits = default(string), PropertyMetadata AnchorUnitsMetadata = default(PropertyMetadata), string AnchorXOffset = default(string), PropertyMetadata AnchorXOffsetMetadata = default(PropertyMetadata), string AnchorYOffset = default(string), PropertyMetadata AnchorYOffsetMetadata = default(PropertyMetadata), string Bold = default(string), PropertyMetadata BoldMetadata = default(PropertyMetadata), string Caption = default(string), PropertyMetadata CaptionMetadata = default(PropertyMetadata), string ConcealValueOnDocument = default(string), PropertyMetadata ConcealValueOnDocumentMetadata = default(PropertyMetadata), string ConditionalParentLabel = default(string), PropertyMetadata ConditionalParentLabelMetadata = default(PropertyMetadata), string ConditionalParentValue = default(string), PropertyMetadata ConditionalParentValueMetadata = default(PropertyMetadata), ConnectedObjectDetails ConnectedObjectDetails = default(ConnectedObjectDetails), string CustomTabId = default(string), PropertyMetadata CustomTabIdMetadata = default(PropertyMetadata), string DisableAutoSize = default(string), PropertyMetadata DisableAutoSizeMetadata = default(PropertyMetadata), string DocumentId = default(string), PropertyMetadata DocumentIdMetadata = default(PropertyMetadata), ErrorDetails ErrorDetails = default(ErrorDetails), ExtensionData ExtensionData = default(ExtensionData), string Font = default(string), string FontColor = default(string), PropertyMetadata FontColorMetadata = default(PropertyMetadata), PropertyMetadata FontMetadata = default(PropertyMetadata), string FontSize = default(string), PropertyMetadata FontSizeMetadata = default(PropertyMetadata), string FormOrder = default(string), PropertyMetadata FormOrderMetadata = default(PropertyMetadata), string FormPageLabel = default(string), PropertyMetadata FormPageLabelMetadata = default(PropertyMetadata), string FormPageNumber = default(string), PropertyMetadata FormPageNumberMetadata = default(PropertyMetadata), string Height = default(string), PropertyMetadata HeightMetadata = default(PropertyMetadata), string Italic = default(string), PropertyMetadata ItalicMetadata = default(PropertyMetadata), LocalePolicyTab LocalePolicy = default(LocalePolicyTab), string Locked = default(string), PropertyMetadata LockedMetadata = default(PropertyMetadata), string MaxLength = default(string), PropertyMetadata MaxLengthMetadata = default(PropertyMetadata), MergeField MergeField = default(MergeField), string MergeFieldXml = default(string), string Name = default(string), PropertyMetadata NameMetadata = default(PropertyMetadata), string OriginalValue = default(string), PropertyMetadata OriginalValueMetadata = default(PropertyMetadata), string PageNumber = default(string), PropertyMetadata PageNumberMetadata = default(PropertyMetadata), string RecipientId = default(string), string RecipientIdGuid = default(string), PropertyMetadata RecipientIdGuidMetadata = default(PropertyMetadata), PropertyMetadata RecipientIdMetadata = default(PropertyMetadata), string RequireAll = default(string), PropertyMetadata RequireAllMetadata = default(PropertyMetadata), string Required = default(string), PropertyMetadata RequiredMetadata = default(PropertyMetadata), string RequireInitialOnSharedChange = default(string), PropertyMetadata RequireInitialOnSharedChangeMetadata = default(PropertyMetadata), string SenderRequired = default(string), PropertyMetadata SenderRequiredMetadata = default(PropertyMetadata), string Shared = default(string), PropertyMetadata SharedMetadata = default(PropertyMetadata), string ShareToRecipients = default(string), PropertyMetadata ShareToRecipientsMetadata = default(PropertyMetadata), SmartContractInformation SmartContractInformation = default(SmartContractInformation), string Source = default(string), string Status = default(string), PropertyMetadata StatusMetadata = default(PropertyMetadata), string TabFullyQualifiedPath = default(string), List TabGroupLabels = default(List), PropertyMetadata TabGroupLabelsMetadata = default(PropertyMetadata), string TabId = default(string), PropertyMetadata TabIdMetadata = default(PropertyMetadata), string TabLabel = default(string), PropertyMetadata TabLabelMetadata = default(PropertyMetadata), string TabOrder = default(string), PropertyMetadata TabOrderMetadata = default(PropertyMetadata), string TabType = default(string), PropertyMetadata TabTypeMetadata = default(PropertyMetadata), string TemplateLocked = default(string), PropertyMetadata TemplateLockedMetadata = default(PropertyMetadata), string TemplateRequired = default(string), PropertyMetadata TemplateRequiredMetadata = default(PropertyMetadata), string Tooltip = default(string), PropertyMetadata ToolTipMetadata = default(PropertyMetadata), string Underline = default(string), PropertyMetadata UnderlineMetadata = default(PropertyMetadata), string UseDash4 = default(string), PropertyMetadata UseDash4Metadata = default(PropertyMetadata), string ValidationMessage = default(string), PropertyMetadata ValidationMessageMetadata = default(PropertyMetadata), string ValidationPattern = default(string), PropertyMetadata ValidationPatternMetadata = default(PropertyMetadata), string Value = default(string), PropertyMetadata ValueMetadata = default(PropertyMetadata), ErrorDetails WarningDetails = default(ErrorDetails), string Width = default(string), PropertyMetadata WidthMetadata = default(PropertyMetadata), string XPosition = default(string), PropertyMetadata XPositionMetadata = default(PropertyMetadata), string YPosition = default(string), PropertyMetadata YPositionMetadata = default(PropertyMetadata)) + public Zip(string AgreementAttribute = default(string), string AgreementAttributeLocked = default(string), string AnchorAllowWhiteSpaceInCharacters = default(string), PropertyMetadata AnchorAllowWhiteSpaceInCharactersMetadata = default(PropertyMetadata), string AnchorCaseSensitive = default(string), PropertyMetadata AnchorCaseSensitiveMetadata = default(PropertyMetadata), string AnchorHorizontalAlignment = default(string), PropertyMetadata AnchorHorizontalAlignmentMetadata = default(PropertyMetadata), string AnchorIgnoreIfNotPresent = default(string), PropertyMetadata AnchorIgnoreIfNotPresentMetadata = default(PropertyMetadata), string AnchorMatchWholeWord = default(string), PropertyMetadata AnchorMatchWholeWordMetadata = default(PropertyMetadata), string AnchorString = default(string), PropertyMetadata AnchorStringMetadata = default(PropertyMetadata), string AnchorTabProcessorVersion = default(string), PropertyMetadata AnchorTabProcessorVersionMetadata = default(PropertyMetadata), string AnchorTabScope = default(string), string AnchorUnits = default(string), PropertyMetadata AnchorUnitsMetadata = default(PropertyMetadata), string AnchorXOffset = default(string), PropertyMetadata AnchorXOffsetMetadata = default(PropertyMetadata), string AnchorYOffset = default(string), PropertyMetadata AnchorYOffsetMetadata = default(PropertyMetadata), string Bold = default(string), PropertyMetadata BoldMetadata = default(PropertyMetadata), string Caption = default(string), PropertyMetadata CaptionMetadata = default(PropertyMetadata), string ConcealValueOnDocument = default(string), PropertyMetadata ConcealValueOnDocumentMetadata = default(PropertyMetadata), string ConditionalParentLabel = default(string), PropertyMetadata ConditionalParentLabelMetadata = default(PropertyMetadata), string ConditionalParentValue = default(string), PropertyMetadata ConditionalParentValueMetadata = default(PropertyMetadata), ConnectedObjectDetails ConnectedObjectDetails = default(ConnectedObjectDetails), string CustomTabId = default(string), PropertyMetadata CustomTabIdMetadata = default(PropertyMetadata), string DisableAutoSize = default(string), PropertyMetadata DisableAutoSizeMetadata = default(PropertyMetadata), string DocumentId = default(string), PropertyMetadata DocumentIdMetadata = default(PropertyMetadata), ErrorDetails ErrorDetails = default(ErrorDetails), ExtensionData ExtensionData = default(ExtensionData), string Font = default(string), string FontColor = default(string), PropertyMetadata FontColorMetadata = default(PropertyMetadata), PropertyMetadata FontMetadata = default(PropertyMetadata), string FontSize = default(string), PropertyMetadata FontSizeMetadata = default(PropertyMetadata), string FormOrder = default(string), PropertyMetadata FormOrderMetadata = default(PropertyMetadata), string FormPageLabel = default(string), PropertyMetadata FormPageLabelMetadata = default(PropertyMetadata), string FormPageNumber = default(string), PropertyMetadata FormPageNumberMetadata = default(PropertyMetadata), string Height = default(string), PropertyMetadata HeightMetadata = default(PropertyMetadata), string Italic = default(string), PropertyMetadata ItalicMetadata = default(PropertyMetadata), LocalePolicyTab LocalePolicy = default(LocalePolicyTab), string Locked = default(string), PropertyMetadata LockedMetadata = default(PropertyMetadata), string MaxLength = default(string), PropertyMetadata MaxLengthMetadata = default(PropertyMetadata), MergeField MergeField = default(MergeField), string MergeFieldXml = default(string), string Name = default(string), PropertyMetadata NameMetadata = default(PropertyMetadata), string OriginalValue = default(string), PropertyMetadata OriginalValueMetadata = default(PropertyMetadata), string PageNumber = default(string), PropertyMetadata PageNumberMetadata = default(PropertyMetadata), string RecipientId = default(string), string RecipientIdGuid = default(string), PropertyMetadata RecipientIdGuidMetadata = default(PropertyMetadata), PropertyMetadata RecipientIdMetadata = default(PropertyMetadata), string RequireAll = default(string), PropertyMetadata RequireAllMetadata = default(PropertyMetadata), string Required = default(string), PropertyMetadata RequiredMetadata = default(PropertyMetadata), string RequireInitialOnSharedChange = default(string), PropertyMetadata RequireInitialOnSharedChangeMetadata = default(PropertyMetadata), string SenderRequired = default(string), PropertyMetadata SenderRequiredMetadata = default(PropertyMetadata), string Shared = default(string), PropertyMetadata SharedMetadata = default(PropertyMetadata), string ShareToRecipients = default(string), PropertyMetadata ShareToRecipientsMetadata = default(PropertyMetadata), SmartContractInformation SmartContractInformation = default(SmartContractInformation), string Source = default(string), string Status = default(string), PropertyMetadata StatusMetadata = default(PropertyMetadata), string TabFullyQualifiedPath = default(string), List TabGroupLabels = default(List), PropertyMetadata TabGroupLabelsMetadata = default(PropertyMetadata), string TabId = default(string), PropertyMetadata TabIdMetadata = default(PropertyMetadata), string TabLabel = default(string), PropertyMetadata TabLabelMetadata = default(PropertyMetadata), string TabOrder = default(string), PropertyMetadata TabOrderMetadata = default(PropertyMetadata), string TabType = default(string), PropertyMetadata TabTypeMetadata = default(PropertyMetadata), string TemplateLocked = default(string), PropertyMetadata TemplateLockedMetadata = default(PropertyMetadata), string TemplateRequired = default(string), PropertyMetadata TemplateRequiredMetadata = default(PropertyMetadata), string Tooltip = default(string), PropertyMetadata ToolTipMetadata = default(PropertyMetadata), string Underline = default(string), PropertyMetadata UnderlineMetadata = default(PropertyMetadata), string UseDash4 = default(string), PropertyMetadata UseDash4Metadata = default(PropertyMetadata), string ValidationMessage = default(string), PropertyMetadata ValidationMessageMetadata = default(PropertyMetadata), string ValidationPattern = default(string), PropertyMetadata ValidationPatternMetadata = default(PropertyMetadata), string Value = default(string), PropertyMetadata ValueMetadata = default(PropertyMetadata), ErrorDetails WarningDetails = default(ErrorDetails), string Width = default(string), PropertyMetadata WidthMetadata = default(PropertyMetadata), string XPosition = default(string), PropertyMetadata XPositionMetadata = default(PropertyMetadata), string YPosition = default(string), PropertyMetadata YPositionMetadata = default(PropertyMetadata)) { this.AgreementAttribute = AgreementAttribute; this.AgreementAttributeLocked = AgreementAttributeLocked; @@ -177,6 +178,7 @@ public Zip() this.AnchorStringMetadata = AnchorStringMetadata; this.AnchorTabProcessorVersion = AnchorTabProcessorVersion; this.AnchorTabProcessorVersionMetadata = AnchorTabProcessorVersionMetadata; + this.AnchorTabScope = AnchorTabScope; this.AnchorUnits = AnchorUnits; this.AnchorUnitsMetadata = AnchorUnitsMetadata; this.AnchorXOffset = AnchorXOffset; @@ -380,6 +382,11 @@ public Zip() [DataMember(Name="anchorTabProcessorVersionMetadata", EmitDefaultValue=false)] public PropertyMetadata AnchorTabProcessorVersionMetadata { get; set; } /// + /// Gets or Sets AnchorTabScope + /// + [DataMember(Name="anchorTabScope", EmitDefaultValue=false)] + public string AnchorTabScope { get; set; } + /// /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. /// /// Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches. @@ -1032,6 +1039,7 @@ public override string ToString() sb.Append(" AnchorStringMetadata: ").Append(AnchorStringMetadata).Append("\n"); sb.Append(" AnchorTabProcessorVersion: ").Append(AnchorTabProcessorVersion).Append("\n"); sb.Append(" AnchorTabProcessorVersionMetadata: ").Append(AnchorTabProcessorVersionMetadata).Append("\n"); + sb.Append(" AnchorTabScope: ").Append(AnchorTabScope).Append("\n"); sb.Append(" AnchorUnits: ").Append(AnchorUnits).Append("\n"); sb.Append(" AnchorUnitsMetadata: ").Append(AnchorUnitsMetadata).Append("\n"); sb.Append(" AnchorXOffset: ").Append(AnchorXOffset).Append("\n"); @@ -1256,6 +1264,11 @@ public bool Equals(Zip other) this.AnchorTabProcessorVersionMetadata != null && this.AnchorTabProcessorVersionMetadata.Equals(other.AnchorTabProcessorVersionMetadata) ) && + ( + this.AnchorTabScope == other.AnchorTabScope || + this.AnchorTabScope != null && + this.AnchorTabScope.Equals(other.AnchorTabScope) + ) && ( this.AnchorUnits == other.AnchorUnits || this.AnchorUnits != null && @@ -1841,6 +1854,8 @@ public override int GetHashCode() hash = hash * 59 + this.AnchorTabProcessorVersion.GetHashCode(); if (this.AnchorTabProcessorVersionMetadata != null) hash = hash * 59 + this.AnchorTabProcessorVersionMetadata.GetHashCode(); + if (this.AnchorTabScope != null) + hash = hash * 59 + this.AnchorTabScope.GetHashCode(); if (this.AnchorUnits != null) hash = hash * 59 + this.AnchorUnits.GetHashCode(); if (this.AnchorUnitsMetadata != null) diff --git a/sdk/src/DocuSign.eSign/Properties/AssemblyInfo.cs b/sdk/src/DocuSign.eSign/Properties/AssemblyInfo.cs index 5d88dac2b..6c6dcd0b2 100644 --- a/sdk/src/DocuSign.eSign/Properties/AssemblyInfo.cs +++ b/sdk/src/DocuSign.eSign/Properties/AssemblyInfo.cs @@ -22,5 +22,5 @@ // [assembly: AssemblyVersion("1.0.*")] internal class AssemblyInformation { - public const string AssemblyInformationalVersion = "9.0.0"; + public const string AssemblyInformationalVersion = "10.0.0"; } \ No newline at end of file