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.
Files changed (94) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -1
  3. data/{.swagger-codegen-ignore → .openapi-generator-ignore} +3 -3
  4. data/.openapi-generator/VERSION +1 -0
  5. data/.rubocop.yml +154 -0
  6. data/Gemfile.lock +15 -16
  7. data/README.md +30 -28
  8. data/Rakefile +2 -0
  9. data/docs/{InlineResponse422.md → AuthenticationError.md} +3 -3
  10. data/docs/{InlineResponse401.md → AuthenticationSuccessResponse.md} +2 -2
  11. data/docs/CombinedSubmission.md +14 -0
  12. data/docs/CombinedSubmissionData.md +11 -0
  13. data/docs/CreateCombinedSubmissionResponse.md +10 -0
  14. data/docs/CreateSubmissionBatchResponse.md +12 -0
  15. data/docs/CreateSubmissionData.md +12 -0
  16. data/docs/CreateSubmissionDataBatchRequest.md +13 -0
  17. data/docs/CreateSubmissionResponse.md +10 -0
  18. data/docs/CreateSubmissionResponse1.md +10 -0
  19. data/docs/{InlineResponse200.md → Error.md} +3 -2
  20. data/docs/{InlineResponse400.md → InvalidRequest.md} +3 -3
  21. data/docs/PDFApi.md +148 -64
  22. data/docs/Submission.md +16 -0
  23. data/docs/SubmissionBatch.md +16 -0
  24. data/docs/SubmissionBatchData.md +11 -0
  25. data/docs/Template.md +21 -0
  26. data/form_api.gemspec +6 -11
  27. data/git_push.sh +3 -3
  28. data/lib/form_api.rb +22 -15
  29. data/lib/form_api/api/client.rb +91 -38
  30. data/lib/form_api/api/pdf_api.rb +222 -109
  31. data/lib/form_api/api_client.rb +13 -13
  32. data/lib/form_api/api_error.rb +3 -3
  33. data/lib/form_api/configuration.rb +26 -5
  34. data/lib/form_api/models/{inline_response_201_1.rb → authentication_error.rb} +25 -29
  35. data/lib/form_api/models/{inline_response_200.rb → authentication_success_response.rb} +15 -24
  36. data/lib/form_api/models/{inline_response_201_combined_submission.rb → combined_submission.rb} +42 -66
  37. data/lib/form_api/models/{create_combined_submission_body.rb → combined_submission_data.rb} +13 -18
  38. data/lib/form_api/models/{inline_response_201.rb → create_combined_submission_response.rb} +37 -35
  39. data/lib/form_api/models/create_submission_batch_response.rb +257 -0
  40. data/lib/form_api/models/{create_submission_batch_body.rb → create_submission_data.rb} +32 -19
  41. data/lib/form_api/models/{create_submission_body.rb → create_submission_data_batch_request.rb} +45 -18
  42. data/lib/form_api/models/create_submission_response.rb +237 -0
  43. data/lib/form_api/models/create_submission_response1.rb +237 -0
  44. data/lib/form_api/models/{inline_response_400.rb → error.rb} +17 -21
  45. data/lib/form_api/models/{inline_response_422.rb → invalid_request.rb} +17 -21
  46. data/lib/form_api/models/{templatestemplate_idsubmissionsbatch_submission.rb → submission.rb} +40 -26
  47. data/lib/form_api/models/submission_batch.rb +291 -0
  48. data/lib/form_api/models/{inline_response_401.rb → submission_batch_data.rb} +48 -24
  49. data/lib/form_api/models/{inline_response_200_1.rb → template.rb} +88 -152
  50. data/lib/form_api/version.rb +4 -4
  51. data/spec/api/client_spec.rb +197 -23
  52. data/spec/api/pdf_api_spec.rb +168 -63
  53. data/spec/api_client_spec.rb +37 -37
  54. data/spec/configuration_spec.rb +11 -11
  55. data/spec/models/authentication_error_spec.rb +51 -0
  56. data/spec/models/authentication_success_response_spec.rb +45 -0
  57. data/spec/models/combined_submission_data_spec.rb +59 -0
  58. data/spec/models/combined_submission_spec.rb +81 -0
  59. data/spec/models/create_combined_submission_response_spec.rb +57 -0
  60. data/spec/models/create_submission_batch_response_spec.rb +69 -0
  61. data/spec/models/create_submission_data_batch_request_spec.rb +71 -0
  62. data/spec/models/create_submission_data_spec.rb +65 -0
  63. data/spec/models/create_submission_response1_spec.rb +57 -0
  64. data/spec/models/create_submission_response_spec.rb +57 -0
  65. data/spec/models/error_spec.rb +51 -0
  66. data/spec/models/invalid_request_spec.rb +51 -0
  67. data/spec/models/submission_batch_data_spec.rb +59 -0
  68. data/spec/models/submission_batch_spec.rb +93 -0
  69. data/spec/models/submission_spec.rb +93 -0
  70. data/spec/models/template_spec.rb +123 -0
  71. data/spec/spec_helper.rb +3 -14
  72. metadata +70 -95
  73. data/.swagger-codegen/VERSION +0 -1
  74. data/docs/CreateCombinedSubmissionBody.md +0 -11
  75. data/docs/CreateSubmissionBatchBody.md +0 -10
  76. data/docs/CreateSubmissionBody.md +0 -10
  77. data/docs/InlineResponse2001.md +0 -21
  78. data/docs/InlineResponse201.md +0 -9
  79. data/docs/InlineResponse2011.md +0 -9
  80. data/docs/InlineResponse201CombinedSubmission.md +0 -14
  81. data/docs/TemplatestemplateIdsubmissionsbatchSubmission.md +0 -14
  82. data/spec/models/create_combined_submission_body_spec.rb +0 -60
  83. data/spec/models/create_submission_batch_body_spec.rb +0 -54
  84. data/spec/models/create_submission_body_spec.rb +0 -54
  85. data/spec/models/inline_response_200_1_spec.rb +0 -124
  86. data/spec/models/inline_response_200_spec.rb +0 -46
  87. data/spec/models/inline_response_201_1_spec.rb +0 -52
  88. data/spec/models/inline_response_201_combined_submission_spec.rb +0 -82
  89. data/spec/models/inline_response_201_spec.rb +0 -52
  90. data/spec/models/inline_response_400_spec.rb +0 -52
  91. data/spec/models/inline_response_401_spec.rb +0 -42
  92. data/spec/models/inline_response_422_spec.rb +0 -52
  93. data/spec/models/templatestemplate_idsubmissionsbatch_submission_spec.rb +0 -82
  94. data/spec/vcr_cassettes/FormAPI_Client/should_generate_a_PDF_and_wait_for_the_submission_to_be_processed.yml +0 -127
