From 349edadeb333f07961f012883b8c02e8bb10a445 Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Thu, 1 Aug 2024 16:42:13 -0700 Subject: [PATCH] Update AutoRest C# version to 3.0.0-beta.20240801.1 (#45300) * Update Generator Version 3.0.0-beta.20240801.1 * Update SDK codes co_de_1 --- eng/Packages.Data.props | 2 +- eng/emitter-package-lock.json | 39 +- eng/emitter-package.json | 4 +- .../tspCodeModel.json | 866 +++++++++++------- 4 files changed, 556 insertions(+), 355 deletions(-) diff --git a/eng/Packages.Data.props b/eng/Packages.Data.props index d22f0bb7e98f..bdb32191e24d 100644 --- a/eng/Packages.Data.props +++ b/eng/Packages.Data.props @@ -227,7 +227,7 @@ All should have PrivateAssets="All" set so they don't become package dependencies --> - + diff --git a/eng/emitter-package-lock.json b/eng/emitter-package-lock.json index 5ee662be3d37..86f56958452a 100644 --- a/eng/emitter-package-lock.json +++ b/eng/emitter-package-lock.json @@ -5,14 +5,14 @@ "packages": { "": { "dependencies": { - "@azure-tools/typespec-csharp": "0.2.0-beta.20240730.1" + "@azure-tools/typespec-csharp": "0.2.0-beta.20240801.1" }, "devDependencies": { "@azure-tools/typespec-autorest": "0.44.0", "@azure-tools/typespec-azure-core": "0.44.0", "@azure-tools/typespec-azure-resource-manager": "0.44.0", "@azure-tools/typespec-azure-rulesets": "0.44.0", - "@azure-tools/typespec-client-generator-core": "0.44.1", + "@azure-tools/typespec-client-generator-core": "0.44.3", "@typespec/compiler": "0.58.0", "@typespec/http": "0.58.0", "@typespec/openapi": "0.58.0", @@ -22,9 +22,9 @@ } }, "node_modules/@autorest/csharp": { - "version": "3.0.0-beta.20240730.1", - "resolved": "https://registry.npmjs.org/@autorest/csharp/-/csharp-3.0.0-beta.20240730.1.tgz", - "integrity": "sha512-CZpk6A30UwZ2XtO9/uHmkq8UzT5UABmwl8F8MydJWb6DYPyd4OHp6zwsol3Sg4qQOKCejuf60BZSBTSbCQXk1g==" + "version": "3.0.0-beta.20240801.1", + "resolved": "https://registry.npmjs.org/@autorest/csharp/-/csharp-3.0.0-beta.20240801.1.tgz", + "integrity": "sha512-F2YOUYr+YF2IFJk07YQwva7l4HH4LgnyF+LkTEvvIeX3DTqoGAZ1vyduftqM0AJuuQ2aX259wvkkS4fnSCZoSA==" }, "node_modules/@azure-tools/typespec-autorest": { "version": "0.44.0", @@ -96,9 +96,9 @@ } }, "node_modules/@azure-tools/typespec-client-generator-core": { - "version": "0.44.1", - "resolved": "https://registry.npmjs.org/@azure-tools/typespec-client-generator-core/-/typespec-client-generator-core-0.44.1.tgz", - "integrity": "sha512-hpDYS4J329kPnXMAndburITh81jgOloxLrv6QXJadurnFhxFHb8AycGO8VWgFYTf04cWd7yDx7HutzGSN9C7TQ==", + "version": "0.44.3", + "resolved": "https://registry.npmjs.org/@azure-tools/typespec-client-generator-core/-/typespec-client-generator-core-0.44.3.tgz", + "integrity": "sha512-HXjxQs7ELrTuIDqOjlYhP4rM4AXb143klbiM8dkEGtqNBRCk77gVCGYVH1M3kWKAEs0dQKhzoUukscqRsfELuw==", "dev": true, "dependencies": { "change-case": "~5.4.4", @@ -111,17 +111,18 @@ "@azure-tools/typespec-azure-core": "~0.44.0", "@typespec/compiler": "~0.58.0", "@typespec/http": "~0.58.0", + "@typespec/openapi": "~0.58.0", "@typespec/rest": "~0.58.0", "@typespec/versioning": "~0.58.0" } }, "node_modules/@azure-tools/typespec-csharp": { - "version": "0.2.0-beta.20240730.1", - "resolved": "https://registry.npmjs.org/@azure-tools/typespec-csharp/-/typespec-csharp-0.2.0-beta.20240730.1.tgz", - "integrity": "sha512-aV4I1XtqfgNNsap4bcs+79NxyapJ1UQSAz0LoAj2YLhHUTwC4dKiCpdK4wbmeeomp0fLj5+H0zjafiF3zt0aCA==", + "version": "0.2.0-beta.20240801.1", + "resolved": "https://registry.npmjs.org/@azure-tools/typespec-csharp/-/typespec-csharp-0.2.0-beta.20240801.1.tgz", + "integrity": "sha512-PJabhjtRNl/xw2NiireQMsTTHAd/tQlpF239oYsr4p1CD1NFMWZdX975MP9jFJCKpVPSXEz8CC3uwvPnZBfldA==", "dependencies": { - "@autorest/csharp": "3.0.0-beta.20240730.1", - "@typespec/http-client-csharp": "0.1.9-alpha.20240730.3", + "@autorest/csharp": "3.0.0-beta.20240801.1", + "@typespec/http-client-csharp": "0.1.9-alpha.20240731.6", "json-serialize-refs": "0.1.0-0" }, "peerDependencies": { @@ -264,9 +265,9 @@ } }, "node_modules/@typespec/http-client-csharp": { - "version": "0.1.9-alpha.20240730.3", - "resolved": "https://registry.npmjs.org/@typespec/http-client-csharp/-/http-client-csharp-0.1.9-alpha.20240730.3.tgz", - "integrity": "sha512-2hPtDigSwIaZ8l2G/U7UHkNLMLdCs+VkpaiJi9MxG5CdZ23AEVy0+tcEaZWtiMENZK8ldZB7SEVsEJAcdMX5kQ==", + "version": "0.1.9-alpha.20240731.6", + "resolved": "https://registry.npmjs.org/@typespec/http-client-csharp/-/http-client-csharp-0.1.9-alpha.20240731.6.tgz", + "integrity": "sha512-5tV2Xm4LKzdiPHh1MuWPgBGaXjYmXudjypd/1ReMf3My2SD7TocRSUE8BkI4KJ31aobotIHy2Yi3WsdSQyH5bw==", "dependencies": { "json-serialize-refs": "0.1.0-0" }, @@ -945,9 +946,9 @@ } }, "node_modules/vscode-languageserver-textdocument": { - "version": "1.0.11", - "resolved": "https://registry.npmjs.org/vscode-languageserver-textdocument/-/vscode-languageserver-textdocument-1.0.11.tgz", - "integrity": "sha512-X+8T3GoiwTVlJbicx/sIAF+yuJAqz8VvwJyoMVhwEMoEKE/fkDmrqUgDMyBECcM2A2frVZIUj5HI/ErRXCfOeA==", + "version": "1.0.12", + "resolved": "https://registry.npmjs.org/vscode-languageserver-textdocument/-/vscode-languageserver-textdocument-1.0.12.tgz", + "integrity": "sha512-cxWNPesCnQCcMPeenjKKsOCKQZ/L6Tv19DTRIGuLWe32lyzWhihGVJ/rcckZXJxfdKCFvRLS3fpBIsV/ZGX4zA==", "dev": true }, "node_modules/vscode-languageserver-types": { diff --git a/eng/emitter-package.json b/eng/emitter-package.json index ec0678bc4a13..e47fdd179009 100644 --- a/eng/emitter-package.json +++ b/eng/emitter-package.json @@ -1,14 +1,14 @@ { "main": "dist/src/index.js", "dependencies": { - "@azure-tools/typespec-csharp": "0.2.0-beta.20240730.1" + "@azure-tools/typespec-csharp": "0.2.0-beta.20240801.1" }, "devDependencies": { "@azure-tools/typespec-autorest": "0.44.0", "@azure-tools/typespec-azure-core": "0.44.0", "@azure-tools/typespec-azure-resource-manager": "0.44.0", "@azure-tools/typespec-azure-rulesets": "0.44.0", - "@azure-tools/typespec-client-generator-core": "0.44.1", + "@azure-tools/typespec-client-generator-core": "0.44.3", "@typespec/compiler": "0.58.0", "@typespec/http": "0.58.0", "@typespec/openapi": "0.58.0", diff --git a/sdk/communication/Azure.Communication.Messages/tspCodeModel.json b/sdk/communication/Azure.Communication.Messages/tspCodeModel.json index f8b0e33b2fc9..8e4eae578da1 100644 --- a/sdk/communication/Azure.Communication.Messages/tspCodeModel.json +++ b/sdk/communication/Azure.Communication.Messages/tspCodeModel.json @@ -12,7 +12,9 @@ "CrossLanguageDefinitionId": "Azure.Communication.MessagesService.CommunicationMessageKind", "ValueType": { "$id": "3", - "Kind": "string" + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" }, "Values": [ { @@ -45,7 +47,9 @@ "CrossLanguageDefinitionId": "Azure.Communication.MessagesService.MessageTemplateValueKind", "ValueType": { "$id": "8", - "Kind": "string" + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" }, "Values": [ { @@ -96,7 +100,9 @@ "CrossLanguageDefinitionId": "Azure.Communication.MessagesService.MessageTemplateBindingsKind", "ValueType": { "$id": "16", - "Kind": "string" + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" }, "Values": [ { @@ -117,7 +123,9 @@ "CrossLanguageDefinitionId": "Azure.Communication.MessagesService.WhatsAppMessageButtonSubType", "ValueType": { "$id": "19", - "Kind": "string" + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" }, "Values": [ { @@ -144,7 +152,9 @@ "CrossLanguageDefinitionId": "Azure.Communication.MessagesService.Versions", "ValueType": { "$id": "23", - "Kind": "string" + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" }, "Values": [ { @@ -165,7 +175,9 @@ "CrossLanguageDefinitionId": "Azure.Communication.MessagesService.MessageTemplateStatus", "ValueType": { "$id": "26", - "Kind": "string" + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" }, "Values": [ { @@ -204,7 +216,9 @@ "CrossLanguageDefinitionId": "Azure.Communication.MessagesService.CommunicationMessagesChannel", "ValueType": { "$id": "32", - "Kind": "string" + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" }, "Values": [ { @@ -225,7 +239,9 @@ "CrossLanguageDefinitionId": "Azure.Core.RepeatabilityResult", "ValueType": { "$id": "35", - "Kind": "string" + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" }, "Values": [ { @@ -274,24 +290,33 @@ "Description": "The Channel Registration ID for the Business Identifier.", "Type": { "$id": "41", - "Kind": "uuid", - "Encode": "string" + "Kind": "string", + "Name": "uuid", + "CrossLanguageDefinitionId": "Azure.Core.uuid", + "BaseType": { + "$id": "42", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" + } }, "IsRequired": true, "IsReadOnly": false }, { - "$id": "42", + "$id": "43", "Name": "to", "SerializedName": "to", "Description": "The native external platform user identifiers of the recipient.", "Type": { - "$id": "43", + "$id": "44", "Kind": "array", "Name": "Array", "ValueType": { - "$id": "44", - "Kind": "string" + "$id": "45", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" }, "CrossLanguageDefinitionId": "TypeSpec.Array" }, @@ -303,9 +328,9 @@ } ], "DiscriminatedSubtypes": { - "$id": "45", + "$id": "46", "text": { - "$id": "46", + "$id": "47", "Kind": "model", "Name": "TextNotificationContent", "CrossLanguageDefinitionId": "Azure.Communication.MessagesService.TextNotificationContent", @@ -317,16 +342,18 @@ }, "Properties": [ { - "$id": "47", + "$id": "48", "Name": "kind", "SerializedName": "kind", "Description": "Message notification type is text.", "Type": { - "$id": "48", + "$id": "49", "Kind": "constant", "ValueType": { - "$id": "49", - "Kind": "string" + "$id": "50", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" }, "Value": "text" }, @@ -335,13 +362,15 @@ "IsDiscriminator": true }, { - "$id": "50", + "$id": "51", "Name": "content", "SerializedName": "content", "Description": "Message content.", "Type": { - "$id": "51", - "Kind": "string" + "$id": "52", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" }, "IsRequired": true, "IsReadOnly": false @@ -349,7 +378,7 @@ ] }, "image": { - "$id": "52", + "$id": "53", "Kind": "model", "Name": "MediaNotificationContent", "CrossLanguageDefinitionId": "Azure.Communication.MessagesService.MediaNotificationContent", @@ -361,16 +390,18 @@ }, "Properties": [ { - "$id": "53", + "$id": "54", "Name": "kind", "SerializedName": "kind", "Description": "Message notification type is image.", "Type": { - "$id": "54", + "$id": "55", "Kind": "constant", "ValueType": { - "$id": "55", - "Kind": "string" + "$id": "56", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" }, "Value": "image" }, @@ -379,25 +410,29 @@ "IsDiscriminator": true }, { - "$id": "56", + "$id": "57", "Name": "content", "SerializedName": "content", "Description": "Optional text content.", "Type": { - "$id": "57", - "Kind": "string" + "$id": "58", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" }, "IsRequired": false, "IsReadOnly": false }, { - "$id": "58", + "$id": "59", "Name": "mediaUri", "SerializedName": "mediaUri", "Description": "A media url for the file. Required if the type is one of the supported media types, e.g. image", "Type": { - "$id": "59", - "Kind": "url" + "$id": "60", + "Kind": "url", + "Name": "url", + "CrossLanguageDefinitionId": "TypeSpec.url" }, "IsRequired": true, "IsReadOnly": false @@ -405,7 +440,7 @@ ] }, "template": { - "$id": "60", + "$id": "61", "Kind": "model", "Name": "TemplateNotificationContent", "CrossLanguageDefinitionId": "Azure.Communication.MessagesService.TemplateNotificationContent", @@ -417,16 +452,18 @@ }, "Properties": [ { - "$id": "61", + "$id": "62", "Name": "kind", "SerializedName": "kind", "Description": "Message notification type is template.", "Type": { - "$id": "62", + "$id": "63", "Kind": "constant", "ValueType": { - "$id": "63", - "Kind": "string" + "$id": "64", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" }, "Value": "template" }, @@ -435,12 +472,12 @@ "IsDiscriminator": true }, { - "$id": "64", + "$id": "65", "Name": "template", "SerializedName": "template", "Description": "The template object used to create templates.", "Type": { - "$id": "65", + "$id": "66", "Kind": "model", "Name": "MessageTemplate", "CrossLanguageDefinitionId": "Azure.Communication.MessagesService.MessageTemplate", @@ -448,47 +485,51 @@ "Description": "The template object used to create templates.", "Properties": [ { - "$id": "66", + "$id": "67", "Name": "name", "SerializedName": "name", "Description": "Name of the template.", "Type": { - "$id": "67", - "Kind": "string" + "$id": "68", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" }, "IsRequired": true, "IsReadOnly": false }, { - "$id": "68", + "$id": "69", "Name": "language", "SerializedName": "language", "Description": "The template's language, in the ISO 639 format, consist of a two-letter language code followed by an optional two-letter country code, e.g., 'en' or 'en_US'.", "Type": { - "$id": "69", - "Kind": "string" + "$id": "70", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" }, "IsRequired": true, "IsReadOnly": false }, { - "$id": "70", + "$id": "71", "Name": "values", "SerializedName": "values", "Description": "The template values.", "Type": { - "$id": "71", + "$id": "72", "Kind": "array", "Name": "ArrayMessageTemplateValue", "ValueType": { - "$id": "72", + "$id": "73", "Kind": "model", "Name": "MessageTemplateValue", "CrossLanguageDefinitionId": "Azure.Communication.MessagesService.MessageTemplateValue", "Usage": "Input,Json", "Description": "The class describes a parameter of a template.", "DiscriminatorProperty": { - "$id": "73", + "$id": "74", "Name": "kind", "SerializedName": "kind", "Description": "The type discriminator describing a template parameter type.", @@ -501,25 +542,27 @@ }, "Properties": [ { - "$id": "74", + "$id": "75", "Name": "name", "SerializedName": "name", "Description": "Template binding reference name", "Type": { - "$id": "75", - "Kind": "string" + "$id": "76", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" }, "IsRequired": true, "IsReadOnly": false }, { - "$ref": "73" + "$ref": "74" } ], "DiscriminatedSubtypes": { - "$id": "76", + "$id": "77", "text": { - "$id": "77", + "$id": "78", "Kind": "model", "Name": "MessageTemplateText", "CrossLanguageDefinitionId": "Azure.Communication.MessagesService.MessageTemplateText", @@ -527,20 +570,22 @@ "Description": "The message template's text value information.", "DiscriminatorValue": "text", "BaseModel": { - "$ref": "72" + "$ref": "73" }, "Properties": [ { - "$id": "78", + "$id": "79", "Name": "kind", "SerializedName": "kind", "Description": "Message parameter type is text.", "Type": { - "$id": "79", + "$id": "80", "Kind": "constant", "ValueType": { - "$id": "80", - "Kind": "string" + "$id": "81", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" }, "Value": "text" }, @@ -549,13 +594,15 @@ "IsDiscriminator": true }, { - "$id": "81", + "$id": "82", "Name": "text", "SerializedName": "text", "Description": "The text value.", "Type": { - "$id": "82", - "Kind": "string" + "$id": "83", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" }, "IsRequired": true, "IsReadOnly": false @@ -563,7 +610,7 @@ ] }, "image": { - "$id": "83", + "$id": "84", "Kind": "model", "Name": "MessageTemplateImage", "CrossLanguageDefinitionId": "Azure.Communication.MessagesService.MessageTemplateImage", @@ -571,20 +618,22 @@ "Description": "The message template's image value information.", "DiscriminatorValue": "image", "BaseModel": { - "$ref": "72" + "$ref": "73" }, "Properties": [ { - "$id": "84", + "$id": "85", "Name": "kind", "SerializedName": "kind", "Description": "Message parameter type is image.", "Type": { - "$id": "85", + "$id": "86", "Kind": "constant", "ValueType": { - "$id": "86", - "Kind": "string" + "$id": "87", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" }, "Value": "image" }, @@ -593,37 +642,43 @@ "IsDiscriminator": true }, { - "$id": "87", + "$id": "88", "Name": "uri", "SerializedName": "url", "Description": "The (public) URL of the media.", "Type": { - "$id": "88", - "Kind": "url" + "$id": "89", + "Kind": "url", + "Name": "url", + "CrossLanguageDefinitionId": "TypeSpec.url" }, "IsRequired": true, "IsReadOnly": false }, { - "$id": "89", + "$id": "90", "Name": "caption", "SerializedName": "caption", "Description": "The [optional] caption of the media object.", "Type": { - "$id": "90", - "Kind": "string" + "$id": "91", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" }, "IsRequired": false, "IsReadOnly": false }, { - "$id": "91", + "$id": "92", "Name": "fileName", "SerializedName": "fileName", "Description": "The [optional] filename of the media file.", "Type": { - "$id": "92", - "Kind": "string" + "$id": "93", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" }, "IsRequired": false, "IsReadOnly": false @@ -631,7 +686,7 @@ ] }, "document": { - "$id": "93", + "$id": "94", "Kind": "model", "Name": "MessageTemplateDocument", "CrossLanguageDefinitionId": "Azure.Communication.MessagesService.MessageTemplateDocument", @@ -639,20 +694,22 @@ "Description": "The message template's document value information.", "DiscriminatorValue": "document", "BaseModel": { - "$ref": "72" + "$ref": "73" }, "Properties": [ { - "$id": "94", + "$id": "95", "Name": "kind", "SerializedName": "kind", "Description": "Message parameter type is document.", "Type": { - "$id": "95", + "$id": "96", "Kind": "constant", "ValueType": { - "$id": "96", - "Kind": "string" + "$id": "97", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" }, "Value": "document" }, @@ -661,37 +718,43 @@ "IsDiscriminator": true }, { - "$id": "97", + "$id": "98", "Name": "uri", "SerializedName": "url", "Description": "The (public) URL of the media.", "Type": { - "$id": "98", - "Kind": "url" + "$id": "99", + "Kind": "url", + "Name": "url", + "CrossLanguageDefinitionId": "TypeSpec.url" }, "IsRequired": true, "IsReadOnly": false }, { - "$id": "99", + "$id": "100", "Name": "caption", "SerializedName": "caption", "Description": "The [optional] caption of the media object.", "Type": { - "$id": "100", - "Kind": "string" + "$id": "101", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" }, "IsRequired": false, "IsReadOnly": false }, { - "$id": "101", + "$id": "102", "Name": "fileName", "SerializedName": "fileName", "Description": "The [optional] filename of the media file.", "Type": { - "$id": "102", - "Kind": "string" + "$id": "103", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" }, "IsRequired": false, "IsReadOnly": false @@ -699,7 +762,7 @@ ] }, "video": { - "$id": "103", + "$id": "104", "Kind": "model", "Name": "MessageTemplateVideo", "CrossLanguageDefinitionId": "Azure.Communication.MessagesService.MessageTemplateVideo", @@ -707,20 +770,22 @@ "Description": "The message template's video value information.", "DiscriminatorValue": "video", "BaseModel": { - "$ref": "72" + "$ref": "73" }, "Properties": [ { - "$id": "104", + "$id": "105", "Name": "kind", "SerializedName": "kind", "Description": "Message parameter type is video.", "Type": { - "$id": "105", + "$id": "106", "Kind": "constant", "ValueType": { - "$id": "106", - "Kind": "string" + "$id": "107", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" }, "Value": "video" }, @@ -729,37 +794,43 @@ "IsDiscriminator": true }, { - "$id": "107", + "$id": "108", "Name": "uri", "SerializedName": "url", "Description": "The (public) URL of the media.", "Type": { - "$id": "108", - "Kind": "url" + "$id": "109", + "Kind": "url", + "Name": "url", + "CrossLanguageDefinitionId": "TypeSpec.url" }, "IsRequired": true, "IsReadOnly": false }, { - "$id": "109", + "$id": "110", "Name": "caption", "SerializedName": "caption", "Description": "The [optional] caption of the media object.", "Type": { - "$id": "110", - "Kind": "string" + "$id": "111", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" }, "IsRequired": false, "IsReadOnly": false }, { - "$id": "111", + "$id": "112", "Name": "fileName", "SerializedName": "fileName", "Description": "The [optional] filename of the media file.", "Type": { - "$id": "112", - "Kind": "string" + "$id": "113", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" }, "IsRequired": false, "IsReadOnly": false @@ -767,7 +838,7 @@ ] }, "location": { - "$id": "113", + "$id": "114", "Kind": "model", "Name": "MessageTemplateLocation", "CrossLanguageDefinitionId": "Azure.Communication.MessagesService.MessageTemplateLocation", @@ -775,20 +846,22 @@ "Description": "The message template's location value information.", "DiscriminatorValue": "location", "BaseModel": { - "$ref": "72" + "$ref": "73" }, "Properties": [ { - "$id": "114", + "$id": "115", "Name": "kind", "SerializedName": "kind", "Description": "Message parameter type is location.", "Type": { - "$id": "115", + "$id": "116", "Kind": "constant", "ValueType": { - "$id": "116", - "Kind": "string" + "$id": "117", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" }, "Value": "location" }, @@ -797,49 +870,57 @@ "IsDiscriminator": true }, { - "$id": "117", + "$id": "118", "Name": "locationName", "SerializedName": "locationName", "Description": "The [Optional] name of the location.", "Type": { - "$id": "118", - "Kind": "string" + "$id": "119", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" }, "IsRequired": false, "IsReadOnly": false }, { - "$id": "119", + "$id": "120", "Name": "address", "SerializedName": "address", "Description": "The [Optional] address of the location.", "Type": { - "$id": "120", - "Kind": "string" + "$id": "121", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" }, "IsRequired": false, "IsReadOnly": false }, { - "$id": "121", + "$id": "122", "Name": "latitude", "SerializedName": "latitude", "Description": "The latitude of the location.", "Type": { - "$id": "122", - "Kind": "float64" + "$id": "123", + "Kind": "float64", + "Name": "float64", + "CrossLanguageDefinitionId": "TypeSpec.float64" }, "IsRequired": true, "IsReadOnly": false }, { - "$id": "123", + "$id": "124", "Name": "longitude", "SerializedName": "longitude", "Description": "The longitude of the location.", "Type": { - "$id": "124", - "Kind": "float64" + "$id": "125", + "Kind": "float64", + "Name": "float64", + "CrossLanguageDefinitionId": "TypeSpec.float64" }, "IsRequired": true, "IsReadOnly": false @@ -847,7 +928,7 @@ ] }, "quickAction": { - "$id": "125", + "$id": "126", "Kind": "model", "Name": "MessageTemplateQuickAction", "CrossLanguageDefinitionId": "Azure.Communication.MessagesService.MessageTemplateQuickAction", @@ -855,20 +936,22 @@ "Description": "The message template's quick action value information.", "DiscriminatorValue": "quickAction", "BaseModel": { - "$ref": "72" + "$ref": "73" }, "Properties": [ { - "$id": "126", + "$id": "127", "Name": "kind", "SerializedName": "kind", "Description": "Message parameter type is quick action.", "Type": { - "$id": "127", + "$id": "128", "Kind": "constant", "ValueType": { - "$id": "128", - "Kind": "string" + "$id": "129", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" }, "Value": "quickAction" }, @@ -877,25 +960,29 @@ "IsDiscriminator": true }, { - "$id": "129", + "$id": "130", "Name": "text", "SerializedName": "text", "Description": "The [Optional] quick action text", "Type": { - "$id": "130", - "Kind": "string" + "$id": "131", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" }, "IsRequired": false, "IsReadOnly": false }, { - "$id": "131", + "$id": "132", "Name": "payload", "SerializedName": "payload", "Description": "The [Optional] quick action payload", "Type": { - "$id": "132", - "Kind": "string" + "$id": "133", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" }, "IsRequired": false, "IsReadOnly": false @@ -910,19 +997,19 @@ "IsReadOnly": false }, { - "$id": "133", + "$id": "134", "Name": "bindings", "SerializedName": "bindings", "Description": "The binding object to link values to the template specific locations", "Type": { - "$id": "134", + "$id": "135", "Kind": "model", "Name": "MessageTemplateBindings", "CrossLanguageDefinitionId": "Azure.Communication.MessagesService.MessageTemplateBindings", "Usage": "Input,Json", "Description": "The binding object to link values to the template specific locations", "DiscriminatorProperty": { - "$id": "135", + "$id": "136", "Name": "kind", "SerializedName": "kind", "Description": "The type discriminator describing a template bindings type.", @@ -935,13 +1022,13 @@ }, "Properties": [ { - "$ref": "135" + "$ref": "136" } ], "DiscriminatedSubtypes": { - "$id": "136", + "$id": "137", "whatsApp": { - "$id": "137", + "$id": "138", "Kind": "model", "Name": "WhatsAppMessageTemplateBindings", "CrossLanguageDefinitionId": "Azure.Communication.MessagesService.WhatsAppMessageTemplateBindings", @@ -949,20 +1036,22 @@ "Description": "The template bindings for WhatsApp", "DiscriminatorValue": "whatsApp", "BaseModel": { - "$ref": "134" + "$ref": "135" }, "Properties": [ { - "$id": "138", + "$id": "139", "Name": "kind", "SerializedName": "kind", "Description": "MessageTemplateBindings is whatsApp", "Type": { - "$id": "139", + "$id": "140", "Kind": "constant", "ValueType": { - "$id": "140", - "Kind": "string" + "$id": "141", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" }, "Value": "whatsApp" }, @@ -971,16 +1060,16 @@ "IsDiscriminator": true }, { - "$id": "141", + "$id": "142", "Name": "header", "SerializedName": "header", "Description": "The header template bindings", "Type": { - "$id": "142", + "$id": "143", "Kind": "array", "Name": "ArrayWhatsAppMessageTemplateBindingsComponent", "ValueType": { - "$id": "143", + "$id": "144", "Kind": "model", "Name": "WhatsAppMessageTemplateBindingsComponent", "CrossLanguageDefinitionId": "Azure.Communication.MessagesService.WhatsAppMessageTemplateBindingsComponent", @@ -988,13 +1077,15 @@ "Description": "The template bindings component for WhatsApp", "Properties": [ { - "$id": "144", + "$id": "145", "Name": "refValue", "SerializedName": "refValue", "Description": "The name of the referenced item in the template values.", "Type": { - "$id": "145", - "Kind": "string" + "$id": "146", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" }, "IsRequired": true, "IsReadOnly": false @@ -1007,16 +1098,16 @@ "IsReadOnly": false }, { - "$id": "146", + "$id": "147", "Name": "body", "SerializedName": "body", "Description": "The body template bindings", "Type": { - "$id": "147", + "$id": "148", "Kind": "array", "Name": "ArrayWhatsAppMessageTemplateBindingsComponent", "ValueType": { - "$ref": "143" + "$ref": "144" }, "CrossLanguageDefinitionId": "TypeSpec.Array" }, @@ -1024,16 +1115,16 @@ "IsReadOnly": false }, { - "$id": "148", + "$id": "149", "Name": "footer", "SerializedName": "footer", "Description": "The footer template bindings", "Type": { - "$id": "149", + "$id": "150", "Kind": "array", "Name": "ArrayWhatsAppMessageTemplateBindingsComponent", "ValueType": { - "$ref": "143" + "$ref": "144" }, "CrossLanguageDefinitionId": "TypeSpec.Array" }, @@ -1041,16 +1132,16 @@ "IsReadOnly": false }, { - "$id": "150", + "$id": "151", "Name": "buttons", "SerializedName": "buttons", "Description": "The button template bindings", "Type": { - "$id": "151", + "$id": "152", "Kind": "array", "Name": "ArrayWhatsAppMessageTemplateBindingsButton", "ValueType": { - "$id": "152", + "$id": "153", "Kind": "model", "Name": "WhatsAppMessageTemplateBindingsButton", "CrossLanguageDefinitionId": "Azure.Communication.MessagesService.WhatsAppMessageTemplateBindingsButton", @@ -1058,7 +1149,7 @@ "Description": "The template bindings component button for WhatsApp", "Properties": [ { - "$id": "153", + "$id": "154", "Name": "subType", "SerializedName": "subType", "Description": "The WhatsApp button sub type", @@ -1069,13 +1160,15 @@ "IsReadOnly": false }, { - "$id": "154", + "$id": "155", "Name": "refValue", "SerializedName": "refValue", "Description": "The name of the referenced item in the template values.", "Type": { - "$id": "155", - "Kind": "string" + "$id": "156", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" }, "IsRequired": true, "IsReadOnly": false @@ -1104,52 +1197,52 @@ } }, { - "$ref": "46" + "$ref": "47" }, { - "$ref": "52" + "$ref": "53" }, { - "$ref": "60" + "$ref": "61" }, { - "$ref": "65" + "$ref": "66" }, { - "$ref": "72" + "$ref": "73" }, { - "$ref": "77" + "$ref": "78" }, { - "$ref": "83" + "$ref": "84" }, { - "$ref": "93" + "$ref": "94" }, { - "$ref": "103" + "$ref": "104" }, { - "$ref": "113" + "$ref": "114" }, { - "$ref": "125" + "$ref": "126" }, { - "$ref": "134" + "$ref": "135" }, { - "$ref": "137" + "$ref": "138" }, { - "$ref": "143" + "$ref": "144" }, { - "$ref": "152" + "$ref": "153" }, { - "$id": "156", + "$id": "157", "Kind": "model", "Name": "SendMessageResult", "CrossLanguageDefinitionId": "Azure.Communication.MessagesService.SendMessageResult", @@ -1157,16 +1250,16 @@ "Description": "Result of the send message operation.", "Properties": [ { - "$id": "157", + "$id": "158", "Name": "receipts", "SerializedName": "receipts", "Description": "Receipts of the send message operation.", "Type": { - "$id": "158", + "$id": "159", "Kind": "array", "Name": "ArrayMessageReceipt", "ValueType": { - "$id": "159", + "$id": "160", "Kind": "model", "Name": "MessageReceipt", "CrossLanguageDefinitionId": "Azure.Communication.MessagesService.MessageReceipt", @@ -1174,25 +1267,29 @@ "Description": "Receipt of the sending one message.", "Properties": [ { - "$id": "160", + "$id": "161", "Name": "messageId", "SerializedName": "messageId", "Description": "The message id.", "Type": { - "$id": "161", - "Kind": "string" + "$id": "162", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" }, "IsRequired": true, "IsReadOnly": false }, { - "$id": "162", + "$id": "163", "Name": "to", "SerializedName": "to", "Description": "The native external platform user identifier of the recipient.", "Type": { - "$id": "163", - "Kind": "string" + "$id": "164", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" }, "IsRequired": true, "IsReadOnly": false @@ -1207,17 +1304,17 @@ ] }, { - "$ref": "159" + "$ref": "160" }, { - "$id": "164", + "$id": "165", "Kind": "model", "Name": "MessageTemplateItem", "CrossLanguageDefinitionId": "Azure.Communication.MessagesService.MessageTemplateItem", "Usage": "Output,Json", "Description": "The message template as returned from the service.", "DiscriminatorProperty": { - "$id": "165", + "$id": "166", "Name": "kind", "SerializedName": "kind", "Description": "The type discriminator describing a template type.", @@ -1230,31 +1327,35 @@ }, "Properties": [ { - "$id": "166", + "$id": "167", "Name": "name", "SerializedName": "name", "Description": "The template's name.", "Type": { - "$id": "167", - "Kind": "string" + "$id": "168", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" }, "IsRequired": true, "IsReadOnly": true }, { - "$id": "168", + "$id": "169", "Name": "language", "SerializedName": "language", "Description": "The template's language, in the ISO 639 format, consist of a two-letter language code followed by an optional two-letter country code, e.g., 'en' or 'en_US'.", "Type": { - "$id": "169", - "Kind": "string" + "$id": "170", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" }, "IsRequired": true, "IsReadOnly": false }, { - "$id": "170", + "$id": "171", "Name": "status", "SerializedName": "status", "Description": "The aggregated template status.", @@ -1265,13 +1366,13 @@ "IsReadOnly": false }, { - "$ref": "165" + "$ref": "166" } ], "DiscriminatedSubtypes": { - "$id": "171", + "$id": "172", "whatsApp": { - "$id": "172", + "$id": "173", "Kind": "model", "Name": "WhatsAppMessageTemplateItem", "CrossLanguageDefinitionId": "Azure.Communication.MessagesService.WhatsAppMessageTemplateItem", @@ -1279,32 +1380,36 @@ "Description": "The WhatsApp-specific template response contract", "DiscriminatorValue": "whatsApp", "BaseModel": { - "$ref": "164" + "$ref": "165" }, "Properties": [ { - "$id": "173", + "$id": "174", "Name": "content", "SerializedName": "content", "Description": "WhatsApp platform's template content. This is the payload returned from WhatsApp API.", "Type": { - "$id": "174", - "Kind": "any" + "$id": "175", + "Kind": "any", + "Name": "unknown", + "CrossLanguageDefinitionId": "" }, "IsRequired": false, "IsReadOnly": false }, { - "$id": "175", + "$id": "176", "Name": "kind", "SerializedName": "kind", "Description": "Message template response type is whatsApp.", "Type": { - "$id": "176", + "$id": "177", "Kind": "constant", "ValueType": { - "$id": "177", - "Kind": "string" + "$id": "178", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" }, "Value": "whatsApp" }, @@ -1317,10 +1422,10 @@ } }, { - "$ref": "172" + "$ref": "173" }, { - "$id": "178", + "$id": "179", "Kind": "model", "Name": "PagedMessageTemplateItem", "CrossLanguageDefinitionId": "Azure.Core.Foundations.CustomPage", @@ -1328,16 +1433,16 @@ "Description": "Paged collection of MessageTemplateItem items", "Properties": [ { - "$id": "179", + "$id": "180", "Name": "value", "SerializedName": "value", "Description": "The MessageTemplateItem items on this page", "Type": { - "$id": "180", + "$id": "181", "Kind": "array", "Name": "ArrayMessageTemplateItem", "ValueType": { - "$ref": "164" + "$ref": "165" }, "CrossLanguageDefinitionId": "TypeSpec.Array" }, @@ -1345,13 +1450,21 @@ "IsReadOnly": false }, { - "$id": "181", + "$id": "182", "Name": "nextLink", "SerializedName": "nextLink", "Description": "The link to the next page of items", "Type": { - "$id": "182", - "Kind": "url" + "$id": "183", + "Kind": "url", + "Name": "ResourceLocation", + "CrossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", + "BaseType": { + "$id": "184", + "Kind": "url", + "Name": "url", + "CrossLanguageDefinitionId": "TypeSpec.url" + } }, "IsRequired": false, "IsReadOnly": false @@ -1361,24 +1474,26 @@ ], "Clients": [ { - "$id": "183", + "$id": "185", "Name": "NotificationMessagesClient", "Operations": [ { - "$id": "184", + "$id": "186", "Name": "send", "ResourceName": "NotificationMessagesClient", "Description": "Sends a notification message from Business to User.", "Accessibility": "public", "Parameters": [ { - "$id": "185", + "$id": "187", "Name": "endpoint", "NameInRequest": "endpoint", "Description": "The communication resource, for example https://my-resource.communication.azure.com", "Type": { - "$id": "186", - "Kind": "uri" + "$id": "188", + "Kind": "url", + "Name": "url", + "CrossLanguageDefinitionId": "TypeSpec.url" }, "Location": "Uri", "IsApiVersion": false, @@ -1391,13 +1506,15 @@ "Kind": "Client" }, { - "$id": "187", + "$id": "189", "Name": "apiVersion", "NameInRequest": "api-version", "Description": "The API version to use for this operation.", "Type": { - "$id": "188", - "Kind": "string" + "$id": "190", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" }, "Location": "Query", "IsApiVersion": true, @@ -1407,22 +1524,26 @@ "IsRequired": true, "Kind": "Client", "DefaultValue": { - "$id": "189", + "$id": "191", "Type": { - "$id": "190", - "Kind": "string" + "$id": "192", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" }, "Value": "2024-02-01" } }, { - "$id": "191", + "$id": "193", "Name": "repeatabilityRequestId", "NameInRequest": "Repeatability-Request-ID", "Description": "An opaque, globally-unique, client-generated string identifier for the request.", "Type": { - "$id": "192", - "Kind": "string" + "$id": "194", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" }, "Location": "Header", "IsApiVersion": false, @@ -1433,18 +1554,22 @@ "Kind": "Method" }, { - "$id": "193", + "$id": "195", "Name": "repeatabilityFirstSent", "NameInRequest": "Repeatability-First-Sent", "Description": "Specifies the date and time at which the request was first created.", "Type": { - "$id": "194", + "$id": "196", "Kind": "utcDateTime", + "Name": "utcDateTime", "Encode": "rfc7231", "WireType": { - "$id": "195", - "Kind": "string" - } + "$id": "197", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" + }, + "CrossLanguageDefinitionId": "TypeSpec.utcDateTime" }, "Location": "Header", "IsApiVersion": false, @@ -1455,14 +1580,21 @@ "Kind": "Method" }, { - "$id": "196", + "$id": "198", "Name": "clientRequestId", "NameInRequest": "x-ms-client-request-id", "Description": "An opaque, globally-unique, client-generated string identifier for the request.", "Type": { - "$id": "197", - "Kind": "uuid", - "Encode": "string" + "$id": "199", + "Kind": "string", + "Name": "uuid", + "CrossLanguageDefinitionId": "Azure.Core.uuid", + "BaseType": { + "$id": "200", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" + } }, "Location": "Header", "IsApiVersion": false, @@ -1473,16 +1605,18 @@ "Kind": "Method" }, { - "$id": "198", + "$id": "201", "Name": "contentType", "NameInRequest": "Content-Type", "Description": "Body parameter's content type. Known values are application/json", "Type": { - "$id": "199", + "$id": "202", "Kind": "constant", "ValueType": { - "$id": "200", - "Kind": "string" + "$id": "203", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" }, "Value": "application/json" }, @@ -1495,15 +1629,17 @@ "Kind": "Constant" }, { - "$id": "201", + "$id": "204", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "202", + "$id": "205", "Kind": "constant", "ValueType": { - "$id": "203", - "Kind": "string" + "$id": "206", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" }, "Value": "application/json" }, @@ -1516,7 +1652,7 @@ "Kind": "Constant" }, { - "$id": "204", + "$id": "207", "Name": "notificationContent", "NameInRequest": "notificationContent", "Description": "Details of the message to send.", @@ -1534,17 +1670,17 @@ ], "Responses": [ { - "$id": "205", + "$id": "208", "StatusCodes": [ 202 ], "BodyType": { - "$ref": "156" + "$ref": "157" }, "BodyMediaType": "Json", "Headers": [ { - "$id": "206", + "$id": "209", "Name": "repeatabilityResult", "NameInResponse": "Repeatability-Result", "Description": "Indicates whether the repeatable request was accepted or rejected.", @@ -1553,14 +1689,21 @@ } }, { - "$id": "207", + "$id": "210", "Name": "clientRequestId", "NameInResponse": "x-ms-client-request-id", "Description": "An opaque, globally-unique, client-generated string identifier for the request.", "Type": { - "$id": "208", - "Kind": "uuid", - "Encode": "string" + "$id": "211", + "Kind": "string", + "Name": "uuid", + "CrossLanguageDefinitionId": "Azure.Core.uuid", + "BaseType": { + "$id": "212", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" + } } } ], @@ -1582,23 +1725,25 @@ "GenerateConvenienceMethod": true }, { - "$id": "209", + "$id": "213", "Name": "downloadMediaInternal", "ResourceName": "MessageDataStream", "Description": "Download the Media payload from a User to Business message.", "Accessibility": "internal", "Parameters": [ { - "$ref": "185" + "$ref": "187" }, { - "$id": "210", + "$id": "214", "Name": "apiVersion", "NameInRequest": "api-version", "Description": "The API version to use for this operation.", "Type": { - "$id": "211", - "Kind": "string" + "$id": "215", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" }, "Location": "Query", "IsApiVersion": true, @@ -1608,22 +1753,26 @@ "IsRequired": true, "Kind": "Client", "DefaultValue": { - "$id": "212", + "$id": "216", "Type": { - "$id": "213", - "Kind": "string" + "$id": "217", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" }, "Value": "2024-02-01" } }, { - "$id": "214", + "$id": "218", "Name": "id", "NameInRequest": "id", "Description": "The stream ID.", "Type": { - "$id": "215", - "Kind": "string" + "$id": "219", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" }, "Location": "Path", "IsApiVersion": false, @@ -1634,14 +1783,21 @@ "Kind": "Method" }, { - "$id": "216", + "$id": "220", "Name": "clientRequestId", "NameInRequest": "x-ms-client-request-id", "Description": "An opaque, globally-unique, client-generated string identifier for the request.", "Type": { - "$id": "217", - "Kind": "uuid", - "Encode": "string" + "$id": "221", + "Kind": "string", + "Name": "uuid", + "CrossLanguageDefinitionId": "Azure.Core.uuid", + "BaseType": { + "$id": "222", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" + } }, "Location": "Header", "IsApiVersion": false, @@ -1652,15 +1808,17 @@ "Kind": "Method" }, { - "$id": "218", + "$id": "223", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "219", + "$id": "224", "Kind": "constant", "ValueType": { - "$id": "220", - "Kind": "string" + "$id": "225", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" }, "Value": "application/octet-stream" }, @@ -1675,39 +1833,50 @@ ], "Responses": [ { - "$id": "221", + "$id": "226", "StatusCodes": [ 200 ], "BodyType": { - "$id": "222", + "$id": "227", "Kind": "bytes", - "Encode": "base64" + "Name": "bytes", + "Encode": "base64", + "CrossLanguageDefinitionId": "TypeSpec.bytes" }, "BodyMediaType": "Json", "Headers": [ { - "$id": "223", + "$id": "228", "Name": "clientRequestId", "NameInResponse": "x-ms-client-request-id", "Description": "An opaque, globally-unique, client-generated string identifier for the request.", "Type": { - "$id": "224", - "Kind": "uuid", - "Encode": "string" + "$id": "229", + "Kind": "string", + "Name": "uuid", + "CrossLanguageDefinitionId": "Azure.Core.uuid", + "BaseType": { + "$id": "230", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" + } } }, { - "$id": "225", + "$id": "231", "Name": "contentType", "NameInResponse": "content-type", "Description": "The stream content type.", "Type": { - "$id": "226", + "$id": "232", "Kind": "constant", "ValueType": { - "$id": "227", - "Kind": "string" + "$id": "233", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" }, "Value": "application/octet-stream" } @@ -1729,33 +1898,35 @@ } ], "Protocol": { - "$id": "228" + "$id": "234" }, "Parameters": [ { - "$ref": "185" + "$ref": "187" } ] }, { - "$id": "229", + "$id": "235", "Name": "MessageTemplateClient", "Operations": [ { - "$id": "230", + "$id": "236", "Name": "getTemplates", "ResourceName": "MessageTemplateItem", "Description": "List all templates for given Azure Communication Services channel", "Accessibility": "public", "Parameters": [ { - "$id": "231", + "$id": "237", "Name": "endpoint", "NameInRequest": "endpoint", "Description": "The communication resource, for example https://my-resource.communication.azure.com", "Type": { - "$id": "232", - "Kind": "uri" + "$id": "238", + "Kind": "url", + "Name": "url", + "CrossLanguageDefinitionId": "TypeSpec.url" }, "Location": "Uri", "IsApiVersion": false, @@ -1768,13 +1939,15 @@ "Kind": "Client" }, { - "$id": "233", + "$id": "239", "Name": "apiVersion", "NameInRequest": "api-version", "Description": "The API version to use for this operation.", "Type": { - "$id": "234", - "Kind": "string" + "$id": "240", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" }, "Location": "Query", "IsApiVersion": true, @@ -1784,23 +1957,32 @@ "IsRequired": true, "Kind": "Client", "DefaultValue": { - "$id": "235", + "$id": "241", "Type": { - "$id": "236", - "Kind": "string" + "$id": "242", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" }, "Value": "2024-02-01" } }, { - "$id": "237", + "$id": "243", "Name": "channelId", "NameInRequest": "channelId", "Description": "The registration ID of the channel.", "Type": { - "$id": "238", - "Kind": "uuid", - "Encode": "string" + "$id": "244", + "Kind": "string", + "Name": "uuid", + "CrossLanguageDefinitionId": "Azure.Core.uuid", + "BaseType": { + "$id": "245", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" + } }, "Location": "Path", "IsApiVersion": false, @@ -1811,13 +1993,15 @@ "Kind": "Method" }, { - "$id": "239", + "$id": "246", "Name": "maxpagesize", "NameInRequest": "maxpagesize", "Description": "Number of objects to return per page.", "Type": { - "$id": "240", - "Kind": "int32" + "$id": "247", + "Kind": "int32", + "Name": "int32", + "CrossLanguageDefinitionId": "TypeSpec.int32" }, "Location": "Query", "IsApiVersion": false, @@ -1828,14 +2012,21 @@ "Kind": "Method" }, { - "$id": "241", + "$id": "248", "Name": "clientRequestId", "NameInRequest": "x-ms-client-request-id", "Description": "An opaque, globally-unique, client-generated string identifier for the request.", "Type": { - "$id": "242", - "Kind": "uuid", - "Encode": "string" + "$id": "249", + "Kind": "string", + "Name": "uuid", + "CrossLanguageDefinitionId": "Azure.Core.uuid", + "BaseType": { + "$id": "250", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" + } }, "Location": "Header", "IsApiVersion": false, @@ -1846,15 +2037,17 @@ "Kind": "Method" }, { - "$id": "243", + "$id": "251", "Name": "accept", "NameInRequest": "Accept", "Type": { - "$id": "244", + "$id": "252", "Kind": "constant", "ValueType": { - "$id": "245", - "Kind": "string" + "$id": "253", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" }, "Value": "application/json" }, @@ -1869,24 +2062,31 @@ ], "Responses": [ { - "$id": "246", + "$id": "254", "StatusCodes": [ 200 ], "BodyType": { - "$ref": "178" + "$ref": "179" }, "BodyMediaType": "Json", "Headers": [ { - "$id": "247", + "$id": "255", "Name": "clientRequestId", "NameInResponse": "x-ms-client-request-id", "Description": "An opaque, globally-unique, client-generated string identifier for the request.", "Type": { - "$id": "248", - "Kind": "uuid", - "Encode": "string" + "$id": "256", + "Kind": "string", + "Name": "uuid", + "CrossLanguageDefinitionId": "Azure.Core.uuid", + "BaseType": { + "$id": "257", + "Kind": "string", + "Name": "string", + "CrossLanguageDefinitionId": "TypeSpec.string" + } } } ], @@ -1902,7 +2102,7 @@ "Path": "/messages/channels/{channelId}/templates", "BufferResponse": true, "Paging": { - "$id": "249", + "$id": "258", "ItemName": "value", "NextLinkName": "nextLink" }, @@ -1911,25 +2111,25 @@ } ], "Protocol": { - "$id": "250" + "$id": "259" }, "Parameters": [ { - "$ref": "231" + "$ref": "237" } ] } ], "Auth": { - "$id": "251", + "$id": "260", "OAuth2": { - "$id": "252", + "$id": "261", "Scopes": [ "https://communication.azure.com/.default" ] }, "ApiKey": { - "$id": "253", + "$id": "262", "Name": "Authorization" } }