form_api 0.2.0 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.gitignore +1 -1
- data/{.swagger-codegen-ignore → .openapi-generator-ignore} +3 -3
- data/.openapi-generator/VERSION +1 -0
- data/.rubocop.yml +154 -0
- data/Gemfile.lock +15 -16
- data/README.md +30 -28
- data/Rakefile +2 -0
- data/docs/{InlineResponse422.md → AuthenticationError.md} +3 -3
- data/docs/{InlineResponse401.md → AuthenticationSuccessResponse.md} +2 -2
- data/docs/CombinedSubmission.md +14 -0
- data/docs/CombinedSubmissionData.md +11 -0
- data/docs/CreateCombinedSubmissionResponse.md +10 -0
- data/docs/CreateSubmissionBatchResponse.md +12 -0
- data/docs/CreateSubmissionData.md +12 -0
- data/docs/CreateSubmissionDataBatchRequest.md +13 -0
- data/docs/CreateSubmissionResponse.md +10 -0
- data/docs/CreateSubmissionResponse1.md +10 -0
- data/docs/{InlineResponse200.md → Error.md} +3 -2
- data/docs/{InlineResponse400.md → InvalidRequest.md} +3 -3
- data/docs/PDFApi.md +148 -64
- data/docs/Submission.md +16 -0
- data/docs/SubmissionBatch.md +16 -0
- data/docs/SubmissionBatchData.md +11 -0
- data/docs/Template.md +21 -0
- data/form_api.gemspec +6 -11
- data/git_push.sh +3 -3
- data/lib/form_api.rb +22 -15
- data/lib/form_api/api/client.rb +91 -38
- data/lib/form_api/api/pdf_api.rb +222 -109
- data/lib/form_api/api_client.rb +13 -13
- data/lib/form_api/api_error.rb +3 -3
- data/lib/form_api/configuration.rb +26 -5
- data/lib/form_api/models/{inline_response_201_1.rb → authentication_error.rb} +25 -29
- data/lib/form_api/models/{inline_response_200.rb → authentication_success_response.rb} +15 -24
- data/lib/form_api/models/{inline_response_201_combined_submission.rb → combined_submission.rb} +42 -66
- data/lib/form_api/models/{create_combined_submission_body.rb → combined_submission_data.rb} +13 -18
- data/lib/form_api/models/{inline_response_201.rb → create_combined_submission_response.rb} +37 -35
- data/lib/form_api/models/create_submission_batch_response.rb +257 -0
- data/lib/form_api/models/{create_submission_batch_body.rb → create_submission_data.rb} +32 -19
- data/lib/form_api/models/{create_submission_body.rb → create_submission_data_batch_request.rb} +45 -18
- data/lib/form_api/models/create_submission_response.rb +237 -0
- data/lib/form_api/models/create_submission_response1.rb +237 -0
- data/lib/form_api/models/{inline_response_400.rb → error.rb} +17 -21
- data/lib/form_api/models/{inline_response_422.rb → invalid_request.rb} +17 -21
- data/lib/form_api/models/{templatestemplate_idsubmissionsbatch_submission.rb → submission.rb} +40 -26
- data/lib/form_api/models/submission_batch.rb +291 -0
- data/lib/form_api/models/{inline_response_401.rb → submission_batch_data.rb} +48 -24
- data/lib/form_api/models/{inline_response_200_1.rb → template.rb} +88 -152
- data/lib/form_api/version.rb +4 -4
- data/spec/api/client_spec.rb +197 -23
- data/spec/api/pdf_api_spec.rb +168 -63
- data/spec/api_client_spec.rb +37 -37
- data/spec/configuration_spec.rb +11 -11
- data/spec/models/authentication_error_spec.rb +51 -0
- data/spec/models/authentication_success_response_spec.rb +45 -0
- data/spec/models/combined_submission_data_spec.rb +59 -0
- data/spec/models/combined_submission_spec.rb +81 -0
- data/spec/models/create_combined_submission_response_spec.rb +57 -0
- data/spec/models/create_submission_batch_response_spec.rb +69 -0
- data/spec/models/create_submission_data_batch_request_spec.rb +71 -0
- data/spec/models/create_submission_data_spec.rb +65 -0
- data/spec/models/create_submission_response1_spec.rb +57 -0
- data/spec/models/create_submission_response_spec.rb +57 -0
- data/spec/models/error_spec.rb +51 -0
- data/spec/models/invalid_request_spec.rb +51 -0
- data/spec/models/submission_batch_data_spec.rb +59 -0
- data/spec/models/submission_batch_spec.rb +93 -0
- data/spec/models/submission_spec.rb +93 -0
- data/spec/models/template_spec.rb +123 -0
- data/spec/spec_helper.rb +3 -14
- metadata +70 -95
- data/.swagger-codegen/VERSION +0 -1
- data/docs/CreateCombinedSubmissionBody.md +0 -11
- data/docs/CreateSubmissionBatchBody.md +0 -10
- data/docs/CreateSubmissionBody.md +0 -10
- data/docs/InlineResponse2001.md +0 -21
- data/docs/InlineResponse201.md +0 -9
- data/docs/InlineResponse2011.md +0 -9
- data/docs/InlineResponse201CombinedSubmission.md +0 -14
- data/docs/TemplatestemplateIdsubmissionsbatchSubmission.md +0 -14
- data/spec/models/create_combined_submission_body_spec.rb +0 -60
- data/spec/models/create_submission_batch_body_spec.rb +0 -54
- data/spec/models/create_submission_body_spec.rb +0 -54
- data/spec/models/inline_response_200_1_spec.rb +0 -124
- data/spec/models/inline_response_200_spec.rb +0 -46
- data/spec/models/inline_response_201_1_spec.rb +0 -52
- data/spec/models/inline_response_201_combined_submission_spec.rb +0 -82
- data/spec/models/inline_response_201_spec.rb +0 -52
- data/spec/models/inline_response_400_spec.rb +0 -52
- data/spec/models/inline_response_401_spec.rb +0 -42
- data/spec/models/inline_response_422_spec.rb +0 -52
- data/spec/models/templatestemplate_idsubmissionsbatch_submission_spec.rb +0 -82
- data/spec/vcr_cassettes/FormAPI_Client/should_generate_a_PDF_and_wait_for_the_submission_to_be_processed.yml +0 -127
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 252b2f73a7400095897e1d4b38fea5c3d3e5f41f
|
|
4
|
+
data.tar.gz: 88a374bd364facffeef0294e7ab6c3fe7db11d1c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bbd3204cacb14c5844e37f5838efe9eda1251680e0efd6d1ab5d850debdbd7114614222f0b2b9ddd75a1523cb3ec6d0404a9b51d695e82b3eca4470e839e821e
|
|
7
|
+
data.tar.gz: 3e17afcc2bc6ddbd06b9d3191c5f11aad1e76946108d3d65d84c3cff4fc49a8afc37359bcf8fb32c0425997d12921f9a62ec03cb4515fb4f228c802e988f1a99
|
data/.gitignore
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
#
|
|
2
|
-
# Generated by
|
|
1
|
+
# OpenAPI Generator Ignore
|
|
2
|
+
# Generated by openapi-generator https://github.com/openapitools/openapi-generator
|
|
3
3
|
|
|
4
4
|
# Use this file to prevent files from being overwritten by the generator.
|
|
5
5
|
# The patterns follow closely to .gitignore or .dockerignore.
|
|
6
6
|
|
|
7
7
|
# As an example, the C# client generator defines ApiClient.cs.
|
|
8
|
-
# You can make changes and tell
|
|
8
|
+
# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line:
|
|
9
9
|
#ApiClient.cs
|
|
10
10
|
|
|
11
11
|
# You can match any string of characters against a directory, file or extension with a single asterisk (*):
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
3.3.0-SNAPSHOT
|
data/.rubocop.yml
ADDED
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
# This file is based on https://github.com/rails/rails/blob/master/.rubocop.yml (MIT license)
|
|
2
|
+
# Automatically generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
3
|
+
AllCops:
|
|
4
|
+
TargetRubyVersion: 2.2
|
|
5
|
+
# RuboCop has a bunch of cops enabled by default. This setting tells RuboCop
|
|
6
|
+
# to ignore them, so only the ones explicitly set in this file are enabled.
|
|
7
|
+
DisabledByDefault: true
|
|
8
|
+
Exclude:
|
|
9
|
+
- '**/templates/**/*'
|
|
10
|
+
- '**/vendor/**/*'
|
|
11
|
+
- 'actionpack/lib/action_dispatch/journey/parser.rb'
|
|
12
|
+
|
|
13
|
+
# Prefer &&/|| over and/or.
|
|
14
|
+
Style/AndOr:
|
|
15
|
+
Enabled: true
|
|
16
|
+
|
|
17
|
+
# Do not use braces for hash literals when they are the last argument of a
|
|
18
|
+
# method call.
|
|
19
|
+
Style/BracesAroundHashParameters:
|
|
20
|
+
Enabled: true
|
|
21
|
+
EnforcedStyle: context_dependent
|
|
22
|
+
|
|
23
|
+
# Align `when` with `case`.
|
|
24
|
+
Layout/CaseIndentation:
|
|
25
|
+
Enabled: true
|
|
26
|
+
|
|
27
|
+
# Align comments with method definitions.
|
|
28
|
+
Layout/CommentIndentation:
|
|
29
|
+
Enabled: true
|
|
30
|
+
|
|
31
|
+
Layout/ElseAlignment:
|
|
32
|
+
Enabled: true
|
|
33
|
+
|
|
34
|
+
Layout/EmptyLineAfterMagicComment:
|
|
35
|
+
Enabled: true
|
|
36
|
+
|
|
37
|
+
# In a regular class definition, no empty lines around the body.
|
|
38
|
+
Layout/EmptyLinesAroundClassBody:
|
|
39
|
+
Enabled: true
|
|
40
|
+
|
|
41
|
+
# In a regular method definition, no empty lines around the body.
|
|
42
|
+
Layout/EmptyLinesAroundMethodBody:
|
|
43
|
+
Enabled: true
|
|
44
|
+
|
|
45
|
+
# In a regular module definition, no empty lines around the body.
|
|
46
|
+
Layout/EmptyLinesAroundModuleBody:
|
|
47
|
+
Enabled: true
|
|
48
|
+
|
|
49
|
+
Layout/FirstParameterIndentation:
|
|
50
|
+
Enabled: true
|
|
51
|
+
|
|
52
|
+
# Use Ruby >= 1.9 syntax for hashes. Prefer { a: :b } over { :a => :b }.
|
|
53
|
+
Style/HashSyntax:
|
|
54
|
+
Enabled: false
|
|
55
|
+
|
|
56
|
+
# Method definitions after `private` or `protected` isolated calls need one
|
|
57
|
+
# extra level of indentation.
|
|
58
|
+
Layout/IndentationConsistency:
|
|
59
|
+
Enabled: true
|
|
60
|
+
EnforcedStyle: rails
|
|
61
|
+
|
|
62
|
+
# Two spaces, no tabs (for indentation).
|
|
63
|
+
Layout/IndentationWidth:
|
|
64
|
+
Enabled: true
|
|
65
|
+
|
|
66
|
+
Layout/LeadingCommentSpace:
|
|
67
|
+
Enabled: true
|
|
68
|
+
|
|
69
|
+
Layout/SpaceAfterColon:
|
|
70
|
+
Enabled: true
|
|
71
|
+
|
|
72
|
+
Layout/SpaceAfterComma:
|
|
73
|
+
Enabled: true
|
|
74
|
+
|
|
75
|
+
Layout/SpaceAroundEqualsInParameterDefault:
|
|
76
|
+
Enabled: true
|
|
77
|
+
|
|
78
|
+
Layout/SpaceAroundKeyword:
|
|
79
|
+
Enabled: true
|
|
80
|
+
|
|
81
|
+
Layout/SpaceAroundOperators:
|
|
82
|
+
Enabled: true
|
|
83
|
+
|
|
84
|
+
Layout/SpaceBeforeComma:
|
|
85
|
+
Enabled: true
|
|
86
|
+
|
|
87
|
+
Layout/SpaceBeforeFirstArg:
|
|
88
|
+
Enabled: true
|
|
89
|
+
|
|
90
|
+
Style/DefWithParentheses:
|
|
91
|
+
Enabled: true
|
|
92
|
+
|
|
93
|
+
# Defining a method with parameters needs parentheses.
|
|
94
|
+
Style/MethodDefParentheses:
|
|
95
|
+
Enabled: true
|
|
96
|
+
|
|
97
|
+
Style/FrozenStringLiteralComment:
|
|
98
|
+
Enabled: false
|
|
99
|
+
EnforcedStyle: always
|
|
100
|
+
|
|
101
|
+
# Use `foo {}` not `foo{}`.
|
|
102
|
+
Layout/SpaceBeforeBlockBraces:
|
|
103
|
+
Enabled: true
|
|
104
|
+
|
|
105
|
+
# Use `foo { bar }` not `foo {bar}`.
|
|
106
|
+
Layout/SpaceInsideBlockBraces:
|
|
107
|
+
Enabled: true
|
|
108
|
+
|
|
109
|
+
# Use `{ a: 1 }` not `{a:1}`.
|
|
110
|
+
Layout/SpaceInsideHashLiteralBraces:
|
|
111
|
+
Enabled: true
|
|
112
|
+
|
|
113
|
+
Layout/SpaceInsideParens:
|
|
114
|
+
Enabled: true
|
|
115
|
+
|
|
116
|
+
# Check quotes usage according to lint rule below.
|
|
117
|
+
#Style/StringLiterals:
|
|
118
|
+
# Enabled: true
|
|
119
|
+
# EnforcedStyle: single_quotes
|
|
120
|
+
|
|
121
|
+
# Detect hard tabs, no hard tabs.
|
|
122
|
+
Layout/Tab:
|
|
123
|
+
Enabled: true
|
|
124
|
+
|
|
125
|
+
# Blank lines should not have any spaces.
|
|
126
|
+
Layout/TrailingBlankLines:
|
|
127
|
+
Enabled: true
|
|
128
|
+
|
|
129
|
+
# No trailing whitespace.
|
|
130
|
+
Layout/TrailingWhitespace:
|
|
131
|
+
Enabled: false
|
|
132
|
+
|
|
133
|
+
# Use quotes for string literals when they are enough.
|
|
134
|
+
Style/UnneededPercentQ:
|
|
135
|
+
Enabled: true
|
|
136
|
+
|
|
137
|
+
# Align `end` with the matching keyword or starting expression except for
|
|
138
|
+
# assignments, where it should be aligned with the LHS.
|
|
139
|
+
Layout/EndAlignment:
|
|
140
|
+
Enabled: true
|
|
141
|
+
EnforcedStyleAlignWith: variable
|
|
142
|
+
AutoCorrect: true
|
|
143
|
+
|
|
144
|
+
# Use my_method(my_arg) not my_method( my_arg ) or my_method my_arg.
|
|
145
|
+
Lint/RequireParentheses:
|
|
146
|
+
Enabled: true
|
|
147
|
+
|
|
148
|
+
Style/RedundantReturn:
|
|
149
|
+
Enabled: true
|
|
150
|
+
AllowMultipleReturnValues: true
|
|
151
|
+
|
|
152
|
+
Style/Semicolon:
|
|
153
|
+
Enabled: true
|
|
154
|
+
AllowAsExpressionSeparator: true
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
form_api (0.
|
|
4
|
+
form_api (1.0.0)
|
|
5
5
|
json (~> 2.1, >= 2.1.0)
|
|
6
6
|
typhoeus (~> 1.0, >= 1.0.1)
|
|
7
7
|
|
|
@@ -24,7 +24,7 @@ GEM
|
|
|
24
24
|
diff-lcs (1.3)
|
|
25
25
|
ethon (0.11.0)
|
|
26
26
|
ffi (>= 1.3.0)
|
|
27
|
-
ffi (1.9.
|
|
27
|
+
ffi (1.9.25)
|
|
28
28
|
hashdiff (0.3.7)
|
|
29
29
|
json (2.1.0)
|
|
30
30
|
method_source (0.9.0)
|
|
@@ -34,21 +34,21 @@ GEM
|
|
|
34
34
|
pry-byebug (3.6.0)
|
|
35
35
|
byebug (~> 10.0)
|
|
36
36
|
pry (~> 0.10)
|
|
37
|
-
public_suffix (3.0.
|
|
37
|
+
public_suffix (3.0.3)
|
|
38
38
|
rake (12.0.0)
|
|
39
|
-
rspec (3.
|
|
40
|
-
rspec-core (~> 3.
|
|
41
|
-
rspec-expectations (~> 3.
|
|
42
|
-
rspec-mocks (~> 3.
|
|
43
|
-
rspec-core (3.
|
|
44
|
-
rspec-support (~> 3.
|
|
45
|
-
rspec-expectations (3.
|
|
39
|
+
rspec (3.8.0)
|
|
40
|
+
rspec-core (~> 3.8.0)
|
|
41
|
+
rspec-expectations (~> 3.8.0)
|
|
42
|
+
rspec-mocks (~> 3.8.0)
|
|
43
|
+
rspec-core (3.8.0)
|
|
44
|
+
rspec-support (~> 3.8.0)
|
|
45
|
+
rspec-expectations (3.8.1)
|
|
46
46
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
47
|
-
rspec-support (~> 3.
|
|
48
|
-
rspec-mocks (3.
|
|
47
|
+
rspec-support (~> 3.8.0)
|
|
48
|
+
rspec-mocks (3.8.0)
|
|
49
49
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
50
|
-
rspec-support (~> 3.
|
|
51
|
-
rspec-support (3.
|
|
50
|
+
rspec-support (~> 3.8.0)
|
|
51
|
+
rspec-support (3.8.0)
|
|
52
52
|
safe_yaml (1.0.4)
|
|
53
53
|
sys-uname (1.0.3)
|
|
54
54
|
ffi (>= 1.0.0)
|
|
@@ -69,7 +69,6 @@ DEPENDENCIES
|
|
|
69
69
|
autotest-growl (~> 0.2, >= 0.2.16)
|
|
70
70
|
autotest-rails-pure (~> 4.1, >= 4.1.2)
|
|
71
71
|
form_api!
|
|
72
|
-
pry (~> 0.10, >= 0.10.4)
|
|
73
72
|
pry-byebug
|
|
74
73
|
rake (~> 12.0.0)
|
|
75
74
|
rspec (~> 3.6, >= 3.6.0)
|
|
@@ -77,4 +76,4 @@ DEPENDENCIES
|
|
|
77
76
|
webmock (~> 1.24, >= 1.24.3)
|
|
78
77
|
|
|
79
78
|
BUNDLED WITH
|
|
80
|
-
1.16.
|
|
79
|
+
1.16.1
|
data/README.md
CHANGED
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
FormAPI - the Ruby gem for the API V1
|
|
4
4
|
|
|
5
|
-
No description provided (generated by
|
|
5
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
|
|
7
|
-
This SDK is automatically generated by the [
|
|
7
|
+
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
8
8
|
|
|
9
9
|
- API version: v1
|
|
10
|
-
- Package version: 0.
|
|
11
|
-
- Build package: io.
|
|
10
|
+
- Package version: 1.0.0
|
|
11
|
+
- Build package: io.formapi.codegen.FormApiRubyClientCodegen
|
|
12
12
|
|
|
13
13
|
## Installation
|
|
14
14
|
|
|
@@ -23,15 +23,15 @@ gem build form_api.gemspec
|
|
|
23
23
|
Then either install the gem locally:
|
|
24
24
|
|
|
25
25
|
```shell
|
|
26
|
-
gem install ./form_api-0.
|
|
26
|
+
gem install ./form_api-1.0.0.gem
|
|
27
27
|
```
|
|
28
|
-
(for development, run `gem install --dev ./form_api-0.
|
|
28
|
+
(for development, run `gem install --dev ./form_api-1.0.0.gem` to install the development dependencies)
|
|
29
29
|
|
|
30
30
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
31
31
|
|
|
32
32
|
Finally add this to the Gemfile:
|
|
33
33
|
|
|
34
|
-
gem 'form_api', '~> 0.
|
|
34
|
+
gem 'form_api', '~> 1.0.0'
|
|
35
35
|
|
|
36
36
|
### Install from Git
|
|
37
37
|
|
|
@@ -62,19 +62,15 @@ FormAPI.configure do |config|
|
|
|
62
62
|
end
|
|
63
63
|
|
|
64
64
|
api_instance = FormAPI::PDFApi.new
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
opts = {
|
|
69
|
-
create_submission_batch_body: [FormAPI::CreateSubmissionBatchBody.new] # Array<CreateSubmissionBatchBody> |
|
|
70
|
-
}
|
|
65
|
+
template_id = 'tpl_000000000000000001' # String |
|
|
66
|
+
create_submission_data = nil # Array<CreateSubmissionData> |
|
|
71
67
|
|
|
72
68
|
begin
|
|
73
69
|
#Generates multiple PDFs
|
|
74
|
-
result = api_instance.
|
|
70
|
+
result = api_instance.batch_generate_pdf_v1(template_id, create_submission_data)
|
|
75
71
|
p result
|
|
76
72
|
rescue FormAPI::ApiError => e
|
|
77
|
-
puts "Exception when calling PDFApi->
|
|
73
|
+
puts "Exception when calling PDFApi->batch_generate_pdf_v1: #{e}"
|
|
78
74
|
end
|
|
79
75
|
|
|
80
76
|
```
|
|
@@ -85,31 +81,37 @@ All URIs are relative to *https://app.formapi.io/api/v1*
|
|
|
85
81
|
|
|
86
82
|
Class | Method | HTTP request | Description
|
|
87
83
|
------------ | ------------- | ------------- | -------------
|
|
88
|
-
*FormAPI::PDFApi* | [**
|
|
84
|
+
*FormAPI::PDFApi* | [**batch_generate_pdf_v1**](docs/PDFApi.md#batch_generate_pdf_v1) | **POST** /templates/{template_id}/submissions/batch | Generates multiple PDFs
|
|
85
|
+
*FormAPI::PDFApi* | [**batch_generate_pdfs**](docs/PDFApi.md#batch_generate_pdfs) | **POST** /submissions/batches | Generates multiple PDFs
|
|
89
86
|
*FormAPI::PDFApi* | [**combine_submissions**](docs/PDFApi.md#combine_submissions) | **POST** /combined_submissions | Merge generated PDFs together
|
|
90
87
|
*FormAPI::PDFApi* | [**expire_combined_submission**](docs/PDFApi.md#expire_combined_submission) | **DELETE** /combined_submissions/{combined_submission_id} | Expire a combined submission
|
|
91
88
|
*FormAPI::PDFApi* | [**expire_submission**](docs/PDFApi.md#expire_submission) | **DELETE** /submissions/{submission_id} | Expire a PDF submission
|
|
92
89
|
*FormAPI::PDFApi* | [**generate_pdf**](docs/PDFApi.md#generate_pdf) | **POST** /templates/{template_id}/submissions | Generates a new PDF
|
|
93
90
|
*FormAPI::PDFApi* | [**get_combined_submission**](docs/PDFApi.md#get_combined_submission) | **GET** /combined_submissions/{combined_submission_id} | Check the status of a combined submission (merged PDFs)
|
|
94
91
|
*FormAPI::PDFApi* | [**get_submission**](docs/PDFApi.md#get_submission) | **GET** /submissions/{submission_id} | Check the status of a PDF
|
|
92
|
+
*FormAPI::PDFApi* | [**get_submission_batch**](docs/PDFApi.md#get_submission_batch) | **GET** /submissions/batches/{submission_batch_id} | Check the status of a submission batch job
|
|
95
93
|
*FormAPI::PDFApi* | [**get_templates**](docs/PDFApi.md#get_templates) | **GET** /templates | Get a list of all templates
|
|
96
94
|
*FormAPI::PDFApi* | [**test_authentication**](docs/PDFApi.md#test_authentication) | **GET** /authentication | Test Authentication
|
|
97
95
|
|
|
98
96
|
|
|
99
97
|
## Documentation for Models
|
|
100
98
|
|
|
101
|
-
- [FormAPI::
|
|
102
|
-
- [FormAPI::
|
|
103
|
-
- [FormAPI::
|
|
104
|
-
- [FormAPI::
|
|
105
|
-
- [FormAPI::
|
|
106
|
-
- [FormAPI::
|
|
107
|
-
- [FormAPI::
|
|
108
|
-
- [FormAPI::
|
|
109
|
-
- [FormAPI::
|
|
110
|
-
- [FormAPI::
|
|
111
|
-
- [FormAPI::
|
|
112
|
-
- [FormAPI::
|
|
99
|
+
- [FormAPI::AuthenticationError](docs/AuthenticationError.md)
|
|
100
|
+
- [FormAPI::AuthenticationSuccessResponse](docs/AuthenticationSuccessResponse.md)
|
|
101
|
+
- [FormAPI::CombinedSubmission](docs/CombinedSubmission.md)
|
|
102
|
+
- [FormAPI::CombinedSubmissionData](docs/CombinedSubmissionData.md)
|
|
103
|
+
- [FormAPI::CreateCombinedSubmissionResponse](docs/CreateCombinedSubmissionResponse.md)
|
|
104
|
+
- [FormAPI::CreateSubmissionBatchResponse](docs/CreateSubmissionBatchResponse.md)
|
|
105
|
+
- [FormAPI::CreateSubmissionData](docs/CreateSubmissionData.md)
|
|
106
|
+
- [FormAPI::CreateSubmissionDataBatchRequest](docs/CreateSubmissionDataBatchRequest.md)
|
|
107
|
+
- [FormAPI::CreateSubmissionResponse](docs/CreateSubmissionResponse.md)
|
|
108
|
+
- [FormAPI::CreateSubmissionResponse1](docs/CreateSubmissionResponse1.md)
|
|
109
|
+
- [FormAPI::Error](docs/Error.md)
|
|
110
|
+
- [FormAPI::InvalidRequest](docs/InvalidRequest.md)
|
|
111
|
+
- [FormAPI::Submission](docs/Submission.md)
|
|
112
|
+
- [FormAPI::SubmissionBatch](docs/SubmissionBatch.md)
|
|
113
|
+
- [FormAPI::SubmissionBatchData](docs/SubmissionBatchData.md)
|
|
114
|
+
- [FormAPI::Template](docs/Template.md)
|
|
113
115
|
|
|
114
116
|
|
|
115
117
|
## Documentation for Authorization
|
data/Rakefile
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
# FormAPI::
|
|
1
|
+
# FormAPI::AuthenticationError
|
|
2
2
|
|
|
3
3
|
## Properties
|
|
4
4
|
Name | Type | Description | Notes
|
|
5
5
|
------------ | ------------- | ------------- | -------------
|
|
6
|
-
**status** | **String** | |
|
|
7
|
-
**
|
|
6
|
+
**status** | **String** | | [optional]
|
|
7
|
+
**error** | **String** | |
|
|
8
8
|
|
|
9
9
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
# FormAPI::
|
|
1
|
+
# FormAPI::AuthenticationSuccessResponse
|
|
2
2
|
|
|
3
3
|
## Properties
|
|
4
4
|
Name | Type | Description | Notes
|
|
5
5
|
------------ | ------------- | ------------- | -------------
|
|
6
|
-
**
|
|
6
|
+
**status** | **String** | | [optional]
|
|
7
7
|
|
|
8
8
|
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# FormAPI::CombinedSubmission
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
Name | Type | Description | Notes
|
|
5
|
+
------------ | ------------- | ------------- | -------------
|
|
6
|
+
**metadata** | **Object** | | [optional]
|
|
7
|
+
**expired** | **BOOLEAN** | | [optional]
|
|
8
|
+
**expires_at** | **String** | | [optional]
|
|
9
|
+
**download_url** | **String** | | [optional]
|
|
10
|
+
**submission_ids** | **Array<String>** | | [optional]
|
|
11
|
+
**id** | **String** | | [optional]
|
|
12
|
+
**state** | **String** | | [optional]
|
|
13
|
+
|
|
14
|
+
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# FormAPI::CombinedSubmissionData
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
Name | Type | Description | Notes
|
|
5
|
+
------------ | ------------- | ------------- | -------------
|
|
6
|
+
**test** | **BOOLEAN** | | [optional]
|
|
7
|
+
**submission_ids** | **Array<String>** | |
|
|
8
|
+
**metadata** | **Object** | | [optional]
|
|
9
|
+
**expires_in** | **Float** | | [optional]
|
|
10
|
+
|
|
11
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# FormAPI::CreateCombinedSubmissionResponse
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
Name | Type | Description | Notes
|
|
5
|
+
------------ | ------------- | ------------- | -------------
|
|
6
|
+
**combined_submission** | [**CombinedSubmission**](CombinedSubmission.md) | | [optional]
|
|
7
|
+
**errors** | **Array<String>** | | [optional]
|
|
8
|
+
**status** | **String** | | [optional]
|
|
9
|
+
|
|
10
|
+
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# FormAPI::CreateSubmissionBatchResponse
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
Name | Type | Description | Notes
|
|
5
|
+
------------ | ------------- | ------------- | -------------
|
|
6
|
+
**submission_batch** | [**SubmissionBatch**](SubmissionBatch.md) | | [optional]
|
|
7
|
+
**submissions** | [**Array<CreateSubmissionResponse1>**](CreateSubmissionResponse1.md) | | [optional]
|
|
8
|
+
**error** | **String** | | [optional]
|
|
9
|
+
**errors** | **Array<String>** | | [optional]
|
|
10
|
+
**status** | **String** | | [optional]
|
|
11
|
+
|
|
12
|
+
|