Skip to content

Commit

Permalink
Deploying from phrase/openapi@7aa3b9b5
Browse files Browse the repository at this point in the history
  • Loading branch information
Phrase committed Jan 6, 2025
1 parent 0cdb7e8 commit 1b0651a
Show file tree
Hide file tree
Showing 28 changed files with 204 additions and 204 deletions.
36 changes: 18 additions & 18 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -174,13 +174,13 @@ docs/ProjectReport.md
docs/ProjectShort.md
docs/ProjectUpdateParameters.md
docs/ProjectsApi.md
docs/ProjectsQualityPerformanceScore200Response.md
docs/ProjectsQualityPerformanceScore200ResponseAnyOf.md
docs/ProjectsQualityPerformanceScore200ResponseAnyOfData.md
docs/ProjectsQualityPerformanceScore200ResponseAnyOfDataTranslationsInner.md
docs/ProjectsQualityPerformanceScore200ResponseAnyOfErrorsInner.md
docs/ProjectsQualityPerformanceScoreRequest.md
docs/QualityPerformanceScoreApi.md
docs/QualityPerformanceScoreList200Response.md
docs/QualityPerformanceScoreList200ResponseAnyOf.md
docs/QualityPerformanceScoreList200ResponseAnyOfData.md
docs/QualityPerformanceScoreList200ResponseAnyOfDataTranslationsInner.md
docs/QualityPerformanceScoreList200ResponseAnyOfErrorsInner.md
docs/QualityPerformanceScoreListRequest.md
docs/Release.md
docs/ReleaseCreateParameters.md
docs/ReleaseCreateParameters1.md
Expand Down Expand Up @@ -464,12 +464,12 @@ lib/phrase/models/project_locales.rb
lib/phrase/models/project_report.rb
lib/phrase/models/project_short.rb
lib/phrase/models/project_update_parameters.rb
lib/phrase/models/projects_quality_performance_score200_response.rb
lib/phrase/models/projects_quality_performance_score200_response_any_of.rb
lib/phrase/models/projects_quality_performance_score200_response_any_of_data.rb
lib/phrase/models/projects_quality_performance_score200_response_any_of_data_translations_inner.rb
lib/phrase/models/projects_quality_performance_score200_response_any_of_errors_inner.rb
lib/phrase/models/projects_quality_performance_score_request.rb
lib/phrase/models/quality_performance_score_list200_response.rb
lib/phrase/models/quality_performance_score_list200_response_any_of.rb
lib/phrase/models/quality_performance_score_list200_response_any_of_data.rb
lib/phrase/models/quality_performance_score_list200_response_any_of_data_translations_inner.rb
lib/phrase/models/quality_performance_score_list200_response_any_of_errors_inner.rb
lib/phrase/models/quality_performance_score_list_request.rb
lib/phrase/models/release.rb
lib/phrase/models/release_create_parameters.rb
lib/phrase/models/release_create_parameters1.rb
Expand Down Expand Up @@ -731,12 +731,12 @@ spec/models/project_report_spec.rb
spec/models/project_short_spec.rb
spec/models/project_spec.rb
spec/models/project_update_parameters_spec.rb
spec/models/projects_quality_performance_score200_response_any_of_data_spec.rb
spec/models/projects_quality_performance_score200_response_any_of_data_translations_inner_spec.rb
spec/models/projects_quality_performance_score200_response_any_of_errors_inner_spec.rb
spec/models/projects_quality_performance_score200_response_any_of_spec.rb
spec/models/projects_quality_performance_score200_response_spec.rb
spec/models/projects_quality_performance_score_request_spec.rb
spec/models/quality_performance_score_list200_response_any_of_data_spec.rb
spec/models/quality_performance_score_list200_response_any_of_data_translations_inner_spec.rb
spec/models/quality_performance_score_list200_response_any_of_errors_inner_spec.rb
spec/models/quality_performance_score_list200_response_any_of_spec.rb
spec/models/quality_performance_score_list200_response_spec.rb
spec/models/quality_performance_score_list_request_spec.rb
spec/models/release_create_parameters1_spec.rb
spec/models/release_create_parameters_spec.rb
spec/models/release_preview_spec.rb
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ Class | Method | HTTP request | Description
*Phrase::ProjectsApi* | [**project_show**](docs/ProjectsApi.md#project_show) | **GET** /projects/{id} | Get a single project
*Phrase::ProjectsApi* | [**project_update**](docs/ProjectsApi.md#project_update) | **PATCH** /projects/{id} | Update a project
*Phrase::ProjectsApi* | [**projects_list**](docs/ProjectsApi.md#projects_list) | **GET** /projects | List projects
*Phrase::QualityPerformanceScoreApi* | [**projects_quality_performance_score**](docs/QualityPerformanceScoreApi.md#projects_quality_performance_score) | **POST** /projects/{project_id}/quality_performance_score | Get Translation Quality
*Phrase::QualityPerformanceScoreApi* | [**quality_performance_score_list**](docs/QualityPerformanceScoreApi.md#quality_performance_score_list) | **POST** /projects/{project_id}/quality_performance_score | Get Translation Quality
*Phrase::ReleaseTriggersApi* | [**release_triggers_create**](docs/ReleaseTriggersApi.md#release_triggers_create) | **POST** /accounts/{account_id}/distributions/{distribution_id}/release_triggers | Create a release trigger
*Phrase::ReleaseTriggersApi* | [**release_triggers_destroy**](docs/ReleaseTriggersApi.md#release_triggers_destroy) | **DELETE** /accounts/{account_id}/distributions/{distribution_id}/release_triggers/{id} | Delete a single release trigger
*Phrase::ReleaseTriggersApi* | [**release_triggers_list**](docs/ReleaseTriggersApi.md#release_triggers_list) | **GET** /accounts/{account_id}/distributions/{distribution_id}/release_triggers | List release triggers
Expand Down Expand Up @@ -534,12 +534,12 @@ Class | Method | HTTP request | Description
- [Phrase::ProjectReport](docs/ProjectReport.md)
- [Phrase::ProjectShort](docs/ProjectShort.md)
- [Phrase::ProjectUpdateParameters](docs/ProjectUpdateParameters.md)
- [Phrase::ProjectsQualityPerformanceScore200Response](docs/ProjectsQualityPerformanceScore200Response.md)
- [Phrase::ProjectsQualityPerformanceScore200ResponseAnyOf](docs/ProjectsQualityPerformanceScore200ResponseAnyOf.md)
- [Phrase::ProjectsQualityPerformanceScore200ResponseAnyOfData](docs/ProjectsQualityPerformanceScore200ResponseAnyOfData.md)
- [Phrase::ProjectsQualityPerformanceScore200ResponseAnyOfDataTranslationsInner](docs/ProjectsQualityPerformanceScore200ResponseAnyOfDataTranslationsInner.md)
- [Phrase::ProjectsQualityPerformanceScore200ResponseAnyOfErrorsInner](docs/ProjectsQualityPerformanceScore200ResponseAnyOfErrorsInner.md)
- [Phrase::ProjectsQualityPerformanceScoreRequest](docs/ProjectsQualityPerformanceScoreRequest.md)
- [Phrase::QualityPerformanceScoreList200Response](docs/QualityPerformanceScoreList200Response.md)
- [Phrase::QualityPerformanceScoreList200ResponseAnyOf](docs/QualityPerformanceScoreList200ResponseAnyOf.md)
- [Phrase::QualityPerformanceScoreList200ResponseAnyOfData](docs/QualityPerformanceScoreList200ResponseAnyOfData.md)
- [Phrase::QualityPerformanceScoreList200ResponseAnyOfDataTranslationsInner](docs/QualityPerformanceScoreList200ResponseAnyOfDataTranslationsInner.md)
- [Phrase::QualityPerformanceScoreList200ResponseAnyOfErrorsInner](docs/QualityPerformanceScoreList200ResponseAnyOfErrorsInner.md)
- [Phrase::QualityPerformanceScoreListRequest](docs/QualityPerformanceScoreListRequest.md)
- [Phrase::Release](docs/Release.md)
- [Phrase::ReleaseCreateParameters](docs/ReleaseCreateParameters.md)
- [Phrase::ReleaseCreateParameters1](docs/ReleaseCreateParameters1.md)
Expand Down
21 changes: 0 additions & 21 deletions docs/ProjectsQualityPerformanceScore200Response.md

This file was deleted.

19 changes: 0 additions & 19 deletions docs/ProjectsQualityPerformanceScore200ResponseAnyOf.md

This file was deleted.

17 changes: 0 additions & 17 deletions docs/ProjectsQualityPerformanceScore200ResponseAnyOfData.md

This file was deleted.

16 changes: 8 additions & 8 deletions docs/QualityPerformanceScoreApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ All URIs are relative to *https://api.phrase.com/v2*

Method | HTTP request | Description
------------- | ------------- | -------------
[**projects_quality_performance_score**](QualityPerformanceScoreApi.md#projects_quality_performance_score) | **POST** /projects/{project_id}/quality_performance_score | Get Translation Quality
[**quality_performance_score_list**](QualityPerformanceScoreApi.md#quality_performance_score_list) | **POST** /projects/{project_id}/quality_performance_score | Get Translation Quality



## projects_quality_performance_score
## quality_performance_score_list

> ProjectsQualityPerformanceScore200Response projects_quality_performance_score(project_id, projects_quality_performance_score_request, opts)
> QualityPerformanceScoreList200Response quality_performance_score_list(project_id, quality_performance_score_list_request, opts)
Get Translation Quality

Expand All @@ -34,17 +34,17 @@ end

api_instance = Phrase::QualityPerformanceScoreApi.new
project_id = 'project_id_example' # String | Project ID
projects_quality_performance_score_request = Phrase::ProjectsQualityPerformanceScoreRequest.new # ProjectsQualityPerformanceScoreRequest |
quality_performance_score_list_request = Phrase::QualityPerformanceScoreListRequest.new # QualityPerformanceScoreListRequest |
opts = {
x_phrase_app_otp: 'x_phrase_app_otp_example' # String | Two-Factor-Authentication token (optional)
}

begin
#Get Translation Quality
result = api_instance.projects_quality_performance_score(project_id, projects_quality_performance_score_request, opts)
result = api_instance.quality_performance_score_list(project_id, quality_performance_score_list_request, opts)
pp result
rescue Phrase::ApiError => e
puts "Exception when calling QualityPerformanceScoreApi->projects_quality_performance_score: #{e}"
puts "Exception when calling QualityPerformanceScoreApi->quality_performance_score_list: #{e}"
end
```

Expand All @@ -54,12 +54,12 @@ end
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**project_id** | **String**| Project ID |
**projects_quality_performance_score_request** | [**ProjectsQualityPerformanceScoreRequest**](ProjectsQualityPerformanceScoreRequest.md)| |
**quality_performance_score_list_request** | [**QualityPerformanceScoreListRequest**](QualityPerformanceScoreListRequest.md)| |
**x_phrase_app_otp** | **String**| Two-Factor-Authentication token (optional) | [optional]

### Return type

Response<([**ProjectsQualityPerformanceScore200Response**](ProjectsQualityPerformanceScore200Response.md))>
Response<([**QualityPerformanceScoreList200Response**](QualityPerformanceScoreList200Response.md))>

### Authorization

Expand Down
21 changes: 21 additions & 0 deletions docs/QualityPerformanceScoreList200Response.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Phrase::QualityPerformanceScoreList200Response

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**error** | [**ErrorError**](ErrorError.md) | | [optional]
**data** | [**QualityPerformanceScoreList200ResponseAnyOfData**](QualityPerformanceScoreList200ResponseAnyOfData.md) | | [optional]
**errors** | [**Array&lt;QualityPerformanceScoreList200ResponseAnyOfErrorsInner&gt;**](QualityPerformanceScoreList200ResponseAnyOfErrorsInner.md) | Array of errors for any failing translation IDs | [optional]

## Code Sample

```ruby
require 'Phrase'

instance = Phrase::QualityPerformanceScoreList200Response.new(error: null,
data: null,
errors: null)
```


19 changes: 19 additions & 0 deletions docs/QualityPerformanceScoreList200ResponseAnyOf.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Phrase::QualityPerformanceScoreList200ResponseAnyOf

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**data** | [**QualityPerformanceScoreList200ResponseAnyOfData**](QualityPerformanceScoreList200ResponseAnyOfData.md) | | [optional]
**errors** | [**Array&lt;QualityPerformanceScoreList200ResponseAnyOfErrorsInner&gt;**](QualityPerformanceScoreList200ResponseAnyOfErrorsInner.md) | Array of errors for any failing translation IDs | [optional]

## Code Sample

```ruby
require 'Phrase'

instance = Phrase::QualityPerformanceScoreList200ResponseAnyOf.new(data: null,
errors: null)
```


17 changes: 17 additions & 0 deletions docs/QualityPerformanceScoreList200ResponseAnyOfData.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Phrase::QualityPerformanceScoreList200ResponseAnyOfData

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**translations** | [**Array&lt;QualityPerformanceScoreList200ResponseAnyOfDataTranslationsInner&gt;**](QualityPerformanceScoreList200ResponseAnyOfDataTranslationsInner.md) | | [optional]

## Code Sample

```ruby
require 'Phrase'

instance = Phrase::QualityPerformanceScoreList200ResponseAnyOfData.new(translations: null)
```


Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Phrase::ProjectsQualityPerformanceScore200ResponseAnyOfDataTranslationsInner
# Phrase::QualityPerformanceScoreList200ResponseAnyOfDataTranslationsInner

## Properties

Expand All @@ -13,7 +13,7 @@ Name | Type | Description | Notes
```ruby
require 'Phrase'

instance = Phrase::ProjectsQualityPerformanceScore200ResponseAnyOfDataTranslationsInner.new(engine: null,
instance = Phrase::QualityPerformanceScoreList200ResponseAnyOfDataTranslationsInner.new(engine: null,
score: null,
id: null)
```
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Phrase::ProjectsQualityPerformanceScore200ResponseAnyOfErrorsInner
# Phrase::QualityPerformanceScoreList200ResponseAnyOfErrorsInner

## Properties

Expand All @@ -13,7 +13,7 @@ Name | Type | Description | Notes
```ruby
require 'Phrase'

instance = Phrase::ProjectsQualityPerformanceScore200ResponseAnyOfErrorsInner.new(message: null,
instance = Phrase::QualityPerformanceScoreList200ResponseAnyOfErrorsInner.new(message: null,
code: null,
id: null)
```
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Phrase::ProjectsQualityPerformanceScoreRequest
# Phrase::QualityPerformanceScoreListRequest

## Properties

Expand All @@ -11,7 +11,7 @@ Name | Type | Description | Notes
```ruby
require 'Phrase'

instance = Phrase::ProjectsQualityPerformanceScoreRequest.new(translation_ids: null)
instance = Phrase::QualityPerformanceScoreListRequest.new(translation_ids: null)
```


12 changes: 6 additions & 6 deletions lib/phrase.rb
Original file line number Diff line number Diff line change
Expand Up @@ -141,12 +141,12 @@
require 'phrase/models/project_report'
require 'phrase/models/project_short'
require 'phrase/models/project_update_parameters'
require 'phrase/models/projects_quality_performance_score200_response'
require 'phrase/models/projects_quality_performance_score200_response_any_of'
require 'phrase/models/projects_quality_performance_score200_response_any_of_data'
require 'phrase/models/projects_quality_performance_score200_response_any_of_data_translations_inner'
require 'phrase/models/projects_quality_performance_score200_response_any_of_errors_inner'
require 'phrase/models/projects_quality_performance_score_request'
require 'phrase/models/quality_performance_score_list200_response'
require 'phrase/models/quality_performance_score_list200_response_any_of'
require 'phrase/models/quality_performance_score_list200_response_any_of_data'
require 'phrase/models/quality_performance_score_list200_response_any_of_data_translations_inner'
require 'phrase/models/quality_performance_score_list200_response_any_of_errors_inner'
require 'phrase/models/quality_performance_score_list_request'
require 'phrase/models/release'
require 'phrase/models/release_create_parameters'
require 'phrase/models/release_create_parameters1'
Expand Down
Loading

0 comments on commit 1b0651a

Please sign in to comment.