Skip to content

Commit

Permalink
Added handles for envelope download
Browse files Browse the repository at this point in the history
liblab SDK update v1.1.0
  • Loading branch information
upcFrost authored Jan 15, 2025
2 parents 7c1a642 + 731a35e commit a3b6420
Show file tree
Hide file tree
Showing 91 changed files with 955 additions and 533 deletions.
58 changes: 34 additions & 24 deletions .manifest.json
Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@
{
"liblabVersion": "2.1.28",
"date": "2024-08-21T16:17:52.441Z",
"liblabVersion": "2.10.9",
"date": "2025-01-15T12:59:43.818Z",
"config": {
"apiId": 947,
"apiId": 1666,
"sdkName": "signplus",
"sdkVersion": "2.0.0",
"sdkVersion": "1.1.0",
"languages": ["java"],
"auth": ["bearer"],
"liblabVersion": "2",
"deliveryMethods": ["zip"],
"languages": ["java"],
"apiVersion": "2.0.0",
"apiVersion": "2.1.0",
"apiName": "signplus-api",
"specFilePath": "openapi.yaml",
"auth": ["bearer"],
"languageOptions": {
"csharp": {
"packageId": "Alohi.Signplus",
"githubRepoName": "signplus-sharp",
"ignoreFiles": [],
"liblabVersion": "2",
"sdkVersion": "2.0.0"
"sdkVersion": "1.1.0"
},
"go": {
"goModuleName": "github.com/alohihq/signplus-go",
"additionalConstructorParameters": [],
"githubRepoName": "signplus-go",
"ignoreFiles": [],
"liblabVersion": "2",
"sdkVersion": "2.0.0"
"sdkVersion": "1.1.0"
},
"java": {
"groupId": "com.alohi",
Expand All @@ -42,7 +42,7 @@
"additionalConstructorParameters": [],
"githubRepoName": "signplus-java",
"liblabVersion": "2",
"sdkVersion": "2.0.0"
"sdkVersion": "1.1.0"
},
"python": {
"alwaysInitializeOptionals": false,
Expand All @@ -51,15 +51,15 @@
"githubRepoName": "signplus-python",
"ignoreFiles": [],
"liblabVersion": "2",
"sdkVersion": "2.0.0"
"sdkVersion": "1.1.0"
},
"php": {
"packageName": "alohi/signplus",
"additionalConstructorParameters": [],
"githubRepoName": "signplus-php",
"ignoreFiles": [],
"liblabVersion": "2",
"sdkVersion": "2.0.0"
"sdkVersion": "1.1.0"
},
"typescript": {
"bundle": false,
Expand All @@ -71,7 +71,8 @@
"githubRepoName": "signplus-typescript",
"ignoreFiles": [],
"liblabVersion": "2",
"sdkVersion": "2.0.0"
"sdkVersion": "1.1.0",
"generateEnumAs": "enum"
}
},
"publishing": {
Expand Down Expand Up @@ -105,7 +106,6 @@
"httpMethodsToRetry": ["GET", "POST", "PUT", "DELETE", "PATCH", "HEAD", "OPTIONS"]
},
"multiTenant": true,
"specUrl": "https://prod-liblab-api-stack-specs.s3.us-east-1.amazonaws.com/947/open-api-spec.yaml?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=AKIA5P3QKKDKGVNIJ2H7%2F20240821%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240821T161747Z&X-Amz-Expires=43200&X-Amz-Signature=7cd3dd73691b6e954924f6e70d23937eda90cbefc4d61b27b5ea3cae8365739b&X-Amz-SignedHeaders=host&x-id=GetObject",
"includeWatermark": false,
"groupId": "com.alohi",
"artifactId": "signplus",
Expand All @@ -131,24 +131,29 @@
"httpLibrary": {
"name": "axios",
"packages": {
"axios": "^1.7.4"
"axios": "^1.7.7"
},
"languages": ["typescript"]
},
"customQueries": {
"paths": [],
"rawQueries": [],
"queriesData": []
}
},
"ai": false
},
"files": [
"pom.xml",
".gitignore",
"src/main/java/com/alohi/signplus/validation/annotation/Length.java",
"src/main/java/com/alohi/signplus/validation/annotation/Max.java",
"src/main/java/com/alohi/signplus/validation/annotation/Min.java",
"src/main/java/com/alohi/signplus/validation/annotation/Pattern.java",
"src/main/java/com/alohi/signplus/validation/annotation/Valid.java",
"src/main/java/com/alohi/signplus/validation/Violation.java",
"src/main/java/com/alohi/signplus/validation/ViolationAggregator.java",
"src/main/java/com/alohi/signplus/validation/validators/AbstractValidator.java",
"src/main/java/com/alohi/signplus/validation/validators/ListValidator.java",
"src/main/java/com/alohi/signplus/validation/validators/NumericValidator.java",
"src/main/java/com/alohi/signplus/validation/validators/StringValidator.java",
"src/main/java/com/alohi/signplus/validation/validators/Validator.java",
"src/main/java/com/alohi/signplus/validation/validators/modelValidators/AbstractModelValidator.java",
"src/main/java/com/alohi/signplus/validation/exceptions/ValidationException.java",
"src/main/java/com/alohi/signplus/services/BaseService.java",
"src/main/java/com/alohi/signplus/http/HttpMethod.java",
"src/main/java/com/alohi/signplus/http/ModelConverter.java",
Expand Down Expand Up @@ -230,9 +235,14 @@
"documentation/models/WebhookEvent.md",
"src/main/java/com/alohi/signplus/json/TypeUtils.java",
"example/pom.xml",
"example/setup.sh",
"example/run.sh",
"example/src/main/java/com/example/Main.java",
"example/.gitignore",
".idea/workspace.xml",
".idea/misc.xml",
".idea/compiler.xml",
".idea/encoding.xml",
".idea/jarRepositories.xml",
"src/main/java/com/alohi/signplus/models/EnvelopeLegalityLevel.java",
"src/main/java/com/alohi/signplus/models/EnvelopeFlowType.java",
"src/main/java/com/alohi/signplus/models/EnvelopeStatus.java",
Expand Down Expand Up @@ -293,7 +303,7 @@
"src/main/java/com/alohi/signplus/models/Envelope.java",
"src/main/java/com/alohi/signplus/models/Annotation.java",
"src/main/java/com/alohi/signplus/models/ListEnvelopesRequest.java",
"src/main/java/com/alohi/signplus/services/SignplusService.java",
"documentation/services/SignplusService.md"
"documentation/services/SignplusService.md",
"src/main/java/com/alohi/signplus/services/SignplusService.java"
]
}
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2024
Copyright (c) 2025

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
14 changes: 8 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
# Signplus Java SDK 2.0.0
# Signplus Java SDK 1.1.0

