tca_client 1.0.0 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (148) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +3 -3
  3. data/docs/AddGroupAttachmentRequest.md +16 -4
  4. data/docs/AddGroupAttachmentResponse.md +14 -3
  5. data/docs/AggregateGroup.md +24 -8
  6. data/docs/AnnotationsSettings.md +18 -0
  7. data/docs/AuthorMetadataOverride.md +16 -4
  8. data/docs/EULAApi.md +166 -92
  9. data/docs/Error.md +16 -4
  10. data/docs/Eula.md +18 -5
  11. data/docs/EulaAcceptListItem.md +20 -6
  12. data/docs/EulaAcceptRequest.md +20 -6
  13. data/docs/EulaVersion.md +22 -7
  14. data/docs/FeaturesApi.md +41 -23
  15. data/docs/FeaturesEnabled.md +20 -6
  16. data/docs/FeaturesGenerationSettings.md +16 -4
  17. data/docs/FeaturesSimilarity.md +18 -5
  18. data/docs/FeaturesSimilarityViewSettings.md +38 -15
  19. data/docs/FeaturesTenant.md +14 -3
  20. data/docs/FeaturesViewerModes.md +16 -4
  21. data/docs/GenerateSimilarityPDF.md +18 -0
  22. data/docs/GetGroupAttachments200Response.md +18 -0
  23. data/docs/Group.md +18 -5
  24. data/docs/GroupAttachmentResponse.md +20 -6
  25. data/docs/GroupContext.md +18 -5
  26. data/docs/GroupsApi.md +321 -177
  27. data/docs/IndexApi.md +84 -44
  28. data/docs/IndexStateSettings.md +14 -3
  29. data/docs/IndexingSettings.md +14 -3
  30. data/docs/PDFStatusWebhookRequest.md +24 -0
  31. data/docs/PdfStatusResponse.md +14 -3
  32. data/docs/RateLimitError.md +16 -4
  33. data/docs/RequestPdfResponse.md +14 -3
  34. data/docs/Sidebar.md +14 -3
  35. data/docs/SimilarityApi.md +239 -129
  36. data/docs/SimilarityCompleteWebhookRequest.md +38 -0
  37. data/docs/SimilarityGenerationSettings.md +20 -6
  38. data/docs/SimilarityMetadata.md +32 -12
  39. data/docs/SimilarityMetadataAllOf.md +28 -0
  40. data/docs/SimilarityMetadataAllOfTopMatches.md +30 -0
  41. data/docs/SimilarityPutRequest.md +18 -5
  42. data/docs/SimilarityScoreData.md +20 -6
  43. data/docs/SimilaritySettings.md +18 -5
  44. data/docs/SimilaritySettingsModes.md +16 -4
  45. data/docs/SimilaritySettingsViewSettings.md +14 -3
  46. data/docs/SimilarityViewSettings.md +38 -15
  47. data/docs/SimilarityViewerUrlResponse.md +14 -3
  48. data/docs/SimilarityViewerUrlSettings.md +30 -10
  49. data/docs/SimpleSubmissionResponse.md +22 -2
  50. data/docs/SimpleSubmissionResponseAllOf.md +26 -0
  51. data/docs/Submission.md +34 -2
  52. data/docs/SubmissionAllOf.md +38 -0
  53. data/docs/SubmissionApi.md +203 -112
  54. data/docs/SubmissionBase.md +30 -11
  55. data/docs/SubmissionBaseMetadata.md +24 -8
  56. data/docs/SubmissionCompleteWebhookRequest.md +40 -0
  57. data/docs/SubmissionCompleteWebhookRequestAllOf.md +18 -0
  58. data/docs/SubmissionCompleteWebhookRequestAllOfMetadata.md +18 -0
  59. data/docs/SubmissionSizeError.md +16 -4
  60. data/docs/SuccessMessage.md +14 -3
  61. data/docs/Users.md +20 -6
  62. data/docs/ViewerPermissions.md +22 -7
  63. data/docs/Webhook.md +24 -6
  64. data/docs/WebhookAllOf.md +20 -0
  65. data/docs/WebhookApi.md +193 -103
  66. data/docs/WebhookBase.md +20 -6
  67. data/docs/WebhookPathRequest.md +16 -4
  68. data/docs/WebhookWithSecret.md +22 -6
  69. data/docs/WebhookWithSecretAllOf.md +18 -0
  70. data/lib/tca_client/api/eula_api.rb +96 -63
  71. data/lib/tca_client/api/features_api.rb +21 -12
  72. data/lib/tca_client/api/groups_api.rb +225 -155
  73. data/lib/tca_client/api/index_api.rb +46 -27
  74. data/lib/tca_client/api/similarity_api.rb +165 -104
  75. data/lib/tca_client/api/submission_api.rb +140 -97
  76. data/lib/tca_client/api/webhook_api.rb +120 -77
  77. data/lib/tca_client/api_client.rb +61 -57
  78. data/lib/tca_client/api_error.rb +4 -4
  79. data/lib/tca_client/configuration.rb +93 -13
  80. data/lib/tca_client/models/add_group_attachment_request.rb +50 -13
  81. data/lib/tca_client/models/add_group_attachment_response.rb +25 -12
  82. data/lib/tca_client/models/aggregate_group.rb +34 -21
  83. data/lib/tca_client/models/annotations_settings.rb +220 -0
  84. data/lib/tca_client/models/author_metadata_override.rb +26 -13
  85. data/lib/tca_client/models/error.rb +26 -13
  86. data/lib/tca_client/models/eula.rb +27 -14
  87. data/lib/tca_client/models/eula_accept_list_item.rb +28 -15
  88. data/lib/tca_client/models/eula_accept_request.rb +28 -15
  89. data/lib/tca_client/models/eula_version.rb +29 -16
  90. data/lib/tca_client/models/features_enabled.rb +28 -15
  91. data/lib/tca_client/models/features_generation_settings.rb +26 -13
  92. data/lib/tca_client/models/features_similarity.rb +27 -14
  93. data/lib/tca_client/models/features_similarity_view_settings.rb +37 -24
  94. data/lib/tca_client/models/features_tenant.rb +25 -12
  95. data/lib/tca_client/models/features_viewer_modes.rb +26 -13
  96. data/lib/tca_client/models/generate_similarity_pdf.rb +254 -0
  97. data/lib/tca_client/models/{inline_response_200.rb → get_group_attachments200_response.rb} +28 -15
  98. data/lib/tca_client/models/group.rb +29 -16
  99. data/lib/tca_client/models/group_attachment_response.rb +38 -17
  100. data/lib/tca_client/models/group_context.rb +27 -14
  101. data/lib/tca_client/models/index_state_settings.rb +25 -12
  102. data/lib/tca_client/models/indexing_settings.rb +25 -12
  103. data/lib/tca_client/models/pdf_status_response.rb +27 -14
  104. data/lib/tca_client/models/pdf_status_webhook_request.rb +283 -0
  105. data/lib/tca_client/models/rate_limit_error.rb +36 -20
  106. data/lib/tca_client/models/request_pdf_response.rb +25 -12
  107. data/lib/tca_client/models/sidebar.rb +27 -14
  108. data/lib/tca_client/models/similarity_complete_webhook_request.rb +366 -0
  109. data/lib/tca_client/models/similarity_generation_settings.rb +30 -17
  110. data/lib/tca_client/models/similarity_metadata.rb +45 -28
  111. data/lib/tca_client/models/similarity_metadata_all_of.rb +301 -0
  112. data/lib/tca_client/models/{similarity_metadata_top_matches.rb → similarity_metadata_all_of_top_matches.rb} +34 -21
  113. data/lib/tca_client/models/similarity_put_request.rb +27 -14
  114. data/lib/tca_client/models/similarity_score_data.rb +28 -15
  115. data/lib/tca_client/models/similarity_settings.rb +29 -16
  116. data/lib/tca_client/models/similarity_settings_modes.rb +26 -13
  117. data/lib/tca_client/models/similarity_settings_view_settings.rb +25 -12
  118. data/lib/tca_client/models/similarity_view_settings.rb +37 -24
  119. data/lib/tca_client/models/similarity_viewer_url_response.rb +25 -12
  120. data/lib/tca_client/models/similarity_viewer_url_settings.rb +46 -24
  121. data/lib/tca_client/models/simple_submission_response.rb +117 -13
  122. data/lib/tca_client/models/simple_submission_response_all_of.rb +294 -0
  123. data/lib/tca_client/models/submission.rb +191 -13
  124. data/lib/tca_client/models/submission_all_of.rb +368 -0
  125. data/lib/tca_client/models/submission_base.rb +82 -23
  126. data/lib/tca_client/models/submission_base_metadata.rb +30 -17
  127. data/lib/tca_client/models/submission_complete_webhook_request.rb +385 -0
  128. data/lib/tca_client/models/submission_complete_webhook_request_all_of.rb +219 -0
  129. data/lib/tca_client/models/submission_complete_webhook_request_all_of_metadata.rb +219 -0
  130. data/lib/tca_client/models/submission_size_error.rb +36 -20
  131. data/lib/tca_client/models/success_message.rb +25 -12
  132. data/lib/tca_client/models/users.rb +28 -15
  133. data/lib/tca_client/models/viewer_permissions.rb +29 -16
  134. data/lib/tca_client/models/webhook.rb +62 -16
  135. data/lib/tca_client/models/webhook_all_of.rb +235 -0
  136. data/lib/tca_client/models/webhook_base.rb +28 -15
  137. data/lib/tca_client/models/webhook_path_request.rb +26 -13
  138. data/lib/tca_client/models/webhook_with_secret.rb +52 -16
  139. data/lib/tca_client/models/webhook_with_secret_all_of.rb +225 -0
  140. data/lib/tca_client/version.rb +5 -4
  141. data/lib/tca_client.rb +18 -5
  142. data/spec/api/submission_api_spec.rb +2 -2
  143. data/tca_client-1.0.0.gem +0 -0
  144. data/tca_client-1.0.1.gem +0 -0
  145. data/tca_client.gemspec +7 -7
  146. metadata +44 -38
  147. data/docs/InlineResponse200.md +0 -7
  148. data/docs/SimilarityMetadataTopMatches.md +0 -13
