Skip to content

Commit ae95f48

Browse files
feat: update API client methods
API changes: - Update API client - Update API client - Update API client - Update API client - Update API client - ... and 6 more API files Model changes: - Update __init__ model - Update account_info_response model - Update app_routers_v1_pdf_async_export_type model - Update app_routers_v1_pdf_export_type model - Update create_async_pdf_request model - ... and 19 more model files Generated from OpenAPI spec v1.6.0
1 parent adea237 commit ae95f48

64 files changed

Lines changed: 79 additions & 79 deletions

File tree

Some content is hidden

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

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "templatefox"
3-
version = "1.0.0"
3+
version = "1.6.0"
44
description = "Official TemplateFox Python SDK - Generate PDFs from HTML templates"
55
license = {text = "MIT"}
66
authors = [

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Generate beautiful PDFs from HTML/CSS templates with Jinja2 via API. Design once, generate thousands.
77
8-
The version of the OpenAPI document: 1.5.0
8+
The version of the OpenAPI document: 1.6.0
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111
@@ -22,7 +22,7 @@
2222
# prerequisite: setuptools
2323
# http://pypi.python.org/pypi/setuptools
2424
NAME = "templatefox"
25-
VERSION = "1.0.0"
25+
VERSION = "1.6.0"
2626
PYTHON_REQUIRES = ">= 3.9"
2727
REQUIRES = [
2828
"urllib3 >= 2.1.0, < 3.0.0",

templatefox/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@
77
88
Generate beautiful PDFs from HTML/CSS templates with Jinja2 via API. Design once, generate thousands.
99
10-
The version of the OpenAPI document: 1.5.0
10+
The version of the OpenAPI document: 1.6.0
1111
1212
Generated by OpenAPI Generator (https://openapi-generator.tech)
1313
1414
Do not edit the class manually.
1515
""" # noqa: E501
1616

1717

18-
__version__ = "1.0.0"
18+
__version__ = "1.6.0"
1919

2020
# Define package exports
2121
__all__ = [

templatefox/api/account_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Generate beautiful PDFs from HTML/CSS templates with Jinja2 via API. Design once, generate thousands.
77
8-
The version of the OpenAPI document: 1.5.0
8+
The version of the OpenAPI document: 1.6.0
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

templatefox/api/integrations_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Generate beautiful PDFs from HTML/CSS templates with Jinja2 via API. Design once, generate thousands.
77
8-
The version of the OpenAPI document: 1.5.0
8+
The version of the OpenAPI document: 1.6.0
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

templatefox/api/pdf_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Generate beautiful PDFs from HTML/CSS templates with Jinja2 via API. Design once, generate thousands.
77
8-
The version of the OpenAPI document: 1.5.0
8+
The version of the OpenAPI document: 1.6.0
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

templatefox/api/pdf_async_api.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Generate beautiful PDFs from HTML/CSS templates with Jinja2 via API. Design once, generate thousands.
77
8-
The version of the OpenAPI document: 1.5.0
8+
The version of the OpenAPI document: 1.6.0
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111
@@ -332,7 +332,7 @@ def _create_pdf_async_serialize(
332332

333333

334334
@validate_call
335-
def get_pdf_job_status(
335+
def get_pdf_job(
336336
self,
337337
job_id: StrictStr,
338338
_request_timeout: Union[
@@ -376,7 +376,7 @@ def get_pdf_job_status(
376376
:return: Returns the result object.
377377
""" # noqa: E501
378378

379-
_param = self._get_pdf_job_status_serialize(
379+
_param = self._get_pdf_job_serialize(
380380
job_id=job_id,
381381
_request_auth=_request_auth,
382382
_content_type=_content_type,
@@ -401,7 +401,7 @@ def get_pdf_job_status(
401401

402402

403403
@validate_call
404-
def get_pdf_job_status_with_http_info(
404+
def get_pdf_job_with_http_info(
405405
self,
406406
job_id: StrictStr,
407407
_request_timeout: Union[
@@ -445,7 +445,7 @@ def get_pdf_job_status_with_http_info(
445445
:return: Returns the result object.
446446
""" # noqa: E501
447447

448-
_param = self._get_pdf_job_status_serialize(
448+
_param = self._get_pdf_job_serialize(
449449
job_id=job_id,
450450
_request_auth=_request_auth,
451451
_content_type=_content_type,
@@ -470,7 +470,7 @@ def get_pdf_job_status_with_http_info(
470470

471471

472472
@validate_call
473-
def get_pdf_job_status_without_preload_content(
473+
def get_pdf_job_without_preload_content(
474474
self,
475475
job_id: StrictStr,
476476
_request_timeout: Union[
@@ -514,7 +514,7 @@ def get_pdf_job_status_without_preload_content(
514514
:return: Returns the result object.
515515
""" # noqa: E501
516516

517-
_param = self._get_pdf_job_status_serialize(
517+
_param = self._get_pdf_job_serialize(
518518
job_id=job_id,
519519
_request_auth=_request_auth,
520520
_content_type=_content_type,
@@ -534,7 +534,7 @@ def get_pdf_job_status_without_preload_content(
534534
return response_data.response
535535

536536

537-
def _get_pdf_job_status_serialize(
537+
def _get_pdf_job_serialize(
538538
self,
539539
job_id,
540540
_request_auth,
@@ -582,7 +582,7 @@ def _get_pdf_job_status_serialize(
582582

583583
return self.api_client.param_serialize(
584584
method='GET',
585-
resource_path='/v1/pdf/status/{job_id}',
585+
resource_path='/v1/pdf/jobs/{job_id}',
586586
path_params=_path_params,
587587
query_params=_query_params,
588588
header_params=_header_params,

templatefox/api/templates_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Generate beautiful PDFs from HTML/CSS templates with Jinja2 via API. Design once, generate thousands.
77
8-
The version of the OpenAPI document: 1.5.0
8+
The version of the OpenAPI document: 1.6.0
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

templatefox/api_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Generate beautiful PDFs from HTML/CSS templates with Jinja2 via API. Design once, generate thousands.
77
8-
The version of the OpenAPI document: 1.5.0
8+
The version of the OpenAPI document: 1.6.0
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111
@@ -92,7 +92,7 @@ def __init__(
9292
self.default_headers[header_name] = header_value
9393
self.cookie = cookie
9494
# Set default User-Agent.
95-
self.user_agent = 'OpenAPI-Generator/1.0.0/python'
95+
self.user_agent = 'OpenAPI-Generator/1.6.0/python'
9696
self.client_side_validation = configuration.client_side_validation
9797

9898
def __enter__(self):

templatefox/configuration.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Generate beautiful PDFs from HTML/CSS templates with Jinja2 via API. Design once, generate thousands.
77
8-
The version of the OpenAPI document: 1.5.0
8+
The version of the OpenAPI document: 1.6.0
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111
@@ -536,8 +536,8 @@ def to_debug_report(self) -> str:
536536
return "Python SDK Debug Report:\n"\
537537
"OS: {env}\n"\
538538
"Python Version: {pyversion}\n"\
539-
"Version of the API: 1.5.0\n"\
540-
"SDK Package Version: 1.0.0".\
539+
"Version of the API: 1.6.0\n"\
540+
"SDK Package Version: 1.6.0".\
541541
format(env=sys.platform, pyversion=sys.version)
542542

543543
def get_host_settings(self) -> List[HostSetting]:

0 commit comments

Comments
 (0)