Skip to content

Commit 29a47d0

Browse files
committed
Updated on 2025-03-22 23:22:11. Version: 2.1.0
1 parent 114f104 commit 29a47d0

Some content is hidden

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

47 files changed

+1857
-80
lines changed

.openapi-generator/FILES

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@ docs/MoveFolderData.md
3333
docs/MoveTemplateData.md
3434
docs/MultipleErrorsResponse.md
3535
docs/PDFApi.md
36+
docs/PublishVersionData.md
3637
docs/RenameFolderData.md
38+
docs/RestoreVersionData.md
3739
docs/Submission.md
3840
docs/SubmissionAction.md
3941
docs/SubmissionBatch.md
@@ -48,7 +50,9 @@ docs/SuccessErrorResponse.md
4850
docs/SuccessMultipleErrorsResponse.md
4951
docs/Template.md
5052
docs/TemplateAddFieldsResponse.md
53+
docs/TemplateDeleteResponse.md
5154
docs/TemplatePreview.md
55+
docs/TemplatePublishVersionResponse.md
5256
docs/UpdateHtmlTemplate.md
5357
docs/UpdateSubmissionDataRequestData.md
5458
docs/UploadPresignResponse.md
@@ -89,7 +93,9 @@ docspring/models/list_submissions_response.py
8993
docspring/models/move_folder_data.py
9094
docspring/models/move_template_data.py
9195
docspring/models/multiple_errors_response.py
96+
docspring/models/publish_version_data.py
9297
docspring/models/rename_folder_data.py
98+
docspring/models/restore_version_data.py
9399
docspring/models/submission.py
94100
docspring/models/submission_action.py
95101
docspring/models/submission_batch.py
@@ -104,7 +110,9 @@ docspring/models/success_error_response.py
104110
docspring/models/success_multiple_errors_response.py
105111
docspring/models/template.py
106112
docspring/models/template_add_fields_response.py
113+
docspring/models/template_delete_response.py
107114
docspring/models/template_preview.py
115+
docspring/models/template_publish_version_response.py
108116
docspring/models/update_html_template.py
109117
docspring/models/update_submission_data_request_data.py
110118
docspring/models/upload_presign_response.py
@@ -147,7 +155,9 @@ test/test_move_folder_data.py
147155
test/test_move_template_data.py
148156
test/test_multiple_errors_response.py
149157
test/test_pdf_api.py
158+
test/test_publish_version_data.py
150159
test/test_rename_folder_data.py
160+
test/test_restore_version_data.py
151161
test/test_submission.py
152162
test/test_submission_action.py
153163
test/test_submission_batch.py
@@ -162,7 +172,9 @@ test/test_success_error_response.py
162172
test/test_success_multiple_errors_response.py
163173
test/test_template.py
164174
test/test_template_add_fields_response.py
175+
test/test_template_delete_response.py
165176
test/test_template_preview.py
177+
test/test_template_publish_version_response.py
166178
test/test_update_html_template.py
167179
test/test_update_submission_data_request_data.py
168180
test/test_upload_presign_response.py

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
### 2.1.0 [March 22, 2025]
2+
3+
- Added support for Template Versioning parameters:
4+
- Optional version parameter in submission requests (e.g., 1.2.3, draft, latest)
5+
- New API methods: publish_template_version, restore_template_version
6+
- Updated copy_template and delete_template methods to accept template version strings
7+
18
### 2.0.0 [February 23, 2025]
29

310
- **BREAKING CHANGE**: Updated default host to our new synchronous API subdomain: sync.api.docspring.com. (EU customers should use sync.api-eu.docspring.com). Removed all custom polling code from library since this logic is now handled by the API service running on our sync subdomain

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ DocSpring provides an API that helps you fill out and sign PDF templates.
44
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
55

66
- API version: v1
7-
- Package version: 2.0.0
7+
- Package version: 2.1.0
88
- Generator version: 7.11.0
99
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
1010

