Skip to content

Commit

Permalink
Release 2.2.1 (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
jtreminio-dropbox committed Sep 16, 2024
1 parent 340977b commit 44620b2
Show file tree
Hide file tree
Showing 43 changed files with 719 additions and 542 deletions.
10 changes: 5 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ target
.gradle
build

/.composer
/vendor
/.idea/
/.openapi-generator
/.github/workflows/maven.yml
.composer
vendor
.idea/
.openapi-generator
.github/workflows/maven.yml
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (C) 2023 dropbox.com
Copyright (c) 2024 dropbox.com

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Add this dependency to your project's POM:
<dependency>
<groupId>com.dropbox.sign</groupId>
<artifactId>dropbox-sign</artifactId>
<version>2.2.0</version>
<version>2.2.1</version>
<scope>compile</scope>
</dependency>
```
Expand All @@ -72,7 +72,7 @@ Add this dependency to your project's build file:
}
dependencies {
implementation "com.dropbox.sign:dropbox-sign:2.2.0"
implementation "com.dropbox.sign:dropbox-sign:2.2.1"
}
```

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

Then manually install the following JARs:

- `target/dropbox-sign-2.2.0.jar`
- `target/dropbox-sign-2.2.1.jar`
- `target/lib/*.jar`

## Getting Started
Expand Down Expand Up @@ -425,7 +425,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: `2.2.0`
- Package version: `2.2.1`
- 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 @@
2.2.0
2.2.1
4 changes: 2 additions & 2 deletions bin/gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ WORKING_DIR="/app/java"

docker run --rm \
-v "${ROOT_DIR}:${WORKING_DIR}" \
-v "dropbox-sign-sdk-gradle-cache:/home/gradle/.gradle" \
-v "dropbox-sign-sdk-maven-cache:/root/.m2" \
-v "dropbox-sign-sdk-v2-gradle-cache:/home/gradle/.gradle" \
-v "dropbox-sign-sdk-v2-maven-cache:/root/.m2" \
-w "${WORKING_DIR}" \
-e GEN_DIR=/app \
gradle:7.6.1-jdk11 "$@"
9 changes: 5 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,22 @@ buildscript {
dependencies {
classpath 'com.android.tools.build:gradle:2.3.+'
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
classpath 'com.diffplug.spotless:spotless-plugin-gradle:6.3.0'
classpath 'com.diffplug.spotless:spotless-plugin-gradle:6.25.0'
}
}

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

apply plugin: 'java'
apply plugin: 'maven-publish'
apply plugin: 'com.diffplug.spotless'
apply plugin: 'signing'

group = 'com.dropbox.sign'
archivesBaseName = 'dropbox-sign'
version = '2.2.0'
version = '2.2.1'
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8

Expand Down Expand Up @@ -170,7 +170,8 @@ spotless {
java {
// don't need to set target, it is inferred from java
// apply a specific flavor of google-java-format
googleJavaFormat('1.8').aosp().reflowLongStrings()
googleJavaFormat('1.23.0').aosp().reflowLongStrings()
formatAnnotations()
removeUnusedImports()
importOrder()
}
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 := "2.2.0",
version := "2.2.1",
scalaVersion := "2.11.4",
scalacOptions ++= Seq("-feature"),
Compile / javacOptions ++= Seq("-Xlint:deprecation"),
Expand Down
2 changes: 1 addition & 1 deletion 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=2.2.0
VERSION_NAME=2.2.1

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 Down
10 changes: 7 additions & 3 deletions openapi-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ additionalProperties:
groupId: com.dropbox.sign
artifactId: dropbox-sign
artifactName: Dropbox Sign Java SDK
artifactVersion: "2.2.0"
artifactVersion: "2.2.1"
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 All @@ -27,11 +27,15 @@ additionalProperties:
licenseName: MIT License
licenseUrl: https://www.opensource.org/licenses/mit-license.php
useCustomTemplateCode: true
licenseCopyrightYear: 2024
files:
EventCallbackHelper.mustache:
dropbox-EventCallbackHelper.mustache:
templateType: SupportingFiles
destinationFilename: src/main/java/com/dropbox/sign/EventCallbackHelper.java
VERSION.mustache:
dropbox-LICENSE.mustache:
templateType: SupportingFiles
destinationFilename: LICENSE
dropbox-VERSION.mustache:
templateType: SupportingFiles
destinationFilename: VERSION
globalProperties:
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>2.2.0</version>
<version>2.2.1</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 @@ -159,7 +159,7 @@ public ApiClient(Map<String, Authentication> authMap) {
this.dateFormat = new RFC3339DateFormat();

// Set default User-Agent.
setUserAgent("OpenAPI-Generator/2.2.0/java");
setUserAgent("OpenAPI-Generator/2.2.1/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 @@ -15,7 +15,7 @@

@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.8.0")
public class Configuration {
public static final String VERSION = "2.2.0";
public static final String VERSION = "2.2.1";

private static ApiClient defaultApiClient = new ApiClient();

Expand Down
16 changes: 8 additions & 8 deletions src/main/java/com/dropbox/sign/api/AccountApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public void setApiClient(ApiClient apiClient) {
}

/**
* Create Account
* Create Account.
* Creates a new Dropbox Sign Account that is associated with the specified &#x60;email_address&#x60;.
* @param accountCreateRequest (required)
* @return AccountCreateResponse
Expand All @@ -71,7 +71,7 @@ public AccountCreateResponse accountCreate(AccountCreateRequest accountCreateReq


/**
* Create Account
* Create Account.
* Creates a new Dropbox Sign Account that is associated with the specified &#x60;email_address&#x60;.
* @param accountCreateRequest (required)
* @return ApiResponse&lt;AccountCreateResponse&gt;
Expand Down Expand Up @@ -114,7 +114,7 @@ public ApiResponse<AccountCreateResponse> accountCreateWithHttpInfo(AccountCreat
);
}
/**
* Get Account
* Get Account.
* Returns the properties and settings of your Account.
* @param accountId &#x60;account_id&#x60; or &#x60;email_address&#x60; is required. If both are provided, the account id prevails. The ID of the Account. (optional)
* @param emailAddress &#x60;account_id&#x60; or &#x60;email_address&#x60; is required, If both are provided, the account id prevails. The email address of the Account. (optional)
Expand Down Expand Up @@ -172,7 +172,7 @@ public ApiResponse<AccountGetResponse> accountGetWithHttpInfo(String accountId)


/**
* Get Account
* Get Account.
* Returns the properties and settings of your Account.
* @param accountId &#x60;account_id&#x60; or &#x60;email_address&#x60; is required. If both are provided, the account id prevails. The ID of the Account. (optional)
* @param emailAddress &#x60;account_id&#x60; or &#x60;email_address&#x60; is required, If both are provided, the account id prevails. The email address of the Account. (optional)
Expand Down Expand Up @@ -217,7 +217,7 @@ public ApiResponse<AccountGetResponse> accountGetWithHttpInfo(String accountId,
);
}
/**
* Update Account
* Update Account.
* Updates the properties and settings of your Account. Currently only allows for updates to the [Callback URL](/api/reference/tag/Callbacks-and-Events) and locale.
* @param accountUpdateRequest (required)
* @return AccountGetResponse
Expand All @@ -235,7 +235,7 @@ public AccountGetResponse accountUpdate(AccountUpdateRequest accountUpdateReques


/**
* Update Account
* Update Account.
* Updates the properties and settings of your Account. Currently only allows for updates to the [Callback URL](/api/reference/tag/Callbacks-and-Events) and locale.
* @param accountUpdateRequest (required)
* @return ApiResponse&lt;AccountGetResponse&gt;
Expand Down Expand Up @@ -278,7 +278,7 @@ public ApiResponse<AccountGetResponse> accountUpdateWithHttpInfo(AccountUpdateRe
);
}
/**
* Verify Account
* Verify Account.
* Verifies whether an Dropbox Sign Account exists for the given email address.
* @param accountVerifyRequest (required)
* @return AccountVerifyResponse
Expand All @@ -296,7 +296,7 @@ public AccountVerifyResponse accountVerify(AccountVerifyRequest accountVerifyReq


/**
* Verify Account
* Verify Account.
* Verifies whether an Dropbox Sign Account exists for the given email address.
* @param accountVerifyRequest (required)
* @return ApiResponse&lt;AccountVerifyResponse&gt;
Expand Down
20 changes: 10 additions & 10 deletions src/main/java/com/dropbox/sign/api/ApiAppApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public void setApiClient(ApiClient apiClient) {
}

/**
* Create API App
* Create API App.
* Creates a new API App.
* @param apiAppCreateRequest (required)
* @return ApiAppGetResponse
Expand All @@ -69,7 +69,7 @@ public ApiAppGetResponse apiAppCreate(ApiAppCreateRequest apiAppCreateRequest) t


/**
* Create API App
* Create API App.
* Creates a new API App.
* @param apiAppCreateRequest (required)
* @return ApiResponse&lt;ApiAppGetResponse&gt;
Expand Down Expand Up @@ -112,7 +112,7 @@ public ApiResponse<ApiAppGetResponse> apiAppCreateWithHttpInfo(ApiAppCreateReque
);
}
/**
* Delete API App
* Delete API App.
* Deletes an API App. Can only be invoked for apps you own.
* @param clientId The client id of the API App to delete. (required)
* @throws ApiException if fails to make API call
Expand All @@ -129,7 +129,7 @@ public void apiAppDelete(String clientId) throws ApiException {


/**
* Delete API App
* Delete API App.
* Deletes an API App. Can only be invoked for apps you own.
* @param clientId The client id of the API App to delete. (required)
* @return ApiResponse&lt;Void&gt;
Expand Down Expand Up @@ -175,7 +175,7 @@ public ApiResponse<Void> apiAppDeleteWithHttpInfo(String clientId) throws ApiExc
);
}
/**
* Get API App
* Get API App.
* Returns an object with information about an API App.
* @param clientId The client id of the API App to retrieve. (required)
* @return ApiAppGetResponse
Expand All @@ -193,7 +193,7 @@ public ApiAppGetResponse apiAppGet(String clientId) throws ApiException {


/**
* Get API App
* Get API App.
* Returns an object with information about an API App.
* @param clientId The client id of the API App to retrieve. (required)
* @return ApiResponse&lt;ApiAppGetResponse&gt;
Expand Down Expand Up @@ -240,7 +240,7 @@ public ApiResponse<ApiAppGetResponse> apiAppGetWithHttpInfo(String clientId) thr
);
}
/**
* List API Apps
* List API Apps.
* Returns a list of API Apps that are accessible by you. If you are on a team with an Admin or Developer role, this list will include apps owned by teammates.
* @param page Which page number of the API App List to return. Defaults to &#x60;1&#x60;. (optional, default to 1)
* @param pageSize Number of objects to be returned per page. Must be between &#x60;1&#x60; and &#x60;100&#x60;. Default is &#x60;20&#x60;. (optional, default to 20)
Expand Down Expand Up @@ -298,7 +298,7 @@ public ApiResponse<ApiAppListResponse> apiAppListWithHttpInfo(Integer page) thro


/**
* List API Apps
* List API Apps.
* Returns a list of API Apps that are accessible by you. If you are on a team with an Admin or Developer role, this list will include apps owned by teammates.
* @param page Which page number of the API App List to return. Defaults to &#x60;1&#x60;. (optional, default to 1)
* @param pageSize Number of objects to be returned per page. Must be between &#x60;1&#x60; and &#x60;100&#x60;. Default is &#x60;20&#x60;. (optional, default to 20)
Expand Down Expand Up @@ -349,7 +349,7 @@ public ApiResponse<ApiAppListResponse> apiAppListWithHttpInfo(Integer page, Inte
);
}
/**
* Update API App
* Update API App.
* Updates an existing API App. Can only be invoked for apps you own. Only the fields you provide will be updated. If you wish to clear an existing optional field, provide an empty string.
* @param clientId The client id of the API App to update. (required)
* @param apiAppUpdateRequest (required)
Expand All @@ -368,7 +368,7 @@ public ApiAppGetResponse apiAppUpdate(String clientId, ApiAppUpdateRequest apiAp


/**
* Update API App
* Update API App.
* Updates an existing API App. Can only be invoked for apps you own. Only the fields you provide will be updated. If you wish to clear an existing optional field, provide an empty string.
* @param clientId The client id of the API App to update. (required)
* @param apiAppUpdateRequest (required)
Expand Down
8 changes: 4 additions & 4 deletions src/main/java/com/dropbox/sign/api/BulkSendJobApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public void setApiClient(ApiClient apiClient) {
}

/**
* Get Bulk Send Job
* Get Bulk Send Job.
* Returns the status of the BulkSendJob and its SignatureRequests specified by the &#x60;bulk_send_job_id&#x60; parameter.
* @param bulkSendJobId The id of the BulkSendJob to retrieve. (required)
* @param page Which page number of the BulkSendJob list to return. Defaults to &#x60;1&#x60;. (optional, default to 1)
Expand Down Expand Up @@ -108,7 +108,7 @@ public ApiResponse<BulkSendJobGetResponse> bulkSendJobGetWithHttpInfo(String bul


/**
* Get Bulk Send Job
* Get Bulk Send Job.
* Returns the status of the BulkSendJob and its SignatureRequests specified by the &#x60;bulk_send_job_id&#x60; parameter.
* @param bulkSendJobId The id of the BulkSendJob to retrieve. (required)
* @param page Which page number of the BulkSendJob list to return. Defaults to &#x60;1&#x60;. (optional, default to 1)
Expand Down Expand Up @@ -169,7 +169,7 @@ public ApiResponse<BulkSendJobGetResponse> bulkSendJobGetWithHttpInfo(String bul
);
}
/**
* List Bulk Send Jobs
* List Bulk Send Jobs.
* Returns a list of BulkSendJob that you can access.
* @param page Which page number of the BulkSendJob List to return. Defaults to &#x60;1&#x60;. (optional, default to 1)
* @param pageSize Number of objects to be returned per page. Must be between &#x60;1&#x60; and &#x60;100&#x60;. Default is 20. (optional, default to 20)
Expand Down Expand Up @@ -227,7 +227,7 @@ public ApiResponse<BulkSendJobListResponse> bulkSendJobListWithHttpInfo(Integer


/**
* List Bulk Send Jobs
* List Bulk Send Jobs.
* Returns a list of BulkSendJob that you can access.
* @param page Which page number of the BulkSendJob List to return. Defaults to &#x60;1&#x60;. (optional, default to 1)
* @param pageSize Number of objects to be returned per page. Must be between &#x60;1&#x60; and &#x60;100&#x60;. Default is 20. (optional, default to 20)
Expand Down
Loading

0 comments on commit 44620b2

Please sign in to comment.