@azure/arm-botservice 4.0.1-alpha.20250102.1 → 4.0.1-alpha.20250106.1

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 (726) hide show
  1. package/{dist-esm/src → dist/browser}/azureBotService.d.ts +2 -2
  2. package/dist/browser/azureBotService.d.ts.map +1 -0
  3. package/{dist-esm/src → dist/browser}/azureBotService.js +15 -18
  4. package/dist/browser/azureBotService.js.map +1 -0
  5. package/dist/browser/index.d.ts +5 -0
  6. package/{dist-esm/src → dist/browser}/index.d.ts.map +1 -1
  7. package/{dist-esm/src → dist/browser}/index.js +4 -4
  8. package/dist/browser/index.js.map +1 -0
  9. package/dist/browser/lroImpl.js +25 -0
  10. package/dist/browser/lroImpl.js.map +1 -0
  11. package/dist/browser/models/index.js.map +1 -0
  12. package/dist/browser/models/mappers.js.map +1 -0
  13. package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
  14. package/dist/browser/models/parameters.js.map +1 -0
  15. package/{dist-esm/src → dist/browser}/operations/botConnection.d.ts +3 -3
  16. package/dist/browser/operations/botConnection.d.ts.map +1 -0
  17. package/{dist-esm/src → dist/browser}/operations/botConnection.js +3 -3
  18. package/dist/browser/operations/botConnection.js.map +1 -0
  19. package/{dist-esm/src → dist/browser}/operations/bots.d.ts +3 -3
  20. package/dist/browser/operations/bots.d.ts.map +1 -0
  21. package/{dist-esm/src → dist/browser}/operations/bots.js +3 -3
  22. package/dist/browser/operations/bots.js.map +1 -0
  23. package/{dist-esm/src → dist/browser}/operations/channels.d.ts +3 -3
  24. package/dist/browser/operations/channels.d.ts.map +1 -0
  25. package/{dist-esm/src → dist/browser}/operations/channels.js +3 -3
  26. package/dist/browser/operations/channels.js.map +1 -0
  27. package/{dist-esm/src → dist/browser}/operations/directLine.d.ts +3 -3
  28. package/dist/browser/operations/directLine.d.ts.map +1 -0
  29. package/{dist-esm/src → dist/browser}/operations/directLine.js +2 -2
  30. package/dist/browser/operations/directLine.js.map +1 -0
  31. package/{dist-esm/src → dist/browser}/operations/email.d.ts +3 -3
  32. package/dist/browser/operations/email.d.ts.map +1 -0
  33. package/{dist-esm/src → dist/browser}/operations/email.js +2 -2
  34. package/dist/browser/operations/email.js.map +1 -0
  35. package/{dist-esm/src → dist/browser}/operations/hostSettings.d.ts +3 -3
  36. package/dist/browser/operations/hostSettings.d.ts.map +1 -0
  37. package/{dist-esm/src → dist/browser}/operations/hostSettings.js +2 -2
  38. package/dist/browser/operations/hostSettings.js.map +1 -0
  39. package/dist/browser/operations/index.d.ts +12 -0
  40. package/dist/browser/operations/index.d.ts.map +1 -0
  41. package/dist/browser/operations/index.js +19 -0
  42. package/dist/browser/operations/index.js.map +1 -0
  43. package/{dist-esm/src → dist/browser}/operations/operationResults.d.ts +3 -3
  44. package/dist/browser/operations/operationResults.d.ts.map +1 -0
  45. package/dist/browser/operations/operationResults.js +99 -0
  46. package/dist/browser/operations/operationResults.js.map +1 -0
  47. package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
  48. package/dist/browser/operations/operations.d.ts.map +1 -0
  49. package/{dist-esm/src → dist/browser}/operations/operations.js +3 -3
  50. package/dist/browser/operations/operations.js.map +1 -0
  51. package/{dist-esm/src → dist/browser}/operations/privateEndpointConnections.d.ts +3 -3
  52. package/dist/browser/operations/privateEndpointConnections.d.ts.map +1 -0
  53. package/{dist-esm/src → dist/browser}/operations/privateEndpointConnections.js +2 -2
  54. package/dist/browser/operations/privateEndpointConnections.js.map +1 -0
  55. package/{dist-esm/src → dist/browser}/operations/privateLinkResources.d.ts +3 -3
  56. package/dist/browser/operations/privateLinkResources.d.ts.map +1 -0
  57. package/{dist-esm/src → dist/browser}/operations/privateLinkResources.js +2 -2
  58. package/dist/browser/operations/privateLinkResources.js.map +1 -0
  59. package/{dist-esm/src → dist/browser}/operations/qnAMakerEndpointKeys.d.ts +3 -3
  60. package/dist/browser/operations/qnAMakerEndpointKeys.d.ts.map +1 -0
  61. package/{dist-esm/src → dist/browser}/operations/qnAMakerEndpointKeys.js +2 -2
  62. package/dist/browser/operations/qnAMakerEndpointKeys.js.map +1 -0
  63. package/{dist-esm/src → dist/browser}/operationsInterfaces/botConnection.d.ts +1 -1
  64. package/dist/browser/operationsInterfaces/botConnection.d.ts.map +1 -0
  65. package/dist/browser/operationsInterfaces/botConnection.js.map +1 -0
  66. package/{dist-esm/src → dist/browser}/operationsInterfaces/bots.d.ts +1 -1
  67. package/dist/browser/operationsInterfaces/bots.d.ts.map +1 -0
  68. package/dist/browser/operationsInterfaces/bots.js.map +1 -0
  69. package/{dist-esm/src → dist/browser}/operationsInterfaces/channels.d.ts +1 -1
  70. package/dist/browser/operationsInterfaces/channels.d.ts.map +1 -0
  71. package/dist/browser/operationsInterfaces/channels.js.map +1 -0
  72. package/{dist-esm/src → dist/browser}/operationsInterfaces/directLine.d.ts +1 -1
  73. package/dist/browser/operationsInterfaces/directLine.d.ts.map +1 -0
  74. package/dist/browser/operationsInterfaces/directLine.js.map +1 -0
  75. package/{dist-esm/src → dist/browser}/operationsInterfaces/email.d.ts +1 -1
  76. package/dist/browser/operationsInterfaces/email.d.ts.map +1 -0
  77. package/dist/browser/operationsInterfaces/email.js.map +1 -0
  78. package/{dist-esm/src → dist/browser}/operationsInterfaces/hostSettings.d.ts +1 -1
  79. package/dist/browser/operationsInterfaces/hostSettings.d.ts.map +1 -0
  80. package/dist/browser/operationsInterfaces/hostSettings.js.map +1 -0
  81. package/dist/browser/operationsInterfaces/index.d.ts +12 -0
  82. package/dist/browser/operationsInterfaces/index.d.ts.map +1 -0
  83. package/dist/browser/operationsInterfaces/index.js +19 -0
  84. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  85. package/{dist-esm/src → dist/browser}/operationsInterfaces/operationResults.d.ts +1 -1
  86. package/dist/browser/operationsInterfaces/operationResults.d.ts.map +1 -0
  87. package/dist/browser/operationsInterfaces/operationResults.js.map +1 -0
  88. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
  89. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts.map +1 -1
  90. package/dist/browser/operationsInterfaces/operations.js.map +1 -0
  91. package/{dist-esm/src → dist/browser}/operationsInterfaces/privateEndpointConnections.d.ts +1 -1
  92. package/dist/browser/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  93. package/dist/browser/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  94. package/{dist-esm/src → dist/browser}/operationsInterfaces/privateLinkResources.d.ts +1 -1
  95. package/dist/browser/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  96. package/dist/browser/operationsInterfaces/privateLinkResources.js.map +1 -0
  97. package/{dist-esm/src → dist/browser}/operationsInterfaces/qnAMakerEndpointKeys.d.ts +1 -1
  98. package/{dist-esm/src → dist/browser}/operationsInterfaces/qnAMakerEndpointKeys.d.ts.map +1 -1
  99. package/dist/browser/operationsInterfaces/qnAMakerEndpointKeys.js.map +1 -0
  100. package/dist/browser/package.json +3 -0
  101. package/dist/browser/pagingHelper.js.map +1 -0
  102. package/dist/commonjs/azureBotService.d.ts +30 -0
  103. package/dist/commonjs/azureBotService.d.ts.map +1 -0
  104. package/dist/commonjs/azureBotService.js +112 -0
  105. package/dist/commonjs/azureBotService.js.map +1 -0
  106. package/dist/commonjs/index.d.ts +5 -0
  107. package/dist/commonjs/index.d.ts.map +1 -0
  108. package/dist/commonjs/index.js +19 -0
  109. package/dist/commonjs/index.js.map +1 -0
  110. package/dist/commonjs/lroImpl.d.ts +16 -0
  111. package/dist/commonjs/lroImpl.d.ts.map +1 -0
  112. package/dist/commonjs/lroImpl.js +29 -0
  113. package/dist/commonjs/lroImpl.js.map +1 -0
  114. package/{types/arm-botservice.d.ts → dist/commonjs/models/index.d.ts} +1430 -1921
  115. package/dist/commonjs/models/index.d.ts.map +1 -0
  116. package/dist/commonjs/models/index.js +95 -0
  117. package/dist/commonjs/models/index.js.map +1 -0
  118. package/dist/commonjs/models/mappers.d.ts +106 -0
  119. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  120. package/dist/commonjs/models/mappers.js +2751 -0
  121. package/dist/commonjs/models/mappers.js.map +1 -0
  122. package/dist/commonjs/models/parameters.d.ts +35 -0
  123. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  124. package/dist/commonjs/models/parameters.js +275 -0
  125. package/dist/commonjs/models/parameters.js.map +1 -0
  126. package/dist/commonjs/operations/botConnection.d.ts +85 -0
  127. package/dist/commonjs/operations/botConnection.d.ts.map +1 -0
  128. package/dist/commonjs/operations/botConnection.js +348 -0
  129. package/dist/commonjs/operations/botConnection.js.map +1 -0
  130. package/dist/commonjs/operations/bots.d.ts +88 -0
  131. package/dist/commonjs/operations/bots.d.ts.map +1 -0
  132. package/dist/commonjs/operations/bots.js +426 -0
  133. package/dist/commonjs/operations/bots.js.map +1 -0
  134. package/dist/commonjs/operations/channels.d.ts +79 -0
  135. package/dist/commonjs/operations/channels.d.ts.map +1 -0
  136. package/dist/commonjs/operations/channels.js +334 -0
  137. package/dist/commonjs/operations/channels.js.map +1 -0
  138. package/dist/commonjs/operations/directLine.d.ts +23 -0
  139. package/dist/commonjs/operations/directLine.d.ts.map +1 -0
  140. package/dist/commonjs/operations/directLine.js +64 -0
  141. package/dist/commonjs/operations/directLine.js.map +1 -0
  142. package/dist/commonjs/operations/email.d.ts +20 -0
  143. package/dist/commonjs/operations/email.d.ts.map +1 -0
  144. package/dist/commonjs/operations/email.js +58 -0
  145. package/dist/commonjs/operations/email.js.map +1 -0
  146. package/dist/commonjs/operations/hostSettings.d.ts +18 -0
  147. package/dist/commonjs/operations/hostSettings.d.ts.map +1 -0
  148. package/dist/commonjs/operations/hostSettings.js +51 -0
  149. package/dist/commonjs/operations/hostSettings.js.map +1 -0
  150. package/dist/commonjs/operations/index.d.ts +12 -0
  151. package/dist/commonjs/operations/index.d.ts.map +1 -0
  152. package/dist/commonjs/operations/index.js +22 -0
  153. package/dist/commonjs/operations/index.js.map +1 -0
  154. package/dist/commonjs/operations/operationResults.d.ts +26 -0
  155. package/dist/commonjs/operations/operationResults.d.ts.map +1 -0
  156. package/dist/commonjs/operations/operationResults.js +104 -0
  157. package/dist/commonjs/operations/operationResults.js.map +1 -0
  158. package/dist/commonjs/operations/operations.d.ts +32 -0
  159. package/dist/commonjs/operations/operations.d.ts.map +1 -0
  160. package/dist/commonjs/operations/operations.js +137 -0
  161. package/dist/commonjs/operations/operations.js.map +1 -0
  162. package/dist/commonjs/operations/privateEndpointConnections.d.ts +58 -0
  163. package/dist/commonjs/operations/privateEndpointConnections.d.ts.map +1 -0
  164. package/dist/commonjs/operations/privateEndpointConnections.js +226 -0
  165. package/dist/commonjs/operations/privateEndpointConnections.js.map +1 -0
  166. package/dist/commonjs/operations/privateLinkResources.d.ts +20 -0
  167. package/dist/commonjs/operations/privateLinkResources.d.ts.map +1 -0
  168. package/dist/commonjs/operations/privateLinkResources.js +58 -0
  169. package/dist/commonjs/operations/privateLinkResources.js.map +1 -0
  170. package/dist/commonjs/operations/qnAMakerEndpointKeys.d.ts +19 -0
  171. package/dist/commonjs/operations/qnAMakerEndpointKeys.d.ts.map +1 -0
  172. package/dist/commonjs/operations/qnAMakerEndpointKeys.js +54 -0
  173. package/dist/commonjs/operations/qnAMakerEndpointKeys.js.map +1 -0
  174. package/dist/commonjs/operationsInterfaces/botConnection.d.ts +60 -0
  175. package/dist/commonjs/operationsInterfaces/botConnection.d.ts.map +1 -0
  176. package/dist/commonjs/operationsInterfaces/botConnection.js +10 -0
  177. package/dist/commonjs/operationsInterfaces/botConnection.js.map +1 -0
  178. package/dist/commonjs/operationsInterfaces/bots.d.ts +52 -0
  179. package/dist/commonjs/operationsInterfaces/bots.d.ts.map +1 -0
  180. package/dist/commonjs/operationsInterfaces/bots.js +10 -0
  181. package/dist/commonjs/operationsInterfaces/bots.js.map +1 -0
  182. package/dist/commonjs/operationsInterfaces/channels.d.ts +54 -0
  183. package/dist/commonjs/operationsInterfaces/channels.d.ts.map +1 -0
  184. package/dist/commonjs/operationsInterfaces/channels.js +10 -0
  185. package/dist/commonjs/operationsInterfaces/channels.js.map +1 -0
  186. package/dist/commonjs/operationsInterfaces/directLine.d.ts +15 -0
  187. package/dist/commonjs/operationsInterfaces/directLine.d.ts.map +1 -0
  188. package/dist/commonjs/operationsInterfaces/directLine.js +10 -0
  189. package/dist/commonjs/operationsInterfaces/directLine.js.map +1 -0
  190. package/dist/commonjs/operationsInterfaces/email.d.ts +12 -0
  191. package/dist/commonjs/operationsInterfaces/email.d.ts.map +1 -0
  192. package/dist/commonjs/operationsInterfaces/email.js +10 -0
  193. package/dist/commonjs/operationsInterfaces/email.js.map +1 -0
  194. package/dist/commonjs/operationsInterfaces/hostSettings.d.ts +10 -0
  195. package/dist/commonjs/operationsInterfaces/hostSettings.d.ts.map +1 -0
  196. package/dist/commonjs/operationsInterfaces/hostSettings.js +10 -0
  197. package/dist/commonjs/operationsInterfaces/hostSettings.js.map +1 -0
  198. package/dist/commonjs/operationsInterfaces/index.d.ts +12 -0
  199. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  200. package/dist/commonjs/operationsInterfaces/index.js +22 -0
  201. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  202. package/dist/commonjs/operationsInterfaces/operationResults.d.ts +18 -0
  203. package/dist/commonjs/operationsInterfaces/operationResults.d.ts.map +1 -0
  204. package/dist/commonjs/operationsInterfaces/operationResults.js +10 -0
  205. package/dist/commonjs/operationsInterfaces/operationResults.js.map +1 -0
  206. package/dist/commonjs/operationsInterfaces/operations.d.ts +11 -0
  207. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
  208. package/dist/commonjs/operationsInterfaces/operations.js +10 -0
  209. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
  210. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts +41 -0
  211. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  212. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js +10 -0
  213. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  214. package/dist/commonjs/operationsInterfaces/privateLinkResources.d.ts +12 -0
  215. package/dist/commonjs/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  216. package/dist/commonjs/operationsInterfaces/privateLinkResources.js +10 -0
  217. package/dist/commonjs/operationsInterfaces/privateLinkResources.js.map +1 -0
  218. package/dist/commonjs/operationsInterfaces/qnAMakerEndpointKeys.d.ts +11 -0
  219. package/dist/commonjs/operationsInterfaces/qnAMakerEndpointKeys.d.ts.map +1 -0
  220. package/dist/commonjs/operationsInterfaces/qnAMakerEndpointKeys.js +10 -0
  221. package/dist/commonjs/operationsInterfaces/qnAMakerEndpointKeys.js.map +1 -0
  222. package/dist/commonjs/package.json +3 -0
  223. package/dist/commonjs/pagingHelper.d.ts +13 -0
  224. package/dist/commonjs/pagingHelper.d.ts.map +1 -0
  225. package/dist/commonjs/pagingHelper.js +36 -0
  226. package/dist/commonjs/pagingHelper.js.map +1 -0
  227. package/dist/esm/azureBotService.d.ts +30 -0
  228. package/dist/esm/azureBotService.d.ts.map +1 -0
  229. package/dist/esm/azureBotService.js +107 -0
  230. package/dist/esm/azureBotService.js.map +1 -0
  231. package/dist/esm/index.d.ts +5 -0
  232. package/dist/esm/index.d.ts.map +1 -0
  233. package/{src/index.ts → dist/esm/index.js} +5 -5
  234. package/dist/esm/index.js.map +1 -0
  235. package/dist/esm/lroImpl.d.ts +16 -0
  236. package/dist/esm/lroImpl.d.ts.map +1 -0
  237. package/dist/esm/lroImpl.js +25 -0
  238. package/dist/esm/lroImpl.js.map +1 -0
  239. package/dist/esm/models/index.d.ts +1430 -0
  240. package/dist/esm/models/index.d.ts.map +1 -0
  241. package/dist/esm/models/index.js +92 -0
  242. package/dist/esm/models/index.js.map +1 -0
  243. package/dist/esm/models/mappers.d.ts +106 -0
  244. package/dist/esm/models/mappers.d.ts.map +1 -0
  245. package/dist/esm/models/mappers.js +2747 -0
  246. package/dist/esm/models/mappers.js.map +1 -0
  247. package/dist/esm/models/parameters.d.ts +35 -0
  248. package/dist/esm/models/parameters.d.ts.map +1 -0
  249. package/dist/esm/models/parameters.js +272 -0
  250. package/dist/esm/models/parameters.js.map +1 -0
  251. package/dist/esm/operations/botConnection.d.ts +85 -0
  252. package/dist/esm/operations/botConnection.d.ts.map +1 -0
  253. package/dist/esm/operations/botConnection.js +344 -0
  254. package/dist/esm/operations/botConnection.js.map +1 -0
  255. package/dist/esm/operations/bots.d.ts +88 -0
  256. package/dist/esm/operations/bots.d.ts.map +1 -0
  257. package/dist/esm/operations/bots.js +422 -0
  258. package/dist/esm/operations/bots.js.map +1 -0
  259. package/dist/esm/operations/channels.d.ts +79 -0
  260. package/dist/esm/operations/channels.d.ts.map +1 -0
  261. package/dist/esm/operations/channels.js +330 -0
  262. package/dist/esm/operations/channels.js.map +1 -0
  263. package/dist/esm/operations/directLine.d.ts +23 -0
  264. package/dist/esm/operations/directLine.d.ts.map +1 -0
  265. package/dist/esm/operations/directLine.js +59 -0
  266. package/dist/esm/operations/directLine.js.map +1 -0
  267. package/dist/esm/operations/email.d.ts +20 -0
  268. package/dist/esm/operations/email.d.ts.map +1 -0
  269. package/dist/esm/operations/email.js +53 -0
  270. package/dist/esm/operations/email.js.map +1 -0
  271. package/dist/esm/operations/hostSettings.d.ts +18 -0
  272. package/dist/esm/operations/hostSettings.d.ts.map +1 -0
  273. package/dist/esm/operations/hostSettings.js +46 -0
  274. package/dist/esm/operations/hostSettings.js.map +1 -0
  275. package/dist/esm/operations/index.d.ts +12 -0
  276. package/dist/esm/operations/index.d.ts.map +1 -0
  277. package/dist/esm/operations/index.js +19 -0
  278. package/dist/esm/operations/index.js.map +1 -0
  279. package/dist/esm/operations/operationResults.d.ts +26 -0
  280. package/dist/esm/operations/operationResults.d.ts.map +1 -0
  281. package/dist/esm/operations/operationResults.js +99 -0
  282. package/dist/esm/operations/operationResults.js.map +1 -0
  283. package/dist/esm/operations/operations.d.ts +32 -0
  284. package/dist/esm/operations/operations.d.ts.map +1 -0
  285. package/dist/esm/operations/operations.js +133 -0
  286. package/dist/esm/operations/operations.js.map +1 -0
  287. package/dist/esm/operations/privateEndpointConnections.d.ts +58 -0
  288. package/dist/esm/operations/privateEndpointConnections.d.ts.map +1 -0
  289. package/dist/esm/operations/privateEndpointConnections.js +222 -0
  290. package/dist/esm/operations/privateEndpointConnections.js.map +1 -0
  291. package/dist/esm/operations/privateLinkResources.d.ts +20 -0
  292. package/dist/esm/operations/privateLinkResources.d.ts.map +1 -0
  293. package/dist/esm/operations/privateLinkResources.js +53 -0
  294. package/dist/esm/operations/privateLinkResources.js.map +1 -0
  295. package/dist/esm/operations/qnAMakerEndpointKeys.d.ts +19 -0
  296. package/dist/esm/operations/qnAMakerEndpointKeys.d.ts.map +1 -0
  297. package/dist/esm/operations/qnAMakerEndpointKeys.js +49 -0
  298. package/dist/esm/operations/qnAMakerEndpointKeys.js.map +1 -0
  299. package/dist/esm/operationsInterfaces/botConnection.d.ts +60 -0
  300. package/dist/esm/operationsInterfaces/botConnection.d.ts.map +1 -0
  301. package/dist/esm/operationsInterfaces/botConnection.js +9 -0
  302. package/dist/esm/operationsInterfaces/botConnection.js.map +1 -0
  303. package/dist/esm/operationsInterfaces/bots.d.ts +52 -0
  304. package/dist/esm/operationsInterfaces/bots.d.ts.map +1 -0
  305. package/dist/esm/operationsInterfaces/bots.js +9 -0
  306. package/dist/esm/operationsInterfaces/bots.js.map +1 -0
  307. package/dist/esm/operationsInterfaces/channels.d.ts +54 -0
  308. package/dist/esm/operationsInterfaces/channels.d.ts.map +1 -0
  309. package/dist/esm/operationsInterfaces/channels.js +9 -0
  310. package/dist/esm/operationsInterfaces/channels.js.map +1 -0
  311. package/dist/esm/operationsInterfaces/directLine.d.ts +15 -0
  312. package/dist/esm/operationsInterfaces/directLine.d.ts.map +1 -0
  313. package/dist/esm/operationsInterfaces/directLine.js +9 -0
  314. package/dist/esm/operationsInterfaces/directLine.js.map +1 -0
  315. package/dist/esm/operationsInterfaces/email.d.ts +12 -0
  316. package/dist/esm/operationsInterfaces/email.d.ts.map +1 -0
  317. package/dist/esm/operationsInterfaces/email.js +9 -0
  318. package/dist/esm/operationsInterfaces/email.js.map +1 -0
  319. package/dist/esm/operationsInterfaces/hostSettings.d.ts +10 -0
  320. package/dist/esm/operationsInterfaces/hostSettings.d.ts.map +1 -0
  321. package/dist/esm/operationsInterfaces/hostSettings.js +9 -0
  322. package/dist/esm/operationsInterfaces/hostSettings.js.map +1 -0
  323. package/dist/esm/operationsInterfaces/index.d.ts +12 -0
  324. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  325. package/dist/esm/operationsInterfaces/index.js +19 -0
  326. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  327. package/dist/esm/operationsInterfaces/operationResults.d.ts +18 -0
  328. package/dist/esm/operationsInterfaces/operationResults.d.ts.map +1 -0
  329. package/dist/esm/operationsInterfaces/operationResults.js +9 -0
  330. package/dist/esm/operationsInterfaces/operationResults.js.map +1 -0
  331. package/dist/esm/operationsInterfaces/operations.d.ts +11 -0
  332. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
  333. package/dist/esm/operationsInterfaces/operations.js +9 -0
  334. package/dist/esm/operationsInterfaces/operations.js.map +1 -0
  335. package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts +41 -0
  336. package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  337. package/dist/esm/operationsInterfaces/privateEndpointConnections.js +9 -0
  338. package/dist/esm/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  339. package/dist/esm/operationsInterfaces/privateLinkResources.d.ts +12 -0
  340. package/dist/esm/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  341. package/dist/esm/operationsInterfaces/privateLinkResources.js +9 -0
  342. package/dist/esm/operationsInterfaces/privateLinkResources.js.map +1 -0
  343. package/dist/esm/operationsInterfaces/qnAMakerEndpointKeys.d.ts +11 -0
  344. package/dist/esm/operationsInterfaces/qnAMakerEndpointKeys.d.ts.map +1 -0
  345. package/dist/esm/operationsInterfaces/qnAMakerEndpointKeys.js +9 -0
  346. package/dist/esm/operationsInterfaces/qnAMakerEndpointKeys.js.map +1 -0
  347. package/dist/esm/package.json +3 -0
  348. package/dist/esm/pagingHelper.d.ts +13 -0
  349. package/dist/esm/pagingHelper.d.ts.map +1 -0
  350. package/dist/esm/pagingHelper.js +32 -0
  351. package/dist/esm/pagingHelper.js.map +1 -0
  352. package/dist/react-native/azureBotService.d.ts +30 -0
  353. package/dist/react-native/azureBotService.d.ts.map +1 -0
  354. package/dist/react-native/azureBotService.js +107 -0
  355. package/dist/react-native/azureBotService.js.map +1 -0
  356. package/dist/react-native/index.d.ts +5 -0
  357. package/dist/react-native/index.d.ts.map +1 -0
  358. package/dist/react-native/index.js +13 -0
  359. package/dist/react-native/index.js.map +1 -0
  360. package/dist/react-native/lroImpl.d.ts +16 -0
  361. package/dist/react-native/lroImpl.d.ts.map +1 -0
  362. package/dist/react-native/lroImpl.js +25 -0
  363. package/dist/react-native/lroImpl.js.map +1 -0
  364. package/dist/react-native/models/index.d.ts +1430 -0
  365. package/dist/react-native/models/index.d.ts.map +1 -0
  366. package/dist/react-native/models/index.js +92 -0
  367. package/dist/react-native/models/index.js.map +1 -0
  368. package/dist/react-native/models/mappers.d.ts +106 -0
  369. package/dist/react-native/models/mappers.d.ts.map +1 -0
  370. package/dist/react-native/models/mappers.js +2747 -0
  371. package/dist/react-native/models/mappers.js.map +1 -0
  372. package/dist/react-native/models/parameters.d.ts +35 -0
  373. package/dist/react-native/models/parameters.d.ts.map +1 -0
  374. package/dist/react-native/models/parameters.js +272 -0
  375. package/dist/react-native/models/parameters.js.map +1 -0
  376. package/dist/react-native/operations/botConnection.d.ts +85 -0
  377. package/dist/react-native/operations/botConnection.d.ts.map +1 -0
  378. package/dist/react-native/operations/botConnection.js +344 -0
  379. package/dist/react-native/operations/botConnection.js.map +1 -0
  380. package/dist/react-native/operations/bots.d.ts +88 -0
  381. package/dist/react-native/operations/bots.d.ts.map +1 -0
  382. package/dist/react-native/operations/bots.js +422 -0
  383. package/dist/react-native/operations/bots.js.map +1 -0
  384. package/dist/react-native/operations/channels.d.ts +79 -0
  385. package/dist/react-native/operations/channels.d.ts.map +1 -0
  386. package/dist/react-native/operations/channels.js +330 -0
  387. package/dist/react-native/operations/channels.js.map +1 -0
  388. package/dist/react-native/operations/directLine.d.ts +23 -0
  389. package/dist/react-native/operations/directLine.d.ts.map +1 -0
  390. package/dist/react-native/operations/directLine.js +59 -0
  391. package/dist/react-native/operations/directLine.js.map +1 -0
  392. package/dist/react-native/operations/email.d.ts +20 -0
  393. package/dist/react-native/operations/email.d.ts.map +1 -0
  394. package/dist/react-native/operations/email.js +53 -0
  395. package/dist/react-native/operations/email.js.map +1 -0
  396. package/dist/react-native/operations/hostSettings.d.ts +18 -0
  397. package/dist/react-native/operations/hostSettings.d.ts.map +1 -0
  398. package/dist/react-native/operations/hostSettings.js +46 -0
  399. package/dist/react-native/operations/hostSettings.js.map +1 -0
  400. package/dist/react-native/operations/index.d.ts +12 -0
  401. package/dist/react-native/operations/index.d.ts.map +1 -0
  402. package/dist/react-native/operations/index.js +19 -0
  403. package/dist/react-native/operations/index.js.map +1 -0
  404. package/dist/react-native/operations/operationResults.d.ts +26 -0
  405. package/dist/react-native/operations/operationResults.d.ts.map +1 -0
  406. package/dist/react-native/operations/operationResults.js +99 -0
  407. package/dist/react-native/operations/operationResults.js.map +1 -0
  408. package/dist/react-native/operations/operations.d.ts +32 -0
  409. package/dist/react-native/operations/operations.d.ts.map +1 -0
  410. package/dist/react-native/operations/operations.js +133 -0
  411. package/dist/react-native/operations/operations.js.map +1 -0
  412. package/dist/react-native/operations/privateEndpointConnections.d.ts +58 -0
  413. package/dist/react-native/operations/privateEndpointConnections.d.ts.map +1 -0
  414. package/dist/react-native/operations/privateEndpointConnections.js +222 -0
  415. package/dist/react-native/operations/privateEndpointConnections.js.map +1 -0
  416. package/dist/react-native/operations/privateLinkResources.d.ts +20 -0
  417. package/dist/react-native/operations/privateLinkResources.d.ts.map +1 -0
  418. package/dist/react-native/operations/privateLinkResources.js +53 -0
  419. package/dist/react-native/operations/privateLinkResources.js.map +1 -0
  420. package/dist/react-native/operations/qnAMakerEndpointKeys.d.ts +19 -0
  421. package/dist/react-native/operations/qnAMakerEndpointKeys.d.ts.map +1 -0
  422. package/dist/react-native/operations/qnAMakerEndpointKeys.js +49 -0
  423. package/dist/react-native/operations/qnAMakerEndpointKeys.js.map +1 -0
  424. package/dist/react-native/operationsInterfaces/botConnection.d.ts +60 -0
  425. package/dist/react-native/operationsInterfaces/botConnection.d.ts.map +1 -0
  426. package/dist/react-native/operationsInterfaces/botConnection.js +9 -0
  427. package/dist/react-native/operationsInterfaces/botConnection.js.map +1 -0
  428. package/dist/react-native/operationsInterfaces/bots.d.ts +52 -0
  429. package/dist/react-native/operationsInterfaces/bots.d.ts.map +1 -0
  430. package/dist/react-native/operationsInterfaces/bots.js +9 -0
  431. package/dist/react-native/operationsInterfaces/bots.js.map +1 -0
  432. package/dist/react-native/operationsInterfaces/channels.d.ts +54 -0
  433. package/dist/react-native/operationsInterfaces/channels.d.ts.map +1 -0
  434. package/dist/react-native/operationsInterfaces/channels.js +9 -0
  435. package/dist/react-native/operationsInterfaces/channels.js.map +1 -0
  436. package/dist/react-native/operationsInterfaces/directLine.d.ts +15 -0
  437. package/dist/react-native/operationsInterfaces/directLine.d.ts.map +1 -0
  438. package/dist/react-native/operationsInterfaces/directLine.js +9 -0
  439. package/dist/react-native/operationsInterfaces/directLine.js.map +1 -0
  440. package/dist/react-native/operationsInterfaces/email.d.ts +12 -0
  441. package/dist/react-native/operationsInterfaces/email.d.ts.map +1 -0
  442. package/dist/react-native/operationsInterfaces/email.js +9 -0
  443. package/dist/react-native/operationsInterfaces/email.js.map +1 -0
  444. package/dist/react-native/operationsInterfaces/hostSettings.d.ts +10 -0
  445. package/dist/react-native/operationsInterfaces/hostSettings.d.ts.map +1 -0
  446. package/dist/react-native/operationsInterfaces/hostSettings.js +9 -0
  447. package/dist/react-native/operationsInterfaces/hostSettings.js.map +1 -0
  448. package/dist/react-native/operationsInterfaces/index.d.ts +12 -0
  449. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  450. package/dist/react-native/operationsInterfaces/index.js +19 -0
  451. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  452. package/dist/react-native/operationsInterfaces/operationResults.d.ts +18 -0
  453. package/dist/react-native/operationsInterfaces/operationResults.d.ts.map +1 -0
  454. package/dist/react-native/operationsInterfaces/operationResults.js +9 -0
  455. package/dist/react-native/operationsInterfaces/operationResults.js.map +1 -0
  456. package/dist/react-native/operationsInterfaces/operations.d.ts +11 -0
  457. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
  458. package/dist/react-native/operationsInterfaces/operations.js +9 -0
  459. package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
  460. package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts +41 -0
  461. package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  462. package/dist/react-native/operationsInterfaces/privateEndpointConnections.js +9 -0
  463. package/dist/react-native/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  464. package/dist/react-native/operationsInterfaces/privateLinkResources.d.ts +12 -0
  465. package/dist/react-native/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  466. package/dist/react-native/operationsInterfaces/privateLinkResources.js +9 -0
  467. package/dist/react-native/operationsInterfaces/privateLinkResources.js.map +1 -0
  468. package/dist/react-native/operationsInterfaces/qnAMakerEndpointKeys.d.ts +11 -0
  469. package/dist/react-native/operationsInterfaces/qnAMakerEndpointKeys.d.ts.map +1 -0
  470. package/dist/react-native/operationsInterfaces/qnAMakerEndpointKeys.js +9 -0
  471. package/dist/react-native/operationsInterfaces/qnAMakerEndpointKeys.js.map +1 -0
  472. package/dist/react-native/package.json +3 -0
  473. package/dist/react-native/pagingHelper.d.ts +13 -0
  474. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  475. package/dist/react-native/pagingHelper.js +32 -0
  476. package/dist/react-native/pagingHelper.js.map +1 -0
  477. package/package.json +58 -28
  478. package/dist/index.js +0 -5117
  479. package/dist/index.js.map +0 -1
  480. package/dist/index.min.js +0 -1
  481. package/dist/index.min.js.map +0 -1
  482. package/dist-esm/samples-dev/botConnectionCreateSample.d.ts +0 -2
  483. package/dist-esm/samples-dev/botConnectionCreateSample.d.ts.map +0 -1
  484. package/dist-esm/samples-dev/botConnectionCreateSample.js +0 -53
  485. package/dist-esm/samples-dev/botConnectionCreateSample.js.map +0 -1
  486. package/dist-esm/samples-dev/botConnectionDeleteSample.d.ts +0 -2
  487. package/dist-esm/samples-dev/botConnectionDeleteSample.d.ts.map +0 -1
  488. package/dist-esm/samples-dev/botConnectionDeleteSample.js +0 -39
  489. package/dist-esm/samples-dev/botConnectionDeleteSample.js.map +0 -1
  490. package/dist-esm/samples-dev/botConnectionGetSample.d.ts +0 -2
  491. package/dist-esm/samples-dev/botConnectionGetSample.d.ts.map +0 -1
  492. package/dist-esm/samples-dev/botConnectionGetSample.js +0 -39
  493. package/dist-esm/samples-dev/botConnectionGetSample.js.map +0 -1
  494. package/dist-esm/samples-dev/botConnectionListByBotServiceSample.d.ts +0 -2
  495. package/dist-esm/samples-dev/botConnectionListByBotServiceSample.d.ts.map +0 -1
  496. package/dist-esm/samples-dev/botConnectionListByBotServiceSample.js +0 -54
  497. package/dist-esm/samples-dev/botConnectionListByBotServiceSample.js.map +0 -1
  498. package/dist-esm/samples-dev/botConnectionListServiceProvidersSample.d.ts +0 -2
  499. package/dist-esm/samples-dev/botConnectionListServiceProvidersSample.d.ts.map +0 -1
  500. package/dist-esm/samples-dev/botConnectionListServiceProvidersSample.js +0 -36
  501. package/dist-esm/samples-dev/botConnectionListServiceProvidersSample.js.map +0 -1
  502. package/dist-esm/samples-dev/botConnectionListWithSecretsSample.d.ts +0 -2
  503. package/dist-esm/samples-dev/botConnectionListWithSecretsSample.d.ts.map +0 -1
  504. package/dist-esm/samples-dev/botConnectionListWithSecretsSample.js +0 -39
  505. package/dist-esm/samples-dev/botConnectionListWithSecretsSample.js.map +0 -1
  506. package/dist-esm/samples-dev/botConnectionUpdateSample.d.ts +0 -2
  507. package/dist-esm/samples-dev/botConnectionUpdateSample.d.ts.map +0 -1
  508. package/dist-esm/samples-dev/botConnectionUpdateSample.js +0 -54
  509. package/dist-esm/samples-dev/botConnectionUpdateSample.js.map +0 -1
  510. package/dist-esm/samples-dev/botsCreateSample.d.ts +0 -2
  511. package/dist-esm/samples-dev/botsCreateSample.d.ts.map +0 -1
  512. package/dist-esm/samples-dev/botsCreateSample.js +0 -65
  513. package/dist-esm/samples-dev/botsCreateSample.js.map +0 -1
  514. package/dist-esm/samples-dev/botsDeleteSample.d.ts +0 -2
  515. package/dist-esm/samples-dev/botsDeleteSample.d.ts.map +0 -1
  516. package/dist-esm/samples-dev/botsDeleteSample.js +0 -38
  517. package/dist-esm/samples-dev/botsDeleteSample.js.map +0 -1
  518. package/dist-esm/samples-dev/botsGetCheckNameAvailabilitySample.d.ts +0 -2
  519. package/dist-esm/samples-dev/botsGetCheckNameAvailabilitySample.d.ts.map +0 -1
  520. package/dist-esm/samples-dev/botsGetCheckNameAvailabilitySample.js +0 -41
  521. package/dist-esm/samples-dev/botsGetCheckNameAvailabilitySample.js.map +0 -1
  522. package/dist-esm/samples-dev/botsGetSample.d.ts +0 -2
  523. package/dist-esm/samples-dev/botsGetSample.d.ts.map +0 -1
  524. package/dist-esm/samples-dev/botsGetSample.js +0 -38
  525. package/dist-esm/samples-dev/botsGetSample.js.map +0 -1
  526. package/dist-esm/samples-dev/botsListByResourceGroupSample.d.ts +0 -2
  527. package/dist-esm/samples-dev/botsListByResourceGroupSample.d.ts.map +0 -1
  528. package/dist-esm/samples-dev/botsListByResourceGroupSample.js +0 -53
  529. package/dist-esm/samples-dev/botsListByResourceGroupSample.js.map +0 -1
  530. package/dist-esm/samples-dev/botsListSample.d.ts +0 -2
  531. package/dist-esm/samples-dev/botsListSample.d.ts.map +0 -1
  532. package/dist-esm/samples-dev/botsListSample.js +0 -52
  533. package/dist-esm/samples-dev/botsListSample.js.map +0 -1
  534. package/dist-esm/samples-dev/botsUpdateSample.d.ts +0 -2
  535. package/dist-esm/samples-dev/botsUpdateSample.d.ts.map +0 -1
  536. package/dist-esm/samples-dev/botsUpdateSample.js +0 -71
  537. package/dist-esm/samples-dev/botsUpdateSample.js.map +0 -1
  538. package/dist-esm/samples-dev/channelsCreateSample.d.ts +0 -2
  539. package/dist-esm/samples-dev/channelsCreateSample.d.ts.map +0 -1
  540. package/dist-esm/samples-dev/channelsCreateSample.js +0 -166
  541. package/dist-esm/samples-dev/channelsCreateSample.js.map +0 -1
  542. package/dist-esm/samples-dev/channelsDeleteSample.d.ts +0 -2
  543. package/dist-esm/samples-dev/channelsDeleteSample.d.ts.map +0 -1
  544. package/dist-esm/samples-dev/channelsDeleteSample.js +0 -58
  545. package/dist-esm/samples-dev/channelsDeleteSample.js.map +0 -1
  546. package/dist-esm/samples-dev/channelsGetSample.d.ts +0 -2
  547. package/dist-esm/samples-dev/channelsGetSample.d.ts.map +0 -1
  548. package/dist-esm/samples-dev/channelsGetSample.js +0 -96
  549. package/dist-esm/samples-dev/channelsGetSample.js.map +0 -1
  550. package/dist-esm/samples-dev/channelsListByResourceGroupSample.d.ts +0 -2
  551. package/dist-esm/samples-dev/channelsListByResourceGroupSample.d.ts.map +0 -1
  552. package/dist-esm/samples-dev/channelsListByResourceGroupSample.js +0 -54
  553. package/dist-esm/samples-dev/channelsListByResourceGroupSample.js.map +0 -1
  554. package/dist-esm/samples-dev/channelsListWithKeysSample.d.ts +0 -2
  555. package/dist-esm/samples-dev/channelsListWithKeysSample.d.ts.map +0 -1
  556. package/dist-esm/samples-dev/channelsListWithKeysSample.js +0 -39
  557. package/dist-esm/samples-dev/channelsListWithKeysSample.js.map +0 -1
  558. package/dist-esm/samples-dev/channelsUpdateSample.d.ts +0 -2
  559. package/dist-esm/samples-dev/channelsUpdateSample.d.ts.map +0 -1
  560. package/dist-esm/samples-dev/channelsUpdateSample.js +0 -131
  561. package/dist-esm/samples-dev/channelsUpdateSample.js.map +0 -1
  562. package/dist-esm/samples-dev/directLineRegenerateKeysSample.d.ts +0 -2
  563. package/dist-esm/samples-dev/directLineRegenerateKeysSample.d.ts.map +0 -1
  564. package/dist-esm/samples-dev/directLineRegenerateKeysSample.js +0 -60
  565. package/dist-esm/samples-dev/directLineRegenerateKeysSample.js.map +0 -1
  566. package/dist-esm/samples-dev/emailCreateSignInUrlSample.d.ts +0 -2
  567. package/dist-esm/samples-dev/emailCreateSignInUrlSample.d.ts.map +0 -1
  568. package/dist-esm/samples-dev/emailCreateSignInUrlSample.js +0 -38
  569. package/dist-esm/samples-dev/emailCreateSignInUrlSample.js.map +0 -1
  570. package/dist-esm/samples-dev/hostSettingsGetSample.d.ts +0 -2
  571. package/dist-esm/samples-dev/hostSettingsGetSample.d.ts.map +0 -1
  572. package/dist-esm/samples-dev/hostSettingsGetSample.js +0 -36
  573. package/dist-esm/samples-dev/hostSettingsGetSample.js.map +0 -1
  574. package/dist-esm/samples-dev/operationResultsGetSample.d.ts +0 -2
  575. package/dist-esm/samples-dev/operationResultsGetSample.d.ts.map +0 -1
  576. package/dist-esm/samples-dev/operationResultsGetSample.js +0 -37
  577. package/dist-esm/samples-dev/operationResultsGetSample.js.map +0 -1
  578. package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
  579. package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
  580. package/dist-esm/samples-dev/operationsListSample.js +0 -53
  581. package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
  582. package/dist-esm/samples-dev/privateEndpointConnectionsCreateSample.d.ts +0 -2
  583. package/dist-esm/samples-dev/privateEndpointConnectionsCreateSample.d.ts.map +0 -1
  584. package/dist-esm/samples-dev/privateEndpointConnectionsCreateSample.js +0 -45
  585. package/dist-esm/samples-dev/privateEndpointConnectionsCreateSample.js.map +0 -1
  586. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts +0 -2
  587. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts.map +0 -1
  588. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +0 -39
  589. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js.map +0 -1
  590. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts +0 -2
  591. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts.map +0 -1
  592. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +0 -39
  593. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js.map +0 -1
  594. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.d.ts +0 -2
  595. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.d.ts.map +0 -1
  596. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js +0 -54
  597. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js.map +0 -1
  598. package/dist-esm/samples-dev/privateLinkResourcesListByBotResourceSample.d.ts +0 -2
  599. package/dist-esm/samples-dev/privateLinkResourcesListByBotResourceSample.d.ts.map +0 -1
  600. package/dist-esm/samples-dev/privateLinkResourcesListByBotResourceSample.js +0 -38
  601. package/dist-esm/samples-dev/privateLinkResourcesListByBotResourceSample.js.map +0 -1
  602. package/dist-esm/samples-dev/qnAMakerEndpointKeysGetSample.d.ts +0 -2
  603. package/dist-esm/samples-dev/qnAMakerEndpointKeysGetSample.d.ts.map +0 -1
  604. package/dist-esm/samples-dev/qnAMakerEndpointKeysGetSample.js +0 -40
  605. package/dist-esm/samples-dev/qnAMakerEndpointKeysGetSample.js.map +0 -1
  606. package/dist-esm/src/azureBotService.d.ts.map +0 -1
  607. package/dist-esm/src/azureBotService.js.map +0 -1
  608. package/dist-esm/src/index.d.ts +0 -5
  609. package/dist-esm/src/index.js.map +0 -1
  610. package/dist-esm/src/lroImpl.js +0 -29
  611. package/dist-esm/src/lroImpl.js.map +0 -1
  612. package/dist-esm/src/models/index.js.map +0 -1
  613. package/dist-esm/src/models/mappers.js.map +0 -1
  614. package/dist-esm/src/models/parameters.js.map +0 -1
  615. package/dist-esm/src/operations/botConnection.d.ts.map +0 -1
  616. package/dist-esm/src/operations/botConnection.js.map +0 -1
  617. package/dist-esm/src/operations/bots.d.ts.map +0 -1
  618. package/dist-esm/src/operations/bots.js.map +0 -1
  619. package/dist-esm/src/operations/channels.d.ts.map +0 -1
  620. package/dist-esm/src/operations/channels.js.map +0 -1
  621. package/dist-esm/src/operations/directLine.d.ts.map +0 -1
  622. package/dist-esm/src/operations/directLine.js.map +0 -1
  623. package/dist-esm/src/operations/email.d.ts.map +0 -1
  624. package/dist-esm/src/operations/email.js.map +0 -1
  625. package/dist-esm/src/operations/hostSettings.d.ts.map +0 -1
  626. package/dist-esm/src/operations/hostSettings.js.map +0 -1
  627. package/dist-esm/src/operations/index.d.ts +0 -12
  628. package/dist-esm/src/operations/index.d.ts.map +0 -1
  629. package/dist-esm/src/operations/index.js +0 -19
  630. package/dist-esm/src/operations/index.js.map +0 -1
  631. package/dist-esm/src/operations/operationResults.d.ts.map +0 -1
  632. package/dist-esm/src/operations/operationResults.js +0 -104
  633. package/dist-esm/src/operations/operationResults.js.map +0 -1
  634. package/dist-esm/src/operations/operations.d.ts.map +0 -1
  635. package/dist-esm/src/operations/operations.js.map +0 -1
  636. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +0 -1
  637. package/dist-esm/src/operations/privateEndpointConnections.js.map +0 -1
  638. package/dist-esm/src/operations/privateLinkResources.d.ts.map +0 -1
  639. package/dist-esm/src/operations/privateLinkResources.js.map +0 -1
  640. package/dist-esm/src/operations/qnAMakerEndpointKeys.d.ts.map +0 -1
  641. package/dist-esm/src/operations/qnAMakerEndpointKeys.js.map +0 -1
  642. package/dist-esm/src/operationsInterfaces/botConnection.d.ts.map +0 -1
  643. package/dist-esm/src/operationsInterfaces/botConnection.js.map +0 -1
  644. package/dist-esm/src/operationsInterfaces/bots.d.ts.map +0 -1
  645. package/dist-esm/src/operationsInterfaces/bots.js.map +0 -1
  646. package/dist-esm/src/operationsInterfaces/channels.d.ts.map +0 -1
  647. package/dist-esm/src/operationsInterfaces/channels.js.map +0 -1
  648. package/dist-esm/src/operationsInterfaces/directLine.d.ts.map +0 -1
  649. package/dist-esm/src/operationsInterfaces/directLine.js.map +0 -1
  650. package/dist-esm/src/operationsInterfaces/email.d.ts.map +0 -1
  651. package/dist-esm/src/operationsInterfaces/email.js.map +0 -1
  652. package/dist-esm/src/operationsInterfaces/hostSettings.d.ts.map +0 -1
  653. package/dist-esm/src/operationsInterfaces/hostSettings.js.map +0 -1
  654. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -12
  655. package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
  656. package/dist-esm/src/operationsInterfaces/index.js +0 -19
  657. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  658. package/dist-esm/src/operationsInterfaces/operationResults.d.ts.map +0 -1
  659. package/dist-esm/src/operationsInterfaces/operationResults.js.map +0 -1
  660. package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
  661. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +0 -1
  662. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +0 -1
  663. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +0 -1
  664. package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +0 -1
  665. package/dist-esm/src/operationsInterfaces/qnAMakerEndpointKeys.js.map +0 -1
  666. package/dist-esm/src/pagingHelper.js.map +0 -1
  667. package/dist-esm/test/botservice_examples.d.ts +0 -4
  668. package/dist-esm/test/botservice_examples.d.ts.map +0 -1
  669. package/dist-esm/test/botservice_examples.js +0 -74
  670. package/dist-esm/test/botservice_examples.js.map +0 -1
  671. package/src/azureBotService.ts +0 -184
  672. package/src/lroImpl.ts +0 -34
  673. package/src/models/index.ts +0 -1650
  674. package/src/models/mappers.ts +0 -2914
  675. package/src/models/parameters.ts +0 -318
  676. package/src/operations/botConnection.ts +0 -466
  677. package/src/operations/bots.ts +0 -518
  678. package/src/operations/channels.ts +0 -443
  679. package/src/operations/directLine.ts +0 -82
  680. package/src/operations/email.ts +0 -72
  681. package/src/operations/hostSettings.ts +0 -60
  682. package/src/operations/index.ts +0 -19
  683. package/src/operations/operationResults.ts +0 -144
  684. package/src/operations/operations.ts +0 -149
  685. package/src/operations/privateEndpointConnections.ts +0 -287
  686. package/src/operations/privateLinkResources.ts +0 -72
  687. package/src/operations/qnAMakerEndpointKeys.ts +0 -68
  688. package/src/operationsInterfaces/botConnection.ts +0 -116
  689. package/src/operationsInterfaces/bots.ts +0 -98
  690. package/src/operationsInterfaces/channels.ts +0 -106
  691. package/src/operationsInterfaces/directLine.ts +0 -34
  692. package/src/operationsInterfaces/email.ts +0 -27
  693. package/src/operationsInterfaces/hostSettings.ts +0 -23
  694. package/src/operationsInterfaces/index.ts +0 -19
  695. package/src/operationsInterfaces/operationResults.ts +0 -40
  696. package/src/operationsInterfaces/operations.ts +0 -22
  697. package/src/operationsInterfaces/privateEndpointConnections.ts +0 -78
  698. package/src/operationsInterfaces/privateLinkResources.ts +0 -27
  699. package/src/operationsInterfaces/qnAMakerEndpointKeys.ts +0 -26
  700. package/src/pagingHelper.ts +0 -39
  701. package/tsconfig.json +0 -33
  702. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
  703. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +0 -0
  704. /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
  705. /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
  706. /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
  707. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
  708. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
  709. /package/{dist-esm/src → dist/browser}/models/mappers.js +0 -0
  710. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
  711. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
  712. /package/{dist-esm/src → dist/browser}/operationsInterfaces/botConnection.js +0 -0
  713. /package/{dist-esm/src → dist/browser}/operationsInterfaces/bots.js +0 -0
  714. /package/{dist-esm/src → dist/browser}/operationsInterfaces/channels.js +0 -0
  715. /package/{dist-esm/src → dist/browser}/operationsInterfaces/directLine.js +0 -0
  716. /package/{dist-esm/src → dist/browser}/operationsInterfaces/email.js +0 -0
  717. /package/{dist-esm/src → dist/browser}/operationsInterfaces/hostSettings.js +0 -0
  718. /package/{dist-esm/src → dist/browser}/operationsInterfaces/operationResults.js +0 -0
  719. /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
  720. /package/{dist-esm/src → dist/browser}/operationsInterfaces/privateEndpointConnections.js +0 -0
  721. /package/{dist-esm/src → dist/browser}/operationsInterfaces/privateLinkResources.js +0 -0
  722. /package/{dist-esm/src → dist/browser}/operationsInterfaces/qnAMakerEndpointKeys.js +0 -0
  723. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
  724. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
  725. /package/{dist-esm/src → dist/browser}/pagingHelper.js +0 -0
  726. /package/{types → dist/commonjs}/tsdoc-metadata.json +0 -0
