Skip to content

Commit 6229ca6

Browse files
authored
Update AutoRest C# version to 3.0.0-beta.20250206.1 (#48162)
* Update Generator Version 3.0.0-beta.20250206.1 * Update SDK codes co_da_1
1 parent c83c5e5 commit 6229ca6

File tree

5 files changed

+51
-16
lines changed

5 files changed

+51
-16
lines changed

eng/Packages.Data.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@
246246
All should have PrivateAssets="All" set so they don't become package dependencies
247247
-->
248248
<ItemGroup>
249-
<PackageReference Update="Microsoft.Azure.AutoRest.CSharp" Version="3.0.0-beta.20250205.1" PrivateAssets="All" />
249+
<PackageReference Update="Microsoft.Azure.AutoRest.CSharp" Version="3.0.0-beta.20250206.1" PrivateAssets="All" />
250250
<PackageReference Update="Azure.ClientSdk.Analyzers" Version="0.1.1-dev.20240813.2" PrivateAssets="All" />
251251
<PackageReference Update="coverlet.collector" Version="3.2.0" PrivateAssets="All" />
252252
<PackageReference Update="Microsoft.CodeAnalysis.NetAnalyzers" Version="8.0.0" PrivateAssets="All" />

eng/emitter-package-lock.json

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

eng/emitter-package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"main": "dist/src/index.js",
33
"dependencies": {
4-
"@azure-tools/typespec-csharp": "0.2.0-beta.20250205.1"
4+
"@azure-tools/typespec-csharp": "0.2.0-beta.20250206.1"
55
},
66
"devDependencies": {
77
"@azure-tools/typespec-autorest": "0.50.0",

sdk/communication/Azure.Communication.Messages/Configuration.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
"output-folder": ".",
33
"namespace": "Azure.Communication.Messages",
44
"library-name": "Azure.Communication.Messages",
5-
"model-namespace": false,
65
"flavor": "azure",
76
"use-model-reader-writer": true,
87
"shared-source-folders": [
98
"../../TempTypeSpecFiles/node_modules/@autorest/csharp/Generator.Shared",
109
"../../TempTypeSpecFiles/node_modules/@autorest/csharp/Azure.Core.Shared"
11-
]
10+
],
11+
"model-namespace": false
1212
}

