@azure/arm-support 2.1.1-alpha.20231017.1 → 2.2.0-beta.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 (435) hide show
  1. package/CHANGELOG.md +111 -10
  2. package/README.md +1 -1
  3. package/dist/index.js +2451 -300
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.min.js +1 -1
  6. package/dist/index.min.js.map +1 -1
  7. package/dist-esm/samples-dev/chatTranscriptsGetSample.d.ts +2 -0
  8. package/dist-esm/samples-dev/chatTranscriptsGetSample.d.ts.map +1 -0
  9. package/dist-esm/samples-dev/chatTranscriptsGetSample.js +38 -0
  10. package/dist-esm/samples-dev/chatTranscriptsGetSample.js.map +1 -0
  11. package/dist-esm/samples-dev/chatTranscriptsListSample.d.ts +2 -0
  12. package/dist-esm/samples-dev/chatTranscriptsListSample.d.ts.map +1 -0
  13. package/dist-esm/samples-dev/{getsListOfProblemClassificationsForAServiceForWhichASupportTicketCanBeCreated.js → chatTranscriptsListSample.js} +18 -11
  14. package/dist-esm/samples-dev/chatTranscriptsListSample.js.map +1 -0
  15. package/dist-esm/samples-dev/chatTranscriptsNoSubscriptionGetSample.d.ts +2 -0
  16. package/dist-esm/samples-dev/chatTranscriptsNoSubscriptionGetSample.d.ts.map +1 -0
  17. package/dist-esm/samples-dev/chatTranscriptsNoSubscriptionGetSample.js +37 -0
  18. package/dist-esm/samples-dev/chatTranscriptsNoSubscriptionGetSample.js.map +1 -0
  19. package/dist-esm/samples-dev/communicationsCheckNameAvailabilitySample.js +1 -1
  20. package/dist-esm/samples-dev/communicationsCreateSample.js +1 -1
  21. package/dist-esm/samples-dev/communicationsGetSample.js +1 -1
  22. package/dist-esm/samples-dev/communicationsListSample.js +3 -3
  23. package/dist-esm/samples-dev/communicationsNoSubscriptionCheckNameAvailabilitySample.d.ts +2 -0
  24. package/dist-esm/samples-dev/communicationsNoSubscriptionCheckNameAvailabilitySample.d.ts.map +1 -0
  25. package/dist-esm/samples-dev/{checksWhetherNameIsAvailableForCommunicationResource.js → communicationsNoSubscriptionCheckNameAvailabilitySample.js} +15 -7
  26. package/dist-esm/samples-dev/communicationsNoSubscriptionCheckNameAvailabilitySample.js.map +1 -0
  27. package/dist-esm/samples-dev/communicationsNoSubscriptionCreateSample.d.ts +2 -0
  28. package/dist-esm/samples-dev/communicationsNoSubscriptionCreateSample.d.ts.map +1 -0
  29. package/dist-esm/samples-dev/{addCommunicationToSubscriptionTicket.js → communicationsNoSubscriptionCreateSample.js} +15 -9
  30. package/dist-esm/samples-dev/communicationsNoSubscriptionCreateSample.js.map +1 -0
  31. package/dist-esm/samples-dev/communicationsNoSubscriptionGetSample.d.ts +2 -0
  32. package/dist-esm/samples-dev/communicationsNoSubscriptionGetSample.d.ts.map +1 -0
  33. package/dist-esm/samples-dev/{getCommunicationDetailsForASubscriptionSupportTicket.js → communicationsNoSubscriptionGetSample.js} +15 -9
  34. package/dist-esm/samples-dev/communicationsNoSubscriptionGetSample.js.map +1 -0
  35. package/dist-esm/samples-dev/fileWorkspacesCreateSample.d.ts +2 -0
  36. package/dist-esm/samples-dev/fileWorkspacesCreateSample.d.ts.map +1 -0
  37. package/dist-esm/samples-dev/fileWorkspacesCreateSample.js +37 -0
  38. package/dist-esm/samples-dev/fileWorkspacesCreateSample.js.map +1 -0
  39. package/dist-esm/samples-dev/fileWorkspacesGetSample.d.ts +2 -0
  40. package/dist-esm/samples-dev/fileWorkspacesGetSample.d.ts.map +1 -0
  41. package/dist-esm/samples-dev/fileWorkspacesGetSample.js +37 -0
  42. package/dist-esm/samples-dev/fileWorkspacesGetSample.js.map +1 -0
  43. package/dist-esm/samples-dev/fileWorkspacesNoSubscriptionCreateSample.d.ts +2 -0
  44. package/dist-esm/samples-dev/fileWorkspacesNoSubscriptionCreateSample.d.ts.map +1 -0
  45. package/dist-esm/samples-dev/fileWorkspacesNoSubscriptionCreateSample.js +36 -0
  46. package/dist-esm/samples-dev/fileWorkspacesNoSubscriptionCreateSample.js.map +1 -0
  47. package/dist-esm/samples-dev/fileWorkspacesNoSubscriptionGetSample.d.ts +2 -0
  48. package/dist-esm/samples-dev/fileWorkspacesNoSubscriptionGetSample.d.ts.map +1 -0
  49. package/dist-esm/samples-dev/fileWorkspacesNoSubscriptionGetSample.js +36 -0
  50. package/dist-esm/samples-dev/fileWorkspacesNoSubscriptionGetSample.js.map +1 -0
  51. package/dist-esm/samples-dev/filesCreateSample.d.ts +2 -0
  52. package/dist-esm/samples-dev/filesCreateSample.d.ts.map +1 -0
  53. package/dist-esm/samples-dev/filesCreateSample.js +43 -0
  54. package/dist-esm/samples-dev/filesCreateSample.js.map +1 -0
  55. package/dist-esm/samples-dev/filesGetSample.d.ts +2 -0
  56. package/dist-esm/samples-dev/filesGetSample.d.ts.map +1 -0
  57. package/dist-esm/samples-dev/filesGetSample.js +38 -0
  58. package/dist-esm/samples-dev/filesGetSample.js.map +1 -0
  59. package/dist-esm/samples-dev/filesListSample.d.ts +2 -0
  60. package/dist-esm/samples-dev/filesListSample.d.ts.map +1 -0
  61. package/dist-esm/samples-dev/{getAllOperations.js → filesListSample.js} +18 -10
  62. package/dist-esm/samples-dev/filesListSample.js.map +1 -0
  63. package/dist-esm/samples-dev/filesNoSubscriptionCreateSample.d.ts +2 -0
  64. package/dist-esm/samples-dev/filesNoSubscriptionCreateSample.d.ts.map +1 -0
  65. package/dist-esm/samples-dev/filesNoSubscriptionCreateSample.js +42 -0
  66. package/dist-esm/samples-dev/filesNoSubscriptionCreateSample.js.map +1 -0
  67. package/dist-esm/samples-dev/filesNoSubscriptionGetSample.d.ts +2 -0
  68. package/dist-esm/samples-dev/filesNoSubscriptionGetSample.d.ts.map +1 -0
  69. package/dist-esm/samples-dev/filesNoSubscriptionGetSample.js +37 -0
  70. package/dist-esm/samples-dev/filesNoSubscriptionGetSample.js.map +1 -0
  71. package/dist-esm/samples-dev/filesNoSubscriptionListSample.d.ts +2 -0
  72. package/dist-esm/samples-dev/filesNoSubscriptionListSample.d.ts.map +1 -0
  73. package/dist-esm/samples-dev/filesNoSubscriptionListSample.js +57 -0
  74. package/dist-esm/samples-dev/filesNoSubscriptionListSample.js.map +1 -0
  75. package/dist-esm/samples-dev/filesNoSubscriptionUploadSample.d.ts +2 -0
  76. package/dist-esm/samples-dev/filesNoSubscriptionUploadSample.d.ts.map +1 -0
  77. package/dist-esm/samples-dev/filesNoSubscriptionUploadSample.js +41 -0
  78. package/dist-esm/samples-dev/filesNoSubscriptionUploadSample.js.map +1 -0
  79. package/dist-esm/samples-dev/filesUploadSample.d.ts +2 -0
  80. package/dist-esm/samples-dev/filesUploadSample.d.ts.map +1 -0
  81. package/dist-esm/samples-dev/filesUploadSample.js +42 -0
  82. package/dist-esm/samples-dev/filesUploadSample.js.map +1 -0
  83. package/dist-esm/samples-dev/operationsListSample.js +1 -1
  84. package/dist-esm/samples-dev/problemClassificationsGetSample.js +2 -4
  85. package/dist-esm/samples-dev/problemClassificationsGetSample.js.map +1 -1
  86. package/dist-esm/samples-dev/problemClassificationsListSample.js +2 -4
  87. package/dist-esm/samples-dev/problemClassificationsListSample.js.map +1 -1
  88. package/dist-esm/samples-dev/servicesGetSample.js +2 -4
  89. package/dist-esm/samples-dev/servicesGetSample.js.map +1 -1
  90. package/dist-esm/samples-dev/servicesListSample.js +2 -4
  91. package/dist-esm/samples-dev/servicesListSample.js.map +1 -1
  92. package/dist-esm/samples-dev/supportTicketChatTranscriptsNoSubscriptionListSample.d.ts +2 -0
  93. package/dist-esm/samples-dev/supportTicketChatTranscriptsNoSubscriptionListSample.d.ts.map +1 -0
  94. package/dist-esm/samples-dev/{listSupportTicketsForASubscription.js → supportTicketChatTranscriptsNoSubscriptionListSample.js} +18 -11
  95. package/dist-esm/samples-dev/supportTicketChatTranscriptsNoSubscriptionListSample.js.map +1 -0
  96. package/dist-esm/samples-dev/supportTicketCommunicationsNoSubscriptionListSample.d.ts +2 -0
  97. package/dist-esm/samples-dev/supportTicketCommunicationsNoSubscriptionListSample.d.ts.map +1 -0
  98. package/dist-esm/samples-dev/supportTicketCommunicationsNoSubscriptionListSample.js +139 -0
  99. package/dist-esm/samples-dev/supportTicketCommunicationsNoSubscriptionListSample.js.map +1 -0
  100. package/dist-esm/samples-dev/supportTicketsCheckNameAvailabilitySample.js +1 -1
  101. package/dist-esm/samples-dev/supportTicketsCreateSample.js +54 -17
  102. package/dist-esm/samples-dev/supportTicketsCreateSample.js.map +1 -1
  103. package/dist-esm/samples-dev/supportTicketsGetSample.js +1 -1
  104. package/dist-esm/samples-dev/supportTicketsListSample.js +170 -14
  105. package/dist-esm/samples-dev/supportTicketsListSample.js.map +1 -1
  106. package/dist-esm/samples-dev/supportTicketsNoSubscriptionCheckNameAvailabilitySample.d.ts +2 -0
  107. package/dist-esm/samples-dev/supportTicketsNoSubscriptionCheckNameAvailabilitySample.d.ts.map +1 -0
  108. package/dist-esm/samples-dev/{checksWhetherNameIsAvailableForSupportTicketResource.js → supportTicketsNoSubscriptionCheckNameAvailabilitySample.js} +15 -7
  109. package/dist-esm/samples-dev/supportTicketsNoSubscriptionCheckNameAvailabilitySample.js.map +1 -0
  110. package/dist-esm/samples-dev/supportTicketsNoSubscriptionCreateSample.d.ts +2 -0
  111. package/dist-esm/samples-dev/supportTicketsNoSubscriptionCreateSample.d.ts.map +1 -0
  112. package/dist-esm/samples-dev/supportTicketsNoSubscriptionCreateSample.js +127 -0
  113. package/dist-esm/samples-dev/supportTicketsNoSubscriptionCreateSample.js.map +1 -0
  114. package/dist-esm/samples-dev/supportTicketsNoSubscriptionGetSample.d.ts +2 -0
  115. package/dist-esm/samples-dev/supportTicketsNoSubscriptionGetSample.d.ts.map +1 -0
  116. package/dist-esm/samples-dev/supportTicketsNoSubscriptionGetSample.js +36 -0
  117. package/dist-esm/samples-dev/supportTicketsNoSubscriptionGetSample.js.map +1 -0
  118. package/dist-esm/samples-dev/supportTicketsNoSubscriptionListSample.d.ts +2 -0
  119. package/dist-esm/samples-dev/supportTicketsNoSubscriptionListSample.d.ts.map +1 -0
  120. package/dist-esm/samples-dev/supportTicketsNoSubscriptionListSample.js +284 -0
  121. package/dist-esm/samples-dev/supportTicketsNoSubscriptionListSample.js.map +1 -0
  122. package/dist-esm/samples-dev/supportTicketsNoSubscriptionUpdateSample.d.ts +2 -0
  123. package/dist-esm/samples-dev/supportTicketsNoSubscriptionUpdateSample.d.ts.map +1 -0
  124. package/dist-esm/samples-dev/supportTicketsNoSubscriptionUpdateSample.js +102 -0
  125. package/dist-esm/samples-dev/supportTicketsNoSubscriptionUpdateSample.js.map +1 -0
  126. package/dist-esm/samples-dev/supportTicketsUpdateSample.js +29 -9
  127. package/dist-esm/samples-dev/supportTicketsUpdateSample.js.map +1 -1
  128. package/dist-esm/src/lroImpl.d.ts +6 -11
  129. package/dist-esm/src/lroImpl.d.ts.map +1 -1
  130. package/dist-esm/src/lroImpl.js +12 -20
  131. package/dist-esm/src/lroImpl.js.map +1 -1
  132. package/dist-esm/src/microsoftSupport.d.ts +13 -2
  133. package/dist-esm/src/microsoftSupport.d.ts.map +1 -1
  134. package/dist-esm/src/microsoftSupport.js +20 -12
  135. package/dist-esm/src/microsoftSupport.js.map +1 -1
  136. package/dist-esm/src/models/index.d.ts +431 -23
  137. package/dist-esm/src/models/index.d.ts.map +1 -1
  138. package/dist-esm/src/models/index.js +32 -0
  139. package/dist-esm/src/models/index.js.map +1 -1
  140. package/dist-esm/src/models/mappers.d.ts +17 -3
  141. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  142. package/dist-esm/src/models/mappers.js +443 -19
  143. package/dist-esm/src/models/mappers.js.map +1 -1
  144. package/dist-esm/src/models/parameters.d.ts +6 -0
  145. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  146. package/dist-esm/src/models/parameters.js +53 -2
  147. package/dist-esm/src/models/parameters.js.map +1 -1
  148. package/dist-esm/src/operations/chatTranscripts.d.ts +42 -0
  149. package/dist-esm/src/operations/chatTranscripts.d.ts.map +1 -0
  150. package/dist-esm/src/operations/chatTranscripts.js +180 -0
  151. package/dist-esm/src/operations/chatTranscripts.js.map +1 -0
  152. package/dist-esm/src/operations/chatTranscriptsNoSubscription.d.ts +20 -0
  153. package/dist-esm/src/operations/chatTranscriptsNoSubscription.d.ts.map +1 -0
  154. package/dist-esm/src/operations/chatTranscriptsNoSubscription.js +52 -0
  155. package/dist-esm/src/operations/chatTranscriptsNoSubscription.js.map +1 -0
  156. package/dist-esm/src/operations/communications.d.ts +2 -2
  157. package/dist-esm/src/operations/communications.d.ts.map +1 -1
  158. package/dist-esm/src/operations/communications.js +21 -17
  159. package/dist-esm/src/operations/communications.js.map +1 -1
  160. package/dist-esm/src/operations/communicationsNoSubscription.d.ts +45 -0
  161. package/dist-esm/src/operations/communicationsNoSubscription.d.ts.map +1 -0
  162. package/dist-esm/src/operations/communicationsNoSubscription.js +177 -0
  163. package/dist-esm/src/operations/communicationsNoSubscription.js.map +1 -0
  164. package/dist-esm/src/operations/fileWorkspaces.d.ts +25 -0
  165. package/dist-esm/src/operations/fileWorkspaces.d.ts.map +1 -0
  166. package/dist-esm/src/operations/fileWorkspaces.js +79 -0
  167. package/dist-esm/src/operations/fileWorkspaces.js.map +1 -0
  168. package/dist-esm/src/operations/fileWorkspacesNoSubscription.d.ts +25 -0
  169. package/dist-esm/src/operations/fileWorkspacesNoSubscription.d.ts.map +1 -0
  170. package/dist-esm/src/operations/fileWorkspacesNoSubscription.js +71 -0
  171. package/dist-esm/src/operations/fileWorkspacesNoSubscription.js.map +1 -0
  172. package/dist-esm/src/operations/files.d.ts +58 -0
  173. package/dist-esm/src/operations/files.d.ts.map +1 -0
  174. package/dist-esm/src/operations/files.js +244 -0
  175. package/dist-esm/src/operations/files.js.map +1 -0
  176. package/dist-esm/src/operations/filesNoSubscription.d.ts +58 -0
  177. package/dist-esm/src/operations/filesNoSubscription.d.ts.map +1 -0
  178. package/dist-esm/src/operations/filesNoSubscription.js +236 -0
  179. package/dist-esm/src/operations/filesNoSubscription.js.map +1 -0
  180. package/dist-esm/src/operations/index.d.ts +10 -0
  181. package/dist-esm/src/operations/index.d.ts.map +1 -1
  182. package/dist-esm/src/operations/index.js +10 -0
  183. package/dist-esm/src/operations/index.js.map +1 -1
  184. package/dist-esm/src/operations/operations.js +1 -1
  185. package/dist-esm/src/operations/operations.js.map +1 -1
  186. package/dist-esm/src/operations/problemClassifications.js +2 -2
  187. package/dist-esm/src/operations/problemClassifications.js.map +1 -1
  188. package/dist-esm/src/operations/services.js +2 -2
  189. package/dist-esm/src/operations/services.js.map +1 -1
  190. package/dist-esm/src/operations/supportTicketChatTranscriptsNoSubscription.d.ts +35 -0
  191. package/dist-esm/src/operations/supportTicketChatTranscriptsNoSubscription.d.ts.map +1 -0
  192. package/dist-esm/src/operations/supportTicketChatTranscriptsNoSubscription.js +145 -0
  193. package/dist-esm/src/operations/supportTicketChatTranscriptsNoSubscription.js.map +1 -0
  194. package/dist-esm/src/operations/supportTicketCommunicationsNoSubscription.d.ts +45 -0
  195. package/dist-esm/src/operations/supportTicketCommunicationsNoSubscription.d.ts.map +1 -0
  196. package/dist-esm/src/operations/supportTicketCommunicationsNoSubscription.js +155 -0
  197. package/dist-esm/src/operations/supportTicketCommunicationsNoSubscription.js.map +1 -0
  198. package/dist-esm/src/operations/supportTickets.d.ts +15 -17
  199. package/dist-esm/src/operations/supportTickets.d.ts.map +1 -1
  200. package/dist-esm/src/operations/supportTickets.js +30 -28
  201. package/dist-esm/src/operations/supportTickets.js.map +1 -1
  202. package/dist-esm/src/operations/supportTicketsNoSubscription.d.ts +98 -0
  203. package/dist-esm/src/operations/supportTicketsNoSubscription.d.ts.map +1 -0
  204. package/dist-esm/src/operations/supportTicketsNoSubscription.js +332 -0
  205. package/dist-esm/src/operations/supportTicketsNoSubscription.js.map +1 -0
  206. package/dist-esm/src/operationsInterfaces/chatTranscripts.d.ts +19 -0
  207. package/dist-esm/src/operationsInterfaces/chatTranscripts.d.ts.map +1 -0
  208. package/dist-esm/src/operationsInterfaces/chatTranscripts.js +9 -0
  209. package/dist-esm/src/operationsInterfaces/chatTranscripts.js.map +1 -0
  210. package/dist-esm/src/operationsInterfaces/chatTranscriptsNoSubscription.d.ts +12 -0
  211. package/dist-esm/src/operationsInterfaces/chatTranscriptsNoSubscription.d.ts.map +1 -0
  212. package/dist-esm/src/operationsInterfaces/chatTranscriptsNoSubscription.js +9 -0
  213. package/dist-esm/src/operationsInterfaces/chatTranscriptsNoSubscription.js.map +1 -0
  214. package/dist-esm/src/operationsInterfaces/communications.d.ts +2 -2
  215. package/dist-esm/src/operationsInterfaces/communications.d.ts.map +1 -1
  216. package/dist-esm/src/operationsInterfaces/communicationsNoSubscription.d.ts +37 -0
  217. package/dist-esm/src/operationsInterfaces/communicationsNoSubscription.d.ts.map +1 -0
  218. package/dist-esm/src/operationsInterfaces/communicationsNoSubscription.js +9 -0
  219. package/dist-esm/src/operationsInterfaces/communicationsNoSubscription.js.map +1 -0
  220. package/dist-esm/src/operationsInterfaces/fileWorkspaces.d.ts +17 -0
  221. package/dist-esm/src/operationsInterfaces/fileWorkspaces.d.ts.map +1 -0
  222. package/dist-esm/src/operationsInterfaces/fileWorkspaces.js +9 -0
  223. package/dist-esm/src/operationsInterfaces/fileWorkspaces.js.map +1 -0
  224. package/dist-esm/src/operationsInterfaces/fileWorkspacesNoSubscription.d.ts +17 -0
  225. package/dist-esm/src/operationsInterfaces/fileWorkspacesNoSubscription.d.ts.map +1 -0
  226. package/dist-esm/src/operationsInterfaces/fileWorkspacesNoSubscription.js +9 -0
  227. package/dist-esm/src/operationsInterfaces/fileWorkspacesNoSubscription.js.map +1 -0
  228. package/dist-esm/src/operationsInterfaces/files.d.ts +35 -0
  229. package/dist-esm/src/operationsInterfaces/files.d.ts.map +1 -0
  230. package/dist-esm/src/operationsInterfaces/files.js +9 -0
  231. package/dist-esm/src/operationsInterfaces/files.js.map +1 -0
  232. package/dist-esm/src/operationsInterfaces/filesNoSubscription.d.ts +35 -0
  233. package/dist-esm/src/operationsInterfaces/filesNoSubscription.d.ts.map +1 -0
  234. package/dist-esm/src/operationsInterfaces/filesNoSubscription.js +9 -0
  235. package/dist-esm/src/operationsInterfaces/filesNoSubscription.js.map +1 -0
  236. package/dist-esm/src/operationsInterfaces/index.d.ts +10 -0
  237. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  238. package/dist-esm/src/operationsInterfaces/index.js +10 -0
  239. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  240. package/dist-esm/src/operationsInterfaces/supportTicketChatTranscriptsNoSubscription.d.ts +12 -0
  241. package/dist-esm/src/operationsInterfaces/supportTicketChatTranscriptsNoSubscription.d.ts.map +1 -0
  242. package/dist-esm/src/operationsInterfaces/supportTicketChatTranscriptsNoSubscription.js +9 -0
  243. package/dist-esm/src/operationsInterfaces/supportTicketChatTranscriptsNoSubscription.js.map +1 -0
  244. package/dist-esm/src/operationsInterfaces/supportTicketCommunicationsNoSubscription.d.ts +17 -0
  245. package/dist-esm/src/operationsInterfaces/supportTicketCommunicationsNoSubscription.d.ts.map +1 -0
  246. package/dist-esm/src/operationsInterfaces/supportTicketCommunicationsNoSubscription.js +9 -0
  247. package/dist-esm/src/operationsInterfaces/supportTicketCommunicationsNoSubscription.js.map +1 -0
  248. package/dist-esm/src/operationsInterfaces/supportTickets.d.ts +11 -13
  249. package/dist-esm/src/operationsInterfaces/supportTickets.d.ts.map +1 -1
  250. package/dist-esm/src/operationsInterfaces/supportTicketsNoSubscription.d.ts +73 -0
  251. package/dist-esm/src/operationsInterfaces/supportTicketsNoSubscription.d.ts.map +1 -0
  252. package/dist-esm/src/operationsInterfaces/supportTicketsNoSubscription.js +9 -0
  253. package/dist-esm/src/operationsInterfaces/supportTicketsNoSubscription.js.map +1 -0
  254. package/dist-esm/test/support_operations_test.spec.d.ts +4 -0
  255. package/dist-esm/test/support_operations_test.spec.d.ts.map +1 -0
  256. package/dist-esm/test/support_operations_test.spec.js +78 -0
  257. package/dist-esm/test/support_operations_test.spec.js.map +1 -0
  258. package/package.json +16 -10
  259. package/review/arm-support.api.md +464 -19
  260. package/src/lroImpl.ts +31 -23
  261. package/src/microsoftSupport.ts +73 -7
  262. package/src/models/index.ts +513 -23
  263. package/src/models/mappers.ts +473 -19
  264. package/src/models/parameters.ts +61 -2
  265. package/src/operations/chatTranscripts.ts +215 -0
  266. package/src/operations/chatTranscriptsNoSubscription.ts +72 -0
  267. package/src/operations/communications.ts +25 -18
  268. package/src/operations/communicationsNoSubscription.ts +254 -0
  269. package/src/operations/fileWorkspaces.ts +107 -0
  270. package/src/operations/fileWorkspacesNoSubscription.ts +98 -0
  271. package/src/operations/files.ts +303 -0
  272. package/src/operations/filesNoSubscription.ts +294 -0
  273. package/src/operations/index.ts +10 -0
  274. package/src/operations/operations.ts +1 -1
  275. package/src/operations/problemClassifications.ts +2 -2
  276. package/src/operations/services.ts +2 -2
  277. package/src/operations/supportTicketChatTranscriptsNoSubscription.ts +170 -0
  278. package/src/operations/supportTicketCommunicationsNoSubscription.ts +180 -0
  279. package/src/operations/supportTickets.ts +39 -34
  280. package/src/operations/supportTicketsNoSubscription.ts +415 -0
  281. package/src/operationsInterfaces/chatTranscripts.ts +40 -0
  282. package/src/operationsInterfaces/chatTranscriptsNoSubscription.ts +27 -0
  283. package/src/operationsInterfaces/communications.ts +3 -3
  284. package/src/operationsInterfaces/communicationsNoSubscription.ts +77 -0
  285. package/src/operationsInterfaces/fileWorkspaces.ts +36 -0
  286. package/src/operationsInterfaces/fileWorkspacesNoSubscription.ts +36 -0
  287. package/src/operationsInterfaces/files.ts +70 -0
  288. package/src/operationsInterfaces/filesNoSubscription.ts +70 -0
  289. package/src/operationsInterfaces/index.ts +10 -0
  290. package/src/operationsInterfaces/supportTicketChatTranscriptsNoSubscription.ts +27 -0
  291. package/src/operationsInterfaces/supportTicketCommunicationsNoSubscription.ts +32 -0
  292. package/src/operationsInterfaces/supportTickets.ts +12 -14
  293. package/src/operationsInterfaces/supportTicketsNoSubscription.ts +120 -0
  294. package/types/arm-support.d.ts +805 -50
  295. package/dist-esm/samples-dev/addCommunicationToSubscriptionTicket.d.ts +0 -2
  296. package/dist-esm/samples-dev/addCommunicationToSubscriptionTicket.d.ts.map +0 -1
  297. package/dist-esm/samples-dev/addCommunicationToSubscriptionTicket.js.map +0 -1
  298. package/dist-esm/samples-dev/checksWhetherNameIsAvailableForCommunicationResource.d.ts +0 -2
  299. package/dist-esm/samples-dev/checksWhetherNameIsAvailableForCommunicationResource.d.ts.map +0 -1
  300. package/dist-esm/samples-dev/checksWhetherNameIsAvailableForCommunicationResource.js.map +0 -1
  301. package/dist-esm/samples-dev/checksWhetherNameIsAvailableForSupportTicketResource.d.ts +0 -2
  302. package/dist-esm/samples-dev/checksWhetherNameIsAvailableForSupportTicketResource.d.ts.map +0 -1
  303. package/dist-esm/samples-dev/checksWhetherNameIsAvailableForSupportTicketResource.js.map +0 -1
  304. package/dist-esm/samples-dev/createATicketForBillingRelatedIssues.d.ts +0 -2
  305. package/dist-esm/samples-dev/createATicketForBillingRelatedIssues.d.ts.map +0 -1
  306. package/dist-esm/samples-dev/createATicketForBillingRelatedIssues.js +0 -46
  307. package/dist-esm/samples-dev/createATicketForBillingRelatedIssues.js.map +0 -1
  308. package/dist-esm/samples-dev/createATicketForSubscriptionManagementRelatedIssues.d.ts +0 -2
  309. package/dist-esm/samples-dev/createATicketForSubscriptionManagementRelatedIssues.d.ts.map +0 -1
  310. package/dist-esm/samples-dev/createATicketForSubscriptionManagementRelatedIssues.js +0 -46
  311. package/dist-esm/samples-dev/createATicketForSubscriptionManagementRelatedIssues.js.map +0 -1
  312. package/dist-esm/samples-dev/createATicketForTechnicalIssueRelatedToASpecificResource.d.ts +0 -2
  313. package/dist-esm/samples-dev/createATicketForTechnicalIssueRelatedToASpecificResource.d.ts.map +0 -1
  314. package/dist-esm/samples-dev/createATicketForTechnicalIssueRelatedToASpecificResource.js +0 -49
  315. package/dist-esm/samples-dev/createATicketForTechnicalIssueRelatedToASpecificResource.js.map +0 -1
  316. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForActiveJobsAndJobSchedulesForABatchAccount.d.ts +0 -2
  317. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForActiveJobsAndJobSchedulesForABatchAccount.d.ts.map +0 -1
  318. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForActiveJobsAndJobSchedulesForABatchAccount.js +0 -56
  319. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForActiveJobsAndJobSchedulesForABatchAccount.js.map +0 -1
  320. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForAzureSqlManagedInstance.d.ts +0 -2
  321. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForAzureSqlManagedInstance.d.ts.map +0 -1
  322. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForAzureSqlManagedInstance.js +0 -60
  323. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForAzureSqlManagedInstance.js.map +0 -1
  324. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForBatchAccountsForASubscription.d.ts +0 -2
  325. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForBatchAccountsForASubscription.d.ts.map +0 -1
  326. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForBatchAccountsForASubscription.js +0 -53
  327. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForBatchAccountsForASubscription.js.map +0 -1
  328. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForComputeVMCores.d.ts +0 -2
  329. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForComputeVMCores.d.ts.map +0 -1
  330. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForComputeVMCores.js +0 -52
  331. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForComputeVMCores.js.map +0 -1
  332. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForDtUsForAzureSynapseAnalytics.d.ts +0 -2
  333. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForDtUsForAzureSynapseAnalytics.d.ts.map +0 -1
  334. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForDtUsForAzureSynapseAnalytics.js +0 -56
  335. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForDtUsForAzureSynapseAnalytics.js.map +0 -1
  336. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForDtUsForSqlDatabase.d.ts +0 -2
  337. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForDtUsForSqlDatabase.d.ts.map +0 -1
  338. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForDtUsForSqlDatabase.js +0 -56
  339. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForDtUsForSqlDatabase.js.map +0 -1
  340. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForLowPriorityCoresForABatchAccount.d.ts +0 -2
  341. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForLowPriorityCoresForABatchAccount.d.ts.map +0 -1
  342. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForLowPriorityCoresForABatchAccount.js +0 -56
  343. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForLowPriorityCoresForABatchAccount.js.map +0 -1
  344. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForLowPriorityCoresForMachineLearningService.d.ts +0 -2
  345. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForLowPriorityCoresForMachineLearningService.d.ts.map +0 -1
  346. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForLowPriorityCoresForMachineLearningService.js +0 -53
  347. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForLowPriorityCoresForMachineLearningService.js.map +0 -1
  348. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForPoolsForABatchAccount.d.ts +0 -2
  349. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForPoolsForABatchAccount.d.ts.map +0 -1
  350. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForPoolsForABatchAccount.js +0 -56
  351. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForPoolsForABatchAccount.js.map +0 -1
  352. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForServersForAzureSynapseAnalytics.d.ts +0 -2
  353. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForServersForAzureSynapseAnalytics.d.ts.map +0 -1
  354. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForServersForAzureSynapseAnalytics.js +0 -51
  355. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForServersForAzureSynapseAnalytics.js.map +0 -1
  356. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForServersForSqlDatabase.d.ts +0 -2
  357. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForServersForSqlDatabase.d.ts.map +0 -1
  358. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForServersForSqlDatabase.js +0 -51
  359. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForServersForSqlDatabase.js.map +0 -1
  360. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForServicesThatDoNotRequireAdditionalDetailsInTheQuotaTicketDetailsObject.d.ts +0 -2
  361. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForServicesThatDoNotRequireAdditionalDetailsInTheQuotaTicketDetailsObject.d.ts.map +0 -1
  362. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForServicesThatDoNotRequireAdditionalDetailsInTheQuotaTicketDetailsObject.js +0 -46
  363. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForServicesThatDoNotRequireAdditionalDetailsInTheQuotaTicketDetailsObject.js.map +0 -1
  364. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForSpecificVMFamilyCoresForABatchAccount.d.ts +0 -2
  365. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForSpecificVMFamilyCoresForABatchAccount.d.ts.map +0 -1
  366. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForSpecificVMFamilyCoresForABatchAccount.js +0 -56
  367. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForSpecificVMFamilyCoresForABatchAccount.js.map +0 -1
  368. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForSpecificVMFamilyCoresForMachineLearningService.d.ts +0 -2
  369. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForSpecificVMFamilyCoresForMachineLearningService.d.ts.map +0 -1
  370. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForSpecificVMFamilyCoresForMachineLearningService.js +0 -56
  371. package/dist-esm/samples-dev/createATicketToRequestQuotaIncreaseForSpecificVMFamilyCoresForMachineLearningService.js.map +0 -1
  372. package/dist-esm/samples-dev/getAllOperations.d.ts +0 -2
  373. package/dist-esm/samples-dev/getAllOperations.d.ts.map +0 -1
  374. package/dist-esm/samples-dev/getAllOperations.js.map +0 -1
  375. package/dist-esm/samples-dev/getCommunicationDetailsForASubscriptionSupportTicket.d.ts +0 -2
  376. package/dist-esm/samples-dev/getCommunicationDetailsForASubscriptionSupportTicket.d.ts.map +0 -1
  377. package/dist-esm/samples-dev/getCommunicationDetailsForASubscriptionSupportTicket.js.map +0 -1
  378. package/dist-esm/samples-dev/getDetailsOfASubscriptionTicket.d.ts +0 -2
  379. package/dist-esm/samples-dev/getDetailsOfASubscriptionTicket.d.ts.map +0 -1
  380. package/dist-esm/samples-dev/getDetailsOfASubscriptionTicket.js +0 -30
  381. package/dist-esm/samples-dev/getDetailsOfASubscriptionTicket.js.map +0 -1
  382. package/dist-esm/samples-dev/getsDetailsOfProblemClassificationForAzureService.d.ts +0 -2
  383. package/dist-esm/samples-dev/getsDetailsOfProblemClassificationForAzureService.d.ts.map +0 -1
  384. package/dist-esm/samples-dev/getsDetailsOfProblemClassificationForAzureService.js +0 -31
  385. package/dist-esm/samples-dev/getsDetailsOfProblemClassificationForAzureService.js.map +0 -1
  386. package/dist-esm/samples-dev/getsDetailsOfTheAzureService.d.ts +0 -2
  387. package/dist-esm/samples-dev/getsDetailsOfTheAzureService.d.ts.map +0 -1
  388. package/dist-esm/samples-dev/getsDetailsOfTheAzureService.js +0 -30
  389. package/dist-esm/samples-dev/getsDetailsOfTheAzureService.js.map +0 -1
  390. package/dist-esm/samples-dev/getsListOfProblemClassificationsForAServiceForWhichASupportTicketCanBeCreated.d.ts +0 -2
  391. package/dist-esm/samples-dev/getsListOfProblemClassificationsForAServiceForWhichASupportTicketCanBeCreated.d.ts.map +0 -1
  392. package/dist-esm/samples-dev/getsListOfProblemClassificationsForAServiceForWhichASupportTicketCanBeCreated.js.map +0 -1
  393. package/dist-esm/samples-dev/getsListOfServicesForWhichASupportTicketCanBeCreated.d.ts +0 -2
  394. package/dist-esm/samples-dev/getsListOfServicesForWhichASupportTicketCanBeCreated.d.ts.map +0 -1
  395. package/dist-esm/samples-dev/getsListOfServicesForWhichASupportTicketCanBeCreated.js +0 -50
  396. package/dist-esm/samples-dev/getsListOfServicesForWhichASupportTicketCanBeCreated.js.map +0 -1
  397. package/dist-esm/samples-dev/listCommunicationsForASubscriptionSupportTicket.d.ts +0 -2
  398. package/dist-esm/samples-dev/listCommunicationsForASubscriptionSupportTicket.d.ts.map +0 -1
  399. package/dist-esm/samples-dev/listCommunicationsForASubscriptionSupportTicket.js +0 -51
  400. package/dist-esm/samples-dev/listCommunicationsForASubscriptionSupportTicket.js.map +0 -1
  401. package/dist-esm/samples-dev/listSupportTicketsCreatedOnOrAfterACertainDateAndInOpenStateForASubscription.d.ts +0 -2
  402. package/dist-esm/samples-dev/listSupportTicketsCreatedOnOrAfterACertainDateAndInOpenStateForASubscription.d.ts.map +0 -1
  403. package/dist-esm/samples-dev/listSupportTicketsCreatedOnOrAfterACertainDateAndInOpenStateForASubscription.js +0 -52
  404. package/dist-esm/samples-dev/listSupportTicketsCreatedOnOrAfterACertainDateAndInOpenStateForASubscription.js.map +0 -1
  405. package/dist-esm/samples-dev/listSupportTicketsForASubscription.d.ts +0 -2
  406. package/dist-esm/samples-dev/listSupportTicketsForASubscription.d.ts.map +0 -1
  407. package/dist-esm/samples-dev/listSupportTicketsForASubscription.js.map +0 -1
  408. package/dist-esm/samples-dev/listSupportTicketsInOpenStateForASubscription.d.ts +0 -2
  409. package/dist-esm/samples-dev/listSupportTicketsInOpenStateForASubscription.d.ts.map +0 -1
  410. package/dist-esm/samples-dev/listSupportTicketsInOpenStateForASubscription.js +0 -52
  411. package/dist-esm/samples-dev/listSupportTicketsInOpenStateForASubscription.js.map +0 -1
  412. package/dist-esm/samples-dev/listWebCommunicationCreatedOnOrAfterASpecificDateForASubscriptionSupportTicket.d.ts +0 -2
  413. package/dist-esm/samples-dev/listWebCommunicationCreatedOnOrAfterASpecificDateForASubscriptionSupportTicket.d.ts.map +0 -1
  414. package/dist-esm/samples-dev/listWebCommunicationCreatedOnOrAfterASpecificDateForASubscriptionSupportTicket.js +0 -53
  415. package/dist-esm/samples-dev/listWebCommunicationCreatedOnOrAfterASpecificDateForASubscriptionSupportTicket.js.map +0 -1
  416. package/dist-esm/samples-dev/listWebCommunicationsForASubscriptionSupportTicket.d.ts +0 -2
  417. package/dist-esm/samples-dev/listWebCommunicationsForASubscriptionSupportTicket.d.ts.map +0 -1
  418. package/dist-esm/samples-dev/listWebCommunicationsForASubscriptionSupportTicket.js +0 -53
  419. package/dist-esm/samples-dev/listWebCommunicationsForASubscriptionSupportTicket.js.map +0 -1
  420. package/dist-esm/samples-dev/updateContactDetailsOfASupportTicket.d.ts +0 -2
  421. package/dist-esm/samples-dev/updateContactDetailsOfASupportTicket.d.ts.map +0 -1
  422. package/dist-esm/samples-dev/updateContactDetailsOfASupportTicket.js +0 -43
  423. package/dist-esm/samples-dev/updateContactDetailsOfASupportTicket.js.map +0 -1
  424. package/dist-esm/samples-dev/updateSeverityOfASupportTicket.d.ts +0 -2
  425. package/dist-esm/samples-dev/updateSeverityOfASupportTicket.d.ts.map +0 -1
  426. package/dist-esm/samples-dev/updateSeverityOfASupportTicket.js +0 -31
  427. package/dist-esm/samples-dev/updateSeverityOfASupportTicket.js.map +0 -1
  428. package/dist-esm/samples-dev/updateStatusOfASupportTicket.d.ts +0 -2
  429. package/dist-esm/samples-dev/updateStatusOfASupportTicket.d.ts.map +0 -1
  430. package/dist-esm/samples-dev/updateStatusOfASupportTicket.js +0 -31
  431. package/dist-esm/samples-dev/updateStatusOfASupportTicket.js.map +0 -1
  432. package/dist-esm/test/sampleTest.d.ts +0 -2
  433. package/dist-esm/test/sampleTest.d.ts.map +0 -1
  434. package/dist-esm/test/sampleTest.js +0 -38
  435. package/dist-esm/test/sampleTest.js.map +0 -1
