@azure/eventgrid 5.8.1-alpha.20241125.1 → 5.8.1-alpha.20241127.3

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 (321) hide show
  1. package/dist/browser/cloudEventDistrubtedTracingEnricherPolicy.d.ts +23 -0
  2. package/dist/browser/cloudEventDistrubtedTracingEnricherPolicy.d.ts.map +1 -0
  3. package/dist/browser/constants.d.ts +3 -0
  4. package/dist/browser/constants.d.ts.map +1 -0
  5. package/dist/browser/consumer.d.ts +41 -0
  6. package/dist/browser/consumer.d.ts.map +1 -0
  7. package/{dist-esm/src → dist/browser}/consumer.js +3 -3
  8. package/dist/browser/consumer.js.map +1 -0
  9. package/dist/browser/cryptoHelpers-browser.d.mts.map +1 -0
  10. package/dist/browser/cryptoHelpers-browser.mjs.map +1 -0
  11. package/dist/browser/cryptoHelpers.d.ts +5 -0
  12. package/{dist-esm/src/cryptoHelpers.browser.js → dist/browser/cryptoHelpers.js} +3 -3
  13. package/dist/browser/eventGridAuthenticationPolicy.d.ts +12 -0
  14. package/dist/browser/eventGridAuthenticationPolicy.d.ts.map +1 -0
  15. package/{dist-esm/src → dist/browser}/eventGridAuthenticationPolicy.js +1 -1
  16. package/dist/browser/eventGridAuthenticationPolicy.js.map +1 -0
  17. package/dist/browser/eventGridClient.d.ts +117 -0
  18. package/dist/browser/eventGridClient.d.ts.map +1 -0
  19. package/{dist-esm/src → dist/browser}/eventGridClient.js +9 -9
  20. package/dist/browser/eventGridClient.js.map +1 -0
  21. package/dist/browser/generateSharedAccessSignature.d.ts +19 -0
  22. package/dist/browser/generateSharedAccessSignature.d.ts.map +1 -0
  23. package/{dist-esm/src → dist/browser}/generateSharedAccessSignature.js +3 -3
  24. package/dist/browser/generateSharedAccessSignature.js.map +1 -0
  25. package/dist/browser/generated/generatedClient.d.ts +32 -0
  26. package/dist/browser/generated/generatedClient.d.ts.map +1 -0
  27. package/{dist-esm/src → dist/browser}/generated/generatedClient.js +3 -3
  28. package/dist/browser/generated/generatedClient.js.map +1 -0
  29. package/dist/browser/generated/generatedClientContext.d.ts +12 -0
  30. package/dist/browser/generated/generatedClientContext.d.ts.map +1 -0
  31. package/{dist-esm/src → dist/browser}/generated/generatedClientContext.js.map +1 -1
  32. package/dist/browser/generated/index.d.ts +4 -0
  33. package/dist/browser/generated/index.d.ts.map +1 -0
  34. package/{dist-esm/src → dist/browser}/generated/index.js +3 -3
  35. package/dist/browser/generated/index.js.map +1 -0
  36. package/{types/eventgrid.d.ts → dist/browser/generated/models/index.d.ts} +4330 -5282
  37. package/dist/browser/generated/models/index.d.ts.map +1 -0
  38. package/dist/browser/generated/models/mappers.d.ts +302 -0
  39. package/dist/browser/generated/models/mappers.d.ts.map +1 -0
  40. package/dist/browser/generated/models/parameters.d.ts +10 -0
  41. package/dist/browser/generated/models/parameters.d.ts.map +1 -0
  42. package/dist/browser/index.d.ts +8 -0
  43. package/dist/browser/index.d.ts.map +1 -0
  44. package/dist/browser/index.js +8 -0
  45. package/dist/browser/index.js.map +1 -0
  46. package/dist/browser/logger.d.ts +5 -0
  47. package/dist/browser/logger.d.ts.map +1 -0
  48. package/dist/browser/models.d.ts +159 -0
  49. package/dist/browser/models.d.ts.map +1 -0
  50. package/dist/browser/package.json +3 -0
  51. package/dist/browser/predicates.d.ts +451 -0
  52. package/dist/browser/predicates.d.ts.map +1 -0
  53. package/dist/browser/predicates.js.map +1 -0
  54. package/dist/browser/tracing.d.ts +6 -0
  55. package/dist/browser/tracing.d.ts.map +1 -0
  56. package/dist/browser/util.d.ts +26 -0
  57. package/dist/browser/util.d.ts.map +1 -0
  58. package/dist/commonjs/cloudEventDistrubtedTracingEnricherPolicy.d.ts +23 -0
  59. package/dist/commonjs/cloudEventDistrubtedTracingEnricherPolicy.d.ts.map +1 -0
  60. package/dist/commonjs/cloudEventDistrubtedTracingEnricherPolicy.js +57 -0
  61. package/dist/commonjs/cloudEventDistrubtedTracingEnricherPolicy.js.map +1 -0
  62. package/dist/commonjs/constants.d.ts +3 -0
  63. package/dist/commonjs/constants.d.ts.map +1 -0
  64. package/dist/commonjs/constants.js +8 -0
  65. package/dist/commonjs/constants.js.map +1 -0
  66. package/dist/commonjs/consumer.d.ts +41 -0
  67. package/dist/commonjs/consumer.d.ts.map +1 -0
  68. package/dist/commonjs/consumer.js +88 -0
  69. package/dist/commonjs/consumer.js.map +1 -0
  70. package/dist/commonjs/cryptoHelpers.d.ts +5 -0
  71. package/dist/commonjs/cryptoHelpers.d.ts.map +1 -0
  72. package/dist/commonjs/cryptoHelpers.js +14 -0
  73. package/dist/commonjs/cryptoHelpers.js.map +1 -0
  74. package/dist/commonjs/eventGridAuthenticationPolicy.d.ts +12 -0
  75. package/dist/commonjs/eventGridAuthenticationPolicy.d.ts.map +1 -0
  76. package/dist/commonjs/eventGridAuthenticationPolicy.js +38 -0
  77. package/dist/commonjs/eventGridAuthenticationPolicy.js.map +1 -0
  78. package/dist/commonjs/eventGridClient.d.ts +117 -0
  79. package/dist/commonjs/eventGridClient.d.ts.map +1 -0
  80. package/dist/commonjs/eventGridClient.js +131 -0
  81. package/dist/commonjs/eventGridClient.js.map +1 -0
  82. package/dist/commonjs/generateSharedAccessSignature.d.ts +19 -0
  83. package/dist/commonjs/generateSharedAccessSignature.d.ts.map +1 -0
  84. package/dist/commonjs/generateSharedAccessSignature.js +23 -0
  85. package/dist/commonjs/generateSharedAccessSignature.js.map +1 -0
  86. package/dist/commonjs/generated/generatedClient.d.ts +32 -0
  87. package/dist/commonjs/generated/generatedClient.d.ts.map +1 -0
  88. package/dist/commonjs/generated/generatedClient.js +89 -0
  89. package/dist/commonjs/generated/generatedClient.js.map +1 -0
  90. package/dist/commonjs/generated/generatedClientContext.d.ts +12 -0
  91. package/dist/commonjs/generated/generatedClientContext.d.ts.map +1 -0
  92. package/dist/commonjs/generated/generatedClientContext.js +40 -0
  93. package/dist/commonjs/generated/generatedClientContext.js.map +1 -0
  94. package/dist/commonjs/generated/index.d.ts +4 -0
  95. package/dist/commonjs/generated/index.d.ts.map +1 -0
  96. package/dist/commonjs/generated/index.js +17 -0
  97. package/dist/commonjs/generated/index.js.map +1 -0
  98. package/dist/commonjs/generated/models/index.d.ts +4330 -0
  99. package/dist/commonjs/generated/models/index.d.ts.map +1 -0
  100. package/dist/commonjs/generated/models/index.js +10 -0
  101. package/dist/commonjs/generated/models/index.js.map +1 -0
  102. package/dist/commonjs/generated/models/mappers.d.ts +302 -0
  103. package/dist/commonjs/generated/models/mappers.d.ts.map +1 -0
  104. package/dist/commonjs/generated/models/mappers.js +9949 -0
  105. package/dist/commonjs/generated/models/mappers.js.map +1 -0
  106. package/dist/commonjs/generated/models/parameters.d.ts +10 -0
  107. package/dist/commonjs/generated/models/parameters.d.ts.map +1 -0
  108. package/dist/commonjs/generated/models/parameters.js +111 -0
  109. package/dist/commonjs/generated/models/parameters.js.map +1 -0
  110. package/dist/commonjs/index.d.ts +8 -0
  111. package/dist/commonjs/index.d.ts.map +1 -0
  112. package/dist/commonjs/index.js +17 -0
  113. package/dist/commonjs/index.js.map +1 -0
  114. package/dist/commonjs/logger.d.ts +5 -0
  115. package/dist/commonjs/logger.d.ts.map +1 -0
  116. package/dist/commonjs/logger.js +11 -0
  117. package/dist/commonjs/logger.js.map +1 -0
  118. package/dist/commonjs/models.d.ts +159 -0
  119. package/dist/commonjs/models.d.ts.map +1 -0
  120. package/dist/commonjs/models.js +20 -0
  121. package/dist/commonjs/models.js.map +1 -0
  122. package/dist/commonjs/package.json +3 -0
  123. package/dist/commonjs/predicates.d.ts +451 -0
  124. package/dist/commonjs/predicates.d.ts.map +1 -0
  125. package/dist/commonjs/predicates.js +22 -0
  126. package/dist/commonjs/predicates.js.map +1 -0
  127. package/dist/commonjs/tracing.d.ts +6 -0
  128. package/dist/commonjs/tracing.d.ts.map +1 -0
  129. package/dist/commonjs/tracing.js +16 -0
  130. package/dist/commonjs/tracing.js.map +1 -0
  131. package/dist/commonjs/tsdoc-metadata.json +11 -0
  132. package/dist/commonjs/util.d.ts +26 -0
  133. package/dist/commonjs/util.d.ts.map +1 -0
  134. package/dist/commonjs/util.js +116 -0
  135. package/dist/commonjs/util.js.map +1 -0
  136. package/dist/esm/cloudEventDistrubtedTracingEnricherPolicy.d.ts +23 -0
  137. package/dist/esm/cloudEventDistrubtedTracingEnricherPolicy.d.ts.map +1 -0
  138. package/dist/esm/cloudEventDistrubtedTracingEnricherPolicy.js +53 -0
  139. package/dist/esm/cloudEventDistrubtedTracingEnricherPolicy.js.map +1 -0
  140. package/dist/esm/constants.d.ts +3 -0
  141. package/dist/esm/constants.d.ts.map +1 -0
  142. package/dist/esm/constants.js +5 -0
  143. package/dist/esm/constants.js.map +1 -0
  144. package/dist/esm/consumer.d.ts +41 -0
  145. package/dist/esm/consumer.d.ts.map +1 -0
  146. package/dist/esm/consumer.js +84 -0
  147. package/dist/esm/consumer.js.map +1 -0
  148. package/dist/esm/cryptoHelpers.d.ts +5 -0
  149. package/dist/esm/cryptoHelpers.d.ts.map +1 -0
  150. package/{dist-esm/src → dist/esm}/cryptoHelpers.js +1 -1
  151. package/{dist-esm/src → dist/esm}/cryptoHelpers.js.map +1 -1
  152. package/dist/esm/eventGridAuthenticationPolicy.d.ts +12 -0
  153. package/dist/esm/eventGridAuthenticationPolicy.d.ts.map +1 -0
  154. package/dist/esm/eventGridAuthenticationPolicy.js +34 -0
  155. package/dist/esm/eventGridAuthenticationPolicy.js.map +1 -0
  156. package/dist/esm/eventGridClient.d.ts +117 -0
  157. package/dist/esm/eventGridClient.d.ts.map +1 -0
  158. package/dist/esm/eventGridClient.js +125 -0
  159. package/dist/esm/eventGridClient.js.map +1 -0
  160. package/dist/esm/generateSharedAccessSignature.d.ts +19 -0
  161. package/dist/esm/generateSharedAccessSignature.d.ts.map +1 -0
  162. package/dist/esm/generateSharedAccessSignature.js +20 -0
  163. package/dist/esm/generateSharedAccessSignature.js.map +1 -0
  164. package/dist/esm/generated/generatedClient.d.ts +32 -0
  165. package/dist/esm/generated/generatedClient.d.ts.map +1 -0
  166. package/dist/esm/generated/generatedClient.js +84 -0
  167. package/dist/esm/generated/generatedClient.js.map +1 -0
  168. package/dist/esm/generated/generatedClientContext.d.ts +12 -0
  169. package/dist/esm/generated/generatedClientContext.d.ts.map +1 -0
  170. package/dist/esm/generated/generatedClientContext.js +35 -0
  171. package/dist/esm/generated/generatedClientContext.js.map +1 -0
  172. package/dist/esm/generated/index.d.ts +4 -0
  173. package/dist/esm/generated/index.d.ts.map +1 -0
  174. package/dist/esm/generated/index.js +11 -0
  175. package/dist/esm/generated/index.js.map +1 -0
  176. package/dist/esm/generated/models/index.d.ts +4330 -0
  177. package/dist/esm/generated/models/index.d.ts.map +1 -0
  178. package/dist/esm/generated/models/index.js +9 -0
  179. package/dist/esm/generated/models/index.js.map +1 -0
  180. package/dist/esm/generated/models/mappers.d.ts +302 -0
  181. package/dist/esm/generated/models/mappers.d.ts.map +1 -0
  182. package/dist/{index.js → esm/generated/models/mappers.js} +298 -1335
  183. package/dist/esm/generated/models/mappers.js.map +1 -0
  184. package/dist/esm/generated/models/parameters.d.ts +10 -0
  185. package/dist/esm/generated/models/parameters.d.ts.map +1 -0
  186. package/dist/esm/generated/models/parameters.js +108 -0
  187. package/dist/esm/generated/models/parameters.js.map +1 -0
  188. package/dist/esm/index.d.ts +8 -0
  189. package/dist/esm/index.d.ts.map +1 -0
  190. package/dist/esm/index.js +8 -0
  191. package/dist/esm/index.js.map +1 -0
  192. package/dist/esm/logger.d.ts +5 -0
  193. package/dist/esm/logger.d.ts.map +1 -0
  194. package/dist/esm/logger.js +8 -0
  195. package/dist/esm/logger.js.map +1 -0
  196. package/dist/esm/models.d.ts +159 -0
  197. package/dist/esm/models.d.ts.map +1 -0
  198. package/dist/esm/models.js +17 -0
  199. package/dist/esm/models.js.map +1 -0
  200. package/dist/esm/package.json +3 -0
  201. package/dist/esm/predicates.d.ts +451 -0
  202. package/dist/esm/predicates.d.ts.map +1 -0
  203. package/dist/esm/predicates.js +19 -0
  204. package/dist/esm/predicates.js.map +1 -0
  205. package/dist/esm/tracing.d.ts +6 -0
  206. package/dist/esm/tracing.d.ts.map +1 -0
  207. package/dist/esm/tracing.js +13 -0
  208. package/dist/esm/tracing.js.map +1 -0
  209. package/dist/esm/util.d.ts +26 -0
  210. package/dist/esm/util.d.ts.map +1 -0
  211. package/dist/esm/util.js +109 -0
  212. package/dist/esm/util.js.map +1 -0
  213. package/dist/react-native/cloudEventDistrubtedTracingEnricherPolicy.d.ts +23 -0
  214. package/dist/react-native/cloudEventDistrubtedTracingEnricherPolicy.d.ts.map +1 -0
  215. package/dist/react-native/cloudEventDistrubtedTracingEnricherPolicy.js +53 -0
  216. package/dist/react-native/cloudEventDistrubtedTracingEnricherPolicy.js.map +1 -0
  217. package/dist/react-native/constants.d.ts +3 -0
  218. package/dist/react-native/constants.d.ts.map +1 -0
  219. package/dist/react-native/constants.js +5 -0
  220. package/dist/react-native/constants.js.map +1 -0
  221. package/dist/react-native/consumer.d.ts +41 -0
  222. package/dist/react-native/consumer.d.ts.map +1 -0
  223. package/dist/react-native/consumer.js +84 -0
  224. package/dist/react-native/consumer.js.map +1 -0
  225. package/dist/react-native/cryptoHelpers.d.ts +5 -0
  226. package/dist/react-native/cryptoHelpers.d.ts.map +1 -0
  227. package/dist/react-native/cryptoHelpers.js +11 -0
  228. package/dist/react-native/cryptoHelpers.js.map +1 -0
  229. package/dist/react-native/eventGridAuthenticationPolicy.d.ts +12 -0
  230. package/dist/react-native/eventGridAuthenticationPolicy.d.ts.map +1 -0
  231. package/dist/react-native/eventGridAuthenticationPolicy.js +34 -0
  232. package/dist/react-native/eventGridAuthenticationPolicy.js.map +1 -0
  233. package/dist/react-native/eventGridClient.d.ts +117 -0
  234. package/dist/react-native/eventGridClient.d.ts.map +1 -0
  235. package/dist/react-native/eventGridClient.js +125 -0
  236. package/dist/react-native/eventGridClient.js.map +1 -0
  237. package/dist/react-native/generateSharedAccessSignature.d.ts +19 -0
  238. package/dist/react-native/generateSharedAccessSignature.d.ts.map +1 -0
  239. package/dist/react-native/generateSharedAccessSignature.js +20 -0
  240. package/dist/react-native/generateSharedAccessSignature.js.map +1 -0
  241. package/dist/react-native/generated/generatedClient.d.ts +32 -0
  242. package/dist/react-native/generated/generatedClient.d.ts.map +1 -0
  243. package/dist/react-native/generated/generatedClient.js +84 -0
  244. package/dist/react-native/generated/generatedClient.js.map +1 -0
  245. package/dist/react-native/generated/generatedClientContext.d.ts +12 -0
  246. package/dist/react-native/generated/generatedClientContext.d.ts.map +1 -0
  247. package/dist/react-native/generated/generatedClientContext.js +35 -0
  248. package/dist/react-native/generated/generatedClientContext.js.map +1 -0
  249. package/dist/react-native/generated/index.d.ts +4 -0
  250. package/dist/react-native/generated/index.d.ts.map +1 -0
  251. package/dist/react-native/generated/index.js +11 -0
  252. package/dist/react-native/generated/index.js.map +1 -0
  253. package/dist/react-native/generated/models/index.d.ts +4330 -0
  254. package/dist/react-native/generated/models/index.d.ts.map +1 -0
  255. package/dist/react-native/generated/models/index.js +9 -0
  256. package/dist/react-native/generated/models/index.js.map +1 -0
  257. package/dist/react-native/generated/models/mappers.d.ts +302 -0
  258. package/dist/react-native/generated/models/mappers.d.ts.map +1 -0
  259. package/dist/react-native/generated/models/mappers.js +9941 -0
  260. package/dist/react-native/generated/models/mappers.js.map +1 -0
  261. package/dist/react-native/generated/models/parameters.d.ts +10 -0
  262. package/dist/react-native/generated/models/parameters.d.ts.map +1 -0
  263. package/dist/react-native/generated/models/parameters.js +108 -0
  264. package/dist/react-native/generated/models/parameters.js.map +1 -0
  265. package/dist/react-native/index.d.ts +8 -0
  266. package/dist/react-native/index.d.ts.map +1 -0
  267. package/dist/react-native/index.js +8 -0
  268. package/dist/react-native/index.js.map +1 -0
  269. package/dist/react-native/logger.d.ts +5 -0
  270. package/dist/react-native/logger.d.ts.map +1 -0
  271. package/dist/react-native/logger.js +8 -0
  272. package/dist/react-native/logger.js.map +1 -0
  273. package/dist/react-native/models.d.ts +159 -0
  274. package/dist/react-native/models.d.ts.map +1 -0
  275. package/dist/react-native/models.js +17 -0
  276. package/dist/react-native/models.js.map +1 -0
  277. package/dist/react-native/package.json +3 -0
  278. package/dist/react-native/predicates.d.ts +451 -0
  279. package/dist/react-native/predicates.d.ts.map +1 -0
  280. package/dist/react-native/predicates.js +19 -0
  281. package/dist/react-native/predicates.js.map +1 -0
  282. package/dist/react-native/tracing.d.ts +6 -0
  283. package/dist/react-native/tracing.d.ts.map +1 -0
  284. package/dist/react-native/tracing.js +13 -0
  285. package/dist/react-native/tracing.js.map +1 -0
  286. package/dist/react-native/util.d.ts +26 -0
  287. package/dist/react-native/util.d.ts.map +1 -0
  288. package/dist/react-native/util.js +109 -0
  289. package/dist/react-native/util.js.map +1 -0
  290. package/package.json +65 -52
  291. package/dist/index.js.map +0 -1
  292. package/dist-esm/src/consumer.js.map +0 -1
  293. package/dist-esm/src/cryptoHelpers.browser.js.map +0 -1
  294. package/dist-esm/src/eventGridAuthenticationPolicy.js.map +0 -1
  295. package/dist-esm/src/eventGridClient.js.map +0 -1
  296. package/dist-esm/src/generateSharedAccessSignature.js.map +0 -1
  297. package/dist-esm/src/generated/generatedClient.js.map +0 -1
  298. package/dist-esm/src/generated/index.js.map +0 -1
  299. package/dist-esm/src/index.js +0 -8
  300. package/dist-esm/src/index.js.map +0 -1
  301. package/dist-esm/src/predicates.js.map +0 -1
  302. /package/{dist-esm/src → dist/browser}/cloudEventDistrubtedTracingEnricherPolicy.js +0 -0
  303. /package/{dist-esm/src → dist/browser}/cloudEventDistrubtedTracingEnricherPolicy.js.map +0 -0
  304. /package/{dist-esm/src → dist/browser}/constants.js +0 -0
  305. /package/{dist-esm/src → dist/browser}/constants.js.map +0 -0
  306. /package/{dist-esm/src → dist/browser}/generated/generatedClientContext.js +0 -0
  307. /package/{dist-esm/src → dist/browser}/generated/models/index.js +0 -0
  308. /package/{dist-esm/src → dist/browser}/generated/models/index.js.map +0 -0
  309. /package/{dist-esm/src → dist/browser}/generated/models/mappers.js +0 -0
  310. /package/{dist-esm/src → dist/browser}/generated/models/mappers.js.map +0 -0
  311. /package/{dist-esm/src → dist/browser}/generated/models/parameters.js +0 -0
  312. /package/{dist-esm/src → dist/browser}/generated/models/parameters.js.map +0 -0
  313. /package/{dist-esm/src → dist/browser}/logger.js +0 -0
  314. /package/{dist-esm/src → dist/browser}/logger.js.map +0 -0
  315. /package/{dist-esm/src → dist/browser}/models.js +0 -0
  316. /package/{dist-esm/src → dist/browser}/models.js.map +0 -0
  317. /package/{dist-esm/src → dist/browser}/predicates.js +0 -0
  318. /package/{dist-esm/src → dist/browser}/tracing.js +0 -0
  319. /package/{dist-esm/src → dist/browser}/tracing.js.map +0 -0
  320. /package/{dist-esm/src → dist/browser}/util.js +0 -0
  321. /package/{dist-esm/src → dist/browser}/util.js.map +0 -0
