Skip to content

Commit

Permalink
Deploying from phrase/openapi@7161c930
Browse files Browse the repository at this point in the history
  • Loading branch information
Phrase committed Sep 19, 2024
1 parent 6a67f6b commit 6bf79fc
Show file tree
Hide file tree
Showing 236 changed files with 246 additions and 492 deletions.
30 changes: 3 additions & 27 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9000,7 +9000,7 @@ paths:
schema:
type: string
style: form
- description: ids of keys that should added to the job
- description: ids of keys that should be removed from the job
example:
- abcd1234cdef1234abcd1234cdef1234
explode: true
Expand Down Expand Up @@ -34417,7 +34417,7 @@ components:
type: string
machine_translation_enabled:
description: (Optional) Enable machine translation support in the project.
Required for Autopilot and Smart Suggest
Required for Pre-Translation
example: true
type: boolean
enable_branching:
Expand Down Expand Up @@ -34476,18 +34476,6 @@ components:
description: (Optional) Requires autotranslate_enabled to be true
example: true
type: boolean
smart_suggest_enabled:
description: "(Optional) Smart Suggest, requires machine_translation_enabled"
example: true
type: boolean
smart_suggest_use_glossary:
description: (Optional) Requires smart_suggest_enabled to be true
example: true
type: boolean
smart_suggest_use_machine_translation:
description: (Optional) Requires smart_suggest_enabled to be true
example: true
type: boolean
required:
- name
title: project/create/parameters
Expand Down Expand Up @@ -34547,7 +34535,7 @@ components:
type: string
machine_translation_enabled:
description: (Optional) Enable machine translation support in the project.
Required for Autopilot and Smart Suggest
Required for Pre-Translation
example: true
type: boolean
enable_branching:
Expand Down Expand Up @@ -34606,18 +34594,6 @@ components:
description: (Optional) Requires autotranslate_enabled to be true
example: true
type: boolean
smart_suggest_enabled:
description: "(Optional) Smart Suggest, requires machine_translation_enabled"
example: true
type: boolean
smart_suggest_use_glossary:
description: (Optional) Requires smart_suggest_enabled to be true
example: true
type: boolean
smart_suggest_use_machine_translation:
description: (Optional) Requires smart_suggest_enabled to be true
example: true
type: boolean
title: project/update/parameters
type: object
job_locales_create_parameters:
Expand Down
4 changes: 2 additions & 2 deletions docs/JobsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ public class Example {
String id = "id_example"; // String | ID
String xPhraseAppOTP = "xPhraseAppOTP_example"; // String | Two-Factor-Authentication token (optional)
String branch = "my-feature-branch"; // String | specify the branch to use
List<String> translationKeyIds = Arrays.asList(); // List<String> | ids of keys that should added to the job
List<String> translationKeyIds = Arrays.asList(); // List<String> | ids of keys that should be removed from the job
try {
apiInstance.jobKeysDelete(projectId, id, xPhraseAppOTP, branch, translationKeyIds);
} catch (ApiException e) {
Expand All @@ -404,7 +404,7 @@ Name | Type | Description | Notes
**id** | **String**| ID |
**xPhraseAppOTP** | **String**| Two-Factor-Authentication token (optional) | [optional]
**branch** | **String**| specify the branch to use | [optional]
**translationKeyIds** | [**List&lt;String&gt;**](String.md)| ids of keys that should added to the job | [optional]
**translationKeyIds** | [**List&lt;String&gt;**](String.md)| ids of keys that should be removed from the job | [optional]

### Return type

Expand Down
5 changes: 1 addition & 4 deletions docs/ProjectCreateParameters.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Name | Type | Description | Notes
**pointOfContact** | **String** | (Optional) User ID of the point of contact for the project. | [optional]
**sourceProjectId** | **String** | When a source project ID is given, a clone of that project will be created, including all locales, keys and translations as well as the main project settings if they are not defined otherwise through the params. | [optional]
**workflow** | **String** | (Optional) Review Workflow. \&quot;simple\&quot; / \&quot;review\&quot;. &lt;a href&#x3D;\&quot;https://support.phrase.com/hc/en-us/articles/5784094755484\&quot;&gt;Read more&lt;/a&gt; | [optional]
**machineTranslationEnabled** | **Boolean** | (Optional) Enable machine translation support in the project. Required for Autopilot and Smart Suggest | [optional]
**machineTranslationEnabled** | **Boolean** | (Optional) Enable machine translation support in the project. Required for Pre-Translation | [optional]
**enableBranching** | **Boolean** | (Optional) Enable branching in the project | [optional]
**protectMasterBranch** | **Boolean** | (Optional) Protect the master branch in project where branching is enabled | [optional]
**enableAllDataTypeTranslationKeysForTranslators** | **Boolean** | (Optional) Otherwise, translators are not allowed to edit translations other than strings | [optional]
Expand All @@ -29,9 +29,6 @@ Name | Type | Description | Notes
**autotranslateMarkAsUnverified** | **Boolean** | (Optional) Requires autotranslate_enabled to be true | [optional]
**autotranslateUseMachineTranslation** | **Boolean** | (Optional) Requires autotranslate_enabled to be true | [optional]
**autotranslateUseTranslationMemory** | **Boolean** | (Optional) Requires autotranslate_enabled to be true | [optional]
**smartSuggestEnabled** | **Boolean** | (Optional) Smart Suggest, requires machine_translation_enabled | [optional]
**smartSuggestUseGlossary** | **Boolean** | (Optional) Requires smart_suggest_enabled to be true | [optional]
**smartSuggestUseMachineTranslation** | **Boolean** | (Optional) Requires smart_suggest_enabled to be true | [optional]



5 changes: 1 addition & 4 deletions docs/ProjectUpdateParameters.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Name | Type | Description | Notes
**projectImage** | [**File**](File.md) | (Optional) Image to identify the project | [optional]
**removeProjectImage** | **Boolean** | (Optional) Indicates whether the project image should be deleted. | [optional]
**workflow** | **String** | (Optional) Review Workflow. \&quot;simple\&quot; / \&quot;review\&quot;. &lt;a href&#x3D;\&quot;https://support.phrase.com/hc/en-us/articles/5784094755484\&quot;&gt;Read more&lt;/a&gt; | [optional]
**machineTranslationEnabled** | **Boolean** | (Optional) Enable machine translation support in the project. Required for Autopilot and Smart Suggest | [optional]
**machineTranslationEnabled** | **Boolean** | (Optional) Enable machine translation support in the project. Required for Pre-Translation | [optional]
**enableBranching** | **Boolean** | (Optional) Enable branching in the project | [optional]
**protectMasterBranch** | **Boolean** | (Optional) Protect the master branch in project where branching is enabled | [optional]
**enableAllDataTypeTranslationKeysForTranslators** | **Boolean** | (Optional) Otherwise, translators are not allowed to edit translations other than strings | [optional]
Expand All @@ -28,9 +28,6 @@ Name | Type | Description | Notes
**autotranslateMarkAsUnverified** | **Boolean** | (Optional) Requires autotranslate_enabled to be true | [optional]
**autotranslateUseMachineTranslation** | **Boolean** | (Optional) Requires autotranslate_enabled to be true | [optional]
**autotranslateUseTranslationMemory** | **Boolean** | (Optional) Requires autotranslate_enabled to be true | [optional]
**smartSuggestEnabled** | **Boolean** | (Optional) Smart Suggest, requires machine_translation_enabled | [optional]
**smartSuggestUseGlossary** | **Boolean** | (Optional) Requires smart_suggest_enabled to be true | [optional]
**smartSuggestUseMachineTranslation** | **Boolean** | (Optional) Requires smart_suggest_enabled to be true | [optional]



2 changes: 1 addition & 1 deletion src/main/java/com/phrase/client/ApiException.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import java.util.Map;
import java.util.List;

@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-18T09:00:20.575262Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-19T11:27:31.753930Z[Etc/UTC]")
public class ApiException extends Exception {
private int code = 0;
private Map<String, List<String>> responseHeaders = null;
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/phrase/client/Configuration.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

package com.phrase.client;

@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-18T09:00:20.575262Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-19T11:27:31.753930Z[Etc/UTC]")
public class Configuration {
private static ApiClient defaultApiClient = new ApiClient();

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/phrase/client/Pair.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

package com.phrase.client;

@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-18T09:00:20.575262Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-19T11:27:31.753930Z[Etc/UTC]")
public class Pair {
private String name = "";
private String value = "";
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/phrase/client/StringUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

package com.phrase.client;

@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-18T09:00:20.575262Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-19T11:27:31.753930Z[Etc/UTC]")
public class StringUtil {
/**
* Check if the given array contains the given value (with case-insensitive comparison).
Expand Down
8 changes: 4 additions & 4 deletions src/main/java/com/phrase/client/api/JobsApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,7 @@ public okhttp3.Call jobKeysCreateAsync(String projectId, String id, JobKeysCreat
* @param id ID (required)
* @param xPhraseAppOTP Two-Factor-Authentication token (optional) (optional)
* @param branch specify the branch to use (optional)
* @param translationKeyIds ids of keys that should added to the job (optional)
* @param translationKeyIds ids of keys that should be removed from the job (optional)
* @param _callback Callback for upload/download progress
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
Expand Down Expand Up @@ -733,7 +733,7 @@ private okhttp3.Call jobKeysDeleteValidateBeforeCall(String projectId, String id
* @param id ID (required)
* @param xPhraseAppOTP Two-Factor-Authentication token (optional) (optional)
* @param branch specify the branch to use (optional)
* @param translationKeyIds ids of keys that should added to the job (optional)
* @param translationKeyIds ids of keys that should be removed from the job (optional)
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
<table summary="Response Details" border="1">
Expand All @@ -755,7 +755,7 @@ public void jobKeysDelete(String projectId, String id, String xPhraseAppOTP, Str
* @param id ID (required)
* @param xPhraseAppOTP Two-Factor-Authentication token (optional) (optional)
* @param branch specify the branch to use (optional)
* @param translationKeyIds ids of keys that should added to the job (optional)
* @param translationKeyIds ids of keys that should be removed from the job (optional)
* @return ApiResponse&lt;Void&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
Expand All @@ -779,7 +779,7 @@ public ApiResponse<Void> jobKeysDeleteWithHttpInfo(String projectId, String id,
* @param id ID (required)
* @param xPhraseAppOTP Two-Factor-Authentication token (optional) (optional)
* @param branch specify the branch to use (optional)
* @param translationKeyIds ids of keys that should added to the job (optional)
* @param translationKeyIds ids of keys that should be removed from the job (optional)
* @param _callback The callback to be executed when the API call finishes
* @return The request call
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/phrase/client/auth/ApiKeyAuth.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import java.util.Map;
import java.util.List;

@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-18T09:00:20.575262Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-19T11:27:31.753930Z[Etc/UTC]")
public class ApiKeyAuth implements Authentication {
private final String location;
private final String paramName;
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/phrase/client/auth/HttpBearerAuth.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import java.util.Map;
import java.util.List;

@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-18T09:00:20.575262Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-19T11:27:31.753930Z[Etc/UTC]")
public class HttpBearerAuth implements Authentication {
private final String scheme;
private String bearerToken;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
/**
* Abstract class for oneOf,anyOf schemas defined in OpenAPI spec
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-18T09:00:20.575262Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-19T11:27:31.753930Z[Etc/UTC]")
public abstract class AbstractOpenApiSchema {

// store the actual instance of the schema/object
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/phrase/client/model/Account.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
/**
* Account
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-18T09:00:20.575262Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-19T11:27:31.753930Z[Etc/UTC]")
public class Account {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/phrase/client/model/AccountDetails.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
/**
* AccountDetails
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-18T09:00:20.575262Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-19T11:27:31.753930Z[Etc/UTC]")
public class AccountDetails {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
/**
* AccountSearchResult
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-18T09:00:20.575262Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-19T11:27:31.753930Z[Etc/UTC]")
public class AccountSearchResult {
public static final String SERIALIZED_NAME_QUERY = "query";
@SerializedName(SERIALIZED_NAME_QUERY)
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/phrase/client/model/AffectedCount.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
/**
* AffectedCount
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-18T09:00:20.575262Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-19T11:27:31.753930Z[Etc/UTC]")
public class AffectedCount {
public static final String SERIALIZED_NAME_RECORDS_AFFECTED = "records_affected";
@SerializedName(SERIALIZED_NAME_RECORDS_AFFECTED)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
/**
* AffectedResources
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-18T09:00:20.575262Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-19T11:27:31.753930Z[Etc/UTC]")
public class AffectedResources {
public static final String SERIALIZED_NAME_RECORDS_AFFECTED = "records_affected";
@SerializedName(SERIALIZED_NAME_RECORDS_AFFECTED)
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/phrase/client/model/Authorization.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
/**
* Authorization
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-18T09:00:20.575262Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-19T11:27:31.753930Z[Etc/UTC]")
public class Authorization {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
/**
* AuthorizationCreateParameters
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-18T09:00:20.575262Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-19T11:27:31.753930Z[Etc/UTC]")
public class AuthorizationCreateParameters {
public static final String SERIALIZED_NAME_NOTE = "note";
@SerializedName(SERIALIZED_NAME_NOTE)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
/**
* AuthorizationUpdateParameters
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-18T09:00:20.575262Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-19T11:27:31.753930Z[Etc/UTC]")
public class AuthorizationUpdateParameters {
public static final String SERIALIZED_NAME_NOTE = "note";
@SerializedName(SERIALIZED_NAME_NOTE)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
/**
* AuthorizationWithToken
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-18T09:00:20.575262Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-19T11:27:31.753930Z[Etc/UTC]")
public class AuthorizationWithToken {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/phrase/client/model/BitbucketSync.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
/**
* BitbucketSync
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-18T09:00:20.575262Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-19T11:27:31.753930Z[Etc/UTC]")
public class BitbucketSync {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
/**
* BitbucketSyncExportParameters
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-18T09:00:20.575262Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-19T11:27:31.753930Z[Etc/UTC]")
public class BitbucketSyncExportParameters {
public static final String SERIALIZED_NAME_ACCOUNT_ID = "account_id";
@SerializedName(SERIALIZED_NAME_ACCOUNT_ID)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
/**
* BitbucketSyncExportResponse
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-18T09:00:20.575262Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-19T11:27:31.753930Z[Etc/UTC]")
public class BitbucketSyncExportResponse {
public static final String SERIALIZED_NAME_STATUS_PATH = "status_path";
@SerializedName(SERIALIZED_NAME_STATUS_PATH)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
/**
* BitbucketSyncImportParameters
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-18T09:00:20.575262Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-19T11:27:31.753930Z[Etc/UTC]")
public class BitbucketSyncImportParameters {
public static final String SERIALIZED_NAME_ACCOUNT_ID = "account_id";
@SerializedName(SERIALIZED_NAME_ACCOUNT_ID)
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/phrase/client/model/BlacklistedKey.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
/**
* BlacklistedKey
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-18T09:00:20.575262Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-19T11:27:31.753930Z[Etc/UTC]")
public class BlacklistedKey {
public static final String SERIALIZED_NAME_ID = "id";
@SerializedName(SERIALIZED_NAME_ID)
Expand Down
Loading

0 comments on commit 6bf79fc

Please sign in to comment.