@@ -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 { CheckNameAvailabilityInput as CheckNameAvailabilityInputMapper, UpdateSupportTicket as UpdateSupportTicketMapper, SupportTicketDetails as SupportTicketDetailsMapper, CommunicationDetails as CommunicationDetailsMapper } from "../models/mappers";
8
+ import { CheckNameAvailabilityInput as CheckNameAvailabilityInputMapper, UpdateSupportTicket as UpdateSupportTicketMapper, SupportTicketDetails as SupportTicketDetailsMapper, CommunicationDetails as CommunicationDetailsMapper, FileDetails as FileDetailsMapper, UploadFile as UploadFileMapper } from "../models/mappers";
9
9
  export const accept = {
10
10
  parameterPath: "accept",
11
11
  mapper: {
@@ -31,7 +31,7 @@ export const $host = {
31
31
  export const apiVersion = {
32
32
  parameterPath: "apiVersion",
33
33
  mapper: {
34
- defaultValue: "2020-04-01",
34
+ defaultValue: "2022-09-01-preview",
35
35
  isConstant: true,
36
36
  serializedName: "api-version",
37
37
  type: {
@@ -145,4 +145,55 @@ export const createCommunicationParameters = {
145
145
  parameterPath: "createCommunicationParameters",
146
146
  mapper: CommunicationDetailsMapper
147
147
  };
148
+ export const chatTranscriptName = {
149
+ parameterPath: "chatTranscriptName",
150
+ mapper: {
151
+ serializedName: "chatTranscriptName",
152
+ required: true,
153
+ type: {
154
+ name: "String"
155
+ }
156
+ }
157
+ };
158
+ export const fileWorkspaceName = {
159
+ parameterPath: "fileWorkspaceName",
160
+ mapper: {
161
+ serializedName: "fileWorkspaceName",
162
+ required: true,
163
+ type: {
164
+ name: "String"
165
+ }
166
+ }
167
+ };
168
+ export const fileWorkspaceName1 = {
169
+ parameterPath: "fileWorkspaceName",
170
+ mapper: {
171
+ constraints: {
172
+ Pattern: new RegExp("^[0-9a-zA-Z_\\-. ]+$")
173
+ },
174
+ serializedName: "fileWorkspaceName",
175
+ required: true,
176
+ type: {
177
+ name: "String"
178
+ }
179
+ }
180
+ };
181
+ export const fileName = {
182
+ parameterPath: "fileName",
183
+ mapper: {
184
+ serializedName: "fileName",
185
+ required: true,
186
+ type: {
187
+ name: "String"
188
+ }
189
+ }
190
+ };
191
+ export const createFileParameters = {
192
+ parameterPath: "createFileParameters",
193
+ mapper: FileDetailsMapper
194
+ };
195
+ export const uploadFile = {
196
+ parameterPath: "uploadFile",
197
+ mapper: UploadFileMapper
198
+ };
148
199
  //# sourceMappingURL=parameters.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAOH,OAAO,EACL,0BAA0B,IAAI,gCAAgC,EAC9D,mBAAmB,IAAI,yBAAyB,EAChD,oBAAoB,IAAI,0BAA0B,EAClD,oBAAoB,IAAI,0BAA0B,EACnD,MAAM,mBAAmB,CAAC;AAE3B,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,cA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J,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAA0B;IACvD,aAAa,EAAE,mBAAmB;IAClC,MAAM,EAAE;QACN,WAAW,EAAE;YACX,OAAO,EAAE,IAAI,MAAM,CAAC,sBAAsB,CAAC;SAC5C;QACD,cAAc,EAAE,mBAAmB;QACnC,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAA0B;IAC7C,aAAa,EAAE,UAAU;IACzB,MAAM,EAAE;QACN,cAAc,EAAE,UAAU;QAC1B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,oBAAoB,GAAuB;IACtD,aAAa,EAAE,sBAAsB;IACrC,MAAM,EAAE,iBAAiB;CAC1B,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAAuB;IAC5C,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE,gBAAgB;CACzB,CAAC"}
@@ -0,0 +1,42 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { ChatTranscripts } from "../operationsInterfaces";
3
+ import { MicrosoftSupport } from "../microsoftSupport";
4
+ import { ChatTranscriptDetails, ChatTranscriptsListOptionalParams, ChatTranscriptsGetOptionalParams, ChatTranscriptsGetResponse } from "../models";
5
+ /** Class containing ChatTranscripts operations. */
6
+ export declare class ChatTranscriptsImpl implements ChatTranscripts {
7
+ private readonly client;
8
+ /**
9
+ * Initialize a new instance of the class ChatTranscripts class.
10
+ * @param client Reference to the service client
11
+ */
12
+ constructor(client: MicrosoftSupport);
13
+ /**
14
+ * Lists all chat transcripts for a support ticket under subscription
15
+ * @param supportTicketName Support ticket name.
16
+ * @param options The options parameters.
17
+ */
18
+ list(supportTicketName: string, options?: ChatTranscriptsListOptionalParams): PagedAsyncIterableIterator<ChatTranscriptDetails>;
19
+ private listPagingPage;
20
+ private listPagingAll;
21
+ /**
22
+ * Lists all chat transcripts for a support ticket under subscription
23
+ * @param supportTicketName Support ticket name.
24
+ * @param options The options parameters.
25
+ */
26
+ private _list;
27
+ /**
28
+ * Returns chatTranscript details for a support ticket under a subscription.
29
+ * @param supportTicketName Support ticket name.
30
+ * @param chatTranscriptName ChatTranscript name.
31
+ * @param options The options parameters.
32
+ */
33
+ get(supportTicketName: string, chatTranscriptName: string, options?: ChatTranscriptsGetOptionalParams): Promise<ChatTranscriptsGetResponse>;
34
+ /**
35
+ * ListNext
36
+ * @param supportTicketName Support ticket name.
37
+ * @param nextLink The nextLink from the previous successful call to the List method.
38
+ * @param options The options parameters.
39
+ */
40
+ private _listNext;
41
+ }
42
+ //# sourceMappingURL=chatTranscripts.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chatTranscripts.d.ts","sourceRoot":"","sources":["../../../src/operations/chatTranscripts.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAI1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EACL,qBAAqB,EAErB,iCAAiC,EAEjC,gCAAgC,EAChC,0BAA0B,EAE3B,MAAM,WAAW,CAAC;AAGnB,mDAAmD;AACnD,qBAAa,mBAAoB,YAAW,eAAe;IACzD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAmB;IAE1C;;;OAGG;gBACS,MAAM,EAAE,gBAAgB;IAIpC;;;;OAIG;IACI,IAAI,CACT,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,iCAAiC,GAC1C,0BAA0B,CAAC,qBAAqB,CAAC;YAkBrC,cAAc;YA2Bd,aAAa;IAS5B;;;;OAIG;IACH,OAAO,CAAC,KAAK;IAUb;;;;;OAKG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,kBAAkB,EAAE,MAAM,EAC1B,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,0BAA0B,CAAC;IAOtC;;;;;OAKG;IACH,OAAO,CAAC,SAAS;CAUlB"}
@@ -0,0 +1,180 @@
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 { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
+ import { setContinuationToken } from "../pagingHelper";
10
+ import * as coreClient from "@azure/core-client";
11
+ import * as Mappers from "../models/mappers";
12
+ import * as Parameters from "../models/parameters";
13
+ /// <reference lib="esnext.asynciterable" />
14
+ /** Class containing ChatTranscripts operations. */
15
+ export class ChatTranscriptsImpl {
16
+ /**
17
+ * Initialize a new instance of the class ChatTranscripts class.
18
+ * @param client Reference to the service client
19
+ */
20
+ constructor(client) {
21
+ this.client = client;
22
+ }
23
+ /**
24
+ * Lists all chat transcripts for a support ticket under subscription
25
+ * @param supportTicketName Support ticket name.
26
+ * @param options The options parameters.
27
+ */
28
+ list(supportTicketName, options) {
29
+ const iter = this.listPagingAll(supportTicketName, options);
30
+ return {
31
+ next() {
32
+ return iter.next();
33
+ },
34
+ [Symbol.asyncIterator]() {
35
+ return this;
36
+ },
37
+ byPage: (settings) => {
38
+ if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
39
+ throw new Error("maxPageSize is not supported by this operation.");
40
+ }
41
+ return this.listPagingPage(supportTicketName, options, settings);
42
+ }
43
+ };
44
+ }
45
+ listPagingPage(supportTicketName, options, settings) {
46
+ return __asyncGenerator(this, arguments, function* listPagingPage_1() {
47
+ let result;
48
+ let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
49
+ if (!continuationToken) {
50
+ result = yield __await(this._list(supportTicketName, options));
51
+ let page = result.value || [];
52
+ continuationToken = result.nextLink;
53
+ setContinuationToken(page, continuationToken);
54
+ yield yield __await(page);
55
+ }
56
+ while (continuationToken) {
57
+ result = yield __await(this._listNext(supportTicketName, continuationToken, options));
58
+ continuationToken = result.nextLink;
59
+ let page = result.value || [];
60
+ setContinuationToken(page, continuationToken);
61
+ yield yield __await(page);
62
+ }
63
+ });
64
+ }
65
+ listPagingAll(supportTicketName, options) {
66
+ return __asyncGenerator(this, arguments, function* listPagingAll_1() {
67
+ var _a, e_1, _b, _c;
68
+ try {
69
+ for (var _d = true, _e = __asyncValues(this.listPagingPage(supportTicketName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a;) {
70
+ _c = _f.value;
71
+ _d = false;
72
+ try {
73
+ const page = _c;
74
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
75
+ }
76
+ finally {
77
+ _d = true;
78
+ }
79
+ }
80
+ }
81
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
82
+ finally {
83
+ try {
84
+ if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
85
+ }
86
+ finally { if (e_1) throw e_1.error; }
87
+ }
88
+ });
89
+ }
90
+ /**
91
+ * Lists all chat transcripts for a support ticket under subscription
92
+ * @param supportTicketName Support ticket name.
93
+ * @param options The options parameters.
94
+ */
95
+ _list(supportTicketName, options) {
96
+ return this.client.sendOperationRequest({ supportTicketName, options }, listOperationSpec);
97
+ }
98
+ /**
99
+ * Returns chatTranscript details for a support ticket under a subscription.
100
+ * @param supportTicketName Support ticket name.
101
+ * @param chatTranscriptName ChatTranscript name.
102
+ * @param options The options parameters.
103
+ */
104
+ get(supportTicketName, chatTranscriptName, options) {
105
+ return this.client.sendOperationRequest({ supportTicketName, chatTranscriptName, options }, getOperationSpec);
106
+ }
107
+ /**
108
+ * ListNext
109
+ * @param supportTicketName Support ticket name.
110
+ * @param nextLink The nextLink from the previous successful call to the List method.
111
+ * @param options The options parameters.
112
+ */
113
+ _listNext(supportTicketName, nextLink, options) {
114
+ return this.client.sendOperationRequest({ supportTicketName, nextLink, options }, listNextOperationSpec);
115
+ }
116
+ }
117
+ // Operation Specifications
118
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
119
+ const listOperationSpec = {
120
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}/chatTranscripts",
121
+ httpMethod: "GET",
122
+ responses: {
123
+ 200: {
124
+ bodyMapper: Mappers.ChatTranscriptsListResult
125
+ },
126
+ default: {
127
+ bodyMapper: Mappers.ErrorResponse
128
+ }
129
+ },
130
+ queryParameters: [Parameters.apiVersion],
131
+ urlParameters: [
132
+ Parameters.$host,
133
+ Parameters.subscriptionId,
134
+ Parameters.supportTicketName
135
+ ],
136
+ headerParameters: [Parameters.accept],
137
+ serializer
138
+ };
139
+ const getOperationSpec = {
140
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}/chatTranscripts/{chatTranscriptName}",
141
+ httpMethod: "GET",
142
+ responses: {
143
+ 200: {
144
+ bodyMapper: Mappers.ChatTranscriptDetails
145
+ },
146
+ default: {
147
+ bodyMapper: Mappers.ErrorResponse
148
+ }
149
+ },
150
+ queryParameters: [Parameters.apiVersion],
151
+ urlParameters: [
152
+ Parameters.$host,
153
+ Parameters.subscriptionId,
154
+ Parameters.supportTicketName,
155
+ Parameters.chatTranscriptName
156
+ ],
157
+ headerParameters: [Parameters.accept],
158
+ serializer
159
+ };
160
+ const listNextOperationSpec = {
161
+ path: "{nextLink}",
162
+ httpMethod: "GET",
163
+ responses: {
164
+ 200: {
165
+ bodyMapper: Mappers.ChatTranscriptsListResult
166
+ },
167
+ default: {
168
+ bodyMapper: Mappers.ErrorResponse
169
+ }
170
+ },
171
+ urlParameters: [
172
+ Parameters.$host,
173
+ Parameters.subscriptionId,
174
+ Parameters.supportTicketName,
175
+ Parameters.nextLink
176
+ ],
177
+ headerParameters: [Parameters.accept],
178
+ serializer
179
+ };
180
+ //# sourceMappingURL=chatTranscripts.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chatTranscripts.js","sourceRoot":"","sources":["../../../src/operations/chatTranscripts.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAEvD,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAYnD,4CAA4C;AAC5C,mDAAmD;AACnD,MAAM,OAAO,mBAAmB;IAG9B;;;OAGG;IACH,YAAY,MAAwB;QAClC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;OAIG;IACI,IAAI,CACT,iBAAyB,EACzB,OAA2C;QAE3C,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAC;QAC5D,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;oBACzB,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;iBACpE;gBACD,OAAO,IAAI,CAAC,cAAc,CAAC,iBAAiB,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC;YACnE,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,cAAc,CAC3B,iBAAyB,EACzB,OAA2C,EAC3C,QAAuB;;YAEvB,IAAI,MAAmC,CAAC;YACxC,IAAI,iBAAiB,GAAG,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,iBAAiB,CAAC;YACpD,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BAAiB;QAC5B,UAAU,CAAC,kBAAkB;KAC9B;IACD,gBAAgB,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,yBAAyB;SAC9C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
@@ -0,0 +1,20 @@
1
+ import { ChatTranscriptsNoSubscription } from "../operationsInterfaces";
2
+ import { MicrosoftSupport } from "../microsoftSupport";
3
+ import { ChatTranscriptsNoSubscriptionGetOptionalParams, ChatTranscriptsNoSubscriptionGetResponse } from "../models";
4
+ /** Class containing ChatTranscriptsNoSubscription operations. */
5
+ export declare class ChatTranscriptsNoSubscriptionImpl implements ChatTranscriptsNoSubscription {
6
+ private readonly client;
7
+ /**
8
+ * Initialize a new instance of the class ChatTranscriptsNoSubscription class.
9
+ * @param client Reference to the service client
10
+ */
11
+ constructor(client: MicrosoftSupport);
12
+ /**
13
+ * Returns chatTranscript details for a no subscription support ticket.
14
+ * @param supportTicketName Support ticket name.
15
+ * @param chatTranscriptName ChatTranscript name.
16
+ * @param options The options parameters.
17
+ */
18
+ get(supportTicketName: string, chatTranscriptName: string, options?: ChatTranscriptsNoSubscriptionGetOptionalParams): Promise<ChatTranscriptsNoSubscriptionGetResponse>;
19
+ }
20
+ //# sourceMappingURL=chatTranscriptsNoSubscription.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chatTranscriptsNoSubscription.d.ts","sourceRoot":"","sources":["../../../src/operations/chatTranscriptsNoSubscription.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,6BAA6B,EAAE,MAAM,yBAAyB,CAAC;AAIxE,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EACL,8CAA8C,EAC9C,wCAAwC,EACzC,MAAM,WAAW,CAAC;AAEnB,iEAAiE;AACjE,qBAAa,iCACX,YAAW,6BAA6B;IACxC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAmB;IAE1C;;;OAGG;gBACS,MAAM,EAAE,gBAAgB;IAIpC;;;;;OAKG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,kBAAkB,EAAE,MAAM,EAC1B,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,wCAAwC,CAAC;CAMrD"}
@@ -0,0 +1,52 @@
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";
10
+ import * as Parameters from "../models/parameters";
11
+ /** Class containing ChatTranscriptsNoSubscription operations. */
12
+ export class ChatTranscriptsNoSubscriptionImpl {
13
+ /**
14
+ * Initialize a new instance of the class ChatTranscriptsNoSubscription class.
15
+ * @param client Reference to the service client
16
+ */
17
+ constructor(client) {
18
+ this.client = client;
19
+ }
20
+ /**
21
+ * Returns chatTranscript details for a no subscription support ticket.
22
+ * @param supportTicketName Support ticket name.
23
+ * @param chatTranscriptName ChatTranscript name.
24
+ * @param options The options parameters.
25
+ */
26
+ get(supportTicketName, chatTranscriptName, options) {
27
+ return this.client.sendOperationRequest({ supportTicketName, chatTranscriptName, options }, getOperationSpec);
28
+ }
29
+ }
30
+ // Operation Specifications
31
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
32
+ const getOperationSpec = {
33
+ path: "/providers/Microsoft.Support/supportTickets/{supportTicketName}/chatTranscripts/{chatTranscriptName}",
34
+ httpMethod: "GET",
35
+ responses: {
36
+ 200: {
37
+ bodyMapper: Mappers.ChatTranscriptDetails
38
+ },
39
+ default: {
40
+ bodyMapper: Mappers.ErrorResponse
41
+ }
42
+ },
43
+ queryParameters: [Parameters.apiVersion],
44
+ urlParameters: [
45
+ Parameters.$host,
46
+ Parameters.supportTicketName,
47
+ Parameters.chatTranscriptName
48
+ ],
49
+ headerParameters: [Parameters.accept],
50
+ serializer
51
+ };
52
+ //# sourceMappingURL=chatTranscriptsNoSubscription.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chatTranscriptsNoSubscription.js","sourceRoot":"","sources":["../../../src/operations/chatTranscriptsNoSubscription.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAOnD,iEAAiE;AACjE,MAAM,OAAO,iCAAiC;IAI5C;;;OAGG;IACH,YAAY,MAAwB;QAClC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACH,GAAG,CACD,iBAAyB,EACzB,kBAA0B,EAC1B,OAAwD;QAExD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,OAAO,EAAE,EAClD,gBAAgB,CACjB,CAAC;IACJ,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,sGAAsG;IACxG,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,qBAAqB;SAC1C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,kBAAkB;KAC9B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
2
  import { Communications } from "../operationsInterfaces";
3
3
  import { MicrosoftSupport } from "../microsoftSupport";
4
- import { PollerLike, PollOperationState } from "@azure/core-lro";
4
+ import { SimplePollerLike, OperationState } from "@azure/core-lro";
5
5
  import { CommunicationDetails, CommunicationsListOptionalParams, CheckNameAvailabilityInput, CommunicationsCheckNameAvailabilityOptionalParams, CommunicationsCheckNameAvailabilityResponse, CommunicationsGetOptionalParams, CommunicationsGetResponse, CommunicationsCreateOptionalParams, CommunicationsCreateResponse } from "../models";
6
6
  /** Class containing Communications operations. */
7
7
  export declare class CommunicationsImpl implements Communications {
@@ -57,7 +57,7 @@ export declare class CommunicationsImpl implements Communications {
57
57
  * @param createCommunicationParameters Communication object.
58
58
  * @param options The options parameters.
59
59
  */
60
- beginCreate(supportTicketName: string, communicationName: string, createCommunicationParameters: CommunicationDetails, options?: CommunicationsCreateOptionalParams): Promise<PollerLike<PollOperationState<CommunicationsCreateResponse>, CommunicationsCreateResponse>>;
60
+ beginCreate(supportTicketName: string, communicationName: string, createCommunicationParameters: CommunicationDetails, options?: CommunicationsCreateOptionalParams): Promise<SimplePollerLike<OperationState<CommunicationsCreateResponse>, CommunicationsCreateResponse>>;
61
61
  /**
62
62
  * Adds a new customer communication to an Azure support ticket.
63
63
  * @param supportTicketName Support ticket name.
@@ -1 +1 @@
1
- {"version":3,"file":"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AC3C,OAAO,CACR,UAAU,CACR,kBAAkB,CAAC,4BAA4B,CAAC,EAChD,4BAA4B,CAC7B,CACF;IA2DD;;;;;;OAMG;IACG,kBAAkB,CACtB,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,6BAA6B,EAAE,oBAAoB,EACnD,OAAO,CAAC,EAAE,kCAAkC,GAC3C,OAAO,CAAC,4BAA4B,CAAC;IAUxC;;;;;OAKG;IACH,OAAO,CAAC,SAAS;CAUlB"}
1
+ {"version":3,"file":"communications.d.ts","sourceRoot":"","sources":["../../../src/operations/communications.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAIzD,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EACL,gBAAgB,EAChB,cAAc,EAEf,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACL,oBAAoB,EAEpB,gCAAgC,EAEhC,0BAA0B,EAC1B,iDAAiD,EACjD,2CAA2C,EAC3C,+BAA+B,EAC/B,yBAAyB,EACzB,kCAAkC,EAClC,4BAA4B,EAE7B,MAAM,WAAW,CAAC;AAGnB,kDAAkD;AAClD,qBAAa,kBAAmB,YAAW,cAAc;IACvD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAmB;IAE1C;;;OAGG;gBACS,MAAM,EAAE,gBAAgB;IAIpC;;;;;;;;;OASG;IACI,IAAI,CACT,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,gCAAgC,GACzC,0BAA0B,CAAC,oBAAoB,CAAC;YAkBpC,cAAc;YA2Bd,aAAa;IAS5B;;;;;;OAMG;IACH,qBAAqB,CACnB,iBAAiB,EAAE,MAAM,EACzB,0BAA0B,EAAE,0BAA0B,EACtD,OAAO,CAAC,EAAE,iDAAiD,GAC1D,OAAO,CAAC,2CAA2C,CAAC;IAOvD;;;;;;;;;OASG;IACH,OAAO,CAAC,KAAK;IAUb;;;;;OAKG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,yBAAyB,CAAC;IAOrC;;;;;;OAMG;IACG,WAAW,CACf,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,6BAA6B,EAAE,oBAAoB,EACnD,OAAO,CAAC,EAAE,kCAAkC,GAC3C,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,4BAA4B,CAAC,EAC5C,4BAA4B,CAC7B,CACF;IA8DD;;;;;;OAMG;IACG,kBAAkB,CACtB,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,6BAA6B,EAAE,oBAAoB,EACnD,OAAO,CAAC,EAAE,kCAAkC,GAC3C,OAAO,CAAC,4BAA4B,CAAC;IAUxC;;;;;OAKG;IACH,OAAO,CAAC,SAAS;CAUlB"}
@@ -10,8 +10,8 @@ import { setContinuationToken } from "../pagingHelper";
10
10
  import * as coreClient from "@azure/core-client";
11
11
  import * as Mappers from "../models/mappers";
12
12
  import * as Parameters from "../models/parameters";
13
- import { LroEngine } from "@azure/core-lro";
14
- import { LroImpl } from "../lroImpl";
13
+ import { createHttpPoller } from "@azure/core-lro";
14
+ import { createLroSpec } from "../lroImpl";
15
15
  /// <reference lib="esnext.asynciterable" />
16
16
  /** Class containing Communications operations. */
17
17
  export class CommunicationsImpl {
@@ -138,7 +138,7 @@ export class CommunicationsImpl {
138
138
  const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
139
139
  return this.client.sendOperationRequest(args, spec);
140
140
  });
141
- const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
141
+ const sendOperationFn = (args, spec) => __awaiter(this, void 0, void 0, function* () {
142
142
  var _a;
143
143
  let currentRawResponse = undefined;
144
144
  const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
@@ -157,16 +157,20 @@ export class CommunicationsImpl {
157
157
  }
158
158
  };
159
159
  });
160
- const lro = new LroImpl(sendOperation, {
161
- supportTicketName,
162
- communicationName,
163
- createCommunicationParameters,
164
- options
165
- }, createOperationSpec);
166
- const poller = new LroEngine(lro, {
167
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
160
+ const lro = createLroSpec({
161
+ sendOperationFn,
162
+ args: {
163
+ supportTicketName,
164
+ communicationName,
165
+ createCommunicationParameters,
166
+ options
167
+ },
168
+ spec: createOperationSpec
169
+ });
170
+ const poller = yield createHttpPoller(lro, {
171
+ restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
168
172
  intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
169
- lroResourceLocationConfig: "azure-async-operation"
173
+ resourceLocationConfig: "azure-async-operation"
170
174
  });
171
175
  yield poller.poll();
172
176
  return poller;
@@ -205,7 +209,7 @@ const checkNameAvailabilityOperationSpec = {
205
209
  bodyMapper: Mappers.CheckNameAvailabilityOutput
206
210
  },
207
211
  default: {
208
- bodyMapper: Mappers.ExceptionResponse
212
+ bodyMapper: Mappers.ErrorResponse
209
213
  }
210
214
  },
211
215
  requestBody: Parameters.checkNameAvailabilityInput,
@@ -227,7 +231,7 @@ const listOperationSpec = {
227
231
  bodyMapper: Mappers.CommunicationsListResult
228
232
  },
229
233
  default: {
230
- bodyMapper: Mappers.ExceptionResponse
234
+ bodyMapper: Mappers.ErrorResponse
231
235
  }
232
236
  },
233
237
  queryParameters: [Parameters.apiVersion, Parameters.top, Parameters.filter],
@@ -247,7 +251,7 @@ const getOperationSpec = {
247
251
  bodyMapper: Mappers.CommunicationDetails
248
252
  },
249
253
  default: {
250
- bodyMapper: Mappers.ExceptionResponse
254
+ bodyMapper: Mappers.ErrorResponse
251
255
  }
252
256
  },
253
257
  queryParameters: [Parameters.apiVersion],
@@ -277,7 +281,7 @@ const createOperationSpec = {
277
281
  bodyMapper: Mappers.CommunicationDetails
278
282
  },
279
283
  default: {
280
- bodyMapper: Mappers.ExceptionResponse
284
+ bodyMapper: Mappers.ErrorResponse
281
285
  }
282
286
  },
283
287
  requestBody: Parameters.createCommunicationParameters,
@@ -300,7 +304,7 @@ const listNextOperationSpec = {
300
304
  bodyMapper: Mappers.CommunicationsListResult
301
305
  },
302
306
  default: {
303
- bodyMapper: Mappers.ExceptionResponse
307
+ bodyMapper: Mappers.ErrorResponse
304
308
  }
305
309
  },
306
310
  urlParameters: [
@@ -1 +1 @@
1
- {"version":3,"file":"communications.js","sourceRoot":"","sources":["../../../src/operations/communications.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAEvD,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAEnD,OAAO,EAAkC,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAgBrC,4CAA4C;AAC5C,kDAAkD;AAClD,MAAM,OAAO,kBAAkB;IAG7B;;;OAGG;IACH,YAAY,MAAwB;QAClC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;;;OASG;IACI,IAAI,CACT,iBAAyB,EACzB,OAA0C;QAE1C,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAC;QAC5D,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,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C,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,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,wBAAwB;SAC7C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,iBAAiB;SACtC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
1
+ {"version":3,"file":"communications.js","sourceRoot":"","sources":["../../../src/operations/communications.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAEvD,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAEnD,OAAO,EAGL,gBAAgB,EACjB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAgB3C,4CAA4C;AAC5C,kDAAkD;AAClD,MAAM,OAAO,kBAAkB;IAG7B;;;OAGG;IACH,YAAY,MAAwB;QAClC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;;;OASG;IACI,IAAI,CACT,iBAAyB,EACzB,OAA0C;QAE1C,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAC;QAC5D,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAA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AU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,iBAAiB;KAC7B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,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,wBAAwB;SAC7C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
@@ -0,0 +1,45 @@
1
+ import { CommunicationsNoSubscription } from "../operationsInterfaces";
2
+ import { MicrosoftSupport } from "../microsoftSupport";
3
+ import { SimplePollerLike, OperationState } from "@azure/core-lro";
4
+ import { CheckNameAvailabilityInput, CommunicationsNoSubscriptionCheckNameAvailabilityOptionalParams, CommunicationsNoSubscriptionCheckNameAvailabilityResponse, CommunicationsNoSubscriptionGetOptionalParams, CommunicationsNoSubscriptionGetResponse, CommunicationDetails, CommunicationsNoSubscriptionCreateOptionalParams, CommunicationsNoSubscriptionCreateResponse } from "../models";
5
+ /** Class containing CommunicationsNoSubscription operations. */
6
+ export declare class CommunicationsNoSubscriptionImpl implements CommunicationsNoSubscription {
7
+ private readonly client;
8
+ /**
9
+ * Initialize a new instance of the class CommunicationsNoSubscription class.
10
+ * @param client Reference to the service client
11
+ */
12
+ constructor(client: MicrosoftSupport);
13
+ /**
14
+ * Check the availability of a resource name. This API should be used to check the uniqueness of the
15
+ * name for adding a new communication to the support ticket.
16
+ * @param supportTicketName Support ticket name.
17
+ * @param checkNameAvailabilityInput Input to check.
18
+ * @param options The options parameters.
19
+ */
20
+ checkNameAvailability(supportTicketName: string, checkNameAvailabilityInput: CheckNameAvailabilityInput, options?: CommunicationsNoSubscriptionCheckNameAvailabilityOptionalParams): Promise<CommunicationsNoSubscriptionCheckNameAvailabilityResponse>;
21
+ /**
22
+ * Returns communication details for a support ticket.
23
+ * @param supportTicketName Support ticket name.
24
+ * @param communicationName Communication name.
25
+ * @param options The options parameters.
26
+ */
27
+ get(supportTicketName: string, communicationName: string, options?: CommunicationsNoSubscriptionGetOptionalParams): Promise<CommunicationsNoSubscriptionGetResponse>;
28
+ /**
29
+ * Adds a new customer communication to an Azure support ticket.
30
+ * @param supportTicketName Support ticket name.
31
+ * @param communicationName Communication name.
32
+ * @param createCommunicationParameters Communication object.
33
+ * @param options The options parameters.
34
+ */
35
+ beginCreate(supportTicketName: string, communicationName: string, createCommunicationParameters: CommunicationDetails, options?: CommunicationsNoSubscriptionCreateOptionalParams): Promise<SimplePollerLike<OperationState<CommunicationsNoSubscriptionCreateResponse>, CommunicationsNoSubscriptionCreateResponse>>;
36
+ /**
37
+ * Adds a new customer communication to an Azure support ticket.
38
+ * @param supportTicketName Support ticket name.
39
+ * @param communicationName Communication name.
40
+ * @param createCommunicationParameters Communication object.
41
+ * @param options The options parameters.
42
+ */
43
+ beginCreateAndWait(supportTicketName: string, communicationName: string, createCommunicationParameters: CommunicationDetails, options?: CommunicationsNoSubscriptionCreateOptionalParams): Promise<CommunicationsNoSubscriptionCreateResponse>;
44
+ }
45
+ //# sourceMappingURL=communicationsNoSubscription.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"communicationsNoSubscription.d.ts","sourceRoot":"","sources":["../../../src/operations/communicationsNoSubscription.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,4BAA4B,EAAE,M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