@@ -5,7 +5,7 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
- import { Bot as BotMapper, CheckNameAvailabilityRequestBody as CheckNameAvailabilityRequestBodyMapper, BotChannel as BotChannelMapper, SiteInfo as SiteInfoMapper, ConnectionSetting as ConnectionSettingMapper, QnAMakerEndpointKeysRequestBody as QnAMakerEndpointKeysRequestBodyMapper, PrivateEndpointConnection as PrivateEndpointConnectionMapper } from "../models/mappers";
8
+ import { Bot as BotMapper, CheckNameAvailabilityRequestBody as CheckNameAvailabilityRequestBodyMapper, BotChannel as BotChannelMapper, SiteInfo as SiteInfoMapper, ConnectionSetting as ConnectionSettingMapper, QnAMakerEndpointKeysRequestBody as QnAMakerEndpointKeysRequestBodyMapper, PrivateEndpointConnection as PrivateEndpointConnectionMapper } from "../models/mappers.js";
9
9
  export const contentType = {
10
10
  parameterPath: ["options", "contentType"],
11
11
  mapper: {
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAOH,OAAO,EACL,GAAG,IAAI,SAAS,EAChB,gCAAgC,IAAI,sCAAsC,EAC1E,UAAU,IAAI,gBAAgB,EAC9B,QAAQ,IAAI,cAAc,EAC1B,iBAAiB,IAAI,uBAAuB,EAC5C,+BAA+B,IAAI,qCAAqC,EACxE,yBAAyB,IAAI,+BAA+B,EAC7D,MAAM,sBAAsB,CAAC;AAE9B,MAAM,CAAC,MAAM,WAAW,GAAuB;IAC7C,aAAa,EAAE,CAAC,SAAS,EAAE,aAAa,CAAC;IACzC,MAAM,EAAE;QACN,YAAY,EAAE,kBAAkB;QAChC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,cAAc;QAC9B,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAAuB;IAC5C,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE,SAAS;CAClB,CAAC;AAEF,MAAM,CAAC,MAAM,MAAM,GAAuB;IACxC,aAAa,EAAE,QAAQ;IACvB,MAAM,EAAE;QACN,YAAY,EAAE,kBAAkB;QAChC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,QAAQ;QACxB,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,KAAK,GAA0B;IAC1C,aAAa,EAAE,OAAO;IACtB,MAAM,EAAE;QACN,cAAc,EAA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AM,CAAC,MAAM,6BAA6B,GAA0B;IAClE,aAAa,EAAE,+BAA+B;IAC9C,MAAM,EAAE;QACN,cAAc,EAAE,+BAA+B;QAC/C,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAuB;IAC7C,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE,+BAA+B;CACxC,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter\n} from \"@azure/core-client\";\nimport {\n Bot as BotMapper,\n CheckNameAvailabilityRequestBody as CheckNameAvailabilityRequestBodyMapper,\n BotChannel as BotChannelMapper,\n SiteInfo as SiteInfoMapper,\n ConnectionSetting as ConnectionSettingMapper,\n QnAMakerEndpointKeysRequestBody as QnAMakerEndpointKeysRequestBodyMapper,\n PrivateEndpointConnection as PrivateEndpointConnectionMapper\n} from \"../models/mappers.js\";\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const parameters: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: BotMapper\n};\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const $host: OperationURLParameter = {\n parameterPath: \"$host\",\n mapper: {\n serializedName: \"$host\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const resourceGroupName: OperationURLParameter = {\n parameterPath: \"resourceGroupName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[a-zA-Z0-9][a-zA-Z0-9_.-]*$\"),\n MaxLength: 64,\n MinLength: 2\n },\n serializedName: \"resourceGroupName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const resourceName: OperationURLParameter = {\n parameterPath: \"resourceName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[a-zA-Z0-9][a-zA-Z0-9_.-]*$\"),\n MaxLength: 64,\n MinLength: 2\n },\n serializedName: \"resourceName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2022-09-15\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const subscriptionId: OperationURLParameter = {\n parameterPath: \"subscriptionId\",\n mapper: {\n serializedName: \"subscriptionId\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const location: OperationParameter = {\n parameterPath: [\"options\", \"location\"],\n mapper: BotMapper\n};\n\nexport const tags: OperationParameter = {\n parameterPath: [\"options\", \"tags\"],\n mapper: BotMapper\n};\n\nexport const sku: OperationParameter = {\n parameterPath: [\"options\", \"sku\"],\n mapper: BotMapper\n};\n\nexport const kind: OperationParameter = {\n parameterPath: [\"options\", \"kind\"],\n mapper: BotMapper\n};\n\nexport const etag: OperationParameter = {\n parameterPath: [\"options\", \"etag\"],\n mapper: BotMapper\n};\n\nexport const properties: OperationParameter = {\n parameterPath: [\"options\", \"properties\"],\n mapper: BotMapper\n};\n\nexport const parameters2: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: CheckNameAvailabilityRequestBodyMapper\n};\n\nexport const nextLink: OperationURLParameter = {\n parameterPath: \"nextLink\",\n mapper: {\n serializedName: \"nextLink\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const parameters3: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: BotChannelMapper\n};\n\nexport const channelName: OperationURLParameter = {\n parameterPath: \"channelName\",\n mapper: {\n serializedName: \"channelName\",\n required: true,\n type: {\n name: \"Enum\",\n allowedValues: [\n \"AlexaChannel\",\n \"FacebookChannel\",\n \"EmailChannel\",\n \"KikChannel\",\n \"TelegramChannel\",\n \"SlackChannel\",\n \"MsTeamsChannel\",\n \"SkypeChannel\",\n \"WebChatChannel\",\n \"DirectLineChannel\",\n \"SmsChannel\",\n \"LineChannel\",\n \"DirectLineSpeechChannel\",\n \"OutlookChannel\",\n \"Omnichannel\",\n \"TelephonyChannel\",\n \"AcsChatChannel\",\n \"SearchAssistant\",\n \"M365Extensions\"\n ]\n }\n }\n};\n\nexport const location1: OperationParameter = {\n parameterPath: [\"options\", \"location\"],\n mapper: BotChannelMapper\n};\n\nexport const tags1: OperationParameter = {\n parameterPath: [\"options\", \"tags\"],\n mapper: BotChannelMapper\n};\n\nexport const sku1: OperationParameter = {\n parameterPath: [\"options\", \"sku\"],\n mapper: BotChannelMapper\n};\n\nexport const kind1: OperationParameter = {\n parameterPath: [\"options\", \"kind\"],\n mapper: BotChannelMapper\n};\n\nexport const etag1: OperationParameter = {\n parameterPath: [\"options\", \"etag\"],\n mapper: BotChannelMapper\n};\n\nexport const properties1: OperationParameter = {\n parameterPath: [\"options\", \"properties\"],\n mapper: BotChannelMapper\n};\n\nexport const channelName1: OperationURLParameter = {\n parameterPath: \"channelName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[a-zA-Z0-9][a-zA-Z0-9_.-]*$\"),\n MaxLength: 64,\n MinLength: 2\n },\n serializedName: \"channelName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const parameters5: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: SiteInfoMapper\n};\n\nexport const channelName2: OperationURLParameter = {\n parameterPath: \"channelName\",\n mapper: {\n serializedName: \"channelName\",\n required: true,\n type: {\n name: \"Enum\",\n allowedValues: [\"WebChatChannel\", \"DirectLineChannel\"]\n }\n }\n};\n\nexport const connectionName: OperationURLParameter = {\n parameterPath: \"connectionName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[a-zA-Z0-9][\\\\sa-zA-Z0-9_.-]*$\"),\n MaxLength: 64,\n MinLength: 2\n },\n serializedName: \"connectionName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const parameters6: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ConnectionSettingMapper\n};\n\nexport const parameters7: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: QnAMakerEndpointKeysRequestBodyMapper\n};\n\nexport const operationResultId: OperationURLParameter = {\n parameterPath: \"operationResultId\",\n mapper: {\n serializedName: \"operationResultId\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const privateEndpointConnectionName: OperationURLParameter = {\n parameterPath: \"privateEndpointConnectionName\",\n mapper: {\n serializedName: \"privateEndpointConnectionName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const properties2: OperationParameter = {\n parameterPath: \"properties\",\n mapper: PrivateEndpointConnectionMapper\n};\n"]}
@@ -1,7 +1,7 @@
1
1
  import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { BotConnection } from "../operationsInterfaces";
