Skip to content

Commit 77cd330

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 8 more API files Model changes: - Update API client - 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 42 more model files Generated from OpenAPI spec v1.6.0
1 parent 5677301 commit 77cd330

64 files changed

Lines changed: 75 additions & 75 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.

lib/templatefox.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
#Generate beautiful PDFs from HTML/CSS templates with Jinja2 via API. Design once, generate thousands.
55
6-
The version of the OpenAPI document: 1.5.0
6+
The version of the OpenAPI document: 1.6.0
77
88
Generated by: https://openapi-generator.tech
99
Generator version: 7.19.0

lib/templatefox/api/account_api.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
#Generate beautiful PDFs from HTML/CSS templates with Jinja2 via API. Design once, generate thousands.
55
6-
The version of the OpenAPI document: 1.5.0
6+
The version of the OpenAPI document: 1.6.0
77
88
Generated by: https://openapi-generator.tech
99
Generator version: 7.19.0

lib/templatefox/api/integrations_api.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
#Generate beautiful PDFs from HTML/CSS templates with Jinja2 via API. Design once, generate thousands.
55
6-
The version of the OpenAPI document: 1.5.0
6+
The version of the OpenAPI document: 1.6.0
77
88
Generated by: https://openapi-generator.tech
99
Generator version: 7.19.0

lib/templatefox/api/pdf_api.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
#Generate beautiful PDFs from HTML/CSS templates with Jinja2 via API. Design once, generate thousands.
55
6-
The version of the OpenAPI document: 1.5.0
6+
The version of the OpenAPI document: 1.6.0
77
88
Generated by: https://openapi-generator.tech
99
Generator version: 7.19.0

lib/templatefox/api/pdf_async_api.rb

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
#Generate beautiful PDFs from HTML/CSS templates with Jinja2 via API. Design once, generate thousands.
55
6-
The version of the OpenAPI document: 1.5.0
6+
The version of the OpenAPI document: 1.6.0
77
88
Generated by: https://openapi-generator.tech
99
Generator version: 7.19.0
@@ -92,8 +92,8 @@ def create_pdf_async_with_http_info(create_async_pdf_request, opts = {})
9292
# @param job_id [String]
9393
# @param [Hash] opts the optional parameters
9494
# @return [JobStatusResponse]
95-
def get_pdf_job_status(job_id, opts = {})
96-
data, _status_code, _headers = get_pdf_job_status_with_http_info(job_id, opts)
95+
def get_pdf_job(job_id, opts = {})
96+
data, _status_code, _headers = get_pdf_job_with_http_info(job_id, opts)
9797
data
9898
end
9999

@@ -102,16 +102,16 @@ def get_pdf_job_status(job_id, opts = {})
102102
# @param job_id [String]
103103
# @param [Hash] opts the optional parameters
104104
# @return [Array<(JobStatusResponse, Integer, Hash)>] JobStatusResponse data, response status code and response headers
105-
def get_pdf_job_status_with_http_info(job_id, opts = {})
105+
def get_pdf_job_with_http_info(job_id, opts = {})
106106
if @api_client.config.debugging
107-
@api_client.config.logger.debug 'Calling API: PDFAsyncApi.get_pdf_job_status ...'
107+
@api_client.config.logger.debug 'Calling API: PDFAsyncApi.get_pdf_job ...'
108108
end
109109
# verify the required parameter 'job_id' is set
110110
if @api_client.config.client_side_validation && job_id.nil?
111-
fail ArgumentError, "Missing the required parameter 'job_id' when calling PDFAsyncApi.get_pdf_job_status"
111+
fail ArgumentError, "Missing the required parameter 'job_id' when calling PDFAsyncApi.get_pdf_job"
112112
end
113113
# resource path
114-
local_var_path = '/v1/pdf/status/{job_id}'.sub('{' + 'job_id' + '}', CGI.escape(job_id.to_s))
114+
local_var_path = '/v1/pdf/jobs/{job_id}'.sub('{' + 'job_id' + '}', CGI.escape(job_id.to_s))
115115

116116
# query parameters
117117
query_params = opts[:query_params] || {}
@@ -134,7 +134,7 @@ def get_pdf_job_status_with_http_info(job_id, opts = {})
134134
auth_names = opts[:debug_auth_names] || ['ApiKeyAuth']
135135

136136
new_options = opts.merge(
137-
:operation => :"PDFAsyncApi.get_pdf_job_status",
137+
:operation => :"PDFAsyncApi.get_pdf_job",
138138
:header_params => header_params,
139139
:query_params => query_params,
140140
:form_params => form_params,
@@ -145,7 +145,7 @@ def get_pdf_job_status_with_http_info(job_id, opts = {})
145145

146146
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
147147
if @api_client.config.debugging
148-
@api_client.config.logger.debug "API called: PDFAsyncApi#get_pdf_job_status\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
148+
@api_client.config.logger.debug "API called: PDFAsyncApi#get_pdf_job\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
149149
end
150150
return data, status_code, headers
151151
end

lib/templatefox/api/templates_api.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
#Generate beautiful PDFs from HTML/CSS templates with Jinja2 via API. Design once, generate thousands.
55
6-
The version of the OpenAPI document: 1.5.0
6+
The version of the OpenAPI document: 1.6.0
77
88
Generated by: https://openapi-generator.tech
99
Generator version: 7.19.0

lib/templatefox/api_client.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
#Generate beautiful PDFs from HTML/CSS templates with Jinja2 via API. Design once, generate thousands.
55
6-
The version of the OpenAPI document: 1.5.0
6+
The version of the OpenAPI document: 1.6.0
77
88
Generated by: https://openapi-generator.tech
99
Generator version: 7.19.0

lib/templatefox/api_error.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
#Generate beautiful PDFs from HTML/CSS templates with Jinja2 via API. Design once, generate thousands.
55
6-
The version of the OpenAPI document: 1.5.0
6+
The version of the OpenAPI document: 1.6.0
77
88
Generated by: https://openapi-generator.tech
99
Generator version: 7.19.0

lib/templatefox/api_model_base.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
#Generate beautiful PDFs from HTML/CSS templates with Jinja2 via API. Design once, generate thousands.
55
6-
The version of the OpenAPI document: 1.5.0
6+
The version of the OpenAPI document: 1.6.0
77
88
Generated by: https://openapi-generator.tech
99
Generator version: 7.19.0

lib/templatefox/configuration.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
#Generate beautiful PDFs from HTML/CSS templates with Jinja2 via API. Design once, generate thousands.
55
6-
The version of the OpenAPI document: 1.5.0
6+
The version of the OpenAPI document: 1.6.0
77
88
Generated by: https://openapi-generator.tech
99
Generator version: 7.19.0

0 commit comments

Comments
 (0)