Skip to content

Commit 64ffe90

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 4 more API files Model changes: - Add spec model - Add template_field_spec model - Update __init__ model - Update account_info_response model - Update create_pdf_request model - ... and 14 more model files Generated from OpenAPI spec v1.2.0
1 parent 9f87e8f commit 64ffe90

51 files changed

Lines changed: 421 additions & 56 deletions

Some content is hidden

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

setup.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.1.3
8+
The version of the OpenAPI document: 1.2.0
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

templatefox/__init__.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
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.1.3
10+
The version of the OpenAPI document: 1.2.0
1111
1212
Generated by OpenAPI Generator (https://openapi-generator.tech)
1313
@@ -42,7 +42,9 @@
4242
"S3ConfigResponse",
4343
"S3SuccessResponse",
4444
"S3TestResponse",
45+
"Spec",
4546
"TemplateField",
47+
"TemplateFieldSpec",
4648
"TemplateListItem",
4749
"TemplatesListResponse",
4850
"Transaction",
@@ -78,7 +80,9 @@
7880
from templatefox.models.s3_config_response import S3ConfigResponse as S3ConfigResponse
7981
from templatefox.models.s3_success_response import S3SuccessResponse as S3SuccessResponse
8082
from templatefox.models.s3_test_response import S3TestResponse as S3TestResponse
83+
from templatefox.models.spec import Spec as Spec
8184
from templatefox.models.template_field import TemplateField as TemplateField
85+
from templatefox.models.template_field_spec import TemplateFieldSpec as TemplateFieldSpec
8286
from templatefox.models.template_list_item import TemplateListItem as TemplateListItem
8387
from templatefox.models.templates_list_response import TemplatesListResponse as TemplatesListResponse
8488
from templatefox.models.transaction import Transaction as Transaction

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.1.3
8+
The version of the OpenAPI document: 1.2.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.1.3
8+
The version of the OpenAPI document: 1.2.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.1.3
8+
The version of the OpenAPI document: 1.2.0
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

templatefox/api/templates_api.py

Lines changed: 4 additions & 4 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.1.3
8+
The version of the OpenAPI document: 1.2.0
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111
@@ -59,7 +59,7 @@ def get_template_fields(
5959
) -> List[TemplateField]:
6060
"""Get template fields
6161
62-
Get the dynamic fields for a template. **Authentication:** API Key required (`x-api-key` header) or JWT token **Usage:** This endpoint is designed for Zapier Dynamic Fields integration. It returns an array of field definitions that Zapier uses to dynamically generate input forms. **Response format:** Array of objects compatible with Zapier InputFieldsSchema. Each field has: `key`, `label`, `type`, `required`, and optional `helpText`. **Field types:** - `string`: Text input (also used for JSON arrays/objects) - `integer`: Integer number - `number`: Decimal number - `boolean`: True/False checkbox **Arrays and objects:** Complex types are returned as `string` type with a `helpText` showing the expected JSON format. **No credits consumed:** This is a read-only endpoint.
62+
Get the dynamic fields for a template. **Authentication:** API Key required (`x-api-key` header) or JWT token **Usage:** This endpoint is designed for no-code tool integrations (Zapier, Make.com). It returns an array of field definitions used to dynamically generate input forms. **Response format:** Array of field objects with: `key`, `label`, `type`, `required`, optional `helpText`, and optional `spec` (for array fields). **Field types:** - `string`: Text input - `integer`: Integer number - `number`: Decimal number - `boolean`: True/False checkbox - `array`: Array of items with nested `spec` defining item structure **Array fields:** When a field is an array of objects, the response includes a `spec` array defining the structure of each item (name, label, type for each nested field). **No credits consumed:** This is a read-only endpoint.
6363
6464
:param template_id: (required)
6565
:type template_id: str
@@ -129,7 +129,7 @@ def get_template_fields_with_http_info(
129129
) -> ApiResponse[List[TemplateField]]:
130130
"""Get template fields
131131
132-
Get the dynamic fields for a template. **Authentication:** API Key required (`x-api-key` header) or JWT token **Usage:** This endpoint is designed for Zapier Dynamic Fields integration. It returns an array of field definitions that Zapier uses to dynamically generate input forms. **Response format:** Array of objects compatible with Zapier InputFieldsSchema. Each field has: `key`, `label`, `type`, `required`, and optional `helpText`. **Field types:** - `string`: Text input (also used for JSON arrays/objects) - `integer`: Integer number - `number`: Decimal number - `boolean`: True/False checkbox **Arrays and objects:** Complex types are returned as `string` type with a `helpText` showing the expected JSON format. **No credits consumed:** This is a read-only endpoint.
132+
Get the dynamic fields for a template. **Authentication:** API Key required (`x-api-key` header) or JWT token **Usage:** This endpoint is designed for no-code tool integrations (Zapier, Make.com). It returns an array of field definitions used to dynamically generate input forms. **Response format:** Array of field objects with: `key`, `label`, `type`, `required`, optional `helpText`, and optional `spec` (for array fields). **Field types:** - `string`: Text input - `integer`: Integer number - `number`: Decimal number - `boolean`: True/False checkbox - `array`: Array of items with nested `spec` defining item structure **Array fields:** When a field is an array of objects, the response includes a `spec` array defining the structure of each item (name, label, type for each nested field). **No credits consumed:** This is a read-only endpoint.
133133
134134
:param template_id: (required)
135135
:type template_id: str
@@ -199,7 +199,7 @@ def get_template_fields_without_preload_content(
199199
) -> RESTResponseType:
200200
"""Get template fields
201201
202-
Get the dynamic fields for a template. **Authentication:** API Key required (`x-api-key` header) or JWT token **Usage:** This endpoint is designed for Zapier Dynamic Fields integration. It returns an array of field definitions that Zapier uses to dynamically generate input forms. **Response format:** Array of objects compatible with Zapier InputFieldsSchema. Each field has: `key`, `label`, `type`, `required`, and optional `helpText`. **Field types:** - `string`: Text input (also used for JSON arrays/objects) - `integer`: Integer number - `number`: Decimal number - `boolean`: True/False checkbox **Arrays and objects:** Complex types are returned as `string` type with a `helpText` showing the expected JSON format. **No credits consumed:** This is a read-only endpoint.
202+
Get the dynamic fields for a template. **Authentication:** API Key required (`x-api-key` header) or JWT token **Usage:** This endpoint is designed for no-code tool integrations (Zapier, Make.com). It returns an array of field definitions used to dynamically generate input forms. **Response format:** Array of field objects with: `key`, `label`, `type`, `required`, optional `helpText`, and optional `spec` (for array fields). **Field types:** - `string`: Text input - `integer`: Integer number - `number`: Decimal number - `boolean`: True/False checkbox - `array`: Array of items with nested `spec` defining item structure **Array fields:** When a field is an array of objects, the response includes a `spec` array defining the structure of each item (name, label, type for each nested field). **No credits consumed:** This is a read-only endpoint.
203203
204204
:param template_id: (required)
205205
:type template_id: str

templatefox/api_client.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.1.3
8+
The version of the OpenAPI document: 1.2.0
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

templatefox/configuration.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.1.3
8+
The version of the OpenAPI document: 1.2.0
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111
@@ -536,7 +536,7 @@ 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.1.3\n"\
539+
"Version of the API: 1.2.0\n"\
540540
"SDK Package Version: 1.0.0".\
541541
format(env=sys.platform, pyversion=sys.version)
542542

templatefox/exceptions.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.1.3
8+
The version of the OpenAPI document: 1.2.0
99
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

templatefox/models/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
77
Generate beautiful PDFs from HTML/CSS templates with Jinja2 via API. Design once, generate thousands.
88
9-
The version of the OpenAPI document: 1.1.3
9+
The version of the OpenAPI document: 1.2.0
1010
1111
Generated by OpenAPI Generator (https://openapi-generator.tech)
1212
@@ -24,7 +24,9 @@
2424
from templatefox.models.s3_config_response import S3ConfigResponse
2525
from templatefox.models.s3_success_response import S3SuccessResponse
2626
from templatefox.models.s3_test_response import S3TestResponse
27+
from templatefox.models.spec import Spec
2728
from templatefox.models.template_field import TemplateField
29+
from templatefox.models.template_field_spec import TemplateFieldSpec
2830
from templatefox.models.template_list_item import TemplateListItem
2931
from templatefox.models.templates_list_response import TemplatesListResponse
3032
from templatefox.models.transaction import Transaction

0 commit comments

Comments
 (0)