diff --git a/api/openapi.yaml b/api/openapi.yaml index c622c53..af360d9 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -34683,6 +34683,11 @@ components: content example: Default translation content type: string + autotranslate: + description: Indicates whether the key should be autotranslated to other + locales based on the copy provided in `default_translation_content`. + type: boolean + example: null xml_space_preserve: description: Indicates whether the key should be exported with "xml:space=preserve". Supported by several XML-based formats. diff --git a/docs/KeyCreateParameters.md b/docs/KeyCreateParameters.md index 94eea27..2fc8ada 100644 --- a/docs/KeyCreateParameters.md +++ b/docs/KeyCreateParameters.md @@ -16,6 +16,7 @@ Name | Type | Description | Notes **RemoveScreenshot** | **bool** | Indicates whether the screenshot will be deleted. This parameter is deprecated. Please use the Screenshots endpoint instead. | [optional] **Unformatted** | **bool** | Indicates whether the key should be exported as \"unformatted\". Supported by Android XML and other formats. | [optional] **DefaultTranslationContent** | **string** | Creates a translation in the default locale with the specified content | [optional] +**Autotranslate** | **bool** | Indicates whether the key should be autotranslated to other locales based on the copy provided in `default_translation_content`. | [optional] **XmlSpacePreserve** | **bool** | Indicates whether the key should be exported with \"xml:space=preserve\". Supported by several XML-based formats. | [optional] **OriginalFile** | **string** | Original file attribute. Used in some formats, e.g. XLIFF. | [optional] **LocalizedFormatString** | **string** | NSStringLocalizedFormatKey attribute. Used in .stringsdict format. | [optional] diff --git a/model_key_create_parameters.go b/model_key_create_parameters.go index da28919..ec08430 100644 --- a/model_key_create_parameters.go +++ b/model_key_create_parameters.go @@ -30,6 +30,8 @@ type KeyCreateParameters struct { Unformatted *bool `json:"unformatted,omitempty"` // Creates a translation in the default locale with the specified content DefaultTranslationContent string `json:"default_translation_content,omitempty"` + // Indicates whether the key should be autotranslated to other locales based on the copy provided in `default_translation_content`. + Autotranslate *bool `json:"autotranslate,omitempty"` // Indicates whether the key should be exported with \"xml:space=preserve\". Supported by several XML-based formats. XmlSpacePreserve *bool `json:"xml_space_preserve,omitempty"` // Original file attribute. Used in some formats, e.g. XLIFF.