@@ -1,16 +1,36 @@
1
1
  # TCAClient::SimilarityMetadata
2
2
 
3
3
  ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **overall_match_percentage** | **Integer** | Represents the percentage match against all sources |
7
- **internet_match_percentage** | **Integer** | Represents the percentage match against internet | [optional]
8
- **publication_match_percentage** | **Integer** | Represents the percentage match against all publications | [optional]
9
- **submitted_works_match_percentage** | **Integer** | Represents the percentage match against all submitted works | [optional]
10
- **submission_id** | **String** | |
11
- **status** | **String** | possible values PENDING, COMPLETE |
12
- **time_generated** | **String** | Time the report finished generating. If not set the report has not finished generating |
13
- **time_requested** | **String** | Time the report was requested |
14
- **top_matches** | [**Array<SimilarityMetadataTopMatches>**](SimilarityMetadataTopMatches.md) | Top matches |
15
- **top_source_largest_matched_word_count** | **Integer** | Largest individual matched word count, 0 if there isn't a match to this submission. |
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **overall_match_percentage** | **Integer** | Represents the percentage match against all sources | |
8
+ | **internet_match_percentage** | **Integer** | Represents the percentage match against internet | [optional] |
9
+ | **publication_match_percentage** | **Integer** | Represents the percentage match against all publications | [optional] |
10
+ | **submitted_works_match_percentage** | **Integer** | Represents the percentage match against all submitted works | [optional] |
11
+ | **submission_id** | **String** | | |
12
+ | **status** | **String** | possible values PENDING, COMPLETE | |
13
+ | **time_generated** | **String** | Time the report finished generating. If not set the report has not finished generating | |
14
+ | **time_requested** | **String** | Time the report was requested | |
15
+ | **top_matches** | [**Array<SimilarityMetadataAllOfTopMatches>**](SimilarityMetadataAllOfTopMatches.md) | Top matches | |
16
+ | **top_source_largest_matched_word_count** | **Integer** | Largest individual matched word count, 0 if there isn't a match to this submission. | |
17
+
18
+ ## Example
19
+
20
+ ```ruby
21
+ require 'tca_client'
22
+
23
+ instance = TCAClient::SimilarityMetadata.new(
24
+ overall_match_percentage: null,
25
+ internet_match_percentage: null,
26
+ publication_match_percentage: null,
27
+ submitted_works_match_percentage: null,
28
+ submission_id: null,
29
+ status: null,
30
+ time_generated: null,
31
+ time_requested: null,
32
+ top_matches: null,
33
+ top_source_largest_matched_word_count: null
34
+ )
35
+ ```
16
36
 
