@azure-typespec/http-client-csharp 1.0.0-alpha.20250409.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (202) hide show
  1. package/dist/emitter/emitter.d.ts +4 -0
  2. package/dist/emitter/emitter.d.ts.map +1 -0
  3. package/dist/emitter/emitter.js +10 -0
  4. package/dist/emitter/emitter.js.map +1 -0
  5. package/dist/emitter/index.d.ts +2 -0
  6. package/dist/emitter/index.d.ts.map +1 -0
  7. package/dist/emitter/index.js +4 -0
  8. package/dist/emitter/index.js.map +1 -0
  9. package/dist/generator/Azure.Core.dll +0 -0
  10. package/dist/generator/Azure.Generator.StubLibrary.deps.json +997 -0
  11. package/dist/generator/Azure.Generator.StubLibrary.dll +0 -0
  12. package/dist/generator/Azure.Generator.StubLibrary.pdb +0 -0
  13. package/dist/generator/Azure.Generator.StubLibrary.xml +24 -0
  14. package/dist/generator/Azure.Generator.deps.json +979 -0
  15. package/dist/generator/Azure.Generator.dll +0 -0
  16. package/dist/generator/Azure.Generator.pdb +0 -0
  17. package/dist/generator/Azure.Generator.xml +163 -0
  18. package/dist/generator/Azure.ResourceManager.dll +0 -0
  19. package/dist/generator/CommandLine.dll +0 -0
  20. package/dist/generator/Humanizer.dll +0 -0
  21. package/dist/generator/Microsoft.Bcl.AsyncInterfaces.dll +0 -0
  22. package/dist/generator/Microsoft.Build.Framework.dll +0 -0
  23. package/dist/generator/Microsoft.Build.dll +0 -0
  24. package/dist/generator/Microsoft.CodeAnalysis.CSharp.Workspaces.dll +0 -0
  25. package/dist/generator/Microsoft.CodeAnalysis.CSharp.dll +0 -0
  26. package/dist/generator/Microsoft.CodeAnalysis.Workspaces.dll +0 -0
  27. package/dist/generator/Microsoft.CodeAnalysis.dll +0 -0
  28. package/dist/generator/Microsoft.Extensions.Logging.Abstractions.dll +0 -0
  29. package/dist/generator/Microsoft.NET.StringTools.dll +0 -0
  30. package/dist/generator/Microsoft.TypeSpec.Generator.ClientModel.dll +0 -0
  31. package/dist/generator/Microsoft.TypeSpec.Generator.Input.dll +0 -0
  32. package/dist/generator/Microsoft.TypeSpec.Generator.dll +0 -0
  33. package/dist/generator/Microsoft.TypeSpec.Generator.runtimeconfig.json +12 -0
  34. package/dist/generator/NuGet.Common.dll +0 -0
  35. package/dist/generator/NuGet.Configuration.dll +0 -0
  36. package/dist/generator/NuGet.Frameworks.dll +0 -0
  37. package/dist/generator/Shared/Core/AzureKeyCredentialPolicy.cs +50 -0
  38. package/dist/generator/Shared/Core/RawRequestUriBuilder.cs +192 -0
  39. package/dist/generator/System.ClientModel.dll +0 -0
  40. package/dist/generator/System.ComponentModel.Composition.dll +0 -0
  41. package/dist/generator/System.Composition.AttributedModel.dll +0 -0
  42. package/dist/generator/System.Composition.Convention.dll +0 -0
  43. package/dist/generator/System.Composition.Hosting.dll +0 -0
  44. package/dist/generator/System.Composition.Runtime.dll +0 -0
  45. package/dist/generator/System.Composition.TypedParts.dll +0 -0
  46. package/dist/generator/System.Configuration.ConfigurationManager.dll +0 -0
  47. package/dist/generator/System.Diagnostics.EventLog.dll +0 -0
  48. package/dist/generator/System.IO.Pipelines.dll +0 -0
  49. package/dist/generator/System.Memory.Data.dll +0 -0
  50. package/dist/generator/System.Reflection.MetadataLoadContext.dll +0 -0
  51. package/dist/generator/System.Security.Cryptography.ProtectedData.dll +0 -0
  52. package/dist/generator/cs/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
  53. package/dist/generator/cs/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  54. package/dist/generator/cs/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
  55. package/dist/generator/cs/Microsoft.CodeAnalysis.resources.dll +0 -0
  56. package/dist/generator/de/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
  57. package/dist/generator/de/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  58. package/dist/generator/de/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
  59. package/dist/generator/de/Microsoft.CodeAnalysis.resources.dll +0 -0
  60. package/dist/generator/es/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
  61. package/dist/generator/es/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  62. package/dist/generator/es/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
  63. package/dist/generator/es/Microsoft.CodeAnalysis.resources.dll +0 -0
  64. package/dist/generator/fr/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
  65. package/dist/generator/fr/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  66. package/dist/generator/fr/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
  67. package/dist/generator/fr/Microsoft.CodeAnalysis.resources.dll +0 -0
  68. package/dist/generator/it/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
  69. package/dist/generator/it/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  70. package/dist/generator/it/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
  71. package/dist/generator/it/Microsoft.CodeAnalysis.resources.dll +0 -0
  72. package/dist/generator/ja/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
  73. package/dist/generator/ja/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  74. package/dist/generator/ja/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
  75. package/dist/generator/ja/Microsoft.CodeAnalysis.resources.dll +0 -0
  76. package/dist/generator/ko/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
  77. package/dist/generator/ko/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  78. package/dist/generator/ko/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
  79. package/dist/generator/ko/Microsoft.CodeAnalysis.resources.dll +0 -0
  80. package/dist/generator/net8.0/Azure.Core.dll +0 -0
  81. package/dist/generator/net8.0/Azure.Generator.StubLibrary.deps.json +997 -0
  82. package/dist/generator/net8.0/Azure.Generator.StubLibrary.dll +0 -0
  83. package/dist/generator/net8.0/Azure.Generator.StubLibrary.pdb +0 -0
  84. package/dist/generator/net8.0/Azure.Generator.StubLibrary.xml +24 -0
  85. package/dist/generator/net8.0/Azure.Generator.deps.json +979 -0
  86. package/dist/generator/net8.0/Azure.Generator.dll +0 -0
  87. package/dist/generator/net8.0/Azure.Generator.pdb +0 -0
  88. package/dist/generator/net8.0/Azure.Generator.xml +163 -0
  89. package/dist/generator/net8.0/Azure.ResourceManager.dll +0 -0
  90. package/dist/generator/net8.0/CommandLine.dll +0 -0
  91. package/dist/generator/net8.0/Humanizer.dll +0 -0
  92. package/dist/generator/net8.0/Microsoft.Bcl.AsyncInterfaces.dll +0 -0
  93. package/dist/generator/net8.0/Microsoft.Build.Framework.dll +0 -0
  94. package/dist/generator/net8.0/Microsoft.Build.dll +0 -0
  95. package/dist/generator/net8.0/Microsoft.CodeAnalysis.CSharp.Workspaces.dll +0 -0
  96. package/dist/generator/net8.0/Microsoft.CodeAnalysis.CSharp.dll +0 -0
  97. package/dist/generator/net8.0/Microsoft.CodeAnalysis.Workspaces.dll +0 -0
  98. package/dist/generator/net8.0/Microsoft.CodeAnalysis.dll +0 -0
  99. package/dist/generator/net8.0/Microsoft.Extensions.Logging.Abstractions.dll +0 -0
  100. package/dist/generator/net8.0/Microsoft.NET.StringTools.dll +0 -0
  101. package/dist/generator/net8.0/Microsoft.TypeSpec.Generator.ClientModel.dll +0 -0
  102. package/dist/generator/net8.0/Microsoft.TypeSpec.Generator.Input.dll +0 -0
  103. package/dist/generator/net8.0/Microsoft.TypeSpec.Generator.dll +0 -0
  104. package/dist/generator/net8.0/NuGet.Common.dll +0 -0
  105. package/dist/generator/net8.0/NuGet.Configuration.dll +0 -0
  106. package/dist/generator/net8.0/NuGet.Frameworks.dll +0 -0
  107. package/dist/generator/net8.0/Shared/Core/AzureKeyCredentialPolicy.cs +50 -0
  108. package/dist/generator/net8.0/Shared/Core/RawRequestUriBuilder.cs +192 -0
  109. package/dist/generator/net8.0/System.ClientModel.dll +0 -0
  110. package/dist/generator/net8.0/System.ComponentModel.Composition.dll +0 -0
  111. package/dist/generator/net8.0/System.Composition.AttributedModel.dll +0 -0
  112. package/dist/generator/net8.0/System.Composition.Convention.dll +0 -0
  113. package/dist/generator/net8.0/System.Composition.Hosting.dll +0 -0
  114. package/dist/generator/net8.0/System.Composition.Runtime.dll +0 -0
  115. package/dist/generator/net8.0/System.Composition.TypedParts.dll +0 -0
  116. package/dist/generator/net8.0/System.Configuration.ConfigurationManager.dll +0 -0
  117. package/dist/generator/net8.0/System.Diagnostics.EventLog.dll +0 -0
  118. package/dist/generator/net8.0/System.IO.Pipelines.dll +0 -0
  119. package/dist/generator/net8.0/System.Memory.Data.dll +0 -0
  120. package/dist/generator/net8.0/System.Reflection.MetadataLoadContext.dll +0 -0
  121. package/dist/generator/net8.0/System.Security.Cryptography.ProtectedData.dll +0 -0
  122. package/dist/generator/net8.0/cs/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
  123. package/dist/generator/net8.0/cs/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  124. package/dist/generator/net8.0/cs/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
  125. package/dist/generator/net8.0/cs/Microsoft.CodeAnalysis.resources.dll +0 -0
  126. package/dist/generator/net8.0/de/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
  127. package/dist/generator/net8.0/de/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  128. package/dist/generator/net8.0/de/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
  129. package/dist/generator/net8.0/de/Microsoft.CodeAnalysis.resources.dll +0 -0
  130. package/dist/generator/net8.0/es/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
  131. package/dist/generator/net8.0/es/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  132. package/dist/generator/net8.0/es/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
  133. package/dist/generator/net8.0/es/Microsoft.CodeAnalysis.resources.dll +0 -0
  134. package/dist/generator/net8.0/fr/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
  135. package/dist/generator/net8.0/fr/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  136. package/dist/generator/net8.0/fr/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
  137. package/dist/generator/net8.0/fr/Microsoft.CodeAnalysis.resources.dll +0 -0
  138. package/dist/generator/net8.0/it/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
  139. package/dist/generator/net8.0/it/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  140. package/dist/generator/net8.0/it/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
  141. package/dist/generator/net8.0/it/Microsoft.CodeAnalysis.resources.dll +0 -0
  142. package/dist/generator/net8.0/ja/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
  143. package/dist/generator/net8.0/ja/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  144. package/dist/generator/net8.0/ja/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
  145. package/dist/generator/net8.0/ja/Microsoft.CodeAnalysis.resources.dll +0 -0
  146. package/dist/generator/net8.0/ko/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
  147. package/dist/generator/net8.0/ko/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  148. package/dist/generator/net8.0/ko/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
  149. package/dist/generator/net8.0/ko/Microsoft.CodeAnalysis.resources.dll +0 -0
  150. package/dist/generator/net8.0/pl/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
  151. package/dist/generator/net8.0/pl/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  152. package/dist/generator/net8.0/pl/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
  153. package/dist/generator/net8.0/pl/Microsoft.CodeAnalysis.resources.dll +0 -0
  154. package/dist/generator/net8.0/pt-BR/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
  155. package/dist/generator/net8.0/pt-BR/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  156. package/dist/generator/net8.0/pt-BR/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
  157. package/dist/generator/net8.0/pt-BR/Microsoft.CodeAnalysis.resources.dll +0 -0
  158. package/dist/generator/net8.0/ru/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
  159. package/dist/generator/net8.0/ru/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  160. package/dist/generator/net8.0/ru/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
  161. package/dist/generator/net8.0/ru/Microsoft.CodeAnalysis.resources.dll +0 -0
  162. package/dist/generator/net8.0/runtimes/win/lib/net8.0/System.Diagnostics.EventLog.Messages.dll +0 -0
  163. package/dist/generator/net8.0/runtimes/win/lib/net8.0/System.Diagnostics.EventLog.dll +0 -0
  164. package/dist/generator/net8.0/tr/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
  165. package/dist/generator/net8.0/tr/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  166. package/dist/generator/net8.0/tr/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
  167. package/dist/generator/net8.0/tr/Microsoft.CodeAnalysis.resources.dll +0 -0
  168. package/dist/generator/net8.0/zh-Hans/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
  169. package/dist/generator/net8.0/zh-Hans/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  170. package/dist/generator/net8.0/zh-Hans/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
  171. package/dist/generator/net8.0/zh-Hans/Microsoft.CodeAnalysis.resources.dll +0 -0
  172. package/dist/generator/net8.0/zh-Hant/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
  173. package/dist/generator/net8.0/zh-Hant/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  174. package/dist/generator/net8.0/zh-Hant/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
  175. package/dist/generator/net8.0/zh-Hant/Microsoft.CodeAnalysis.resources.dll +0 -0
  176. package/dist/generator/pl/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
  177. package/dist/generator/pl/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  178. package/dist/generator/pl/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
  179. package/dist/generator/pl/Microsoft.CodeAnalysis.resources.dll +0 -0
  180. package/dist/generator/pt-BR/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
  181. package/dist/generator/pt-BR/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  182. package/dist/generator/pt-BR/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
  183. package/dist/generator/pt-BR/Microsoft.CodeAnalysis.resources.dll +0 -0
  184. package/dist/generator/ru/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
  185. package/dist/generator/ru/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  186. package/dist/generator/ru/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
  187. package/dist/generator/ru/Microsoft.CodeAnalysis.resources.dll +0 -0
  188. package/dist/generator/runtimes/win/lib/net8.0/System.Diagnostics.EventLog.Messages.dll +0 -0
  189. package/dist/generator/runtimes/win/lib/net8.0/System.Diagnostics.EventLog.dll +0 -0
  190. package/dist/generator/tr/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
  191. package/dist/generator/tr/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  192. package/dist/generator/tr/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
  193. package/dist/generator/tr/Microsoft.CodeAnalysis.resources.dll +0 -0
  194. package/dist/generator/zh-Hans/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
  195. package/dist/generator/zh-Hans/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  196. package/dist/generator/zh-Hans/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
  197. package/dist/generator/zh-Hans/Microsoft.CodeAnalysis.resources.dll +0 -0
  198. package/dist/generator/zh-Hant/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll +0 -0
  199. package/dist/generator/zh-Hant/Microsoft.CodeAnalysis.CSharp.resources.dll +0 -0
  200. package/dist/generator/zh-Hant/Microsoft.CodeAnalysis.Workspaces.resources.dll +0 -0
  201. package/dist/generator/zh-Hant/Microsoft.CodeAnalysis.resources.dll +0 -0
  202. package/package.json +67 -0
