Skip to content

Commit 0122eff

Browse files
authored
v6.0.0 (#20)
Changes: - Variables in Title: - was changed as the optional field for 'create document from template' payload - was added as the optional parameter; Set this parameter as true if you want to detect title variables in the document name - was added as a query parameter for the 'contact list' endpoint - field was added for the 'update document' endpoint - field was added for the recipient object in the document details response - field was added for document, template, content library item details responses - field was added to the pricing object for document, template, content library item details responses - type of webhook event was added Breaking changes: - Renamed to in the request payload for the 'add document recipient' and 'reassign document recipient' endpoints - Removed PricingTablesResponse model and PricingTablesResponse*
1 parent c60b231 commit 0122eff

File tree

66 files changed

+3812
-256
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+3812
-256
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Add this dependency to your project's POM:
3535
<dependency>
3636
<groupId>com.pandadoc</groupId>
3737
<artifactId>pandadoc-java-client</artifactId>
38-
<version>5.7.1</version>
38+
<version>6.0.0</version>
3939
<scope>compile</scope>
4040
</dependency>
4141
```
@@ -45,7 +45,7 @@ Add this dependency to your project's POM:
4545
Add this dependency to your project's build file:
4646

4747
```groovy
48-
compile "com.pandadoc:pandadoc-java-client:5.7.1"
48+
compile "com.pandadoc:pandadoc-java-client:6.0.0"
4949
```
5050

5151
### Others
@@ -58,7 +58,7 @@ mvn clean package
5858

5959
Then manually install the following JARs:
6060

61-
- `target/pandadoc-java-client-5.7.1.jar`
61+
- `target/pandadoc-java-client-6.0.0.jar`
6262
- `target/lib/*.jar`
6363

6464
## Getting Started

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ apply plugin: 'java'
44
apply plugin: 'com.diffplug.spotless'
55

66
group = 'com.pandadoc'
7-
version = '5.7.1'
7+
version = '6.0.0'
88

99
buildscript {
1010
repositories {

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ lazy val root = (project in file(".")).
22
settings(
33
organization := "com.pandadoc",
44
name := "pandadoc-java-client",
5-
version := "5.7.1",
5+
version := "6.0.0",
66
scalaVersion := "2.11.4",
77
scalacOptions ++= Seq("-feature"),
88
javacOptions in compile ++= Seq("-Xlint:deprecation"),

docs/ContactsApi.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ Name | Type | Description | Notes
264264

265265
## listContacts
266266

267-
> ContactListResponse listContacts()
267+
> ContactListResponse listContacts(email)
268268
269269
List contacts
270270

@@ -299,8 +299,10 @@ public class Example {
299299
// oauth2.setAccessToken("YOUR ACCESS TOKEN");
300300

301301
ContactsApi apiInstance = new ContactsApi(defaultClient);
302+
// String | Optional search parameter. Filter results by exact match.
303+
String email = "josh@example.com";
302304
try {
303-
ContactListResponse result = apiInstance.listContacts();
305+
ContactListResponse result = apiInstance.listContacts(email);
304306
System.out.println(result);
305307
} catch (ApiException e) {
306308
System.err.println("Exception when calling ContactsApi#listContacts");
@@ -315,7 +317,10 @@ public class Example {
315317

316318
### Parameters
317319

318-
This endpoint does not need any parameter.
320+
321+
Name | Type | Description | Notes
322+
------------- | ------------- | ------------- | -------------
323+
**email** | **String**| Optional search parameter. Filter results by exact match. | [optional]
319324

320325
### Return type
321326

docs/ContentLibraryItemResponse.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,12 @@ Name | Type | Description | Notes
1111
**name** | **String** | | [optional]
1212
**dateCreated** | **String** | | [optional]
1313
**dateModified** | **String** | | [optional]
14+
**contentDateModified** | **String** | | [optional]
1415
**createdBy** | [**ContentLibraryItemResponseCreatedBy**](ContentLibraryItemResponseCreatedBy.md) | | [optional]
1516
**metadata** | **Object** | | [optional]
1617
**tokens** | **List&lt;Object&gt;** | | [optional]
1718
**fields** | **List&lt;Object&gt;** | | [optional]
18-
**pricing** | [**PricingTablesResponse**](PricingTablesResponse.md) | | [optional]
19+
**pricing** | [**PricingResponse**](PricingResponse.md) | | [optional]
1920
**tags** | **List&lt;String&gt;** | | [optional]
2021
**roles** | **List&lt;Object&gt;** | | [optional]
2122
**version** | **String** | | [optional]

docs/DocumentCreateByTemplateRequest.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77

88
Name | Type | Description | Notes
99
------------ | ------------- | ------------- | -------------
10-
**name** | **String** | Name the document you are creating. |
10+
**name** | **String** | Name the document you are creating. If name is not passed, the template name is used. | [optional]
11+
**detectTitleVariables** | **Boolean** | Set this parameter as true if you want to detect title variables in the document. | [optional]
1112
**templateUuid** | **String** | The ID of a template you want to use. You can copy it from an in app template url such as &#x60;https://app.pandadoc.com/a/#/templates/{ID}/content&#x60;. A template ID is also obtained by listing templates. |
1213
**folderUuid** | **String** | | [optional]
1314
**recipients** | [**List&lt;DocumentCreateByTemplateRequestRecipients&gt;**](DocumentCreateByTemplateRequestRecipients.md) | The list of recipients you&#39;re sending the document to. Every object must contain the email parameter. The &#x60;role&#x60;, &#x60;first_name&#x60; and &#x60;last_name&#x60; parameters are optional. If the &#x60;role&#x60; parameter passed, a person is assigned all fields matching their corresponding role. If not passed, a person will receive a read-only link to view the document. If the &#x60;first_name&#x60; and &#x60;last_name&#x60; not passed the system 1. creates a new contact, if none exists with the given &#x60;email&#x60;; or 2. gets the existing contact with the given &#x60;email&#x60; that already exists. |

docs/DocumentCreateRequest.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
Name | Type | Description | Notes
99
------------ | ------------- | ------------- | -------------
1010
**name** | **String** | Name the document you are creating. | [optional]
11+
**detectTitleVariables** | **Boolean** | Set this parameter as true if you want to detect title variables in the document. | [optional]
1112
**templateUuid** | **String** | ID of the template you want to use. You can copy it from an in-app template URL such as &#x60;https://app.pandadoc.com/a/#/templates/{ID}/content&#x60;. A template ID is also obtained by listing templates. | [optional]
1213
**folderUuid** | **String** | ID of the folder where the created document should be stored. | [optional]
1314
**owner** | **Map&lt;String, String&gt;** | You can set an owner of a document as an &#x60;email&#x60; or &#x60;membership_id&#x60; | [optional]

docs/DocumentDetailsResponse.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,14 @@ Name | Type | Description | Notes
1313
**dateCreated** | **String** | | [optional]
1414
**dateModified** | **String** | | [optional]
1515
**dateCompleted** | **String** | | [optional]
16+
**contentDateModified** | **String** | | [optional]
1617
**createdBy** | [**DocumentDetailsResponseCreatedBy**](DocumentDetailsResponseCreatedBy.md) | | [optional]
1718
**template** | [**DocumentDetailsResponseTemplate**](DocumentDetailsResponseTemplate.md) | | [optional]
1819
**expirationDate** | **Object** | | [optional]
1920
**metadata** | **Object** | | [optional]
2021
**tokens** | **List&lt;Object&gt;** | | [optional]
2122
**fields** | **List&lt;Object&gt;** | | [optional]
22-
**pricing** | [**PricingTablesResponse**](PricingTablesResponse.md) | | [optional]
23+
**pricing** | [**PricingResponse**](PricingResponse.md) | | [optional]
2324
**version** | **String** | | [optional]
2425
**tags** | **List&lt;String&gt;** | | [optional]
2526
**sentBy** | **Object** | | [optional]

docs/DocumentDetailsResponseRecipients.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ Name | Type | Description | Notes
1818
**email** | **String** | | [optional]
1919
**hasCompleted** | **Boolean** | | [optional]
2020
**sharedLink** | **String** | | [optional]
21+
**signatureDate** | **String** | | [optional]
2122

2223

2324

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11

22

3-
# InlineResponse200
3+
# DocumentRecipientResponse
44

55

66
## Properties
77

88
Name | Type | Description | Notes
99
------------ | ------------- | ------------- | -------------
10-
**actorId** | **String** | | [optional]
10+
**recipientId** | **String** | | [optional]
1111

1212

1313

0 commit comments

Comments
 (0)