Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
153 changes: 84 additions & 69 deletions openapi-raw.yaml

Large diffs are not rendered by default.

153 changes: 84 additions & 69 deletions openapi-sdk.yaml

Large diffs are not rendered by default.

153 changes: 84 additions & 69 deletions openapi.yaml

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion sdks/dotnet/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ directory that corresponds to the file you want updated.
This C# SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: 3.0.0
- SDK version: 1.4-dev
- SDK version: 1.5-dev
- Build package: org.openapitools.codegen.languages.CSharpNetCoreClientCodegen

### Building
Expand Down Expand Up @@ -191,6 +191,7 @@ Class | Method | HTTP request | Description
- [Model.AccountGetResponse](docs/AccountGetResponse.md)
- [Model.AccountResponse](docs/AccountResponse.md)
- [Model.AccountResponseQuotas](docs/AccountResponseQuotas.md)
- [Model.AccountResponseUsage](docs/AccountResponseUsage.md)
- [Model.AccountUpdateRequest](docs/AccountUpdateRequest.md)
- [Model.AccountVerifyRequest](docs/AccountVerifyRequest.md)
- [Model.AccountVerifyResponse](docs/AccountVerifyResponse.md)
Expand Down
2 changes: 1 addition & 1 deletion sdks/dotnet/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.4-dev
1.5-dev
1 change: 1 addition & 0 deletions sdks/dotnet/docs/AccountResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Name | Type | Description | Notes
**RoleCode** | **string** | The membership role for the team. | [optional]
**TeamId** | **string** | The id of the team account belongs to. | [optional]
**Locale** | **string** | The locale used in this Account. Check out the list of [supported locales](/api/reference/constants/#supported-locales) to learn more about the possible values. | [optional]
**Usage** | [**AccountResponseUsage**](AccountResponseUsage.md) | | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

1 change: 1 addition & 0 deletions sdks/dotnet/docs/AccountResponseQuotas.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Name | Type | Description | Notes
**TemplatesTotal** | **int?** | Total API templates allowed. | [optional]
**TemplatesLeft** | **int?** | API templates remaining. | [optional]
**SmsVerificationsLeft** | **int?** | SMS verifications remaining. | [optional]
**NumFaxPagesLeft** | **int?** | Number of fax pages left | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

11 changes: 11 additions & 0 deletions sdks/dotnet/docs/AccountResponseUsage.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Dropbox.Sign.Model.AccountResponseUsage
Details concerning monthly usage

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**FaxPagesSent** | **int?** | Number of fax pages sent | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

2 changes: 1 addition & 1 deletion sdks/dotnet/openapi-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ additionalProperties:
packageAuthors: Dropbox Sign API Team
packageCompany: Dropbox Sign API Team
packageDescription: Client library for using the Dropbox Sign API
packageVersion: 1.4-dev
packageVersion: 1.5-dev
packageTitle: Dropbox Sign .Net SDK
sortModelPropertiesByRequiredFlag: true
optionalEmitDefaultValues: true
Expand Down
6 changes: 3 additions & 3 deletions sdks/dotnet/src/Dropbox.Sign/Client/Configuration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public class Configuration : IReadableConfiguration
/// Version of the package.
/// </summary>
/// <value>Version of the package.</value>
public const string Version = "1.4-dev";
public const string Version = "1.5-dev";

/// <summary>
/// Identifier for ISO 8601 DateTime Format
Expand Down Expand Up @@ -118,7 +118,7 @@ public class Configuration : IReadableConfiguration
public Configuration()
{
Proxy = null;
UserAgent = WebUtility.UrlEncode("OpenAPI-Generator/1.4-dev/csharp");
UserAgent = WebUtility.UrlEncode("OpenAPI-Generator/1.5-dev/csharp");
BasePath = "https://api.hellosign.com/v3";
DefaultHeaders = new ConcurrentDictionary<string, string>();
ApiKey = new ConcurrentDictionary<string, string>();
Expand Down Expand Up @@ -550,7 +550,7 @@ public static string ToDebugReport()
report += " OS: " + System.Environment.OSVersion + "\n";
report += " .NET Framework Version: " + System.Environment.Version + "\n";
report += " Version of the API: 3.0.0\n";
report += " SDK Package Version: 1.4-dev\n";
report += " SDK Package Version: 1.5-dev\n";

return report;
}
Expand Down
2 changes: 1 addition & 1 deletion sdks/dotnet/src/Dropbox.Sign/Dropbox.Sign.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<AssemblyTitle>Dropbox Sign .Net SDK</AssemblyTitle>
<Description>Client library for using the Dropbox Sign API</Description>
<RootNamespace>Dropbox.Sign</RootNamespace>
<Version>1.4-dev</Version>
<Version>1.5-dev</Version>
<DocumentationFile>bin\$(Configuration)\$(TargetFramework)\Dropbox.Sign.xml</DocumentationFile>
<RepositoryUrl>https://github.com/hellosign/dropbox-sign-dotnet.git</RepositoryUrl>
<RepositoryType>git</RepositoryType>
Expand Down
26 changes: 25 additions & 1 deletion sdks/dotnet/src/Dropbox.Sign/Model/AccountResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ protected AccountResponse() { }
/// <param name="roleCode">The membership role for the team..</param>
/// <param name="teamId">The id of the team account belongs to..</param>
/// <param name="locale">The locale used in this Account. Check out the list of [supported locales](/api/reference/constants/#supported-locales) to learn more about the possible values..</param>
public AccountResponse(string accountId = default(string), string emailAddress = default(string), bool isLocked = default(bool), bool isPaidHs = default(bool), bool isPaidHf = default(bool), AccountResponseQuotas quotas = default(AccountResponseQuotas), string callbackUrl = default(string), string roleCode = default(string), string teamId = default(string), string locale = default(string))
/// <param name="usage">usage.</param>
public AccountResponse(string accountId = default(string), string emailAddress = default(string), bool isLocked = default(bool), bool isPaidHs = default(bool), bool isPaidHf = default(bool), AccountResponseQuotas quotas = default(AccountResponseQuotas), string callbackUrl = default(string), string roleCode = default(string), string teamId = default(string), string locale = default(string), AccountResponseUsage usage = default(AccountResponseUsage))
{

this.AccountId = accountId;
Expand All @@ -64,6 +65,7 @@ protected AccountResponse() { }
this.RoleCode = roleCode;
this.TeamId = teamId;
this.Locale = locale;
this.Usage = usage;
}

/// <summary>
Expand Down Expand Up @@ -151,6 +153,12 @@ public static AccountResponse Init(string jsonData)
[DataMember(Name = "locale", EmitDefaultValue = true)]
public string Locale { get; set; }

/// <summary>
/// Gets or Sets Usage
/// </summary>
[DataMember(Name = "usage", EmitDefaultValue = true)]
public AccountResponseUsage Usage { get; set; }

/// <summary>
/// Returns the string presentation of the object
/// </summary>
Expand All @@ -169,6 +177,7 @@ public override string ToString()
sb.Append(" RoleCode: ").Append(RoleCode).Append("\n");
sb.Append(" TeamId: ").Append(TeamId).Append("\n");
sb.Append(" Locale: ").Append(Locale).Append("\n");
sb.Append(" Usage: ").Append(Usage).Append("\n");
sb.Append("}\n");
return sb.ToString();
}
Expand Down Expand Up @@ -250,6 +259,11 @@ public bool Equals(AccountResponse input)
this.Locale == input.Locale ||
(this.Locale != null &&
this.Locale.Equals(input.Locale))
) &&
(
this.Usage == input.Usage ||
(this.Usage != null &&
this.Usage.Equals(input.Usage))
);
}