@@ -1,306 +1,3 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- var coreAuth = require('@azure/core-auth');
6
- var tslib = require('tslib');
7
- var coreClient = require('@azure/core-client');
8
- var coreTracing = require('@azure/core-tracing');
9
- var uuid = require('uuid');
10
- var coreRestPipeline = require('@azure/core-rest-pipeline');
11
- var crypto = require('crypto');
12
-
13
- function _interopNamespaceDefault(e) {
14
- var n = Object.create(null);
15
- if (e) {
16
- Object.keys(e).forEach(function (k) {
17
- if (k !== 'default') {
18
- var d = Object.getOwnPropertyDescriptor(e, k);
19
- Object.defineProperty(n, k, d.get ? d : {
20
- enumerable: true,
21
- get: function () { return e[k]; }
22
- });
23
- }
24
- });
25
- }
26
- n.default = e;
27
- return Object.freeze(n);
28
- }
29
-
30
- var coreClient__namespace = /*#__PURE__*/_interopNamespaceDefault(coreClient);
31
-
32
- // Copyright (c) Microsoft Corporation.
33
- // Licensed under the MIT License.
34
- /**
35
- * Stringifies a Date object in the format expected by the Event Grid service, for use in a Shared Access Signiture.
36
- *
37
- * The service expects this time string to be in the same format as what is returned by the .NET DateTime.ToString
38
- * method, using the "en-US" culture.
39
- *
40
- * This corresponds to the .NET format string: "M/d/yyyy h:mm:ss tt". For example, the date "June 5th, 2020, 12:09:03 PM"
41
- * is represented as the string "6/5/2020 12:09:03 PM"
42
- *
43
- * The service expects a UTC time, so this method returns a string based on the UTC time of the provided Date.
44
- *
45
- * @param d - The Date object to convert to a string.
46
- */
47
- function dateToServiceTimeString(d) {
48
- const month = d.getUTCMonth() + 1; // getUTCMonth returns 0-11 not 1-12.
49
- const day = d.getUTCDate();
50
- const year = d.getUTCFullYear();
51
- const hour = d.getUTCHours() === 0 || d.getUTCHours() === 12 ? 12 : d.getUTCHours() % 12; // getUTCHours returns 0-23, and we want this in 12 hour format.
52
- const minute = d.getUTCMinutes().toString().padStart(2, "0");
53
- const second = d.getUTCSeconds().toString().padStart(2, "0");
54
- const am = d.getUTCHours() >= 12 ? "PM" : "AM";
55
- return `${month}/${day}/${year} ${hour}:${minute}:${second} ${am}`;
56
- }
57
- /**
58
- * Returns `true` if the credential object is like the KeyCredential interface (i.e. it has a
59
- * key property).
60
- *
61
- * @param credential - The object to test
62
- */
63
- function isKeyCredentialLike(o) {
64
- const castO = o;
65
- return castO.key !== undefined;
66
- }
67
- function parseAndWrap(jsonStringOrObject) {
68
- if (typeof jsonStringOrObject === "string") {
69
- const o = JSON.parse(jsonStringOrObject);
70
- if (Array.isArray(o)) {
71
- return o;
72
- }
73
- else {
74
- return [o];
75
- }
76
- }
77
- if (Array.isArray(jsonStringOrObject)) {
78
- return jsonStringOrObject;
79
- }
80
- else {
81
- return [jsonStringOrObject];
82
- }
83
- }
84
- const EVENT_GRID_SCHEMA_METADATA_VERSION = "1";
85
- function validateEventGridEvent(o) {
86
- if (typeof o !== "object") {
87
- throw new TypeError("event is not an object");
88
- }
89
- const castO = o;
90
- validateRequiredStringProperties(o, [
91
- "eventType",
92
- "eventTime",
93
- "id",
94
- "subject",
95
- "topic",
96
- "dataVersion",
97
- "metadataVersion",
98
- ]);
99
- validateRequiredAnyProperties(o, ["data"]);
100
- if (castO.metadataVersion !== EVENT_GRID_SCHEMA_METADATA_VERSION) {
101
- throw new TypeError("event is not in the Event Grid schema");
102
- }
103
- }
104
- const CLOUD_EVENT_1_0_SPEC_VERSION = "1.0";
105
- function validateCloudEventEvent(o) {
106
- validateRequiredStringProperties(o, ["type", "source", "id", "specversion"]);
107
- validateOptionalStringProperties(o, ["time", "dataschema", "datacontenttype", "subject"]);
108
- if (typeof o !== "object") {
109
- throw new TypeError("event is not an object");
110
- }
111
- const castO = o;
112
- if (castO.specversion !== CLOUD_EVENT_1_0_SPEC_VERSION) {
113
- throw new Error("event is not in the Cloud Event 1.0 schema");
114
- }
115
- }
116
- function validateRequiredStringProperties(o, propertyNames) {
117
- for (const propertyName of propertyNames) {
118
- if (typeof o[propertyName] === "undefined") {
119
- throw new Error(`event is missing required property '${propertyName}'`);
120
- }
121
- if (typeof o[propertyName] !== "string") {
122
- throw new TypeError(`event property '${propertyName} should be a 'string', but is '${typeof o[propertyName]}'`);
123
- }
124
- }
125
- }
126
- function validateRequiredAnyProperties(o, propertyNames) {
127
- for (const propertyName of propertyNames) {
128
- if (typeof o[propertyName] === "undefined") {
129
- throw new Error(`event is missing required property '${propertyName}'`);
130
- }
131
- }
132
- }
133
- function validateOptionalStringProperties(o, propertyNames) {
134
- for (const propertyName of propertyNames) {
135
- if (typeof o[propertyName] !== "undefined" && typeof o[propertyName] !== "string") {
136
- throw new TypeError(`event property '${propertyName}' should be a 'string' but it is a '${typeof o[propertyName]}'`);
137
- }
138
- }
139
- }
140
-
141
- // Copyright (c) Microsoft Corporation.
142
- // Licensed under the MIT License.
143
- /**
144
- * The name of the header to include when a Shared Key is used for authentication.
145
- */
146
- const API_KEY_HEADER_NAME = "aeg-sas-key";
147
- /**
148
- * The name of the header to include when Shared Access Signature is used for authentication.
149
- */
150
- const SAS_TOKEN_HEADER_NAME = "aeg-sas-token";
151
- /**
152
- * The programmatic identifier of the eventGridCredentialPolicy.
153
- */
154
- const eventGridCredentialPolicyName = "eventGridCredentialPolicy";
155
- /**
156
- * A concrete implementation of an AzureKeyCredential policy
157
- * using the appropriate header for Event Grid
158
- */
159
- function eventGridCredentialPolicy(credential) {
160
- return {
161
- name: eventGridCredentialPolicyName,
162
- async sendRequest(request, next) {
163
- if (isKeyCredentialLike(credential)) {
164
- request.headers.set(API_KEY_HEADER_NAME, credential.key);
165
- }
166
- else {
167
- request.headers.set(SAS_TOKEN_HEADER_NAME, credential.signature);
168
- }
169
- return next(request);
170
- },
171
- };
172
- }
173
-
174
- // Copyright (c) Microsoft Corporation.
175
- // Licensed under the MIT License.
176
- const DEFAULT_API_VERSION = "2018-01-01";
177
- const DEFAULT_EVENTGRID_SCOPE = "https://eventgrid.azure.net/.default";
178
-
179
- // Copyright (c) Microsoft Corporation.
180
- // Licensed under the MIT License.
181
- /**
182
- * Property names defined by the CloudEvents 1.0 specification, these may not be reused as the names of extension properties.
183
- */
184
- const cloudEventReservedPropertyNames = [
185
- "specversion",
186
- "id",
187
- "source",
188
- "type",
189
- "datacontenttype",
190
- "dataschema",
191
- "subject",
192
- "time",
193
- "data",
194
- ];
195
-
196
- /*
197
- * Copyright (c) Microsoft Corporation.
198
- * Licensed under the MIT License.
199
- *
200
- * Code generated by Microsoft (R) AutoRest Code Generator.
201
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
202
- */
203
- const contentType = {
204
- parameterPath: ["options", "contentType"],
205
- mapper: {
206
- defaultValue: "application/json",
207
- isConstant: true,
208
- serializedName: "Content-Type",
209
- type: {
210
- name: "String"
211
- }
212
- }
213
- };
214
- const events = {
215
- parameterPath: "events",
216
- mapper: {
217
- serializedName: "events",
218
- required: true,
219
- type: {
220
- name: "Sequence",
221
- element: {
222
- type: {
223
- name: "Composite",
224
- className: "EventGridEvent"
225
- }
226
- }
227
- }
228
- }
229
- };
230
- const topicHostname = {
231
- parameterPath: "topicHostname",
232
- mapper: {
233
- serializedName: "topicHostname",
234
- required: true,
235
- type: {
236
- name: "String"
237
- }
238
- },
239
- skipEncoding: true
240
- };
241
- const apiVersion = {
242
- parameterPath: "apiVersion",
243
- mapper: {
244
- defaultValue: "2018-01-01",
245
- isConstant: true,
246
- serializedName: "api-version",
247
- type: {
248
- name: "String"
249
- }
250
- }
251
- };
252
- const contentType1 = {
253
- parameterPath: ["options", "contentType"],
254
- mapper: {
255
- defaultValue: "application/cloudevents-batch+json; charset=utf-8",
256
- isConstant: true,
257
- serializedName: "Content-Type",
258
- type: {
259
- name: "String"
260
- }
261
- }
262
- };
263
- const events1 = {
264
- parameterPath: "events",
265
- mapper: {
266
- serializedName: "events",
267
- required: true,
268
- type: {
269
- name: "Sequence",
270
- element: {
271
- type: {
272
- name: "Composite",
273
- className: "CloudEvent"
274
- }
275
- }
276
- }
277
- }
278
- };
279
- const aegChannelName = {
280
- parameterPath: ["options", "aegChannelName"],
281
- mapper: {
282
- serializedName: "aeg-channel-name",
283
- type: {
284
- name: "String"
285
- }
286
- }
287
- };
288
- const events2 = {
289
- parameterPath: "events",
290
- mapper: {
291
- serializedName: "events",
292
- required: true,
293
- type: {
294
- name: "Sequence",
295
- element: {
296
- type: {
297
- name: "any"
298
- }
299
- }
300
- }
301
- }
302
- };
303
-
304
1
  /*
305
2
  * Copyright (c) Microsoft Corporation.
306
3
  * Licensed under the MIT License.
@@ -308,7 +5,7 @@ const events2 = {
308
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
309
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
310
7
  */
