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
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7b00921152a148d757ec6772ee4da728448e8c3b
4
- data.tar.gz: fedf600a57f3cfda8daf9616ddcfade8779902f8
3
+ metadata.gz: 252b2f73a7400095897e1d4b38fea5c3d3e5f41f
4
+ data.tar.gz: 88a374bd364facffeef0294e7ab6c3fe7db11d1c
5
5
  SHA512:
6
- metadata.gz: 304fb110f255378abfd32295b2002d968fe3b1a26d789936c5faf33d8250a0cb911c344af7fe6ffe392491aa6f44d50b978f9a06ea7a2e2d9de7143619944232
7
- data.tar.gz: 832fc6b95b6bab276a13ba6ecc52acf7eda99c334a32b0405e9fe76feed22806a334a4070a3b9b4506855164fee829d33fbb4424efa87af23ba27a2484e0161a
6
+ metadata.gz: bbd3204cacb14c5844e37f5838efe9eda1251680e0efd6d1ab5d850debdbd7114614222f0b2b9ddd75a1523cb3ec6d0404a9b51d695e82b3eca4470e839e821e
7
+ data.tar.gz: 3e17afcc2bc6ddbd06b9d3191c5f11aad1e76946108d3d65d84c3cff4fc49a8afc37359bcf8fb32c0425997d12921f9a62ec03cb4515fb4f228c802e988f1a99
data/.gitignore CHANGED
@@ -1,4 +1,4 @@
1
- # Generated by: https://github.com/swagger-api/swagger-codegen.git
1
+ # Generated by: https://openapi-generator.tech
2
2
  #
3
3
 
4
4
  *.gem
@@ -1,11 +1,11 @@
1
- # Swagger Codegen Ignore
2
- # Generated by swagger-codegen https://github.com/swagger-api/swagger-codegen
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 Swagger Codgen to ignore just this file by uncommenting the following line:
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.2.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.23)
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.2)
37
+ public_suffix (3.0.3)
38
38
  rake (12.0.0)
39
- rspec (3.7.0)
40
- rspec-core (~> 3.7.0)
41
- rspec-expectations (~> 3.7.0)
42
- rspec-mocks (~> 3.7.0)
43
- rspec-core (3.7.1)
44
- rspec-support (~> 3.7.0)
45
- rspec-expectations (3.7.0)
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.7.0)
48
- rspec-mocks (3.7.0)
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.7.0)
51
- rspec-support (3.7.1)
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.2
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 Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
+ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
 
7
- This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
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.2.0
11
- - Build package: io.swagger.codegen.languages.RubyClientCodegen
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.2.0.gem
26
+ gem install ./form_api-1.0.0.gem
27
27
  ```
28
- (for development, run `gem install --dev ./form_api-0.2.0.gem` to install the development dependencies)
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.2.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
- template_id = "template_id_example" # String |
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.batch_generate_pdf(template_id, opts)
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->batch_generate_pdf: #{e}"
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* | [**batch_generate_pdf**](docs/PDFApi.md#batch_generate_pdf) | **POST** /templates/{template_id}/submissions/batch | Generates multiple PDFs
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::CreateCombinedSubmissionBody](docs/CreateCombinedSubmissionBody.md)
102
- - [FormAPI::CreateSubmissionBatchBody](docs/CreateSubmissionBatchBody.md)
103
- - [FormAPI::CreateSubmissionBody](docs/CreateSubmissionBody.md)
104
- - [FormAPI::InlineResponse200](docs/InlineResponse200.md)
105
- - [FormAPI::InlineResponse2001](docs/InlineResponse2001.md)
106
- - [FormAPI::InlineResponse201](docs/InlineResponse201.md)
107
- - [FormAPI::InlineResponse2011](docs/InlineResponse2011.md)
108
- - [FormAPI::InlineResponse201CombinedSubmission](docs/InlineResponse201CombinedSubmission.md)
109
- - [FormAPI::InlineResponse400](docs/InlineResponse400.md)
110
- - [FormAPI::InlineResponse401](docs/InlineResponse401.md)
111
- - [FormAPI::InlineResponse422](docs/InlineResponse422.md)
112
- - [FormAPI::TemplatestemplateIdsubmissionsbatchSubmission](docs/TemplatestemplateIdsubmissionsbatchSubmission.md)
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,3 +1,5 @@
1
+ require "bundler/gem_tasks"
2
+
1
3
  begin
2
4
  require 'rspec/core/rake_task'
3
5
 
@@ -1,9 +1,9 @@
1
- # FormAPI::InlineResponse422
1
+ # FormAPI::AuthenticationError
2
2
 
3
3
  ## Properties
4
4
  Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
- **status** | **String** | |
7
- **errors** | **Array&lt;String&gt;** | |
6
+ **status** | **String** | | [optional]
7
+ **error** | **String** | |
8
8
 
9
9
 
@@ -1,8 +1,8 @@
1
- # FormAPI::InlineResponse401
1
+ # FormAPI::AuthenticationSuccessResponse
2
2
 
3
3
  ## Properties
4
4
  Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
- **error** | **String** | |
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&lt;String&gt;** | | [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&lt;String&gt;** | |
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&lt;String&gt;** | | [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&lt;CreateSubmissionResponse1&gt;**](CreateSubmissionResponse1.md) | | [optional]
8
+ **error** | **String** | | [optional]
9
+ **errors** | **Array&lt;String&gt;** | | [optional]
10
+ **status** | **String** | | [optional]
11
+
12
+