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

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions sdks/java-v2/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 "$@"
7 changes: 4 additions & 3 deletions sdks/java-v2/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@ 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'
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
16 changes: 8 additions & 8 deletions sdks/java-v2/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 `email_address`.
* @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 `email_address`.
* @param accountCreateRequest (required)
* @return ApiResponse<AccountCreateResponse>
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 sdks/java-v2/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
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
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
Expand Down Expand Up @@ -120,7 +120,7 @@ public ApiResponse<EmbeddedEditUrlResponse> 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
Expand All @@ -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&lt;EmbeddedSignUrlResponse&gt;
Expand Down
Loading