Skip to content

Commit f941314

Browse files
authored
v5.4.1 (#16)
- Fix a request method of the 'document move to folder' endpoint
1 parent 3c855d5 commit f941314

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ Class | Method | HTTP request | Description
9898
*DocumentsApi* | [**delete_document**](docs/DocumentsApi.md#delete_document) | **DELETE** /public/v1/documents/{id} | Delete document by id
9999
*DocumentsApi* | [**delete_linked_object**](docs/DocumentsApi.md#delete_linked_object) | **DELETE** /public/v1/documents/{id}/linked-objects/{linked_object_id} | Delete Linked Object
100100
*DocumentsApi* | [**details_document**](docs/DocumentsApi.md#details_document) | **GET** /public/v1/documents/{id}/details | Document details
101-
*DocumentsApi* | [**document_move_to_folder**](docs/DocumentsApi.md#document_move_to_folder) | **DELETE** /public/v1/documents/{id}/move-to-folder/{folder_id} | Document move to folder
101+
*DocumentsApi* | [**document_move_to_folder**](docs/DocumentsApi.md#document_move_to_folder) | **POST** /public/v1/documents/{id}/move-to-folder/{folder_id} | Document move to folder
102102
*DocumentsApi* | [**download_document**](docs/DocumentsApi.md#download_document) | **GET** /public/v1/documents/{id}/download | Document download
103103
*DocumentsApi* | [**download_protected_document**](docs/DocumentsApi.md#download_protected_document) | **GET** /public/v1/documents/{id}/download-protected | Download document protected
104104
*DocumentsApi* | [**list_documents**](docs/DocumentsApi.md#list_documents) | **GET** /public/v1/documents | List documents

docs/DocumentsApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Method | HTTP request | Description
1111
[**delete_document**](DocumentsApi.md#delete_document) | **DELETE** /public/v1/documents/{id} | Delete document by id
1212
[**delete_linked_object**](DocumentsApi.md#delete_linked_object) | **DELETE** /public/v1/documents/{id}/linked-objects/{linked_object_id} | Delete Linked Object
1313
[**details_document**](DocumentsApi.md#details_document) | **GET** /public/v1/documents/{id}/details | Document details
14-
[**document_move_to_folder**](DocumentsApi.md#document_move_to_folder) | **DELETE** /public/v1/documents/{id}/move-to-folder/{folder_id} | Document move to folder
14+
[**document_move_to_folder**](DocumentsApi.md#document_move_to_folder) | **POST** /public/v1/documents/{id}/move-to-folder/{folder_id} | Document move to folder
1515
[**download_document**](DocumentsApi.md#download_document) | **GET** /public/v1/documents/{id}/download | Document download
1616
[**download_protected_document**](DocumentsApi.md#download_protected_document) | **GET** /public/v1/documents/{id}/download-protected | Download document protected
1717
[**list_documents**](DocumentsApi.md#list_documents) | **GET** /public/v1/documents | List documents

pandadoc_client/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"""
1010

1111

12-
__version__ = "5.4.0"
12+
__version__ = "5.4.1"
1313

1414
# import ApiClient
1515
from pandadoc_client.api_client import ApiClient

pandadoc_client/api/documents_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ def __init__(self, api_client=None):
459459
],
460460
'endpoint_path': '/public/v1/documents/{id}/move-to-folder/{folder_id}',
461461
'operation_id': 'document_move_to_folder',
462-
'http_method': 'DELETE',
462+
'http_method': 'POST',
463463
'servers': None,
464464
},
465465
params_map={

pandadoc_client/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
7575
self.default_headers[header_name] = header_value
7676
self.cookie = cookie
7777
# Set default User-Agent.
78-
self.user_agent = 'pandadoc_python_client/5.4.0'
78+
self.user_agent = 'pandadoc_python_client/5.4.1'
7979

8080
def __enter__(self):
8181
return self

pandadoc_client/configuration.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -414,8 +414,8 @@ def to_debug_report(self):
414414
return "Python SDK Debug Report:\n"\
415415
"OS: {env}\n"\
416416
"Python Version: {pyversion}\n"\
417-
"Version of the API: 5.4.0\n"\
418-
"SDK Package Version: 5.4.0".\
417+
"Version of the API: 5.4.1\n"\
418+
"SDK Package Version: 5.4.1".\
419419
format(env=sys.platform, pyversion=sys.version)
420420

421421
def get_host_settings(self):

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
description = full_description[0:from_index] + full_description[to_index::]
1818

1919
NAME = "pandadoc-python-client"
20-
VERSION = "5.4.0"
20+
VERSION = "5.4.1"
2121
# To install the library, run the following
2222
#
2323
# python setup.py install

0 commit comments

Comments
 (0)