@@ -0,0 +1,59 @@
1
+ =begin
2
+ #API V1
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ OpenAPI spec version: v1
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 3.3.0-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for FormAPI::SubmissionBatchData
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'SubmissionBatchData' do
21
+ before do
22
+ # run before each test
23
+ @instance = FormAPI::SubmissionBatchData.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of SubmissionBatchData' do
31
+ it 'should create an instance of SubmissionBatchData' do
32
+ expect(@instance).to be_instance_of(FormAPI::SubmissionBatchData)
33
+ end
34
+ end
35
+ describe 'test attribute "metadata"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "test"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ describe 'test attribute "template_id"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
53
+ describe 'test attribute "submissions"' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ end
@@ -0,0 +1,93 @@
1
+ =begin
2
+ #API V1
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ OpenAPI spec version: v1
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 3.3.0-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for FormAPI::SubmissionBatch
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'SubmissionBatch' do
21
+ before do
22
+ # run before each test
23
+ @instance = FormAPI::SubmissionBatch.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of SubmissionBatch' do
31
+ it 'should create an instance of SubmissionBatch' do
32
+ expect(@instance).to be_instance_of(FormAPI::SubmissionBatch)
33
+ end
34
+ end
35
+ describe 'test attribute "pending_count"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "completion_percentage"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ describe 'test attribute "metadata"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
53
+ describe 'test attribute "total_count"' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ describe 'test attribute "submissions"' do
60
+ it 'should work' do
61
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
+ end
63
+ end
64
+
65
+ describe 'test attribute "processed_at"' do
66
+ it 'should work' do
67
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
+ end
69
+ end
70
+
71
+ describe 'test attribute "id"' do
72
+ it 'should work' do
73
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
74
+ end
75
+ end
76
+
77
+ describe 'test attribute "state"' do
78
+ it 'should work' do
79
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
80
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["pending", "processed", "error"])
81
+ # validator.allowable_values.each do |value|
82
+ # expect { @instance.state = value }.not_to raise_error
83
+ # end
84
+ end
85
+ end
86
+
87
+ describe 'test attribute "error_count"' do
88
+ it 'should work' do
89
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
90
+ end
91
+ end
92
+
93
+ end
@@ -0,0 +1,93 @@
1
+ =begin
2
+ #API V1
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ OpenAPI spec version: v1
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 3.3.0-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for FormAPI::Submission
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'Submission' do
21
+ before do
22
+ # run before each test
23
+ @instance = FormAPI::Submission.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of Submission' do
31
+ it 'should create an instance of Submission' do
32
+ expect(@instance).to be_instance_of(FormAPI::Submission)
33
+ end
34
+ end
35
+ describe 'test attribute "id"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "test"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ describe 'test attribute "expired"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
53
+ describe 'test attribute "expires_at"' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ describe 'test attribute "processed_at"' do
60
+ it 'should work' do
61
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
+ end
63
+ end
64
+
65
+ describe 'test attribute "state"' do
66
+ it 'should work' do
67
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["pending", "processed", "invalid_data", "error", "image_download_failed", "image_processing_failed"])
69
+ # validator.allowable_values.each do |value|
70
+ # expect { @instance.state = value }.not_to raise_error
71
+ # end
72
+ end
73
+ end
74
+
75
+ describe 'test attribute "metadata"' do
76
+ it 'should work' do
77
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
78
+ end
79
+ end
80
+
81
+ describe 'test attribute "download_url"' do
82
+ it 'should work' do
83
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
84
+ end
85
+ end
86
+
87
+ describe 'test attribute "batch_id"' do
88
+ it 'should work' do
89
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
90
+ end
91
+ end
92
+
93
+ end
@@ -0,0 +1,123 @@
1
+ =begin
2
+ #API V1
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ OpenAPI spec version: v1
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 3.3.0-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for FormAPI::Template
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'Template' do
21
+ before do
22
+ # run before each test
23
+ @instance = FormAPI::Template.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of Template' do
31
+ it 'should create an instance of Template' do
32
+ expect(@instance).to be_instance_of(FormAPI::Template)
33
+ end
34
+ end
35
+ describe 'test attribute "expiration_interval"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["minutes", "hours", "days"])
39
+ # validator.allowable_values.each do |value|
40
+ # expect { @instance.expiration_interval = value }.not_to raise_error
41
+ # end
42
+ end
43
+ end
44
+
45
+ describe 'test attribute "webhook_url"' do
46
+ it 'should work' do
47
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
48
+ end
49
+ end
50
+
51
+ describe 'test attribute "expire_after"' do
52
+ it 'should work' do
53
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
54
+ end
55
+ end
56
+
57
+ describe 'test attribute "allow_additional_properties"' do
58
+ it 'should work' do
59
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
60
+ end
61
+ end
62
+
63
+ describe 'test attribute "public_submissions"' do
64
+ it 'should work' do
65
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
66
+ end
67
+ end
68
+
69
+ describe 'test attribute "slack_webhook_url"' do
70
+ it 'should work' do
71
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
72
+ end
73
+ end
74
+
75
+ describe 'test attribute "blockchain_timestamp_verification"' do
76
+ it 'should work' do
77
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
78
+ end
79
+ end
80
+
81
+ describe 'test attribute "public_web_form"' do
82
+ it 'should work' do
83
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
84
+ end
85
+ end
86
+
87
+ describe 'test attribute "expire_submissions"' do
88
+ it 'should work' do
89
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
90
+ end
91
+ end
92
+
93
+ describe 'test attribute "name"' do
94
+ it 'should work' do
95
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
96
+ end
97
+ end
98
+
99
+ describe 'test attribute "template_type"' do
100
+ it 'should work' do
101
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
102
+ end
103
+ end
104
+
105
+ describe 'test attribute "id"' do
106
+ it 'should work' do
107
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
108
+ end
109
+ end
110
+
111
+ describe 'test attribute "page_dimensions"' do
112
+ it 'should work' do
113
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
114
+ end
115
+ end
116
+
117
+ describe 'test attribute "redirect_url"' do
118
+ it 'should work' do
119
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
120
+ end
121
+ end
122
+
123
+ end
data/spec/spec_helper.rb CHANGED
@@ -1,28 +1,17 @@
1
1
  =begin