sdk/communication/Azure.Communication.Messages/tspCodeModel.json

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@
146146
"decorators": []
147147
}
148148
],
149+
"clientNamespace": "Azure.Communication.MessagesService",
149150
"doc": "The type of message.",
150151
"isFixed": false,
151152
"isFlags": false,
@@ -274,6 +275,7 @@
274275
"decorators": []
275276
}
276277
],
278+
"clientNamespace": "Azure.Communication.MessagesService",
277279
"doc": "The type of the template parameter.",
278280
"isFixed": false,
279281
"isFlags": false,
@@ -312,6 +314,7 @@
312314
"decorators": []
313315
}
314316
],
317+
"clientNamespace": "Azure.Communication.MessagesService",
315318
"doc": "The type of the message template.",
316319
"isFixed": false,
317320
"isFlags": false,
@@ -368,6 +371,7 @@
368371
"decorators": []
369372
}
370373
],
374+
"clientNamespace": "Azure.Communication.MessagesService",
371375
"doc": "The WhatsApp button sub type.",
372376
"isFixed": false,
373377
"isFlags": false,
@@ -424,6 +428,7 @@
424428
"decorators": []
425429
}
426430
],
431+
"clientNamespace": "Azure.Communication.MessagesService",
427432
"doc": "Azure Communication Messages Versions",
428433
"isFixed": true,
429434
"isFlags": false,
@@ -516,6 +521,7 @@
516521
"decorators": []
517522
}
518523
],
524+
"clientNamespace": "Azure.Communication.MessagesService",
519525
"doc": "The aggregated template status.",
520526
"isFixed": false,
521527
"isFlags": false,
@@ -554,6 +560,7 @@
554560
"decorators": []
555561
}
556562
],
563+
"clientNamespace": "Azure.Communication.MessagesService",
557564
"doc": "The type of the communication messages channel.",
558565
"isFixed": false,
559566
"isFlags": false,
@@ -610,6 +617,7 @@
610617
"decorators": []
611618
}
612619
],
620+
"clientNamespace": "Azure.Core",
613621
"doc": "Repeatability Result header options",
614622
"isFixed": true,
615623
"isFlags": false,
@@ -622,6 +630,7 @@
622630
"$id": "68",
623631
"kind": "model",
624632
"name": "NotificationContent",
633+
"clientNamespace": "Azure.Communication.MessagesService",
625634
"crossLanguageDefinitionId": "Azure.Communication.MessagesService.NotificationContent",
626635
"usage": "Input,Json",
627636
"doc": "Details of the message to send.",
@@ -728,6 +737,7 @@
728737
"$id": "83",
729738
"kind": "model",
730739
"name": "TextNotificationContent",
740+
"clientNamespace": "Azure.Communication.MessagesService",
731741
"crossLanguageDefinitionId": "Azure.Communication.MessagesService.TextNotificationContent",
732742
"usage": "Input,Json",
733743
"doc": "A request to send a text notification.",
@@ -803,6 +813,7 @@
803813
"$id": "93",
804814
"kind": "model",
805815
"name": "MediaNotificationContent",
816+
"clientNamespace": "Azure.Communication.MessagesService",
806817
"crossLanguageDefinitionId": "Azure.Communication.MessagesService.MediaNotificationContent",
807818
"usage": "Input,Json",
808819
"deprecation": "`MediaNotificationContent` is being deprecated, we encourage you to use the new `ImageNotificationContent` for sending images instead.",
@@ -906,6 +917,7 @@
906917
"$id": "107",
907918
"kind": "model",
908919
"name": "ImageNotificationContent",
920+
"clientNamespace": "Azure.Communication.MessagesService",
909921
"crossLanguageDefinitionId": "Azure.Communication.MessagesService.ImageNotificationContent",
910922
"usage": "Input,Json",
911923
"doc": "A request to send an image notification.",
@@ -1008,6 +1020,7 @@
10081020
"$id": "121",
10091021
"kind": "model",
10101022
"name": "DocumentNotificationContent",
1023+
"clientNamespace": "Azure.Communication.MessagesService",
10111024
"crossLanguageDefinitionId": "Azure.Communication.MessagesService.DocumentNotificationContent",
10121025
"usage": "Input,Json",
10131026
"doc": "A request to send a document notification.",
@@ -1137,6 +1150,7 @@
11371150
"$id": "139",
11381151
"kind": "model",
11391152
"name": "VideoNotificationContent",
1153+
"clientNamespace": "Azure.Communication.MessagesService",
11401154
"crossLanguageDefinitionId": "Azure.Communication.MessagesService.VideoNotificationContent",
11411155
"usage": "Input,Json",
11421156
"doc": "A request to send a video notification.",
@@ -1239,6 +1253,7 @@
12391253
"$id": "153",
12401254
"kind": "model",
12411255
"name": "AudioNotificationContent",
1256+
"clientNamespace": "Azure.Communication.MessagesService",
12421257
"crossLanguageDefinitionId": "Azure.Communication.MessagesService.AudioNotificationContent",
12431258
"usage": "Input,Json",
12441259
"doc": "A request to send an audio notification.",
@@ -1314,6 +1329,7 @@
13141329
"$id": "163",
13151330
"kind": "model",
13161331
"name": "TemplateNotificationContent",
1332+
"clientNamespace": "Azure.Communication.MessagesService",
13171333
"crossLanguageDefinitionId": "Azure.Communication.MessagesService.TemplateNotificationContent",
13181334
"usage": "Input,Json",
13191335
"doc": "A request to send a template notification.",
@@ -1366,6 +1382,7 @@
13661382
"$id": "170",
13671383
"kind": "model",
13681384
"name": "MessageTemplate",
1385+
"clientNamespace": "Azure.Communication.MessagesService",
13691386
"crossLanguageDefinitionId": "Azure.Communication.MessagesService.MessageTemplate",
13701387
"usage": "Input,Json",
13711388
"doc": "The template object used to create templates.",
@@ -1439,6 +1456,7 @@
14391456
"$id": "181",
14401457
"kind": "model",
14411458
"name": "MessageTemplateValue",
1459+
"clientNamespace": "Azure.Communication.MessagesService",
14421460
"crossLanguageDefinitionId": "Azure.Communication.MessagesService.MessageTemplateValue",
14431461
"usage": "Input,Json",
14441462
"doc": "The class describes a parameter of a template.",
@@ -1504,6 +1522,7 @@
15041522
"$id": "190",
15051523
"kind": "model",
15061524
"name": "MessageTemplateText",
1525+
"clientNamespace": "Azure.Communication.MessagesService",
15071526
"crossLanguageDefinitionId": "Azure.Communication.MessagesService.MessageTemplateText",
15081527
"usage": "Input,Json",
15091528
"doc": "The message template's text value information.",
@@ -1579,6 +1598,7 @@
15791598
"$id": "200",
15801599
"kind": "model",
15811600
"name": "MessageTemplateImage",
1601+
"clientNamespace": "Azure.Communication.MessagesService",
15821602
"crossLanguageDefinitionId": "Azure.Communication.MessagesService.MessageTemplateImage",
15831603
"usage": "Input,Json",
15841604
"doc": "The message template's image value information.",
@@ -1708,6 +1728,7 @@
17081728
"$id": "218",
17091729
"kind": "model",
17101730
"name": "MessageTemplateDocument",
1731+
"clientNamespace": "Azure.Communication.MessagesService",
17111732
"crossLanguageDefinitionId": "Azure.Communication.MessagesService.MessageTemplateDocument",
17121733
"usage": "Input,Json",
17131734
"doc": "The message template's document value information.",
@@ -1837,6 +1858,7 @@
18371858
"$id": "236",
18381859
"kind": "model",
18391860
"name": "MessageTemplateVideo",
1861+
"clientNamespace": "Azure.Communication.MessagesService",
18401862
"crossLanguageDefinitionId": "Azure.Communication.MessagesService.MessageTemplateVideo",
18411863
"usage": "Input,Json",
18421864
"doc": "The message template's video value information.",
@@ -1966,6 +1988,7 @@
19661988
"$id": "254",
19671989
"kind": "model",
19681990
"name": "MessageTemplateLocation",
1991+
"clientNamespace": "Azure.Communication.MessagesService",
19691992
"crossLanguageDefinitionId": "Azure.Communication.MessagesService.MessageTemplateLocation",
19701993
"usage": "Input,Json",
19711994
"doc": "The message template's location value information.",
@@ -2122,6 +2145,7 @@
21222145
"$id": "276",
21232146
"kind": "model",
21242147
"name": "MessageTemplateQuickAction",
2148+
"clientNamespace": "Azure.Communication.MessagesService",
21252149
"crossLanguageDefinitionId": "Azure.Communication.MessagesService.MessageTemplateQuickAction",
21262150
"usage": "Input,Json",
21272151
"doc": "The message template's quick action value information.",
@@ -2249,6 +2273,7 @@
22492273
"$id": "293",
22502274
"kind": "model",
22512275
"name": "MessageTemplateBindings",
2276+
"clientNamespace": "Azure.Communication.MessagesService",
22522277
"crossLanguageDefinitionId": "Azure.Communication.MessagesService.MessageTemplateBindings",
22532278
"usage": "Input,Json",
22542279
"doc": "The binding object to link values to the template specific locations",
@@ -2287,6 +2312,7 @@
22872312
"$id": "298",
22882313
"kind": "model",
22892314
"name": "WhatsAppMessageTemplateBindings",
2315+
"clientNamespace": "Azure.Communication.MessagesService",
22902316
"crossLanguageDefinitionId": "Azure.Communication.MessagesService.WhatsAppMessageTemplateBindings",
22912317
"usage": "Input,Json",
22922318
"doc": "The template bindings for WhatsApp",
@@ -2343,6 +2369,7 @@
23432369
"$id": "306",
23442370
"kind": "model",
23452371
"name": "WhatsAppMessageTemplateBindingsComponent",
2372+
"clientNamespace": "Azure.Communication.MessagesService",
23462373
"crossLanguageDefinitionId": "Azure.Communication.MessagesService.WhatsAppMessageTemplateBindingsComponent",
23472374
"usage": "Input,Json",
23482375
"doc": "The template bindings component for WhatsApp",
@@ -2468,6 +2495,7 @@
24682495
"$id": "323",
24692496
"kind": "model",
24702497
"name": "WhatsAppMessageTemplateBindingsButton",
2498+
"clientNamespace": "Azure.Communication.MessagesService",
24712499
"crossLanguageDefinitionId": "Azure.Communication.MessagesService.WhatsAppMessageTemplateBindingsButton",
24722500
"usage": "Input,Json",
24732501
"doc": "The template bindings component button for WhatsApp",
@@ -2641,6 +2669,7 @@
26412669
"$id": "337",
26422670
"kind": "model",
26432671
"name": "SendMessageResult",
2672+
"clientNamespace": "Azure.Communication.MessagesService",
26442673
"crossLanguageDefinitionId": "Azure.Communication.MessagesService.SendMessageResult",
26452674
"usage": "Output,Json",
26462675
"doc": "Result of the send message operation.",
@@ -2660,6 +2689,7 @@
26602689
"$id": "340",
26612690
"kind": "model",
26622691
"name": "MessageReceipt",
2692+
"clientNamespace": "Azure.Communication.MessagesService",
26632693
"crossLanguageDefinitionId": "Azure.Communication.MessagesService.MessageReceipt",
26642694
"usage": "Output,Json",
26652695
"doc": "Receipt of the sending one message.",
@@ -2747,6 +2777,7 @@
27472777
"$id": "351",
27482778
"kind": "model",
27492779
"name": "MessageTemplateItem",
2780+
"clientNamespace": "Azure.Communication.MessagesService",
27502781
"crossLanguageDefinitionId": "Azure.Communication.MessagesService.MessageTemplateItem",
27512782
"usage": "Output,Json",
27522783
"doc": "The message template as returned from the service.",
@@ -2862,6 +2893,7 @@
28622893
"$id": "367",
28632894
"kind": "model",
28642895
"name": "WhatsAppMessageTemplateItem",
2896+
"clientNamespace": "Azure.Communication.MessagesService",
28652897
"crossLanguageDefinitionId": "Azure.Communication.MessagesService.WhatsAppMessageTemplateItem",
28662898
"usage": "Output,Json",
28672899
"doc": "The WhatsApp-specific template response contract",
@@ -2942,6 +2974,7 @@
29422974
"$id": "377",
29432975
"kind": "model",
29442976
"name": "PagedMessageTemplateItem",
2977+
"clientNamespace": "Azure.Core.Foundations",
29452978
"crossLanguageDefinitionId": "Azure.Core.Foundations.CustomPage",
29462979
"usage": "Output,Json",
29472980
"doc": "Paged collection of MessageTemplateItem items",
@@ -3018,6 +3051,7 @@
30183051
{
30193052
"$id": "387",
30203053
"Name": "NotificationMessagesClient",
3054+
"ClientNamespace": "ClientForAcsMessages",
30213055
"Operations": [
30223056
{
30233057
"$id": "388",
@@ -3550,6 +3584,7 @@
35503584
{
35513585
"$id": "444",
35523586
"Name": "MessageTemplateClient",
3587+
"ClientNamespace": "ClientForAcsMessages",
35533588
"Operations": [
35543589
{
35553590
"$id": "445",

0 commit comments

Comments
 (0)