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 22fb1c4 commit 6e18651
Show file tree
Hide file tree
Showing 29 changed files with 347 additions and 347 deletions.
36 changes: 18 additions & 18 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -171,13 +171,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 @@ phrase_api/models/project_locales.py
phrase_api/models/project_report.py
phrase_api/models/project_short.py
phrase_api/models/project_update_parameters.py
phrase_api/models/projects_quality_performance_score200_response.py
phrase_api/models/projects_quality_performance_score200_response_any_of.py
phrase_api/models/projects_quality_performance_score200_response_any_of_data.py
phrase_api/models/projects_quality_performance_score200_response_any_of_data_translations_inner.py
phrase_api/models/projects_quality_performance_score200_response_any_of_errors_inner.py
phrase_api/models/projects_quality_performance_score_request.py
phrase_api/models/quality_performance_score_list200_response.py
phrase_api/models/quality_performance_score_list200_response_any_of.py
phrase_api/models/quality_performance_score_list200_response_any_of_data.py
phrase_api/models/quality_performance_score_list200_response_any_of_data_translations_inner.py
phrase_api/models/quality_performance_score_list200_response_any_of_errors_inner.py
phrase_api/models/quality_performance_score_list_request.py
phrase_api/models/release.py
phrase_api/models/release_create_parameters.py
phrase_api/models/release_create_parameters1.py
Expand Down Expand Up @@ -716,13 +716,13 @@ test/test_project_report.py
test/test_project_short.py
test/test_project_update_parameters.py
test/test_projects_api.py
test/test_projects_quality_performance_score200_response.py
test/test_projects_quality_performance_score200_response_any_of.py
test/test_projects_quality_performance_score200_response_any_of_data.py
test/test_projects_quality_performance_score200_response_any_of_data_translations_inner.py
test/test_projects_quality_performance_score200_response_any_of_errors_inner.py
test/test_projects_quality_performance_score_request.py
test/test_quality_performance_score_api.py
test/test_quality_performance_score_list200_response.py
test/test_quality_performance_score_list200_response_any_of.py
test/test_quality_performance_score_list200_response_any_of_data.py
test/test_quality_performance_score_list200_response_any_of_data_translations_inner.py
test/test_quality_performance_score_list200_response_any_of_errors_inner.py
test/test_quality_performance_score_list_request.py
test/test_release.py
test/test_release_create_parameters.py
test/test_release_create_parameters1.py
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ Class | Method | HTTP request | Description
*ProjectsApi* | [**project_show**](docs/ProjectsApi.md#project_show) | **GET** /projects/{id} | Get a single project
*ProjectsApi* | [**project_update**](docs/ProjectsApi.md#project_update) | **PATCH** /projects/{id} | Update a project
*ProjectsApi* | [**projects_list**](docs/ProjectsApi.md#projects_list) | **GET** /projects | List projects
*QualityPerformanceScoreApi* | [**projects_quality_performance_score**](docs/QualityPerformanceScoreApi.md#projects_quality_performance_score) | **POST** /projects/{project_id}/quality_performance_score | Get Translation Quality
*QualityPerformanceScoreApi* | [**quality_performance_score_list**](docs/QualityPerformanceScoreApi.md#quality_performance_score_list) | **POST** /projects/{project_id}/quality_performance_score | Get Translation Quality
*ReleaseTriggersApi* | [**release_triggers_create**](docs/ReleaseTriggersApi.md#release_triggers_create) | **POST** /accounts/{account_id}/distributions/{distribution_id}/release_triggers | Create a release trigger
*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
*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 @@ -549,12 +549,12 @@ Class | Method | HTTP request | Description
- [ProjectReport](docs/ProjectReport.md)
- [ProjectShort](docs/ProjectShort.md)
- [ProjectUpdateParameters](docs/ProjectUpdateParameters.md)
- [ProjectsQualityPerformanceScore200Response](docs/ProjectsQualityPerformanceScore200Response.md)
- [ProjectsQualityPerformanceScore200ResponseAnyOf](docs/ProjectsQualityPerformanceScore200ResponseAnyOf.md)
- [ProjectsQualityPerformanceScore200ResponseAnyOfData](docs/ProjectsQualityPerformanceScore200ResponseAnyOfData.md)
- [ProjectsQualityPerformanceScore200ResponseAnyOfDataTranslationsInner](docs/ProjectsQualityPerformanceScore200ResponseAnyOfDataTranslationsInner.md)
- [ProjectsQualityPerformanceScore200ResponseAnyOfErrorsInner](docs/ProjectsQualityPerformanceScore200ResponseAnyOfErrorsInner.md)
- [ProjectsQualityPerformanceScoreRequest](docs/ProjectsQualityPerformanceScoreRequest.md)
- [QualityPerformanceScoreList200Response](docs/QualityPerformanceScoreList200Response.md)
- [QualityPerformanceScoreList200ResponseAnyOf](docs/QualityPerformanceScoreList200ResponseAnyOf.md)
- [QualityPerformanceScoreList200ResponseAnyOfData](docs/QualityPerformanceScoreList200ResponseAnyOfData.md)
- [QualityPerformanceScoreList200ResponseAnyOfDataTranslationsInner](docs/QualityPerformanceScoreList200ResponseAnyOfDataTranslationsInner.md)
- [QualityPerformanceScoreList200ResponseAnyOfErrorsInner](docs/QualityPerformanceScoreList200ResponseAnyOfErrorsInner.md)
- [QualityPerformanceScoreListRequest](docs/QualityPerformanceScoreListRequest.md)
- [Release](docs/Release.md)
- [ReleaseCreateParameters](docs/ReleaseCreateParameters.md)
- [ReleaseCreateParameters1](docs/ReleaseCreateParameters1.md)
Expand Down
12 changes: 0 additions & 12 deletions docs/ProjectsQualityPerformanceScore200Response.md

This file was deleted.

11 changes: 0 additions & 11 deletions docs/ProjectsQualityPerformanceScore200ResponseAnyOf.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,11 +4,11 @@ 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**
> ProjectsQualityPerformanceScore200Response projects_quality_performance_score(project_id, projects_quality_performance_score_request, x_phrase_app_otp=x_phrase_app_otp)
# **quality_performance_score_list**
> QualityPerformanceScoreList200Response quality_performance_score_list(project_id, quality_performance_score_list_request, x_phrase_app_otp=x_phrase_app_otp)
Get Translation Quality

Expand All @@ -32,15 +32,15 @@ with phrase_api.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = phrase_api.QualityPerformanceScoreApi(api_client)
project_id = 'project_id_example' # str | Project ID (required)
projects_quality_performance_score_request = phrase_api.ProjectsQualityPerformanceScoreRequest() # ProjectsQualityPerformanceScoreRequest | (required)
quality_performance_score_list_request = phrase_api.QualityPerformanceScoreListRequest() # QualityPerformanceScoreListRequest | (required)
x_phrase_app_otp = 'x_phrase_app_otp_example' # str | Two-Factor-Authentication token (optional)

try:
# Get Translation Quality
api_response = api_instance.projects_quality_performance_score(project_id, projects_quality_performance_score_request, x_phrase_app_otp=x_phrase_app_otp)
api_response = api_instance.quality_performance_score_list(project_id, quality_performance_score_list_request, x_phrase_app_otp=x_phrase_app_otp)
pprint(api_response)
except ApiException as e:
print("Exception when calling QualityPerformanceScoreApi->projects_quality_performance_score: %s\n" % e)
print("Exception when calling QualityPerformanceScoreApi->quality_performance_score_list: %s\n" % e)
```


Expand All @@ -49,12 +49,12 @@ with phrase_api.ApiClient(configuration) as api_client:
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**project_id** | **str**| Project ID |
**projects_quality_performance_score_request** | [**ProjectsQualityPerformanceScoreRequest**](ProjectsQualityPerformanceScoreRequest.md)| |
**quality_performance_score_list_request** | [**QualityPerformanceScoreListRequest**](QualityPerformanceScoreListRequest.md)| |
**x_phrase_app_otp** | **str**| Two-Factor-Authentication token (optional) | [optional]

### Return type

[**ProjectsQualityPerformanceScore200Response**](ProjectsQualityPerformanceScore200Response.md)
[**QualityPerformanceScoreList200Response**](QualityPerformanceScoreList200Response.md)

### Authorization

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

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**error** | [**ErrorError**](ErrorError.md) | | [optional]
**data** | [**QualityPerformanceScoreList200ResponseAnyOfData**](QualityPerformanceScoreList200ResponseAnyOfData.md) | | [optional]
**errors** | [**List[QualityPerformanceScoreList200ResponseAnyOfErrorsInner]**](QualityPerformanceScoreList200ResponseAnyOfErrorsInner.md) | Array of errors for any failing translation IDs | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


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

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**data** | [**QualityPerformanceScoreList200ResponseAnyOfData**](QualityPerformanceScoreList200ResponseAnyOfData.md) | | [optional]
**errors** | [**List[QualityPerformanceScoreList200ResponseAnyOfErrorsInner]**](QualityPerformanceScoreList200ResponseAnyOfErrorsInner.md) | Array of errors for any failing translation IDs | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# ProjectsQualityPerformanceScore200ResponseAnyOfData
# QualityPerformanceScoreList200ResponseAnyOfData

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**translations** | [**List[ProjectsQualityPerformanceScore200ResponseAnyOfDataTranslationsInner]**](ProjectsQualityPerformanceScore200ResponseAnyOfDataTranslationsInner.md) | | [optional]
**translations** | [**List[QualityPerformanceScoreList200ResponseAnyOfDataTranslationsInner]**](QualityPerformanceScoreList200ResponseAnyOfDataTranslationsInner.md) | | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# ProjectsQualityPerformanceScore200ResponseAnyOfDataTranslationsInner
# QualityPerformanceScoreList200ResponseAnyOfDataTranslationsInner

## Properties
Name | Type | Description | Notes
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# ProjectsQualityPerformanceScore200ResponseAnyOfErrorsInner
# QualityPerformanceScoreList200ResponseAnyOfErrorsInner

## Properties
Name | Type | Description | Notes
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# ProjectsQualityPerformanceScoreRequest
# QualityPerformanceScoreListRequest

## Properties
Name | Type | Description | Notes
Expand Down
12 changes: 6 additions & 6 deletions phrase_api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,12 +213,12 @@
from phrase_api.models.project_report import ProjectReport
from phrase_api.models.project_short import ProjectShort
from phrase_api.models.project_update_parameters import ProjectUpdateParameters
from phrase_api.models.projects_quality_performance_score200_response import ProjectsQualityPerformanceScore200Response
from phrase_api.models.projects_quality_performance_score200_response_any_of import ProjectsQualityPerformanceScore200ResponseAnyOf
from phrase_api.models.projects_quality_performance_score200_response_any_of_data import ProjectsQualityPerformanceScore200ResponseAnyOfData
from phrase_api.models.projects_quality_performance_score200_response_any_of_data_translations_inner import ProjectsQualityPerformanceScore200ResponseAnyOfDataTranslationsInner
from phrase_api.models.projects_quality_performance_score200_response_any_of_errors_inner import ProjectsQualityPerformanceScore200ResponseAnyOfErrorsInner
from phrase_api.models.projects_quality_performance_score_request import ProjectsQualityPerformanceScoreRequest
from phrase_api.models.quality_performance_score_list200_response import QualityPerformanceScoreList200Response
from phrase_api.models.quality_performance_score_list200_response_any_of import QualityPerformanceScoreList200ResponseAnyOf
from phrase_api.models.quality_performance_score_list200_response_any_of_data import QualityPerformanceScoreList200ResponseAnyOfData
from phrase_api.models.quality_performance_score_list200_response_any_of_data_translations_inner import QualityPerformanceScoreList200ResponseAnyOfDataTranslationsInner
from phrase_api.models.quality_performance_score_list200_response_any_of_errors_inner import QualityPerformanceScoreList200ResponseAnyOfErrorsInner
from phrase_api.models.quality_performance_score_list_request import QualityPerformanceScoreListRequest
from phrase_api.models.release import Release
from phrase_api.models.release_create_parameters import ReleaseCreateParameters
from phrase_api.models.release_create_parameters1 import ReleaseCreateParameters1
Expand Down
Loading

0 comments on commit 6e18651

Please sign in to comment.