2
2
  #API V1
3
3
 
4
- #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
5
 
6
6
  OpenAPI spec version: v1
7
7
 
8
- Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.3.0-SNAPSHOT
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 3.3.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
13
13
  # load the gem
14
14
  require 'form_api'
15
- require 'pry'
16
- require 'vcr'
17
- require 'webmock/rspec'
18
-
19
- VCR.configure do |config|
20
- config.cassette_library_dir = 'spec/vcr_cassettes'
21
- config.hook_into :webmock
22
- config.configure_rspec_metadata!
23
- config.default_cassette_options = { record: :none, erb: true }
24
- end
25
-
26
15
 
27
16
  # The following was generated by the `rspec --init` command. Conventionally, all
28
17
  # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: form_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Form Applications Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-08-27 00:00:00.000000000 Z
11
+ date: 2018-09-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -190,46 +190,6 @@ dependencies:
190
190
  - - ">="
191
191
  - !ruby/object:Gem::Version
192
192
  version: 0.2.12
193
- - !ruby/object:Gem::Dependency
194
- name: rake
195
- requirement: !ruby/object:Gem::Requirement
196
- requirements:
197
- - - "~>"
198
- - !ruby/object:Gem::Version
199
- version: '11.2'
200
- - - ">="
201
- - !ruby/object:Gem::Version
202
- version: 11.2.2
203
- type: :development
204
- prerelease: false
205
- version_requirements: !ruby/object:Gem::Requirement
206
- requirements:
207
- - - "~>"
208
- - !ruby/object:Gem::Version
209
- version: '11.2'
210
- - - ">="
211
- - !ruby/object:Gem::Version
212
- version: 11.2.2
213
- - !ruby/object:Gem::Dependency
214
- name: pry
215
- requirement: !ruby/object:Gem::Requirement
216
- requirements:
217
- - - "~>"
218
- - !ruby/object:Gem::Version
219
- version: '0.10'
220
- - - ">="
221
- - !ruby/object:Gem::Version
222
- version: 0.10.4
223
- type: :development
224
- prerelease: false
225
- version_requirements: !ruby/object:Gem::Requirement
226
- requirements:
227
- - - "~>"
228
- - !ruby/object:Gem::Version
229
- version: '0.10'
230
- - - ">="
231
- - !ruby/object:Gem::Version
232
- version: 0.10.4
233
193
  description: Client library for the FormAPI PDF generation service
