tca_client 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 (181) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +9 -0
  3. data/README.md +862 -0
  4. data/Rakefile +8 -0
  5. data/docs/AddGroupAttachmentRequest.md +8 -0
  6. data/docs/AddGroupAttachmentResponse.md +7 -0
  7. data/docs/AggregateGroup.md +12 -0
  8. data/docs/AuthorMetadataOverride.md +8 -0
  9. data/docs/EULAApi.md +241 -0
  10. data/docs/Error.md +8 -0
  11. data/docs/Eula.md +9 -0
  12. data/docs/EulaAcceptListItem.md +10 -0
  13. data/docs/EulaAcceptRequest.md +10 -0
  14. data/docs/EulaVersion.md +11 -0
  15. data/docs/FeaturesApi.md +61 -0
  16. data/docs/FeaturesEnabled.md +10 -0
  17. data/docs/FeaturesGenerationSettings.md +8 -0
  18. data/docs/FeaturesSimilarity.md +9 -0
  19. data/docs/FeaturesSimilarityViewSettings.md +19 -0
  20. data/docs/FeaturesTenant.md +7 -0
  21. data/docs/FeaturesViewerModes.md +8 -0
  22. data/docs/Group.md +9 -0
  23. data/docs/GroupAttachmentResponse.md +10 -0
  24. data/docs/GroupContext.md +9 -0
  25. data/docs/GroupsApi.md +472 -0
  26. data/docs/IndexApi.md +119 -0
  27. data/docs/IndexStateSettings.md +7 -0
  28. data/docs/IndexingSettings.md +7 -0
  29. data/docs/InlineResponse200.md +7 -0
  30. data/docs/PdfStatusResponse.md +7 -0
  31. data/docs/RateLimitError.md +8 -0
  32. data/docs/RequestPdfResponse.md +7 -0
  33. data/docs/Sidebar.md +7 -0
  34. data/docs/SimilarityApi.md +351 -0
  35. data/docs/SimilarityGenerationSettings.md +10 -0
  36. data/docs/SimilarityMetadata.md +16 -0
  37. data/docs/SimilarityMetadataTopMatches.md +13 -0
  38. data/docs/SimilarityPutRequest.md +9 -0
  39. data/docs/SimilarityScoreData.md +10 -0
  40. data/docs/SimilaritySettings.md +9 -0
  41. data/docs/SimilaritySettingsModes.md +8 -0
  42. data/docs/SimilaritySettingsViewSettings.md +7 -0
  43. data/docs/SimilarityViewSettings.md +19 -0
  44. data/docs/SimilarityViewerUrlResponse.md +7 -0
  45. data/docs/SimilarityViewerUrlSettings.md +14 -0
  46. data/docs/SimpleSubmissionResponse.md +6 -0
  47. data/docs/Submission.md +6 -0
  48. data/docs/SubmissionApi.md +296 -0
  49. data/docs/SubmissionBase.md +15 -0
  50. data/docs/SubmissionBaseMetadata.md +12 -0
  51. data/docs/SubmissionSizeError.md +8 -0
  52. data/docs/SuccessMessage.md +7 -0
  53. data/docs/Users.md +10 -0
  54. data/docs/ViewerPermissions.md +11 -0
  55. data/docs/Webhook.md +10 -0
  56. data/docs/WebhookApi.md +286 -0
  57. data/docs/WebhookBase.md +10 -0
  58. data/docs/WebhookPathRequest.md +8 -0
  59. data/docs/WebhookWithSecret.md +10 -0
  60. data/git_push.sh +55 -0
  61. data/lib/tca_client/api/eula_api.rb +312 -0
  62. data/lib/tca_client/api/features_api.rb +82 -0
  63. data/lib/tca_client/api/groups_api.rb +627 -0
  64. data/lib/tca_client/api/index_api.rb +156 -0
  65. data/lib/tca_client/api/similarity_api.rb +456 -0
  66. data/lib/tca_client/api/submission_api.rb +387 -0
  67. data/lib/tca_client/api/webhook_api.rb +364 -0
  68. data/lib/tca_client/api_client.rb +388 -0
  69. data/lib/tca_client/api_error.rb +57 -0
  70. data/lib/tca_client/configuration.rb +205 -0
  71. data/lib/tca_client/models/add_group_attachment_request.rb +220 -0
  72. data/lib/tca_client/models/add_group_attachment_response.rb +208 -0
  73. data/lib/tca_client/models/aggregate_group.rb +299 -0
  74. data/lib/tca_client/models/author_metadata_override.rb +217 -0
  75. data/lib/tca_client/models/error.rb +218 -0
  76. data/lib/tca_client/models/eula.rb +228 -0
  77. data/lib/tca_client/models/eula_accept_list_item.rb +237 -0
  78. data/lib/tca_client/models/eula_accept_request.rb +237 -0
  79. data/lib/tca_client/models/eula_version.rb +272 -0
  80. data/lib/tca_client/models/features_enabled.rb +257 -0
  81. data/lib/tca_client/models/features_generation_settings.rb +240 -0
  82. data/lib/tca_client/models/features_similarity.rb +224 -0
  83. data/lib/tca_client/models/features_similarity_view_settings.rb +327 -0
  84. data/lib/tca_client/models/features_tenant.rb +207 -0
  85. data/lib/tca_client/models/features_viewer_modes.rb +215 -0
  86. data/lib/tca_client/models/group.rb +259 -0
  87. data/lib/tca_client/models/group_attachment_response.rb +272 -0
  88. data/lib/tca_client/models/group_context.rb +227 -0
  89. data/lib/tca_client/models/index_state_settings.rb +207 -0
  90. data/lib/tca_client/models/indexing_settings.rb +207 -0
  91. data/lib/tca_client/models/inline_response_200.rb +208 -0
  92. data/lib/tca_client/models/pdf_status_response.rb +241 -0
  93. data/lib/tca_client/models/rate_limit_error.rb +221 -0
  94. data/lib/tca_client/models/request_pdf_response.rb +207 -0
  95. data/lib/tca_client/models/sidebar.rb +241 -0
  96. data/lib/tca_client/models/similarity_generation_settings.rb +280 -0
  97. data/lib/tca_client/models/similarity_metadata.rb +340 -0
  98. data/lib/tca_client/models/similarity_metadata_top_matches.rb +267 -0
  99. data/lib/tca_client/models/similarity_put_request.rb +229 -0
  100. data/lib/tca_client/models/similarity_score_data.rb +245 -0
  101. data/lib/tca_client/models/similarity_settings.rb +259 -0
  102. data/lib/tca_client/models/similarity_settings_modes.rb +217 -0
  103. data/lib/tca_client/models/similarity_settings_view_settings.rb +207 -0
  104. data/lib/tca_client/models/similarity_view_settings.rb +327 -0
  105. data/lib/tca_client/models/similarity_viewer_url_response.rb +207 -0
  106. data/lib/tca_client/models/similarity_viewer_url_settings.rb +306 -0
  107. data/lib/tca_client/models/simple_submission_response.rb +197 -0
  108. data/lib/tca_client/models/submission.rb +197 -0
  109. data/lib/tca_client/models/submission_base.rb +332 -0
  110. data/lib/tca_client/models/submission_base_metadata.rb +256 -0
  111. data/lib/tca_client/models/submission_size_error.rb +221 -0
  112. data/lib/tca_client/models/success_message.rb +208 -0
  113. data/lib/tca_client/models/users.rb +234 -0
  114. data/lib/tca_client/models/viewer_permissions.rb +247 -0
  115. data/lib/tca_client/models/webhook.rb +271 -0
  116. data/lib/tca_client/models/webhook_base.rb +271 -0
  117. data/lib/tca_client/models/webhook_path_request.rb +246 -0
  118. data/lib/tca_client/models/webhook_with_secret.rb +271 -0
  119. data/lib/tca_client/version.rb +14 -0
  120. data/lib/tca_client.rb +93 -0
  121. data/spec/api/eula_api_spec.rb +90 -0
  122. data/spec/api/features_api_spec.rb +46 -0
  123. data/spec/api/groups_api_spec.rb +147 -0
  124. data/spec/api/index_api_spec.rb +60 -0
  125. data/spec/api/similarity_api_spec.rb +116 -0
  126. data/spec/api/submission_api_spec.rb +103 -0
  127. data/spec/api/webhook_api_spec.rb +99 -0
  128. data/spec/api_client_spec.rb +225 -0
  129. data/spec/base_object_spec.rb +109 -0
  130. data/spec/configuration_spec.rb +41 -0
  131. data/spec/models/add_group_attachment_request_spec.rb +46 -0
  132. data/spec/models/add_group_attachment_response_spec.rb +40 -0
  133. data/spec/models/aggregate_group_spec.rb +78 -0
  134. data/spec/models/author_metadata_override_spec.rb +46 -0
  135. data/spec/models/error_spec.rb +46 -0
  136. data/spec/models/eula_accept_list_item_spec.rb +58 -0
  137. data/spec/models/eula_accept_request_spec.rb +58 -0
  138. data/spec/models/eula_spec.rb +52 -0
  139. data/spec/models/eula_version_spec.rb +68 -0
  140. data/spec/models/features_enabled_spec.rb +62 -0
  141. data/spec/models/features_generation_settings_spec.rb +50 -0
  142. data/spec/models/features_similarity_spec.rb +52 -0
  143. data/spec/models/features_similarity_view_settings_spec.rb +112 -0
  144. data/spec/models/features_tenant_spec.rb +40 -0
  145. data/spec/models/features_viewer_modes_spec.rb +46 -0
  146. data/spec/models/group_attachment_response_spec.rb +62 -0
  147. data/spec/models/group_context_spec.rb +52 -0
  148. data/spec/models/group_spec.rb +56 -0
  149. data/spec/models/index_state_settings_spec.rb +40 -0
  150. data/spec/models/indexing_settings_spec.rb +40 -0
  151. data/spec/models/inline_response_200_spec.rb +40 -0
  152. data/spec/models/pdf_status_response_spec.rb +44 -0
  153. data/spec/models/rate_limit_error_spec.rb +46 -0
  154. data/spec/models/request_pdf_response_spec.rb +40 -0
  155. data/spec/models/sidebar_spec.rb +44 -0
  156. data/spec/models/similarity_generation_settings_spec.rb +66 -0
  157. data/spec/models/similarity_metadata_spec.rb +94 -0
  158. data/spec/models/similarity_metadata_top_matches_spec.rb +76 -0
  159. data/spec/models/similarity_put_request_spec.rb +52 -0
  160. data/spec/models/similarity_score_data_spec.rb +58 -0
  161. data/spec/models/similarity_settings_modes_spec.rb +46 -0
  162. data/spec/models/similarity_settings_spec.rb +56 -0
  163. data/spec/models/similarity_settings_view_settings_spec.rb +40 -0
  164. data/spec/models/similarity_view_settings_spec.rb +112 -0
  165. data/spec/models/similarity_viewer_url_response_spec.rb +40 -0
  166. data/spec/models/similarity_viewer_url_settings_spec.rb +86 -0
  167. data/spec/models/simple_submission_response_spec.rb +34 -0
  168. data/spec/models/submission_base_metadata_spec.rb +70 -0
  169. data/spec/models/submission_base_spec.rb +96 -0
  170. data/spec/models/submission_size_error_spec.rb +46 -0
  171. data/spec/models/submission_spec.rb +34 -0
  172. data/spec/models/success_message_spec.rb +40 -0
  173. data/spec/models/users_spec.rb +58 -0
  174. data/spec/models/viewer_permissions_spec.rb +64 -0
  175. data/spec/models/webhook_base_spec.rb +62 -0
  176. data/spec/models/webhook_path_request_spec.rb +50 -0
  177. data/spec/models/webhook_spec.rb +62 -0
  178. data/spec/models/webhook_with_secret_spec.rb +62 -0
  179. data/spec/spec_helper.rb +110 -0
  180. data/tca_client.gemspec +38 -0
  181. metadata +365 -0