311
- const EventGridEvent = {
8
+ export const EventGridEvent = {
312
9
  type: {
313
10
  name: "Composite",
314
11
  className: "EventGridEvent",
@@ -371,7 +68,7 @@ const EventGridEvent = {
371
68
  }
372
69
  }
373
70
  };
374
- const CloudEvent = {
71
+ export const CloudEvent = {
375
72
  type: {
376
73
  name: "Composite",
377
74
  className: "CloudEvent",
@@ -444,7 +141,7 @@ const CloudEvent = {
444
141
  }
445
142
  }
446
143
  };
447
- const StorageBlobCreatedEventData = {
144
+ export const StorageBlobCreatedEventData = {
448
145
  type: {
449
146
  name: "Composite",
450
147
  className: "StorageBlobCreatedEventData",
@@ -531,7 +228,7 @@ const StorageBlobCreatedEventData = {
531
228
  }
532
229
  }
533
230
  };
534
- const StorageBlobDeletedEventData = {
231
+ export const StorageBlobDeletedEventData = {
535
232
  type: {
536
233
  name: "Composite",
537
234
  className: "StorageBlobDeletedEventData",
@@ -602,7 +299,7 @@ const StorageBlobDeletedEventData = {
602
299
  }
603
300
  }
604
301
  };
605
- const StorageDirectoryCreatedEventData = {
302
+ export const StorageDirectoryCreatedEventData = {
606
303
  type: {
607
304
  name: "Composite",
608
305
  className: "StorageDirectoryCreatedEventData",
@@ -666,7 +363,7 @@ const StorageDirectoryCreatedEventData = {
666
363
  }
667
364
  }
668
365
  };
669
- const StorageDirectoryDeletedEventData = {
366
+ export const StorageDirectoryDeletedEventData = {
670
367
  type: {
671
368
  name: "Composite",
672
369
  className: "StorageDirectoryDeletedEventData",
@@ -730,7 +427,7 @@ const StorageDirectoryDeletedEventData = {
730
427
  }
731
428
  }
732
429
  };
733
- const StorageBlobRenamedEventData = {
430
+ export const StorageBlobRenamedEventData = {
734
431
  type: {
735
432
  name: "Composite",
736
433
  className: "StorageBlobRenamedEventData",
@@ -794,7 +491,7 @@ const StorageBlobRenamedEventData = {
794
491
  }
795
492
  }
796
493
  };
797
- const StorageDirectoryRenamedEventData = {
494
+ export const StorageDirectoryRenamedEventData = {
798
495
  type: {
799
496
  name: "Composite",
800
497
  className: "StorageDirectoryRenamedEventData",
@@ -858,7 +555,7 @@ const StorageDirectoryRenamedEventData = {
858
555
  }
859
556
  }
860
557
  };
861
- const StorageLifecyclePolicyCompletedEventData = {
558
+ export const StorageLifecyclePolicyCompletedEventData = {
862
559
  type: {
863
560
  name: "Composite",
864
561
  className: "StorageLifecyclePolicyCompletedEventData",
@@ -901,7 +598,7 @@ const StorageLifecyclePolicyCompletedEventData = {
901
598
  }
902
599
  }
903
600
  };
904
- const StorageLifecyclePolicyActionSummaryDetail = {
601
+ export const StorageLifecyclePolicyActionSummaryDetail = {
905
602
  type: {
906
603
  name: "Composite",
907
604
  className: "StorageLifecyclePolicyActionSummaryDetail",
@@ -930,7 +627,7 @@ const StorageLifecyclePolicyActionSummaryDetail = {
930
627
  }
931
628
  }
932
629
  };
933
- const StorageBlobTierChangedEventData = {
630
+ export const StorageBlobTierChangedEventData = {
934
631
  type: {
935
632
  name: "Composite",
936
633
  className: "StorageBlobTierChangedEventData",
@@ -1012,7 +709,7 @@ const StorageBlobTierChangedEventData = {
1012
709
  }
1013
710
  }
1014
711
  };
1015
- const StorageAsyncOperationInitiatedEventData = {
712
+ export const StorageAsyncOperationInitiatedEventData = {
1016
713
  type: {
1017
714
  name: "Composite",
1018
715
  className: "StorageAsyncOperationInitiatedEventData",
@@ -1090,7 +787,7 @@ const StorageAsyncOperationInitiatedEventData = {
1090
787
  }
1091
788
  }
1092
789
  };
1093
- const StorageBlobInventoryPolicyCompletedEventData = {
790
+ export const StorageBlobInventoryPolicyCompletedEventData = {
1094
791
  type: {
1095
792
  name: "Composite",
1096
793
  className: "StorageBlobInventoryPolicyCompletedEventData",
@@ -1147,7 +844,7 @@ const StorageBlobInventoryPolicyCompletedEventData = {
1147
844
  }
1148
845
  }
1149
846
  };
1150
- const StorageTaskQueuedEventData = {
847
+ export const StorageTaskQueuedEventData = {
1151
848
  type: {
1152
849
  name: "Composite",
1153
850
  className: "StorageTaskQueuedEventData",
@@ -1169,7 +866,7 @@ const StorageTaskQueuedEventData = {
1169
866
  }
1170
867
  }
1171
868
  };
1172
- const StorageTaskCompletedEventData = {
869
+ export const StorageTaskCompletedEventData = {
1173
870
  type: {
1174
871
  name: "Composite",
1175
872
  className: "StorageTaskCompletedEventData",
@@ -1212,7 +909,7 @@ const StorageTaskCompletedEventData = {
1212
909
  }
1213
910
  }
1214
911
  };
1215
- const StorageTaskAssignmentQueuedEventData = {
912
+ export const StorageTaskAssignmentQueuedEventData = {
1216
913
  type: {
1217
914
  name: "Composite",
1218
915
  className: "StorageTaskAssignmentQueuedEventData",
@@ -1234,7 +931,7 @@ const StorageTaskAssignmentQueuedEventData = {
1234
931
  }
1235
932
  }
1236
933
  };
1237
- const StorageTaskAssignmentCompletedEventData = {
934
+ export const StorageTaskAssignmentCompletedEventData = {
1238
935
  type: {
1239
936
  name: "Composite",
1240
937
  className: "StorageTaskAssignmentCompletedEventData",
@@ -1277,7 +974,7 @@ const StorageTaskAssignmentCompletedEventData = {
1277
974
  }
1278
975
  }
1279
976
  };
1280
- const EventHubCaptureFileCreatedEventData = {
977
+ export const EventHubCaptureFileCreatedEventData = {
1281
978
  type: {
1282
979
  name: "Composite",
1283
980
  className: "EventHubCaptureFileCreatedEventData",
@@ -1348,7 +1045,7 @@ const EventHubCaptureFileCreatedEventData = {
1348
1045
  }
1349
1046
  }
1350
1047
  };
1351
- const ResourceWriteSuccessEventData = {
1048
+ export const ResourceWriteSuccessEventData = {
1352
1049
  type: {
1353
1050
  name: "Composite",
1354
1051
  className: "ResourceWriteSuccessEventData",
@@ -1434,7 +1131,7 @@ const ResourceWriteSuccessEventData = {
1434
1131
  }
1435
1132
  }
1436
1133
  };
1437
- const ResourceAuthorization = {
1134
+ export const ResourceAuthorization = {
1438
1135
  type: {
1439
1136
  name: "Composite",
1440
1137
  className: "ResourceAuthorization",
@@ -1464,7 +1161,7 @@ const ResourceAuthorization = {
1464
1161
  }
1465
1162
  }
1466
1163
  };
1467
- const ResourceHttpRequest = {
1164
+ export const ResourceHttpRequest = {
1468
1165
  type: {
1469
1166
  name: "Composite",
1470
1167
  className: "ResourceHttpRequest",
@@ -1500,7 +1197,7 @@ const ResourceHttpRequest = {
1500
1197
  }
1501
1198
  }
1502
1199
  };
1503
- const ResourceWriteFailureEventData = {
1200
+ export const ResourceWriteFailureEventData = {
1504
1201
  type: {
1505
1202
  name: "Composite",
1506
1203
  className: "ResourceWriteFailureEventData",
@@ -1586,7 +1283,7 @@ const ResourceWriteFailureEventData = {
1586
1283
  }
1587
1284
  }
1588
1285
  };
1589
- const ResourceWriteCancelEventData = {
1286
+ export const ResourceWriteCancelEventData = {
1590
1287
  type: {
1591
1288
  name: "Composite",
1592
1289
  className: "ResourceWriteCancelEventData",
@@ -1672,7 +1369,7 @@ const ResourceWriteCancelEventData = {
1672
1369
  }
1673
1370
  }
1674
1371
  };
1675
- const ResourceDeleteSuccessEventData = {
1372
+ export const ResourceDeleteSuccessEventData = {
1676
1373
  type: {
1677
1374
  name: "Composite",
1678
1375
  className: "ResourceDeleteSuccessEventData",
@@ -1758,7 +1455,7 @@ const ResourceDeleteSuccessEventData = {
1758
1455
  }
1759
1456
  }
1760
1457
  };
1761
- const ResourceDeleteFailureEventData = {
1458
+ export const ResourceDeleteFailureEventData = {
1762
1459
  type: {
1763
1460
  name: "Composite",
1764
1461
  className: "ResourceDeleteFailureEventData",
@@ -1844,7 +1541,7 @@ const ResourceDeleteFailureEventData = {
1844
1541
  }
1845
1542
  }
1846
1543
  };
1847
- const ResourceDeleteCancelEventData = {
1544
+ export const ResourceDeleteCancelEventData = {
1848
1545
  type: {
1849
1546
  name: "Composite",
1850
1547
  className: "ResourceDeleteCancelEventData",
@@ -1930,7 +1627,7 @@ const ResourceDeleteCancelEventData = {
1930
1627
  }
1931
1628
  }
1932
1629
  };
1933
- const ResourceActionSuccessEventData = {
1630
+ export const ResourceActionSuccessEventData = {
1934
1631
  type: {
1935
1632
  name: "Composite",
1936
1633
  className: "ResourceActionSuccessEventData",
@@ -2016,7 +1713,7 @@ const ResourceActionSuccessEventData = {
2016
1713
  }
2017
1714
  }
2018
1715
  };
2019
- const ResourceActionFailureEventData = {
1716
+ export const ResourceActionFailureEventData = {
2020
1717
  type: {
2021
1718
  name: "Composite",
2022
1719
  className: "ResourceActionFailureEventData",
@@ -2102,7 +1799,7 @@ const ResourceActionFailureEventData = {
2102
1799
  }
2103
1800
  }
2104
1801
  };
2105
- const ResourceActionCancelEventData = {
1802
+ export const ResourceActionCancelEventData = {
2106
1803
  type: {
2107
1804
  name: "Composite",
2108
1805
  className: "ResourceActionCancelEventData",
@@ -2188,7 +1885,7 @@ const ResourceActionCancelEventData = {
2188
1885
  }
2189
1886
  }
2190
1887
  };
2191
- const SubscriptionValidationEventData = {
1888
+ export const SubscriptionValidationEventData = {
2192
1889
  type: {
2193
1890
  name: "Composite",
2194
1891
  className: "SubscriptionValidationEventData",
@@ -2212,7 +1909,7 @@ const SubscriptionValidationEventData = {
2212
1909
  }
2213
1910
  }
2214
1911
  };
2215
- const SubscriptionValidationResponse = {
1912
+ export const SubscriptionValidationResponse = {
2216
1913
  type: {
2217
1914
  name: "Composite",
2218
1915
  className: "SubscriptionValidationResponse",
@@ -2227,7 +1924,7 @@ const SubscriptionValidationResponse = {
2227
1924
  }
2228
1925
  }
2229
1926
  };
2230
- const SubscriptionDeletedEventData = {
1927
+ export const SubscriptionDeletedEventData = {
2231
1928
  type: {
2232
1929
  name: "Composite",
2233
1930
  className: "SubscriptionDeletedEventData",
@@ -2243,7 +1940,7 @@ const SubscriptionDeletedEventData = {
2243
1940
  }
2244
1941
  }
2245
1942
  };
2246
- const EventGridMqttClientEventData = {
1943
+ export const EventGridMqttClientEventData = {
2247
1944
  type: {
2248
1945
  name: "Composite",
2249
1946
  className: "EventGridMqttClientEventData",
@@ -2272,7 +1969,7 @@ const EventGridMqttClientEventData = {
2272
1969
  }
2273
1970
  }
2274
1971
  };
2275
- const DataBoxCopyStartedEventData = {
1972
+ export const DataBoxCopyStartedEventData = {
2276
1973
  type: {
2277
1974
  name: "Composite",
2278
1975
  className: "DataBoxCopyStartedEventData",
@@ -2301,7 +1998,7 @@ const DataBoxCopyStartedEventData = {
2301
1998
  }
2302
1999
  }
2303
2000
  };
2304
- const DataBoxCopyCompletedEventData = {
2001
+ export const DataBoxCopyCompletedEventData = {
2305
2002
  type: {
2306
2003
  name: "Composite",
2307
2004
  className: "DataBoxCopyCompletedEventData",
@@ -2330,7 +2027,7 @@ const DataBoxCopyCompletedEventData = {
2330
2027
  }
2331
2028
  }
2332
2029
  };
2333
- const DataBoxOrderCompletedEventData = {
2030
+ export const DataBoxOrderCompletedEventData = {
2334
2031
  type: {
2335
2032
  name: "Composite",
2336
2033
  className: "DataBoxOrderCompletedEventData",
@@ -2359,7 +2056,7 @@ const DataBoxOrderCompletedEventData = {
2359
2056
  }
2360
2057
  }
2361
2058
  };
2362
- const DeviceLifeCycleEvent = {
2059
+ export const DeviceLifeCycleEvent = {
2363
2060
  type: {
2364
2061
  name: "Composite",
2365
2062
  className: "DeviceLifeCycleEvent",
@@ -2388,7 +2085,7 @@ const DeviceLifeCycleEvent = {
2388
2085
  }
2389
2086
  }
2390
2087
  };
2391
- const DeviceTwinInfo = {
2088
+ export const DeviceTwinInfo = {
2392
2089
  type: {
2393
2090
  name: "Composite",
2394
2091
  className: "DeviceTwinInfo",
@@ -2473,7 +2170,7 @@ const DeviceTwinInfo = {
2473
2170
  }
2474
2171
  }
2475
2172
  };
2476
- const DeviceTwinInfoProperties = {
2173
+ export const DeviceTwinInfoProperties = {
2477
2174
  type: {
2478
2175
  name: "Composite",
2479
2176
  className: "DeviceTwinInfoProperties",
@@ -2495,7 +2192,7 @@ const DeviceTwinInfoProperties = {
2495
2192
  }
2496
2193
  }
2497
2194
  };
2498
- const DeviceTwin = {
2195
+ export const DeviceTwin = {
2499
2196
  type: {
2500
2197
  name: "Composite",
2501
2198
  className: "DeviceTwin",
@@ -2517,7 +2214,7 @@ const DeviceTwin = {
2517
2214
  }
2518
2215
  }
2519
2216
  };
2520
- const DeviceTwinMetadata = {
2217
+ export const DeviceTwinMetadata = {
2521
2218
  type: {
2522
2219
  name: "Composite",
2523
2220
  className: "DeviceTwinMetadata",
@@ -2532,7 +2229,7 @@ const DeviceTwinMetadata = {
2532
2229
  }
2533
2230
  }
2534
2231
  };
2535
- const DeviceTwinInfoX509Thumbprint = {
2232
+ export const DeviceTwinInfoX509Thumbprint = {
2536
2233
  type: {
2537
2234
  name: "Composite",
2538
2235
  className: "DeviceTwinInfoX509Thumbprint",
@@ -2552,7 +2249,7 @@ const DeviceTwinInfoX509Thumbprint = {
2552
2249
  }
2553
2250
  }
2554
2251
  };
2555
- const DeviceConnectionStateEvent = {
2252
+ export const DeviceConnectionStateEvent = {
2556
2253
  type: {
2557
2254
  name: "Composite",
2558
2255
  className: "DeviceConnectionStateEvent",
@@ -2588,7 +2285,7 @@ const DeviceConnectionStateEvent = {
2588
2285
  }
2589
2286
  }
2590
2287
  };
2591
- const DeviceConnectionStateEventInfo = {
2288
+ export const DeviceConnectionStateEventInfo = {
2592
2289
  type: {
2593
2290
  name: "Composite",
2594
2291
  className: "DeviceConnectionStateEventInfo",
@@ -2603,7 +2300,7 @@ const DeviceConnectionStateEventInfo = {
2603
2300
  }
2604
2301
  }
2605
2302
  };
2606
- const DeviceTelemetryEvent = {
2303
+ export const DeviceTelemetryEvent = {
2607
2304
  type: {
2608
2305
  name: "Composite",
2609
2306
  className: "DeviceTelemetryEvent",
@@ -2634,7 +2331,7 @@ const DeviceTelemetryEvent = {
2634
2331
  }
2635
2332
  }
2636
2333
  };
2637
- const ContainerRegistryEventData = {
2334
+ export const ContainerRegistryEventData = {
2638
2335
  type: {
2639
2336
  name: "Composite",
2640
2337
  className: "ContainerRegistryEventData",
@@ -2705,7 +2402,7 @@ const ContainerRegistryEventData = {
2705
2402
  }
2706
2403
  }
2707
2404
  };
2708
- const ContainerRegistryEventTarget = {
2405
+ export const ContainerRegistryEventTarget = {
2709
2406
  type: {
2710
2407
  name: "Composite",
2711
2408
  className: "ContainerRegistryEventTarget",
@@ -2762,7 +2459,7 @@ const ContainerRegistryEventTarget = {
2762
2459
  }
2763
2460
  }
2764
2461
  };
2765
- const ContainerRegistryEventRequest = {
2462
+ export const ContainerRegistryEventRequest = {
2766
2463
  type: {
2767
2464
  name: "Composite",
2768
2465
  className: "ContainerRegistryEventRequest",
@@ -2805,7 +2502,7 @@ const ContainerRegistryEventRequest = {
2805
2502
  }
2806
2503
  }
2807
2504
  };
2808
- const ContainerRegistryEventActor = {
2505
+ export const ContainerRegistryEventActor = {
2809
2506
  type: {
2810
2507
  name: "Composite",
2811
2508
  className: "ContainerRegistryEventActor",
@@ -2820,7 +2517,7 @@ const ContainerRegistryEventActor = {
2820
2517
  }
2821
2518
  }
2822
2519
  };
2823
- const ContainerRegistryEventSource = {
2520
+ export const ContainerRegistryEventSource = {
2824
2521
  type: {
2825
2522
  name: "Composite",
2826
2523
  className: "ContainerRegistryEventSource",
@@ -2842,7 +2539,7 @@ const ContainerRegistryEventSource = {
2842
2539
  }
2843
2540
  }
2844
2541
  };
2845
- const ContainerRegistryEventConnectedRegistry = {
2542
+ export const ContainerRegistryEventConnectedRegistry = {
2846
2543
  type: {
2847
2544
  name: "Composite",
2848
2545
  className: "ContainerRegistryEventConnectedRegistry",
@@ -2857,7 +2554,7 @@ const ContainerRegistryEventConnectedRegistry = {
2857
2554
  }
2858
2555
  }
2859
2556
  };
2860
- const ContainerRegistryArtifactEventData = {
2557
+ export const ContainerRegistryArtifactEventData = {
2861
2558
  type: {
2862
2559
  name: "Composite",
2863
2560
  className: "ContainerRegistryArtifactEventData",
@@ -2907,7 +2604,7 @@ const ContainerRegistryArtifactEventData = {
2907
2604
  }
2908
2605
  }
2909
2606
  };
2910
- const ContainerRegistryArtifactEventTarget = {
2607
+ export const ContainerRegistryArtifactEventTarget = {
2911
2608
  type: {
2912
2609
  name: "Composite",
2913
2610
  className: "ContainerRegistryArtifactEventTarget",
@@ -2964,7 +2661,7 @@ const ContainerRegistryArtifactEventTarget = {
2964
2661
  }
2965
2662
  }
2966
2663
  };
2967
- const ServiceBusActiveMessagesAvailableWithNoListenersEventData = {
2664
+ export const ServiceBusActiveMessagesAvailableWithNoListenersEventData = {
2968
2665
  type: {
2969
2666
  name: "Composite",
2970
2667
  className: "ServiceBusActiveMessagesAvailableWithNoListenersEventData",
@@ -3014,7 +2711,7 @@ const ServiceBusActiveMessagesAvailableWithNoListenersEventData = {
3014
2711
  }
3015
2712
  }
3016
2713
  };
3017
- const ServiceBusDeadletterMessagesAvailableWithNoListenersEventData = {
2714
+ export const ServiceBusDeadletterMessagesAvailableWithNoListenersEventData = {
3018
2715
  type: {
3019
2716
  name: "Composite",
3020
2717
  className: "ServiceBusDeadletterMessagesAvailableWithNoListenersEventData",
@@ -3064,7 +2761,7 @@ const ServiceBusDeadletterMessagesAvailableWithNoListenersEventData = {
3064
2761
  }
3065
2762
  }
3066
2763
  };
3067
- const ServiceBusActiveMessagesAvailablePeriodicNotificationsEventData = {
2764
+ export const ServiceBusActiveMessagesAvailablePeriodicNotificationsEventData = {
3068
2765
  type: {
3069
2766
  name: "Composite",
3070
2767
  className: "ServiceBusActiveMessagesAvailablePeriodicNotificationsEventData",
@@ -3114,7 +2811,7 @@ const ServiceBusActiveMessagesAvailablePeriodicNotificationsEventData = {
3114
2811
  }
3115
2812
  }
3116
2813
  };
3117
- const ServiceBusDeadletterMessagesAvailablePeriodicNotificationsEventData = {
2814
+ export const ServiceBusDeadletterMessagesAvailablePeriodicNotificationsEventData = {
3118
2815
  type: {
3119
2816
  name: "Composite",
3120
2817
  className: "ServiceBusDeadletterMessagesAvailablePeriodicNotificationsEventData",
@@ -3164,7 +2861,7 @@ const ServiceBusDeadletterMessagesAvailablePeriodicNotificationsEventData = {
3164
2861
  }
3165
2862
  }
3166
2863
  };
3167
- const MediaJobStateChangeEventData = {
2864
+ export const MediaJobStateChangeEventData = {
3168
2865
  type: {
3169
2866
  name: "Composite",
3170
2867
  className: "MediaJobStateChangeEventData",
@@ -3214,7 +2911,7 @@ const MediaJobStateChangeEventData = {
3214
2911
  }
3215
2912
  }
3216
2913
  };
3217
- const MediaJobError = {
2914
+ export const MediaJobError = {
3218
2915
  type: {
3219
2916
  name: "Composite",
3220
2917
  className: "MediaJobError",
@@ -3289,7 +2986,7 @@ const MediaJobError = {
3289
2986
  }
3290
2987
  }
3291
2988
  };
3292
- const MediaJobErrorDetail = {
2989
+ export const MediaJobErrorDetail = {
3293
2990
  type: {
3294
2991
  name: "Composite",
3295
2992
  className: "MediaJobErrorDetail",
@@ -3313,7 +3010,7 @@ const MediaJobErrorDetail = {
3313
3010
  }
3314
3011
  }
3315
3012
  };
3316
- const MediaJobOutput = {
3013
+ export const MediaJobOutput = {
3317
3014
  type: {
3318
3015
  name: "Composite",
3319
3016
  className: "MediaJobOutput",
@@ -3369,7 +3066,7 @@ const MediaJobOutput = {
3369
3066
  }
3370
3067
  }
3371
3068
  };
3372
- const MediaJobOutputProgressEventData = {
3069
+ export const MediaJobOutputProgressEventData = {
3373
3070
  type: {
3374
3071
  name: "Composite",
3375
3072
  className: "MediaJobOutputProgressEventData",
@@ -3399,7 +3096,7 @@ const MediaJobOutputProgressEventData = {
3399
3096
  }
3400
3097
  }
3401
3098
  };
3402
- const MediaJobOutputStateChangeEventData = {
3099
+ export const MediaJobOutputStateChangeEventData = {
3403
3100
  type: {
3404
3101
  name: "Composite",
3405
3102
  className: "MediaJobOutputStateChangeEventData",
@@ -3439,7 +3136,7 @@ const MediaJobOutputStateChangeEventData = {
3439
3136
  }
3440
3137
  }
3441
3138
  };
3442
- const MediaLiveEventEncoderConnectedEventData = {
3139
+ export const MediaLiveEventEncoderConnectedEventData = {
3443
3140
  type: {
3444
3141
  name: "Composite",
3445
3142
  className: "MediaLiveEventEncoderConnectedEventData",
@@ -3479,7 +3176,7 @@ const MediaLiveEventEncoderConnectedEventData = {
3479
3176
  }
3480
3177
  }
3481
3178
  };
3482
- const MediaLiveEventConnectionRejectedEventData = {
3179
+ export const MediaLiveEventConnectionRejectedEventData = {
3483
3180
  type: {
3484
3181
  name: "Composite",
3485
3182
  className: "MediaLiveEventConnectionRejectedEventData",
@@ -3527,7 +3224,7 @@ const MediaLiveEventConnectionRejectedEventData = {
3527
3224
  }
3528
3225
  }
3529
3226
  };
3530
- const MediaLiveEventEncoderDisconnectedEventData = {
3227
+ export const MediaLiveEventEncoderDisconnectedEventData = {
3531
3228
  type: {
3532
3229
  name: "Composite",
3533
3230
  className: "MediaLiveEventEncoderDisconnectedEventData",
@@ -3575,7 +3272,7 @@ const MediaLiveEventEncoderDisconnectedEventData = {
3575
3272
  }
3576
3273
  }
3577
3274
  };
3578
- const MediaLiveEventIncomingStreamReceivedEventData = {
3275
+ export const MediaLiveEventIncomingStreamReceivedEventData = {
3579
3276
  type: {
3580
3277
  name: "Composite",
3581
3278
  className: "MediaLiveEventIncomingStreamReceivedEventData",
@@ -3655,7 +3352,7 @@ const MediaLiveEventIncomingStreamReceivedEventData = {
3655
3352
  }
3656
3353
  }
3657
3354
  };
3658
- const MediaLiveEventIncomingStreamsOutOfSyncEventData = {
3355
+ export const MediaLiveEventIncomingStreamsOutOfSyncEventData = {
3659
3356
  type: {
3660
3357
  name: "Composite",
3661
3358
  className: "MediaLiveEventIncomingStreamsOutOfSyncEventData",
@@ -3711,7 +3408,7 @@ const MediaLiveEventIncomingStreamsOutOfSyncEventData = {
3711
3408
  }
3712
3409
  }
3713
3410
  };
3714
- const MediaLiveEventIncomingVideoStreamsOutOfSyncEventData = {
3411
+ export const MediaLiveEventIncomingVideoStreamsOutOfSyncEventData = {
3715
3412
  type: {
3716
3413
  name: "Composite",
3717
3414
  className: "MediaLiveEventIncomingVideoStreamsOutOfSyncEventData",
@@ -3759,7 +3456,7 @@ const MediaLiveEventIncomingVideoStreamsOutOfSyncEventData = {
3759
3456
  }
3760
3457
  }
3761
3458
  };
3762
- const MediaLiveEventIncomingDataChunkDroppedEventData = {
3459
+ export const MediaLiveEventIncomingDataChunkDroppedEventData = {
3763
3460
  type: {
3764
3461
  name: "Composite",
3765
3462
  className: "MediaLiveEventIncomingDataChunkDroppedEventData",
@@ -3815,7 +3512,7 @@ const MediaLiveEventIncomingDataChunkDroppedEventData = {
3815
3512
  }
3816
3513
  }
3817
3514
  };
3818
- const MediaLiveEventIngestHeartbeatEventData = {
3515
+ export const MediaLiveEventIngestHeartbeatEventData = {
3819
3516
  type: {
3820
3517
  name: "Composite",
3821
3518
  className: "MediaLiveEventIngestHeartbeatEventData",
@@ -3951,7 +3648,7 @@ const MediaLiveEventIngestHeartbeatEventData = {
3951
3648
  }
3952
3649
  }
3953
3650
  };
3954
- const MediaLiveEventTrackDiscontinuityDetectedEventData = {
3651
+ export const MediaLiveEventTrackDiscontinuityDetectedEventData = {
3955
3652
  type: {
3956
3653
  name: "Composite",
3957
3654
  className: "MediaLiveEventTrackDiscontinuityDetectedEventData",
@@ -4015,7 +3712,7 @@ const MediaLiveEventTrackDiscontinuityDetectedEventData = {
4015
3712
  }
4016
3713
  }
4017
3714
  };
4018
- const MediaLiveEventChannelArchiveHeartbeatEventData = {
3715
+ export const MediaLiveEventChannelArchiveHeartbeatEventData = {
4019
3716
  type: {
4020
3717
  name: "Composite",
4021
3718
  className: "MediaLiveEventChannelArchiveHeartbeatEventData",
@@ -4039,7 +3736,7 @@ const MediaLiveEventChannelArchiveHeartbeatEventData = {
4039
3736
  }
4040
3737
  }
4041
3738
  };
4042
- const MapsGeofenceEvent = {
3739
+ export const MapsGeofenceEvent = {
4043
3740
  type: {
4044
3741
  name: "Composite",
4045
3742
  className: "MapsGeofenceEvent",
@@ -4091,7 +3788,7 @@ const MapsGeofenceEvent = {
4091
3788
  }
4092
3789
  }
4093
3790
  };
4094
- const MapsGeofenceGeometry = {
3791
+ export const MapsGeofenceGeometry = {
4095
3792
  type: {
4096
3793
  name: "Composite",
4097
3794
  className: "MapsGeofenceGeometry",
@@ -4141,7 +3838,7 @@ const MapsGeofenceGeometry = {
4141
3838
  }
4142
3839
  }
4143
3840
  };
4144
- const AppConfigurationKeyValueModifiedEventData = {
3841
+ export const AppConfigurationKeyValueModifiedEventData = {
4145
3842
  type: {
4146
3843
  name: "Composite",
4147
3844
  className: "AppConfigurationKeyValueModifiedEventData",
@@ -4177,7 +3874,7 @@ const AppConfigurationKeyValueModifiedEventData = {
4177
3874
  }
4178
3875
  }
4179
3876
  };
4180
- const AppConfigurationKeyValueDeletedEventData = {
3877
+ export const AppConfigurationKeyValueDeletedEventData = {
4181
3878
  type: {
4182
3879
  name: "Composite",
4183
3880
  className: "AppConfigurationKeyValueDeletedEventData",
@@ -4213,7 +3910,7 @@ const AppConfigurationKeyValueDeletedEventData = {
4213
3910
  }
4214
3911
  }
4215
3912
  };
4216
- const AppConfigurationSnapshotEventData = {
3913
+ export const AppConfigurationSnapshotEventData = {
4217
3914
  type: {
4218
3915
  name: "Composite",
4219
3916
  className: "AppConfigurationSnapshotEventData",
@@ -4242,7 +3939,7 @@ const AppConfigurationSnapshotEventData = {
4242
3939
  }
4243
3940
  }
4244
3941
  };
4245
- const SignalRServiceClientConnectionConnectedEventData = {
3942
+ export const SignalRServiceClientConnectionConnectedEventData = {
4246
3943
  type: {
4247
3944
  name: "Composite",
4248
3945
  className: "SignalRServiceClientConnectionConnectedEventData",
@@ -4278,7 +3975,7 @@ const SignalRServiceClientConnectionConnectedEventData = {
4278
3975
  }
4279
3976
  }
4280
3977
  };
4281
- const SignalRServiceClientConnectionDisconnectedEventData = {
3978
+ export const SignalRServiceClientConnectionDisconnectedEventData = {
4282
3979
  type: {
4283
3980
  name: "Composite",
4284
3981
  className: "SignalRServiceClientConnectionDisconnectedEventData",
@@ -4321,7 +4018,7 @@ const SignalRServiceClientConnectionDisconnectedEventData = {
4321
4018
  }
4322
4019
  }
4323
4020
  };
4324
- const KeyVaultCertificateNewVersionCreatedEventData = {
4021
+ export const KeyVaultCertificateNewVersionCreatedEventData = {
4325
4022
  type: {
4326
4023
  name: "Composite",
4327
4024
  className: "KeyVaultCertificateNewVersionCreatedEventData",
@@ -4378,7 +4075,7 @@ const KeyVaultCertificateNewVersionCreatedEventData = {
4378
4075
  }
4379
4076
  }
4380
4077
  };
4381
- const KeyVaultCertificateNearExpiryEventData = {
4078
+ export const KeyVaultCertificateNearExpiryEventData = {
4382
4079
  type: {
4383
4080
  name: "Composite",
4384
4081
  className: "KeyVaultCertificateNearExpiryEventData",
@@ -4435,7 +4132,7 @@ const KeyVaultCertificateNearExpiryEventData = {
4435
4132
  }
4436
4133
  }
4437
4134
  };
4438
- const KeyVaultCertificateExpiredEventData = {
4135
+ export const KeyVaultCertificateExpiredEventData = {
4439
4136
  type: {
4440
4137
  name: "Composite",
4441
4138
  className: "KeyVaultCertificateExpiredEventData",
@@ -4492,7 +4189,7 @@ const KeyVaultCertificateExpiredEventData = {
4492
4189
  }
4493
4190
  }
4494
4191
  };
4495
- const KeyVaultKeyNewVersionCreatedEventData = {
4192
+ export const KeyVaultKeyNewVersionCreatedEventData = {
4496
4193
  type: {
4497
4194
  name: "Composite",
4498
4195
  className: "KeyVaultKeyNewVersionCreatedEventData",
@@ -4549,7 +4246,7 @@ const KeyVaultKeyNewVersionCreatedEventData = {
4549
4246
  }
4550
4247
  }
4551
4248
  };
4552
- const KeyVaultKeyNearExpiryEventData = {
4249
+ export const KeyVaultKeyNearExpiryEventData = {
4553
4250
  type: {
4554
4251
  name: "Composite",
4555
4252
  className: "KeyVaultKeyNearExpiryEventData",
@@ -4606,7 +4303,7 @@ const KeyVaultKeyNearExpiryEventData = {
4606
4303
  }
4607
4304
  }
4608
4305
  };
4609
- const KeyVaultKeyExpiredEventData = {
4306
+ export const KeyVaultKeyExpiredEventData = {
4610
4307
  type: {
4611
4308
  name: "Composite",
4612
4309
  className: "KeyVaultKeyExpiredEventData",
@@ -4663,7 +4360,7 @@ const KeyVaultKeyExpiredEventData = {
4663
4360
  }
4664
4361
  }
4665
4362
  };
4666
- const KeyVaultSecretNewVersionCreatedEventData = {
4363
+ export const KeyVaultSecretNewVersionCreatedEventData = {
4667
4364
  type: {
4668
4365
  name: "Composite",
4669
4366
  className: "KeyVaultSecretNewVersionCreatedEventData",
@@ -4720,7 +4417,7 @@ const KeyVaultSecretNewVersionCreatedEventData = {
4720
4417
  }
4721
4418
  }
4722
4419
  };
4723
- const KeyVaultSecretNearExpiryEventData = {
4420
+ export const KeyVaultSecretNearExpiryEventData = {
4724
4421
  type: {
4725
4422
  name: "Composite",
4726
4423
  className: "KeyVaultSecretNearExpiryEventData",
@@ -4777,7 +4474,7 @@ const KeyVaultSecretNearExpiryEventData = {
4777
4474
  }
4778
4475
  }
4779
4476
  };
4780
- const KeyVaultSecretExpiredEventData = {
4477
+ export const KeyVaultSecretExpiredEventData = {
4781
4478
  type: {
4782
4479
  name: "Composite",
4783
4480
  className: "KeyVaultSecretExpiredEventData",
@@ -4834,7 +4531,7 @@ const KeyVaultSecretExpiredEventData = {
4834
4531
  }
4835
4532
  }
4836
4533
  };
4837
- const KeyVaultAccessPolicyChangedEventData = {
4534
+ export const KeyVaultAccessPolicyChangedEventData = {
4838
4535
  type: {
4839
4536
  name: "Composite",
4840
4537
  className: "KeyVaultAccessPolicyChangedEventData",
@@ -4891,7 +4588,7 @@ const KeyVaultAccessPolicyChangedEventData = {
4891
4588
  }
4892
4589
  }
4893
4590
  };
4894
- const MachineLearningServicesModelRegisteredEventData = {
4591
+ export const MachineLearningServicesModelRegisteredEventData = {
4895
4592
  type: {
4896
4593
  name: "Composite",
4897
4594
  className: "MachineLearningServicesModelRegisteredEventData",
@@ -4927,7 +4624,7 @@ const MachineLearningServicesModelRegisteredEventData = {
4927
4624
  }
4928
4625
  }
4929
4626
  };
4930
- const MachineLearningServicesModelDeployedEventData = {
4627
+ export const MachineLearningServicesModelDeployedEventData = {
4931
4628
  type: {
4932
4629
  name: "Composite",
4933
4630
  className: "MachineLearningServicesModelDeployedEventData",
@@ -4970,7 +4667,7 @@ const MachineLearningServicesModelDeployedEventData = {
4970
4667
  }
4971
4668
  }
4972
4669
  };
4973
- const MachineLearningServicesRunCompletedEventData = {
4670
+ export const MachineLearningServicesRunCompletedEventData = {
4974
4671
  type: {
4975
4672
  name: "Composite",
4976
4673
  className: "MachineLearningServicesRunCompletedEventData",
@@ -5020,7 +4717,7 @@ const MachineLearningServicesRunCompletedEventData = {
5020
4717
  }
5021
4718
  }
5022
4719
  };
5023
- const MachineLearningServicesDatasetDriftDetectedEventData = {
4720
+ export const MachineLearningServicesDatasetDriftDetectedEventData = {
5024
4721
  type: {
5025
4722
  name: "Composite",
5026
4723
  className: "MachineLearningServicesDatasetDriftDetectedEventData",
@@ -5084,7 +4781,7 @@ const MachineLearningServicesDatasetDriftDetectedEventData = {
5084
4781
  }
5085
4782
  }
5086
4783
  };
5087
- const MachineLearningServicesRunStatusChangedEventData = {
4784
+ export const MachineLearningServicesRunStatusChangedEventData = {
5088
4785
  type: {
5089
4786
  name: "Composite",
5090
4787
  className: "MachineLearningServicesRunStatusChangedEventData",
@@ -5141,7 +4838,7 @@ const MachineLearningServicesRunStatusChangedEventData = {
5141
4838
  }
5142
4839
  }
5143
4840
  };
5144
- const RedisPatchingCompletedEventData = {
4841
+ export const RedisPatchingCompletedEventData = {
5145
4842
  type: {
5146
4843
  name: "Composite",
5147
4844
  className: "RedisPatchingCompletedEventData",
@@ -5170,7 +4867,7 @@ const RedisPatchingCompletedEventData = {
5170
4867
  }
5171
4868
  }
5172
4869
  };
5173
- const RedisScalingCompletedEventData = {
4870
+ export const RedisScalingCompletedEventData = {
5174
4871
  type: {
5175
4872
  name: "Composite",
5176
4873
  className: "RedisScalingCompletedEventData",
@@ -5199,7 +4896,7 @@ const RedisScalingCompletedEventData = {
5199
4896
  }
5200
4897
  }
5201
4898
  };
5202
- const RedisExportRDBCompletedEventData = {
4899
+ export const RedisExportRDBCompletedEventData = {
5203
4900
  type: {
5204
4901
  name: "Composite",
5205
4902
  className: "RedisExportRDBCompletedEventData",
@@ -5228,7 +4925,7 @@ const RedisExportRDBCompletedEventData = {
5228
4925
  }
5229
4926
  }
5230
4927
  };
5231
- const RedisImportRDBCompletedEventData = {
4928
+ export const RedisImportRDBCompletedEventData = {
5232
4929
  type: {
5233
4930
  name: "Composite",
5234
4931
  className: "RedisImportRDBCompletedEventData",
@@ -5257,7 +4954,7 @@ const RedisImportRDBCompletedEventData = {
5257
4954
  }
5258
4955
  }
5259
4956
  };
5260
- const WebAppUpdatedEventData = {
4957
+ export const WebAppUpdatedEventData = {
5261
4958
  type: {
5262
4959
  name: "Composite",
5263
4960
  className: "WebAppUpdatedEventData",
@@ -5314,7 +5011,7 @@ const WebAppUpdatedEventData = {
5314
5011
  }
5315
5012
  }
5316
5013
  };
5317
- const AppEventTypeDetail = {
5014
+ export const AppEventTypeDetail = {
5318
5015
  type: {
5319
5016
  name: "Composite",
5320
5017
  className: "AppEventTypeDetail",
@@ -5329,7 +5026,7 @@ const AppEventTypeDetail = {
5329
5026
  }
5330
5027
  }
5331
5028
  };
5332
- const WebBackupOperationStartedEventData = {
5029
+ export const WebBackupOperationStartedEventData = {
5333
5030
  type: {
5334
5031
  name: "Composite",
5335
5032
  className: "WebBackupOperationStartedEventData",
@@ -5386,7 +5083,7 @@ const WebBackupOperationStartedEventData = {
5386
5083
  }
5387
5084
  }
5388
5085
  };
5389
- const WebBackupOperationCompletedEventData = {
5086
+ export const WebBackupOperationCompletedEventData = {
5390
5087
  type: {
5391
5088
  name: "Composite",
5392
5089
  className: "WebBackupOperationCompletedEventData",
@@ -5443,7 +5140,7 @@ const WebBackupOperationCompletedEventData = {
5443
5140
  }
5444
5141
  }
5445
5142
  };
5446
- const WebBackupOperationFailedEventData = {
5143
+ export const WebBackupOperationFailedEventData = {
5447
5144
  type: {
5448
5145
  name: "Composite",
5449
5146
  className: "WebBackupOperationFailedEventData",
@@ -5500,7 +5197,7 @@ const WebBackupOperationFailedEventData = {
5500
5197
  }
5501
5198
  }
5502
5199
  };
5503
- const WebRestoreOperationStartedEventData = {
5200
+ export const WebRestoreOperationStartedEventData = {
5504
5201
  type: {
5505
5202
  name: "Composite",
5506
5203
  className: "WebRestoreOperationStartedEventData",
@@ -5557,7 +5254,7 @@ const WebRestoreOperationStartedEventData = {
5557
5254
  }
5558
5255
  }
5559
5256
  };
5560
- const WebRestoreOperationCompletedEventData = {
5257
+ export const WebRestoreOperationCompletedEventData = {
5561
5258
  type: {
5562
5259
  name: "Composite",
5563
5260
  className: "WebRestoreOperationCompletedEventData",
@@ -5614,7 +5311,7 @@ const WebRestoreOperationCompletedEventData = {
5614
5311
  }
5615
5312
  }
5616
5313
  };
5617
- const WebRestoreOperationFailedEventData = {
5314
+ export const WebRestoreOperationFailedEventData = {
5618
5315
  type: {
5619
5316
  name: "Composite",
5620
5317
  className: "WebRestoreOperationFailedEventData",
@@ -5671,7 +5368,7 @@ const WebRestoreOperationFailedEventData = {
5671
5368
  }
5672
5369
  }
5673
5370
  };
5674
- const WebSlotSwapStartedEventData = {
5371
+ export const WebSlotSwapStartedEventData = {
5675
5372
  type: {
5676
5373
  name: "Composite",
5677
5374
  className: "WebSlotSwapStartedEventData",
@@ -5728,7 +5425,7 @@ const WebSlotSwapStartedEventData = {
5728
5425
  }
5729
5426
  }
5730
5427
  };
5731
- const WebSlotSwapCompletedEventData = {
5428
+ export const WebSlotSwapCompletedEventData = {
5732
5429
  type: {
5733
5430
  name: "Composite",
5734
5431
  className: "WebSlotSwapCompletedEventData",
@@ -5785,7 +5482,7 @@ const WebSlotSwapCompletedEventData = {
5785
5482
  }
5786
5483
  }
5787
5484
  };
5788
- const WebSlotSwapFailedEventData = {
5485
+ export const WebSlotSwapFailedEventData = {
5789
5486
  type: {
5790
5487
  name: "Composite",
5791
5488
  className: "WebSlotSwapFailedEventData",
@@ -5842,7 +5539,7 @@ const WebSlotSwapFailedEventData = {
5842
5539
  }
5843
5540
  }
5844
5541
  };
5845
- const WebSlotSwapWithPreviewStartedEventData = {
5542
+ export const WebSlotSwapWithPreviewStartedEventData = {
5846
5543
  type: {
5847
5544
  name: "Composite",
5848
5545
  className: "WebSlotSwapWithPreviewStartedEventData",
@@ -5899,7 +5596,7 @@ const WebSlotSwapWithPreviewStartedEventData = {
5899
5596
  }
5900
5597
  }
5901
5598
  };
5902
- const WebSlotSwapWithPreviewCancelledEventData = {
5599
+ export const WebSlotSwapWithPreviewCancelledEventData = {
5903
5600
  type: {
5904
5601
  name: "Composite",
5905
5602
  className: "WebSlotSwapWithPreviewCancelledEventData",
@@ -5956,7 +5653,7 @@ const WebSlotSwapWithPreviewCancelledEventData = {
5956
5653
  }
5957
5654
  }
5958
5655
  };
5959
- const WebAppServicePlanUpdatedEventData = {
5656
+ export const WebAppServicePlanUpdatedEventData = {
5960
5657
  type: {
5961
5658
  name: "Composite",
5962
5659
  className: "WebAppServicePlanUpdatedEventData",
@@ -6020,7 +5717,7 @@ const WebAppServicePlanUpdatedEventData = {
6020
5717
  }
6021
5718
  }
6022
5719
  };
6023
- const AppServicePlanEventTypeDetail = {
5720
+ export const AppServicePlanEventTypeDetail = {
6024
5721
  type: {
6025
5722
  name: "Composite",
6026
5723
  className: "AppServicePlanEventTypeDetail",
@@ -6049,7 +5746,7 @@ const AppServicePlanEventTypeDetail = {
6049
5746
  }
6050
5747
  }
6051
5748
  };
6052
- const WebAppServicePlanUpdatedEventDataSku = {
5749
+ export const WebAppServicePlanUpdatedEventDataSku = {
6053
5750
  type: {
6054
5751
  name: "Composite",
6055
5752
  className: "WebAppServicePlanUpdatedEventDataSku",
@@ -6087,7 +5784,7 @@ const WebAppServicePlanUpdatedEventDataSku = {
6087
5784
  }
6088
5785
  }
6089
5786
  };
6090
- const AcsIncomingCallEventData = {
5787
+ export const AcsIncomingCallEventData = {
6091
5788
  type: {
6092
5789
  name: "Composite",
6093
5790
  className: "AcsIncomingCallEventData",
@@ -6151,7 +5848,7 @@ const AcsIncomingCallEventData = {
6151
5848
  }
6152
5849
  }
6153
5850
  };
6154
- const CommunicationIdentifierModel = {
5851
+ export const CommunicationIdentifierModel = {
6155
5852
  type: {
6156
5853
  name: "Composite",
6157
5854
  className: "CommunicationIdentifierModel",
@@ -6200,7 +5897,7 @@ const CommunicationIdentifierModel = {
6200
5897
  }
6201
5898
  }
6202
5899
  };
6203
- const CommunicationUserIdentifierModel = {
5900
+ export const CommunicationUserIdentifierModel = {
6204
5901
  type: {
6205
5902
  name: "Composite",
6206
5903
  className: "CommunicationUserIdentifierModel",
@@ -6215,7 +5912,7 @@ const CommunicationUserIdentifierModel = {
6215
5912
  }
6216
5913
  }
6217
5914
  };
6218
- const PhoneNumberIdentifierModel = {
5915
+ export const PhoneNumberIdentifierModel = {
6219
5916
  type: {
6220
5917
  name: "Composite",
6221
5918
  className: "PhoneNumberIdentifierModel",
@@ -6230,7 +5927,7 @@ const PhoneNumberIdentifierModel = {
6230
5927
  }
6231
5928
  }
6232
5929
  };
6233
- const MicrosoftTeamsUserIdentifierModel = {
5930
+ export const MicrosoftTeamsUserIdentifierModel = {
6234
5931
  type: {
6235
5932
  name: "Composite",
6236
5933
  className: "MicrosoftTeamsUserIdentifierModel",
@@ -6257,7 +5954,7 @@ const MicrosoftTeamsUserIdentifierModel = {
6257
5954
  }
6258
5955
  }
6259
5956
  };
6260
- const MicrosoftTeamsAppIdentifierModel = {
5957
+ export const MicrosoftTeamsAppIdentifierModel = {
6261
5958
  type: {
6262
5959
  name: "Composite",
6263
5960
  className: "MicrosoftTeamsAppIdentifierModel",
@@ -6278,7 +5975,7 @@ const MicrosoftTeamsAppIdentifierModel = {
6278
5975
  }
6279
5976
  }
6280
5977
  };
6281
- const AcsIncomingCallCustomContext = {
5978
+ export const AcsIncomingCallCustomContext = {
6282
5979
  type: {
6283
5980
  name: "Composite",
6284
5981
  className: "AcsIncomingCallCustomContext",
@@ -6302,7 +5999,7 @@ const AcsIncomingCallCustomContext = {
6302
5999
  }
6303
6000
  }
6304
6001
  };
6305
- const AcsUserDisconnectedEventData = {
6002
+ export const AcsUserDisconnectedEventData = {
6306
6003
  type: {
6307
6004
  name: "Composite",
6308
6005
  className: "AcsUserDisconnectedEventData",
@@ -6317,7 +6014,7 @@ const AcsUserDisconnectedEventData = {
6317
6014
  }
6318
6015
  }
6319
6016
  };
6320
- const AcsRouterEventData = {
6017
+ export const AcsRouterEventData = {
6321
6018
  type: {
6322
6019
  name: "Composite",
6323
6020
  className: "AcsRouterEventData",
@@ -6346,7 +6043,7 @@ const AcsRouterEventData = {
6346
6043
  }
6347
6044
  }
6348
6045
  };
6349
- const AcsRouterCommunicationError = {
6046
+ export const AcsRouterCommunicationError = {
6350
6047
  type: {
6351
6048
  name: "Composite",
6352
6049
  className: "AcsRouterCommunicationError",
@@ -6395,7 +6092,7 @@ const AcsRouterCommunicationError = {
6395
6092
  }
6396
6093
  }
6397
6094
  };
6398
- const AcsRouterQueueDetails = {
6095
+ export const AcsRouterQueueDetails = {
6399
6096
  type: {
6400
6097
  name: "Composite",
6401
6098
  className: "AcsRouterQueueDetails",
@@ -6425,7 +6122,7 @@ const AcsRouterQueueDetails = {
6425
6122
  }
6426
6123
  }
6427
6124
  };
6428
- const AcsRouterWorkerSelector = {
6125
+ export const AcsRouterWorkerSelector = {
6429
6126
  type: {
6430
6127
  name: "Composite",
6431
6128
  className: "AcsRouterWorkerSelector",
@@ -6475,7 +6172,7 @@ const AcsRouterWorkerSelector = {
6475
6172
  }
6476
6173
  }
6477
6174
  };
6478
- const AcsRouterWorkerDeregisteredEventData = {
6175
+ export const AcsRouterWorkerDeregisteredEventData = {
6479
6176
  type: {
6480
6177
  name: "Composite",
6481
6178
  className: "AcsRouterWorkerDeregisteredEventData",
@@ -6490,7 +6187,7 @@ const AcsRouterWorkerDeregisteredEventData = {
6490
6187
  }
6491
6188
  }
6492
6189
  };
6493
- const AcsRouterWorkerRegisteredEventData = {
6190
+ export const AcsRouterWorkerRegisteredEventData = {
6494
6191
  type: {
6495
6192
  name: "Composite",
6496
6193
  className: "AcsRouterWorkerRegisteredEventData",
@@ -6554,7 +6251,7 @@ const AcsRouterWorkerRegisteredEventData = {
6554
6251
  }
6555
6252
  }
6556
6253
  };
6557
- const AcsRouterChannelConfiguration = {
6254
+ export const AcsRouterChannelConfiguration = {
6558
6255
  type: {
6559
6256
  name: "Composite",
6560
6257
  className: "AcsRouterChannelConfiguration",
@@ -6583,7 +6280,7 @@ const AcsRouterChannelConfiguration = {
6583
6280
  }
6584
6281
  }
6585
6282
  };
6586
- const AcsRouterWorkerUpdatedEventData = {
6283
+ export const AcsRouterWorkerUpdatedEventData = {
6587
6284
  type: {
6588
6285
  name: "Composite",
6589
6286
  className: "AcsRouterWorkerUpdatedEventData",
@@ -6659,7 +6356,7 @@ const AcsRouterWorkerUpdatedEventData = {
6659
6356
  }
6660
6357
  }
6661
6358
  };
6662
- const AcsChatEventBase = {
6359
+ export const AcsChatEventBase = {
6663
6360
  type: {
6664
6361
  name: "Composite",
6665
6362
  className: "AcsChatEventBase",
@@ -6688,7 +6385,7 @@ const AcsChatEventBase = {
6688
6385
  }
6689
6386
  }
6690
6387
  };
6691
- const AcsChatEventInThreadBase = {
6388
+ export const AcsChatEventInThreadBase = {
6692
6389
  type: {
6693
6390
  name: "Composite",
6694
6391
  className: "AcsChatEventInThreadBase",
@@ -6710,7 +6407,7 @@ const AcsChatEventInThreadBase = {
6710
6407
  }
6711
6408
  }
6712
6409
  };
6713
- const AcsChatThreadParticipant = {
6410
+ export const AcsChatThreadParticipant = {
6714
6411
  type: {
6715
6412
  name: "Composite",
6716
6413
  className: "AcsChatThreadParticipant",
@@ -6740,7 +6437,7 @@ const AcsChatThreadParticipant = {
6740
6437
  }
6741
6438
  }
6742
6439
  };
6743
- const AcsSmsDeliveryAttempt = {
6440
+ export const AcsSmsDeliveryAttempt = {
6744
6441
  type: {
6745
6442
  name: "Composite",
6746
6443
  className: "AcsSmsDeliveryAttempt",
@@ -6769,7 +6466,7 @@ const AcsSmsDeliveryAttempt = {
6769
6466
  }
6770
6467
  }
6771
6468
  };
6772
- const AcsSmsEventBase = {
6469
+ export const AcsSmsEventBase = {
6773
6470
  type: {
6774
6471
  name: "Composite",
6775
6472
  className: "AcsSmsEventBase",
@@ -6798,7 +6495,7 @@ const AcsSmsEventBase = {
6798
6495
  }
6799
6496
  }
6800
6497
  };
6801
- const AcsRecordingFileStatusUpdatedEventData = {
6498
+ export const AcsRecordingFileStatusUpdatedEventData = {
6802
6499
  type: {
6803
6500
  name: "Composite",
6804
6501
  className: "AcsRecordingFileStatusUpdatedEventData",
@@ -6855,7 +6552,7 @@ const AcsRecordingFileStatusUpdatedEventData = {
6855
6552
  }
6856
6553
  }
6857
6554
  };
6858
- const AcsRecordingStorageInfo = {
6555
+ export const AcsRecordingStorageInfo = {
6859
6556
  type: {
6860
6557
  name: "Composite",
6861
6558
  className: "AcsRecordingStorageInfo",
@@ -6876,7 +6573,7 @@ const AcsRecordingStorageInfo = {
6876
6573
  }
6877
6574
  }
6878
6575
  };
6879
- const AcsRecordingChunkInfo = {
6576
+ export const AcsRecordingChunkInfo = {
6880
6577
  type: {
6881
6578
  name: "Composite",
6882
6579
  className: "AcsRecordingChunkInfo",
@@ -6926,7 +6623,7 @@ const AcsRecordingChunkInfo = {
6926
6623
  }
6927
6624
  }
6928
6625
  };
6929
- const AcsEmailDeliveryReportReceivedEventData = {
6626
+ export const AcsEmailDeliveryReportReceivedEventData = {
6930
6627
  type: {
6931
6628
  name: "Composite",
6932
6629
  className: "AcsEmailDeliveryReportReceivedEventData",
@@ -6976,7 +6673,7 @@ const AcsEmailDeliveryReportReceivedEventData = {
6976
6673
  }
6977
6674
  }
6978
6675
  };
6979
- const AcsEmailDeliveryReportStatusDetails = {
6676
+ export const AcsEmailDeliveryReportStatusDetails = {
6980
6677
  type: {
6981
6678
  name: "Composite",
6982
6679
  className: "AcsEmailDeliveryReportStatusDetails",
@@ -6991,7 +6688,7 @@ const AcsEmailDeliveryReportStatusDetails = {
6991
6688
  }
6992
6689
  }
6993
6690
  };
6994
- const AcsEmailEngagementTrackingReportReceivedEventData = {
6691
+ export const AcsEmailEngagementTrackingReportReceivedEventData = {
6995
6692
  type: {
6996
6693
  name: "Composite",
6997
6694
  className: "AcsEmailEngagementTrackingReportReceivedEventData",
@@ -7048,7 +6745,7 @@ const AcsEmailEngagementTrackingReportReceivedEventData = {
7048
6745
  }
7049
6746
  }
7050
6747
  };
7051
- const AcsMessageMediaContent = {
6748
+ export const AcsMessageMediaContent = {
7052
6749
  type: {
7053
6750
  name: "Composite",
7054
6751
  className: "AcsMessageMediaContent",
@@ -7084,7 +6781,7 @@ const AcsMessageMediaContent = {
7084
6781
  }
7085
6782
  }
7086
6783
  };
7087
- const AcsMessageContext = {
6784
+ export const AcsMessageContext = {
7088
6785
  type: {
7089
6786
  name: "Composite",
7090
6787
  className: "AcsMessageContext",
@@ -7106,7 +6803,7 @@ const AcsMessageContext = {
7106
6803
  }
7107
6804
  }
7108
6805
  };
7109
- const AcsMessageButtonContent = {
6806
+ export const AcsMessageButtonContent = {
7110
6807
  type: {
7111
6808
  name: "Composite",
7112
6809
  className: "AcsMessageButtonContent",
@@ -7128,7 +6825,7 @@ const AcsMessageButtonContent = {
7128
6825
  }
7129
6826
  }
7130
6827
  };
7131
- const AcsMessageInteractiveContent = {
6828
+ export const AcsMessageInteractiveContent = {
7132
6829
  type: {
7133
6830
  name: "Composite",
7134
6831
  className: "AcsMessageInteractiveContent",
@@ -7157,7 +6854,7 @@ const AcsMessageInteractiveContent = {
7157
6854
  }
7158
6855
  }
7159
6856
  };
7160
- const AcsMessageInteractiveButtonReplyContent = {
6857
+ export const AcsMessageInteractiveButtonReplyContent = {
7161
6858
  type: {
7162
6859
  name: "Composite",
7163
6860
  className: "AcsMessageInteractiveButtonReplyContent",
@@ -7179,7 +6876,7 @@ const AcsMessageInteractiveButtonReplyContent = {
7179
6876
  }
7180
6877
  }
7181
6878
  };
7182
- const AcsMessageInteractiveListReplyContent = {
6879
+ export const AcsMessageInteractiveListReplyContent = {
7183
6880
  type: {
7184
6881
  name: "Composite",
7185
6882
  className: "AcsMessageInteractiveListReplyContent",
@@ -7208,7 +6905,7 @@ const AcsMessageInteractiveListReplyContent = {
7208
6905
  }
7209
6906
  }
7210
6907
  };
7211
- const AcsMessageEventData = {
6908
+ export const AcsMessageEventData = {
7212
6909
  type: {
7213
6910
  name: "Composite",
7214
6911
  className: "AcsMessageEventData",
@@ -7244,7 +6941,7 @@ const AcsMessageEventData = {
7244
6941
  }
7245
6942
  }
7246
6943
  };
7247
- const AcsMessageChannelEventError = {
6944
+ export const AcsMessageChannelEventError = {
7248
6945
  type: {
7249
6946
  name: "Composite",
7250
6947
  className: "AcsMessageChannelEventError",
@@ -7266,7 +6963,7 @@ const AcsMessageChannelEventError = {
7266
6963
  }
7267
6964
  }
7268
6965
  };
7269
- const PolicyInsightsPolicyStateCreatedEventData = {
6966
+ export const PolicyInsightsPolicyStateCreatedEventData = {
7270
6967
  type: {
7271
6968
  name: "Composite",
7272
6969
  className: "PolicyInsightsPolicyStateCreatedEventData",
@@ -7323,7 +7020,7 @@ const PolicyInsightsPolicyStateCreatedEventData = {
7323
7020
  }
7324
7021
  }
7325
7022
  };
7326
- const PolicyInsightsPolicyStateChangedEventData = {
7023
+ export const PolicyInsightsPolicyStateChangedEventData = {
7327
7024
  type: {
7328
7025
  name: "Composite",
7329
7026
  className: "PolicyInsightsPolicyStateChangedEventData",
@@ -7380,7 +7077,7 @@ const PolicyInsightsPolicyStateChangedEventData = {
7380
7077
  }
7381
7078
  }
7382
7079
  };
7383
- const PolicyInsightsPolicyStateDeletedEventData = {
7080
+ export const PolicyInsightsPolicyStateDeletedEventData = {
7384
7081
  type: {
7385
7082
  name: "Composite",
7386
7083
  className: "PolicyInsightsPolicyStateDeletedEventData",
@@ -7437,7 +7134,7 @@ const PolicyInsightsPolicyStateDeletedEventData = {
7437
7134
  }
7438
7135
  }
7439
7136
  };
7440
- const ContainerServiceNewKubernetesVersionAvailableEventData = {
7137
+ export const ContainerServiceNewKubernetesVersionAvailableEventData = {
7441
7138
  type: {
7442
7139
  name: "Composite",
7443
7140
  className: "ContainerServiceNewKubernetesVersionAvailableEventData",
@@ -7473,7 +7170,7 @@ const ContainerServiceNewKubernetesVersionAvailableEventData = {
7473
7170
  }
7474
7171
  }
7475
7172
  };
7476
- const ContainerServiceClusterSupportEventData = {
7173
+ export const ContainerServiceClusterSupportEventData = {
7477
7174
  type: {
7478
7175
  name: "Composite",
7479
7176
  className: "ContainerServiceClusterSupportEventData",
@@ -7488,7 +7185,7 @@ const ContainerServiceClusterSupportEventData = {
7488
7185
  }
7489
7186
  }
7490
7187
  };
7491
- const ContainerServiceNodePoolRollingEventData = {
7188
+ export const ContainerServiceNodePoolRollingEventData = {
7492
7189
  type: {
7493
7190
  name: "Composite",
7494
7191
  className: "ContainerServiceNodePoolRollingEventData",
@@ -7503,7 +7200,7 @@ const ContainerServiceNodePoolRollingEventData = {
7503
7200
  }
7504
7201
  }
7505
7202
  };
7506
- const ApiManagementUserCreatedEventData = {
7203
+ export const ApiManagementUserCreatedEventData = {
7507
7204
  type: {
7508
7205
  name: "Composite",
7509
7206
  className: "ApiManagementUserCreatedEventData",
@@ -7518,7 +7215,7 @@ const ApiManagementUserCreatedEventData = {
7518
7215
  }
7519
7216
  }
7520
7217
  };
7521
- const ApiManagementUserUpdatedEventData = {
7218
+ export const ApiManagementUserUpdatedEventData = {
7522
7219
  type: {
7523
7220
  name: "Composite",
7524
7221
  className: "ApiManagementUserUpdatedEventData",
@@ -7533,7 +7230,7 @@ const ApiManagementUserUpdatedEventData = {
7533
7230
  }
7534
7231
  }
7535
7232
  };
7536
- const ApiManagementUserDeletedEventData = {
7233
+ export const ApiManagementUserDeletedEventData = {
7537
7234
  type: {
7538
7235
  name: "Composite",
7539
7236
  className: "ApiManagementUserDeletedEventData",
@@ -7548,7 +7245,7 @@ const ApiManagementUserDeletedEventData = {
7548
7245
  }
7549
7246
  }
7550
7247
  };
7551
- const ApiManagementSubscriptionCreatedEventData = {
7248
+ export const ApiManagementSubscriptionCreatedEventData = {
7552
7249
  type: {
7553
7250
  name: "Composite",
7554
7251
  className: "ApiManagementSubscriptionCreatedEventData",
@@ -7563,7 +7260,7 @@ const ApiManagementSubscriptionCreatedEventData = {
7563
7260
  }
7564
7261
  }
7565
7262
  };
7566
- const ApiManagementSubscriptionUpdatedEventData = {
7263
+ export const ApiManagementSubscriptionUpdatedEventData = {
7567
7264
  type: {
7568
7265
  name: "Composite",
7569
7266
  className: "ApiManagementSubscriptionUpdatedEventData",
@@ -7578,7 +7275,7 @@ const ApiManagementSubscriptionUpdatedEventData = {
7578
7275
  }
7579
7276
  }
7580
7277
  };
7581
- const ApiManagementSubscriptionDeletedEventData = {
7278
+ export const ApiManagementSubscriptionDeletedEventData = {
7582
7279
  type: {
7583
7280
  name: "Composite",
7584
7281
  className: "ApiManagementSubscriptionDeletedEventData",
@@ -7593,7 +7290,7 @@ const ApiManagementSubscriptionDeletedEventData = {
7593
7290
  }
7594
7291
  }
7595
7292
  };
7596
- const ApiManagementProductCreatedEventData = {
7293
+ export const ApiManagementProductCreatedEventData = {
7597
7294
  type: {
7598
7295
  name: "Composite",
7599
7296
  className: "ApiManagementProductCreatedEventData",
@@ -7608,7 +7305,7 @@ const ApiManagementProductCreatedEventData = {
7608
7305
  }
7609
7306
  }
7610
7307
  };
7611
- const ApiManagementProductUpdatedEventData = {
7308
+ export const ApiManagementProductUpdatedEventData = {
7612
7309
  type: {
7613
7310
  name: "Composite",
7614
7311
  className: "ApiManagementProductUpdatedEventData",
@@ -7623,7 +7320,7 @@ const ApiManagementProductUpdatedEventData = {
7623
7320
  }
7624
7321
  }
7625
7322
  };
7626
- const ApiManagementProductDeletedEventData = {
7323
+ export const ApiManagementProductDeletedEventData = {
7627
7324
  type: {
7628
7325
  name: "Composite",
7629
7326
  className: "ApiManagementProductDeletedEventData",
@@ -7638,7 +7335,7 @@ const ApiManagementProductDeletedEventData = {
7638
7335
  }
7639
7336
  }
7640
7337
  };
7641
- const ApiManagementApiCreatedEventData = {
7338
+ export const ApiManagementApiCreatedEventData = {
7642
7339
  type: {
7643
7340
  name: "Composite",
7644
7341
  className: "ApiManagementApiCreatedEventData",
@@ -7653,7 +7350,7 @@ const ApiManagementApiCreatedEventData = {
7653
7350
  }
7654
7351
  }
7655
7352
  };
7656
- const ApiManagementApiUpdatedEventData = {
7353
+ export const ApiManagementApiUpdatedEventData = {
7657
7354
  type: {
7658
7355
  name: "Composite",
7659
7356
  className: "ApiManagementApiUpdatedEventData",
@@ -7668,7 +7365,7 @@ const ApiManagementApiUpdatedEventData = {
7668
7365
  }
7669
7366
  }
7670
7367
  };
7671
- const ApiManagementApiDeletedEventData = {
7368
+ export const ApiManagementApiDeletedEventData = {
7672
7369
  type: {
7673
7370
  name: "Composite",
7674
7371
  className: "ApiManagementApiDeletedEventData",
@@ -7683,7 +7380,7 @@ const ApiManagementApiDeletedEventData = {
7683
7380
  }
7684
7381
  }
7685
7382
  };
7686
- const ApiManagementApiReleaseCreatedEventData = {
7383
+ export const ApiManagementApiReleaseCreatedEventData = {
7687
7384
  type: {
7688
7385
  name: "Composite",
7689
7386
  className: "ApiManagementApiReleaseCreatedEventData",
@@ -7698,7 +7395,7 @@ const ApiManagementApiReleaseCreatedEventData = {
7698
7395
  }
7699
7396
  }
7700
7397
  };
7701
- const ApiManagementApiReleaseUpdatedEventData = {
7398
+ export const ApiManagementApiReleaseUpdatedEventData = {
7702
7399
  type: {
7703
7400
  name: "Composite",
7704
7401
  className: "ApiManagementApiReleaseUpdatedEventData",
@@ -7713,7 +7410,7 @@ const ApiManagementApiReleaseUpdatedEventData = {
7713
7410
  }
7714
7411
  }
7715
7412
  };
7716
- const ApiManagementApiReleaseDeletedEventData = {
7413
+ export const ApiManagementApiReleaseDeletedEventData = {
7717
7414
  type: {
7718
7415
  name: "Composite",
7719
7416
  className: "ApiManagementApiReleaseDeletedEventData",
@@ -7728,7 +7425,7 @@ const ApiManagementApiReleaseDeletedEventData = {
7728
7425
  }
7729
7426
  }
7730
7427
  };
7731
- const ApiManagementGatewayCreatedEventData = {
7428
+ export const ApiManagementGatewayCreatedEventData = {
7732
7429
  type: {
7733
7430
  name: "Composite",
7734
7431
  className: "ApiManagementGatewayCreatedEventData",
@@ -7743,7 +7440,7 @@ const ApiManagementGatewayCreatedEventData = {
7743
7440
  }
7744
7441
  }
7745
7442
  };
7746
- const ApiManagementGatewayUpdatedEventData = {
7443
+ export const ApiManagementGatewayUpdatedEventData = {
7747
7444
  type: {
7748
7445
  name: "Composite",
7749
7446
  className: "ApiManagementGatewayUpdatedEventData",
@@ -7758,7 +7455,7 @@ const ApiManagementGatewayUpdatedEventData = {
7758
7455
  }
7759
7456
  }
7760
7457
  };
7761
- const ApiManagementGatewayDeletedEventData = {
7458
+ export const ApiManagementGatewayDeletedEventData = {
7762
7459
  type: {
7763
7460
  name: "Composite",
7764
7461
  className: "ApiManagementGatewayDeletedEventData",
@@ -7773,7 +7470,7 @@ const ApiManagementGatewayDeletedEventData = {
7773
7470
  }
7774
7471
  }
7775
7472
  };
7776
- const ApiManagementGatewayHostnameConfigurationCreatedEventData = {
7473
+ export const ApiManagementGatewayHostnameConfigurationCreatedEventData = {
7777
7474
  type: {
7778
7475
  name: "Composite",
7779
7476
  className: "ApiManagementGatewayHostnameConfigurationCreatedEventData",
@@ -7788,7 +7485,7 @@ const ApiManagementGatewayHostnameConfigurationCreatedEventData = {
7788
7485
  }
7789
7486
  }
7790
7487
  };
7791
- const ApiManagementGatewayHostnameConfigurationUpdatedEventData = {
7488
+ export const ApiManagementGatewayHostnameConfigurationUpdatedEventData = {
7792
7489
  type: {
7793
7490
  name: "Composite",
7794
7491
  className: "ApiManagementGatewayHostnameConfigurationUpdatedEventData",
@@ -7803,7 +7500,7 @@ const ApiManagementGatewayHostnameConfigurationUpdatedEventData = {
7803
7500
  }
7804
7501
  }
7805
7502
  };
7806
- const ApiManagementGatewayHostnameConfigurationDeletedEventData = {
7503
+ export const ApiManagementGatewayHostnameConfigurationDeletedEventData = {
7807
7504
  type: {
7808
7505
  name: "Composite",
7809
7506
  className: "ApiManagementGatewayHostnameConfigurationDeletedEventData",
@@ -7818,7 +7515,7 @@ const ApiManagementGatewayHostnameConfigurationDeletedEventData = {
7818
7515
  }
7819
7516
  }
7820
7517
  };
7821
- const ApiManagementGatewayCertificateAuthorityCreatedEventData = {
7518
+ export const ApiManagementGatewayCertificateAuthorityCreatedEventData = {
7822
7519
  type: {
7823
7520
  name: "Composite",
7824
7521
  className: "ApiManagementGatewayCertificateAuthorityCreatedEventData",
@@ -7833,7 +7530,7 @@ const ApiManagementGatewayCertificateAuthorityCreatedEventData = {
7833
7530
  }
7834
7531
  }
7835
7532
  };
7836
- const ApiManagementGatewayCertificateAuthorityUpdatedEventData = {
7533
+ export const ApiManagementGatewayCertificateAuthorityUpdatedEventData = {
7837
7534
  type: {
7838
7535
  name: "Composite",
7839
7536
  className: "ApiManagementGatewayCertificateAuthorityUpdatedEventData",
@@ -7848,7 +7545,7 @@ const ApiManagementGatewayCertificateAuthorityUpdatedEventData = {
7848
7545
  }
7849
7546
  }
7850
7547
  };
7851
- const ApiManagementGatewayCertificateAuthorityDeletedEventData = {
7548
+ export const ApiManagementGatewayCertificateAuthorityDeletedEventData = {
7852
7549
  type: {
7853
7550
  name: "Composite",
7854
7551
  className: "ApiManagementGatewayCertificateAuthorityDeletedEventData",
@@ -7863,7 +7560,7 @@ const ApiManagementGatewayCertificateAuthorityDeletedEventData = {
7863
7560
  }
7864
7561
  }
7865
7562
  };
7866
- const ApiManagementGatewayApiAddedEventData = {
7563
+ export const ApiManagementGatewayApiAddedEventData = {
7867
7564
  type: {
7868
7565
  name: "Composite",
7869
7566
  className: "ApiManagementGatewayApiAddedEventData",
@@ -7878,7 +7575,7 @@ const ApiManagementGatewayApiAddedEventData = {
7878
7575
  }
7879
7576
  }
7880
7577
  };
7881
- const ApiManagementGatewayApiRemovedEventData = {
7578
+ export const ApiManagementGatewayApiRemovedEventData = {
7882
7579
  type: {
7883
7580
  name: "Composite",
7884
7581
  className: "ApiManagementGatewayApiRemovedEventData",
@@ -7893,7 +7590,7 @@ const ApiManagementGatewayApiRemovedEventData = {
7893
7590
  }
7894
7591
  }
7895
7592
  };
7896
- const HealthcareFhirResourceCreatedEventData = {
7593
+ export const HealthcareFhirResourceCreatedEventData = {
7897
7594
  type: {
7898
7595
  name: "Composite",
7899
7596
  className: "HealthcareFhirResourceCreatedEventData",
@@ -7929,7 +7626,7 @@ const HealthcareFhirResourceCreatedEventData = {
7929
7626
  }
7930
7627
  }
7931
7628
  };
7932
- const HealthcareFhirResourceUpdatedEventData = {
7629
+ export const HealthcareFhirResourceUpdatedEventData = {
7933
7630
  type: {
7934
7631
  name: "Composite",
7935
7632
  className: "HealthcareFhirResourceUpdatedEventData",
@@ -7965,7 +7662,7 @@ const HealthcareFhirResourceUpdatedEventData = {
7965
7662
  }
7966
7663
  }
7967
7664
  };
7968
- const HealthcareFhirResourceDeletedEventData = {
7665
+ export const HealthcareFhirResourceDeletedEventData = {
7969
7666
  type: {
7970
7667
  name: "Composite",
7971
7668
  className: "HealthcareFhirResourceDeletedEventData",
@@ -8001,7 +7698,7 @@ const HealthcareFhirResourceDeletedEventData = {
8001
7698
  }
8002
7699
  }
8003
7700
  };
8004
- const HealthcareDicomImageCreatedEventData = {
7701
+ export const HealthcareDicomImageCreatedEventData = {
8005
7702
  type: {
8006
7703
  name: "Composite",
8007
7704
  className: "HealthcareDicomImageCreatedEventData",
@@ -8051,7 +7748,7 @@ const HealthcareDicomImageCreatedEventData = {
8051
7748
  }
8052
7749
  }
8053
7750
  };
8054
- const HealthcareDicomImageUpdatedEventData = {
7751
+ export const HealthcareDicomImageUpdatedEventData = {
8055
7752
  type: {
8056
7753
  name: "Composite",
8057
7754
  className: "HealthcareDicomImageUpdatedEventData",
@@ -8101,7 +7798,7 @@ const HealthcareDicomImageUpdatedEventData = {
8101
7798
  }
8102
7799
  }
8103
7800
  };
8104
- const HealthcareDicomImageDeletedEventData = {
7801
+ export const HealthcareDicomImageDeletedEventData = {
8105
7802
  type: {
8106
7803
  name: "Composite",
8107
7804
  className: "HealthcareDicomImageDeletedEventData",
@@ -8151,7 +7848,7 @@ const HealthcareDicomImageDeletedEventData = {
8151
7848
  }
8152
7849
  }
8153
7850
  };
8154
- const ResourceNotificationsResourceUpdatedDetails = {
7851
+ export const ResourceNotificationsResourceUpdatedDetails = {
8155
7852
  type: {
8156
7853
  name: "Composite",
8157
7854
  className: "ResourceNotificationsResourceUpdatedDetails",
@@ -8203,7 +7900,7 @@ const ResourceNotificationsResourceUpdatedDetails = {
8203
7900
  }
8204
7901
  }
8205
7902
  };
8206
- const ResourceNotificationsOperationalDetails = {
7903
+ export const ResourceNotificationsOperationalDetails = {
8207
7904
  type: {
8208
7905
  name: "Composite",
8209
7906
  className: "ResourceNotificationsOperationalDetails",
@@ -8218,7 +7915,7 @@ const ResourceNotificationsOperationalDetails = {
8218
7915
  }
8219
7916
  }
8220
7917
  };
8221
- const ResourceNotificationsResourceUpdatedEventData = {
7918
+ export const ResourceNotificationsResourceUpdatedEventData = {
8222
7919
  type: {
8223
7920
  name: "Composite",
8224
7921
  className: "ResourceNotificationsResourceUpdatedEventData",
@@ -8247,7 +7944,7 @@ const ResourceNotificationsResourceUpdatedEventData = {
8247
7944
  }
8248
7945
  }
8249
7946
  };
8250
- const ResourceNotificationsResourceDeletedDetails = {
7947
+ export const ResourceNotificationsResourceDeletedDetails = {
8251
7948
  type: {
8252
7949
  name: "Composite",
8253
7950
  className: "ResourceNotificationsResourceDeletedDetails",
@@ -8276,7 +7973,7 @@ const ResourceNotificationsResourceDeletedDetails = {
8276
7973
  }
8277
7974
  }
8278
7975
  };
8279
- const ResourceNotificationsResourceDeletedEventData = {
7976
+ export const ResourceNotificationsResourceDeletedEventData = {
8280
7977
  type: {
8281
7978
  name: "Composite",
8282
7979
  className: "ResourceNotificationsResourceDeletedEventData",
@@ -8298,7 +7995,7 @@ const ResourceNotificationsResourceDeletedEventData = {
8298
7995
  }
8299
7996
  }
8300
7997
  };
8301
- const AvsPrivateCloudEventData = {
7998
+ export const AvsPrivateCloudEventData = {
8302
7999
  type: {
8303
8000
  name: "Composite",
8304
8001
  className: "AvsPrivateCloudEventData",
@@ -8313,7 +8010,7 @@ const AvsPrivateCloudEventData = {
8313
8010
  }
8314
8011
  }
8315
8012
  };
8316
- const AvsClusterEventData = {
8013
+ export const AvsClusterEventData = {
8317
8014
  type: {
8318
8015
  name: "Composite",
8319
8016
  className: "AvsClusterEventData",
@@ -8364,7 +8061,7 @@ const AvsClusterEventData = {
8364
8061
  }
8365
8062
  }
8366
8063
  };
8367
- const AvsScriptExecutionEventData = {
8064
+ export const AvsScriptExecutionEventData = {
8368
8065
  type: {
8369
8066
  name: "Composite",
8370
8067
  className: "AvsScriptExecutionEventData",
@@ -8398,7 +8095,7 @@ const AvsScriptExecutionEventData = {
8398
8095
  }
8399
8096
  }
8400
8097
  };
8401
- const ApiCenterApiDefinitionAddedEventData = {
8098
+ export const ApiCenterApiDefinitionAddedEventData = {
8402
8099
  type: {
8403
8100
  name: "Composite",
8404
8101
  className: "ApiCenterApiDefinitionAddedEventData",
@@ -8427,7 +8124,7 @@ const ApiCenterApiDefinitionAddedEventData = {
8427
8124
  }
8428
8125
  }
8429
8126
  };
8430
- const ApiCenterApiSpecification = {
8127
+ export const ApiCenterApiSpecification = {
8431
8128
  type: {
8432
8129
  name: "Composite",
8433
8130
  className: "ApiCenterApiSpecification",
@@ -8449,7 +8146,7 @@ const ApiCenterApiSpecification = {
8449
8146
  }
8450
8147
  }
8451
8148
  };
8452
- const ApiCenterApiDefinitionUpdatedEventData = {
8149
+ export const ApiCenterApiDefinitionUpdatedEventData = {
8453
8150
  type: {
8454
8151
  name: "Composite",
8455
8152
  className: "ApiCenterApiDefinitionUpdatedEventData",
@@ -8478,7 +8175,7 @@ const ApiCenterApiDefinitionUpdatedEventData = {
8478
8175
  }
8479
8176
  }
8480
8177
  };
8481
- const EventGridMqttClientCreatedOrUpdatedEventData = {
8178
+ export const EventGridMqttClientCreatedOrUpdatedEventData = {
8482
8179
  type: {
8483
8180
  name: "Composite",
8484
8181
  className: "EventGridMqttClientCreatedOrUpdatedEventData",
@@ -8510,14 +8207,14 @@ const EventGridMqttClientCreatedOrUpdatedEventData = {
8510
8207
  } })
8511
8208
  }
8512
8209
  };
8513
- const EventGridMqttClientDeletedEventData = {
8210
+ export const EventGridMqttClientDeletedEventData = {
8514
8211
  type: {
8515
8212
  name: "Composite",
8516
8213
  className: "EventGridMqttClientDeletedEventData",
8517
8214
  modelProperties: Object.assign({}, EventGridMqttClientEventData.type.modelProperties)
8518
8215
  }
8519
8216
  };
8520
- const EventGridMqttClientSessionConnectedEventData = {
8217
+ export const EventGridMqttClientSessionConnectedEventData = {
8521
8218
  type: {
8522
8219
  name: "Composite",
8523
8220
  className: "EventGridMqttClientSessionConnectedEventData",
@@ -8536,7 +8233,7 @@ const EventGridMqttClientSessionConnectedEventData = {
8536
8233
  } })
8537
8234
  }
8538
8235
  };
8539
- const EventGridMqttClientSessionDisconnectedEventData = {
8236
+ export const EventGridMqttClientSessionDisconnectedEventData = {
8540
8237
  type: {
8541
8238
  name: "Composite",
8542
8239
  className: "EventGridMqttClientSessionDisconnectedEventData",
@@ -8561,91 +8258,91 @@ const EventGridMqttClientSessionDisconnectedEventData = {
8561
8258
  } })
8562
8259
  }
8563
8260
  };
8564
- const IotHubDeviceCreatedEventData = {
8261
+ export const IotHubDeviceCreatedEventData = {
8565
8262
  type: {
8566
8263
  name: "Composite",
8567
8264
  className: "IotHubDeviceCreatedEventData",
8568
8265
  modelProperties: Object.assign({}, DeviceLifeCycleEvent.type.modelProperties)
8569
8266
  }
8570
8267
  };
8571
- const IotHubDeviceDeletedEventData = {
8268
+ export const IotHubDeviceDeletedEventData = {
8572
8269
  type: {
8573
8270
  name: "Composite",
8574
8271
  className: "IotHubDeviceDeletedEventData",
8575
8272
  modelProperties: Object.assign({}, DeviceLifeCycleEvent.type.modelProperties)
8576
8273
  }
8577
8274
  };
8578
- const IotHubDeviceConnectedEventData = {
8275
+ export const IotHubDeviceConnectedEventData = {
8579
8276
  type: {
8580
8277
  name: "Composite",
8581
8278
  className: "IotHubDeviceConnectedEventData",
8582
8279
  modelProperties: Object.assign({}, DeviceConnectionStateEvent.type.modelProperties)
8583
8280
  }
8584
8281
  };
8585
- const IotHubDeviceDisconnectedEventData = {
8282
+ export const IotHubDeviceDisconnectedEventData = {
8586
8283
  type: {
8587
8284
  name: "Composite",
8588
8285
  className: "IotHubDeviceDisconnectedEventData",
8589
8286
  modelProperties: Object.assign({}, DeviceConnectionStateEvent.type.modelProperties)
8590
8287
  }
8591
8288
  };
8592
- const IotHubDeviceTelemetryEventData = {
8289
+ export const IotHubDeviceTelemetryEventData = {
8593
8290
  type: {
8594
8291
  name: "Composite",
8595
8292
  className: "IotHubDeviceTelemetryEventData",
8596
8293
  modelProperties: Object.assign({}, DeviceTelemetryEvent.type.modelProperties)
8597
8294
  }
8598
8295
  };
8599
- const ContainerRegistryImagePushedEventData = {
8296
+ export const ContainerRegistryImagePushedEventData = {
8600
8297
  type: {
8601
8298
  name: "Composite",
8602
8299
  className: "ContainerRegistryImagePushedEventData",
8603
8300
  modelProperties: Object.assign({}, ContainerRegistryEventData.type.modelProperties)
8604
8301
  }
8605
8302
  };
8606
- const ContainerRegistryImageDeletedEventData = {
8303
+ export const ContainerRegistryImageDeletedEventData = {
8607
8304
  type: {
8608
8305
  name: "Composite",
8609
8306
  className: "ContainerRegistryImageDeletedEventData",
8610
8307
  modelProperties: Object.assign({}, ContainerRegistryEventData.type.modelProperties)
8611
8308
  }
8612
8309
  };
8613
- const ContainerRegistryChartPushedEventData = {
8310
+ export const ContainerRegistryChartPushedEventData = {
8614
8311
  type: {
8615
8312
  name: "Composite",
8616
8313
  className: "ContainerRegistryChartPushedEventData",
8617
8314
  modelProperties: Object.assign({}, ContainerRegistryArtifactEventData.type.modelProperties)
8618
8315
  }
8619
8316
  };
8620
- const ContainerRegistryChartDeletedEventData = {
8317
+ export const ContainerRegistryChartDeletedEventData = {
8621
8318
  type: {
8622
8319
  name: "Composite",
8623
8320
  className: "ContainerRegistryChartDeletedEventData",
8624
8321
  modelProperties: Object.assign({}, ContainerRegistryArtifactEventData.type.modelProperties)
8625
8322
  }
8626
8323
  };
8627
- const MediaJobScheduledEventData = {
8324
+ export const MediaJobScheduledEventData = {
8628
8325
  type: {
8629
8326
  name: "Composite",
8630
8327
  className: "MediaJobScheduledEventData",
8631
8328
  modelProperties: Object.assign({}, MediaJobStateChangeEventData.type.modelProperties)
8632
8329
  }
8633
8330
  };
8634
- const MediaJobProcessingEventData = {
8331
+ export const MediaJobProcessingEventData = {
8635
8332
  type: {
8636
8333
  name: "Composite",
8637
8334
  className: "MediaJobProcessingEventData",
8638
8335
  modelProperties: Object.assign({}, MediaJobStateChangeEventData.type.modelProperties)
8639
8336
  }
8640
8337
  };
8641
- const MediaJobCancelingEventData = {
8338
+ export const MediaJobCancelingEventData = {
8642
8339
  type: {
8643
8340
  name: "Composite",
8644
8341
  className: "MediaJobCancelingEventData",
8645
8342
  modelProperties: Object.assign({}, MediaJobStateChangeEventData.type.modelProperties)
8646
8343
  }
8647
8344
  };
8648
- const MediaJobFinishedEventData = {
8345
+ export const MediaJobFinishedEventData = {
8649
8346
  type: {
8650
8347
  name: "Composite",
8651
8348
  className: "MediaJobFinishedEventData",
@@ -8664,7 +8361,7 @@ const MediaJobFinishedEventData = {
8664
8361
  } })
8665
8362
  }
8666
8363
  };
8667
- const MediaJobCanceledEventData = {
8364
+ export const MediaJobCanceledEventData = {
8668
8365
  type: {
8669
8366
  name: "Composite",
8670
8367
  className: "MediaJobCanceledEventData",
@@ -8683,7 +8380,7 @@ const MediaJobCanceledEventData = {
8683
8380
  } })
8684
8381
  }
8685
8382
  };
8686
- const MediaJobErroredEventData = {
8383
+ export const MediaJobErroredEventData = {
8687
8384
  type: {
8688
8385
  name: "Composite",
8689
8386
  className: "MediaJobErroredEventData",
@@ -8702,7 +8399,7 @@ const MediaJobErroredEventData = {
8702
8399
  } })
8703
8400
  }
8704
8401
  };
8705
- const MediaJobOutputAsset = {
8402
+ export const MediaJobOutputAsset = {
8706
8403
  serializedName: "#Microsoft.Media.JobOutputAsset",
8707
8404
  type: {
8708
8405
  name: "Composite",
@@ -8718,84 +8415,84 @@ const MediaJobOutputAsset = {
8718
8415
  } })
8719
8416
  }
8720
8417
  };
8721
- const MediaJobOutputCanceledEventData = {
8418
+ export const MediaJobOutputCanceledEventData = {
8722
8419
  type: {
8723
8420
  name: "Composite",
8724
8421
  className: "MediaJobOutputCanceledEventData",
8725
8422
  modelProperties: Object.assign({}, MediaJobOutputStateChangeEventData.type.modelProperties)
8726
8423
  }
8727
8424
  };
8728
- const MediaJobOutputCancelingEventData = {
8425
+ export const MediaJobOutputCancelingEventData = {
8729
8426
  type: {
8730
8427
  name: "Composite",
8731
8428
  className: "MediaJobOutputCancelingEventData",
8732
8429
  modelProperties: Object.assign({}, MediaJobOutputStateChangeEventData.type.modelProperties)
8733
8430
  }
8734
8431
  };
8735
- const MediaJobOutputErroredEventData = {
8432
+ export const MediaJobOutputErroredEventData = {
8736
8433
  type: {
8737
8434
  name: "Composite",
8738
8435
  className: "MediaJobOutputErroredEventData",
8739
8436
  modelProperties: Object.assign({}, MediaJobOutputStateChangeEventData.type.modelProperties)
8740
8437
  }
8741
8438
  };
8742
- const MediaJobOutputFinishedEventData = {
8439
+ export const MediaJobOutputFinishedEventData = {
8743
8440
  type: {
8744
8441
  name: "Composite",
8745
8442
  className: "MediaJobOutputFinishedEventData",
8746
8443
  modelProperties: Object.assign({}, MediaJobOutputStateChangeEventData.type.modelProperties)
8747
8444
  }
8748
8445
  };
8749
- const MediaJobOutputProcessingEventData = {
8446
+ export const MediaJobOutputProcessingEventData = {
8750
8447
  type: {
8751
8448
  name: "Composite",
8752
8449
  className: "MediaJobOutputProcessingEventData",
8753
8450
  modelProperties: Object.assign({}, MediaJobOutputStateChangeEventData.type.modelProperties)
8754
8451
  }
8755
8452
  };
8756
- const MediaJobOutputScheduledEventData = {
8453
+ export const MediaJobOutputScheduledEventData = {
8757
8454
  type: {
8758
8455
  name: "Composite",
8759
8456
  className: "MediaJobOutputScheduledEventData",
8760
8457
  modelProperties: Object.assign({}, MediaJobOutputStateChangeEventData.type.modelProperties)
8761
8458
  }
8762
8459
  };
8763
- const MapsGeofenceEnteredEventData = {
8460
+ export const MapsGeofenceEnteredEventData = {
8764
8461
  type: {
8765
8462
  name: "Composite",
8766
8463
  className: "MapsGeofenceEnteredEventData",
8767
8464
  modelProperties: Object.assign({}, MapsGeofenceEvent.type.modelProperties)
8768
8465
  }
8769
8466
  };
8770
- const MapsGeofenceExitedEventData = {
8467
+ export const MapsGeofenceExitedEventData = {
8771
8468
  type: {
8772
8469
  name: "Composite",
8773
8470
  className: "MapsGeofenceExitedEventData",
8774
8471
  modelProperties: Object.assign({}, MapsGeofenceEvent.type.modelProperties)
8775
8472
  }
8776
8473
  };
8777
- const MapsGeofenceResultEventData = {
8474
+ export const MapsGeofenceResultEventData = {
8778
8475
  type: {
8779
8476
  name: "Composite",
8780
8477
  className: "MapsGeofenceResultEventData",
8781
8478
  modelProperties: Object.assign({}, MapsGeofenceEvent.type.modelProperties)
8782
8479
  }
8783
8480
  };
8784
- const AppConfigurationSnapshotCreatedEventData = {
8481
+ export const AppConfigurationSnapshotCreatedEventData = {
8785
8482
  type: {
8786
8483
  name: "Composite",
8787
8484
  className: "AppConfigurationSnapshotCreatedEventData",
8788
8485
  modelProperties: Object.assign({}, AppConfigurationSnapshotEventData.type.modelProperties)
8789
8486
  }
8790
8487
  };
8791
- const AppConfigurationSnapshotModifiedEventData = {
8488
+ export const AppConfigurationSnapshotModifiedEventData = {
8792
8489
  type: {
8793
8490
  name: "Composite",
8794
8491
  className: "AppConfigurationSnapshotModifiedEventData",
8795
8492
  modelProperties: Object.assign({}, AppConfigurationSnapshotEventData.type.modelProperties)
8796
8493
  }
8797
8494
  };
8798
- const AcsRouterJobEventData = {
8495
+ export const AcsRouterJobEventData = {
8799
8496
  type: {
8800
8497
  name: "Composite",
8801
8498
  className: "AcsRouterJobEventData",
@@ -8822,7 +8519,7 @@ const AcsRouterJobEventData = {
8822
8519
  } })
8823
8520
  }
8824
8521
  };
8825
- const AcsRouterWorkerEventData = {
8522
+ export const AcsRouterWorkerEventData = {
8826
8523
  type: {
8827
8524
  name: "Composite",
8828
8525
  className: "AcsRouterWorkerEventData",
@@ -8835,7 +8532,7 @@ const AcsRouterWorkerEventData = {
8835
8532
  } })
8836
8533
  }
8837
8534
  };
8838
- const AcsChatMessageEventBase = {
8535
+ export const AcsChatMessageEventBase = {
8839
8536
  type: {
8840
8537
  name: "Composite",
8841
8538
  className: "AcsChatMessageEventBase",
@@ -8878,7 +8575,7 @@ const AcsChatMessageEventBase = {
8878
8575
  } })
8879
8576
  }
8880
8577
  };
8881
- const AcsChatThreadEventBase = {
8578
+ export const AcsChatThreadEventBase = {
8882
8579
  type: {
8883
8580
  name: "Composite",
8884
8581
  className: "AcsChatThreadEventBase",
@@ -8897,7 +8594,7 @@ const AcsChatThreadEventBase = {
8897
8594
  } })
8898
8595
  }
8899
8596
  };
8900
- const AcsChatMessageEventInThreadBase = {
8597
+ export const AcsChatMessageEventInThreadBase = {
8901
8598
  type: {
8902
8599
  name: "Composite",
8903
8600
  className: "AcsChatMessageEventInThreadBase",
@@ -8940,7 +8637,7 @@ const AcsChatMessageEventInThreadBase = {
8940
8637
  } })
8941
8638
  }
8942
8639
  };
8943
- const AcsChatThreadEventInThreadBase = {
8640
+ export const AcsChatThreadEventInThreadBase = {
8944
8641
  type: {
8945
8642
  name: "Composite",
8946
8643
  className: "AcsChatThreadEventInThreadBase",
@@ -8959,7 +8656,7 @@ const AcsChatThreadEventInThreadBase = {
8959
8656
  } })
8960
8657
  }
8961
8658
  };
8962
- const AcsChatParticipantAddedToThreadEventData = {
8659
+ export const AcsChatParticipantAddedToThreadEventData = {
8963
8660
  type: {
8964
8661
  name: "Composite",
8965
8662
  className: "AcsChatParticipantAddedToThreadEventData",
@@ -8990,7 +8687,7 @@ const AcsChatParticipantAddedToThreadEventData = {
8990
8687
  } })
8991
8688
  }
8992
8689
  };
8993
- const AcsChatParticipantRemovedFromThreadEventData = {
8690
+ export const AcsChatParticipantRemovedFromThreadEventData = {
8994
8691
  type: {
8995
8692
  name: "Composite",
8996
8693
  className: "AcsChatParticipantRemovedFromThreadEventData",
@@ -9021,7 +8718,7 @@ const AcsChatParticipantRemovedFromThreadEventData = {
9021
8718
  } })
9022
8719
  }
9023
8720
  };
9024
- const AcsSmsDeliveryReportReceivedEventData = {
8721
+ export const AcsSmsDeliveryReportReceivedEventData = {
9025
8722
  type: {
9026
8723
  name: "Composite",
9027
8724
  className: "AcsSmsDeliveryReportReceivedEventData",
@@ -9064,7 +8761,7 @@ const AcsSmsDeliveryReportReceivedEventData = {
9064
8761
  } })
9065
8762
  }
9066
8763
  };
9067
- const AcsSmsReceivedEventData = {
8764
+ export const AcsSmsReceivedEventData = {
9068
8765
  type: {
9069
8766
  name: "Composite",
9070
8767
  className: "AcsSmsReceivedEventData",
@@ -9083,7 +8780,7 @@ const AcsSmsReceivedEventData = {
9083
8780
  } })
9084
8781
  }
9085
8782
  };
9086
- const AcsMessageReceivedEventData = {
8783
+ export const AcsMessageReceivedEventData = {
9087
8784
  type: {
9088
8785
  name: "Composite",
9089
8786
  className: "AcsMessageReceivedEventData",
@@ -9126,7 +8823,7 @@ const AcsMessageReceivedEventData = {
9126
8823
  } })
9127
8824
  }
9128
8825
  };
9129
- const AcsMessageDeliveryStatusUpdatedEventData = {
8826
+ export const AcsMessageDeliveryStatusUpdatedEventData = {
9130
8827
  type: {
9131
8828
  name: "Composite",
9132
8829
  className: "AcsMessageDeliveryStatusUpdatedEventData",
@@ -9151,84 +8848,84 @@ const AcsMessageDeliveryStatusUpdatedEventData = {
9151
8848
  } })
9152
8849
  }
9153
8850
  };
9154
- const ContainerServiceClusterSupportEndedEventData = {
8851
+ export const ContainerServiceClusterSupportEndedEventData = {
9155
8852
  type: {
9156
8853
  name: "Composite",
9157
8854
  className: "ContainerServiceClusterSupportEndedEventData",
9158
8855
  modelProperties: Object.assign({}, ContainerServiceClusterSupportEventData.type.modelProperties)
9159
8856
  }
9160
8857
  };
9161
- const ContainerServiceClusterSupportEndingEventData = {
8858
+ export const ContainerServiceClusterSupportEndingEventData = {
9162
8859
  type: {
9163
8860
  name: "Composite",
9164
8861
  className: "ContainerServiceClusterSupportEndingEventData",
9165
8862
  modelProperties: Object.assign({}, ContainerServiceClusterSupportEventData.type.modelProperties)
9166
8863
  }
9167
8864
  };
9168
- const ContainerServiceNodePoolRollingStartedEventData = {
8865
+ export const ContainerServiceNodePoolRollingStartedEventData = {
9169
8866
  type: {
9170
8867
  name: "Composite",
9171
8868
  className: "ContainerServiceNodePoolRollingStartedEventData",
9172
8869
  modelProperties: Object.assign({}, ContainerServiceNodePoolRollingEventData.type.modelProperties)
9173
8870
  }
9174
8871
  };
9175
- const ContainerServiceNodePoolRollingSucceededEventData = {
8872
+ export const ContainerServiceNodePoolRollingSucceededEventData = {
9176
8873
  type: {
9177
8874
  name: "Composite",
9178
8875
  className: "ContainerServiceNodePoolRollingSucceededEventData",
9179
8876
  modelProperties: Object.assign({}, ContainerServiceNodePoolRollingEventData.type.modelProperties)
9180
8877
  }
9181
8878
  };
9182
- const ContainerServiceNodePoolRollingFailedEventData = {
8879
+ export const ContainerServiceNodePoolRollingFailedEventData = {
9183
8880
  type: {
9184
8881
  name: "Composite",
9185
8882
  className: "ContainerServiceNodePoolRollingFailedEventData",
9186
8883
  modelProperties: Object.assign({}, ContainerServiceNodePoolRollingEventData.type.modelProperties)
9187
8884
  }
9188
8885
  };
9189
- const ResourceNotificationsHealthResourcesAvailabilityStatusChangedEventData = {
8886
+ export const ResourceNotificationsHealthResourcesAvailabilityStatusChangedEventData = {
9190
8887
  type: {
9191
8888
  name: "Composite",
9192
8889
  className: "ResourceNotificationsHealthResourcesAvailabilityStatusChangedEventData",
9193
8890
  modelProperties: Object.assign({}, ResourceNotificationsResourceUpdatedEventData.type.modelProperties)
9194
8891
  }
9195
8892
  };
9196
- const ResourceNotificationsHealthResourcesAnnotatedEventData = {
8893
+ export const ResourceNotificationsHealthResourcesAnnotatedEventData = {
9197
8894
  type: {
9198
8895
  name: "Composite",
9199
8896
  className: "ResourceNotificationsHealthResourcesAnnotatedEventData",
9200
8897
  modelProperties: Object.assign({}, ResourceNotificationsResourceUpdatedEventData.type.modelProperties)
9201
8898
  }
9202
8899
  };
9203
- const ResourceNotificationsResourceManagementCreatedOrUpdatedEventData = {
8900
+ export const ResourceNotificationsResourceManagementCreatedOrUpdatedEventData = {
9204
8901
  type: {
9205
8902
  name: "Composite",
9206
8903
  className: "ResourceNotificationsResourceManagementCreatedOrUpdatedEventData",
9207
8904
  modelProperties: Object.assign({}, ResourceNotificationsResourceUpdatedEventData.type.modelProperties)
9208
8905
  }
9209
8906
  };
9210
- const ResourceNotificationsResourceManagementDeletedEventData = {
8907
+ export const ResourceNotificationsResourceManagementDeletedEventData = {
9211
8908
  type: {
9212
8909
  name: "Composite",
9213
8910
  className: "ResourceNotificationsResourceManagementDeletedEventData",
9214
8911
  modelProperties: Object.assign({}, ResourceNotificationsResourceDeletedEventData.type.modelProperties)
9215
8912
  }
9216
8913
  };
9217
- const AvsPrivateCloudUpdatingEventData = {
8914
+ export const AvsPrivateCloudUpdatingEventData = {
9218
8915
  type: {
9219
8916
  name: "Composite",
9220
8917
  className: "AvsPrivateCloudUpdatingEventData",
9221
8918
  modelProperties: Object.assign({}, AvsPrivateCloudEventData.type.modelProperties)
9222
8919
  }
9223
8920
  };
9224
- const AvsPrivateCloudUpdatedEventData = {
8921
+ export const AvsPrivateCloudUpdatedEventData = {
9225
8922
  type: {
9226
8923
  name: "Composite",
9227
8924
  className: "AvsPrivateCloudUpdatedEventData",
9228
8925
  modelProperties: Object.assign({}, AvsPrivateCloudEventData.type.modelProperties)
9229
8926
  }
9230
8927
  };
9231
- const AvsPrivateCloudFailedEventData = {
8928
+ export const AvsPrivateCloudFailedEventData = {
9232
8929
  type: {
9233
8930
  name: "Composite",
9234
8931
  className: "AvsPrivateCloudFailedEventData",
@@ -9241,35 +8938,35 @@ const AvsPrivateCloudFailedEventData = {
9241
8938
  } })
9242
8939
  }
9243
8940
  };
9244
- const AvsClusterCreatedEventData = {
8941
+ export const AvsClusterCreatedEventData = {
9245
8942
  type: {
9246
8943
  name: "Composite",
9247
8944
  className: "AvsClusterCreatedEventData",
9248
8945
  modelProperties: Object.assign({}, AvsClusterEventData.type.modelProperties)
9249
8946
  }
9250
8947
  };
9251
- const AvsClusterDeletedEventData = {
8948
+ export const AvsClusterDeletedEventData = {
9252
8949
  type: {
9253
8950
  name: "Composite",
9254
8951
  className: "AvsClusterDeletedEventData",
9255
8952
  modelProperties: Object.assign({}, AvsClusterEventData.type.modelProperties)
9256
8953
  }
9257
8954
  };
9258
- const AvsClusterUpdatingEventData = {
8955
+ export const AvsClusterUpdatingEventData = {
9259
8956
  type: {
9260
8957
  name: "Composite",
9261
8958
  className: "AvsClusterUpdatingEventData",
9262
8959
  modelProperties: Object.assign({}, AvsClusterEventData.type.modelProperties)
9263
8960
  }
9264
8961
  };
9265
- const AvsClusterUpdatedEventData = {
8962
+ export const AvsClusterUpdatedEventData = {
9266
8963
  type: {
9267
8964
  name: "Composite",
9268
8965
  className: "AvsClusterUpdatedEventData",
9269
8966
  modelProperties: Object.assign({}, AvsClusterEventData.type.modelProperties)
9270
8967
  }
9271
8968
  };
9272
- const AvsClusterFailedEventData = {
8969
+ export const AvsClusterFailedEventData = {
9273
8970
  type: {
9274
8971
  name: "Composite",
9275
8972
  className: "AvsClusterFailedEventData",
@@ -9282,14 +8979,14 @@ const AvsClusterFailedEventData = {
9282
8979
  } })
9283
8980
  }
9284
8981
  };
9285
- const AvsScriptExecutionStartedEventData = {
8982
+ export const AvsScriptExecutionStartedEventData = {
9286
8983
  type: {
9287
8984
  name: "Composite",
9288
8985
  className: "AvsScriptExecutionStartedEventData",
9289
8986
  modelProperties: Object.assign({}, AvsScriptExecutionEventData.type.modelProperties)
9290
8987
  }
9291
8988
  };
9292
- const AvsScriptExecutionFinishedEventData = {
8989
+ export const AvsScriptExecutionFinishedEventData = {
9293
8990
  type: {
9294
8991
  name: "Composite",
9295
8992
  className: "AvsScriptExecutionFinishedEventData",
@@ -9303,14 +9000,14 @@ const AvsScriptExecutionFinishedEventData = {
9303
9000
  } })
9304
9001
  }
9305
9002
  };
9306
- const AvsScriptExecutionCancelledEventData = {
9003
+ export const AvsScriptExecutionCancelledEventData = {
9307
9004
  type: {
9308
9005
  name: "Composite",
9309
9006
  className: "AvsScriptExecutionCancelledEventData",
9310
9007
  modelProperties: Object.assign({}, AvsScriptExecutionEventData.type.modelProperties)
9311
9008
  }
9312
9009
  };
9313
- const AvsScriptExecutionFailedEventData = {
9010
+ export const AvsScriptExecutionFailedEventData = {
9314
9011
  type: {
9315
9012
  name: "Composite",
9316
9013
  className: "AvsScriptExecutionFailedEventData",
@@ -9323,7 +9020,7 @@ const AvsScriptExecutionFailedEventData = {
9323
9020
  } })
9324
9021
  }
9325
9022
  };
9326
- const AcsRouterJobCancelledEventData = {
9023
+ export const AcsRouterJobCancelledEventData = {
9327
9024
  type: {
9328
9025
  name: "Composite",
9329
9026
  className: "AcsRouterJobCancelledEventData",
@@ -9342,7 +9039,7 @@ const AcsRouterJobCancelledEventData = {
9342
9039
  } })
9343
9040
  }
9344
9041
  };
9345
- const AcsRouterJobClassificationFailedEventData = {
9042
+ export const AcsRouterJobClassificationFailedEventData = {
9346
9043
  type: {
9347
9044
  name: "Composite",
9348
9045
  className: "AcsRouterJobClassificationFailedEventData",
@@ -9367,7 +9064,7 @@ const AcsRouterJobClassificationFailedEventData = {
9367
9064
  } })
9368
9065
  }
9369
9066
  };
9370
- const AcsRouterJobClassifiedEventData = {
9067
+ export const AcsRouterJobClassifiedEventData = {
9371
9068
  type: {
9372
9069
  name: "Composite",
9373
9070
  className: "AcsRouterJobClassifiedEventData",
@@ -9404,7 +9101,7 @@ const AcsRouterJobClassifiedEventData = {
9404
9101
  } })
9405
9102
  }
9406
9103
  };
9407
- const AcsRouterJobClosedEventData = {
9104
+ export const AcsRouterJobClosedEventData = {
9408
9105
  type: {
9409
9106
  name: "Composite",
9410
9107
  className: "AcsRouterJobClosedEventData",
@@ -9429,7 +9126,7 @@ const AcsRouterJobClosedEventData = {
9429
9126
  } })
9430
9127
  }
9431
9128
  };
9432
- const AcsRouterJobCompletedEventData = {
9129
+ export const AcsRouterJobCompletedEventData = {
9433
9130
  type: {
9434
9131
  name: "Composite",
9435
9132
  className: "AcsRouterJobCompletedEventData",
@@ -9448,14 +9145,14 @@ const AcsRouterJobCompletedEventData = {
9448
9145
  } })
9449
9146
  }
9450
9147
  };
9451
- const AcsRouterJobDeletedEventData = {
9148
+ export const AcsRouterJobDeletedEventData = {
9452
9149
  type: {
9453
9150
  name: "Composite",
9454
9151
  className: "AcsRouterJobDeletedEventData",
9455
9152
  modelProperties: Object.assign({}, AcsRouterJobEventData.type.modelProperties)
9456
9153
  }
9457
9154
  };
9458
- const AcsRouterJobExceptionTriggeredEventData = {
9155
+ export const AcsRouterJobExceptionTriggeredEventData = {
9459
9156
  type: {
9460
9157
  name: "Composite",
9461
9158
  className: "AcsRouterJobExceptionTriggeredEventData",
@@ -9474,7 +9171,7 @@ const AcsRouterJobExceptionTriggeredEventData = {
9474
9171
  } })
9475
9172
  }
9476
9173
  };
9477
- const AcsRouterJobQueuedEventData = {
9174
+ export const AcsRouterJobQueuedEventData = {
9478
9175
  type: {
9479
9176
  name: "Composite",
9480
9177
  className: "AcsRouterJobQueuedEventData",
@@ -9511,7 +9208,7 @@ const AcsRouterJobQueuedEventData = {
9511
9208
  } })
9512
9209
  }
9513
9210
  };
9514
- const AcsRouterJobReceivedEventData = {
9211
+ export const AcsRouterJobReceivedEventData = {
9515
9212
  type: {
9516
9213
  name: "Composite",
9517
9214
  className: "AcsRouterJobReceivedEventData",
@@ -9555,7 +9252,7 @@ const AcsRouterJobReceivedEventData = {
9555
9252
  } })
9556
9253
  }
9557
9254
  };
9558
- const AcsRouterJobSchedulingFailedEventData = {
9255
+ export const AcsRouterJobSchedulingFailedEventData = {
9559
9256
  type: {
9560
9257
  name: "Composite",
9561
9258
  className: "AcsRouterJobSchedulingFailedEventData",
@@ -9604,7 +9301,7 @@ const AcsRouterJobSchedulingFailedEventData = {
9604
9301
  } })
9605
9302
  }
9606
9303
  };
9607
- const AcsRouterJobUnassignedEventData = {
9304
+ export const AcsRouterJobUnassignedEventData = {
9608
9305
  type: {
9609
9306
  name: "Composite",
9610
9307
  className: "AcsRouterJobUnassignedEventData",
@@ -9623,7 +9320,7 @@ const AcsRouterJobUnassignedEventData = {
9623
9320
  } })
9624
9321
  }
9625
9322
  };
9626
- const AcsRouterJobWaitingForActivationEventData = {
9323
+ export const AcsRouterJobWaitingForActivationEventData = {
9627
9324
  type: {
9628
9325
  name: "Composite",
9629
9326
  className: "AcsRouterJobWaitingForActivationEventData",
@@ -9668,7 +9365,7 @@ const AcsRouterJobWaitingForActivationEventData = {
9668
9365
  } })
9669
9366
  }
9670
9367
  };
9671
- const AcsRouterJobWorkerSelectorsExpiredEventData = {
9368
+ export const AcsRouterJobWorkerSelectorsExpiredEventData = {
9672
9369
  type: {
9673
9370
  name: "Composite",
9674
9371
  className: "AcsRouterJobWorkerSelectorsExpiredEventData",
@@ -9699,14 +9396,14 @@ const AcsRouterJobWorkerSelectorsExpiredEventData = {
9699
9396
  } })
9700
9397
  }
9701
9398
  };
9702
- const AcsRouterWorkerDeletedEventData = {
9399
+ export const AcsRouterWorkerDeletedEventData = {
9703
9400
  type: {
9704
9401
  name: "Composite",
9705
9402
  className: "AcsRouterWorkerDeletedEventData",
9706
9403
  modelProperties: Object.assign({}, AcsRouterWorkerEventData.type.modelProperties)
9707
9404
  }
9708
9405
  };
9709
- const AcsRouterWorkerOfferAcceptedEventData = {
9406
+ export const AcsRouterWorkerOfferAcceptedEventData = {
9710
9407
  type: {
9711
9408
  name: "Composite",
9712
9409
  className: "AcsRouterWorkerOfferAcceptedEventData",
@@ -9765,7 +9462,7 @@ const AcsRouterWorkerOfferAcceptedEventData = {
9765
9462
  } })
9766
9463
  }
9767
9464
  };
9768
- const AcsRouterWorkerOfferDeclinedEventData = {
9465
+ export const AcsRouterWorkerOfferDeclinedEventData = {
9769
9466
  type: {
9770
9467
  name: "Composite",
9771
9468
  className: "AcsRouterWorkerOfferDeclinedEventData",
@@ -9784,7 +9481,7 @@ const AcsRouterWorkerOfferDeclinedEventData = {
9784
9481
  } })
9785
9482
  }
9786
9483
  };
9787
- const AcsRouterWorkerOfferExpiredEventData = {
9484
+ export const AcsRouterWorkerOfferExpiredEventData = {
9788
9485
  type: {
9789
9486
  name: "Composite",
9790
9487
  className: "AcsRouterWorkerOfferExpiredEventData",
@@ -9803,7 +9500,7 @@ const AcsRouterWorkerOfferExpiredEventData = {
9803
9500
  } })
9804
9501
  }
9805
9502
  };
9806
- const AcsRouterWorkerOfferIssuedEventData = {
9503
+ export const AcsRouterWorkerOfferIssuedEventData = {
9807
9504
  type: {
9808
9505
  name: "Composite",
9809
9506
  className: "AcsRouterWorkerOfferIssuedEventData",
@@ -9868,7 +9565,7 @@ const AcsRouterWorkerOfferIssuedEventData = {
9868
9565
  } })
9869
9566
  }
9870
9567
  };
9871
- const AcsRouterWorkerOfferRevokedEventData = {
9568
+ export const AcsRouterWorkerOfferRevokedEventData = {
9872
9569
  type: {
9873
9570
  name: "Composite",
9874
9571
  className: "AcsRouterWorkerOfferRevokedEventData",
@@ -9887,7 +9584,7 @@ const AcsRouterWorkerOfferRevokedEventData = {
9887
9584
  } })
9888
9585
  }
9889
9586
  };
9890
- const AcsChatMessageReceivedEventData = {
9587
+ export const AcsChatMessageReceivedEventData = {
9891
9588
  type: {
9892
9589
  name: "Composite",
9893
9590
  className: "AcsChatMessageReceivedEventData",
@@ -9907,7 +9604,7 @@ const AcsChatMessageReceivedEventData = {
9907
9604
  } })
9908
9605
  }
9909
9606
  };
9910
- const AcsChatMessageEditedEventData = {
9607
+ export const AcsChatMessageEditedEventData = {
9911
9608
  type: {
9912
9609
  name: "Composite",
9913
9610
  className: "AcsChatMessageEditedEventData",
@@ -9933,7 +9630,7 @@ const AcsChatMessageEditedEventData = {
9933
9630
  } })
9934
9631
  }
9935
9632
  };
9936
- const AcsChatMessageDeletedEventData = {
9633
+ export const AcsChatMessageDeletedEventData = {
9937
9634
  type: {
9938
9635
  name: "Composite",
9939
9636
  className: "AcsChatMessageDeletedEventData",
@@ -9946,7 +9643,7 @@ const AcsChatMessageDeletedEventData = {
9946
9643
  } })
9947
9644
  }
9948
9645
  };
9949
- const AcsChatThreadCreatedWithUserEventData = {
9646
+ export const AcsChatThreadCreatedWithUserEventData = {
9950
9647
  type: {
9951
9648
  name: "Composite",
9952
9649
  className: "AcsChatThreadCreatedWithUserEventData",
@@ -9985,7 +9682,7 @@ const AcsChatThreadCreatedWithUserEventData = {
9985
9682
  } })
9986
9683
  }
9987
9684
  };
9988
- const AcsChatThreadWithUserDeletedEventData = {
9685
+ export const AcsChatThreadWithUserDeletedEventData = {
9989
9686
  type: {
9990
9687
  name: "Composite",
9991
9688
  className: "AcsChatThreadWithUserDeletedEventData",
@@ -10004,7 +9701,7 @@ const AcsChatThreadWithUserDeletedEventData = {
10004
9701
  } })
10005
9702
  }
10006
9703
  };
10007
- const AcsChatThreadPropertiesUpdatedPerUserEventData = {
9704
+ export const AcsChatThreadPropertiesUpdatedPerUserEventData = {
10008
9705
  type: {
10009
9706
  name: "Composite",
10010
9707
  className: "AcsChatThreadPropertiesUpdatedPerUserEventData",
@@ -10037,7 +9734,7 @@ const AcsChatThreadPropertiesUpdatedPerUserEventData = {
10037
9734
  } })
10038
9735
  }
10039
9736
  };
10040
- const AcsChatParticipantAddedToThreadWithUserEventData = {
9737
+ export const AcsChatParticipantAddedToThreadWithUserEventData = {
10041
9738
  type: {
10042
9739
  name: "Composite",
10043
9740
  className: "AcsChatParticipantAddedToThreadWithUserEventData",
@@ -10062,7 +9759,7 @@ const AcsChatParticipantAddedToThreadWithUserEventData = {
10062
9759
  } })
10063
9760
  }
10064
9761
  };
10065
- const AcsChatParticipantRemovedFromThreadWithUserEventData = {
9762
+ export const AcsChatParticipantRemovedFromThreadWithUserEventData = {
10066
9763
  type: {
10067
9764
  name: "Composite",
10068
9765
  className: "AcsChatParticipantRemovedFromThreadWithUserEventData",
@@ -10087,7 +9784,7 @@ const AcsChatParticipantRemovedFromThreadWithUserEventData = {
10087
9784
  } })
10088
9785
  }
10089
9786
  };
10090
- const AcsChatMessageReceivedInThreadEventData = {
9787
+ export const AcsChatMessageReceivedInThreadEventData = {
10091
9788
  type: {
10092
9789
  name: "Composite",
10093
9790
  className: "AcsChatMessageReceivedInThreadEventData",
@@ -10107,7 +9804,7 @@ const AcsChatMessageReceivedInThreadEventData = {
10107
9804
  } })
10108
9805
  }
10109
9806
  };
10110
- const AcsChatMessageEditedInThreadEventData = {
9807
+ export const AcsChatMessageEditedInThreadEventData = {
10111
9808
  type: {
10112
9809
  name: "Composite",
10113
9810
  className: "AcsChatMessageEditedInThreadEventData",
@@ -10133,7 +9830,7 @@ const AcsChatMessageEditedInThreadEventData = {
10133
9830
  } })
10134
9831
  }
10135
9832
  };
10136
- const AcsChatMessageDeletedInThreadEventData = {
9833
+ export const AcsChatMessageDeletedInThreadEventData = {
10137
9834
  type: {
10138
9835
  name: "Composite",
10139
9836
  className: "AcsChatMessageDeletedInThreadEventData",
@@ -10146,7 +9843,7 @@ const AcsChatMessageDeletedInThreadEventData = {
10146
9843
  } })
10147
9844
  }
10148
9845
  };
10149
- const AcsChatThreadCreatedEventData = {
9846
+ export const AcsChatThreadCreatedEventData = {
10150
9847
  type: {
10151
9848
  name: "Composite",
10152
9849
  className: "AcsChatThreadCreatedEventData",
@@ -10185,7 +9882,7 @@ const AcsChatThreadCreatedEventData = {
10185
9882
  } })
10186
9883
  }
10187
9884
  };
10188
- const AcsChatThreadDeletedEventData = {
9885
+ export const AcsChatThreadDeletedEventData = {
10189
9886
  type: {
10190
9887
  name: "Composite",
10191
9888
  className: "AcsChatThreadDeletedEventData",
@@ -10204,7 +9901,7 @@ const AcsChatThreadDeletedEventData = {
10204
9901
  } })
10205
9902
  }
10206
9903
  };
10207
- const AcsChatThreadPropertiesUpdatedEventData = {
9904
+ export const AcsChatThreadPropertiesUpdatedEventData = {
10208
9905
  type: {
10209
9906
  name: "Composite",
10210
9907
  className: "AcsChatThreadPropertiesUpdatedEventData",
@@ -10237,742 +9934,8 @@ const AcsChatThreadPropertiesUpdatedEventData = {
10237
9934
  } })
10238
9935
  }
10239
9936
  };
10240
- let discriminators = {
9937
+ export let discriminators = {
10241
9938
  MediaJobOutput: MediaJobOutput,
10242
9939
  "MediaJobOutput.#Microsoft.Media.JobOutputAsset": MediaJobOutputAsset
10243
9940
  };
10244
-
10245
- var Mappers = /*#__PURE__*/Object.freeze({
10246
- __proto__: null,
10247
- AcsChatEventBase: AcsChatEventBase,
10248
- AcsChatEventInThreadBase: AcsChatEventInThreadBase,
10249
- AcsChatMessageDeletedEventData: AcsChatMessageDeletedEventData,
10250
- AcsChatMessageDeletedInThreadEventData: AcsChatMessageDeletedInThreadEventData,
10251
- AcsChatMessageEditedEventData: AcsChatMessageEditedEventData,
10252
- AcsChatMessageEditedInThreadEventData: AcsChatMessageEditedInThreadEventData,
10253
- AcsChatMessageEventBase: AcsChatMessageEventBase,
10254
- AcsChatMessageEventInThreadBase: AcsChatMessageEventInThreadBase,
10255
- AcsChatMessageReceivedEventData: AcsChatMessageReceivedEventData,
10256
- AcsChatMessageReceivedInThreadEventData: AcsChatMessageReceivedInThreadEventData,
10257
- AcsChatParticipantAddedToThreadEventData: AcsChatParticipantAddedToThreadEventData,
10258
- AcsChatParticipantAddedToThreadWithUserEventData: AcsChatParticipantAddedToThreadWithUserEventData,
10259
- AcsChatParticipantRemovedFromThreadEventData: AcsChatParticipantRemovedFromThreadEventData,
10260
- AcsChatParticipantRemovedFromThreadWithUserEventData: AcsChatParticipantRemovedFromThreadWithUserEventData,
10261
- AcsChatThreadCreatedEventData: AcsChatThreadCreatedEventData,
10262
- AcsChatThreadCreatedWithUserEventData: AcsChatThreadCreatedWithUserEventData,
10263
- AcsChatThreadDeletedEventData: AcsChatThreadDeletedEventData,
10264
- AcsChatThreadEventBase: AcsChatThreadEventBase,
10265
- AcsChatThreadEventInThreadBase: AcsChatThreadEventInThreadBase,
10266
- AcsChatThreadParticipant: AcsChatThreadParticipant,
10267
- AcsChatThreadPropertiesUpdatedEventData: AcsChatThreadPropertiesUpdatedEventData,
10268
- AcsChatThreadPropertiesUpdatedPerUserEventData: AcsChatThreadPropertiesUpdatedPerUserEventData,
10269
- AcsChatThreadWithUserDeletedEventData: AcsChatThreadWithUserDeletedEventData,
10270
- AcsEmailDeliveryReportReceivedEventData: AcsEmailDeliveryReportReceivedEventData,
10271
- AcsEmailDeliveryReportStatusDetails: AcsEmailDeliveryReportStatusDetails,
10272
- AcsEmailEngagementTrackingReportReceivedEventData: AcsEmailEngagementTrackingReportReceivedEventData,
10273
- AcsIncomingCallCustomContext: AcsIncomingCallCustomContext,
10274
- AcsIncomingCallEventData: AcsIncomingCallEventData,
10275
- AcsMessageButtonContent: AcsMessageButtonContent,
10276
- AcsMessageChannelEventError: AcsMessageChannelEventError,
10277
- AcsMessageContext: AcsMessageContext,
10278
- AcsMessageDeliveryStatusUpdatedEventData: AcsMessageDeliveryStatusUpdatedEventData,
10279
- AcsMessageEventData: AcsMessageEventData,
10280
- AcsMessageInteractiveButtonReplyContent: AcsMessageInteractiveButtonReplyContent,
10281
- AcsMessageInteractiveContent: AcsMessageInteractiveContent,
10282
- AcsMessageInteractiveListReplyContent: AcsMessageInteractiveListReplyContent,
10283
- AcsMessageMediaContent: AcsMessageMediaContent,
10284
- AcsMessageReceivedEventData: AcsMessageReceivedEventData,
10285
- AcsRecordingChunkInfo: AcsRecordingChunkInfo,
10286
- AcsRecordingFileStatusUpdatedEventData: AcsRecordingFileStatusUpdatedEventData,
10287
- AcsRecordingStorageInfo: AcsRecordingStorageInfo,
10288
- AcsRouterChannelConfiguration: AcsRouterChannelConfiguration,
10289
- AcsRouterCommunicationError: AcsRouterCommunicationError,
10290
- AcsRouterEventData: AcsRouterEventData,
10291
- AcsRouterJobCancelledEventData: AcsRouterJobCancelledEventData,
10292
- AcsRouterJobClassificationFailedEventData: AcsRouterJobClassificationFailedEventData,
10293
- AcsRouterJobClassifiedEventData: AcsRouterJobClassifiedEventData,
10294
- AcsRouterJobClosedEventData: AcsRouterJobClosedEventData,
10295
- AcsRouterJobCompletedEventData: AcsRouterJobCompletedEventData,
10296
- AcsRouterJobDeletedEventData: AcsRouterJobDeletedEventData,
10297
- AcsRouterJobEventData: AcsRouterJobEventData,
10298
- AcsRouterJobExceptionTriggeredEventData: AcsRouterJobExceptionTriggeredEventData,
10299
- AcsRouterJobQueuedEventData: AcsRouterJobQueuedEventData,
10300
- AcsRouterJobReceivedEventData: AcsRouterJobReceivedEventData,
10301
- AcsRouterJobSchedulingFailedEventData: AcsRouterJobSchedulingFailedEventData,
10302
- AcsRouterJobUnassignedEventData: AcsRouterJobUnassignedEventData,
10303
- AcsRouterJobWaitingForActivationEventData: AcsRouterJobWaitingForActivationEventData,
10304
- AcsRouterJobWorkerSelectorsExpiredEventData: AcsRouterJobWorkerSelectorsExpiredEventData,
10305
- AcsRouterQueueDetails: AcsRouterQueueDetails,
10306
- AcsRouterWorkerDeletedEventData: AcsRouterWorkerDeletedEventData,
10307
- AcsRouterWorkerDeregisteredEventData: AcsRouterWorkerDeregisteredEventData,
10308
- AcsRouterWorkerEventData: AcsRouterWorkerEventData,
10309
- AcsRouterWorkerOfferAcceptedEventData: AcsRouterWorkerOfferAcceptedEventData,
10310
- AcsRouterWorkerOfferDeclinedEventData: AcsRouterWorkerOfferDeclinedEventData,
10311
- AcsRouterWorkerOfferExpiredEventData: AcsRouterWorkerOfferExpiredEventData,
10312
- AcsRouterWorkerOfferIssuedEventData: AcsRouterWorkerOfferIssuedEventData,
10313
- AcsRouterWorkerOfferRevokedEventData: AcsRouterWorkerOfferRevokedEventData,
10314
- AcsRouterWorkerRegisteredEventData: AcsRouterWorkerRegisteredEventData,
10315
- AcsRouterWorkerSelector: AcsRouterWorkerSelector,
10316
- AcsRouterWorkerUpdatedEventData: AcsRouterWorkerUpdatedEventData,
10317
- AcsSmsDeliveryAttempt: AcsSmsDeliveryAttempt,
10318
- AcsSmsDeliveryReportReceivedEventData: AcsSmsDeliveryReportReceivedEventData,
10319
- AcsSmsEventBase: AcsSmsEventBase,
10320
- AcsSmsReceivedEventData: AcsSmsReceivedEventData,
10321
- AcsUserDisconnectedEventData: AcsUserDisconnectedEventData,
10322
- ApiCenterApiDefinitionAddedEventData: ApiCenterApiDefinitionAddedEventData,
10323
- ApiCenterApiDefinitionUpdatedEventData: ApiCenterApiDefinitionUpdatedEventData,
10324
- ApiCenterApiSpecification: ApiCenterApiSpecification,
10325
- ApiManagementApiCreatedEventData: ApiManagementApiCreatedEventData,
10326
- ApiManagementApiDeletedEventData: ApiManagementApiDeletedEventData,
10327
- ApiManagementApiReleaseCreatedEventData: ApiManagementApiReleaseCreatedEventData,
10328
- ApiManagementApiReleaseDeletedEventData: ApiManagementApiReleaseDeletedEventData,
10329
- ApiManagementApiReleaseUpdatedEventData: ApiManagementApiReleaseUpdatedEventData,
10330
- ApiManagementApiUpdatedEventData: ApiManagementApiUpdatedEventData,
10331
- ApiManagementGatewayApiAddedEventData: ApiManagementGatewayApiAddedEventData,
10332
- ApiManagementGatewayApiRemovedEventData: ApiManagementGatewayApiRemovedEventData,
10333
- ApiManagementGatewayCertificateAuthorityCreatedEventData: ApiManagementGatewayCertificateAuthorityCreatedEventData,
10334
- ApiManagementGatewayCertificateAuthorityDeletedEventData: ApiManagementGatewayCertificateAuthorityDeletedEventData,
10335
- ApiManagementGatewayCertificateAuthorityUpdatedEventData: ApiManagementGatewayCertificateAuthorityUpdatedEventData,
10336
- ApiManagementGatewayCreatedEventData: ApiManagementGatewayCreatedEventData,
10337
- ApiManagementGatewayDeletedEventData: ApiManagementGatewayDeletedEventData,
10338
- ApiManagementGatewayHostnameConfigurationCreatedEventData: ApiManagementGatewayHostnameConfigurationCreatedEventData,
10339
- ApiManagementGatewayHostnameConfigurationDeletedEventData: ApiManagementGatewayHostnameConfigurationDeletedEventData,
10340
- ApiManagementGatewayHostnameConfigurationUpdatedEventData: ApiManagementGatewayHostnameConfigurationUpdatedEventData,
10341
- ApiManagementGatewayUpdatedEventData: ApiManagementGatewayUpdatedEventData,
10342
- ApiManagementProductCreatedEventData: ApiManagementProductCreatedEventData,
10343
- ApiManagementProductDeletedEventData: ApiManagementProductDeletedEventData,
10344
- ApiManagementProductUpdatedEventData: ApiManagementProductUpdatedEventData,
10345
- ApiManagementSubscriptionCreatedEventData: ApiManagementSubscriptionCreatedEventData,
10346
- ApiManagementSubscriptionDeletedEventData: ApiManagementSubscriptionDeletedEventData,
10347
- ApiManagementSubscriptionUpdatedEventData: ApiManagementSubscriptionUpdatedEventData,
10348
- ApiManagementUserCreatedEventData: ApiManagementUserCreatedEventData,
10349
- ApiManagementUserDeletedEventData: ApiManagementUserDeletedEventData,
10350
- ApiManagementUserUpdatedEventData: ApiManagementUserUpdatedEventData,
10351
- AppConfigurationKeyValueDeletedEventData: AppConfigurationKeyValueDeletedEventData,
10352
- AppConfigurationKeyValueModifiedEventData: AppConfigurationKeyValueModifiedEventData,
10353
- AppConfigurationSnapshotCreatedEventData: AppConfigurationSnapshotCreatedEventData,
10354
- AppConfigurationSnapshotEventData: AppConfigurationSnapshotEventData,
10355
- AppConfigurationSnapshotModifiedEventData: AppConfigurationSnapshotModifiedEventData,
10356
- AppEventTypeDetail: AppEventTypeDetail,
10357
- AppServicePlanEventTypeDetail: AppServicePlanEventTypeDetail,
10358
- AvsClusterCreatedEventData: AvsClusterCreatedEventData,
10359
- AvsClusterDeletedEventData: AvsClusterDeletedEventData,
10360
- AvsClusterEventData: AvsClusterEventData,
10361
- AvsClusterFailedEventData: AvsClusterFailedEventData,
10362
- AvsClusterUpdatedEventData: AvsClusterUpdatedEventData,
10363
- AvsClusterUpdatingEventData: AvsClusterUpdatingEventData,
10364
- AvsPrivateCloudEventData: AvsPrivateCloudEventData,
10365
- AvsPrivateCloudFailedEventData: AvsPrivateCloudFailedEventData,
10366
- AvsPrivateCloudUpdatedEventData: AvsPrivateCloudUpdatedEventData,
10367
- AvsPrivateCloudUpdatingEventData: AvsPrivateCloudUpdatingEventData,
10368
- AvsScriptExecutionCancelledEventData: AvsScriptExecutionCancelledEventData,
10369
- AvsScriptExecutionEventData: AvsScriptExecutionEventData,
10370
- AvsScriptExecutionFailedEventData: AvsScriptExecutionFailedEventData,
10371
- AvsScriptExecutionFinishedEventData: AvsScriptExecutionFinishedEventData,
10372
- AvsScriptExecutionStartedEventData: AvsScriptExecutionStartedEventData,
10373
- CloudEvent: CloudEvent,
10374
- CommunicationIdentifierModel: CommunicationIdentifierModel,
10375
- CommunicationUserIdentifierModel: CommunicationUserIdentifierModel,
10376
- ContainerRegistryArtifactEventData: ContainerRegistryArtifactEventData,
10377
- ContainerRegistryArtifactEventTarget: ContainerRegistryArtifactEventTarget,
10378
- ContainerRegistryChartDeletedEventData: ContainerRegistryChartDeletedEventData,
10379
- ContainerRegistryChartPushedEventData: ContainerRegistryChartPushedEventData,
10380
- ContainerRegistryEventActor: ContainerRegistryEventActor,
10381
- ContainerRegistryEventConnectedRegistry: ContainerRegistryEventConnectedRegistry,
10382
- ContainerRegistryEventData: ContainerRegistryEventData,
10383
- ContainerRegistryEventRequest: ContainerRegistryEventRequest,
10384
- ContainerRegistryEventSource: ContainerRegistryEventSource,
10385
- ContainerRegistryEventTarget: ContainerRegistryEventTarget,
10386
- ContainerRegistryImageDeletedEventData: ContainerRegistryImageDeletedEventData,
10387
- ContainerRegistryImagePushedEventData: ContainerRegistryImagePushedEventData,
10388
- ContainerServiceClusterSupportEndedEventData: ContainerServiceClusterSupportEndedEventData,
10389
- ContainerServiceClusterSupportEndingEventData: ContainerServiceClusterSupportEndingEventData,
10390
- ContainerServiceClusterSupportEventData: ContainerServiceClusterSupportEventData,
10391
- ContainerServiceNewKubernetesVersionAvailableEventData: ContainerServiceNewKubernetesVersionAvailableEventData,
10392
- ContainerServiceNodePoolRollingEventData: ContainerServiceNodePoolRollingEventData,
10393
- ContainerServiceNodePoolRollingFailedEventData: ContainerServiceNodePoolRollingFailedEventData,
10394
- ContainerServiceNodePoolRollingStartedEventData: ContainerServiceNodePoolRollingStartedEventData,
10395
- ContainerServiceNodePoolRollingSucceededEventData: ContainerServiceNodePoolRollingSucceededEventData,
10396
- DataBoxCopyCompletedEventData: DataBoxCopyCompletedEventData,
10397
- DataBoxCopyStartedEventData: DataBoxCopyStartedEventData,
10398
- DataBoxOrderCompletedEventData: DataBoxOrderCompletedEventData,
10399
- DeviceConnectionStateEvent: DeviceConnectionStateEvent,
10400
- DeviceConnectionStateEventInfo: DeviceConnectionStateEventInfo,
10401
- DeviceLifeCycleEvent: DeviceLifeCycleEvent,
10402
- DeviceTelemetryEvent: DeviceTelemetryEvent,
10403
- DeviceTwin: DeviceTwin,
10404
- DeviceTwinInfo: DeviceTwinInfo,
10405
- DeviceTwinInfoProperties: DeviceTwinInfoProperties,
10406
- DeviceTwinInfoX509Thumbprint: DeviceTwinInfoX509Thumbprint,
10407
- DeviceTwinMetadata: DeviceTwinMetadata,
10408
- EventGridEvent: EventGridEvent,
10409
- EventGridMqttClientCreatedOrUpdatedEventData: EventGridMqttClientCreatedOrUpdatedEventData,
10410
- EventGridMqttClientDeletedEventData: EventGridMqttClientDeletedEventData,
10411
- EventGridMqttClientEventData: EventGridMqttClientEventData,
10412
- EventGridMqttClientSessionConnectedEventData: EventGridMqttClientSessionConnectedEventData,
10413
- EventGridMqttClientSessionDisconnectedEventData: EventGridMqttClientSessionDisconnectedEventData,
10414
- EventHubCaptureFileCreatedEventData: EventHubCaptureFileCreatedEventData,
10415
- HealthcareDicomImageCreatedEventData: HealthcareDicomImageCreatedEventData,
10416
- HealthcareDicomImageDeletedEventData: HealthcareDicomImageDeletedEventData,
10417
- HealthcareDicomImageUpdatedEventData: HealthcareDicomImageUpdatedEventData,
10418
- HealthcareFhirResourceCreatedEventData: HealthcareFhirResourceCreatedEventData,
10419
- HealthcareFhirResourceDeletedEventData: HealthcareFhirResourceDeletedEventData,
10420
- HealthcareFhirResourceUpdatedEventData: HealthcareFhirResourceUpdatedEventData,
10421
- IotHubDeviceConnectedEventData: IotHubDeviceConnectedEventData,
10422
- IotHubDeviceCreatedEventData: IotHubDeviceCreatedEventData,
10423
- IotHubDeviceDeletedEventData: IotHubDeviceDeletedEventData,
10424
- IotHubDeviceDisconnectedEventData: IotHubDeviceDisconnectedEventData,
10425
- IotHubDeviceTelemetryEventData: IotHubDeviceTelemetryEventData,
10426
- KeyVaultAccessPolicyChangedEventData: KeyVaultAccessPolicyChangedEventData,
10427
- KeyVaultCertificateExpiredEventData: KeyVaultCertificateExpiredEventData,
10428
- KeyVaultCertificateNearExpiryEventData: KeyVaultCertificateNearExpiryEventData,
10429
- KeyVaultCertificateNewVersionCreatedEventData: KeyVaultCertificateNewVersionCreatedEventData,
10430
- KeyVaultKeyExpiredEventData: KeyVaultKeyExpiredEventData,
10431
- KeyVaultKeyNearExpiryEventData: KeyVaultKeyNearExpiryEventData,
10432
- KeyVaultKeyNewVersionCreatedEventData: KeyVaultKeyNewVersionCreatedEventData,
10433
- KeyVaultSecretExpiredEventData: KeyVaultSecretExpiredEventData,
10434
- KeyVaultSecretNearExpiryEventData: KeyVaultSecretNearExpiryEventData,
10435
- KeyVaultSecretNewVersionCreatedEventData: KeyVaultSecretNewVersionCreatedEventData,
10436
- MachineLearningServicesDatasetDriftDetectedEventData: MachineLearningServicesDatasetDriftDetectedEventData,
10437
- MachineLearningServicesModelDeployedEventData: MachineLearningServicesModelDeployedEventData,
10438
- MachineLearningServicesModelRegisteredEventData: MachineLearningServicesModelRegisteredEventData,
10439
- MachineLearningServicesRunCompletedEventData: MachineLearningServicesRunCompletedEventData,
10440
- MachineLearningServicesRunStatusChangedEventData: MachineLearningServicesRunStatusChangedEventData,
10441
- MapsGeofenceEnteredEventData: MapsGeofenceEnteredEventData,
10442
- MapsGeofenceEvent: MapsGeofenceEvent,
10443
- MapsGeofenceExitedEventData: MapsGeofenceExitedEventData,
10444
- MapsGeofenceGeometry: MapsGeofenceGeometry,
10445
- MapsGeofenceResultEventData: MapsGeofenceResultEventData,
10446
- MediaJobCanceledEventData: MediaJobCanceledEventData,
10447
- MediaJobCancelingEventData: MediaJobCancelingEventData,
10448
- MediaJobError: MediaJobError,
10449
- MediaJobErrorDetail: MediaJobErrorDetail,
10450
- MediaJobErroredEventData: MediaJobErroredEventData,
10451
- MediaJobFinishedEventData: MediaJobFinishedEventData,
10452
- MediaJobOutput: MediaJobOutput,
10453
- MediaJobOutputAsset: MediaJobOutputAsset,
10454
- MediaJobOutputCanceledEventData: MediaJobOutputCanceledEventData,
10455
- MediaJobOutputCancelingEventData: MediaJobOutputCancelingEventData,
10456
- MediaJobOutputErroredEventData: MediaJobOutputErroredEventData,
10457
- MediaJobOutputFinishedEventData: MediaJobOutputFinishedEventData,
10458
- MediaJobOutputProcessingEventData: MediaJobOutputProcessingEventData,
10459
- MediaJobOutputProgressEventData: MediaJobOutputProgressEventData,
10460
- MediaJobOutputScheduledEventData: MediaJobOutputScheduledEventData,
10461
- MediaJobOutputStateChangeEventData: MediaJobOutputStateChangeEventData,
10462
- MediaJobProcessingEventData: MediaJobProcessingEventData,
10463
- MediaJobScheduledEventData: MediaJobScheduledEventData,
10464
- MediaJobStateChangeEventData: MediaJobStateChangeEventData,
10465
- MediaLiveEventChannelArchiveHeartbeatEventData: MediaLiveEventChannelArchiveHeartbeatEventData,
10466
- MediaLiveEventConnectionRejectedEventData: MediaLiveEventConnectionRejectedEventData,
10467
- MediaLiveEventEncoderConnectedEventData: MediaLiveEventEncoderConnectedEventData,
10468
- MediaLiveEventEncoderDisconnectedEventData: MediaLiveEventEncoderDisconnectedEventData,
10469
- MediaLiveEventIncomingDataChunkDroppedEventData: MediaLiveEventIncomingDataChunkDroppedEventData,
10470
- MediaLiveEventIncomingStreamReceivedEventData: MediaLiveEventIncomingStreamReceivedEventData,
10471
- MediaLiveEventIncomingStreamsOutOfSyncEventData: MediaLiveEventIncomingStreamsOutOfSyncEventData,
10472
- MediaLiveEventIncomingVideoStreamsOutOfSyncEventData: MediaLiveEventIncomingVideoStreamsOutOfSyncEventData,
10473
- MediaLiveEventIngestHeartbeatEventData: MediaLiveEventIngestHeartbeatEventData,
10474
- MediaLiveEventTrackDiscontinuityDetectedEventData: MediaLiveEventTrackDiscontinuityDetectedEventData,
10475
- MicrosoftTeamsAppIdentifierModel: MicrosoftTeamsAppIdentifierModel,
10476
- MicrosoftTeamsUserIdentifierModel: MicrosoftTeamsUserIdentifierModel,
10477
- PhoneNumberIdentifierModel: PhoneNumberIdentifierModel,
10478
- PolicyInsightsPolicyStateChangedEventData: PolicyInsightsPolicyStateChangedEventData,
10479
- PolicyInsightsPolicyStateCreatedEventData: PolicyInsightsPolicyStateCreatedEventData,
10480
- PolicyInsightsPolicyStateDeletedEventData: PolicyInsightsPolicyStateDeletedEventData,
10481
- RedisExportRDBCompletedEventData: RedisExportRDBCompletedEventData,
10482
- RedisImportRDBCompletedEventData: RedisImportRDBCompletedEventData,
10483
- RedisPatchingCompletedEventData: RedisPatchingCompletedEventData,
10484
- RedisScalingCompletedEventData: RedisScalingCompletedEventData,
10485
- ResourceActionCancelEventData: ResourceActionCancelEventData,
10486
- ResourceActionFailureEventData: ResourceActionFailureEventData,
10487
- ResourceActionSuccessEventData: ResourceActionSuccessEventData,
10488
- ResourceAuthorization: ResourceAuthorization,
10489
- ResourceDeleteCancelEventData: ResourceDeleteCancelEventData,
10490
- ResourceDeleteFailureEventData: ResourceDeleteFailureEventData,
10491
- ResourceDeleteSuccessEventData: ResourceDeleteSuccessEventData,
10492
- ResourceHttpRequest: ResourceHttpRequest,
10493
- ResourceNotificationsHealthResourcesAnnotatedEventData: ResourceNotificationsHealthResourcesAnnotatedEventData,
10494
- ResourceNotificationsHealthResourcesAvailabilityStatusChangedEventData: ResourceNotificationsHealthResourcesAvailabilityStatusChangedEventData,
10495
- ResourceNotificationsOperationalDetails: ResourceNotificationsOperationalDetails,
10496
- ResourceNotificationsResourceDeletedDetails: ResourceNotificationsResourceDeletedDetails,
10497
- ResourceNotificationsResourceDeletedEventData: ResourceNotificationsResourceDeletedEventData,
10498
- ResourceNotificationsResourceManagementCreatedOrUpdatedEventData: ResourceNotificationsResourceManagementCreatedOrUpdatedEventData,
10499
- ResourceNotificationsResourceManagementDeletedEventData: ResourceNotificationsResourceManagementDeletedEventData,
10500
- ResourceNotificationsResourceUpdatedDetails: ResourceNotificationsResourceUpdatedDetails,
10501
- ResourceNotificationsResourceUpdatedEventData: ResourceNotificationsResourceUpdatedEventData,
10502
- ResourceWriteCancelEventData: ResourceWriteCancelEventData,
10503
- ResourceWriteFailureEventData: ResourceWriteFailureEventData,
10504
- ResourceWriteSuccessEventData: ResourceWriteSuccessEventData,
10505
- ServiceBusActiveMessagesAvailablePeriodicNotificationsEventData: ServiceBusActiveMessagesAvailablePeriodicNotificationsEventData,
10506
- ServiceBusActiveMessagesAvailableWithNoListenersEventData: ServiceBusActiveMessagesAvailableWithNoListenersEventData,
10507
- ServiceBusDeadletterMessagesAvailablePeriodicNotificationsEventData: ServiceBusDeadletterMessagesAvailablePeriodicNotificationsEventData,
10508
- ServiceBusDeadletterMessagesAvailableWithNoListenersEventData: ServiceBusDeadletterMessagesAvailableWithNoListenersEventData,
10509
- SignalRServiceClientConnectionConnectedEventData: SignalRServiceClientConnectionConnectedEventData,
10510
- SignalRServiceClientConnectionDisconnectedEventData: SignalRServiceClientConnectionDisconnectedEventData,
10511
- StorageAsyncOperationInitiatedEventData: StorageAsyncOperationInitiatedEventData,
10512
- StorageBlobCreatedEventData: StorageBlobCreatedEventData,
10513
- StorageBlobDeletedEventData: StorageBlobDeletedEventData,
10514
- StorageBlobInventoryPolicyCompletedEventData: StorageBlobInventoryPolicyCompletedEventData,
10515
- StorageBlobRenamedEventData: StorageBlobRenamedEventData,
10516
- StorageBlobTierChangedEventData: StorageBlobTierChangedEventData,
10517
- StorageDirectoryCreatedEventData: StorageDirectoryCreatedEventData,
10518
- StorageDirectoryDeletedEventData: StorageDirectoryDeletedEventData,
10519
- StorageDirectoryRenamedEventData: StorageDirectoryRenamedEventData,
10520
- StorageLifecyclePolicyActionSummaryDetail: StorageLifecyclePolicyActionSummaryDetail,
10521
- StorageLifecyclePolicyCompletedEventData: StorageLifecyclePolicyCompletedEventData,
10522
- StorageTaskAssignmentCompletedEventData: StorageTaskAssignmentCompletedEventData,
10523
- StorageTaskAssignmentQueuedEventData: StorageTaskAssignmentQueuedEventData,
10524
- StorageTaskCompletedEventData: StorageTaskCompletedEventData,
10525
- StorageTaskQueuedEventData: StorageTaskQueuedEventData,
10526
- SubscriptionDeletedEventData: SubscriptionDeletedEventData,
10527
- SubscriptionValidationEventData: SubscriptionValidationEventData,
10528
- SubscriptionValidationResponse: SubscriptionValidationResponse,
10529
- WebAppServicePlanUpdatedEventData: WebAppServicePlanUpdatedEventData,
10530
- WebAppServicePlanUpdatedEventDataSku: WebAppServicePlanUpdatedEventDataSku,
10531
- WebAppUpdatedEventData: WebAppUpdatedEventData,
10532
- WebBackupOperationCompletedEventData: WebBackupOperationCompletedEventData,
10533
- WebBackupOperationFailedEventData: WebBackupOperationFailedEventData,
10534
- WebBackupOperationStartedEventData: WebBackupOperationStartedEventData,
10535
- WebRestoreOperationCompletedEventData: WebRestoreOperationCompletedEventData,
10536
- WebRestoreOperationFailedEventData: WebRestoreOperationFailedEventData,
10537
- WebRestoreOperationStartedEventData: WebRestoreOperationStartedEventData,
10538
- WebSlotSwapCompletedEventData: WebSlotSwapCompletedEventData,
10539
- WebSlotSwapFailedEventData: WebSlotSwapFailedEventData,
10540
- WebSlotSwapStartedEventData: WebSlotSwapStartedEventData,
10541
- WebSlotSwapWithPreviewCancelledEventData: WebSlotSwapWithPreviewCancelledEventData,
10542
- WebSlotSwapWithPreviewStartedEventData: WebSlotSwapWithPreviewStartedEventData,
10543
- discriminators: discriminators
10544
- });
10545
-
10546
- /*
10547
- * Copyright (c) Microsoft Corporation.
10548
- * Licensed under the MIT License.
10549
- *
10550
- * Code generated by Microsoft (R) AutoRest Code Generator.
10551
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
10552
- */
10553
- /** @internal */
10554
- class GeneratedClientContext extends coreClient__namespace.ServiceClient {
10555
- /**
10556
- * Initializes a new instance of the GeneratedClientContext class.
10557
- * @param options The parameter options
10558
- */
10559
- constructor(options) {
10560
- // Initializing default values for options
10561
- if (!options) {
10562
- options = {};
10563
- }
10564
- const defaults = {
10565
- requestContentType: "application/json; charset=utf-8"
10566
- };
10567
- const packageDetails = `azsdk-js-eventgrid/5.8.1`;
10568
- const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
10569
- ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
10570
- : `${packageDetails}`;
10571
- const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
10572
- userAgentPrefix
10573
- }, baseUri: options.endpoint || "{topicHostname}" });
10574
- super(optionsWithDefaults);
10575
- // Assigning values to Constant parameters
10576
- this.apiVersion = options.apiVersion || "2018-01-01";
10577
- }
10578
- }
10579
-
10580
- /*
10581
- * Copyright (c) Microsoft Corporation.
10582
- * Licensed under the MIT License.
10583
- *
10584
- * Code generated by Microsoft (R) AutoRest Code Generator.
10585
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
10586
- */
10587
- /** @internal */
10588
- class GeneratedClient extends GeneratedClientContext {
10589
- /**
10590
- * Initializes a new instance of the GeneratedClient class.
10591
- * @param options The parameter options
10592
- */
10593
- constructor(options) {
10594
- super(options);
10595
- }
10596
- /**
10597
- * Publishes a batch of events to an Azure Event Grid topic.
10598
- * @param topicHostname The host name of the topic, e.g. topic1.westus2-1.eventgrid.azure.net
10599
- * @param events An array of events to be published to Event Grid.
10600
- * @param options The options parameters.
10601
- */
10602
- publishEventGridEvents(topicHostname, events, options) {
10603
- return this.sendOperationRequest({ topicHostname, events, options }, publishEventGridEventsOperationSpec);
10604
- }
10605
- /**
10606
- * Publishes a batch of events to an Azure Event Grid topic.
10607
- * @param topicHostname The host name of the topic, e.g. topic1.westus2-1.eventgrid.azure.net
10608
- * @param events An array of events to be published to Event Grid.
10609
- * @param options The options parameters.
10610
- */
10611
- publishCloudEventEvents(topicHostname, events, options) {
10612
- return this.sendOperationRequest({ topicHostname, events, options }, publishCloudEventEventsOperationSpec);
10613
- }
10614
- /**
10615
- * Publishes a batch of events to an Azure Event Grid topic.
10616
- * @param topicHostname The host name of the topic, e.g. topic1.westus2-1.eventgrid.azure.net
10617
- * @param events An array of events to be published to Event Grid.
10618
- * @param options The options parameters.
10619
- */
10620
- publishCustomEventEvents(topicHostname, events, options) {
10621
- return this.sendOperationRequest({ topicHostname, events, options }, publishCustomEventEventsOperationSpec);
10622
- }
10623
- }
10624
- // Operation Specifications
10625
- const serializer$1 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
10626
- const publishEventGridEventsOperationSpec = {
10627
- path: "",
10628
- httpMethod: "POST",
10629
- responses: { 200: {}, default: {} },
10630
- requestBody: events,
10631
- queryParameters: [apiVersion],
10632
- urlParameters: [topicHostname],
10633
- headerParameters: [contentType],
10634
- mediaType: "json",
10635
- serializer: serializer$1
10636
- };
10637
- const publishCloudEventEventsOperationSpec = {
10638
- path: "",
10639
- httpMethod: "POST",
10640
- responses: { 200: {}, default: {} },
10641
- requestBody: events1,
10642
- queryParameters: [apiVersion],
10643
- urlParameters: [topicHostname],
10644
- headerParameters: [contentType1, aegChannelName],
10645
- mediaType: "json",
10646
- serializer: serializer$1
10647
- };
10648
- const publishCustomEventEventsOperationSpec = {
10649
- path: "",
10650
- httpMethod: "POST",
10651
- responses: { 200: {}, default: {} },
10652
- requestBody: events2,
10653
- queryParameters: [apiVersion],
10654
- urlParameters: [topicHostname],
10655
- headerParameters: [contentType],
10656
- mediaType: "json",
10657
- serializer: serializer$1
10658
- };
10659
-
10660
- // Copyright (c) Microsoft Corporation.
10661
- // Licensed under the MIT License.
10662
- const CloudEventBatchContentType = "application/cloudevents-batch+json; charset=utf-8";
10663
- const TraceParentHeaderName = "traceparent";
10664
- const TraceStateHeaderName = "tracestate";
10665
- const ContentTypeHeaderName = "Content-Type";
10666
- /**
10667
- * The programmatic identifier of the cloudEventDistributedTracingEnricherPolicy.
10668
- */
10669
- const cloudEventDistributedTracingEnricherPolicyName = "cloudEventDistributedTracingEnricherPolicy";
10670
- /**
10671
- * cloudEventDistributedTracingEnricherPolicy is a policy which adds distributed tracing information
10672
- * to a batch of cloud events. It does so by copying the `traceparent` and `tracestate` properties
10673
- * from the HTTP request into the individual events as extension properties.
10674
- *
10675
- * This will only happen in the case where an event does not have a `traceparent` defined already. This
10676
- * allows events to explicitly set a traceparent and tracestate which would be respected during "multi-hop
10677
- * transmition".
10678
- *
10679
- * See https://github.com/cloudevents/spec/blob/master/extensions/distributed-tracing.md
10680
- * for more information on distributed tracing and cloud events.
10681
- */
10682
- function cloudEventDistributedTracingEnricherPolicy() {
10683
- return {
10684
- name: cloudEventDistributedTracingEnricherPolicyName,
10685
- async sendRequest(request, next) {
10686
- const traceparent = request.headers.get(TraceParentHeaderName);
10687
- const tracestate = request.headers.get(TraceStateHeaderName);
10688
- if (request.headers.get(ContentTypeHeaderName) === CloudEventBatchContentType &&
10689
- typeof request.body === "string" &&
10690
- traceparent) {
10691
- // per the cloud event batched content type we know the body is an array encoded in JSON.
10692
- const parsedBody = JSON.parse(request.body);
10693
- for (const item of parsedBody) {
10694
- // When using the distributed tracing extension, the "traceparent" is a required property
10695
- // and "tracestate" is optional. This means if an item already has a "traceparent" property
10696
- // we should not stomp over it. Well formed events will not have a "tracestate" without
10697
- // also having a "traceparent" so there's no need to guard against that case.
10698
- if (typeof item !== "object" || item.traceparent) {
10699
- continue;
10700
- }
10701
- item.traceparent = traceparent;
10702
- if (tracestate) {
10703
- item.tracestate = tracestate;
10704
- }
10705
- }
10706
- request.body = JSON.stringify(parsedBody);
10707
- }
10708
- return next(request);
10709
- },
10710
- };
10711
- }
10712
-
10713
- // Copyright (c) Microsoft Corporation.
10714
- // Licensed under the MIT License.
10715
- /**
10716
- * A tracing client to handle spans.
10717
- * @internal
10718
- */
10719
- const tracingClient = coreTracing.createTracingClient({
10720
- namespace: "Microsoft.Messaging.EventGrid",
10721
- packageName: "@azure/event-grid",
10722
- packageVersion: "5.8.1",
10723
- });
10724
-
10725
- // Copyright (c) Microsoft Corporation.
10726
- // Licensed under the MIT License.
10727
- /**
10728
- * Client class for publishing events to the Event Grid Service.
10729
- */
10730
- class EventGridPublisherClient {
10731
- /**
10732
- * Creates an instance of EventGridPublisherClient which sends events using the Event Grid Schema.
10733
- *
10734
- * Example usage:
10735
- * ```ts
10736
- * import { EventGridPublisherClient, AzureKeyCredential } from "@azure/eventgrid";
10737
- *
10738
- * const client = new EventGridPublisherClient(
10739
- * "<service endpoint>",
10740
- * "EventGrid",
10741
- * new AzureKeyCredential("<api key>")
10742
- * );
10743
- * ```
10744
- *
10745
- * @param endpointUrl - The URL to the Event Grid endpoint, e.g. https://eg-topic.westus2-1.eventgrid.azure.net/api/events.
10746
- * @param inputSchema - The schema that the Event Grid endpoint is configured to accept. One of "EventGrid", "CloudEvent", or "Custom".
10747
- * @param credential - Used to authenticate requests to the service.
10748
- * @param options - Used to configure the Event Grid Client.
10749
- */
10750
- constructor(endpointUrl, inputSchema, credential, options = {}) {
10751
- this.endpointUrl = endpointUrl;
10752
- this.inputSchema = inputSchema;
10753
- this.client = new GeneratedClient(options);
10754
- const authPolicy = coreAuth.isTokenCredential(credential)
10755
- ? coreRestPipeline.bearerTokenAuthenticationPolicy({ credential, scopes: DEFAULT_EVENTGRID_SCOPE })
10756
- : eventGridCredentialPolicy(credential);
10757
- this.client.pipeline.addPolicy(authPolicy);
10758
- this.client.pipeline.addPolicy(cloudEventDistributedTracingEnricherPolicy(), {
10759
- afterPolicies: [coreRestPipeline.tracingPolicyName],
10760
- });
10761
- this.apiVersion = this.client.apiVersion;
10762
- }
10763
- /**
10764
- * Sends events to a topic.
10765
- *
10766
- * @param events - The events to send. The events should be in the schema used when constructing the client.
10767
- * @param options - Options to control the underlying operation.
10768
- */
10769
- send(events, options = {}) {
10770
- return tracingClient.withSpan("EventGridPublisherClient.send", options, (updatedOptions) => {
10771
- switch (this.inputSchema) {
10772
- case "EventGrid": {
10773
- return this.client.publishEventGridEvents(this.endpointUrl, events.map(convertEventGridEventToModelType), updatedOptions);
10774
- }
10775
- case "CloudEvent": {
10776
- // The underlying REST API expects a header named `aeg-channel-name`, and so the generated client
10777
- // expects that options bag has a property called `aegChannelName`, where as we expose it with the
10778
- // friendlier name "channelName". Fix up the impedence mismatch here
10779
- const _a = updatedOptions, { channelName } = _a, sendOptions = tslib.__rest(_a, ["channelName"]);
10780
- if (channelName) {
10781
- sendOptions.aegChannelName = channelName;
10782
- }
10783
- return this.client.publishCloudEventEvents(this.endpointUrl, events.map(convertCloudEventToModelType), sendOptions);
10784
- }
10785
- case "Custom": {
10786
- return this.client.publishCustomEventEvents(this.endpointUrl, events, updatedOptions);
10787
- }
10788
- default: {
10789
- throw new Error(`Unknown input schema type '${this.inputSchema}'`);
10790
- }
10791
- }
10792
- });
10793
- }
10794
- }
10795
- /**
10796
- * @internal
10797
- */
10798
- function convertEventGridEventToModelType(event) {
10799
- var _a, _b;
10800
- return {
10801
- eventType: event.eventType,
10802
- eventTime: (_a = event.eventTime) !== null && _a !== void 0 ? _a : new Date(),
10803
- id: (_b = event.id) !== null && _b !== void 0 ? _b : uuid.v4(),
10804
- subject: event.subject,
10805
- topic: event.topic,
10806
- data: event.data,
10807
- dataVersion: event.dataVersion,
10808
- };
10809
- }
10810
- /**
10811
- * @internal
10812
- */
10813
- function convertCloudEventToModelType(event) {
10814
- var _a, _b, _c, _d;
10815
- if (event.extensionAttributes) {
10816
- for (const propName in event.extensionAttributes) {
10817
- // Per the cloud events spec: "CloudEvents attribute names MUST consist of lower-case letters ('a' to 'z') or digits ('0' to '9') from the ASCII character set"
10818
- // they also can not match an existing defined property name.
10819
- if (!/^[a-z0-9]*$/.test(propName) ||
10820
- cloudEventReservedPropertyNames.indexOf(propName) !== -1) {
10821
- throw new Error(`invalid extension attribute name: ${propName}`);
10822
- }
10823
- }
10824
- }
10825
- const converted = Object.assign({ specversion: "1.0", type: event.type, source: event.source, id: (_a = event.id) !== null && _a !== void 0 ? _a : uuid.v4(), time: (_b = event.time) !== null && _b !== void 0 ? _b : new Date(), subject: event.subject, dataschema: event.dataschema }, ((_c = event.extensionAttributes) !== null && _c !== void 0 ? _c : []));
10826
- if (event.data instanceof Uint8Array) {
10827
- if (!event.datacontenttype) {
10828
- throw new Error("a data content type must be provided when sending an event with binary data");
10829
- }
10830
- converted.datacontenttype = event.datacontenttype;
10831
- converted.dataBase64 = event.data;
10832
- }
10833
- else {
10834
- converted.datacontenttype = (_d = event.datacontenttype) !== null && _d !== void 0 ? _d : "application/json";
10835
- converted.data = event.data;
10836
- }
10837
- return converted;
10838
- }
10839
-
10840
- // Copyright (c) Microsoft Corporation.
10841
- // Licensed under the MIT License.
10842
- /**
10843
- * @internal
10844
- */
10845
- async function sha256Hmac(secret, stringToSign) {
10846
- const decodedSecret = Buffer.from(secret, "base64");
10847
- return crypto.createHmac("sha256", decodedSecret).update(stringToSign).digest("base64");
10848
- }
10849
-
10850
- // Copyright (c) Microsoft Corporation.
10851
- // Licensed under the MIT License.
10852
- /**
10853
- * Generate a shared access signature, which allows a client to send events to an Event Grid Topic or Domain for a limited period of time. This
10854
- * function may only be called when the EventGridPublisherClient was constructed with a KeyCredential instance.
10855
- *
10856
- * @param endpointUrl - The endpoint for the topic or domain you wish to generate a shared access signature for.
10857
- * @param credential - The credential to use when generating the shared access signatrue.
10858
- * @param expiresOn - The time at which the shared access signature is no longer valid.
10859
- * @param options - Options to control how the signature is generated.
10860
- */
10861
- async function generateSharedAccessSignature(endpointUrl, credential, expiresOnUtc, options) {
10862
- const expiresOnString = dateToServiceTimeString(expiresOnUtc);
10863
- const unsignedSas = `r=${encodeURIComponent(`${endpointUrl}?apiVersion=${(options === null || options === void 0 ? void 0 : options.apiVersion) || DEFAULT_API_VERSION}`)}&e=${encodeURIComponent(expiresOnString)}`;
10864
- return sha256Hmac(credential.key, unsignedSas).then((digest) => `${unsignedSas}&s=${encodeURIComponent(digest)}`);
10865
- }
10866
-
10867
- // Copyright (c) Microsoft Corporation.
10868
- // Licensed under the MIT License.
10869
- const serializer = coreClient.createSerializer();
10870
- /**
10871
- * EventGridDeserializer is used to aid in processing events delivered by EventGrid. It can deserialize a JSON encoded payload
10872
- * of either a single event or batch of events as well as be used to convert the result of `JSON.parse` into an
10873
- * `EventGridEvent` or `CloudEvent` like object.
10874
- *
10875
- * Unlike normal JSON deseralization, EventGridDeserializer does some additional conversions:
10876
- *
10877
- * - The consumer parses the event time property into a `Date` object, for ease of use.
10878
- * - When deserializing an event in the CloudEvent schema, if the event contains binary data, it is base64 decoded
10879
- * and returned as an instance of the `Uint8Array` type.
10880
- */
10881
- class EventGridDeserializer {
10882
- async deserializeEventGridEvents(encodedEvents) {
10883
- const decodedArray = parseAndWrap(encodedEvents);
10884
- const events = [];
10885
- for (const o of decodedArray) {
10886
- validateEventGridEvent(o);
10887
- const deserialized = serializer.deserialize(EventGridEvent, o, "");
10888
- events.push(deserialized);
10889
- }
10890
- return events;
10891
- }
10892
- async deserializeCloudEvents(encodedEvents) {
10893
- const decodedArray = parseAndWrap(encodedEvents);
10894
- const events = [];
10895
- for (const o of decodedArray) {
10896
- validateCloudEventEvent(o);
10897
- // Check that the required fields are present and of the correct type and the optional fields are missing
10898
- // or of the correct type.
10899
- const deserialized = serializer.deserialize(CloudEvent, o, "");
10900
- const modelEvent = {
10901
- specversion: deserialized.specversion,
10902
- id: deserialized.id,
10903
- source: deserialized.source,
10904
- type: deserialized.type,
10905
- };
10906
- if (deserialized.datacontenttype !== undefined) {
10907
- modelEvent.datacontenttype = deserialized.datacontenttype;
10908
- }
10909
- if (deserialized.dataschema !== undefined) {
10910
- modelEvent.dataschema = deserialized.dataschema;
10911
- }
10912
- if (deserialized.subject !== undefined) {
10913
- modelEvent.subject = deserialized.subject;
10914
- }
10915
- if (deserialized.time !== undefined) {
10916
- modelEvent.time = deserialized.time;
10917
- }
10918
- if (deserialized.data !== undefined) {
10919
- modelEvent.data = deserialized.data;
10920
- }
10921
- // If the data the event represents binary, it is encoded as base64 text in a different property on the event and we need to transform it.
10922
- if (deserialized.dataBase64 !== undefined) {
10923
- if (deserialized.data !== undefined) {
10924
- throw new TypeError("event contains both a data and data_base64 field");
10925
- }
10926
- if (!(deserialized.dataBase64 instanceof Uint8Array)) {
10927
- throw new TypeError("event data_base64 property is not an instance of Uint8Array");
10928
- }
10929
- modelEvent.data = deserialized.dataBase64;
10930
- }
10931
- // Build the "extensionsAttributes" property bag by removing all known top level properties.
10932
- const extensionAttributes = Object.assign({}, deserialized);
10933
- for (const propName of cloudEventReservedPropertyNames) {
10934
- delete extensionAttributes[propName];
10935
- }
10936
- delete extensionAttributes.dataBase64;
10937
- // If any properties remain, copy them to the model.
10938
- if (Object.keys(extensionAttributes).length > 0) {
10939
- modelEvent.extensionAttributes = extensionAttributes;
10940
- }
10941
- events.push(modelEvent);
10942
- }
10943
- return events;
10944
- }
10945
- }
10946
-
10947
- // Copyright (c) Microsoft Corporation.
10948
- // Licensed under the MIT License.
10949
- /**
10950
- * isCloudEventLike returns "true" when the event is a CloudEvent
10951
- *
10952
- * @param o - Either an EventGrid our CloudEvent event.
10953
- */
10954
- function isCloudEventLike(o) {
10955
- return o.source !== undefined;
10956
- }
10957
- function isSystemEvent(eventType, event) {
10958
- if (isCloudEventLike(event)) {
10959
- return event.type === eventType;
10960
- }
10961
- else {
10962
- return event.eventType === eventType;
10963
- }
10964
- }
10965
-
10966
- Object.defineProperty(exports, "AzureKeyCredential", {
10967
- enumerable: true,
10968
- get: function () { return coreAuth.AzureKeyCredential; }
10969
- });
10970
- Object.defineProperty(exports, "AzureSASCredential", {
10971
- enumerable: true,
10972
- get: function () { return coreAuth.AzureSASCredential; }
10973
- });
10974
- exports.EventGridDeserializer = EventGridDeserializer;
10975
- exports.EventGridPublisherClient = EventGridPublisherClient;
10976
- exports.generateSharedAccessSignature = generateSharedAccessSignature;
10977
- exports.isSystemEvent = isSystemEvent;
10978
- //# sourceMappingURL=index.js.map
9941
+ //# sourceMappingURL=mappers.js.map