234
194
  email:
235
195
  - support@formapi.io
@@ -238,26 +198,31 @@ extensions: []
238
198
  extra_rdoc_files: []
239
199
  files:
240
200
  - ".gitignore"
201
+ - ".openapi-generator-ignore"
202
+ - ".openapi-generator/VERSION"
241
203
  - ".rspec"
242
- - ".swagger-codegen-ignore"
243
- - ".swagger-codegen/VERSION"
204
+ - ".rubocop.yml"
244
205
  - Gemfile
245
206
  - Gemfile.lock
246
207
  - README.md
247
208
  - Rakefile
248
- - docs/CreateCombinedSubmissionBody.md
249
- - docs/CreateSubmissionBatchBody.md
250
- - docs/CreateSubmissionBody.md
251
- - docs/InlineResponse200.md
252
- - docs/InlineResponse2001.md
253
- - docs/InlineResponse201.md
254
- - docs/InlineResponse2011.md
255
- - docs/InlineResponse201CombinedSubmission.md
256
- - docs/InlineResponse400.md
257
- - docs/InlineResponse401.md
258
- - docs/InlineResponse422.md
209
+ - docs/AuthenticationError.md
210
+ - docs/AuthenticationSuccessResponse.md
211
+ - docs/CombinedSubmission.md
212
+ - docs/CombinedSubmissionData.md
213
+ - docs/CreateCombinedSubmissionResponse.md
214
+ - docs/CreateSubmissionBatchResponse.md
215
+ - docs/CreateSubmissionData.md
216
+ - docs/CreateSubmissionDataBatchRequest.md
217
+ - docs/CreateSubmissionResponse.md
218
+ - docs/CreateSubmissionResponse1.md
219
+ - docs/Error.md
220
+ - docs/InvalidRequest.md
259
221
  - docs/PDFApi.md