@@ -117,7 +117,7 @@ Class | Method | HTTP request | Description
117117
*PDFApi* | [**generate_preview**](docs/PDFApi.md#generate_preview) | **POST** /submissions/{submission_id}/generate_preview | Generated a preview PDF for partially completed data requests
118118
*PDFApi* | [**get_combined_submission**](docs/PDFApi.md#get_combined_submission) | **GET** /combined_submissions/{combined_submission_id} | Check the status of a combined submission (merged PDFs)
119119
*PDFApi* | [**get_data_request**](docs/PDFApi.md#get_data_request) | **GET** /data_requests/{data_request_id} | Look up a submission data request
120-
*PDFApi* | [**get_full_template**](docs/PDFApi.md#get_full_template) | **GET** /templates/{template_id}?full=true | Fetch the full template attributes
120+
*PDFApi* | [**get_full_template**](docs/PDFApi.md#get_full_template) | **GET** /templates/{template_id}?full=true | Fetch the full attributes for a PDF template
121121
*PDFApi* | [**get_presign_url**](docs/PDFApi.md#get_presign_url) | **GET** /uploads/presign | Get a presigned URL so that you can upload a file to our AWS S3 bucket
122122
*PDFApi* | [**get_submission**](docs/PDFApi.md#get_submission) | **GET** /submissions/{submission_id} | Check the status of a PDF
123123
*PDFApi* | [**get_submission_batch**](docs/PDFApi.md#get_submission_batch) | **GET** /submissions/batches/{submission_batch_id} | Check the status of a submission batch job
@@ -130,7 +130,9 @@ Class | Method | HTTP request | Description
130130
*PDFApi* | [**list_templates**](docs/PDFApi.md#list_templates) | **GET** /templates | Get a list of all templates
131131
*PDFApi* | [**move_folder_to_folder**](docs/PDFApi.md#move_folder_to_folder) | **POST** /folders/{folder_id}/move | Move a folder
132132
*PDFApi* | [**move_template_to_folder**](docs/PDFApi.md#move_template_to_folder) | **POST** /templates/{template_id}/move | Move Template to folder
133+
*PDFApi* | [**publish_template_version**](docs/PDFApi.md#publish_template_version) | **POST** /templates/{template_id}/publish_version | Publish a template version
133134
*PDFApi* | [**rename_folder**](docs/PDFApi.md#rename_folder) | **POST** /folders/{folder_id}/rename | Rename a folder
135+
*PDFApi* | [**restore_template_version**](docs/PDFApi.md#restore_template_version) | **POST** /templates/{template_id}/restore_version | Restore a template version
134136
*PDFApi* | [**test_authentication**](docs/PDFApi.md#test_authentication) | **GET** /authentication | Test Authentication
135137
*PDFApi* | [**update_data_request**](docs/PDFApi.md#update_data_request) | **PUT** /data_requests/{data_request_id} | Update a submission data request
136138
*PDFApi* | [**update_template**](docs/PDFApi.md#update_template) | **PUT** /templates/{template_id} | Update a Template
@@ -167,7 +169,9 @@ Class | Method | HTTP request | Description
167169
- [MoveFolderData](docs/MoveFolderData.md)
168170
- [MoveTemplateData](docs/MoveTemplateData.md)
169171
- [MultipleErrorsResponse](docs/MultipleErrorsResponse.md)
172+
- [PublishVersionData](docs/PublishVersionData.md)
170173
- [RenameFolderData](docs/RenameFolderData.md)
174+
- [RestoreVersionData](docs/RestoreVersionData.md)
171175
- [Submission](docs/Submission.md)
172176
- [SubmissionAction](docs/SubmissionAction.md)
173177
- [SubmissionBatch](docs/SubmissionBatch.md)
@@ -182,7 +186,9 @@ Class | Method | HTTP request | Description
182186
- [SuccessMultipleErrorsResponse](docs/SuccessMultipleErrorsResponse.md)
183187
- [Template](docs/Template.md)
184188
- [TemplateAddFieldsResponse](docs/TemplateAddFieldsResponse.md)
189+
- [TemplateDeleteResponse](docs/TemplateDeleteResponse.md)
185190
- [TemplatePreview](docs/TemplatePreview.md)
191+
- [TemplatePublishVersionResponse](docs/TemplatePublishVersionResponse.md)
186192
- [UpdateHtmlTemplate](docs/UpdateHtmlTemplate.md)
187193
- [UpdateSubmissionDataRequestData](docs/UpdateSubmissionDataRequestData.md)
188194
- [UploadPresignResponse](docs/UploadPresignResponse.md)

docs/CreateHtmlSubmissionData.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ Name | Type | Description | Notes
1414
**metadata** | **object** | | [optional]
1515
**password** | **str** | | [optional]
1616
**test** | **bool** | | [optional]
17+
**version** | **str** | | [optional]
1718

1819
## Example
1920

docs/CreatePdfSubmissionData.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Name | Type | Description | Notes
1313
**metadata** | **object** | | [optional]
1414
**password** | **str** | | [optional]
1515
**test** | **bool** | | [optional]
16+
**version** | **str** | | [optional]
1617

1718
## Example
1819

0 commit comments

Comments
 (0)