3
- import { AzureBotService } from "../azureBotService";
4
- import { ConnectionSetting, BotConnectionListByBotServiceOptionalParams, BotConnectionListServiceProvidersOptionalParams, BotConnectionListServiceProvidersResponse, BotConnectionListWithSecretsOptionalParams, BotConnectionListWithSecretsResponse, BotConnectionCreateOptionalParams, BotConnectionCreateResponse, BotConnectionUpdateOptionalParams, BotConnectionUpdateResponse, BotConnectionGetOptionalParams, BotConnectionGetResponse, BotConnectionDeleteOptionalParams } from "../models";
2
+ import { BotConnection } from "../operationsInterfaces/index.js";
3
+ import { AzureBotService } from "../azureBotService.js";
4
+ import { ConnectionSetting, BotConnectionListByBotServiceOptionalParams, BotConnectionListServiceProvidersOptionalParams, BotConnectionListServiceProvidersResponse, BotConnectionListWithSecretsOptionalParams, BotConnectionListWithSecretsResponse, BotConnectionCreateOptionalParams, BotConnectionCreateResponse, BotConnectionUpdateOptionalParams, BotConnectionUpdateResponse, BotConnectionGetOptionalParams, BotConnectionGetResponse, BotConnectionDeleteOptionalParams } from "../models/index.js";
5
5
  /** Class containing BotConnection operations. */