data/Rakefile ADDED
@@ -0,0 +1,8 @@
1
+ begin
2
+ require 'rspec/core/rake_task'
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+ task default: :spec
6
+ rescue LoadError
7
+ # no rspec available
8
+ end
@@ -0,0 +1,8 @@
1
+ # TCAClient::AddGroupAttachmentRequest
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **title** | **String** | Attachment title | [optional]
7
+ **template** | **BOOLEAN** | template | [optional] [default to false]
8
+
@@ -0,0 +1,7 @@
1
+ # TCAClient::AddGroupAttachmentResponse
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **id** | **String** | Attachment uuid | [optional]
7
+
@@ -0,0 +1,12 @@
1
+ # TCAClient::AggregateGroup
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **id** | **String** | (required) | [optional]
7
+ **name** | **String** | | [optional]
8
+ **type** | **String** | | [optional]
9
+ **group_context** | [**GroupContext**](GroupContext.md) | | [optional]
10
+ **due_date** | **Date** | due date for the group | [optional]
11
+ **report_generation** | **String** | | [optional]
12
+
@@ -0,0 +1,8 @@
1
+ # TCAClient::AuthorMetadataOverride
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **given_name** | **String** | Given or first name of submission author | [optional]
7
+ **family_name** | **String** | Family or last name of submission author | [optional]
8
+
data/docs/EULAApi.md ADDED
@@ -0,0 +1,241 @@
1
+ # TCAClient::EULAApi
2
+
3
+ All URIs are relative to *https://{tenantName}.{hostName}/api/v1*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**eula_version_id_accept_post**](EULAApi.md#eula_version_id_accept_post) | **POST** /eula/{version_id}/accept | Accepts a particular EULA version on behalf of an external user
8
+ [**eula_version_id_accept_user_id_get**](EULAApi.md#eula_version_id_accept_user_id_get) | **GET** /eula/{version_id}/accept/{user_id} | Queries the acceptences of a particular EULA version on behalf of an external user
9
+ [**eula_version_id_get**](EULAApi.md#eula_version_id_get) | **GET** /eula/{version_id} | Gets information about a particular EULA version
10
+ [**eula_version_id_view_get**](EULAApi.md#eula_version_id_view_get) | **GET** /eula/{version_id}/view | Gets the text of a particular EULA version
11
+
12
+ # **eula_version_id_accept_post**
13
+ > EulaAcceptListItem eula_version_id_accept_post(bodyx_turnitin_integration_namex_turnitin_integration_versionversion_id)
14
+
15
+ Accepts a particular EULA version on behalf of an external user
16
+
17
+ ### Example
18
+ ```ruby
19
+ # load the gem
20
+ require 'tca_client'
21
+ # setup authorization
22
+ TCAClient.configure do |config|
23
+ # Configure API key authorization: api_key
24
+ config.api_key['Authorization'] = 'YOUR API KEY'
25
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
26
+ #config.api_key_prefix['Authorization'] = 'Bearer'
27
+ end
28
+
29
+ api_instance = TCAClient::EULAApi.new
30
+ body = TCAClient::EulaAcceptRequest.new # EulaAcceptRequest |
31
+ x_turnitin_integration_name = 'x_turnitin_integration_name_example' # String | a human readable string representing the type of integration being used
32
+ x_turnitin_integration_version = 'x_turnitin_integration_version_example' # String | the version of the integration platform being used
33
+ version_id = 'version_id_example' # String | The EULA version ID (or `latest`)
34
+
35
+
36
+ begin
37
+ #Accepts a particular EULA version on behalf of an external user
38
+ result = api_instance.eula_version_id_accept_post(bodyx_turnitin_integration_namex_turnitin_integration_versionversion_id)
39
+ p result
40
+ rescue TCAClient::ApiError => e
41
+ puts "Exception when calling EULAApi->eula_version_id_accept_post: #{e}"
42
+ end
43
+ ```
44
+
45
+ ### Parameters
46
+
47
+ Name | Type | Description | Notes
48
+ ------------- | ------------- | ------------- | -------------
49
+ **body** | [**EulaAcceptRequest**](EulaAcceptRequest.md)| |
50
+ **x_turnitin_integration_name** | **String**| a human readable string representing the type of integration being used |
51
+ **x_turnitin_integration_version** | **String**| the version of the integration platform being used |
52
+ **version_id** | **String**| The EULA version ID (or `latest`) |
53
+
54
+ ### Return type
55
+
56
+ [**EulaAcceptListItem**](EulaAcceptListItem.md)
57
+
58
+ ### Authorization
59
+
60
+ [api_key](../README.md#api_key)
61
+
62
+ ### HTTP request headers
63
+
64
+ - **Content-Type**: application/json
65
+ - **Accept**: application/json
66
+
67
+
68
+
69
+ # **eula_version_id_accept_user_id_get**
70
+ > Array<EulaAcceptListItem> eula_version_id_accept_user_id_get(x_turnitin_integration_name, x_turnitin_integration_version, version_id, user_id)
71
+
72
+ Queries the acceptences of a particular EULA version on behalf of an external user
73
+
74
+ ### Example
75
+ ```ruby
76
+ # load the gem
77
+ require 'tca_client'
78
+ # setup authorization
79
+ TCAClient.configure do |config|
80
+ # Configure API key authorization: api_key
81
+ config.api_key['Authorization'] = 'YOUR API KEY'
82
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
83
+ #config.api_key_prefix['Authorization'] = 'Bearer'
84
+ end
85
+
86
+ api_instance = TCAClient::EULAApi.new
87
+ x_turnitin_integration_name = 'x_turnitin_integration_name_example' # String | a human readable string representing the type of integration being used
88
+ x_turnitin_integration_version = 'x_turnitin_integration_version_example' # String | the version of the integration platform being used
89
+ version_id = 'version_id_example' # String | The EULA version ID (or `latest`)
90
+ user_id = 'user_id_example' # String | The user associated with the EULA status
91
+
92
+
93
+ begin
94
+ #Queries the acceptences of a particular EULA version on behalf of an external user
95
+ result = api_instance.eula_version_id_accept_user_id_get(x_turnitin_integration_name, x_turnitin_integration_version, version_id, user_id)
96
+ p result
97
+ rescue TCAClient::ApiError => e
98
+ puts "Exception when calling EULAApi->eula_version_id_accept_user_id_get: #{e}"
99
+ end
100
+ ```
101
+
102
+ ### Parameters
103
+
104
+ Name | Type | Description | Notes
105
+ ------------- | ------------- | ------------- | -------------
106
+ **x_turnitin_integration_name** | **String**| a human readable string representing the type of integration being used |
107
+ **x_turnitin_integration_version** | **String**| the version of the integration platform being used |
108
+ **version_id** | **String**| The EULA version ID (or `latest`) |
109
+ **user_id** | **String**| The user associated with the EULA status |
110
+
111
+ ### Return type
112
+
113
+ [**Array<EulaAcceptListItem>**](EulaAcceptListItem.md)
114
+
115
+ ### Authorization
116
+
117
+ [api_key](../README.md#api_key)
118
+
119
+ ### HTTP request headers
120
+
121
+ - **Content-Type**: Not defined
122
+ - **Accept**: application/json
123
+
124
+
125
+
126
+ # **eula_version_id_get**
127
+ > EulaVersion eula_version_id_get(x_turnitin_integration_name, x_turnitin_integration_version, version_id, opts)
128
+
129
+ Gets information about a particular EULA version
130
+
131
+ ### Example
132
+ ```ruby
133
+ # load the gem
134
+ require 'tca_client'
135
+ # setup authorization
136
+ TCAClient.configure do |config|
137
+ # Configure API key authorization: api_key
138
+ config.api_key['Authorization'] = 'YOUR API KEY'
139
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
140
+ #config.api_key_prefix['Authorization'] = 'Bearer'
141
+ end
142
+
143
+ api_instance = TCAClient::EULAApi.new
144
+ x_turnitin_integration_name = 'x_turnitin_integration_name_example' # String | a human readable string representing the type of integration being used
145
+ x_turnitin_integration_version = 'x_turnitin_integration_version_example' # String | the version of the integration platform being used
146
+ version_id = 'version_id_example' # String | The EULA version ID (or `latest`)
147
+ opts = {
148
+ lang: 'lang_example' # String | The desired language of the specified EULA version
149
+ }
150
+
151
+ begin
152
+ #Gets information about a particular EULA version
153
+ result = api_instance.eula_version_id_get(x_turnitin_integration_name, x_turnitin_integration_version, version_id, opts)
154
+ p result
155
+ rescue TCAClient::ApiError => e
156
+ puts "Exception when calling EULAApi->eula_version_id_get: #{e}"
157
+ end
158
+ ```
159
+
160
+ ### Parameters
161
+
162
+ Name | Type | Description | Notes
163
+ ------------- | ------------- | ------------- | -------------
164
+ **x_turnitin_integration_name** | **String**| a human readable string representing the type of integration being used |
165
+ **x_turnitin_integration_version** | **String**| the version of the integration platform being used |
166
+ **version_id** | **String**| The EULA version ID (or `latest`) |
167
+ **lang** | **String**| The desired language of the specified EULA version | [optional]
168
+
169
+ ### Return type
170
+
171
+ [**EulaVersion**](EulaVersion.md)
172
+
173
+ ### Authorization
174
+
175
+ [api_key](../README.md#api_key)
176
+
177
+ ### HTTP request headers
178
+
179
+ - **Content-Type**: Not defined
180
+ - **Accept**: application/json
181
+
182
+
183
+
184
+ # **eula_version_id_view_get**
185
+ > String eula_version_id_view_get(x_turnitin_integration_name, x_turnitin_integration_version, version_id, opts)
186
+
187
+ Gets the text of a particular EULA version
188
+
189
+ ### Example
190
+ ```ruby
191
+ # load the gem
192
+ require 'tca_client'
193
+ # setup authorization
194
+ TCAClient.configure do |config|
195
+ # Configure API key authorization: api_key
196
+ config.api_key['Authorization'] = 'YOUR API KEY'
197
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
198
+ #config.api_key_prefix['Authorization'] = 'Bearer'
199
+ end
200
+
201
+ api_instance = TCAClient::EULAApi.new
202
+ x_turnitin_integration_name = 'x_turnitin_integration_name_example' # String | a human readable string representing the type of integration being used
203
+ x_turnitin_integration_version = 'x_turnitin_integration_version_example' # String | the version of the integration platform being used
204
+ version_id = 'version_id_example' # String | The EULA version ID (or `latest`)
205
+ opts = {
206
+ lang: 'lang_example' # String | The desired language of the specified EULA version
207
+ }
208
+
209
+ begin
210
+ #Gets the text of a particular EULA version
211
+ result = api_instance.eula_version_id_view_get(x_turnitin_integration_name, x_turnitin_integration_version, version_id, opts)
212
+ p result
213
+ rescue TCAClient::ApiError => e
214
+ puts "Exception when calling EULAApi->eula_version_id_view_get: #{e}"
215
+ end
216
+ ```
217
+
218
+ ### Parameters
219
+
220
+ Name | Type | Description | Notes
221
+ ------------- | ------------- | ------------- | -------------
222
+ **x_turnitin_integration_name** | **String**| a human readable string representing the type of integration being used |
223
+ **x_turnitin_integration_version** | **String**| the version of the integration platform being used |
224
+ **version_id** | **String**| The EULA version ID (or `latest`) |
225
+ **lang** | **String**| The desired language of the specified EULA version | [optional]
226
+
227
+ ### Return type
228
+
229
+ **String**
230
+
231
+ ### Authorization
232
+
233
+ [api_key](../README.md#api_key)
234
+
235
+ ### HTTP request headers
236
+
237
+ - **Content-Type**: Not defined
238
+ - **Accept**: text/plain; charset=utf-8, application/html
239
+
240
+
241
+
data/docs/Error.md ADDED
@@ -0,0 +1,8 @@
1
+ # TCAClient::Error
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **status** | **String** | an HTTP Response JobStatus Code | [optional]
7
+ **message** | **String** | A message explaining what happened | [optional]
8
+
data/docs/Eula.md ADDED
@@ -0,0 +1,9 @@
1
+ # TCAClient::Eula
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **accepted_timestamp** | **DateTime** | The timestamp marking when the EULA was accepted | [optional]
7
+ **language** | **String** | The language code for which language instance of the EULA version was accepted | [optional]
8
+ **version** | **String** | The unique name of the EULA Version | [optional]
9
+
@@ -0,0 +1,10 @@
1
+ # TCAClient::EulaAcceptListItem
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **user_id** | **String** | The unique id of the user in the external system | [optional]
7
+ **accepted_timestamp** | **DateTime** | The timestamp marking when the EULA was accepted | [optional]
8
+ **language** | **String** | The language code for which language instance of the EULA version was accepted | [optional]
9
+ **version** | **String** | The unique name of the EULA Version | [optional]
10
+
@@ -0,0 +1,10 @@
1
+ # TCAClient::EulaAcceptRequest
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **user_id** | **String** | The unique id of the user in the external system | [optional]
7
+ **accepted_timestamp** | **DateTime** | The timestamp marking when the EULA was accepted | [optional]
8
+ **language** | **String** | The language code for which language instance of the EULA version was accepted | [optional]
9
+ **version** | **String** | The unique name of the EULA Version | [optional]
10
+
@@ -0,0 +1,11 @@
1
+ # TCAClient::EulaVersion
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **version** | **String** | The unique name of the EULA Version | [optional]
7
+ **valid_from** | **DateTime** | The starting date indicating when acceptence of this EULA is considered valid | [optional]
8
+ **valid_until** | **DateTime** | The ending date indicating when acceptence of this EULA is no longer valid | [optional]
9
+ **url** | **String** | The url where the corresponding EULA page can be found | [optional]
10
+ **available_languages** | **Array<String>** | The languages (instances) of this version. 21 language locales are currently supported. | [optional]
11
+
@@ -0,0 +1,61 @@
1
+ # TCAClient::FeaturesApi
2
+
3
+ All URIs are relative to *https://{tenantName}.{hostName}/api/v1*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**features_enabled_get**](FeaturesApi.md#features_enabled_get) | **GET** /features-enabled | Get information about what features are allowed by the current license
8
+
9
+ # **features_enabled_get**
10
+ > FeaturesEnabled features_enabled_get(x_turnitin_integration_name, x_turnitin_integration_version)
11
+
12
+ Get information about what features are allowed by the current license
13
+
14
+ ### Example
15
+ ```ruby
16
+ # load the gem
17
+ require 'tca_client'
18
+ # setup authorization
19
+ TCAClient.configure do |config|
20
+ # Configure API key authorization: api_key
21
+ config.api_key['Authorization'] = 'YOUR API KEY'
22
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
23
+ #config.api_key_prefix['Authorization'] = 'Bearer'
24
+ end
25
+
26
+ api_instance = TCAClient::FeaturesApi.new
27
+ x_turnitin_integration_name = 'x_turnitin_integration_name_example' # String | a human readable string representing the type of integration being used
28
+ x_turnitin_integration_version = 'x_turnitin_integration_version_example' # String | the version of the integration platform being used
29
+
30
+
31
+ begin
32
+ #Get information about what features are allowed by the current license
33
+ result = api_instance.features_enabled_get(x_turnitin_integration_name, x_turnitin_integration_version)
34
+ p result
35
+ rescue TCAClient::ApiError => e
36
+ puts "Exception when calling FeaturesApi->features_enabled_get: #{e}"
37
+ end
38
+ ```
39
+
40
+ ### Parameters
41
+
42
+ Name | Type | Description | Notes
43
+ ------------- | ------------- | ------------- | -------------
44
+ **x_turnitin_integration_name** | **String**| a human readable string representing the type of integration being used |
45
+ **x_turnitin_integration_version** | **String**| the version of the integration platform being used |
46
+
47
+ ### Return type
48
+
49
+ [**FeaturesEnabled**](FeaturesEnabled.md)
50
+
51
+ ### Authorization
52
+
53
+ [api_key](../README.md#api_key)
54
+
55
+ ### HTTP request headers
56
+
57
+ - **Content-Type**: Not defined
58
+ - **Accept**: application/json
59
+
60
+
61
+
@@ -0,0 +1,10 @@
1
+ # TCAClient::FeaturesEnabled
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **similarity** | [**FeaturesSimilarity**](FeaturesSimilarity.md) | | [optional]
7
+ **tenant** | [**FeaturesTenant**](FeaturesTenant.md) | | [optional]
8
+ **product_name** | **String** | | [optional]
9
+ **access_options** | **Array<String>** | | [optional]
10
+
@@ -0,0 +1,8 @@
1
+ # TCAClient::FeaturesGenerationSettings
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **search_repositories** | **Array<String>** | List of repositories to search | [optional]
7
+ **submission_auto_excludes** | **BOOLEAN** | | [optional]
8
+
@@ -0,0 +1,9 @@
1
+ # TCAClient::FeaturesSimilarity
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **viewer_modes** | [**FeaturesViewerModes**](FeaturesViewerModes.md) | | [optional]
7
+ **generation_settings** | [**FeaturesGenerationSettings**](FeaturesGenerationSettings.md) | | [optional]
8
+ **view_settings** | [**FeaturesSimilarityViewSettings**](FeaturesSimilarityViewSettings.md) | | [optional]
9
+
@@ -0,0 +1,19 @@
1
+ # TCAClient::FeaturesSimilarityViewSettings
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **exclude_quotes** | **BOOLEAN** | If set to true, text in quotes will not count as similar content | [optional]
7
+ **exclude_bibliography** | **BOOLEAN** | If set to true, text in a bibliography section will not count as similar content | [optional]
8
+ **exclude_citations** | **BOOLEAN** | If set to true, text in citations will not count as similar content | [optional]
9
+ **exclude_abstract** | **BOOLEAN** | If set to true, text in the abstract section of the submission will not count as similar content | [optional]
10
+ **exclude_methods** | **BOOLEAN** | If set to true, text in the method section of the submission will not count as similar content | [optional]
11
+ **exclude_small_matches** | **BOOLEAN** | If set, similarity matches that match less than the specified amount of words will not count as similar content | [optional]
12
+ **exclude_internet** | **BOOLEAN** | If set to true, text matched to the internet collection will not count as similar content | [optional]
13
+ **exclude_publications** | **BOOLEAN** | If set to true, text matched to the publications collection will not count as similar content | [optional]
14
+ **exclude_crossref** | **BOOLEAN** | If set to true, text matched to the Crossref collection will not count as similar content | [optional]
15
+ **exclude_crossref_posted_content** | **BOOLEAN** | If set to true, text matched to the Crossref Posted Content collection will not count as similar content | [optional]
16
+ **exclude_submitted_works** | **BOOLEAN** | If set to true, text matched to the submitted works collection will not count as similar content calculated as if submitted work was not part of the paper | [optional]
17
+ **exclude_custom_sections** | **BOOLEAN** | If set to true, text matched to the custom sections defined in the admin settings will not count as similar content calculated as if section was not part of the paper | [optional]
18
+ **exclude_preprints** | **BOOLEAN** | If set to true, it will exclude preprints. A preprint is a version of a scholarly or scientific paper that precedes formal peer review and publication in a peer-reviewed scholarly or scientific journal. | [optional]
19
+
@@ -0,0 +1,7 @@
1
+ # TCAClient::FeaturesTenant
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **require_eula** | **BOOLEAN** | a flag indicating whether this tenant requires EULA checks to use this API | [optional]
7
+
@@ -0,0 +1,8 @@
1
+ # TCAClient::FeaturesViewerModes
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **match_overview** | **BOOLEAN** | | [optional]
7
+ **all_sources** | **BOOLEAN** | | [optional]
8
+
data/docs/Group.md ADDED
@@ -0,0 +1,9 @@
1
+ # TCAClient::Group
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **id** | **String** | (required) | [optional]
7
+ **name** | **String** | | [optional]
8
+ **type** | **String** | | [optional]
9
+
@@ -0,0 +1,10 @@
1
+ # TCAClient::GroupAttachmentResponse
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **id** | **String** | uuid | [optional]
7
+ **title** | **String** | title | [optional]
8
+ **status** | **String** | status | [optional]
9
+ **template** | **BOOLEAN** | template | [optional]
10
+
@@ -0,0 +1,9 @@
1
+ # TCAClient::GroupContext
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **id** | **String** | (required) | [optional]
7
+ **name** | **String** | | [optional]
8
+ **owners** | [**Array<Users>**](Users.md) | | [optional]
9
+