@@ -0,0 +1,28 @@
1
+ # TCAClient::SimilarityMetadataAllOf
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **submission_id** | **String** | | |
8
+ | **status** | **String** | possible values PENDING, COMPLETE | |
9
+ | **time_generated** | **String** | Time the report finished generating. If not set the report has not finished generating | |
10
+ | **time_requested** | **String** | Time the report was requested | |
11
+ | **top_matches** | [**Array<SimilarityMetadataAllOfTopMatches>**](SimilarityMetadataAllOfTopMatches.md) | Top matches | |
12
+ | **top_source_largest_matched_word_count** | **Integer** | Largest individual matched word count, 0 if there isn't a match to this submission. | |
13
+
14
+ ## Example
15
+
16
+ ```ruby
17
+ require 'tca_client'
18
+
19
+ instance = TCAClient::SimilarityMetadataAllOf.new(
20
+ submission_id: null,
21
+ status: null,
22
+ time_generated: null,
23
+ time_requested: null,
24
+ top_matches: null,
25
+ top_source_largest_matched_word_count: null
26
+ )
27
+ ```
28
+
@@ -0,0 +1,30 @@
1
+ # TCAClient::SimilarityMetadataAllOfTopMatches
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **name** | **String** | Source name | [optional] |
8
+ | **percentage** | **Float** | Match percentage | [optional] |
9
+ | **submission_id** | **String** | Matching submission id | [optional] |
10
+ | **source_type** | **String** | Matching submission source type (INTERNET, PUBLICATION, SUBMITTED_WORK) | [optional] |
11
+ | **matched_word_count_total** | **Float** | number of matching words | [optional] |
12
+ | **submitted_date** | **String** | date match was submitted | [optional] |
13
+ | **institution_name** | **String** | intitution name for matched SUBMITTED_WORK types | [optional] |
14
+
15
+ ## Example
16
+
17
+ ```ruby
18
+ require 'tca_client'
19
+
20
+ instance = TCAClient::SimilarityMetadataAllOfTopMatches.new(
21
+ name: null,
22
+ percentage: null,
23
+ submission_id: null,
24
+ source_type: null,
25
+ matched_word_count_total: null,
26
+ submitted_date: null,
27
+ institution_name: null
28
+ )
29
+ ```
30
+
@@ -1,9 +1,22 @@
1
1
  # TCAClient::SimilarityPutRequest