260
- - docs/TemplatestemplateIdsubmissionsbatchSubmission.md
222
+ - docs/Submission.md
223
+ - docs/SubmissionBatch.md
224
+ - docs/SubmissionBatchData.md
225
+ - docs/Template.md
261
226
  - form_api.gemspec
262
227
  - git_push.sh
263
228
  - lib/form_api.rb
@@ -266,37 +231,44 @@ files:
266
231
  - lib/form_api/api_client.rb
267
232
  - lib/form_api/api_error.rb
268
233
  - lib/form_api/configuration.rb
269
- - lib/form_api/models/create_combined_submission_body.rb
270
- - lib/form_api/models/create_submission_batch_body.rb
271
- - lib/form_api/models/create_submission_body.rb
272
- - lib/form_api/models/inline_response_200.rb
273
- - lib/form_api/models/inline_response_200_1.rb
274
- - lib/form_api/models/inline_response_201.rb
275
- - lib/form_api/models/inline_response_201_1.rb
276
- - lib/form_api/models/inline_response_201_combined_submission.rb
277
- - lib/form_api/models/inline_response_400.rb
278
- - lib/form_api/models/inline_response_401.rb
279
- - lib/form_api/models/inline_response_422.rb
280
- - lib/form_api/models/templatestemplate_idsubmissionsbatch_submission.rb
234
+ - lib/form_api/models/authentication_error.rb
235
+ - lib/form_api/models/authentication_success_response.rb
236
+ - lib/form_api/models/combined_submission.rb
237
+ - lib/form_api/models/combined_submission_data.rb
238
+ - lib/form_api/models/create_combined_submission_response.rb
239
+ - lib/form_api/models/create_submission_batch_response.rb
240
+ - lib/form_api/models/create_submission_data.rb
241
+ - lib/form_api/models/create_submission_data_batch_request.rb
242
+ - lib/form_api/models/create_submission_response.rb
243
+ - lib/form_api/models/create_submission_response1.rb
244
+ - lib/form_api/models/error.rb
245
+ - lib/form_api/models/invalid_request.rb
246
+ - lib/form_api/models/submission.rb
247
+ - lib/form_api/models/submission_batch.rb
248
+ - lib/form_api/models/submission_batch_data.rb
249
+ - lib/form_api/models/template.rb
281
250
  - lib/form_api/version.rb
282
251
  - spec/api/client_spec.rb
283
252
  - spec/api/pdf_api_spec.rb
284
253
  - spec/api_client_spec.rb
285
254
  - spec/configuration_spec.rb
