diff --git a/specification/translation/Azure.AI.DocumentTranslation/client.tsp b/specification/translation/Azure.AI.DocumentTranslation/client.tsp index 0a9c7a7d3590..0eb76c501974 100644 --- a/specification/translation/Azure.AI.DocumentTranslation/client.tsp +++ b/specification/translation/Azure.AI.DocumentTranslation/client.tsp @@ -40,3 +40,40 @@ interface SingleDocumentTranslationClient { #suppress "@azure-tools/typespec-azure-core/byos" documentTranslate is DocumentTranslation.DocumentTranslationOperations.documentTranslate; } + +// model overrides +@@access(DocumentTranslation.DocumentTranslateResult, + Access.internal, + "python" +); +@@access(DocumentTranslation.FileFormatType, Access.internal, "python"); +@@access(DocumentTranslation.StorageSource, Access.internal, "python"); +@@access(DocumentTranslation.AdditionalOutputFileFormat, + Access.internal, + "python" +); +@@access(DocumentTranslation.StorageInputType, Access.internal, "python"); +@@access(DocumentTranslation.TranslationErrorCode, Access.internal, "python"); +@@access(DocumentTranslation.Status, Access.internal, "python"); +@@access(DocumentTranslation.StartTranslationDetails, + Access.internal, + "python" +); +@@access(DocumentTranslation.BatchRequest, Access.internal, "python"); +@@access(DocumentTranslation.SourceInput, Access.internal, "python"); +@@access(DocumentTranslation.DocumentFilter, Access.internal, "python"); +@@access(DocumentTranslation.TargetInput, Access.internal, "python"); +@@access(DocumentTranslation.Glossary, Access.internal, "python"); +@@access(DocumentTranslation.TranslationErrorResponse, + Access.internal, + "python" +); +@@access(DocumentTranslation.TranslationError, Access.internal, "python"); +@@access(DocumentTranslation.InnerTranslationError, Access.internal, "python"); +@@access(DocumentTranslation.TranslationsStatus, Access.internal, "python"); +@@access(DocumentTranslation.TranslationStatus, Access.internal, "python"); +@@access(DocumentTranslation.StatusSummary, Access.internal, "python"); +@@access(DocumentTranslation.DocumentStatus, Access.internal, "python"); +@@access(DocumentTranslation.DocumentsStatus, Access.internal, "python"); +@@access(DocumentTranslation.SupportedFileFormats, Access.internal, "python"); +@@access(DocumentTranslation.FileFormat, Access.internal, "python"); diff --git a/specification/translation/Azure.AI.DocumentTranslation/tspconfig.yaml b/specification/translation/Azure.AI.DocumentTranslation/tspconfig.yaml index f97a8c47f285..699990887c06 100644 --- a/specification/translation/Azure.AI.DocumentTranslation/tspconfig.yaml +++ b/specification/translation/Azure.AI.DocumentTranslation/tspconfig.yaml @@ -27,6 +27,7 @@ options: package-dir: "azure-ai-translation-document" package-name: "azure-ai-translation-document" package-mode: dataplane + package-version: "1.1.0b1" generate-sample-project: false "@azure-tools/typespec-java": package-dir: "azure-ai-translation-document"