2
2
 
3
3
  ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **indexing_settings** | [**IndexingSettings**](IndexingSettings.md) | | [optional]
7
- **generation_settings** | [**SimilarityGenerationSettings**](SimilarityGenerationSettings.md) | |
8
- **view_settings** | [**SimilarityViewSettings**](SimilarityViewSettings.md) | | [optional]
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **indexing_settings** | [**IndexingSettings**](IndexingSettings.md) | | [optional] |
8
+ | **generation_settings** | [**SimilarityGenerationSettings**](SimilarityGenerationSettings.md) | | |
9
+ | **view_settings** | [**SimilarityViewSettings**](SimilarityViewSettings.md) | | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'tca_client'
15
+
16
+ instance = TCAClient::SimilarityPutRequest.new(
17
+ indexing_settings: null,
18
+ generation_settings: null,
19
+ view_settings: null
20
+ )
21
+ ```
9
22
 
@@ -1,10 +1,24 @@
1
1
  # TCAClient::SimilarityScoreData
2
2
 
3
3
  ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **overall_match_percentage** | **Integer** | Represents the percentage match against all sources |
7
- **internet_match_percentage** | **Integer** | Represents the percentage match against internet | [optional]
8
- **publication_match_percentage** | **Integer** | Represents the percentage match against all publications | [optional]
9
- **submitted_works_match_percentage** | **Integer** | Represents the percentage match against all submitted works | [optional]
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **overall_match_percentage** | **Integer** | Represents the percentage match against all sources | |
8
+ | **internet_match_percentage** | **Integer** | Represents the percentage match against internet | [optional] |
9
+ | **publication_match_percentage** | **Integer** | Represents the percentage match against all publications | [optional] |
10
+ | **submitted_works_match_percentage** | **Integer** | Represents the percentage match against all submitted works | [optional] |
11
+
12
+ ## Example
13
+
14
+ ```ruby
15
+ require 'tca_client'
16
+
17
+ instance = TCAClient::SimilarityScoreData.new(
18
+ overall_match_percentage: null,
19
+ internet_match_percentage: null,
20
+ publication_match_percentage: null,
21
+ submitted_works_match_percentage: null
22
+ )
23
+ ```
10
24
 
@@ -1,9 +1,22 @@
1
1
  # TCAClient::SimilaritySettings
2
2
 
3
3
  ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **default_mode** | **String** | default similarity mode when viewing a report; set to either match_overview or all_sources | [optional]
7
- **modes** | [**SimilaritySettingsModes**](SimilaritySettingsModes.md) | | [optional]
8
- **view_settings** | [**SimilaritySettingsViewSettings**](SimilaritySettingsViewSettings.md) | | [optional]
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **default_mode** | **String** | default similarity mode when viewing a report; set to either match_overview or all_sources | [optional] |
8
+ | **modes** | [**SimilaritySettingsModes**](SimilaritySettingsModes.md) | | [optional] |
9
+ | **view_settings** | [**SimilaritySettingsViewSettings**](SimilaritySettingsViewSettings.md) | | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'tca_client'
15
+
16
+ instance = TCAClient::SimilaritySettings.new(
17
+ default_mode: null,
18
+ modes: null,
19
+ view_settings: null
20
+ )
21
+ ```
9
22
 
