Skip to content

Commit ae6ffc0

Browse files
authored
v5.8.0-rc (#352)
1 parent 45b595c commit ae6ffc0

31 files changed

Lines changed: 1215 additions & 82 deletions

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# DocuSign C# Client Changelog
22

3+
## [5.8.0-rc] - ESignature API v2.1-21.3.00.00 - 2021-09-23
4+
### Changed
5+
- Added support for version v2.1-21.3.00.00 of the DocuSign ESignature API.
6+
- Updated the SDK release version.
7+
### Fixed
8+
- Fixed file upload ability to AccountBrands::updateResource (DCM-3867).
9+
10+
311
## [v5.7.0] - ESignature API v2.1-21.2.02.00 - 09/02/2021
412
### Changed
513
- Added support for version v2.1-21.2.02.00 of the DocuSign ESignature API.

sdk/src/DocuSign.eSign/Api/AccountsApi.cs

Lines changed: 59 additions & 37 deletions
Large diffs are not rendered by default.

sdk/src/DocuSign.eSign/Api/BillingApi.cs

Lines changed: 12 additions & 8 deletions
Large diffs are not rendered by default.

sdk/src/DocuSign.eSign/Client/ApiClient.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,7 @@ private RestRequest PrepareRequest(
215215

216216
if (postBody.GetType() == typeof(String) || postBody.GetType() == typeof(byte[]))
217217
{
218+
request.AddHeader("Content-Disposition", "form-data;filename=fileXml.xml;name=fileXml;");
218219
request.AddParameter(contentType, postBody, ParameterType.RequestBody);
219220
}
220221
}

sdk/src/DocuSign.eSign/Client/ApiException.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public class ApiException : Exception
4747
/// <summary>
4848
/// Initializes a new instance of the <see cref="ApiException"/> class.
4949
/// </summary>
50-
public ApiException() {}
50+
public ApiException() { }
5151

5252
/// <summary>
5353
/// Initializes a new instance of the <see cref="ApiException"/> class.
@@ -79,4 +79,4 @@ public ApiException(int errorCode, string message, dynamic errorContent = null,
7979
}
8080
}
8181

82-
}
82+
}

sdk/src/DocuSign.eSign/Client/Configuration.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public class Configuration
2626
/// Version of the package.
2727
/// </summary>
2828
/// <value>Version of the package.</value>
29-
public const string Version = "5.7.0";
29+
public const string Version = "5.8.0-rc";
3030

3131
/// <summary>
3232
/// Identifier for ISO 8601 DateTime Format

sdk/src/DocuSign.eSign/DocuSign.eSign.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Contact: devcenter@docusign.com
2424
<RootNamespace>DocuSign.eSign</RootNamespace>
2525
<AssemblyName>DocuSign.eSign</AssemblyName>
2626
<NeutralLanguage>en-US</NeutralLanguage>
27-
<VersionPrefix>5.7.0</VersionPrefix>
27+
<VersionPrefix>5.8.0-rc</VersionPrefix>
2828
<VersionSuffix></VersionSuffix>
2929
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
3030
<GenerateDocumentationFile>true</GenerateDocumentationFile>
@@ -34,7 +34,7 @@ Contact: devcenter@docusign.com
3434
<PackageLicenseUrl>https://github.com/docusign/docusign-csharp-client/blob/master/LICENSE</PackageLicenseUrl>
3535
<RepositoryUrl>https://github.com/docusign/docusign-csharp-client</RepositoryUrl>
3636
<RepositoryType>git</RepositoryType>
37-
<PackageReleaseNotes>[5.7.0] - eSignature API v2.1-21.2.02.00 - 09/02/2021</PackageReleaseNotes>
37+
<PackageReleaseNotes>[5.8.0-rc] - eSignature API v2.1-21.3.00.00 - 09/24/2021</PackageReleaseNotes>
3838
</PropertyGroup>
3939

4040
<!-- .NET Framework 4.5.2 compilation flags and build options -->

