@@ -53,8 +53,8 @@ defmodule Docspring.Api.PDF do
53
53
{:ok, [%CreateSubmissionResponse{}, ...]} on success
54
54
{:error, info} on failure
55
55
"""
56
- @ spec batch_generate_pdfv1 ( Tesla.Env . client , String . t , list ( Docspring.Model.Object . t ) , keyword ( ) ) :: { :ok , list ( Docspring.Model.CreateSubmissionResponse . t ) } | { :error , Tesla.Env . t }
57
- def batch_generate_pdfv1 ( connection , template_id , object , _opts \\ [ ] ) do
56
+ @ spec batch_generate_pdf_v1 ( Tesla.Env . client , String . t , list ( Docspring.Model.Object . t ) , keyword ( ) ) :: { :ok , list ( Docspring.Model.CreateSubmissionResponse . t ) } | { :error , Tesla.Env . t }
57
+ def batch_generate_pdf_v1 ( connection , template_id , object , _opts \\ [ ] ) do
58
58
% { }
59
59
|> method ( :post )
60
60
|> url ( "/templates/#{ template_id } /submissions/batch" )
@@ -77,8 +77,8 @@ defmodule Docspring.Api.PDF do
77
77
{:ok, %Docspring.Model.CreateSubmissionBatchResponse{}} on success
78
78
{:error, info} on failure
79
79
"""
80
- @ spec batch_generate_pd_fs ( Tesla.Env . client , keyword ( ) ) :: { :ok , Docspring.Model.CreateSubmissionBatchResponse . t } | { :error , Tesla.Env . t }
81
- def batch_generate_pd_fs ( connection , opts \\ [ ] ) do
80
+ @ spec batch_generate_pdfs ( Tesla.Env . client , keyword ( ) ) :: { :ok , Docspring.Model.CreateSubmissionBatchResponse . t } | { :error , Tesla.Env . t }
81
+ def batch_generate_pdfs ( connection , opts \\ [ ] ) do
82
82
optional_params = % {
83
83
:"SubmissionBatchData" => :body
84
84
}
@@ -104,8 +104,8 @@ defmodule Docspring.Api.PDF do
104
104
{:ok, %Docspring.Model.CreateCombinedSubmissionResponse{}} on success
105
105
{:error, info} on failure
106
106
"""
107
- @ spec combine_pd_fs ( Tesla.Env . client , keyword ( ) ) :: { :ok , Docspring.Model.CreateCombinedSubmissionResponse . t } | { :error , Tesla.Env . t }
108
- def combine_pd_fs ( connection , opts \\ [ ] ) do
107
+ @ spec combine_pdfs ( Tesla.Env . client , keyword ( ) ) :: { :ok , Docspring.Model.CreateCombinedSubmissionResponse . t } | { :error , Tesla.Env . t }
108
+ def combine_pdfs ( connection , opts \\ [ ] ) do
109
109
optional_params = % {
110
110
:"CombinePdfsData" => :body
111
111
}
0 commit comments