@@ -1,8 +1,20 @@
1
1
  # TCAClient::SimilaritySettingsModes
2
2
 
3
3
  ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **match_overview** | **BOOLEAN** | Used to enable use of the match overview mode in the viewer | [optional]
7
- **all_sources** | **BOOLEAN** | Used to enable use of the all sources mode in the viewer | [optional]
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **match_overview** | **Boolean** | Used to enable use of the match overview mode in the viewer | [optional] |
8
+ | **all_sources** | **Boolean** | Used to enable use of the all sources mode in the viewer | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'tca_client'
14
+
15
+ instance = TCAClient::SimilaritySettingsModes.new(
16
+ match_overview: null,
17
+ all_sources: null
18
+ )
19
+ ```
8
20
 
@@ -1,7 +1,18 @@
1
1
  # TCAClient::SimilaritySettingsViewSettings
2
2
 
3
3
  ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **save_changes** | **BOOLEAN** | Used to enable save changes in the Viewer and trigger SIMILARITY_UPDATED webhook callback | [optional]
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **save_changes** | **Boolean** | Used to enable save changes in the Viewer and trigger SIMILARITY_UPDATED webhook callback | [optional] |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'tca_client'
13
+
14
+ instance = TCAClient::SimilaritySettingsViewSettings.new(
15
+ save_changes: null
16
+ )
17
+ ```
7
18
 
@@ -1,19 +1,42 @@
1
1
  # TCAClient::SimilarityViewSettings
2
2
 
3
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** | **Integer** | 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]
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **exclude_quotes** | **Boolean** | If set to true, text in quotes will not count as similar content | [optional] |
8
+ | **exclude_bibliography** | **Boolean** | If set to true, text in a bibliography section will not count as similar content | [optional] |
9
+ | **exclude_citations** | **Boolean** | If set to true, text in citations will not count as similar content | [optional] |
10
+ | **exclude_abstract** | **Boolean** | If set to true, text in the abstract section of the submission will not count as similar content | [optional] |
11
+ | **exclude_methods** | **Boolean** | If set to true, text in the method section of the submission will not count as similar content | [optional] |
12
+ | **exclude_small_matches** | **Integer** | If set, similarity matches that match less than the specified amount of words will not count as similar content | [optional] |
13
+ | **exclude_internet** | **Boolean** | If set to true, text matched to the internet collection will not count as similar content | [optional] |
14
+ | **exclude_publications** | **Boolean** | If set to true, text matched to the publications collection will not count as similar content | [optional] |
15
+ | **exclude_crossref** | **Boolean** | If set to true, text matched to the Crossref collection will not count as similar content | [optional] |
16
+ | **exclude_crossref_posted_content** | **Boolean** | If set to true, text matched to the Crossref Posted Content collection will not count as similar content | [optional] |
17
+ | **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] |
18
+ | **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] |
19
+ | **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] |
20
+
21
+ ## Example
22
+
23
+ ```ruby
24
+ require 'tca_client'
25
+
26
+ instance = TCAClient::SimilarityViewSettings.new(
27
+ exclude_quotes: true,
28
+ exclude_bibliography: true,
29
+ exclude_citations: true,
30
+ exclude_abstract: true,
31
+ exclude_methods: true,
32
+ exclude_small_matches: 4,
33
+ exclude_internet: true,
34
+ exclude_publications: true,
35
+ exclude_crossref: true,
36
+ exclude_crossref_posted_content: true,
37
+ exclude_submitted_works: true,
38
+ exclude_custom_sections: true,
39
+ exclude_preprints: true
40
+ )
41
+ ```
19
42
 