6
6
  export declare class BotConnectionImpl implements BotConnection {
7
7
  private readonly client;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"botConnection.d.ts","sourceRoot":"","sources":["../../../src/operations/botConnection.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAIjE,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EACL,iBAAiB,EAEjB,2CAA2C,EAE3C,+CAA+C,EAC/C,yCAAyC,EACzC,0CAA0C,EAC1C,oCAAoC,EACpC,iCAAiC,EACjC,2BAA2B,EAC3B,iCAAiC,EACjC,2BAA2B,EAC3B,8BAA8B,EAC9B,wBAAwB,EACxB,iCAAiC,EAElC,MAAM,oBAAoB,CAAC;AAG5B,iDAAiD;AACjD,qBAAa,iBAAkB,YAAW,aAAa;IACrD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAkB;IAEzC;;;OAGG;gBACS,MAAM,EAAE,eAAe;IAInC;;;;;OAKG;IACI,gBAAgB,CACrB,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,2CAA2C,GACpD,0BAA0B,CAAC,iBAAiB,CAAC;YA2BjC,0BAA0B;YAiC1B,yBAAyB;IAcxC;;;OAGG;IACH,oBAAoB,CAClB,OAAO,CAAC,EAAE,+CAA+C,GACxD,OAAO,CAAC,yCAAyC,CAAC;IAOrD;;;;;;OAMG;IACH,eAAe,CACb,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,0CAA0C,GACnD,OAAO,CAAC,oCAAoC,CAAC;IAOhD;;;;;;;OAOG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,cAAc,EAAE,MAAM,EACtB,UAAU,EAAE,iBAAiB,EAC7B,OAAO,CAAC,EAAE,iCAAiC,GAC1C,OAAO,CAAC,2BAA2B,CAAC;IAOvC;;;;;;;OAOG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,cAAc,EAAE,MAAM,EACtB,UAAU,EAAE,iBAAiB,EAC7B,OAAO,CAAC,EAAE,iCAAiC,GAC1C,OAAO,CAAC,2BAA2B,CAAC;IAOvC;;;;;;OAMG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CAAC,wBAAwB,CAAC;IAOpC;;;;;;OAMG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,iCAAiC,GAC1C,OAAO,CAAC,IAAI,CAAC;IAOhB;;;;;OAKG;IACH,OAAO,CAAC,iBAAiB;IAWzB;;;;;;OAMG;IACH,OAAO,CAAC,qBAAqB;CAW9B"}
@@ -6,10 +6,10 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
  import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
- import { setContinuationToken } from "../pagingHelper";
9
+ import { setContinuationToken } from "../pagingHelper.js";
10
10
  import * as coreClient from "@azure/core-client";
11
- import * as Mappers from "../models/mappers";
12
- import * as Parameters from "../models/parameters";
11
+ import * as Mappers from "../models/mappers.js";
12
+ import * as Parameters from "../models/parameters.js";
13
13
  /// <reference lib="esnext.asynciterable" />
14
14
  /** Class containing BotConnection operations. */
15
15
  export class BotConnectionImpl {
@@ -0,0 +1 @@
1
+ {"version":3,"file":"botConnection.js","sourceRoot":"","sources":["../../../src/operations/botConnection.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAqBtD,4CAA4C;AAC5C,iDAAiD;AACjD,MAAM,OAAO,iBAAiB;IAG5B;;;OAGG;IACH,YAAY,MAAuB;QACjC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,gBAAgB,CACrB,iBAAyB,EACzB,YAAoB,EACpB,OAAqD;QAErD,MAAM,IAAI,GAAG,IAAI,CAAC,yBAAyB,CACzC,iBAAiB,EACjB,YAAY,EACZ,OAAO,CACR,CAAC;QACF,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,0BAA0B,CACpC,iBAAiB,EACjB,YAAY,EACZ,OAAO,EACP,QAAQ,CACT,CAAC;YACJ,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,0BAA0B,CACvC,iBAAyB,EACzB,YAAoB,EACpB,OAAqD,EACrD,QAAuB;;YAEvB,IAAI,MAA6C,CAAC;YAClD,IAAI,iBAAiB,GAAG,QA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6BAA6B,GAA6B;IAC9D,IAAI,EACF,0IAA0I;IAC5I,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,6BAA6B;SAClD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,cAAc;KAC1B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,iCAAiC,GAA6B;IAClE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,6BAA6B;SAClD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { BotConnection } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { AzureBotService } from \"../azureBotService.js\";\nimport {\n ConnectionSetting,\n BotConnectionListByBotServiceNextOptionalParams,\n BotConnectionListByBotServiceOptionalParams,\n BotConnectionListByBotServiceResponse,\n BotConnectionListServiceProvidersOptionalParams,\n BotConnectionListServiceProvidersResponse,\n BotConnectionListWithSecretsOptionalParams,\n BotConnectionListWithSecretsResponse,\n BotConnectionCreateOptionalParams,\n BotConnectionCreateResponse,\n BotConnectionUpdateOptionalParams,\n BotConnectionUpdateResponse,\n BotConnectionGetOptionalParams,\n BotConnectionGetResponse,\n BotConnectionDeleteOptionalParams,\n BotConnectionListByBotServiceNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing BotConnection operations. */\nexport class BotConnectionImpl implements BotConnection {\n private readonly client: AzureBotService;\n\n /**\n * Initialize a new instance of the class BotConnection class.\n * @param client Reference to the service client\n */\n constructor(client: AzureBotService) {\n this.client = client;\n }\n\n /**\n * Returns all the Connection Settings registered to a particular BotService resource\n * @param resourceGroupName The name of the Bot resource group in the user subscription.\n * @param resourceName The name of the Bot resource.\n * @param options The options parameters.\n */\n public listByBotService(\n resourceGroupName: string,\n resourceName: string,\n options?: BotConnectionListByBotServiceOptionalParams\n ): PagedAsyncIterableIterator<ConnectionSetting> {\n const iter = this.listByBotServicePagingAll(\n resourceGroupName,\n resourceName,\n options\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByBotServicePagingPage(\n resourceGroupName,\n resourceName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listByBotServicePagingPage(\n resourceGroupName: string,\n resourceName: string,\n options?: BotConnectionListByBotServiceOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<ConnectionSetting[]> {\n let result: BotConnectionListByBotServiceResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByBotService(\n resourceGroupName,\n resourceName,\n options\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByBotServiceNext(\n resourceGroupName,\n resourceName,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByBotServicePagingAll(\n resourceGroupName: string,\n resourceName: string,\n options?: BotConnectionListByBotServiceOptionalParams\n ): AsyncIterableIterator<ConnectionSetting> {\n for await (const page of this.listByBotServicePagingPage(\n resourceGroupName,\n resourceName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists the available Service Providers for creating Connection Settings\n * @param options The options parameters.\n */\n listServiceProviders(\n options?: BotConnectionListServiceProvidersOptionalParams\n ): Promise<BotConnectionListServiceProvidersResponse> {\n return this.client.sendOperationRequest(\n { options },\n listServiceProvidersOperationSpec\n );\n }\n\n /**\n * Get a Connection Setting registration for a Bot Service\n * @param resourceGroupName The name of the Bot resource group in the user subscription.\n * @param resourceName The name of the Bot resource.\n * @param connectionName The name of the Bot Service Connection Setting resource.\n * @param options The options parameters.\n */\n listWithSecrets(\n resourceGroupName: string,\n resourceName: string,\n connectionName: string,\n options?: BotConnectionListWithSecretsOptionalParams\n ): Promise<BotConnectionListWithSecretsResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, connectionName, options },\n listWithSecretsOperationSpec\n );\n }\n\n /**\n * Register a new Auth Connection for a Bot Service\n * @param resourceGroupName The name of the Bot resource group in the user subscription.\n * @param resourceName The name of the Bot resource.\n * @param connectionName The name of the Bot Service Connection Setting resource.\n * @param parameters The parameters to provide for creating the Connection Setting.\n * @param options The options parameters.\n */\n create(\n resourceGroupName: string,\n resourceName: string,\n connectionName: string,\n parameters: ConnectionSetting,\n options?: BotConnectionCreateOptionalParams\n ): Promise<BotConnectionCreateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, connectionName, parameters, options },\n createOperationSpec\n );\n }\n\n /**\n * Updates a Connection Setting registration for a Bot Service\n * @param resourceGroupName The name of the Bot resource group in the user subscription.\n * @param resourceName The name of the Bot resource.\n * @param connectionName The name of the Bot Service Connection Setting resource.\n * @param parameters The parameters to provide for updating the Connection Setting.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n resourceName: string,\n connectionName: string,\n parameters: ConnectionSetting,\n options?: BotConnectionUpdateOptionalParams\n ): Promise<BotConnectionUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, connectionName, parameters, options },\n updateOperationSpec\n );\n }\n\n /**\n * Get a Connection Setting registration for a Bot Service\n * @param resourceGroupName The name of the Bot resource group in the user subscription.\n * @param resourceName The name of the Bot resource.\n * @param connectionName The name of the Bot Service Connection Setting resource.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n resourceName: string,\n connectionName: string,\n options?: BotConnectionGetOptionalParams\n ): Promise<BotConnectionGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, connectionName, options },\n getOperationSpec\n );\n }\n\n /**\n * Deletes a Connection Setting registration for a Bot Service\n * @param resourceGroupName The name of the Bot resource group in the user subscription.\n * @param resourceName The name of the Bot resource.\n * @param connectionName The name of the Bot Service Connection Setting resource.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n resourceName: string,\n connectionName: string,\n options?: BotConnectionDeleteOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, connectionName, options },\n deleteOperationSpec\n );\n }\n\n /**\n * Returns all the Connection Settings registered to a particular BotService resource\n * @param resourceGroupName The name of the Bot resource group in the user subscription.\n * @param resourceName The name of the Bot resource.\n * @param options The options parameters.\n */\n private _listByBotService(\n resourceGroupName: string,\n resourceName: string,\n options?: BotConnectionListByBotServiceOptionalParams\n ): Promise<BotConnectionListByBotServiceResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, options },\n listByBotServiceOperationSpec\n );\n }\n\n /**\n * ListByBotServiceNext\n * @param resourceGroupName The name of the Bot resource group in the user subscription.\n * @param resourceName The name of the Bot resource.\n * @param nextLink The nextLink from the previous successful call to the ListByBotService method.\n * @param options The options parameters.\n */\n private _listByBotServiceNext(\n resourceGroupName: string,\n resourceName: string,\n nextLink: string,\n options?: BotConnectionListByBotServiceNextOptionalParams\n ): Promise<BotConnectionListByBotServiceNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, nextLink, options },\n listByBotServiceNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listServiceProvidersOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.BotService/listAuthServiceProviders\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.ServiceProviderResponseList\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listWithSecretsOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BotService/botServices/{resourceName}/connections/{connectionName}/listWithSecrets\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConnectionSetting\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.subscriptionId,\n Parameters.connectionName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BotService/botServices/{resourceName}/connections/{connectionName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConnectionSetting\n },\n 201: {\n bodyMapper: Mappers.ConnectionSetting\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n requestBody: Parameters.parameters6,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.subscriptionId,\n Parameters.connectionName\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BotService/botServices/{resourceName}/connections/{connectionName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConnectionSetting\n },\n 201: {\n bodyMapper: Mappers.ConnectionSetting\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n requestBody: Parameters.parameters6,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.subscriptionId,\n Parameters.connectionName\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BotService/botServices/{resourceName}/connections/{connectionName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConnectionSetting\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.subscriptionId,\n Parameters.connectionName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BotService/botServices/{resourceName}/connections/{connectionName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.subscriptionId,\n Parameters.connectionName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByBotServiceOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BotService/botServices/{resourceName}/connections\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConnectionSettingResponseList\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByBotServiceNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ConnectionSettingResponseList\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.subscriptionId,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
@@ -1,7 +1,7 @@
1
1
  import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { Bots } from "../operationsInterfaces";
3
- import { AzureBotService } from "../azureBotService";
4
- import { Bot, BotsListByResourceGroupOptionalParams, BotsListOptionalParams, BotsCreateOptionalParams, BotsCreateResponse, BotsUpdateOptionalParams, BotsUpdateResponse, BotsDeleteOptionalParams, BotsGetOptionalParams, BotsGetResponse, CheckNameAvailabilityRequestBody, BotsGetCheckNameAvailabilityOptionalParams, BotsGetCheckNameAvailabilityResponse } from "../models";
2
+ import { Bots } from "../operationsInterfaces/index.js";
3
+ import { AzureBotService } from "../azureBotService.js";
4
+ import { Bot, BotsListByResourceGroupOptionalParams, BotsListOptionalParams, BotsCreateOptionalParams, BotsCreateResponse, BotsUpdateOptionalParams, BotsUpdateResponse, BotsDeleteOptionalParams, BotsGetOptionalParams, BotsGetResponse, CheckNameAvailabilityRequestBody, BotsGetCheckNameAvailabilityOptionalParams, BotsGetCheckNameAvailabilityResponse } from "../models/index.js";
5
5
  /** Class containing Bots operations. */
6
6
  export declare class BotsImpl implements Bots {
7
7
  private readonly client;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bots.d.ts","sourceRoot":"","sources":["../../../src/operations/bots.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,IAAI,EAAE,MAAM,kCAAkC,CAAC;AAIxD,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EACL,GAAG,EAEH,qCAAqC,EAGrC,sBAAsB,EAEtB,wBAAwB,EACxB,kBAAkB,EAClB,wBAAwB,EACxB,kBAAkB,EAClB,wBAAwB,EACxB,qBAAqB,EACrB,eAAe,EACf,gCAAgC,EAChC,0CAA0C,EAC1C,oCAAoC,EAGrC,MAAM,oBAAoB,CAAC;AAG5B,wCAAwC;AACxC,qBAAa,QAAS,YAAW,IAAI;IACnC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAkB;IAEzC;;;OAGG;gBACS,MAAM,EAAE,eAAe;IAInC;;;;OAIG;IACI,mBAAmB,CACxB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,qCAAqC,GAC9C,0BAA0B,CAAC,GAAG,CAAC;YAsBnB,6BAA6B;YA2B7B,4BAA4B;IAY3C;;;OAGG;IACI,IAAI,CACT,OAAO,CAAC,EAAE,sBAAsB,GAC/B,0BAA0B,CAAC,GAAG,CAAC;YAkBnB,cAAc;YAsBd,aAAa;IAQ5B;;;;;;OAMG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,UAAU,EAAE,GAAG,EACf,OAAO,CAAC,EAAE,wBAAwB,GACjC,OAAO,CAAC,kBAAkB,CAAC;IAO9B;;;;;OAKG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,wBAAwB,GACjC,OAAO,CAAC,kBAAkB,CAAC;IAO9B;;;;;OAKG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,wBAAwB,GACjC,OAAO,CAAC,IAAI,CAAC;IAOhB;;;;;OAKG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,qBAAqB,GAC9B,OAAO,CAAC,eAAe,CAAC;IAO3B;;;;OAIG;IACH,OAAO,CAAC,oBAAoB;IAU5B;;;OAGG;IACH,OAAO,CAAC,KAAK;IAIb;;;;OAIG;IACH,wBAAwB,CACtB,UAAU,EAAE,gCAAgC,EAC5C,OAAO,CAAC,EAAE,0CAA0C,GACnD,OAAO,CAAC,oCAAoC,CAAC;IAOhD;;;;;OAKG;IACH,OAAO,CAAC,wBAAwB;IAWhC;;;;OAIG;IACH,OAAO,CAAC,SAAS;CASlB"}
@@ -6,10 +6,10 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
  import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
- import { setContinuationToken } from "../pagingHelper";
9
+ import { setContinuationToken } from "../pagingHelper.js";
10
10
  import * as coreClient from "@azure/core-client";
11
- import * as Mappers from "../models/mappers";
12
- import * as Parameters from "../models/parameters";
11
+ import * as Mappers from "../models/mappers.js";
12
+ import * as Parameters from "../models/parameters.js";
13
13
  /// <reference lib="esnext.asynciterable" />
14
14
  /** Class containing Bots operations. */
15
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AAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,eAAe;SACpC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { Bots } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { AzureBotService } from \"../azureBotService.js\";\nimport {\n Bot,\n BotsListByResourceGroupNextOptionalParams,\n BotsListByResourceGroupOptionalParams,\n BotsListByResourceGroupResponse,\n BotsListNextOptionalParams,\n BotsListOptionalParams,\n BotsListResponse,\n BotsCreateOptionalParams,\n BotsCreateResponse,\n BotsUpdateOptionalParams,\n BotsUpdateResponse,\n BotsDeleteOptionalParams,\n BotsGetOptionalParams,\n BotsGetResponse,\n CheckNameAvailabilityRequestBody,\n BotsGetCheckNameAvailabilityOptionalParams,\n BotsGetCheckNameAvailabilityResponse,\n BotsListByResourceGroupNextResponse,\n BotsListNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Bots operations. */\nexport class BotsImpl implements Bots {\n private readonly client: AzureBotService;\n\n /**\n * Initialize a new instance of the class Bots class.\n * @param client Reference to the service client\n */\n constructor(client: AzureBotService) {\n this.client = client;\n }\n\n /**\n * Returns all the resources of a particular type belonging to a resource group\n * @param resourceGroupName The name of the Bot resource group in the user subscription.\n * @param options The options parameters.\n */\n public listByResourceGroup(\n resourceGroupName: string,\n options?: BotsListByResourceGroupOptionalParams\n ): PagedAsyncIterableIterator<Bot> {\n const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listByResourceGroupPagingPage(\n resourceGroupName: string,\n options?: BotsListByResourceGroupOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<Bot[]> {\n let result: BotsListByResourceGroupResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByResourceGroup(resourceGroupName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByResourceGroupNext(\n resourceGroupName,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByResourceGroupPagingAll(\n resourceGroupName: string,\n options?: BotsListByResourceGroupOptionalParams\n ): AsyncIterableIterator<Bot> {\n for await (const page of this.listByResourceGroupPagingPage(\n resourceGroupName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Returns all the resources of a particular type belonging to a subscription.\n * @param options The options parameters.\n */\n public list(\n options?: BotsListOptionalParams\n ): PagedAsyncIterableIterator<Bot> {\n const iter = this.listPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(options, settings);\n }\n };\n }\n\n private async *listPagingPage(\n options?: BotsListOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<Bot[]> {\n let result: BotsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n options?: BotsListOptionalParams\n ): AsyncIterableIterator<Bot> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Creates a Bot Service. Bot Service is a resource group wide resource type.\n * @param resourceGroupName The name of the Bot resource group in the user subscription.\n * @param resourceName The name of the Bot resource.\n * @param parameters The parameters to provide for the created bot.\n * @param options The options parameters.\n */\n create(\n resourceGroupName: string,\n resourceName: string,\n parameters: Bot,\n options?: BotsCreateOptionalParams\n ): Promise<BotsCreateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, parameters, options },\n createOperationSpec\n );\n }\n\n /**\n * Updates a Bot Service\n * @param resourceGroupName The name of the Bot resource group in the user subscription.\n * @param resourceName The name of the Bot resource.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n resourceName: string,\n options?: BotsUpdateOptionalParams\n ): Promise<BotsUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, options },\n updateOperationSpec\n );\n }\n\n /**\n * Deletes a Bot Service from the resource group.\n * @param resourceGroupName The name of the Bot resource group in the user subscription.\n * @param resourceName The name of the Bot resource.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n resourceName: string,\n options?: BotsDeleteOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, options },\n deleteOperationSpec\n );\n }\n\n /**\n * Returns a BotService specified by the parameters.\n * @param resourceGroupName The name of the Bot resource group in the user subscription.\n * @param resourceName The name of the Bot resource.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n resourceName: string,\n options?: BotsGetOptionalParams\n ): Promise<BotsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, options },\n getOperationSpec\n );\n }\n\n /**\n * Returns all the resources of a particular type belonging to a resource group\n * @param resourceGroupName The name of the Bot resource group in the user subscription.\n * @param options The options parameters.\n */\n private _listByResourceGroup(\n resourceGroupName: string,\n options?: BotsListByResourceGroupOptionalParams\n ): Promise<BotsListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec\n );\n }\n\n /**\n * Returns all the resources of a particular type belonging to a subscription.\n * @param options The options parameters.\n */\n private _list(options?: BotsListOptionalParams): Promise<BotsListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * Check whether a bot name is available.\n * @param parameters The request body parameters to provide for the check name availability request\n * @param options The options parameters.\n */\n getCheckNameAvailability(\n parameters: CheckNameAvailabilityRequestBody,\n options?: BotsGetCheckNameAvailabilityOptionalParams\n ): Promise<BotsGetCheckNameAvailabilityResponse> {\n return this.client.sendOperationRequest(\n { parameters, options },\n getCheckNameAvailabilityOperationSpec\n );\n }\n\n /**\n * ListByResourceGroupNext\n * @param resourceGroupName The name of the Bot resource group in the user subscription.\n * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.\n * @param options The options parameters.\n */\n private _listByResourceGroupNext(\n resourceGroupName: string,\n nextLink: string,\n options?: BotsListByResourceGroupNextOptionalParams\n ): Promise<BotsListByResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listByResourceGroupNextOperationSpec\n );\n }\n\n /**\n * ListNext\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n nextLink: string,\n options?: BotsListNextOptionalParams\n ): Promise<BotsListNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst createOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BotService/botServices/{resourceName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.Bot\n },\n 201: {\n bodyMapper: Mappers.Bot\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n requestBody: Parameters.parameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BotService/botServices/{resourceName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.Bot\n },\n 201: {\n bodyMapper: Mappers.Bot\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n requestBody: {\n parameterPath: {\n location: [\"options\", \"location\"],\n tags: [\"options\", \"tags\"],\n sku: [\"options\", \"sku\"],\n kind: [\"options\", \"kind\"],\n etag: [\"options\", \"etag\"],\n properties: [\"options\", \"properties\"]\n },\n mapper: { ...Mappers.Bot, required: true }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BotService/botServices/{resourceName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BotService/botServices/{resourceName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Bot\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BotService/botServices\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.BotResponseList\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.BotService/botServices\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.BotResponseList\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getCheckNameAvailabilityOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.BotService/checkNameAvailability\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.CheckNameAvailabilityResponseBody\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n requestBody: Parameters.parameters2,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer\n};\nconst listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.BotResponseList\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.BotResponseList\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
@@ -1,7 +1,7 @@
1
1
  import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { Channels } from "../operationsInterfaces";
3
- import { AzureBotService } from "../azureBotService";
4
- import { BotChannel, ChannelsListByResourceGroupOptionalParams, ChannelName, ChannelsCreateOptionalParams, ChannelsCreateResponse, ChannelsUpdateOptionalParams, ChannelsUpdateResponse, ChannelsDeleteOptionalParams, ChannelsGetOptionalParams, ChannelsGetResponse, ChannelsListWithKeysOptionalParams, ChannelsListWithKeysResponse } from "../models";
2
+ import { Channels } from "../operationsInterfaces/index.js";
3
+ import { AzureBotService } from "../azureBotService.js";
4
+ import { BotChannel, ChannelsListByResourceGroupOptionalParams, ChannelName, ChannelsCreateOptionalParams, ChannelsCreateResponse, ChannelsUpdateOptionalParams, ChannelsUpdateResponse, ChannelsDeleteOptionalParams, ChannelsGetOptionalParams, ChannelsGetResponse, ChannelsListWithKeysOptionalParams, ChannelsListWithKeysResponse } from "../models/index.js";
5
5
  /** Class containing Channels operations. */
6
6
  export declare class ChannelsImpl implements Channels {
7
7
  private readonly client;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"channels.d.ts","sourceRoot":"","sources":["../../../src/operations/channels.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAI5D,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EACL,UAAU,EAEV,yCAAyC,EAEzC,WAAW,EACX,4BAA4B,EAC5B,sBAAsB,EACtB,4BAA4B,EAC5B,sBAAsB,EACtB,4BAA4B,EAC5B,yBAAyB,EACzB,mBAAmB,EACnB,kCAAkC,EAClC,4BAA4B,EAE7B,MAAM,oBAAoB,CAAC;AAG5B,4CAA4C;AAC5C,qBAAa,YAAa,YAAW,QAAQ;IAC3C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAkB;IAEzC;;;OAGG;gBACS,MAAM,EAAE,eAAe;IAInC;;;;;OAKG;IACI,mBAAmB,CACxB,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,yCAAyC,GAClD,0BAA0B,CAAC,UAAU,CAAC;YA2B1B,6BAA6B;YAiC7B,4BAA4B;IAc3C;;;;;;;OAOG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,WAAW,EAAE,WAAW,EACxB,UAAU,EAAE,UAAU,EACtB,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,sBAAsB,CAAC;IAOlC;;;;;;OAMG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,WAAW,EAAE,WAAW,EACxB,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,sBAAsB,CAAC;IAOlC;;;;;;OAMG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,IAAI,CAAC;IAOhB;;;;;;OAMG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,yBAAyB,GAClC,OAAO,CAAC,mBAAmB,CAAC;IAO/B;;;;;;OAMG;IACH,YAAY,CACV,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,WAAW,EAAE,WAAW,EACxB,OAAO,CAAC,EAAE,kCAAkC,GAC3C,OAAO,CAAC,4BAA4B,CAAC;IAOxC;;;;;OAKG;IACH,OAAO,CAAC,oBAAoB;IAW5B;;;;;;OAMG;IACH,OAAO,CAAC,wBAAwB;CAWjC"}
@@ -6,10 +6,10 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
  import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
- import { setContinuationToken } from "../pagingHelper";
9
+ import { setContinuationToken } from "../pagingHelper.js";
10
10
  import * as coreClient from "@azure/core-client";
11
- import * as Mappers from "../models/mappers";
12
- import * as Parameters from "../models/parameters";
11
+ import * as Mappers from "../models/mappers.js";
12
+ import * as Parameters from "../models/parameters.js";
13
13
  /// <reference lib="esnext.asynciterable" />
14
14
  /** Class containing Channels operations. */
15
15
  export class ChannelsImpl {
@@ -0,0 +1 @@
1
+ {"version":3,"file":"channels.js","sourceRoot":"","sources":["../../../src/operations/channels.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EA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,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,oCAAoC,GAA6B;IACrE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { Channels } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { AzureBotService } from \"../azureBotService.js\";\nimport {\n BotChannel,\n ChannelsListByResourceGroupNextOptionalParams,\n ChannelsListByResourceGroupOptionalParams,\n ChannelsListByResourceGroupResponse,\n ChannelName,\n ChannelsCreateOptionalParams,\n ChannelsCreateResponse,\n ChannelsUpdateOptionalParams,\n ChannelsUpdateResponse,\n ChannelsDeleteOptionalParams,\n ChannelsGetOptionalParams,\n ChannelsGetResponse,\n ChannelsListWithKeysOptionalParams,\n ChannelsListWithKeysResponse,\n ChannelsListByResourceGroupNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Channels operations. */\nexport class ChannelsImpl implements Channels {\n private readonly client: AzureBotService;\n\n /**\n * Initialize a new instance of the class Channels class.\n * @param client Reference to the service client\n */\n constructor(client: AzureBotService) {\n this.client = client;\n }\n\n /**\n * Returns all the Channel registrations of a particular BotService resource\n * @param resourceGroupName The name of the Bot resource group in the user subscription.\n * @param resourceName The name of the Bot resource.\n * @param options The options parameters.\n */\n public listByResourceGroup(\n resourceGroupName: string,\n resourceName: string,\n options?: ChannelsListByResourceGroupOptionalParams\n ): PagedAsyncIterableIterator<BotChannel> {\n const iter = this.listByResourceGroupPagingAll(\n resourceGroupName,\n resourceName,\n options\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByResourceGroupPagingPage(\n resourceGroupName,\n resourceName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listByResourceGroupPagingPage(\n resourceGroupName: string,\n resourceName: string,\n options?: ChannelsListByResourceGroupOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<BotChannel[]> {\n let result: ChannelsListByResourceGroupResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByResourceGroup(\n resourceGroupName,\n resourceName,\n options\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByResourceGroupNext(\n resourceGroupName,\n resourceName,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByResourceGroupPagingAll(\n resourceGroupName: string,\n resourceName: string,\n options?: ChannelsListByResourceGroupOptionalParams\n ): AsyncIterableIterator<BotChannel> {\n for await (const page of this.listByResourceGroupPagingPage(\n resourceGroupName,\n resourceName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Creates a Channel registration for a Bot Service\n * @param resourceGroupName The name of the Bot resource group in the user subscription.\n * @param resourceName The name of the Bot resource.\n * @param channelName The name of the Channel resource.\n * @param parameters The parameters to provide for the created bot.\n * @param options The options parameters.\n */\n create(\n resourceGroupName: string,\n resourceName: string,\n channelName: ChannelName,\n parameters: BotChannel,\n options?: ChannelsCreateOptionalParams\n ): Promise<ChannelsCreateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, channelName, parameters, options },\n createOperationSpec\n );\n }\n\n /**\n * Updates a Channel registration for a Bot Service\n * @param resourceGroupName The name of the Bot resource group in the user subscription.\n * @param resourceName The name of the Bot resource.\n * @param channelName The name of the Channel resource.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n resourceName: string,\n channelName: ChannelName,\n options?: ChannelsUpdateOptionalParams\n ): Promise<ChannelsUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, channelName, options },\n updateOperationSpec\n );\n }\n\n /**\n * Deletes a Channel registration from a Bot Service\n * @param resourceGroupName The name of the Bot resource group in the user subscription.\n * @param resourceName The name of the Bot resource.\n * @param channelName The name of the Bot resource.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n resourceName: string,\n channelName: string,\n options?: ChannelsDeleteOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, channelName, options },\n deleteOperationSpec\n );\n }\n\n /**\n * Returns a BotService Channel registration specified by the parameters.\n * @param resourceGroupName The name of the Bot resource group in the user subscription.\n * @param resourceName The name of the Bot resource.\n * @param channelName The name of the Bot resource.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n resourceName: string,\n channelName: string,\n options?: ChannelsGetOptionalParams\n ): Promise<ChannelsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, channelName, options },\n getOperationSpec\n );\n }\n\n /**\n * Lists a Channel registration for a Bot Service including secrets\n * @param resourceGroupName The name of the Bot resource group in the user subscription.\n * @param resourceName The name of the Bot resource.\n * @param channelName The name of the Channel resource.\n * @param options The options parameters.\n */\n listWithKeys(\n resourceGroupName: string,\n resourceName: string,\n channelName: ChannelName,\n options?: ChannelsListWithKeysOptionalParams\n ): Promise<ChannelsListWithKeysResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, channelName, options },\n listWithKeysOperationSpec\n );\n }\n\n /**\n * Returns all the Channel registrations of a particular BotService resource\n * @param resourceGroupName The name of the Bot resource group in the user subscription.\n * @param resourceName The name of the Bot resource.\n * @param options The options parameters.\n */\n private _listByResourceGroup(\n resourceGroupName: string,\n resourceName: string,\n options?: ChannelsListByResourceGroupOptionalParams\n ): Promise<ChannelsListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, options },\n listByResourceGroupOperationSpec\n );\n }\n\n /**\n * ListByResourceGroupNext\n * @param resourceGroupName The name of the Bot resource group in the user subscription.\n * @param resourceName The name of the Bot resource.\n * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.\n * @param options The options parameters.\n */\n private _listByResourceGroupNext(\n resourceGroupName: string,\n resourceName: string,\n nextLink: string,\n options?: ChannelsListByResourceGroupNextOptionalParams\n ): Promise<ChannelsListByResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, nextLink, options },\n listByResourceGroupNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst createOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BotService/botServices/{resourceName}/channels/{channelName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.BotChannel\n },\n 201: {\n bodyMapper: Mappers.BotChannel\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n requestBody: Parameters.parameters3,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.subscriptionId,\n Parameters.channelName\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BotService/botServices/{resourceName}/channels/{channelName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.BotChannel\n },\n 201: {\n bodyMapper: Mappers.BotChannel\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n requestBody: {\n parameterPath: {\n location: [\"options\", \"location\"],\n tags: [\"options\", \"tags\"],\n sku: [\"options\", \"sku\"],\n kind: [\"options\", \"kind\"],\n etag: [\"options\", \"etag\"],\n properties: [\"options\", \"properties\"]\n },\n mapper: { ...Mappers.BotChannel, required: true }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.subscriptionId,\n Parameters.channelName\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BotService/botServices/{resourceName}/channels/{channelName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.subscriptionId,\n Parameters.channelName1\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BotService/botServices/{resourceName}/channels/{channelName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.BotChannel\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.subscriptionId,\n Parameters.channelName1\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listWithKeysOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BotService/botServices/{resourceName}/channels/{channelName}/listChannelWithKeys\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.ListChannelWithKeysResponse\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.subscriptionId,\n Parameters.channelName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BotService/botServices/{resourceName}/channels\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ChannelResponseList\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ChannelResponseList\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.subscriptionId,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
@@ -1,6 +1,6 @@
1
- import { DirectLine } from "../operationsInterfaces";
2
- import { AzureBotService } from "../azureBotService";
3
- import { SiteInfo, RegenerateKeysChannelName, DirectLineRegenerateKeysOptionalParams, DirectLineRegenerateKeysResponse } from "../models";
1
+ import { DirectLine } from "../operationsInterfaces/index.js";
2
+ import { AzureBotService } from "../azureBotService.js";
3
+ import { SiteInfo, RegenerateKeysChannelName, DirectLineRegenerateKeysOptionalParams, DirectLineRegenerateKeysResponse } from "../models/index.js";
4
4
  /** Class containing DirectLine operations. */
5
5
  export declare class DirectLineImpl implements DirectLine {
6
6
  private readonly client;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"directLine.d.ts","sourceRoot":"","sources":["../../../src/operations/directLine.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAI9D,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EACL,QAAQ,EACR,yBAAyB,EACzB,sCAAsC,EACtC,gCAAgC,EACjC,MAAM,oBAAoB,CAAC;AAE5B,8CAA8C;AAC9C,qBAAa,cAAe,YAAW,UAAU;IAC/C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAkB;IAEzC;;;OAGG;gBACS,MAAM,EAAE,eAAe;IAInC;;;;;;;;OAQG;IACH,cAAc,CACZ,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,WAAW,EAAE,yBAAyB,EACtC,UAAU,EAAE,QAAQ,EACpB,OAAO,CAAC,EAAE,sCAAsC,GAC/C,OAAO,CAAC,gCAAgC,CAAC;CAM7C"}
@@ -6,8 +6,8 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
  import * as coreClient from "@azure/core-client";
9
- import * as Mappers from "../models/mappers";
10
- import * as Parameters from "../models/parameters";
9
+ import * as Mappers from "../models/mappers.js";
10
+ import * as Parameters from "../models/parameters.js";
11
11
  /** Class containing DirectLine operations. */
12
12
  export class DirectLineImpl {
13
13
  /**
@@ -0,0 +1 @@
1
+ {"version":3,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IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { DirectLine } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { AzureBotService } from \"../azureBotService.js\";\nimport {\n SiteInfo,\n RegenerateKeysChannelName,\n DirectLineRegenerateKeysOptionalParams,\n DirectLineRegenerateKeysResponse\n} from \"../models/index.js\";\n\n/** Class containing DirectLine operations. */\nexport class DirectLineImpl implements DirectLine {\n private readonly client: AzureBotService;\n\n /**\n * Initialize a new instance of the class DirectLine class.\n * @param client Reference to the service client\n */\n constructor(client: AzureBotService) {\n this.client = client;\n }\n\n /**\n * Regenerates secret keys and returns them for the DirectLine Channel of a particular BotService\n * resource\n * @param resourceGroupName The name of the Bot resource group in the user subscription.\n * @param resourceName The name of the Bot resource.\n * @param channelName The name of the Channel resource for which keys are to be regenerated.\n * @param parameters The parameters to provide for the created bot.\n * @param options The options parameters.\n */\n regenerateKeys(\n resourceGroupName: string,\n resourceName: string,\n channelName: RegenerateKeysChannelName,\n parameters: SiteInfo,\n options?: DirectLineRegenerateKeysOptionalParams\n ): Promise<DirectLineRegenerateKeysResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, channelName, parameters, options },\n regenerateKeysOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst regenerateKeysOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BotService/botServices/{resourceName}/channels/{channelName}/regeneratekeys\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.BotChannel\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n requestBody: Parameters.parameters5,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.subscriptionId,\n Parameters.channelName2\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer\n};\n"]}
@@ -1,6 +1,6 @@
1
- import { Email } from "../operationsInterfaces";
2
- import { AzureBotService } from "../azureBotService";
3
- import { EmailCreateSignInUrlOptionalParams, EmailCreateSignInUrlResponse } from "../models";
1
+ import { Email } from "../operationsInterfaces/index.js";
2
+ import { AzureBotService } from "../azureBotService.js";
3
+ import { EmailCreateSignInUrlOptionalParams, EmailCreateSignInUrlResponse } from "../models/index.js";
4
4
  /** Class containing Email operations. */
5
5
  export declare class EmailImpl implements Email {
6
6
  private readonly client;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"email.d.ts","sourceRoot":"","sources":["../../../src/operations/email.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,KAAK,EAAE,MAAM,kCAAkC,CAAC;AAIzD,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EACL,kCAAkC,EAClC,4BAA4B,EAC7B,MAAM,oBAAoB,CAAC;AAE5B,yCAAyC;AACzC,qBAAa,SAAU,YAAW,KAAK;IACrC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAkB;IAEzC;;;OAGG;gBACS,MAAM,EAAE,eAAe;IAInC;;;;;OAKG;IACH,eAAe,CACb,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,kCAAkC,GAC3C,OAAO,CAAC,4BAA4B,CAAC;CAMzC"}
@@ -6,8 +6,8 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
  import * as coreClient from "@azure/core-client";
9
- import * as Mappers from "../models/mappers";
10
- import * as Parameters from "../models/parameters";
9
+ import * as Mappers from "../models/mappers.js";
10
+ import * as Parameters from "../models/parameters.js";
11
11
  /** Class containing Email operations. */
12
12
  export class EmailImpl {
13
13
  /**
@@ -0,0 +1 @@
1
+ {"version":3,"file":"email.js","sourceRoot":"","sources":["../../../src/operations/email.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAOtD,yCAAyC;AACzC,MAAM,OAAO,SAAS;IAGpB;;;OAGG;IACH,YAAY,MAAuB;QACjC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACH,eAAe,CACb,iBAAyB,EACzB,YAAoB,EACpB,OAA4C;QAE5C,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,iBAAiB,EAAE,YAAY,EAAE,OAAO,EAAE,EAC5C,4BAA4B,CAC7B,CAAC;IACJ,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,4BAA4B,GAA6B;IAC7D,IAAI,EACF,mJAAmJ;IACrJ,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,4BAA4B;SACjD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,cAAc;KAC1B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { Email } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { AzureBotService } from \"../azureBotService.js\";\nimport {\n EmailCreateSignInUrlOptionalParams,\n EmailCreateSignInUrlResponse\n} from \"../models/index.js\";\n\n/** Class containing Email operations. */\nexport class EmailImpl implements Email {\n private readonly client: AzureBotService;\n\n /**\n * Initialize a new instance of the class Email class.\n * @param client Reference to the service client\n */\n constructor(client: AzureBotService) {\n this.client = client;\n }\n\n /**\n * Creates an email channel sign in url for a Bot Service\n * @param resourceGroupName The name of the Bot resource group in the user subscription.\n * @param resourceName The name of the Bot resource.\n * @param options The options parameters.\n */\n createSignInUrl(\n resourceGroupName: string,\n resourceName: string,\n options?: EmailCreateSignInUrlOptionalParams\n ): Promise<EmailCreateSignInUrlResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, options },\n createSignInUrlOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst createSignInUrlOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BotService/botServices/{resourceName}/createEmailSignInUrl\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.CreateEmailSignInUrlResponse\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
@@ -1,6 +1,6 @@
1
- import { HostSettings } from "../operationsInterfaces";
2
- import { AzureBotService } from "../azureBotService";
3
- import { HostSettingsGetOptionalParams, HostSettingsGetResponse } from "../models";
1
+ import { HostSettings } from "../operationsInterfaces/index.js";
2
+ import { AzureBotService } from "../azureBotService.js";
3
+ import { HostSettingsGetOptionalParams, HostSettingsGetResponse } from "../models/index.js";
4
4
  /** Class containing HostSettings operations. */
5
5
  export declare class HostSettingsImpl implements HostSettings {
6
6
  private readonly client;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hostSettings.d.ts","sourceRoot":"","sources":["../../../src/operations/hostSettings.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAIhE,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EACL,6BAA6B,EAC7B,uBAAuB,EACxB,MAAM,oBAAoB,CAAC;AAE5B,gDAAgD;AAChD,qBAAa,gBAAiB,YAAW,YAAY;IACnD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAkB;IAEzC;;;OAGG;gBACS,MAAM,EAAE,eAAe;IAInC;;;OAGG;IACH,GAAG,CACD,OAAO,CAAC,EAAE,6BAA6B,GACtC,OAAO,CAAC,uBAAuB,CAAC;CAGpC"}
@@ -6,8 +6,8 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
  import * as coreClient from "@azure/core-client";
9
- import * as Mappers from "../models/mappers";
10
- import * as Parameters from "../models/parameters";
9
+ import * as Mappers from "../models/mappers.js";
10
+ import * as Parameters from "../models/parameters.js";
11
11
  /** Class containing HostSettings operations. */
12
12
  export class HostSettingsImpl {
13
13
  /**
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hostSettings.js","sourceRoot":"","sources":["../../../src/operations/hostSettings.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAOtD,gDAAgD;AAChD,MAAM,OAAO,gBAAgB;IAG3B;;;OAGG;IACH,YAAY,MAAuB;QACjC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACH,GAAG,CACD,OAAuC;QAEvC,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,EAAE,OAAO,EAAE,EAAE,gBAAgB,CAAC,CAAC;IACzE,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,gBAAgB,GAA6B;IACjD,IAAI,EACF,6EAA6E;IAC/E,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,oBAAoB;SACzC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,cAAc,CAAC;IAC5D,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { HostSettings } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { AzureBotService } from \"../azureBotService.js\";\nimport {\n HostSettingsGetOptionalParams,\n HostSettingsGetResponse\n} from \"../models/index.js\";\n\n/** Class containing HostSettings operations. */\nexport class HostSettingsImpl implements HostSettings {\n private readonly client: AzureBotService;\n\n /**\n * Initialize a new instance of the class HostSettings class.\n * @param client Reference to the service client\n */\n constructor(client: AzureBotService) {\n this.client = client;\n }\n\n /**\n * Get per subscription settings needed to host bot in compute resource such as Azure App Service\n * @param options The options parameters.\n */\n get(\n options?: HostSettingsGetOptionalParams\n ): Promise<HostSettingsGetResponse> {\n return this.client.sendOperationRequest({ options }, getOperationSpec);\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.BotService/hostSettings\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.HostSettingsResponse\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
@@ -0,0 +1,12 @@
1
+ export * from "./bots.js";
2
+ export * from "./channels.js";
3
+ export * from "./directLine.js";
4
+ export * from "./email.js";
5
+ export * from "./operations.js";
6
+ export * from "./botConnection.js";
7
+ export * from "./qnAMakerEndpointKeys.js";
8
+ export * from "./hostSettings.js";
9
+ export * from "./operationResults.js";
10
+ export * from "./privateEndpointConnections.js";
11
+ export * from "./privateLinkResources.js";
12
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,iCAAiC,CAAC;AAChD,cAAc,2BAA2B,CAAC"}
@@ -0,0 +1,19 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ export * from "./bots.js";
9
+ export * from "./channels.js";
10
+ export * from "./directLine.js";
11
+ export * from "./email.js";
12
+ export * from "./operations.js";
13
+ export * from "./botConnection.js";
14
+ export * from "./qnAMakerEndpointKeys.js";
15
+ export * from "./hostSettings.js";
16
+ export * from "./operationResults.js";
17
+ export * from "./privateEndpointConnections.js";
18
+ export * from "./privateLinkResources.js";
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,iCAAiC,CAAC;AAChD,cAAc,2BAA2B,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nexport * from \"./bots.js\";\nexport * from \"./channels.js\";\nexport * from \"./directLine.js\";\nexport * from \"./email.js\";\nexport * from \"./operations.js\";\nexport * from \"./botConnection.js\";\nexport * from \"./qnAMakerEndpointKeys.js\";\nexport * from \"./hostSettings.js\";\nexport * from \"./operationResults.js\";\nexport * from \"./privateEndpointConnections.js\";\nexport * from \"./privateLinkResources.js\";\n"]}
@@ -1,7 +1,7 @@
1
- import { OperationResults } from "../operationsInterfaces";
2
- import { AzureBotService } from "../azureBotService";
1
+ import { OperationResults } from "../operationsInterfaces/index.js";
2
+ import { AzureBotService } from "../azureBotService.js";
3
3
  import { PollerLike, PollOperationState } from "@azure/core-lro";
4
- import { OperationResultsGetOptionalParams, OperationResultsGetResponse } from "../models";
4
+ import { OperationResultsGetOptionalParams, OperationResultsGetResponse } from "../models/index.js";
5
5
  /** Class containing OperationResults operations. */
6
6
  export declare class OperationResultsImpl implements OperationResults {
7
7
  private readonly client;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operationResults.d.ts","sourceRoot":"","sources":["../../../src/operations/operationResults.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AAIpE,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAa,MAAM,iBAAiB,CAAC;AAE5E,OAAO,EACL,iCAAiC,EACjC,2BAA2B,EAC5B,MAAM,oBAAoB,CAAC;AAE5B,oDAAoD;AACpD,qBAAa,oBAAqB,YAAW,gBAAgB;IAC3D,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAkB;IAEzC;;;OAGG;gBACS,MAAM,EAAE,eAAe;IAInC;;;;OAIG;IACG,QAAQ,CACZ,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,iCAAiC,GAC1C,OAAO,CACR,UAAU,CACR,kBAAkB,CAAC,2BAA2B,CAAC,EAC/C,2BAA2B,CAC5B,CACF;IAqDD;;;;OAIG;IACG,eAAe,CACnB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,iCAAiC,GAC1C,OAAO,CAAC,2BAA2B,CAAC;CAIxC"}
@@ -0,0 +1,99 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import * as coreClient from "@azure/core-client";
9
+ import * as Mappers from "../models/mappers.js";
10
+ import * as Parameters from "../models/parameters.js";
11
+ import { LroEngine } from "@azure/core-lro";
12
+ import { LroImpl } from "../lroImpl.js";
13
+ /** Class containing OperationResults operations. */
14
+ export class OperationResultsImpl {
15
+ /**
16
+ * Initialize a new instance of the class OperationResults class.
17
+ * @param client Reference to the service client
18
+ */
19
+ constructor(client) {
20
+ this.client = client;
21
+ }
22
+ /**
23
+ * Get the operation result for a long running operation.
24
+ * @param operationResultId The ID of the operation result to get.
25
+ * @param options The options parameters.
26
+ */
27
+ async beginGet(operationResultId, options) {
28
+ const directSendOperation = async (args, spec) => {
29
+ return this.client.sendOperationRequest(args, spec);
30
+ };
31
+ const sendOperation = async (args, spec) => {
32
+ var _a;
33
+ let currentRawResponse = undefined;
34
+ const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
35
+ const callback = (rawResponse, flatResponse) => {
36
+ currentRawResponse = rawResponse;
37
+ providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
38
+ };
39
+ const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
40
+ const flatResponse = await directSendOperation(updatedArgs, spec);
41
+ return {
42
+ flatResponse,
43
+ rawResponse: {
44
+ statusCode: currentRawResponse.status,
45
+ body: currentRawResponse.parsedBody,
46
+ headers: currentRawResponse.headers.toJSON()
47
+ }
48
+ };
49
+ };
50
+ const lro = new LroImpl(sendOperation, { operationResultId, options }, getOperationSpec);
51
+ const poller = new LroEngine(lro, {
52
+ resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
53
+ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
54
+ });
55
+ await poller.poll();
56
+ return poller;
57
+ }
58
+ /**
59
+ * Get the operation result for a long running operation.
60
+ * @param operationResultId The ID of the operation result to get.
61
+ * @param options The options parameters.
62
+ */
63
+ async beginGetAndWait(operationResultId, options) {
64
+ const poller = await this.beginGet(operationResultId, options);
65
+ return poller.pollUntilDone();
66
+ }
67
+ }
68
+ // Operation Specifications
69
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
70
+ const getOperationSpec = {
71
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.BotService/operationresults/{operationResultId}",
72
+ httpMethod: "GET",
73
+ responses: {
74
+ 200: {
75
+ bodyMapper: Mappers.OperationResultsDescription
76
+ },
77
+ 201: {
78
+ bodyMapper: Mappers.OperationResultsDescription
79
+ },
80
+ 202: {
81
+ bodyMapper: Mappers.OperationResultsDescription
82
+ },
83
+ 204: {
84
+ bodyMapper: Mappers.OperationResultsDescription
85
+ },
86
+ default: {
87
+ bodyMapper: Mappers.ErrorModel
88
+ }
89
+ },
90
+ queryParameters: [Parameters.apiVersion],
91
+ urlParameters: [
92
+ Parameters.$host,
93
+ Parameters.subscriptionId,
94
+ Parameters.operationResultId
95
+ ],
96
+ headerParameters: [Parameters.accept],
97
+ serializer
98
+ };
99
+ //# sourceMappingURL=operationResults.js.map