@@ -0,0 +1,4 @@
1
+ import { EmitContext } from "@typespec/compiler";
2
+ import { CSharpEmitterOptions } from "@typespec/http-client-csharp";
3
+ export declare function $onEmit(context: EmitContext<CSharpEmitterOptions>): Promise<void>;
4
+ //# sourceMappingURL=emitter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"emitter.d.ts","sourceRoot":"","sources":["../../emitter/src/emitter.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD,OAAO,EAEL,oBAAoB,EACrB,MAAM,8BAA8B,CAAC;AAEtC,wBAAsB,OAAO,CAAC,OAAO,EAAE,WAAW,CAAC,oBAAoB,CAAC,iBAKvE"}
@@ -0,0 +1,10 @@
1
+ // Copyright (c) Microsoft Corporation. All rights reserved.
2
+ // Licensed under the MIT License. See License.txt in the project root for license information.
3
+ import { $onEmit as $onMTGEmit } from "@typespec/http-client-csharp";
4
+ export async function $onEmit(context) {
5
+ context.options["generator-name"] ??= "AzureClientGenerator";
6
+ context.options["emitter-extension-path"] ??= import.meta.url;
7
+ context.options["license"] ??= { name: "MIT License", company: "Microsoft Corporation" };
8
+ await $onMTGEmit(context);
9
+ }
10
+ //# sourceMappingURL=emitter.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"emitter.js","sourceRoot":"","sources":["../../emitter/src/emitter.ts"],"names":[],"mappings":"AAAA,4DAA4D;AAC5D,+FAA+F;AAI/F,OAAO,EACL,OAAO,IAAI,UAAU,EAEtB,MAAM,8BAA8B,CAAC;AAEtC,MAAM,CAAC,KAAK,UAAU,OAAO,CAAC,OAA0C;IACtE,OAAO,CAAC,OAAO,CAAC,gBAAgB,CAAC,KAAK,sBAAsB,CAAC;IAC7D,OAAO,CAAC,OAAO,CAAC,wBAAwB,CAAC,KAAK,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC;IAC9D,OAAO,CAAC,OAAO,CAAC,SAAS,CAAC,KAAK,EAAE,IAAI,EAAE,aAAa,EAAE,OAAO,EAAE,uBAAuB,EAAE,CAAC;IACzF,MAAM,UAAU,CAAC,OAAO,CAAC,CAAC;AAC5B,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from "./emitter.js";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../emitter/src/index.ts"],"names":[],"mappings":"AAGA,cAAc,cAAc,CAAC"}
@@ -0,0 +1,4 @@
1
+ // Copyright (c) Microsoft Corporation. All rights reserved.
2
+ // Licensed under the MIT License. See License.txt in the project root for license information.
3
+ export * from "./emitter.js";
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../emitter/src/index.ts"],"names":[],"mappings":"AAAA,4DAA4D;AAC5D,+FAA+F;AAE/F,cAAc,cAAc,CAAC"}
Binary file