286
- - spec/models/create_combined_submission_body_spec.rb
287
- - spec/models/create_submission_batch_body_spec.rb
288
- - spec/models/create_submission_body_spec.rb
289
- - spec/models/inline_response_200_1_spec.rb
290
- - spec/models/inline_response_200_spec.rb
291
- - spec/models/inline_response_201_1_spec.rb
292
- - spec/models/inline_response_201_combined_submission_spec.rb
293
- - spec/models/inline_response_201_spec.rb
294
- - spec/models/inline_response_400_spec.rb
295
- - spec/models/inline_response_401_spec.rb
296
- - spec/models/inline_response_422_spec.rb
297
- - spec/models/templatestemplate_idsubmissionsbatch_submission_spec.rb
255
+ - spec/models/authentication_error_spec.rb
256
+ - spec/models/authentication_success_response_spec.rb
257
+ - spec/models/combined_submission_data_spec.rb
258
+ - spec/models/combined_submission_spec.rb
259
+ - spec/models/create_combined_submission_response_spec.rb
260
+ - spec/models/create_submission_batch_response_spec.rb
261
+ - spec/models/create_submission_data_batch_request_spec.rb
262
+ - spec/models/create_submission_data_spec.rb
263
+ - spec/models/create_submission_response1_spec.rb
264
+ - spec/models/create_submission_response_spec.rb
265
+ - spec/models/error_spec.rb
266
+ - spec/models/invalid_request_spec.rb
267
+ - spec/models/submission_batch_data_spec.rb
268
+ - spec/models/submission_batch_spec.rb
269
+ - spec/models/submission_spec.rb
270
+ - spec/models/template_spec.rb
298
271
  - spec/spec_helper.rb
299
- - spec/vcr_cassettes/FormAPI_Client/should_generate_a_PDF_and_wait_for_the_submission_to_be_processed.yml
300
272
  homepage: https://github.com/FormAPI/formapi-ruby
301
273
  licenses:
302
274
  - MIT
@@ -317,7 +289,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
317
289
  version: '0'
318
290
  requirements: []
319
291
  rubyforge_project:
320
- rubygems_version: 2.6.14
292
+ rubygems_version: 2.6.13
321
293
  signing_key:
322
294
  specification_version: 4
323
295
  summary: FormAPI API Client
@@ -326,17 +298,20 @@ test_files:
326
298
  - spec/api/pdf_api_spec.rb
327
299
  - spec/api_client_spec.rb
328
300
  - spec/configuration_spec.rb
329
- - spec/models/create_combined_submission_body_spec.rb
330
- - spec/models/create_submission_batch_body_spec.rb
331
- - spec/models/create_submission_body_spec.rb
332
- - spec/models/inline_response_200_1_spec.rb
333
- - spec/models/inline_response_200_spec.rb
334
- - spec/models/inline_response_201_1_spec.rb
335
- - spec/models/inline_response_201_combined_submission_spec.rb
336
- - spec/models/inline_response_201_spec.rb
337
- - spec/models/inline_response_400_spec.rb
338
- - spec/models/inline_response_401_spec.rb
339
- - spec/models/inline_response_422_spec.rb
340
- - spec/models/templatestemplate_idsubmissionsbatch_submission_spec.rb
301
+ - spec/models/authentication_error_spec.rb
302
+ - spec/models/authentication_success_response_spec.rb
303
+ - spec/models/combined_submission_data_spec.rb
304
+ - spec/models/combined_submission_spec.rb
305
+ - spec/models/create_combined_submission_response_spec.rb
306
+ - spec/models/create_submission_batch_response_spec.rb
307
+ - spec/models/create_submission_data_batch_request_spec.rb
308
+ - spec/models/create_submission_data_spec.rb
309
+ - spec/models/create_submission_response1_spec.rb
310
+ - spec/models/create_submission_response_spec.rb
311
+ - spec/models/error_spec.rb
312
+ - spec/models/invalid_request_spec.rb
313
+ - spec/models/submission_batch_data_spec.rb
314
+ - spec/models/submission_batch_spec.rb
315
+ - spec/models/submission_spec.rb
316
+ - spec/models/template_spec.rb
341
317
  - spec/spec_helper.rb
342
- - spec/vcr_cassettes/FormAPI_Client/should_generate_a_PDF_and_wait_for_the_submission_to_be_processed.yml