Skip to content

Commit

Permalink
Deploying from phrase/openapi@4b4f1acf
Browse files Browse the repository at this point in the history
  • Loading branch information
Phrase committed Feb 1, 2024
1 parent 7f0a00f commit f292c43
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ Class | Method | HTTP request | Description
*ProjectsApi* | **projectShow** | **GET** /projects/{id} | Get a single project
*ProjectsApi* | **projectUpdate** | **PATCH** /projects/{id} | Update a project
*ProjectsApi* | **projectsList** | **GET** /projects | List projects
*QualityPerformanceScoreApi* | **projectsQualityPerformanceScore** | **POST** /projects/{id}/quality_performance_score | Get project\'s translations\' quality performance scores
*QualityPerformanceScoreApi* | **projectsQualityPerformanceScore** | **POST** /projects/{project_id}/quality_performance_score | Get Translation Quality
*ReleasesApi* | **releaseCreate** | **POST** /accounts/{account_id}/distributions/{distribution_id}/releases | Create a release
*ReleasesApi* | **releaseDelete** | **DELETE** /accounts/{account_id}/distributions/{distribution_id}/releases/{id} | Delete a release
*ReleasesApi* | **releasePublish** | **POST** /accounts/{account_id}/distributions/{distribution_id}/releases/{id}/publish | Publish a release
Expand Down
16 changes: 8 additions & 8 deletions src/apis/QualityPerformanceScoreApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import {
} from '../models';

export interface ProjectsQualityPerformanceScoreOperationRequest {
id: string;
projectId: string;
projectsQualityPerformanceScoreRequest: ProjectsQualityPerformanceScoreRequest;
xPhraseAppOTP?: string;
}
Expand All @@ -37,12 +37,12 @@ export interface ProjectsQualityPerformanceScoreOperationRequest {
export class QualityPerformanceScoreApi extends runtime.BaseAPI {

/**
* Get project\'s translations\' quality performance scores
* Get project\'s translations\' quality performance scores
* Retrieves the quality scores for your Strings translations. Returns a score, measured by Phrase QPS
* Get Translation Quality
*/
async projectsQualityPerformanceScoreRaw(requestParameters: ProjectsQualityPerformanceScoreOperationRequest): Promise<runtime.ApiResponse<ProjectsQualityPerformanceScore200Response>> {
if (requestParameters.id === null || requestParameters.id === undefined) {
throw new runtime.RequiredError('id','Required parameter requestParameters.id was null or undefined when calling projectsQualityPerformanceScore.');
if (requestParameters.projectId === null || requestParameters.projectId === undefined) {
throw new runtime.RequiredError('projectId','Required parameter requestParameters.projectId was null or undefined when calling projectsQualityPerformanceScore.');
}

if (requestParameters.projectsQualityPerformanceScoreRequest === null || requestParameters.projectsQualityPerformanceScoreRequest === undefined) {
Expand All @@ -67,7 +67,7 @@ export class QualityPerformanceScoreApi extends runtime.BaseAPI {
}

const response = await this.request({
path: `/projects/{id}/quality_performance_score`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters.id))),
path: `/projects/{project_id}/quality_performance_score`.replace(`{${"project_id"}}`, encodeURIComponent(String(requestParameters.projectId))),
method: 'POST',
headers: headerParameters,
query: queryParameters,
Expand All @@ -78,8 +78,8 @@ export class QualityPerformanceScoreApi extends runtime.BaseAPI {
}

/**
* Get project\'s translations\' quality performance scores
* Get project\'s translations\' quality performance scores
* Retrieves the quality scores for your Strings translations. Returns a score, measured by Phrase QPS
* Get Translation Quality
*/
async projectsQualityPerformanceScore(requestParameters: ProjectsQualityPerformanceScoreOperationRequest): Promise<ProjectsQualityPerformanceScore200Response> {
const response = await this.projectsQualityPerformanceScoreRaw(requestParameters);
Expand Down
2 changes: 1 addition & 1 deletion src/models/ProjectsQualityPerformanceScore200Response.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export interface ProjectsQualityPerformanceScore200Response {
*/
data?: ProjectsQualityPerformanceScore200ResponseAnyOfData;
/**
* Array of errors for any failing translation ids
* Array of errors for any failing translation IDs
* @type {Array<ProjectsQualityPerformanceScore200ResponseAnyOfErrorsInner>}
* @memberof ProjectsQualityPerformanceScore200Response
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export interface ProjectsQualityPerformanceScore200ResponseAnyOf {
*/
data?: ProjectsQualityPerformanceScore200ResponseAnyOfData;
/**
* Array of errors for any failing translation ids
* Array of errors for any failing translation IDs
* @type {Array<ProjectsQualityPerformanceScore200ResponseAnyOfErrorsInner>}
* @memberof ProjectsQualityPerformanceScore200ResponseAnyOf
*/
Expand Down

0 comments on commit f292c43

Please sign in to comment.