diff --git a/doc/compiled.json b/doc/compiled.json index c08034f8..35947f1f 100644 --- a/doc/compiled.json +++ b/doc/compiled.json @@ -1675,6 +1675,9 @@ "fallback_locale": { "$ref": "#/components/schemas/locale_preview" }, + "language_ai_profile": { + "type": "string" + }, "created_at": { "type": "string", "format": "date-time" @@ -1710,6 +1713,7 @@ "name": "en", "code": "en-GB" }, + "language_ai_profile": "abcd1234abcd1234abcd1234abcd1234", "created_at": "2015-01-28T09:52:53Z", "updated_at": "2015-01-28T09:52:53Z" } @@ -9168,6 +9172,11 @@ "description": "If set, translations for this locale will be fetched automatically, right after creation.", "type": "boolean", "example": null + }, + "language_ai_profile": { + "description": "Identifier of the Language AI profile to use for this locale.", + "type": "string", + "example": "abcd1234abcd1234abcd1234abcd1234" } } } @@ -9388,6 +9397,11 @@ "description": "If set, translations for this locale will be fetched automatically, right after creation.", "type": "boolean", "example": null + }, + "language_ai_profile": { + "description": "Identifier of the Language AI profile to use for this locale.", + "type": "string", + "example": "abcd1234abcd1234abcd1234abcd1234" } } } diff --git a/paths/locales/create.yaml b/paths/locales/create.yaml index 297a3a3e..e941028d 100644 --- a/paths/locales/create.yaml +++ b/paths/locales/create.yaml @@ -103,4 +103,8 @@ requestBody: description: If set, translations for this locale will be fetched automatically, right after creation. type: boolean example: + language_ai_profile: + description: Identifier of the Language AI profile to use for this locale. + type: string + example: abcd1234abcd1234abcd1234abcd1234 x-cli-version: '2.5' diff --git a/paths/locales/update.yaml b/paths/locales/update.yaml index f1ba8404..9752fe8e 100644 --- a/paths/locales/update.yaml +++ b/paths/locales/update.yaml @@ -102,4 +102,8 @@ requestBody: description: If set, translations for this locale will be fetched automatically, right after creation. type: boolean example: + language_ai_profile: + description: Identifier of the Language AI profile to use for this locale. + type: string + example: abcd1234abcd1234abcd1234abcd1234 x-cli-version: '2.5' diff --git a/schemas/locale.yaml b/schemas/locale.yaml index 4c86a40c..ca060bcc 100644 --- a/schemas/locale.yaml +++ b/schemas/locale.yaml @@ -27,6 +27,8 @@ locale: "$ref": "./locale_preview.yaml#/locale_preview" fallback_locale: "$ref": "./locale_preview.yaml#/locale_preview" + language_ai_profile: + type: string created_at: type: string format: date-time @@ -55,5 +57,6 @@ locale: id: abcd1234cdef1234abcd1234cdef1234 name: en code: en-GB + language_ai_profile: abcd1234abcd1234abcd1234abcd1234 created_at: '2015-01-28T09:52:53Z' updated_at: '2015-01-28T09:52:53Z'