Skip to content

Commit f1ffa41

Browse files
authored
Merge pull request #8 from PandaDoc/v4.2.0
v4.2.0
2 parents 1505220 + 122eee2 commit f1ffa41

11 files changed

+305
-5
lines changed

docs/DocumentAttachmentsApi.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,7 @@ Name | Type | Description | Notes
285285
**200** | OK | - |
286286
**401** | Authentication error | - |
287287
**404** | Not found | - |
288+
**409** | Conflict | - |
288289
**429** | Too Many Requests | - |
289290

290291
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -371,6 +372,7 @@ Name | Type | Description | Notes
371372
**200** | OK | - |
372373
**401** | Authentication error | - |
373374
**404** | Not found | - |
375+
**409** | Conflict | - |
374376
**429** | Too Many Requests | - |
375377

376378
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -456,6 +458,7 @@ Name | Type | Description | Notes
456458
**200** | OK | - |
457459
**401** | Authentication error | - |
458460
**404** | Not found | - |
461+
**409** | Conflict | - |
459462
**429** | Too Many Requests | - |
460463

461464
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

docs/DocumentCreateResponse.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ Name | Type | Description | Notes
1111
**date_modified** | **str** | | [optional]
1212
**expiration_date** | **str, none_type** | | [optional]
1313
**uuid** | **str** | | [optional]
14+
**links** | [**[DocumentCreateResponseLinks]**](DocumentCreateResponseLinks.md) | | [optional]
15+
**info_message** | **str** | | [optional]
1416
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
1517

1618
[[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

docs/DocumentCreateResponseLinks.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# DocumentCreateResponseLinks
2+
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**rel** | **str** | | [optional]
8+
**href** | **str** | | [optional]
9+
**type** | **str** | | [optional]
10+
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
11+
12+
[[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
13+
14+

docs/DocumentsApi.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ void (empty response body)
106106
**401** | Authentication error | - |
107107
**403** | Permission error | - |
108108
**404** | Not found | - |
109+
**409** | Conflict | - |
109110
**429** | Too Many Requests | - |
110111

111112
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -722,6 +723,7 @@ void (empty response body)
722723
**401** | Authentication error | - |
723724
**403** | Permission error | - |
724725
**404** | Not found | - |
726+
**409** | Conflict | - |
725727
**429** | Too Many Requests | - |
726728

727729
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -806,6 +808,7 @@ Name | Type | Description | Notes
806808
**401** | Authentication error | - |
807809
**403** | Permission error | - |
808810
**404** | Not found | - |
811+
**409** | Conflict | - |
809812
**429** | Too Many Requests | - |
810813

811814
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -913,6 +916,7 @@ Name | Type | Description | Notes
913916
**401** | Authentication error | - |
914917
**403** | Permission error | - |
915918
**404** | Not found | - |
919+
**409** | Conflict | - |
916920
**429** | Too Many Requests | - |
917921

918922
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -998,6 +1002,7 @@ Name | Type | Description | Notes
9981002
**401** | Authentication error | - |
9991003
**403** | Permission error | - |
10001004
**404** | Not found | - |
1005+
**409** | Conflict | - |
10011006
**429** | Too Many Requests | - |
10021007

10031008
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1231,6 +1236,7 @@ Name | Type | Description | Notes
12311236
**401** | Authentication error | - |
12321237
**403** | Permission error | - |
12331238
**404** | Not found | - |
1239+
**409** | Conflict | - |
12341240
**429** | Too Many Requests | - |
12351241

12361242
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1322,6 +1328,7 @@ Name | Type | Description | Notes
13221328
**401** | Authentication error | - |
13231329
**403** | Permission error | - |
13241330
**404** | Not found | - |
1331+
**409** | Conflict | - |
13251332
**429** | Too Many Requests | - |
13261333

13271334
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1579,6 +1586,7 @@ void (empty response body)
15791586
**401** | Authentication error | - |
15801587
**403** | Permission error | - |
15811588
**404** | Not found | - |
1589+
**409** | Conflict | - |
15821590
**429** | Too Many Requests | - |
15831591

15841592
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

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__ = "4.1.0"
12+
__version__ = "4.2.0"
1313

1414
# import ApiClient
1515
from pandadoc_client.api_client import ApiClient

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/4.1.0'
78+
self.user_agent = 'pandadoc_python_client/4.2.0'
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: 4.1.0\n"\
418-
"SDK Package Version: 4.1.0".\
417+
"Version of the API: 4.2.0\n"\
418+
"SDK Package Version: 4.2.0".\
419419
format(env=sys.platform, pyversion=sys.version)
420420

421421
def get_host_settings(self):

pandadoc_client/model/document_create_response.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@
2929

3030

3131
def lazy_import():
32+
from pandadoc_client.model.document_create_response_links import DocumentCreateResponseLinks
3233
from pandadoc_client.model.document_status_enum import DocumentStatusEnum
34+
globals()['DocumentCreateResponseLinks'] = DocumentCreateResponseLinks
3335
globals()['DocumentStatusEnum'] = DocumentStatusEnum
3436

3537

@@ -93,6 +95,8 @@ def openapi_types():
9395
'date_modified': (str,), # noqa: E501
9496
'expiration_date': (str, none_type,), # noqa: E501
9597
'uuid': (str,), # noqa: E501
98+
'links': ([DocumentCreateResponseLinks],), # noqa: E501
99+
'info_message': (str,), # noqa: E501
96100
}
97101

98102
@cached_property
@@ -108,6 +112,8 @@ def discriminator():
108112
'date_modified': 'date_modified', # noqa: E501
109113
'expiration_date': 'expiration_date', # noqa: E501
110114
'uuid': 'uuid', # noqa: E501
115+
'links': 'links', # noqa: E501
116+
'info_message': 'info_message', # noqa: E501
111117
}
112118

113119
read_only_vars = {
@@ -158,6 +164,8 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501
158164
date_modified (str): [optional] # noqa: E501
159165
expiration_date (str, none_type): [optional] # noqa: E501
160166
uuid (str): [optional] # noqa: E501
167+
links ([DocumentCreateResponseLinks]): [optional] # noqa: E501
168+
info_message (str): [optional] # noqa: E501
161169
"""
162170

163171
_check_type = kwargs.pop('_check_type', True)
@@ -246,6 +254,8 @@ def __init__(self, *args, **kwargs): # noqa: E501
246254
date_modified (str): [optional] # noqa: E501
247255
expiration_date (str, none_type): [optional] # noqa: E501
248256
uuid (str): [optional] # noqa: E501
257+
links ([DocumentCreateResponseLinks]): [optional] # noqa: E501
258+
info_message (str): [optional] # noqa: E501
249259
"""
250260

251261
_check_type = kwargs.pop('_check_type', True)

0 commit comments

Comments
 (0)