Expand Down Expand Up @@ -293,6 +307,10 @@ public override int GetHashCode()
{
hashCode = (hashCode * 59) + this.Locale.GetHashCode();
}
if (this.Usage != null)
{
hashCode = (hashCode * 59) + this.Usage.GetHashCode();
}
return hashCode;
}
}
Expand Down Expand Up @@ -360,6 +378,12 @@ public List<OpenApiType> GetOpenApiTypes()
Type = "string",
Value = Locale,
});
types.Add(new OpenApiType(){
Name = "usage",
Property = "Usage",
Type = "AccountResponseUsage",
Value = Usage,
});

return types;
}
Expand Down
27 changes: 26 additions & 1 deletion sdks/dotnet/src/Dropbox.Sign/Model/AccountResponseQuotas.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,16 @@ protected AccountResponseQuotas() { }
/// <param name="templatesTotal">Total API templates allowed..</param>
/// <param name="templatesLeft">API templates remaining..</param>
/// <param name="smsVerificationsLeft">SMS verifications remaining..</param>
public AccountResponseQuotas(int? apiSignatureRequestsLeft = default(int?), int? documentsLeft = default(int?), int? templatesTotal = default(int?), int? templatesLeft = default(int?), int? smsVerificationsLeft = default(int?))
/// <param name="numFaxPagesLeft">Number of fax pages left.</param>
public AccountResponseQuotas(int? apiSignatureRequestsLeft = default(int?), int? documentsLeft = default(int?), int? templatesTotal = default(int?), int? templatesLeft = default(int?), int? smsVerificationsLeft = default(int?), int? numFaxPagesLeft = default(int?))
{

this.ApiSignatureRequestsLeft = apiSignatureRequestsLeft;
this.DocumentsLeft = documentsLeft;
this.TemplatesTotal = templatesTotal;
this.TemplatesLeft = templatesLeft;
this.SmsVerificationsLeft = smsVerificationsLeft;
this.NumFaxPagesLeft = numFaxPagesLeft;
}

