From 44620b2c7a32c067f41b8951965b3a51bdfb0c7f Mon Sep 17 00:00:00 2001
From: Juan Treminio <50673996+jtreminio-dropbox@users.noreply.github.com>
Date: Mon, 16 Sep 2024 11:02:44 -0500
Subject: [PATCH] Release 2.2.1 (#33)
---
.gitignore | 10 +-
LICENSE | 2 +-
README.md | 8 +-
VERSION | 2 +-
bin/gradle | 4 +-
build.gradle | 9 +-
build.sbt | 2 +-
gradle.properties | 2 +-
openapi-config.yaml | 10 +-
pom.xml | 2 +-
src/main/java/com/dropbox/sign/ApiClient.java | 2 +-
.../java/com/dropbox/sign/Configuration.java | 2 +-
.../java/com/dropbox/sign/api/AccountApi.java | 16 +-
.../java/com/dropbox/sign/api/ApiAppApi.java | 20 +-
.../com/dropbox/sign/api/BulkSendJobApi.java | 8 +-
.../com/dropbox/sign/api/EmbeddedApi.java | 8 +-
.../java/com/dropbox/sign/api/FaxLineApi.java | 28 +-
.../java/com/dropbox/sign/api/OAuthApi.java | 8 +-
.../java/com/dropbox/sign/api/ReportApi.java | 4 +-
.../dropbox/sign/api/SignatureRequestApi.java | 64 ++--
.../java/com/dropbox/sign/api/TeamApi.java | 40 +--
.../com/dropbox/sign/api/TemplateApi.java | 44 +--
.../dropbox/sign/api/UnclaimedDraftApi.java | 16 +-
.../dropbox/sign/EventCallbackHelperTest.java | 55 ++-
.../java/com/dropbox/sign/FixtureTest.java | 74 ++--
.../sign/SubFormFieldsPerDocumentTest.java | 40 ++-
.../java/com/dropbox/sign/TestHelper.java | 59 ++--
.../com/dropbox/sign/api/AccountApiTest.java | 71 ++--
.../com/dropbox/sign/api/ApiAppApiTest.java | 41 ++-
.../dropbox/sign/api/BulkSendJobApiTest.java | 16 +-
.../com/dropbox/sign/api/EmbeddedApiTest.java | 19 +-
.../com/dropbox/sign/api/OAuthApiTest.java | 22 +-
.../com/dropbox/sign/api/ReportApiTest.java | 13 +-
.../sign/api/SignatureRequestApiTest.java | 319 ++++++++++--------
.../com/dropbox/sign/api/TeamApiTest.java | 31 +-
.../com/dropbox/sign/api/TemplateApiTest.java | 67 ++--
.../sign/api/UnclaimedDraftApiTest.java | 64 ++--
...e => dropbox-EventCallbackHelper.mustache} | 0
templates/dropbox-LICENSE.mustache | 21 ++
...SION.mustache => dropbox-VERSION.mustache} | 0
templates/gitignore.mustache | 10 +-
templates/libraries/jersey3/api.mustache | 15 +
.../libraries/jersey3/build.gradle.mustache | 13 +-
43 files changed, 719 insertions(+), 542 deletions(-)
rename templates/{EventCallbackHelper.mustache => dropbox-EventCallbackHelper.mustache} (100%)
create mode 100644 templates/dropbox-LICENSE.mustache
rename templates/{VERSION.mustache => dropbox-VERSION.mustache} (100%)
diff --git a/.gitignore b/.gitignore
index 639e150..6d0a68e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -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
diff --git a/LICENSE b/LICENSE
index 4025343..ef7ea60 100644
--- a/LICENSE
+++ b/LICENSE
@@ -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
diff --git a/README.md b/README.md
index 5fdc708..012ea25 100644
--- a/README.md
+++ b/README.md
@@ -56,7 +56,7 @@ Add this dependency to your project's POM:
com.dropbox.signdropbox-sign
- 2.2.0
+ 2.2.1compile
```
@@ -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"
}
```
@@ -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
@@ -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`
diff --git a/VERSION b/VERSION
index ccbccc3..c043eea 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-2.2.0
+2.2.1
diff --git a/bin/gradle b/bin/gradle
index 3cc139f..98ba3ac 100755
--- a/bin/gradle
+++ b/bin/gradle
@@ -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 "$@"
diff --git a/build.gradle b/build.gradle
index bce8eb6..a5b0f46 100644
--- a/build.gradle
+++ b/build.gradle
@@ -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
@@ -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()
}
diff --git a/build.sbt b/build.sbt
index e3cd984..abdc957 100644
--- a/build.sbt
+++ b/build.sbt
@@ -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"),
diff --git a/gradle.properties b/gradle.properties
index cbaa31a..b874c29 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -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!
diff --git a/openapi-config.yaml b/openapi-config.yaml
index eddaeeb..047851f 100644
--- a/openapi-config.yaml
+++ b/openapi-config.yaml
@@ -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
@@ -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:
diff --git a/pom.xml b/pom.xml
index dcf54b3..0848282 100644
--- a/pom.xml
+++ b/pom.xml
@@ -5,7 +5,7 @@
dropbox-signjardropbox-sign
- 2.2.0
+ 2.2.1https://github.com/hellosign/dropbox-sign-javaUse the Dropbox Sign Java SDK to connect your Java app to the service of Dropbox Sign in microseconds!
diff --git a/src/main/java/com/dropbox/sign/ApiClient.java b/src/main/java/com/dropbox/sign/ApiClient.java
index 4119fb8..0f1c890 100644
--- a/src/main/java/com/dropbox/sign/ApiClient.java
+++ b/src/main/java/com/dropbox/sign/ApiClient.java
@@ -159,7 +159,7 @@ public ApiClient(Map 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<>();
diff --git a/src/main/java/com/dropbox/sign/Configuration.java b/src/main/java/com/dropbox/sign/Configuration.java
index f337e41..023cb2b 100644
--- a/src/main/java/com/dropbox/sign/Configuration.java
+++ b/src/main/java/com/dropbox/sign/Configuration.java
@@ -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();
diff --git a/src/main/java/com/dropbox/sign/api/AccountApi.java b/src/main/java/com/dropbox/sign/api/AccountApi.java
index 9c7be32..95a5a8a 100644
--- a/src/main/java/com/dropbox/sign/api/AccountApi.java
+++ b/src/main/java/com/dropbox/sign/api/AccountApi.java
@@ -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 `email_address`.
* @param accountCreateRequest (required)
* @return AccountCreateResponse
@@ -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 `email_address`.
* @param accountCreateRequest (required)
* @return ApiResponse<AccountCreateResponse>
@@ -114,7 +114,7 @@ public ApiResponse accountCreateWithHttpInfo(AccountCreat
);
}
/**
- * Get Account
+ * Get Account.
* Returns the properties and settings of your Account.
* @param accountId `account_id` or `email_address` is required. If both are provided, the account id prevails. The ID of the Account. (optional)
* @param emailAddress `account_id` or `email_address` is required, If both are provided, the account id prevails. The email address of the Account. (optional)
@@ -172,7 +172,7 @@ public ApiResponse accountGetWithHttpInfo(String accountId)
/**
- * Get Account
+ * Get Account.
* Returns the properties and settings of your Account.
* @param accountId `account_id` or `email_address` is required. If both are provided, the account id prevails. The ID of the Account. (optional)
* @param emailAddress `account_id` or `email_address` is required, If both are provided, the account id prevails. The email address of the Account. (optional)
@@ -217,7 +217,7 @@ public ApiResponse 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
@@ -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<AccountGetResponse>
@@ -278,7 +278,7 @@ public ApiResponse accountUpdateWithHttpInfo(AccountUpdateRe
);
}
/**
- * Verify Account
+ * Verify Account.
* Verifies whether an Dropbox Sign Account exists for the given email address.
* @param accountVerifyRequest (required)
* @return AccountVerifyResponse
@@ -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<AccountVerifyResponse>
diff --git a/src/main/java/com/dropbox/sign/api/ApiAppApi.java b/src/main/java/com/dropbox/sign/api/ApiAppApi.java
index affb3cc..37ec596 100644
--- a/src/main/java/com/dropbox/sign/api/ApiAppApi.java
+++ b/src/main/java/com/dropbox/sign/api/ApiAppApi.java
@@ -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
@@ -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<ApiAppGetResponse>
@@ -112,7 +112,7 @@ public ApiResponse 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
@@ -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<Void>
@@ -175,7 +175,7 @@ public ApiResponse 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
@@ -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<ApiAppGetResponse>
@@ -240,7 +240,7 @@ public ApiResponse 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 `1`. (optional, default to 1)
* @param pageSize Number of objects to be returned per page. Must be between `1` and `100`. Default is `20`. (optional, default to 20)
@@ -298,7 +298,7 @@ public ApiResponse 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 `1`. (optional, default to 1)
* @param pageSize Number of objects to be returned per page. Must be between `1` and `100`. Default is `20`. (optional, default to 20)
@@ -349,7 +349,7 @@ public ApiResponse 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)
@@ -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)
diff --git a/src/main/java/com/dropbox/sign/api/BulkSendJobApi.java b/src/main/java/com/dropbox/sign/api/BulkSendJobApi.java
index ba55d19..405caf7 100644
--- a/src/main/java/com/dropbox/sign/api/BulkSendJobApi.java
+++ b/src/main/java/com/dropbox/sign/api/BulkSendJobApi.java
@@ -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 `bulk_send_job_id` parameter.
* @param bulkSendJobId The id of the BulkSendJob to retrieve. (required)
* @param page Which page number of the BulkSendJob list to return. Defaults to `1`. (optional, default to 1)
@@ -108,7 +108,7 @@ public ApiResponse bulkSendJobGetWithHttpInfo(String bul
/**
- * Get Bulk Send Job
+ * Get Bulk Send Job.
* Returns the status of the BulkSendJob and its SignatureRequests specified by the `bulk_send_job_id` parameter.
* @param bulkSendJobId The id of the BulkSendJob to retrieve. (required)
* @param page Which page number of the BulkSendJob list to return. Defaults to `1`. (optional, default to 1)
@@ -169,7 +169,7 @@ public ApiResponse 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 `1`. (optional, default to 1)
* @param pageSize Number of objects to be returned per page. Must be between `1` and `100`. Default is 20. (optional, default to 20)
@@ -227,7 +227,7 @@ public ApiResponse 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 `1`. (optional, default to 1)
* @param pageSize Number of objects to be returned per page. Must be between `1` and `100`. Default is 20. (optional, default to 20)
diff --git a/src/main/java/com/dropbox/sign/api/EmbeddedApi.java b/src/main/java/com/dropbox/sign/api/EmbeddedApi.java
index 595d0df..38c828e 100644
--- a/src/main/java/com/dropbox/sign/api/EmbeddedApi.java
+++ b/src/main/java/com/dropbox/sign/api/EmbeddedApi.java
@@ -50,7 +50,7 @@ public void setApiClient(ApiClient apiClient) {
}
/**
- * Get Embedded Template Edit URL
+ * Get Embedded Template Edit URL.
* Retrieves an embedded object containing a template url that can be opened in an iFrame. Note that only templates created via the embedded template process are available to be edited with this endpoint.
* @param templateId The id of the template to edit. (required)
* @param embeddedEditUrlRequest (required)
@@ -69,7 +69,7 @@ public EmbeddedEditUrlResponse embeddedEditUrl(String templateId, EmbeddedEditUr
/**
- * Get Embedded Template Edit URL
+ * Get Embedded Template Edit URL.
* Retrieves an embedded object containing a template url that can be opened in an iFrame. Note that only templates created via the embedded template process are available to be edited with this endpoint.
* @param templateId The id of the template to edit. (required)
* @param embeddedEditUrlRequest (required)
@@ -120,7 +120,7 @@ public ApiResponse embeddedEditUrlWithHttpInfo(String t
);
}
/**
- * Get Embedded Sign URL
+ * Get Embedded Sign URL.
* Retrieves an embedded object containing a signature url that can be opened in an iFrame. Note that templates created via the embedded template process will only be accessible through the API.
* @param signatureId The id of the signature to get a signature url for. (required)
* @return EmbeddedSignUrlResponse
@@ -138,7 +138,7 @@ public EmbeddedSignUrlResponse embeddedSignUrl(String signatureId) throws ApiExc
/**
- * Get Embedded Sign URL
+ * Get Embedded Sign URL.
* Retrieves an embedded object containing a signature url that can be opened in an iFrame. Note that templates created via the embedded template process will only be accessible through the API.
* @param signatureId The id of the signature to get a signature url for. (required)
* @return ApiResponse<EmbeddedSignUrlResponse>
diff --git a/src/main/java/com/dropbox/sign/api/FaxLineApi.java b/src/main/java/com/dropbox/sign/api/FaxLineApi.java
index 17558c6..3555e15 100644
--- a/src/main/java/com/dropbox/sign/api/FaxLineApi.java
+++ b/src/main/java/com/dropbox/sign/api/FaxLineApi.java
@@ -54,7 +54,7 @@ public void setApiClient(ApiClient apiClient) {
}
/**
- * Add Fax Line User
+ * Add Fax Line User.
* Grants a user access to the specified Fax Line.
* @param faxLineAddUserRequest (required)
* @return FaxLineResponse
@@ -72,7 +72,7 @@ public FaxLineResponse faxLineAddUser(FaxLineAddUserRequest faxLineAddUserReques
/**
- * Add Fax Line User
+ * Add Fax Line User.
* Grants a user access to the specified Fax Line.
* @param faxLineAddUserRequest (required)
* @return ApiResponse<FaxLineResponse>
@@ -115,7 +115,7 @@ public ApiResponse faxLineAddUserWithHttpInfo(FaxLineAddUserReq
);
}
/**
- * Get Available Fax Line Area Codes
+ * Get Available Fax Line Area Codes.
* Returns a response with the area codes available for a given state/provice and city.
* @param country Filter area codes by country. (required)
* @param state Filter area codes by state. (optional)
@@ -197,7 +197,7 @@ public ApiResponse faxLineAreaCodeGetWithHttpInfo(St
/**
- * Get Available Fax Line Area Codes
+ * Get Available Fax Line Area Codes.
* Returns a response with the area codes available for a given state/provice and city.
* @param country Filter area codes by country. (required)
* @param state Filter area codes by state. (optional)
@@ -251,7 +251,7 @@ public ApiResponse faxLineAreaCodeGetWithHttpInfo(St
);
}
/**
- * Purchase Fax Line
+ * Purchase Fax Line.
* Purchases a new Fax Line.
* @param faxLineCreateRequest (required)
* @return FaxLineResponse
@@ -269,7 +269,7 @@ public FaxLineResponse faxLineCreate(FaxLineCreateRequest faxLineCreateRequest)
/**
- * Purchase Fax Line
+ * Purchase Fax Line.
* Purchases a new Fax Line.
* @param faxLineCreateRequest (required)
* @return ApiResponse<FaxLineResponse>
@@ -312,7 +312,7 @@ public ApiResponse faxLineCreateWithHttpInfo(FaxLineCreateReque
);
}
/**
- * Delete Fax Line
+ * Delete Fax Line.
* Deletes the specified Fax Line from the subscription.
* @param faxLineDeleteRequest (required)
* @throws ApiException if fails to make API call
@@ -329,7 +329,7 @@ public void faxLineDelete(FaxLineDeleteRequest faxLineDeleteRequest) throws ApiE
/**
- * Delete Fax Line
+ * Delete Fax Line.
* Deletes the specified Fax Line from the subscription.
* @param faxLineDeleteRequest (required)
* @return ApiResponse<Void>
@@ -371,7 +371,7 @@ public ApiResponse faxLineDeleteWithHttpInfo(FaxLineDeleteRequest faxLineD
);
}
/**
- * Get Fax Line
+ * Get Fax Line.
* Returns the properties and settings of a Fax Line.
* @param number The Fax Line number. (required)
* @return FaxLineResponse
@@ -389,7 +389,7 @@ public FaxLineResponse faxLineGet(String number) throws ApiException {
/**
- * Get Fax Line
+ * Get Fax Line.
* Returns the properties and settings of a Fax Line.
* @param number The Fax Line number. (required)
* @return ApiResponse<FaxLineResponse>
@@ -437,7 +437,7 @@ public ApiResponse faxLineGetWithHttpInfo(String number) throws
);
}
/**
- * List Fax Lines
+ * List Fax Lines.
* Returns the properties and settings of multiple Fax Lines.
* @param accountId Account ID (optional)
* @param page Page (optional, default to 1)
@@ -543,7 +543,7 @@ public ApiResponse faxLineListWithHttpInfo(String accountId
/**
- * List Fax Lines
+ * List Fax Lines.
* Returns the properties and settings of multiple Fax Lines.
* @param accountId Account ID (optional)
* @param page Page (optional, default to 1)
@@ -598,7 +598,7 @@ public ApiResponse faxLineListWithHttpInfo(String accountId
);
}
/**
- * Remove Fax Line Access
+ * Remove Fax Line Access.
* Removes a user's access to the specified Fax Line.
* @param faxLineRemoveUserRequest (required)
* @return FaxLineResponse
@@ -616,7 +616,7 @@ public FaxLineResponse faxLineRemoveUser(FaxLineRemoveUserRequest faxLineRemoveU
/**
- * Remove Fax Line Access
+ * Remove Fax Line Access.
* Removes a user's access to the specified Fax Line.
* @param faxLineRemoveUserRequest (required)
* @return ApiResponse<FaxLineResponse>
diff --git a/src/main/java/com/dropbox/sign/api/OAuthApi.java b/src/main/java/com/dropbox/sign/api/OAuthApi.java
index be092da..98b5802 100644
--- a/src/main/java/com/dropbox/sign/api/OAuthApi.java
+++ b/src/main/java/com/dropbox/sign/api/OAuthApi.java
@@ -49,7 +49,7 @@ public void setApiClient(ApiClient apiClient) {
}
/**
- * OAuth Token Generate
+ * OAuth Token Generate.
* Once you have retrieved the code from the user callback, you will need to exchange it for an access token via a backend call.
* @param oauthTokenGenerateRequest (required)
* @return OAuthTokenResponse
@@ -66,7 +66,7 @@ public OAuthTokenResponse oauthTokenGenerate(OAuthTokenGenerateRequest oauthToke
/**
- * OAuth Token Generate
+ * OAuth Token Generate.
* Once you have retrieved the code from the user callback, you will need to exchange it for an access token via a backend call.
* @param oauthTokenGenerateRequest (required)
* @return ApiResponse<OAuthTokenResponse>
@@ -107,7 +107,7 @@ public ApiResponse oauthTokenGenerateWithHttpInfo(OAuthToken
);
}
/**
- * OAuth Token Refresh
+ * OAuth Token Refresh.
* Access tokens are only valid for a given period of time (typically one hour) for security reasons. Whenever acquiring an new access token its TTL is also given (see `expires_in`), along with a refresh token that can be used to acquire a new access token after the current one has expired.
* @param oauthTokenRefreshRequest (required)
* @return OAuthTokenResponse
@@ -124,7 +124,7 @@ public OAuthTokenResponse oauthTokenRefresh(OAuthTokenRefreshRequest oauthTokenR
/**
- * OAuth Token Refresh
+ * OAuth Token Refresh.
* Access tokens are only valid for a given period of time (typically one hour) for security reasons. Whenever acquiring an new access token its TTL is also given (see `expires_in`), along with a refresh token that can be used to acquire a new access token after the current one has expired.
* @param oauthTokenRefreshRequest (required)
* @return ApiResponse<OAuthTokenResponse>
diff --git a/src/main/java/com/dropbox/sign/api/ReportApi.java b/src/main/java/com/dropbox/sign/api/ReportApi.java
index ae34355..4ed2aaf 100644
--- a/src/main/java/com/dropbox/sign/api/ReportApi.java
+++ b/src/main/java/com/dropbox/sign/api/ReportApi.java
@@ -49,7 +49,7 @@ public void setApiClient(ApiClient apiClient) {
}
/**
- * Create Report
+ * Create Report.
* Request the creation of one or more report(s). When the report(s) have been generated, you will receive an email (one per requested report type) containing a link to download the report as a CSV file. The requested date range may be up to 12 months in duration, and `start_date` must not be more than 10 years in the past.
* @param reportCreateRequest (required)
* @return ReportCreateResponse
@@ -67,7 +67,7 @@ public ReportCreateResponse reportCreate(ReportCreateRequest reportCreateRequest
/**
- * Create Report
+ * Create Report.
* Request the creation of one or more report(s). When the report(s) have been generated, you will receive an email (one per requested report type) containing a link to download the report as a CSV file. The requested date range may be up to 12 months in duration, and `start_date` must not be more than 10 years in the past.
* @param reportCreateRequest (required)
* @return ApiResponse<ReportCreateResponse>
diff --git a/src/main/java/com/dropbox/sign/api/SignatureRequestApi.java b/src/main/java/com/dropbox/sign/api/SignatureRequestApi.java
index 78058b1..c326a36 100644
--- a/src/main/java/com/dropbox/sign/api/SignatureRequestApi.java
+++ b/src/main/java/com/dropbox/sign/api/SignatureRequestApi.java
@@ -61,7 +61,7 @@ public void setApiClient(ApiClient apiClient) {
}
/**
- * Embedded Bulk Send with Template
+ * Embedded Bulk Send with Template.
* Creates BulkSendJob which sends up to 250 SignatureRequests in bulk based off of the provided Template(s) specified with the `template_ids` parameter to be signed in an embedded iFrame. These embedded signature requests can only be signed in embedded iFrames whereas normal signature requests can only be signed on Dropbox Sign. **NOTE:** Only available for Standard plan and higher.
* @param signatureRequestBulkCreateEmbeddedWithTemplateRequest (required)
* @return BulkSendJobSendResponse
@@ -79,7 +79,7 @@ public BulkSendJobSendResponse signatureRequestBulkCreateEmbeddedWithTemplate(Si
/**
- * Embedded Bulk Send with Template
+ * Embedded Bulk Send with Template.
* Creates BulkSendJob which sends up to 250 SignatureRequests in bulk based off of the provided Template(s) specified with the `template_ids` parameter to be signed in an embedded iFrame. These embedded signature requests can only be signed in embedded iFrames whereas normal signature requests can only be signed on Dropbox Sign. **NOTE:** Only available for Standard plan and higher.
* @param signatureRequestBulkCreateEmbeddedWithTemplateRequest (required)
* @return ApiResponse<BulkSendJobSendResponse>
@@ -122,7 +122,7 @@ public ApiResponse signatureRequestBulkCreateEmbeddedWi
);
}
/**
- * Bulk Send with Template
+ * Bulk Send with Template.
* Creates BulkSendJob which sends up to 250 SignatureRequests in bulk based off of the provided Template(s) specified with the `template_ids` parameter. **NOTE:** Only available for Standard plan and higher.
* @param signatureRequestBulkSendWithTemplateRequest (required)
* @return BulkSendJobSendResponse
@@ -140,7 +140,7 @@ public BulkSendJobSendResponse signatureRequestBulkSendWithTemplate(SignatureReq
/**
- * Bulk Send with Template
+ * Bulk Send with Template.
* Creates BulkSendJob which sends up to 250 SignatureRequests in bulk based off of the provided Template(s) specified with the `template_ids` parameter. **NOTE:** Only available for Standard plan and higher.
* @param signatureRequestBulkSendWithTemplateRequest (required)
* @return ApiResponse<BulkSendJobSendResponse>
@@ -183,7 +183,7 @@ public ApiResponse signatureRequestBulkSendWithTemplate
);
}
/**
- * Cancel Incomplete Signature Request
+ * Cancel Incomplete Signature Request.
* Cancels an incomplete signature request. This action is **not reversible**. The request will be canceled and signers will no longer be able to sign. If they try to access the signature request they will receive a HTTP 410 status code indicating that the resource has been deleted. Cancelation is asynchronous and a successful call to this endpoint will return an empty 200 OK response if the signature request is eligible to be canceled and has been successfully queued. This 200 OK response does not indicate a successful cancelation of the signature request itself. The cancelation is confirmed via the `signature_request_canceled` event. It is recommended that a [callback handler](/api/reference/tag/Callbacks-and-Events) be implemented to listen for the `signature_request_canceled` event. This callback will be sent only when the cancelation has completed successfully. If a callback handler has been configured and the event has not been received within 60 minutes of making the call, check the status of the request in the [API Dashboard](https://app.hellosign.com/apidashboard) and retry the cancelation if necessary. To be eligible for cancelation, a signature request must have been sent successfully, must not yet have been signed by all signers, and you must either be the sender or own the API app under which it was sent. A partially signed signature request can be canceled. **NOTE:** To remove your access to a completed signature request, use the endpoint: `POST /signature_request/remove/[:signature_request_id]`.
* @param signatureRequestId The id of the incomplete SignatureRequest to cancel. (required)
* @throws ApiException if fails to make API call
@@ -200,7 +200,7 @@ public void signatureRequestCancel(String signatureRequestId) throws ApiExceptio
/**
- * Cancel Incomplete Signature Request
+ * Cancel Incomplete Signature Request.
* Cancels an incomplete signature request. This action is **not reversible**. The request will be canceled and signers will no longer be able to sign. If they try to access the signature request they will receive a HTTP 410 status code indicating that the resource has been deleted. Cancelation is asynchronous and a successful call to this endpoint will return an empty 200 OK response if the signature request is eligible to be canceled and has been successfully queued. This 200 OK response does not indicate a successful cancelation of the signature request itself. The cancelation is confirmed via the `signature_request_canceled` event. It is recommended that a [callback handler](/api/reference/tag/Callbacks-and-Events) be implemented to listen for the `signature_request_canceled` event. This callback will be sent only when the cancelation has completed successfully. If a callback handler has been configured and the event has not been received within 60 minutes of making the call, check the status of the request in the [API Dashboard](https://app.hellosign.com/apidashboard) and retry the cancelation if necessary. To be eligible for cancelation, a signature request must have been sent successfully, must not yet have been signed by all signers, and you must either be the sender or own the API app under which it was sent. A partially signed signature request can be canceled. **NOTE:** To remove your access to a completed signature request, use the endpoint: `POST /signature_request/remove/[:signature_request_id]`.
* @param signatureRequestId The id of the incomplete SignatureRequest to cancel. (required)
* @return ApiResponse<Void>
@@ -246,7 +246,7 @@ public ApiResponse signatureRequestCancelWithHttpInfo(String signatureRequ
);
}
/**
- * Create Embedded Signature Request
+ * Create Embedded Signature Request.
* Creates a new SignatureRequest with the submitted documents to be signed in an embedded iFrame. If form_fields_per_document is not specified, a signature page will be affixed where all signers will be required to add their signature, signifying their agreement to all contained documents. Note that embedded signature requests can only be signed in embedded iFrames whereas normal signature requests can only be signed on Dropbox Sign.
* @param signatureRequestCreateEmbeddedRequest (required)
* @return SignatureRequestGetResponse
@@ -264,7 +264,7 @@ public SignatureRequestGetResponse signatureRequestCreateEmbedded(SignatureReque
/**
- * Create Embedded Signature Request
+ * Create Embedded Signature Request.
* Creates a new SignatureRequest with the submitted documents to be signed in an embedded iFrame. If form_fields_per_document is not specified, a signature page will be affixed where all signers will be required to add their signature, signifying their agreement to all contained documents. Note that embedded signature requests can only be signed in embedded iFrames whereas normal signature requests can only be signed on Dropbox Sign.
* @param signatureRequestCreateEmbeddedRequest (required)
* @return ApiResponse<SignatureRequestGetResponse>
@@ -307,7 +307,7 @@ public ApiResponse signatureRequestCreateEmbeddedWi
);
}
/**
- * Create Embedded Signature Request with Template
+ * Create Embedded Signature Request with Template.
* Creates a new SignatureRequest based on the given Template(s) to be signed in an embedded iFrame. Note that embedded signature requests can only be signed in embedded iFrames whereas normal signature requests can only be signed on Dropbox Sign.
* @param signatureRequestCreateEmbeddedWithTemplateRequest (required)
* @return SignatureRequestGetResponse
@@ -325,7 +325,7 @@ public SignatureRequestGetResponse signatureRequestCreateEmbeddedWithTemplate(Si
/**
- * Create Embedded Signature Request with Template
+ * Create Embedded Signature Request with Template.
* Creates a new SignatureRequest based on the given Template(s) to be signed in an embedded iFrame. Note that embedded signature requests can only be signed in embedded iFrames whereas normal signature requests can only be signed on Dropbox Sign.
* @param signatureRequestCreateEmbeddedWithTemplateRequest (required)
* @return ApiResponse<SignatureRequestGetResponse>
@@ -368,7 +368,7 @@ public ApiResponse signatureRequestCreateEmbeddedWi
);
}
/**
- * Download Files
+ * Download Files.
* Obtain a copy of the current documents specified by the `signature_request_id` parameter. Returns a PDF or ZIP file. If the files are currently being prepared, a status code of `409` will be returned instead.
* @param signatureRequestId The id of the SignatureRequest to retrieve. (required)
* @param fileType Set to `pdf` for a single merged document or `zip` for a collection of individual documents. (optional, default to pdf)
@@ -406,7 +406,7 @@ public ApiResponse signatureRequestFilesWithHttpInfo(String signatureReque
/**
- * Download Files
+ * Download Files.
* Obtain a copy of the current documents specified by the `signature_request_id` parameter. Returns a PDF or ZIP file. If the files are currently being prepared, a status code of `409` will be returned instead.
* @param signatureRequestId The id of the SignatureRequest to retrieve. (required)
* @param fileType Set to `pdf` for a single merged document or `zip` for a collection of individual documents. (optional, default to pdf)
@@ -462,7 +462,7 @@ public ApiResponse signatureRequestFilesWithHttpInfo(String signatureReque
);
}
/**
- * Download Files as Data Uri
+ * Download Files as Data Uri.
* Obtain a copy of the current documents specified by the `signature_request_id` parameter. Returns a JSON object with a `data_uri` representing the base64 encoded file (PDFs only). If the files are currently being prepared, a status code of `409` will be returned instead.
* @param signatureRequestId The id of the SignatureRequest to retrieve. (required)
* @return FileResponseDataUri
@@ -480,7 +480,7 @@ public FileResponseDataUri signatureRequestFilesAsDataUri(String signatureReques
/**
- * Download Files as Data Uri
+ * Download Files as Data Uri.
* Obtain a copy of the current documents specified by the `signature_request_id` parameter. Returns a JSON object with a `data_uri` representing the base64 encoded file (PDFs only). If the files are currently being prepared, a status code of `409` will be returned instead.
* @param signatureRequestId The id of the SignatureRequest to retrieve. (required)
* @return ApiResponse<FileResponseDataUri>
@@ -527,7 +527,7 @@ public ApiResponse signatureRequestFilesAsDataUriWithHttpIn
);
}
/**
- * Download Files as File Url
+ * Download Files as File Url.
* Obtain a copy of the current documents specified by the `signature_request_id` parameter. Returns a JSON object with a url to the file (PDFs only). If the files are currently being prepared, a status code of `409` will be returned instead.
* @param signatureRequestId The id of the SignatureRequest to retrieve. (required)
* @param forceDownload By default when opening the `file_url` a browser will download the PDF and save it locally. When set to `0` the PDF file will be displayed in the browser. (optional, default to 1)
@@ -565,7 +565,7 @@ public ApiResponse signatureRequestFilesAsFileUrlWithHttpInfo(Stri
/**
- * Download Files as File Url
+ * Download Files as File Url.
* Obtain a copy of the current documents specified by the `signature_request_id` parameter. Returns a JSON object with a url to the file (PDFs only). If the files are currently being prepared, a status code of `409` will be returned instead.
* @param signatureRequestId The id of the SignatureRequest to retrieve. (required)
* @param forceDownload By default when opening the `file_url` a browser will download the PDF and save it locally. When set to `0` the PDF file will be displayed in the browser. (optional, default to 1)
@@ -621,7 +621,7 @@ public ApiResponse signatureRequestFilesAsFileUrlWithHttpInfo(Stri
);
}
/**
- * Get Signature Request
+ * Get Signature Request.
* Returns the status of the SignatureRequest specified by the `signature_request_id` parameter.
* @param signatureRequestId The id of the SignatureRequest to retrieve. (required)
* @return SignatureRequestGetResponse
@@ -639,7 +639,7 @@ public SignatureRequestGetResponse signatureRequestGet(String signatureRequestId
/**
- * Get Signature Request
+ * Get Signature Request.
* Returns the status of the SignatureRequest specified by the `signature_request_id` parameter.
* @param signatureRequestId The id of the SignatureRequest to retrieve. (required)
* @return ApiResponse<SignatureRequestGetResponse>
@@ -686,7 +686,7 @@ public ApiResponse signatureRequestGetWithHttpInfo(
);
}
/**
- * List Signature Requests
+ * List Signature Requests.
* Returns a list of SignatureRequests that you can access. This includes SignatureRequests you have sent as well as received, but not ones that you have been CCed on. Take a look at our [search guide](/api/reference/search/) to learn more about querying signature requests.
* @param accountId Which account to return SignatureRequests for. Must be a team member. Use `all` to indicate all team members. Defaults to your account. (optional)
* @param page Which page number of the SignatureRequest List to return. Defaults to `1`. (optional, default to 1)
@@ -792,7 +792,7 @@ public ApiResponse signatureRequestListWithHttpInf
/**
- * List Signature Requests
+ * List Signature Requests.
* Returns a list of SignatureRequests that you can access. This includes SignatureRequests you have sent as well as received, but not ones that you have been CCed on. Take a look at our [search guide](/api/reference/search/) to learn more about querying signature requests.
* @param accountId Which account to return SignatureRequests for. Must be a team member. Use `all` to indicate all team members. Defaults to your account. (optional)
* @param page Which page number of the SignatureRequest List to return. Defaults to `1`. (optional, default to 1)
@@ -847,7 +847,7 @@ public ApiResponse signatureRequestListWithHttpInf
);
}
/**
- * Release On-Hold Signature Request
+ * Release On-Hold Signature Request.
* Releases a held SignatureRequest that was claimed and prepared from an [UnclaimedDraft](/api/reference/tag/Unclaimed-Draft). The owner of the Draft must indicate at Draft creation that the SignatureRequest created from the Draft should be held. Releasing the SignatureRequest will send requests to all signers.
* @param signatureRequestId The id of the SignatureRequest to release. (required)
* @return SignatureRequestGetResponse
@@ -865,7 +865,7 @@ public SignatureRequestGetResponse signatureRequestReleaseHold(String signatureR
/**
- * Release On-Hold Signature Request
+ * Release On-Hold Signature Request.
* Releases a held SignatureRequest that was claimed and prepared from an [UnclaimedDraft](/api/reference/tag/Unclaimed-Draft). The owner of the Draft must indicate at Draft creation that the SignatureRequest created from the Draft should be held. Releasing the SignatureRequest will send requests to all signers.
* @param signatureRequestId The id of the SignatureRequest to release. (required)
* @return ApiResponse<SignatureRequestGetResponse>
@@ -912,7 +912,7 @@ public ApiResponse signatureRequestReleaseHoldWithH
);
}
/**
- * Send Request Reminder
+ * Send Request Reminder.
* Sends an email to the signer reminding them to sign the signature request. You cannot send a reminder within 1 hour of the last reminder that was sent. This includes manual AND automatic reminders. **NOTE:** This action can **not** be used with embedded signature requests.
* @param signatureRequestId The id of the SignatureRequest to send a reminder for. (required)
* @param signatureRequestRemindRequest (required)
@@ -931,7 +931,7 @@ public SignatureRequestGetResponse signatureRequestRemind(String signatureReques
/**
- * Send Request Reminder
+ * Send Request Reminder.
* Sends an email to the signer reminding them to sign the signature request. You cannot send a reminder within 1 hour of the last reminder that was sent. This includes manual AND automatic reminders. **NOTE:** This action can **not** be used with embedded signature requests.
* @param signatureRequestId The id of the SignatureRequest to send a reminder for. (required)
* @param signatureRequestRemindRequest (required)
@@ -982,7 +982,7 @@ public ApiResponse signatureRequestRemindWithHttpIn
);
}
/**
- * Remove Signature Request Access
+ * Remove Signature Request Access.
* Removes your access to a completed signature request. This action is **not reversible**. The signature request must be fully executed by all parties (signed or declined to sign). Other parties will continue to maintain access to the completed signature request document(s). Unlike /signature_request/cancel, this endpoint is synchronous and your access will be immediately removed. Upon successful removal, this endpoint will return a 200 OK response.
* @param signatureRequestId The id of the SignatureRequest to remove. (required)
* @throws ApiException if fails to make API call
@@ -999,7 +999,7 @@ public void signatureRequestRemove(String signatureRequestId) throws ApiExceptio
/**
- * Remove Signature Request Access
+ * Remove Signature Request Access.
* Removes your access to a completed signature request. This action is **not reversible**. The signature request must be fully executed by all parties (signed or declined to sign). Other parties will continue to maintain access to the completed signature request document(s). Unlike /signature_request/cancel, this endpoint is synchronous and your access will be immediately removed. Upon successful removal, this endpoint will return a 200 OK response.
* @param signatureRequestId The id of the SignatureRequest to remove. (required)
* @return ApiResponse<Void>
@@ -1045,7 +1045,7 @@ public ApiResponse signatureRequestRemoveWithHttpInfo(String signatureRequ
);
}
/**
- * Send Signature Request
+ * Send Signature Request.
* Creates and sends a new SignatureRequest with the submitted documents. If `form_fields_per_document` is not specified, a signature page will be affixed where all signers will be required to add their signature, signifying their agreement to all contained documents.
* @param signatureRequestSendRequest (required)
* @return SignatureRequestGetResponse
@@ -1063,7 +1063,7 @@ public SignatureRequestGetResponse signatureRequestSend(SignatureRequestSendRequ
/**
- * Send Signature Request
+ * Send Signature Request.
* Creates and sends a new SignatureRequest with the submitted documents. If `form_fields_per_document` is not specified, a signature page will be affixed where all signers will be required to add their signature, signifying their agreement to all contained documents.
* @param signatureRequestSendRequest (required)
* @return ApiResponse<SignatureRequestGetResponse>
@@ -1106,7 +1106,7 @@ public ApiResponse signatureRequestSendWithHttpInfo
);
}
/**
- * Send with Template
+ * Send with Template.
* Creates and sends a new SignatureRequest based off of the Template(s) specified with the `template_ids` parameter.
* @param signatureRequestSendWithTemplateRequest (required)
* @return SignatureRequestGetResponse
@@ -1124,7 +1124,7 @@ public SignatureRequestGetResponse signatureRequestSendWithTemplate(SignatureReq
/**
- * Send with Template
+ * Send with Template.
* Creates and sends a new SignatureRequest based off of the Template(s) specified with the `template_ids` parameter.
* @param signatureRequestSendWithTemplateRequest (required)
* @return ApiResponse<SignatureRequestGetResponse>
@@ -1167,7 +1167,7 @@ public ApiResponse signatureRequestSendWithTemplate
);
}
/**
- * Update Signature Request
+ * Update Signature Request.
* Updates the email address and/or the name for a given signer on a signature request. You can listen for the `signature_request_email_bounce` event on your app or account to detect bounced emails, and respond with this method. Updating the email address of a signer will generate a new `signature_id` value. **NOTE:** This action cannot be performed on a signature request with an appended signature page.
* @param signatureRequestId The id of the SignatureRequest to update. (required)
* @param signatureRequestUpdateRequest (required)
@@ -1186,7 +1186,7 @@ public SignatureRequestGetResponse signatureRequestUpdate(String signatureReques
/**
- * Update Signature Request
+ * Update Signature Request.
* Updates the email address and/or the name for a given signer on a signature request. You can listen for the `signature_request_email_bounce` event on your app or account to detect bounced emails, and respond with this method. Updating the email address of a signer will generate a new `signature_id` value. **NOTE:** This action cannot be performed on a signature request with an appended signature page.
* @param signatureRequestId The id of the SignatureRequest to update. (required)
* @param signatureRequestUpdateRequest (required)
diff --git a/src/main/java/com/dropbox/sign/api/TeamApi.java b/src/main/java/com/dropbox/sign/api/TeamApi.java
index b1b3811..17ca21e 100644
--- a/src/main/java/com/dropbox/sign/api/TeamApi.java
+++ b/src/main/java/com/dropbox/sign/api/TeamApi.java
@@ -56,7 +56,7 @@ public void setApiClient(ApiClient apiClient) {
}
/**
- * Add User to Team
+ * Add User to Team.
* Invites a user (specified using the `email_address` parameter) to your Team. If the user does not currently have a Dropbox Sign Account, a new one will be created for them. If a user is already a part of another Team, a `team_invite_failed` error will be returned.
* @param teamAddMemberRequest (required)
* @param teamId The id of the team. (optional)
@@ -94,7 +94,7 @@ public ApiResponse teamAddMemberWithHttpInfo(TeamAddMemberReque
/**
- * Add User to Team
+ * Add User to Team.
* Invites a user (specified using the `email_address` parameter) to your Team. If the user does not currently have a Dropbox Sign Account, a new one will be created for them. If a user is already a part of another Team, a `team_invite_failed` error will be returned.
* @param teamAddMemberRequest (required)
* @param teamId The id of the team. (optional)
@@ -143,7 +143,7 @@ public ApiResponse teamAddMemberWithHttpInfo(TeamAddMemberReque
);
}
/**
- * Create Team
+ * Create Team.
* Creates a new Team and makes you a member. You must not currently belong to a Team to invoke.
* @param teamCreateRequest (required)
* @return TeamGetResponse
@@ -161,7 +161,7 @@ public TeamGetResponse teamCreate(TeamCreateRequest teamCreateRequest) throws Ap
/**
- * Create Team
+ * Create Team.
* Creates a new Team and makes you a member. You must not currently belong to a Team to invoke.
* @param teamCreateRequest (required)
* @return ApiResponse<TeamGetResponse>
@@ -204,7 +204,7 @@ public ApiResponse teamCreateWithHttpInfo(TeamCreateRequest tea
);
}
/**
- * Delete Team
+ * Delete Team.
* Deletes your Team. Can only be invoked when you have a Team with only one member (yourself).
* @throws ApiException if fails to make API call
* @http.response.details
@@ -220,7 +220,7 @@ public void teamDelete() throws ApiException {
/**
- * Delete Team
+ * Delete Team.
* Deletes your Team. Can only be invoked when you have a Team with only one member (yourself).
* @return ApiResponse<Void>
* @throws ApiException if fails to make API call
@@ -256,7 +256,7 @@ public ApiResponse teamDeleteWithHttpInfo() throws ApiException {
);
}
/**
- * Get Team
+ * Get Team.
* Returns information about your Team as well as a list of its members. If you do not belong to a Team, a 404 error with an error_name of \"not_found\" will be returned.
* @return TeamGetResponse
* @throws ApiException if fails to make API call
@@ -273,7 +273,7 @@ public TeamGetResponse teamGet() throws ApiException {
/**
- * Get Team
+ * Get Team.
* Returns information about your Team as well as a list of its members. If you do not belong to a Team, a 404 error with an error_name of \"not_found\" will be returned.
* @return ApiResponse<TeamGetResponse>
* @throws ApiException if fails to make API call
@@ -310,7 +310,7 @@ public ApiResponse teamGetWithHttpInfo() throws ApiException {
);
}
/**
- * Get Team Info
+ * Get Team Info.
* Provides information about a team.
* @param teamId The id of the team. (optional)
* @return TeamGetInfoResponse
@@ -347,7 +347,7 @@ public ApiResponse teamInfoWithHttpInfo() throws ApiExcepti
/**
- * Get Team Info
+ * Get Team Info.
* Provides information about a team.
* @param teamId The id of the team. (optional)
* @return ApiResponse<TeamGetInfoResponse>
@@ -390,7 +390,7 @@ public ApiResponse teamInfoWithHttpInfo(String teamId) thro
);
}
/**
- * List Team Invites
+ * List Team Invites.
* Provides a list of team invites (and their roles).
* @param emailAddress The email address for which to display the team invites. (optional)
* @return TeamInvitesResponse
@@ -427,7 +427,7 @@ public ApiResponse teamInvitesWithHttpInfo() throws ApiExce
/**
- * List Team Invites
+ * List Team Invites.
* Provides a list of team invites (and their roles).
* @param emailAddress The email address for which to display the team invites. (optional)
* @return ApiResponse<TeamInvitesResponse>
@@ -470,7 +470,7 @@ public ApiResponse teamInvitesWithHttpInfo(String emailAddr
);
}
/**
- * List Team Members
+ * List Team Members.
* Provides a paginated list of members (and their roles) that belong to a given team.
* @param teamId The id of the team that a member list is being requested from. (required)
* @param page Which page number of the team member list to return. Defaults to `1`. (optional, default to 1)
@@ -529,7 +529,7 @@ public ApiResponse teamMembersWithHttpInfo(String teamId, I
/**
- * List Team Members
+ * List Team Members.
* Provides a paginated list of members (and their roles) that belong to a given team.
* @param teamId The id of the team that a member list is being requested from. (required)
* @param page Which page number of the team member list to return. Defaults to `1`. (optional, default to 1)
@@ -590,7 +590,7 @@ public ApiResponse teamMembersWithHttpInfo(String teamId, I
);
}
/**
- * Remove User from Team
+ * Remove User from Team.
* Removes the provided user Account from your Team. If the Account had an outstanding invitation to your Team, the invitation will be expired. If you choose to transfer documents from the removed Account to an Account provided in the `new_owner_email_address` parameter (available only for Enterprise plans), the response status code will be 201, which indicates that your request has been queued but not fully executed.
* @param teamRemoveMemberRequest (required)
* @return TeamGetResponse
@@ -608,7 +608,7 @@ public TeamGetResponse teamRemoveMember(TeamRemoveMemberRequest teamRemoveMember
/**
- * Remove User from Team
+ * Remove User from Team.
* Removes the provided user Account from your Team. If the Account had an outstanding invitation to your Team, the invitation will be expired. If you choose to transfer documents from the removed Account to an Account provided in the `new_owner_email_address` parameter (available only for Enterprise plans), the response status code will be 201, which indicates that your request has been queued but not fully executed.
* @param teamRemoveMemberRequest (required)
* @return ApiResponse<TeamGetResponse>
@@ -651,7 +651,7 @@ public ApiResponse teamRemoveMemberWithHttpInfo(TeamRemoveMembe
);
}
/**
- * List Sub Teams
+ * List Sub Teams.
* Provides a paginated list of sub teams that belong to a given team.
* @param teamId The id of the parent Team. (required)
* @param page Which page number of the SubTeam List to return. Defaults to `1`. (optional, default to 1)
@@ -710,7 +710,7 @@ public ApiResponse teamSubTeamsWithHttpInfo(String teamId,
/**
- * List Sub Teams
+ * List Sub Teams.
* Provides a paginated list of sub teams that belong to a given team.
* @param teamId The id of the parent Team. (required)
* @param page Which page number of the SubTeam List to return. Defaults to `1`. (optional, default to 1)
@@ -771,7 +771,7 @@ public ApiResponse teamSubTeamsWithHttpInfo(String teamId,
);
}
/**
- * Update Team
+ * Update Team.
* Updates the name of your Team.
* @param teamUpdateRequest (required)
* @return TeamGetResponse
@@ -789,7 +789,7 @@ public TeamGetResponse teamUpdate(TeamUpdateRequest teamUpdateRequest) throws Ap
/**
- * Update Team
+ * Update Team.
* Updates the name of your Team.
* @param teamUpdateRequest (required)
* @return ApiResponse<TeamGetResponse>
diff --git a/src/main/java/com/dropbox/sign/api/TemplateApi.java b/src/main/java/com/dropbox/sign/api/TemplateApi.java
index ab67a5f..7fb8db5 100644
--- a/src/main/java/com/dropbox/sign/api/TemplateApi.java
+++ b/src/main/java/com/dropbox/sign/api/TemplateApi.java
@@ -60,7 +60,7 @@ public void setApiClient(ApiClient apiClient) {
}
/**
- * Add User to Template
+ * Add User to Template.
* Gives the specified Account access to the specified Template. The specified Account must be a part of your Team.
* @param templateId The id of the Template to give the Account access to. (required)
* @param templateAddUserRequest (required)
@@ -79,7 +79,7 @@ public TemplateGetResponse templateAddUser(String templateId, TemplateAddUserReq
/**
- * Add User to Template
+ * Add User to Template.
* Gives the specified Account access to the specified Template. The specified Account must be a part of your Team.
* @param templateId The id of the Template to give the Account access to. (required)
* @param templateAddUserRequest (required)
@@ -130,7 +130,7 @@ public ApiResponse templateAddUserWithHttpInfo(String templ
);
}
/**
- * Create Template
+ * Create Template.
* Creates a template that can then be used.
* @param templateCreateRequest (required)
* @return TemplateCreateResponse
@@ -148,7 +148,7 @@ public TemplateCreateResponse templateCreate(TemplateCreateRequest templateCreat
/**
- * Create Template
+ * Create Template.
* Creates a template that can then be used.
* @param templateCreateRequest (required)
* @return ApiResponse<TemplateCreateResponse>
@@ -191,7 +191,7 @@ public ApiResponse templateCreateWithHttpInfo(TemplateCr
);
}
/**
- * Create Embedded Template Draft
+ * Create Embedded Template Draft.
* The first step in an embedded template workflow. Creates a draft template that can then be further set up in the template 'edit' stage.
* @param templateCreateEmbeddedDraftRequest (required)
* @return TemplateCreateEmbeddedDraftResponse
@@ -209,7 +209,7 @@ public TemplateCreateEmbeddedDraftResponse templateCreateEmbeddedDraft(TemplateC
/**
- * Create Embedded Template Draft
+ * Create Embedded Template Draft.
* The first step in an embedded template workflow. Creates a draft template that can then be further set up in the template 'edit' stage.
* @param templateCreateEmbeddedDraftRequest (required)
* @return ApiResponse<TemplateCreateEmbeddedDraftResponse>
@@ -252,7 +252,7 @@ public ApiResponse templateCreateEmbeddedDr
);
}
/**
- * Delete Template
+ * Delete Template.
* Completely deletes the template specified from the account.
* @param templateId The id of the Template to delete. (required)
* @throws ApiException if fails to make API call
@@ -269,7 +269,7 @@ public void templateDelete(String templateId) throws ApiException {
/**
- * Delete Template
+ * Delete Template.
* Completely deletes the template specified from the account.
* @param templateId The id of the Template to delete. (required)
* @return ApiResponse<Void>
@@ -315,7 +315,7 @@ public ApiResponse templateDeleteWithHttpInfo(String templateId) throws Ap
);
}
/**
- * Get Template Files
+ * Get Template Files.
* Obtain a copy of the current documents specified by the `template_id` parameter. Returns a PDF or ZIP file. If the files are currently being prepared, a status code of `409` will be returned instead. In this case please wait for the `template_created` callback event.
* @param templateId The id of the template files to retrieve. (required)
* @param fileType Set to `pdf` for a single merged document or `zip` for a collection of individual documents. (optional)
@@ -353,7 +353,7 @@ public ApiResponse templateFilesWithHttpInfo(String templateId) throws Api
/**
- * Get Template Files
+ * Get Template Files.
* Obtain a copy of the current documents specified by the `template_id` parameter. Returns a PDF or ZIP file. If the files are currently being prepared, a status code of `409` will be returned instead. In this case please wait for the `template_created` callback event.
* @param templateId The id of the template files to retrieve. (required)
* @param fileType Set to `pdf` for a single merged document or `zip` for a collection of individual documents. (optional)
@@ -406,7 +406,7 @@ public ApiResponse templateFilesWithHttpInfo(String templateId, String fil
);
}
/**
- * Get Template Files as Data Uri
+ * Get Template Files as Data Uri.
* Obtain a copy of the current documents specified by the `template_id` parameter. Returns a JSON object with a `data_uri` representing the base64 encoded file (PDFs only). If the files are currently being prepared, a status code of `409` will be returned instead. In this case please wait for the `template_created` callback event.
* @param templateId The id of the template files to retrieve. (required)
* @return FileResponseDataUri
@@ -424,7 +424,7 @@ public FileResponseDataUri templateFilesAsDataUri(String templateId) throws ApiE
/**
- * Get Template Files as Data Uri
+ * Get Template Files as Data Uri.
* Obtain a copy of the current documents specified by the `template_id` parameter. Returns a JSON object with a `data_uri` representing the base64 encoded file (PDFs only). If the files are currently being prepared, a status code of `409` will be returned instead. In this case please wait for the `template_created` callback event.
* @param templateId The id of the template files to retrieve. (required)
* @return ApiResponse<FileResponseDataUri>
@@ -471,7 +471,7 @@ public ApiResponse templateFilesAsDataUriWithHttpInfo(Strin
);
}
/**
- * Get Template Files as File Url
+ * Get Template Files as File Url.
* Obtain a copy of the current documents specified by the `template_id` parameter. Returns a JSON object with a url to the file (PDFs only). If the files are currently being prepared, a status code of `409` will be returned instead. In this case please wait for the `template_created` callback event.
* @param templateId The id of the template files to retrieve. (required)
* @param forceDownload By default when opening the `file_url` a browser will download the PDF and save it locally. When set to `0` the PDF file will be displayed in the browser. (optional, default to 1)
@@ -509,7 +509,7 @@ public ApiResponse templateFilesAsFileUrlWithHttpInfo(String templ
/**
- * Get Template Files as File Url
+ * Get Template Files as File Url.
* Obtain a copy of the current documents specified by the `template_id` parameter. Returns a JSON object with a url to the file (PDFs only). If the files are currently being prepared, a status code of `409` will be returned instead. In this case please wait for the `template_created` callback event.
* @param templateId The id of the template files to retrieve. (required)
* @param forceDownload By default when opening the `file_url` a browser will download the PDF and save it locally. When set to `0` the PDF file will be displayed in the browser. (optional, default to 1)
@@ -565,7 +565,7 @@ public ApiResponse templateFilesAsFileUrlWithHttpInfo(String templ
);
}
/**
- * Get Template
+ * Get Template.
* Returns the Template specified by the `template_id` parameter.
* @param templateId The id of the Template to retrieve. (required)
* @return TemplateGetResponse
@@ -583,7 +583,7 @@ public TemplateGetResponse templateGet(String templateId) throws ApiException {
/**
- * Get Template
+ * Get Template.
* Returns the Template specified by the `template_id` parameter.
* @param templateId The id of the Template to retrieve. (required)
* @return ApiResponse<TemplateGetResponse>
@@ -630,7 +630,7 @@ public ApiResponse templateGetWithHttpInfo(String templateI
);
}
/**
- * List Templates
+ * List Templates.
* Returns a list of the Templates that are accessible by you. Take a look at our [search guide](/api/reference/search/) to learn more about querying templates.
* @param accountId Which account to return Templates for. Must be a team member. Use `all` to indicate all team members. Defaults to your account. (optional)
* @param page Which page number of the Template List to return. Defaults to `1`. (optional, default to 1)
@@ -736,7 +736,7 @@ public ApiResponse templateListWithHttpInfo(String account
/**
- * List Templates
+ * List Templates.
* Returns a list of the Templates that are accessible by you. Take a look at our [search guide](/api/reference/search/) to learn more about querying templates.
* @param accountId Which account to return Templates for. Must be a team member. Use `all` to indicate all team members. Defaults to your account. (optional)
* @param page Which page number of the Template List to return. Defaults to `1`. (optional, default to 1)
@@ -791,7 +791,7 @@ public ApiResponse templateListWithHttpInfo(String account
);
}
/**
- * Remove User from Template
+ * Remove User from Template.
* Removes the specified Account's access to the specified Template.
* @param templateId The id of the Template to remove the Account's access to. (required)
* @param templateRemoveUserRequest (required)
@@ -810,7 +810,7 @@ public TemplateGetResponse templateRemoveUser(String templateId, TemplateRemoveU
/**
- * Remove User from Template
+ * Remove User from Template.
* Removes the specified Account's access to the specified Template.
* @param templateId The id of the Template to remove the Account's access to. (required)
* @param templateRemoveUserRequest (required)
@@ -861,7 +861,7 @@ public ApiResponse templateRemoveUserWithHttpInfo(String te
);
}
/**
- * Update Template Files
+ * Update Template Files.
* Overlays a new file with the overlay of an existing template. The new file(s) must: 1. have the same or higher page count 2. the same orientation as the file(s) being replaced. This will not overwrite or in any way affect the existing template. Both the existing template and new template will be available for use after executing this endpoint. Also note that this will decrement your template quota. Overlaying new files is asynchronous and a successful call to this endpoint will return 200 OK response if the request passes initial validation checks. It is recommended that a callback be implemented to listen for the callback event. A `template_created` event will be sent when the files are updated or a `template_error` event will be sent if there was a problem while updating the files. If a callback handler has been configured and the event has not been received within 60 minutes of making the call, check the status of the request in the API dashboard and retry the request if necessary. If the page orientation or page count is different from the original template document, we will notify you with a `template_error` [callback event](https://app.hellosign.com/api/eventsAndCallbacksWalkthrough).
* @param templateId The ID of the template whose files to update. (required)
* @param templateUpdateFilesRequest (required)
@@ -880,7 +880,7 @@ public TemplateUpdateFilesResponse templateUpdateFiles(String templateId, Templa
/**
- * Update Template Files
+ * Update Template Files.
* Overlays a new file with the overlay of an existing template. The new file(s) must: 1. have the same or higher page count 2. the same orientation as the file(s) being replaced. This will not overwrite or in any way affect the existing template. Both the existing template and new template will be available for use after executing this endpoint. Also note that this will decrement your template quota. Overlaying new files is asynchronous and a successful call to this endpoint will return 200 OK response if the request passes initial validation checks. It is recommended that a callback be implemented to listen for the callback event. A `template_created` event will be sent when the files are updated or a `template_error` event will be sent if there was a problem while updating the files. If a callback handler has been configured and the event has not been received within 60 minutes of making the call, check the status of the request in the API dashboard and retry the request if necessary. If the page orientation or page count is different from the original template document, we will notify you with a `template_error` [callback event](https://app.hellosign.com/api/eventsAndCallbacksWalkthrough).
* @param templateId The ID of the template whose files to update. (required)
* @param templateUpdateFilesRequest (required)
diff --git a/src/main/java/com/dropbox/sign/api/UnclaimedDraftApi.java b/src/main/java/com/dropbox/sign/api/UnclaimedDraftApi.java
index b37599a..fc3710e 100644
--- a/src/main/java/com/dropbox/sign/api/UnclaimedDraftApi.java
+++ b/src/main/java/com/dropbox/sign/api/UnclaimedDraftApi.java
@@ -52,7 +52,7 @@ public void setApiClient(ApiClient apiClient) {
}
/**
- * Create Unclaimed Draft
+ * Create Unclaimed Draft.
* Creates a new Draft that can be claimed using the claim URL. The first authenticated user to access the URL will claim the Draft and will be shown either the \"Sign and send\" or the \"Request signature\" page with the Draft loaded. Subsequent access to the claim URL will result in a 404.
* @param unclaimedDraftCreateRequest (required)
* @return UnclaimedDraftCreateResponse
@@ -70,7 +70,7 @@ public UnclaimedDraftCreateResponse unclaimedDraftCreate(UnclaimedDraftCreateReq
/**
- * Create Unclaimed Draft
+ * Create Unclaimed Draft.
* Creates a new Draft that can be claimed using the claim URL. The first authenticated user to access the URL will claim the Draft and will be shown either the \"Sign and send\" or the \"Request signature\" page with the Draft loaded. Subsequent access to the claim URL will result in a 404.
* @param unclaimedDraftCreateRequest (required)
* @return ApiResponse<UnclaimedDraftCreateResponse>
@@ -113,7 +113,7 @@ public ApiResponse unclaimedDraftCreateWithHttpInf
);
}
/**
- * Create Embedded Unclaimed Draft
+ * Create Embedded Unclaimed Draft.
* Creates a new Draft that can be claimed and used in an embedded iFrame. The first authenticated user to access the URL will claim the Draft and will be shown the \"Request signature\" page with the Draft loaded. Subsequent access to the claim URL will result in a `404`. For this embedded endpoint the `requester_email_address` parameter is required. **NOTE:** Embedded unclaimed drafts can only be accessed in embedded iFrames whereas normal drafts can be used and accessed on Dropbox Sign.
* @param unclaimedDraftCreateEmbeddedRequest (required)
* @return UnclaimedDraftCreateResponse
@@ -131,7 +131,7 @@ public UnclaimedDraftCreateResponse unclaimedDraftCreateEmbedded(UnclaimedDraftC
/**
- * Create Embedded Unclaimed Draft
+ * Create Embedded Unclaimed Draft.
* Creates a new Draft that can be claimed and used in an embedded iFrame. The first authenticated user to access the URL will claim the Draft and will be shown the \"Request signature\" page with the Draft loaded. Subsequent access to the claim URL will result in a `404`. For this embedded endpoint the `requester_email_address` parameter is required. **NOTE:** Embedded unclaimed drafts can only be accessed in embedded iFrames whereas normal drafts can be used and accessed on Dropbox Sign.
* @param unclaimedDraftCreateEmbeddedRequest (required)
* @return ApiResponse<UnclaimedDraftCreateResponse>
@@ -174,7 +174,7 @@ public ApiResponse unclaimedDraftCreateEmbeddedWit
);
}
/**
- * Create Embedded Unclaimed Draft with Template
+ * Create Embedded Unclaimed Draft with Template.
* Creates a new Draft with a previously saved template(s) that can be claimed and used in an embedded iFrame. The first authenticated user to access the URL will claim the Draft and will be shown the \"Request signature\" page with the Draft loaded. Subsequent access to the claim URL will result in a `404`. For this embedded endpoint the `requester_email_address` parameter is required. **NOTE:** Embedded unclaimed drafts can only be accessed in embedded iFrames whereas normal drafts can be used and accessed on Dropbox Sign.
* @param unclaimedDraftCreateEmbeddedWithTemplateRequest (required)
* @return UnclaimedDraftCreateResponse
@@ -192,7 +192,7 @@ public UnclaimedDraftCreateResponse unclaimedDraftCreateEmbeddedWithTemplate(Unc
/**
- * Create Embedded Unclaimed Draft with Template
+ * Create Embedded Unclaimed Draft with Template.
* Creates a new Draft with a previously saved template(s) that can be claimed and used in an embedded iFrame. The first authenticated user to access the URL will claim the Draft and will be shown the \"Request signature\" page with the Draft loaded. Subsequent access to the claim URL will result in a `404`. For this embedded endpoint the `requester_email_address` parameter is required. **NOTE:** Embedded unclaimed drafts can only be accessed in embedded iFrames whereas normal drafts can be used and accessed on Dropbox Sign.
* @param unclaimedDraftCreateEmbeddedWithTemplateRequest (required)
* @return ApiResponse<UnclaimedDraftCreateResponse>
@@ -235,7 +235,7 @@ public ApiResponse unclaimedDraftCreateEmbeddedWit
);
}
/**
- * Edit and Resend Unclaimed Draft
+ * Edit and Resend Unclaimed Draft.
* Creates a new signature request from an embedded request that can be edited prior to being sent to the recipients. Parameter `test_mode` can be edited prior to request. Signers can be edited in embedded editor. Requester's email address will remain unchanged if `requester_email_address` parameter is not set. **NOTE:** Embedded unclaimed drafts can only be accessed in embedded iFrames whereas normal drafts can be used and accessed on Dropbox Sign.
* @param signatureRequestId The ID of the signature request to edit and resend. (required)
* @param unclaimedDraftEditAndResendRequest (required)
@@ -254,7 +254,7 @@ public UnclaimedDraftCreateResponse unclaimedDraftEditAndResend(String signature
/**
- * Edit and Resend Unclaimed Draft
+ * Edit and Resend Unclaimed Draft.
* Creates a new signature request from an embedded request that can be edited prior to being sent to the recipients. Parameter `test_mode` can be edited prior to request. Signers can be edited in embedded editor. Requester's email address will remain unchanged if `requester_email_address` parameter is not set. **NOTE:** Embedded unclaimed drafts can only be accessed in embedded iFrames whereas normal drafts can be used and accessed on Dropbox Sign.
* @param signatureRequestId The ID of the signature request to edit and resend. (required)
* @param unclaimedDraftEditAndResendRequest (required)
diff --git a/src/test/java/com/dropbox/sign/EventCallbackHelperTest.java b/src/test/java/com/dropbox/sign/EventCallbackHelperTest.java
index 8bd0c74..cbbbccd 100644
--- a/src/test/java/com/dropbox/sign/EventCallbackHelperTest.java
+++ b/src/test/java/com/dropbox/sign/EventCallbackHelperTest.java
@@ -1,56 +1,48 @@
package com.dropbox.sign;
-import com.dropbox.sign.model.ApiAppCreateRequest;
-import com.fasterxml.jackson.databind.JsonNode;
-import com.fasterxml.jackson.databind.ObjectMapper;
-import com.dropbox.sign.model.EventCallbackRequest;
-import org.junit.jupiter.api.Test;
+import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
-import static org.junit.jupiter.api.Assertions.assertEquals;
-import java.nio.file.Files;
-import java.nio.file.Paths;
+import com.dropbox.sign.model.EventCallbackRequest;
+import com.fasterxml.jackson.databind.JsonNode;
import java.util.Arrays;
import java.util.List;
+import org.junit.jupiter.api.Test;
public class EventCallbackHelperTest {
- public static final String APIKEY = "324e3b0840f065eb51f3fd63231d0d33daa35d4ed10d27718839e81737065782";
+ public static final String APIKEY =
+ "324e3b0840f065eb51f3fd63231d0d33daa35d4ed10d27718839e81737065782";
@Test
public void testIsValid() throws Exception {
String reverseApiKey = new StringBuilder(APIKEY).reverse().toString();
- List account_keys = Arrays.asList(
- "base",
- "base_no_metadata",
- "account",
- "account_no_metadata",
- "signature_request",
- "signature_request_no_metadata",
- "template",
- "template_no_metadata"
- );
+ List account_keys =
+ Arrays.asList(
+ "base",
+ "base_no_metadata",
+ "account",
+ "account_no_metadata",
+ "signature_request",
+ "signature_request_no_metadata",
+ "template",
+ "template_no_metadata");
for (String key : account_keys) {
- JsonNode content = TestHelper.getJsonContents("EventCallbackHelper_AccountCallbacks", key);
+ JsonNode content =
+ TestHelper.getJsonContents("EventCallbackHelper_AccountCallbacks", key);
EventCallbackRequest callbackEvent = EventCallbackRequest.init(content.toString());
assertTrue(EventCallbackHelper.isValid(APIKEY, callbackEvent));
assertFalse(EventCallbackHelper.isValid(reverseApiKey, callbackEvent));
assertEquals(
- EventCallbackHelper.EVENT_TYPE_ACCOUNT_CALLBACK,
- EventCallbackHelper.getCallbackType(callbackEvent)
- );
+ EventCallbackHelper.EVENT_TYPE_ACCOUNT_CALLBACK,
+ EventCallbackHelper.getCallbackType(callbackEvent));
}
- List app_keys = Arrays.asList(
- "base",
- "account",
- "signature_request",
- "template"
- );
+ List app_keys = Arrays.asList("base", "account", "signature_request", "template");
for (String key : app_keys) {
JsonNode content = TestHelper.getJsonContents("EventCallbackHelper_AppCallbacks", key);
@@ -60,9 +52,8 @@ public void testIsValid() throws Exception {
assertTrue(EventCallbackHelper.isValid(APIKEY, callbackEvent));
assertFalse(EventCallbackHelper.isValid(reverseApiKey, callbackEvent));
assertEquals(
- EventCallbackHelper.EVENT_TYPE_APP_CALLBACK,
- EventCallbackHelper.getCallbackType(callbackEvent)
- );
+ EventCallbackHelper.EVENT_TYPE_APP_CALLBACK,
+ EventCallbackHelper.getCallbackType(callbackEvent));
}
}
}
diff --git a/src/test/java/com/dropbox/sign/FixtureTest.java b/src/test/java/com/dropbox/sign/FixtureTest.java
index d173e8d..3332ebc 100644
--- a/src/test/java/com/dropbox/sign/FixtureTest.java
+++ b/src/test/java/com/dropbox/sign/FixtureTest.java
@@ -1,54 +1,56 @@
package com.dropbox.sign;
-import com.fasterxml.jackson.databind.JsonNode;
-import com.fasterxml.jackson.databind.ObjectMapper;
-import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.assertEquals;
+import com.fasterxml.jackson.databind.JsonNode;
+import com.fasterxml.jackson.databind.ObjectMapper;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.Arrays;
import java.util.List;
+import org.junit.jupiter.api.Test;
public class FixtureTest {
- private final List fixtures = Arrays.asList(
- "AccountCreateRequest",
- "AccountUpdateRequest",
- "AccountVerifyRequest",
- "ApiAppCreateRequest",
- "ApiAppUpdateRequest",
- "EmbeddedEditUrlRequest",
- "OAuthTokenGenerateRequest",
- "OAuthTokenRefreshRequest",
- "ReportCreateRequest",
- "SignatureRequestBulkCreateEmbeddedWithTemplateRequest",
- "SignatureRequestBulkSendWithTemplateRequest",
- "SignatureRequestCreateEmbeddedRequest",
- "SignatureRequestCreateEmbeddedWithTemplateRequest",
- "SignatureRequestRemindRequest",
- "SignatureRequestSendRequest",
- "SignatureRequestSendWithTemplateRequest",
- "SignatureRequestUpdateRequest",
- "TeamAddMemberRequest",
- "TeamCreateRequest",
- "TeamRemoveMemberRequest",
- "TeamUpdateRequest",
- "TemplateAddUserRequest",
- "TemplateCreateEmbeddedDraftRequest",
- "TemplateRemoveUserRequest",
- "TemplateUpdateFilesRequest",
- "UnclaimedDraftCreateEmbeddedRequest",
- "UnclaimedDraftCreateEmbeddedWithTemplateRequest",
- "UnclaimedDraftCreateRequest",
- "UnclaimedDraftEditAndResendRequest");
+ private final List fixtures =
+ Arrays.asList(
+ "AccountCreateRequest",
+ "AccountUpdateRequest",
+ "AccountVerifyRequest",
+ "ApiAppCreateRequest",
+ "ApiAppUpdateRequest",
+ "EmbeddedEditUrlRequest",
+ "OAuthTokenGenerateRequest",
+ "OAuthTokenRefreshRequest",
+ "ReportCreateRequest",
+ "SignatureRequestBulkCreateEmbeddedWithTemplateRequest",
+ "SignatureRequestBulkSendWithTemplateRequest",
+ "SignatureRequestCreateEmbeddedRequest",
+ "SignatureRequestCreateEmbeddedWithTemplateRequest",
+ "SignatureRequestRemindRequest",
+ "SignatureRequestSendRequest",
+ "SignatureRequestSendWithTemplateRequest",
+ "SignatureRequestUpdateRequest",
+ "TeamAddMemberRequest",
+ "TeamCreateRequest",
+ "TeamRemoveMemberRequest",
+ "TeamUpdateRequest",
+ "TemplateAddUserRequest",
+ "TemplateCreateEmbeddedDraftRequest",
+ "TemplateRemoveUserRequest",
+ "TemplateUpdateFilesRequest",
+ "UnclaimedDraftCreateEmbeddedRequest",
+ "UnclaimedDraftCreateEmbeddedWithTemplateRequest",
+ "UnclaimedDraftCreateRequest",
+ "UnclaimedDraftEditAndResendRequest");
@Test
public void testFixture() throws Exception {
ObjectMapper mapper = JSON.getDefault().getMapper();
for (String fixtureName : fixtures) {
- JsonNode fixture = mapper.readTree(
- Files.newInputStream(Paths.get("test_fixtures/" + fixtureName + ".json"))
- );
+ JsonNode fixture =
+ mapper.readTree(
+ Files.newInputStream(
+ Paths.get("test_fixtures/" + fixtureName + ".json")));
for (JsonNode expected : fixture) {
String data = expected.toString();
diff --git a/src/test/java/com/dropbox/sign/SubFormFieldsPerDocumentTest.java b/src/test/java/com/dropbox/sign/SubFormFieldsPerDocumentTest.java
index 0ec09f9..823a21c 100644
--- a/src/test/java/com/dropbox/sign/SubFormFieldsPerDocumentTest.java
+++ b/src/test/java/com/dropbox/sign/SubFormFieldsPerDocumentTest.java
@@ -1,17 +1,17 @@
package com.dropbox.sign;
+import static org.junit.jupiter.api.Assertions.assertEquals;
+import static org.junit.jupiter.api.Assertions.assertTrue;
+
+import com.dropbox.sign.model.SubFormFieldsPerDocumentBase;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;
-import com.dropbox.sign.model.SubFormFieldsPerDocumentBase;
import com.fasterxml.jackson.databind.node.ObjectNode;
-import org.junit.jupiter.api.Test;
-import static org.junit.jupiter.api.Assertions.assertTrue;
-import static org.junit.jupiter.api.Assertions.assertEquals;
-
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.Iterator;
import java.util.Map;
+import org.junit.jupiter.api.Test;
public class SubFormFieldsPerDocumentTest {
public final String packageNamePrefix = "com.dropbox.sign.model.";
@@ -19,9 +19,10 @@ public class SubFormFieldsPerDocumentTest {
@Test
public void testSubFormFieldsPerDocumentBase() throws Exception {
ObjectMapper mapper = JSON.getDefault().getMapper();
- JsonNode content = mapper.readTree(
- Files.newInputStream(Paths.get("test_fixtures//SubFormFieldsPerDocument.json"))
- );
+ JsonNode content =
+ mapper.readTree(
+ Files.newInputStream(
+ Paths.get("test_fixtures//SubFormFieldsPerDocument.json")));
Iterator> fields = content.fields();
while (fields.hasNext()) {
@@ -29,7 +30,8 @@ public void testSubFormFieldsPerDocumentBase() throws Exception {
String fieldName = kv.getKey();
JsonNode expected = kv.getValue();
- SubFormFieldsPerDocumentBase base = SubFormFieldsPerDocumentBase.init(expected.toString());
+ SubFormFieldsPerDocumentBase base =
+ SubFormFieldsPerDocumentBase.init(expected.toString());
assertTrue(Class.forName(packageNamePrefix + fieldName).isInstance(base));
@@ -44,9 +46,10 @@ public void testSubFormFieldsPerDocumentBase() throws Exception {
@Test
public void testSignersAllowsInt() throws Exception {
ObjectMapper mapper = JSON.getDefault().getMapper();
- JsonNode content = mapper.readTree(
- Files.newInputStream(Paths.get("test_fixtures//SubFormFieldsPerDocument.json"))
- );
+ JsonNode content =
+ mapper.readTree(
+ Files.newInputStream(
+ Paths.get("test_fixtures//SubFormFieldsPerDocument.json")));
Iterator> fields = content.fields();
while (fields.hasNext()) {
@@ -56,7 +59,8 @@ public void testSignersAllowsInt() throws Exception {
((ObjectNode) data).put("signer", 1234);
- SubFormFieldsPerDocumentBase result = SubFormFieldsPerDocumentBase.init(data.toString());
+ SubFormFieldsPerDocumentBase result =
+ SubFormFieldsPerDocumentBase.init(data.toString());
assertEquals(expected_signer, result.getSigner());
}
@@ -65,9 +69,10 @@ public void testSignersAllowsInt() throws Exception {
@Test
public void testSignersAllowsString() throws Exception {
ObjectMapper mapper = JSON.getDefault().getMapper();
- JsonNode content = mapper.readTree(
- Files.newInputStream(Paths.get("test_fixtures//SubFormFieldsPerDocument.json"))
- );
+ JsonNode content =
+ mapper.readTree(
+ Files.newInputStream(
+ Paths.get("test_fixtures//SubFormFieldsPerDocument.json")));
Iterator> fields = content.fields();
while (fields.hasNext()) {
@@ -77,7 +82,8 @@ public void testSignersAllowsString() throws Exception {
((ObjectNode) data).put("signer", "sender");
- SubFormFieldsPerDocumentBase result = SubFormFieldsPerDocumentBase.init(data.toString());
+ SubFormFieldsPerDocumentBase result =
+ SubFormFieldsPerDocumentBase.init(data.toString());
assertEquals(expected_signer, result.getSigner());
}
diff --git a/src/test/java/com/dropbox/sign/TestHelper.java b/src/test/java/com/dropbox/sign/TestHelper.java
index 0e07286..7cb2d81 100644
--- a/src/test/java/com/dropbox/sign/TestHelper.java
+++ b/src/test/java/com/dropbox/sign/TestHelper.java
@@ -1,16 +1,15 @@
package com.dropbox.sign;
+import static org.mockito.Mockito.*;
+
+import com.dropbox.sign.model.ErrorResponse;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;
-import com.dropbox.sign.model.ErrorResponse;
-import org.mockito.Mockito;
-
import java.io.InputStream;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.HashMap;
-
-import static org.mockito.Mockito.*;
+import org.mockito.Mockito;
public class TestHelper {
public static InputStream readFileFromResource(String fileName) throws Exception {
@@ -21,7 +20,8 @@ public static JsonNode getJsonContents(String filename) throws Exception {
return getJsonContents(filename, "default");
}
- public static JsonNode getJsonContents(String filename, String topLevelFieldName) throws Exception {
+ public static JsonNode getJsonContents(String filename, String topLevelFieldName)
+ throws Exception {
ObjectMapper objectMapper = JSON.getDefault().getMapper();
JsonNode jsonNode = objectMapper.readTree(readFileFromResource(filename));
@@ -32,38 +32,23 @@ public static ApiClient setUpMock(int statusCode, Object obj) throws ApiExceptio
ApiClient apiClient = Mockito.spy(ApiClient.class);
ApiResponse