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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions 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.0</version>
<version>1.10.0</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.0"
implementation "com.dropbox.sign:dropbox-sign:1.10.0"
}
```

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

Then manually install the following JARs:

- `target/dropbox-sign-1.9.0.jar`
- `target/dropbox-sign-1.10.0.jar`
- `target/lib/*.jar`

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

- API version: `3.0.0`
- Package version: `1.9.0`
- Package version: `1.10.0`
- Build package: `org.openapitools.codegen.languages.JavaClientCodegen`


Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.9.0
1.10.0
10 changes: 5 additions & 5 deletions 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.0'
version = '1.10.0'
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 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.0",
version := "1.10.0",
scalaVersion := "2.11.4",
scalacOptions ++= Seq("-feature"),
Compile / javacOptions ++= Seq("-Xlint:deprecation"),
Expand Down
4 changes: 2 additions & 2 deletions 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. | |



1 change: 1 addition & 0 deletions docs/ReportCreateRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
---- | -----
| USER_ACTIVITY | &quot;user_activity&quot; |
| DOCUMENT_STATUS | &quot;document_status&quot; |
| SMS_ACTIVITY | &quot;sms_activity&quot; |



1 change: 1 addition & 0 deletions docs/ReportResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Contains information about the report request.
---- | -----
| USER_ACTIVITY | &quot;user_activity&quot; |
| DOCUMENT_STATUS | &quot;document_status&quot; |
| SMS_ACTIVITY | &quot;sms_activity&quot; |



2 changes: 2 additions & 0 deletions docs/TemplateResponseDocumentFormFieldText.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ This class extends `TemplateResponseDocumentFormFieldBase`
| `originalFontSize` | ```Integer``` | Original font size used in this form field&#39;s text. | |
| `fontFamily` | ```String``` | Font family used in this form field&#39;s text. | |
| `validationType` | [```ValidationTypeEnum```](#ValidationTypeEnum) | Each text field may contain a `validation_type` parameter. Check out the list of [validation types](https://faq.hellosign.com/hc/en-us/articles/217115577) to learn more about the possible values. | |
| `validationCustomRegex` | ```String``` | When `validation_type` is set to `custom_regex`, this specifies the custom regular expression pattern that will be used to validate the text field. | |
| `validationCustomRegexFormatLabel` | ```String``` | When `validation_type` is set to `custom_regex`, this specifies the error message displayed to the signer when the text does not match the provided regex pattern. | |
| `group` | ```String``` | The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields. | |


Expand Down
3 changes: 1 addition & 2 deletions 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.0
VERSION_NAME=1.10.0

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,7 +24,6 @@ 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

SONATYPE_CONNECT_TIMEOUT_SECONDS=300
Expand Down
2 changes: 1 addition & 1 deletion 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 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.0"
artifactVersion: "1.10.0"
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
18 changes: 14 additions & 4 deletions openapi-sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7797,7 +7797,7 @@ components:
type: array
items:
type: string
maxItems: 2
maxItems: 10
minItems: 1
name:
description: 'The name you want to assign to the ApiApp.'
Expand All @@ -7823,7 +7823,7 @@ components:
type: array
items:
type: string
maxItems: 2
maxItems: 10
name:
description: 'The name you want to assign to the ApiApp.'
type: string
Expand Down 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 All @@ -8135,6 +8135,7 @@ components:
enum:
- user_activity
- document_status
- sms_activity
maxItems: 2
minItems: 1
start_date:
Expand Down Expand Up @@ -11964,6 +11965,7 @@ components:
enum:
- user_activity
- document_status
- sms_activity
type: object
x-internal-class: true
SignatureRequestResponse:
Expand Down Expand Up @@ -13130,6 +13132,14 @@ components:
- employer_identification_number
- custom_regex
nullable: true
validation_custom_regex:
description: 'When `validation_type` is set to `custom_regex`, this specifies the custom regular expression pattern that will be used to validate the text field.'
type: string
nullable: true
validation_custom_regex_format_label:
description: 'When `validation_type` is set to `custom_regex`, this specifies the error message displayed to the signer when the text does not match the provided regex pattern.'
type: string
nullable: true
group:
description: 'The name of the group this field is in. If this field is not a group, this defaults to `null` except for Radio fields.'
type: string
Expand Down
2 changes: 1 addition & 1 deletion 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.0</version>
<version>1.10.0</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 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.0/java");
setUserAgent("OpenAPI-Generator/1.10.0/java");

// Setup authentications (key: authentication name, value: authentication).
authentications = new HashMap<>();
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/dropbox/sign/Configuration.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
value = "org.openapitools.codegen.languages.JavaClientCodegen",
comments = "Generator version: 7.12.0")
public class Configuration {
public static final String VERSION = "1.9.0";
public static final String VERSION = "1.10.0";

private static volatile ApiClient defaultApiClient = new ApiClient();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,8 @@ public OAuthTokenRefreshRequest clientId(@javax.annotation.Nullable String clien
}

/**
* 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.
*
* @return clientId
*/
Expand All @@ -141,9 +140,8 @@ public OAuthTokenRefreshRequest clientSecret(@javax.annotation.Nullable String c
}

/**
* 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.
*
* @return clientSecret
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ public class ReportCreateRequest {
public enum ReportTypeEnum {
USER_ACTIVITY(String.valueOf("user_activity")),

DOCUMENT_STATUS(String.valueOf("document_status"));
DOCUMENT_STATUS(String.valueOf("document_status")),

SMS_ACTIVITY(String.valueOf("sms_activity"));

private String value;

Expand Down
4 changes: 3 additions & 1 deletion src/main/java/com/dropbox/sign/model/ReportResponse.java
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ public class ReportResponse {
public enum ReportTypeEnum {
USER_ACTIVITY(String.valueOf("user_activity")),

DOCUMENT_STATUS(String.valueOf("document_status"));
DOCUMENT_STATUS(String.valueOf("document_status")),

SMS_ACTIVITY(String.valueOf("sms_activity"));

private String value;

Expand Down
Loading