/// <summary>
Expand Down Expand Up @@ -107,6 +109,13 @@ public static AccountResponseQuotas Init(string jsonData)
[DataMember(Name = "sms_verifications_left", EmitDefaultValue = true)]
public int? SmsVerificationsLeft { get; set; }

/// <summary>
/// Number of fax pages left
/// </summary>
/// <value>Number of fax pages left</value>
[DataMember(Name = "num_fax_pages_left", EmitDefaultValue = true)]
public int? NumFaxPagesLeft { get; set; }

/// <summary>
/// Returns the string presentation of the object
/// </summary>
Expand All @@ -120,6 +129,7 @@ public override string ToString()
sb.Append(" TemplatesTotal: ").Append(TemplatesTotal).Append("\n");
sb.Append(" TemplatesLeft: ").Append(TemplatesLeft).Append("\n");
sb.Append(" SmsVerificationsLeft: ").Append(SmsVerificationsLeft).Append("\n");
sb.Append(" NumFaxPagesLeft: ").Append(NumFaxPagesLeft).Append("\n");
sb.Append("}\n");
return sb.ToString();
}
Expand Down Expand Up @@ -179,6 +189,11 @@ public bool Equals(AccountResponseQuotas input)
this.SmsVerificationsLeft == input.SmsVerificationsLeft ||
(this.SmsVerificationsLeft != null &&
this.SmsVerificationsLeft.Equals(input.SmsVerificationsLeft))
) &&
(
this.NumFaxPagesLeft == input.NumFaxPagesLeft ||
(this.NumFaxPagesLeft != null &&
this.NumFaxPagesLeft.Equals(input.NumFaxPagesLeft))
);
}

Expand Down Expand Up @@ -211,6 +226,10 @@ public override int GetHashCode()
{
hashCode = (hashCode * 59) + this.SmsVerificationsLeft.GetHashCode();
}
if (this.NumFaxPagesLeft != null)
{
hashCode = (hashCode * 59) + this.NumFaxPagesLeft.GetHashCode();
}
return hashCode;
}
}
Expand Down Expand Up @@ -248,6 +267,12 @@ public List<OpenApiType> GetOpenApiTypes()
Type = "int?",
Value = SmsVerificationsLeft,
});
types.Add(new OpenApiType(){
Name = "num_fax_pages_left",
Property = "NumFaxPagesLeft",
Type = "int?",
Value = NumFaxPagesLeft,
});

return types;
}
Expand Down
Loading