sdk/src/DocuSign.eSign/Model/AccountBillingPlan.cs

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,14 @@ public AccountBillingPlan()
5959
/// <param name="PlanId">PlanId.</param>
6060
/// <param name="PlanName">The name of the Billing Plan..</param>
6161
/// <param name="PlanStartDate">PlanStartDate.</param>
62+
/// <param name="ProductId">ProductId.</param>
6263
/// <param name="RenewalDate">RenewalDate.</param>
6364
/// <param name="RenewalStatus">The renewal status for the account. The acceptable values are: * auto: The account automatically renews. * queued_for_close: Account will be closed at the billingPeriodEndDate. * queued_for_downgrade: Account will be downgraded at the billingPeriodEndDate..</param>
6465
/// <param name="SeatDiscounts"> A complex type that contains any seat discount information. Values are: BeginSeatCount, EndSeatCount, and SeatDiscountPercent. .</param>
6566
/// <param name="SubscriptionStartDate">SubscriptionStartDate.</param>
6667
/// <param name="SupportIncidentFee">The support incident fee charged for each support incident..</param>
6768
/// <param name="SupportPlanFee">The support plan fee charged for this plan..</param>
68-
public AccountBillingPlan(List<AddOn> AddOns = default(List<AddOn>), string AppStoreReceiptExpirationDate = default(string), string AppStoreReceiptPurchaseDate = default(string), string CanCancelRenewal = default(string), string CanUpgrade = default(string), string CurrencyCode = default(string), DowngradePlanUpdateResponse DowngradePlanInformation = default(DowngradePlanUpdateResponse), string EnableSupport = default(string), string IncludedSeats = default(string), string IncrementalSeats = default(string), string IsDowngrade = default(string), string NotificationType = default(string), string OtherDiscountPercent = default(string), string PaymentCycle = default(string), string PaymentMethod = default(string), string PerSeatPrice = default(string), string PlanClassification = default(string), List<FeatureSet> PlanFeatureSets = default(List<FeatureSet>), string PlanId = default(string), string PlanName = default(string), string PlanStartDate = default(string), string RenewalDate = default(string), string RenewalStatus = default(string), List<SeatDiscount> SeatDiscounts = default(List<SeatDiscount>), string SubscriptionStartDate = default(string), string SupportIncidentFee = default(string), string SupportPlanFee = default(string))
69+
public AccountBillingPlan(List<AddOn> AddOns = default(List<AddOn>), string AppStoreReceiptExpirationDate = default(string), string AppStoreReceiptPurchaseDate = default(string), string CanCancelRenewal = default(string), string CanUpgrade = default(string), string CurrencyCode = default(string), DowngradePlanUpdateResponse DowngradePlanInformation = default(DowngradePlanUpdateResponse), string EnableSupport = default(string), string IncludedSeats = default(string), string IncrementalSeats = default(string), string IsDowngrade = default(string), string NotificationType = default(string), string OtherDiscountPercent = default(string), string PaymentCycle = default(string), string PaymentMethod = default(string), string PerSeatPrice = default(string), string PlanClassification = default(string), List<FeatureSet> PlanFeatureSets = default(List<FeatureSet>), string PlanId = default(string), string PlanName = default(string), string PlanStartDate = default(string), string ProductId = default(string), string RenewalDate = default(string), string RenewalStatus = default(string), List<SeatDiscount> SeatDiscounts = default(List<SeatDiscount>), string SubscriptionStartDate = default(string), string SupportIncidentFee = default(string), string SupportPlanFee = default(string))
6970
{
7071
this.AddOns = AddOns;
7172
this.AppStoreReceiptExpirationDate = AppStoreReceiptExpirationDate;
@@ -88,6 +89,7 @@ public AccountBillingPlan()
8889
this.PlanId = PlanId;
8990
this.PlanName = PlanName;
9091
this.PlanStartDate = PlanStartDate;
92+
this.ProductId = ProductId;
9193
this.RenewalDate = RenewalDate;
9294
this.RenewalStatus = RenewalStatus;
9395
this.SeatDiscounts = SeatDiscounts;
@@ -214,6 +216,11 @@ public AccountBillingPlan()
214216
[DataMember(Name="planStartDate", EmitDefaultValue=false)]
215217
public string PlanStartDate { get; set; }
216218
/// <summary>
219+
/// Gets or Sets ProductId
220+
/// </summary>
221+
[DataMember(Name="productId", EmitDefaultValue=false)]
222+
public string ProductId { get; set; }
223+
/// <summary>
217224
/// Gets or Sets RenewalDate
218225
/// </summary>
219226
[DataMember(Name="renewalDate", EmitDefaultValue=false)]
@@ -276,6 +283,7 @@ public override string ToString()
276283
sb.Append(" PlanId: ").Append(PlanId).Append("\n");
277284
sb.Append(" PlanName: ").Append(PlanName).Append("\n");
278285
sb.Append(" PlanStartDate: ").Append(PlanStartDate).Append("\n");
286+
sb.Append(" ProductId: ").Append(ProductId).Append("\n");
279287
sb.Append(" RenewalDate: ").Append(RenewalDate).Append("\n");
280288
sb.Append(" RenewalStatus: ").Append(RenewalStatus).Append("\n");
281289
sb.Append(" SeatDiscounts: ").Append(SeatDiscounts).Append("\n");
@@ -423,6 +431,11 @@ public bool Equals(AccountBillingPlan other)
423431
this.PlanStartDate != null &&
424432
this.PlanStartDate.Equals(other.PlanStartDate)
425433
) &&
434+
(
435+
this.ProductId == other.ProductId ||
436+
this.ProductId != null &&
437+
this.ProductId.Equals(other.ProductId)
438+
) &&
426439
(
427440
this.RenewalDate == other.RenewalDate ||
428441
this.RenewalDate != null &&
@@ -508,6 +521,8 @@ public override int GetHashCode()
508521
hash = hash * 59 + this.PlanName.GetHashCode();
509522
if (this.PlanStartDate != null)
510523
hash = hash * 59 + this.PlanStartDate.GetHashCode();
524+
if (this.ProductId != null)
525+
hash = hash * 59 + this.ProductId.GetHashCode();
511526
if (this.RenewalDate != null)
512527
hash = hash * 59 + this.RenewalDate.GetHashCode();
513528
if (this.RenewalStatus != null)

sdk/src/DocuSign.eSign/Model/AccountBillingPlanResponse.cs

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,19 +44,21 @@ public AccountBillingPlanResponse()
4444
/// <param name="CreditCardInformation">CreditCardInformation.</param>
4545
/// <param name="DirectDebitProcessorInformation">DirectDebitProcessorInformation.</param>
4646
/// <param name="DowngradePlanInformation">DowngradePlanInformation.</param>
47+
/// <param name="DowngradeRequestInformation">DowngradeRequestInformation.</param>
4748
/// <param name="EntityName">EntityName.</param>
4849
/// <param name="PaymentMethod">PaymentMethod.</param>
4950
/// <param name="PaymentProcessorInformation">PaymentProcessorInformation.</param>
5051
/// <param name="ReferralInformation">ReferralInformation.</param>
5152
/// <param name="SuccessorPlans">SuccessorPlans.</param>
52-
public AccountBillingPlanResponse(AccountAddress BillingAddress = default(AccountAddress), string BillingAddressIsCreditCardAddress = default(string), AccountBillingPlan BillingPlan = default(AccountBillingPlan), CreditCardInformation CreditCardInformation = default(CreditCardInformation), DirectDebitProcessorInformation DirectDebitProcessorInformation = default(DirectDebitProcessorInformation), DowngradePlanUpdateResponse DowngradePlanInformation = default(DowngradePlanUpdateResponse), string EntityName = default(string), string PaymentMethod = default(string), PaymentProcessorInformation PaymentProcessorInformation = default(PaymentProcessorInformation), ReferralInformation ReferralInformation = default(ReferralInformation), List<BillingPlan> SuccessorPlans = default(List<BillingPlan>))
53+
public AccountBillingPlanResponse(AccountAddress BillingAddress = default(AccountAddress), string BillingAddressIsCreditCardAddress = default(string), AccountBillingPlan BillingPlan = default(AccountBillingPlan), CreditCardInformation CreditCardInformation = default(CreditCardInformation), DirectDebitProcessorInformation DirectDebitProcessorInformation = default(DirectDebitProcessorInformation), DowngradePlanUpdateResponse DowngradePlanInformation = default(DowngradePlanUpdateResponse), DowngradeRequestInformation DowngradeRequestInformation = default(DowngradeRequestInformation), string EntityName = default(string), string PaymentMethod = default(string), PaymentProcessorInformation PaymentProcessorInformation = default(PaymentProcessorInformation), ReferralInformation ReferralInformation = default(ReferralInformation), List<BillingPlan> SuccessorPlans = default(List<BillingPlan>))
5354
{
5455
this.BillingAddress = BillingAddress;
5556
this.BillingAddressIsCreditCardAddress = BillingAddressIsCreditCardAddress;
5657
this.BillingPlan = BillingPlan;
5758
this.CreditCardInformation = CreditCardInformation;
5859
this.DirectDebitProcessorInformation = DirectDebitProcessorInformation;
5960
this.DowngradePlanInformation = DowngradePlanInformation;
61+
this.DowngradeRequestInformation = DowngradeRequestInformation;
6062
this.EntityName = EntityName;
6163
this.PaymentMethod = PaymentMethod;
6264
this.PaymentProcessorInformation = PaymentProcessorInformation;
@@ -96,6 +98,11 @@ public AccountBillingPlanResponse()
9698
[DataMember(Name="downgradePlanInformation", EmitDefaultValue=false)]
9799
public DowngradePlanUpdateResponse DowngradePlanInformation { get; set; }
98100
/// <summary>
101+
/// Gets or Sets DowngradeRequestInformation
102+
/// </summary>
103+
[DataMember(Name="downgradeRequestInformation", EmitDefaultValue=false)]
104+
public DowngradeRequestInformation DowngradeRequestInformation { get; set; }
105+
/// <summary>
99106
/// Gets or Sets EntityName
100107
/// </summary>
101108
[DataMember(Name="entityName", EmitDefaultValue=false)]
@@ -134,6 +141,7 @@ public override string ToString()
134141
sb.Append(" CreditCardInformation: ").Append(CreditCardInformation).Append("\n");
135142
sb.Append(" DirectDebitProcessorInformation: ").Append(DirectDebitProcessorInformation).Append("\n");
136143
sb.Append(" DowngradePlanInformation: ").Append(DowngradePlanInformation).Append("\n");
144+
sb.Append(" DowngradeRequestInformation: ").Append(DowngradeRequestInformation).Append("\n");
137145
sb.Append(" EntityName: ").Append(EntityName).Append("\n");
138146
sb.Append(" PaymentMethod: ").Append(PaymentMethod).Append("\n");
139147
sb.Append(" PaymentProcessorInformation: ").Append(PaymentProcessorInformation).Append("\n");
@@ -205,6 +213,11 @@ public bool Equals(AccountBillingPlanResponse other)
205213
this.DowngradePlanInformation != null &&
206214
this.DowngradePlanInformation.Equals(other.DowngradePlanInformation)
207215
) &&
216+
(
217+
this.DowngradeRequestInformation == other.DowngradeRequestInformation ||
218+
this.DowngradeRequestInformation != null &&
219+
this.DowngradeRequestInformation.Equals(other.DowngradeRequestInformation)
220+
) &&
208221
(
209222
this.EntityName == other.EntityName ||
210223
this.EntityName != null &&
@@ -255,6 +268,8 @@ public override int GetHashCode()
255268
hash = hash * 59 + this.DirectDebitProcessorInformation.GetHashCode();
256269
if (this.DowngradePlanInformation != null)
257270
hash = hash * 59 + this.DowngradePlanInformation.GetHashCode();
271+
if (this.DowngradeRequestInformation != null)
272+
hash = hash * 59 + this.DowngradeRequestInformation.GetHashCode();
258273
if (this.EntityName != null)
259274
hash = hash * 59 + this.EntityName.GetHashCode();
260275
if (this.PaymentMethod != null)

sdk/src/DocuSign.eSign/Model/AccountSettingsInformation.cs

Lines changed: 61 additions & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)