Welcome to the Signplus SDK documentation. This guide will help you get started with integrating and using the Signplus SDK in your project.

[![This SDK was generated by liblab](https://public-liblab-readme-assets.s3.us-east-1.amazonaws.com/built-by-liblab-icon.svg)](https://liblab.com/?utm_source=readme)

## Versions

- API version: `2.0.0`
- SDK version: `2.0.0`
- API version: `2.1.0`
- SDK version: `1.1.0`

## About the API

Expand Down Expand Up @@ -38,14 +40,14 @@ If you use Maven, place the following within the _dependency_ tag in your `pom.x
<dependency>
<groupId>com.alohi</groupId>
<artifactId>signplus</artifactId>
<version>2.0.0</version>
<version>1.1.0</version>
</dependency>
```

If you use Gradle, paste the next line inside the _dependencies_ block of your `build.gradle` file:

```Gradle
implementation group: com.alohi, name: signplus, version: 2.0.0
implementation group: com.alohi, name: signplus, version: 1.1.0
```

If you use JAR files, package the SDK by running the following command:
Expand Down Expand Up @@ -123,7 +125,7 @@ public class Main {

Signplus signplus = new Signplus(config);

Envelope response = signplus.signplusService.getEnvelope("envelope_id");
Envelope response = signplus.signplus.getEnvelope("envelope_id");

System.out.println(response);
}
Expand Down
6 changes: 3 additions & 3 deletions documentation/models/AddEnvelopeSigningStepsRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

**Properties**

| Name | Type | Required | Description |
| :----------- | :---------------- | :------- | :-------------------- |
| signingSteps | List<SigningStep> || List of signing steps |
| Name | Type | Required | Description |
| :----------- | :------------------ | :------- | :-------------------- |
| signingSteps | List\<SigningStep\> || List of signing steps |
6 changes: 3 additions & 3 deletions documentation/models/AddTemplateSigningStepsRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

**Properties**

| Name | Type | Required | Description |
| :----------- | :------------------------ | :------- | :-------------------- |
| signingSteps | List<TemplateSigningStep> || List of signing steps |
| Name | Type | Required | Description |
| :----------- | :-------------------------- | :------- | :-------------------- |
| signingSteps | List\<TemplateSigningStep\> || List of signing steps |
14 changes: 7 additions & 7 deletions documentation/models/Document.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

**Properties**

| Name | Type | Required | Description |
| :-------- | :--------- | :------- | :-------------------------------- |
| id | String || Unique identifier of the document |
| name | String || Name of the document |
| filename | String || Filename of the document |
| pageCount | Long || Number of pages in the document |
| pages | List<Page> || List of pages in the document |
| Name | Type | Required | Description |
| :-------- | :----------- | :------- | :-------------------------------- |
| id | String || Unique identifier of the document |
| name | String || Name of the document |
| filename | String || Filename of the document |
| pageCount | Long || Number of pages in the document |
| pages | List\<Page\> || List of pages in the document |
4 changes: 2 additions & 2 deletions documentation/models/Envelope.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
| expiresAt | Long || Unix timestamp of the expiration date |
| numRecipients | Long || Number of recipients in the envelope |
| isDuplicable | Boolean || Whether the envelope can be duplicated |
| signingSteps | List<SigningStep> || |
| documents | List<Document> || |
| signingSteps | List\<SigningStep\> || |
| documents | List\<Document\> || |
| notification | EnvelopeNotification || |
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

**Properties**

| Name | Type | Required | Description |
| :---------- | :--------------- | :------- | :---------- |
| annotations | List<Annotation> || |
| Name | Type | Required | Description |
| :---------- | :----------------- | :------- | :---------- |
| annotations | List\<Annotation\> || |
6 changes: 3 additions & 3 deletions documentation/models/ListEnvelopeDocumentsResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

**Properties**

| Name | Type | Required | Description |
| :-------- | :------------- | :------- | :---------- |
| documents | List<Document> || |
| Name | Type | Required | Description |
| :-------- | :--------------- | :------- | :---------- |
| documents | List\<Document\> || |
38 changes: 19 additions & 19 deletions documentation/models/ListEnvelopesRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,22 @@

**Properties**

| Name | Type | Required | Description |
| :------------- | :------------------- | :------- | :------------------------------------------------ |
| name | String || Name of the envelope |
| tags | List<String> || List of tags |
| comment | String || Comment of the envelope |
| ids | List<String> || List of envelope IDs |
| statuses | List<EnvelopeStatus> || List of envelope statuses |
| folderIds | List<String> || List of folder IDs |
| onlyRootFolder | Boolean || Whether to only list envelopes in the root folder |
| dateFrom | Long || Unix timestamp of the start date |
| dateTo | Long || Unix timestamp of the end date |
| uid | String || Unique identifier of the user |
| first | Long || |
| last | Long || |
| after | String || |
| before | String || |
| orderField | EnvelopeOrderField || Field to order envelopes by |
| ascending | Boolean || Whether to order envelopes in ascending order |
| includeTrash | Boolean || Whether to include envelopes in the trash |
| Name | Type | Required | Description |
| :------------- | :--------------------- | :------- | :------------------------------------------------ |
| name | String || Name of the envelope |
| tags | List\<String\> || List of tags |
| comment | String || Comment of the envelope |
| ids | List\<String\> || List of envelope IDs |
| statuses | List\<EnvelopeStatus\> || List of envelope statuses |
| folderIds | List\<String\> || List of folder IDs |
| onlyRootFolder | Boolean || Whether to only list envelopes in the root folder |
| dateFrom | Long || Unix timestamp of the start date |
| dateTo | Long || Unix timestamp of the end date |
| uid | String || Unique identifier of the user |
| first | Long || |
| last | Long || |
| after | String || |
| before | String || |
| orderField | EnvelopeOrderField || Field to order envelopes by |
| ascending | Boolean || Whether to order envelopes in ascending order |
| includeTrash | Boolean || Whether to include envelopes in the trash |
10 changes: 5 additions & 5 deletions documentation/models/ListEnvelopesResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

**Properties**

| Name | Type | Required | Description |
| :-------------- | :------------- | :------- | :------------------------------- |
| hasNextPage | Boolean || Whether there is a next page |
| hasPreviousPage | Boolean || Whether there is a previous page |
| envelopes | List<Envelope> || |
| Name | Type | Required | Description |
| :-------------- | :--------------- | :------- | :------------------------------- |
| hasNextPage | Boolean || Whether there is a next page |
| hasPreviousPage | Boolean || Whether there is a previous page |
| envelopes | List\<Envelope\> || |
6 changes: 3 additions & 3 deletions documentation/models/ListTemplateAnnotationsResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

**Properties**

| Name | Type | Required | Description |
| :---------- | :--------------- | :------- | :---------- |
| annotations | List<Annotation> || |
| Name | Type | Required | Description |
| :---------- | :----------------- | :------- | :---------- |
| annotations | List\<Annotation\> || |
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

**Properties**

| Name | Type | Required | Description |
| :---------- | :--------------- | :------- | :---------- |
| annotations | List<Annotation> || |
| Name | Type | Required | Description |
| :---------- | :----------------- | :------- | :---------- |
| annotations | List\<Annotation\> || |
6 changes: 3 additions & 3 deletions documentation/models/ListTemplateDocumentsResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

**Properties**

| Name | Type | Required | Description |
| :-------- | :------------- | :------- | :---------- |
| documents | List<Document> || |
| Name | Type | Required | Description |
| :-------- | :--------------- | :------- | :---------- |
| documents | List\<Document\> || |
4 changes: 2 additions & 2 deletions documentation/models/ListTemplatesRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
| Name | Type | Required | Description |
| :--------- | :----------------- | :------- | :-------------------------------------------- |
| name | String || Name of the template |
| tags | List<String> || List of tag templates |
| ids | List<String> || List of templates IDs |
| tags | List\<String\> || List of tag templates |
| ids | List\<String\> || List of templates IDs |
| first | Long || |
| last | Long || |
| after | String || |
Expand Down
10 changes: 5 additions & 5 deletions documentation/models/ListTemplatesResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

**Properties**

| Name | Type | Required | Description |
| :-------------- | :------------- | :------- | :------------------------------- |
| hasNextPage | Boolean || Whether there is a next page |
| hasPreviousPage | Boolean || Whether there is a previous page |
| templates | List<Template> || |
| Name | Type | Required | Description |
| :-------------- | :--------------- | :------- | :------------------------------- |
| hasNextPage | Boolean || Whether there is a next page |
| hasPreviousPage | Boolean || Whether there is a previous page |
| templates | List\<Template\> || |
Loading

0 comments on commit a3b6420

Please sign in to comment.