@@ -1,7 +1,18 @@
1
1
  # TCAClient::SimilarityViewerUrlResponse
2
2
 
3
3
  ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **viewer_url** | **String** | URL to be used to access Cloud Viewer visualization of similarity report matches | [optional]
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **viewer_url** | **String** | URL to be used to access Cloud Viewer visualization of similarity report matches | [optional] |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'tca_client'
13
+
14
+ instance = TCAClient::SimilarityViewerUrlResponse.new(
15
+ viewer_url: null
16
+ )
17
+ ```
7
18
 
@@ -1,14 +1,34 @@
1
1
  # TCAClient::SimilarityViewerUrlSettings
2
2
 
3
3
  ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
6
- **author_metadata_override** | [**AuthorMetadataOverride**](AuthorMetadataOverride.md) | | [optional]
7
- **viewer_user_id** | **String** | viewer's user ID | [optional]
8
- **locale** | **String** | two character locale language setting (e.g. 'en' or 'de') or full value | [optional]
9
- **viewer_default_permission_set** | **String** | Default viewer permission set, accepts INSTRUCTOR, LEARNER, EDITOR, USER, APPLICANT, ADMINISTRATOR, UNDEFINED | [optional]
10
- **viewer_permissions** | [**ViewerPermissions**](ViewerPermissions.md) | | [optional]
11
- **eula** | [**Eula**](Eula.md) | | [optional]
12
- **sidebar** | [**Sidebar**](Sidebar.md) | | [optional]
13
- **similarity** | [**SimilaritySettings**](SimilaritySettings.md) | | [optional]
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **author_metadata_override** | [**AuthorMetadataOverride**](AuthorMetadataOverride.md) | | [optional] |
8
+ | **viewer_user_id** | **String** | viewer's user ID | [optional] |
9
+ | **locale** | **String** | two character locale language setting (e.g. 'en' or 'de') or full value | [optional] |
10
+ | **viewer_default_permission_set** | **String** | Default viewer permission set, accepts INSTRUCTOR, LEARNER, EDITOR, USER, APPLICANT, ADMINISTRATOR, UNDEFINED | [optional] |
11
+ | **viewer_permissions** | [**ViewerPermissions**](ViewerPermissions.md) | | [optional] |
12
+ | **eula** | [**Eula**](Eula.md) | | [optional] |
13
+ | **sidebar** | [**Sidebar**](Sidebar.md) | | [optional] |
14
+ | **similarity** | [**SimilaritySettings**](SimilaritySettings.md) | | [optional] |
15
+ | **annotations** | [**AnnotationsSettings**](AnnotationsSettings.md) | | [optional] |
16
+
17
+ ## Example
18
+
19
+ ```ruby
20
+ require 'tca_client'
21
+
22
+ instance = TCAClient::SimilarityViewerUrlSettings.new(
23
+ author_metadata_override: null,
24
+ viewer_user_id: null,
25
+ locale: null,
26
+ viewer_default_permission_set: null,
27
+ viewer_permissions: null,
28
+ eula: null,
29
+ sidebar: null,
30
+ similarity: null,
31
+ annotations: null
32
+ )
33
+ ```
14
34
 
@@ -1,6 +1,26 @@
1
1
  # TCAClient::SimpleSubmissionResponse
2
2
 
3
3
  ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | the unique ID of the submission | [optional] |
8
+ | **owner** | **String** | the owner of the submission | [optional] |
9
+ | **title** | **String** | the title of the submission | [optional] |
10
+ | **status** | **String** | the current status of the Submission | [optional] |
11
+ | **created_time** | **Time** | RFC3339 timestamp of when this submission was initially created. This is the time at which the POST to /submissions was made. | [optional] |
12
+
13
+ ## Example
14
+
15
+ ```ruby
16
+ require 'tca_client'
17
+
18
+ instance = TCAClient::SimpleSubmissionResponse.new(
19
+ id: null,
20
+ owner: null,
21
+ title: null,
22
+ status: null,
23
+ created_time: null
24
+ )
25
+ ```
6
26
 
@@ -0,0 +1,26 @@
1
+ # TCAClient::SimpleSubmissionResponseAllOf
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | the unique ID of the submission | [optional] |
8
+ | **owner** | **String** | the owner of the submission | [optional] |
9
+ | **title** | **String** | the title of the submission | [optional] |
10
+ | **status** | **String** | the current status of the Submission | [optional] |
11
+ | **created_time** | **Time** | RFC3339 timestamp of when this submission was initially created. This is the time at which the POST to /submissions was made. | [optional] |
12
+
13
+ ## Example
14
+
15
+ ```ruby
16
+ require 'tca_client'
17
+
18
+ instance = TCAClient::SimpleSubmissionResponseAllOf.new(
19
+ id: null,
20
+ owner: null,
21
+ title: null,
22
+ status: null,
23
+ created_time: null
24
+ )
25
+ ```
26
+
data/docs/Submission.md CHANGED
@@ -1,6 +1,38 @@
1
1
  # TCAClient::Submission
2
2
 
3
3
  ## Properties
4
- Name | Type | Description | Notes
5
- ------------ | ------------- | ------------- | -------------
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **owner** | **String** | the owner of the submission | [optional] |
8
+ | **title** | **String** | the title of the submission | [optional] |
9
+ | **status** | **String** | the current status of the Submission | [optional] |
10
+ | **id** | **String** | the unique ID of the submission | [optional] |
11
+ | **content_type** | **String** | the content type of the submission | [optional] |
12
+ | **page_count** | **Integer** | the number of pages in the submission | [optional] |
13
+ | **word_count** | **Integer** | the number of words in the submission | [optional] |
14
+ | **character_count** | **Integer** | the number of characters in the submission | [optional] |
15
+ | **error_code** | **String** | an error code representing the type of error encountered (if applicable) | [optional] |
16
+ | **created_time** | **Time** | RFC3339 timestamp of when this submission was initially created. This is the time at which the POST to /submissions was made. | [optional] |
17
+ | **capabilities** | **Array<String>** | Set of capabilities available to the current submission | [optional] |
18
+
19
+ ## Example
20
+
21
+ ```ruby
22
+ require 'tca_client'
23
+
24
+ instance = TCAClient::Submission.new(
25
+ owner: null,
26
+ title: null,
27
+ status: null,
28
+ id: null,
29
+ content_type: null,
30
+ page_count: null,
31
+ word_count: null,
32
+ character_count: null,
33
+ error_code: null,
34
+ created_time: null,
35
+ capabilities: null
36
+ )
37
+ ```
6
38
 
@@ -0,0 +1,38 @@
1
+ # TCAClient::SubmissionAllOf
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **owner** | **String** | the owner of the submission | [optional] |
8
+ | **title** | **String** | the title of the submission | [optional] |
9
+ | **status** | **String** | the current status of the Submission | [optional] |
10
+ | **id** | **String** | the unique ID of the submission | [optional] |
11
+ | **content_type** | **String** | the content type of the submission | [optional] |
12
+ | **page_count** | **Integer** | the number of pages in the submission | [optional] |
13
+ | **word_count** | **Integer** | the number of words in the submission | [optional] |
14
+ | **character_count** | **Integer** | the number of characters in the submission | [optional] |
15
+ | **error_code** | **String** | an error code representing the type of error encountered (if applicable) | [optional] |
16
+ | **created_time** | **Time** | RFC3339 timestamp of when this submission was initially created. This is the time at which the POST to /submissions was made. | [optional] |
17
+ | **capabilities** | **Array<String>** | Set of capabilities available to the current submission | [optional] |
18
+
19
+ ## Example
20
+
21
+ ```ruby
22
+ require 'tca_client'
23
+
24
+ instance = TCAClient::SubmissionAllOf.new(
25
+ owner: null,
26
+ title: null,
27
+ status: null,
28
+ id: null,
29
+ content_type: null,
30
+ page_count: null,
31
+ word_count: null,
32
+ character_count: null,
33
+ error_code: null,
34
+ created_time: null,
35
+ capabilities: null
36
+ )
37
+ ```
38
+