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

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions examples/json/FaxSendRequest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"files": [
"./example_fax.pdf"
"file_urls": [
"https://www.dropbox.com/s/ad9qnhbrjjn64tu/mutual-NDA-example.pdf?dl=1"
],
"test_mode": "true",
"recipient": "16690000001",
Expand Down
4 changes: 2 additions & 2 deletions examples/json/SignatureRequestCreateEmbeddedRequest.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
"lawyer1@dropboxsign.com",
"lawyer2@dropboxsign.com"
],
"files": [
"./example_signature_request.pdf"
"file_urls": [
"https://www.dropbox.com/s/ad9qnhbrjjn64tu/mutual-NDA-example.pdf?dl=1"
],
"signing_options": {
"draw": true,
Expand Down
4 changes: 2 additions & 2 deletions examples/json/SignatureRequestEditEmbeddedRequest.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
"lawyer1@dropboxsign.com",
"lawyer2@dropboxsign.com"
],
"files": [
"./example_signature_request.pdf"
"file_urls": [
"https://www.dropbox.com/s/ad9qnhbrjjn64tu/mutual-NDA-example.pdf?dl=1"
],
"signing_options": {
"draw": true,
Expand Down
4 changes: 2 additions & 2 deletions examples/json/SignatureRequestEditRequest.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"lawyer1@dropboxsign.com",
"lawyer2@dropboxsign.com"
],
"files": [
"./example_signature_request.pdf"
"file_urls": [
"https://www.dropbox.com/s/ad9qnhbrjjn64tu/mutual-NDA-example.pdf?dl=1"
],
"metadata": {
"custom_id": 1234,
Expand Down
4 changes: 2 additions & 2 deletions examples/json/SignatureRequestSendRequest.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"lawyer1@dropboxsign.com",
"lawyer2@dropboxsign.com"
],
"files": [
"./example_signature_request.pdf"
"file_urls": [
"https://www.dropbox.com/s/ad9qnhbrjjn64tu/mutual-NDA-example.pdf?dl=1"
],
"metadata": {
"custom_id": 1234,
Expand Down
4 changes: 2 additions & 2 deletions examples/json/TemplateCreateEmbeddedDraftRequest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"client_id": "37dee8d8440c66d54cfa05d92c160882",
"files": [
"./example_signature_request.pdf"
"file_urls": [
"https://www.dropbox.com/s/ad9qnhbrjjn64tu/mutual-NDA-example.pdf?dl=1"
],
"title": "Test Template",
"subject": "Please sign this document",
Expand Down
4 changes: 2 additions & 2 deletions examples/json/TemplateCreateRequest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"client_id": "37dee8d8440c66d54cfa05d92c160882",
"files": [
"./example_signature_request.pdf"
"file_urls": [
"https://www.dropbox.com/s/ad9qnhbrjjn64tu/mutual-NDA-example.pdf?dl=1"
],
"title": "Test Template",
"subject": "Please sign this document",
Expand Down
4 changes: 2 additions & 2 deletions examples/json/TemplateUpdateFilesRequest.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"files": [
"./example_signature_request.pdf"
"file_urls": [
"https://www.dropbox.com/s/ad9qnhbrjjn64tu/mutual-NDA-example.pdf?dl=1"
]
}
4 changes: 2 additions & 2 deletions examples/json/UnclaimedDraftCreateEmbeddedRequest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"client_id": "b6b8e7deaf8f0b95c029dca049356d4a2cf9710a",
"files": [
"./example_signature_request.pdf"
"file_urls": [
"https://www.dropbox.com/s/ad9qnhbrjjn64tu/mutual-NDA-example.pdf?dl=1"
],
"requester_email_address": "jack@dropboxsign.com",
"test_mode": true
Expand Down
4 changes: 2 additions & 2 deletions examples/json/UnclaimedDraftCreateRequest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"files": [
"./example_signature_request.pdf"
"file_urls": [
"https://www.dropbox.com/s/ad9qnhbrjjn64tu/mutual-NDA-example.pdf?dl=1"
],
"signers": [
{
Expand Down
4 changes: 2 additions & 2 deletions openapi-sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8112,10 +8112,10 @@ components:
description: 'The token provided when you got the expired access token.'
type: string
client_id:
description: 'The client ID for your API app. Mandatory from August 1st, 2025. Until then, required if the "Client Credentials Required" setting is enabled for token refresh; optional if disabled.'
description: 'The client ID for your API app. Required for new API apps. To enhance security, we recommend making it required for existing apps in your app settings.'
type: string
client_secret:
description: 'The client secret for your API app. Mandatory from August 1st, 2025. Until then, required if the "Client Credentials Required" setting is enabled for token refresh; optional if disabled.'
description: 'The client secret for your API app. Required for new API apps. To enhance security, we recommend making it required for existing apps in your app settings.'
type: string
type: object
ReportCreateRequest:
Expand Down
4 changes: 2 additions & 2 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8112,10 +8112,10 @@ components:
description: 'The token provided when you got the expired access token.'
type: string
client_id:
description: 'The client ID for your API app. Mandatory from August 1st, 2025. Until then, required if the "Client Credentials Required" setting is enabled for token refresh; optional if disabled.'
description: 'The client ID for your API app. Required for new API apps. To enhance security, we recommend making it required for existing apps in your app settings.'
type: string
client_secret:
description: 'The client secret for your API app. Mandatory from August 1st, 2025. Until then, required if the "Client Credentials Required" setting is enabled for token refresh; optional if disabled.'
description: 'The client secret for your API app. Required for new API apps. To enhance security, we recommend making it required for existing apps in your app settings.'
type: string
type: object
ReportCreateRequest:
Expand Down
2 changes: 1 addition & 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: 2.0-dev
- SDK version: 2.1-dev
- Generator version: 7.12.0
- Build package: org.openapitools.codegen.languages.CSharpClientCodegen

Expand Down
2 changes: 1 addition & 1 deletion sdks/dotnet/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.0-dev
2.1-dev
2 changes: 1 addition & 1 deletion sdks/dotnet/docs/OAuthTokenRefreshRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**GrantType** | **string** | When refreshing an existing token use `refresh_token`. | [default to "refresh_token"]**RefreshToken** | **string** | The token provided when you got the expired access token. | **ClientId** | **string** | The client ID for your API app. Mandatory from August 1st, 2025. Until then, required if the "Client Credentials Required" setting is enabled for token refresh; optional if disabled. | [optional] **ClientSecret** | **string** | The client secret for your API app. Mandatory from August 1st, 2025. Until then, required if the "Client Credentials Required" setting is enabled for token refresh; optional if disabled. | [optional]
**GrantType** | **string** | When refreshing an existing token use `refresh_token`. | [default to "refresh_token"]**RefreshToken** | **string** | The token provided when you got the expired access token. | **ClientId** | **string** | The client ID for your API app. Required for new API apps. To enhance security, we recommend making it required for existing apps in your app settings. | [optional] **ClientSecret** | **string** | The client secret for your API app. Required for new API apps. To enhance security, we recommend making it required for existing apps in your app settings. | [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 @@ -6,7 +6,7 @@ additionalProperties:
packageCompany: Dropbox Sign API Team
packageCopyright: Dropbox 2024
packageDescription: Client library for using the Dropbox Sign API
packageVersion: 2.0-dev
packageVersion: 2.1-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 = "2.0-dev";
public const string Version = "2.1-dev";

/// <summary>
/// Identifier for ISO 8601 DateTime Format
Expand Down Expand Up @@ -120,7 +120,7 @@ public class Configuration : IReadableConfiguration
public Configuration()
{
Proxy = null;
UserAgent = WebUtility.UrlEncode("OpenAPI-Generator/2.0-dev/csharp");
UserAgent = WebUtility.UrlEncode("OpenAPI-Generator/2.1-dev/csharp");
BasePath = "https://api.hellosign.com/v3";
DefaultHeaders = new ConcurrentDictionary<string, string>();
ApiKey = new ConcurrentDictionary<string, string>();
Expand Down Expand Up @@ -567,7 +567,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: 2.0-dev\n";
report += " SDK Package Version: 2.1-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 @@ -12,7 +12,7 @@
<Description>Client library for using the Dropbox Sign API</Description>
<Copyright>Dropbox 2024</Copyright>
<RootNamespace>Dropbox.Sign</RootNamespace>
<Version>2.0-dev</Version>
<Version>2.1-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
12 changes: 6 additions & 6 deletions sdks/dotnet/src/Dropbox.Sign/Model/OAuthTokenRefreshRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ protected OAuthTokenRefreshRequest() { }
/// </summary>
/// <param name="grantType">When refreshing an existing token use &#x60;refresh_token&#x60;. (required) (default to &quot;refresh_token&quot;).</param>
/// <param name="refreshToken">The token provided when you got the expired access token. (required).</param>
/// <param name="clientId">The client ID for your API app. Mandatory from August 1st, 2025. Until then, required if the \&quot;Client Credentials Required\&quot; setting is enabled for token refresh; optional if disabled..</param>
/// <param name="clientSecret">The client secret for your API app. Mandatory from August 1st, 2025. Until then, required if the \&quot;Client Credentials Required\&quot; setting is enabled for token refresh; optional if disabled..</param>
/// <param name="clientId">The client ID for your API app. Required for new API apps. To enhance security, we recommend making it required for existing apps in your app settings..</param>
/// <param name="clientSecret">The client secret for your API app. Required for new API apps. To enhance security, we recommend making it required for existing apps in your app settings..</param>
public OAuthTokenRefreshRequest(string grantType = @"refresh_token", string refreshToken = default(string), string clientId = default(string), string clientSecret = default(string))
{

Expand Down Expand Up @@ -95,16 +95,16 @@ public static OAuthTokenRefreshRequest Init(string jsonData)
public string RefreshToken { get; set; }

/// <summary>
/// The client ID for your API app. Mandatory from August 1st, 2025. Until then, required if the \&quot;Client Credentials Required\&quot; setting is enabled for token refresh; optional if disabled.
/// The client ID for your API app. Required for new API apps. To enhance security, we recommend making it required for existing apps in your app settings.
/// </summary>
/// <value>The client ID for your API app. Mandatory from August 1st, 2025. Until then, required if the \&quot;Client Credentials Required\&quot; setting is enabled for token refresh; optional if disabled.</value>
/// <value>The client ID for your API app. Required for new API apps. To enhance security, we recommend making it required for existing apps in your app settings.</value>
[DataMember(Name = "client_id", EmitDefaultValue = true)]
public string ClientId { get; set; }

/// <summary>
/// The client secret for your API app. Mandatory from August 1st, 2025. Until then, required if the \&quot;Client Credentials Required\&quot; setting is enabled for token refresh; optional if disabled.
/// The client secret for your API app. Required for new API apps. To enhance security, we recommend making it required for existing apps in your app settings.
/// </summary>
/// <value>The client secret for your API app. Mandatory from August 1st, 2025. Until then, required if the \&quot;Client Credentials Required\&quot; setting is enabled for token refresh; optional if disabled.</value>
/// <value>The client secret for your API app. Required for new API apps. To enhance security, we recommend making it required for existing apps in your app settings.</value>
[DataMember(Name = "client_secret", EmitDefaultValue = true)]
public string ClientSecret { get; set; }

Expand Down
4 changes: 2 additions & 2 deletions sdks/java-v1/.github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
java-version: 11

- name: Upload Artifacts
run: ./gradlew publishAllPublicationsToMavenCentralRepository --no-daemon --no-parallel --no-configuration-cache --stacktrace
run: ./gradlew publishToMavenCentral --no-daemon --no-parallel --no-configuration-cache --stacktrace
env:
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_USERNAME }}
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_PASSWORD }}
Expand All @@ -59,7 +59,7 @@ jobs:
run: echo "PACKAGE_VERSION=$(cat VERSION)" >> $GITHUB_ENV

- name: Publish Release to Maven Central
run: ./gradlew closeAndReleaseRepository --no-daemon --no-parallel
run: ./gradlew releaseRepository --no-daemon --no-parallel
if: "!endsWith(env.PACKAGE_VERSION, '-SNAPSHOT')"
env:
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_USERNAME }}
Expand Down
8 changes: 4 additions & 4 deletions sdks/java-v1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Add this dependency to your project's POM:
<dependency>
<groupId>com.dropbox.sign</groupId>
<artifactId>dropbox-sign</artifactId>
<version>1.9-dev</version>
<version>1.10-dev</version>
<scope>compile</scope>
</dependency>
```
Expand All @@ -71,7 +71,7 @@ Add this dependency to your project's build file:
}

dependencies {
implementation "com.dropbox.sign:dropbox-sign:1.9-dev"
implementation "com.dropbox.sign:dropbox-sign:1.10-dev"
}
```

Expand All @@ -85,7 +85,7 @@ mvn clean package

Then manually install the following JARs:

- `target/dropbox-sign-1.9-dev.jar`
- `target/dropbox-sign-1.10-dev.jar`
- `target/lib/*.jar`

## Getting Started
Expand Down Expand Up @@ -477,7 +477,7 @@ apisupport@hellosign.com
This Java package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: `3.0.0`
- Package version: `1.9-dev`
- Package version: `1.10-dev`
- Build package: `org.openapitools.codegen.languages.JavaClientCodegen`


Expand Down
2 changes: 1 addition & 1 deletion sdks/java-v1/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.9-dev
1.10-dev
10 changes: 5 additions & 5 deletions sdks/java-v1/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ buildscript {
}

plugins {
id 'com.vanniktech.maven.publish' version '0.24.0'
id 'com.vanniktech.maven.publish' version '0.34.0'
id 'com.diffplug.spotless' version '6.25.0'
}

Expand All @@ -21,7 +21,7 @@ apply plugin: 'signing'

group = 'com.dropbox.sign'
archivesBaseName = 'dropbox-sign'
version = '1.9-dev'
version = '1.10-dev'
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8

Expand All @@ -42,17 +42,17 @@ if (JavaVersion.current().isJava8Compatible()) {
}

task javadocJar(type: Jar) {
classifier = 'javadoc'
archiveClassifier.set('javadoc')
from javadoc
}

task sourcesJar(type: Jar) {
classifier = 'sources'
archiveClassifier.set('sources')
from sourceSets.main.allSource
}

task fatJar(type: Jar) {
classifier = 'all'
archiveClassifier.set('all')
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
Expand Down
2 changes: 1 addition & 1 deletion sdks/java-v1/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ lazy val root = (project in file(".")).
settings(
organization := "com.dropbox.sign",
name := "dropbox-sign",
version := "1.9-dev",
version := "1.10-dev",
scalaVersion := "2.11.4",
scalacOptions ++= Seq("-feature"),
Compile / javacOptions ++= Seq("-Xlint:deprecation"),
Expand Down
4 changes: 2 additions & 2 deletions sdks/java-v1/docs/OAuthTokenRefreshRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
|------------ | ------------- | ------------- | -------------|
| `grantType`<sup>*_required_</sup> | ```String``` | When refreshing an existing token use `refresh_token`. | |
| `refreshToken`<sup>*_required_</sup> | ```String``` | The token provided when you got the expired access token. | |
| `clientId` | ```String``` | The client ID for your API app. Mandatory from August 1st, 2025. Until then, required if the &quot;Client Credentials Required&quot; setting is enabled for token refresh; optional if disabled. | |
| `clientSecret` | ```String``` | The client secret for your API app. Mandatory from August 1st, 2025. Until then, required if the &quot;Client Credentials Required&quot; setting is enabled for token refresh; optional if disabled. | |
| `clientId` | ```String``` | The client ID for your API app. Required for new API apps. To enhance security, we recommend making it required for existing apps in your app settings. | |
| `clientSecret` | ```String``` | The client secret for your API app. Required for new API apps. To enhance security, we recommend making it required for existing apps in your app settings. | |



6 changes: 3 additions & 3 deletions sdks/java-v1/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#target = android
GROUP=com.dropbox.sign
POM_ARTIFACT_ID=dropbox-sign
VERSION_NAME=1.9-dev
VERSION_NAME=1.10-dev

POM_NAME=Dropbox Sign Java SDK
POM_DESCRIPTION=Use the Dropbox Sign Java SDK to connect your Java app to the service of Dropbox Sign in microseconds!
Expand All @@ -24,8 +24,8 @@ POM_DEVELOPER_ID=dropbox-sign-api-team
POM_DEVELOPER_NAME=Dropbox Sign API Team
POM_DEVELOPER_URL=https://hellosign.com

SONATYPE_HOST=S01
RELEASE_SIGNING_ENABLED=true
mavenCentralPublishing=true
signAllPublications=true

SONATYPE_CONNECT_TIMEOUT_SECONDS=300
SONATYPE_CLOSE_TIMEOUT_SECONDS=900
Expand Down
2 changes: 1 addition & 1 deletion sdks/java-v1/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
2 changes: 1 addition & 1 deletion sdks/java-v1/openapi-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ additionalProperties:
groupId: com.dropbox.sign
artifactId: dropbox-sign
artifactName: Dropbox Sign Java SDK
artifactVersion: "1.9-dev"
artifactVersion: "1.10-dev"
artifactUrl: https://github.com/hellosign/dropbox-sign-java
artifactDescription: Use the Dropbox Sign Java SDK to connect your Java app to the service of Dropbox Sign in microseconds!
scmConnection: scm:git:git://github.com/hellosign/dropbox-sign-java.git
Expand Down
2 changes: 1 addition & 1 deletion sdks/java-v1/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<artifactId>dropbox-sign</artifactId>
<packaging>jar</packaging>
<name>dropbox-sign</name>
<version>1.9-dev</version>
<version>1.10-dev</version>
<url>https://github.com/hellosign/dropbox-sign-java</url>
<description>Use the Dropbox Sign Java SDK to connect your Java app to the service of Dropbox Sign in microseconds!</description>
<scm>
Expand Down
2 changes: 1 addition & 1 deletion sdks/java-v1/src/main/java/com/dropbox/sign/ApiClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ public ApiClient(Map<String, Authentication> authMap) {
this.dateFormat = new RFC3339DateFormat();

// Set default User-Agent.
setUserAgent("OpenAPI-Generator/1.9-dev/java");
setUserAgent("OpenAPI-Generator/1.10-dev/java");

// Setup authentications (key: authentication name, value: authentication).
authentications = new HashMap<>();
Expand Down
Loading