@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
@@ -1 +1 @@
1
- {"version":3,"file":"microsoftSupport.d.ts","sourceRoot":"","sources":["../../src/microsoftSupport.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAQ7C,OAAO,EACL,UAAU,EACV,QAAQ,EACR,sBAAsB,EACtB,cAAc,EACd,cAAc,EACf,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,8BAA8B,EAAE,MAAM,UAAU,CAAC;AAE1D,qBAAa,gBAAiB,SAAQ,UAAU,CAAC,aAAa;IAC5D,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IAEvB;;;;;OAKG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,8BAA8B;IAgF1C,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IA2BjC,UAAU,EAAE,UAAU,CAAC;IACvB,QAAQ,EAAE,QAAQ,CAAC;IACnB,sBAAsB,EAAE,sBAAsB,CAAC;IAC/C,cAAc,EAAE,cAAc,CAAC;IAC/B,cAAc,EAAE,cAAc,CAAC;CAChC"}
1
+ {"version":3,"file":"microsoftSupport.d.ts","sourceRoot":"","s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,KAAK,EAAE,KAAK,CAAC;IACb,mBAAmB,EAAE,mBAAmB,CAAC;CAC1C"}
@@ -8,21 +8,19 @@
8
8
  import { __awaiter } from "tslib";
9
9
  import * as coreClient from "@azure/core-client";
10
10
  import * as coreRestPipeline from "@azure/core-rest-pipeline";
11
- import { OperationsImpl, ServicesImpl, ProblemClassificationsImpl, SupportTicketsImpl, CommunicationsImpl } from "./operations";
11
+ import { OperationsImpl, ServicesImpl, ProblemClassificationsImpl, SupportTicketsImpl, SupportTicketsNoSubscriptionImpl, CommunicationsImpl, CommunicationsNoSubscriptionImpl, SupportTicketCommunicationsNoSubscriptionImpl, ChatTranscriptsImpl, SupportTicketChatTranscriptsNoSubscriptionImpl, ChatTranscriptsNoSubscriptionImpl, FileWorkspacesImpl, FileWorkspacesNoSubscriptionImpl, FilesImpl, FilesNoSubscriptionImpl } from "./operations";
12
12
  export class MicrosoftSupport extends coreClient.ServiceClient {
13
- /**
14
- * Initializes a new instance of the MicrosoftSupport class.
15
- * @param credentials Subscription credentials which uniquely identify client subscription.
16
- * @param subscriptionId Azure subscription Id.
17
- * @param options The parameter options
18
- */
19
- constructor(credentials, subscriptionId, options) {
13
+ constructor(credentials, subscriptionIdOrOptions, options) {
20
14
  var _a, _b, _c;
21
15
  if (credentials === undefined) {
22
16
  throw new Error("'credentials' cannot be null");
23
17
  }
24
- if (subscriptionId === undefined) {
25
- throw new Error("'subscriptionId' cannot be null");
18
+ let subscriptionId;
19
+ if (typeof subscriptionIdOrOptions === "string") {
20
+ subscriptionId = subscriptionIdOrOptions;
21
+ }
22
+ else if (typeof subscriptionIdOrOptions === "object") {
23
+ options = subscriptionIdOrOptions;
26
24
  }
27
25
  // Initializing default values for options
28
26
  if (!options) {
@@ -32,7 +30,7 @@ export class MicrosoftSupport extends coreClient.ServiceClient {
32
30
  requestContentType: "application/json; charset=utf-8",
33
31
  credential: credentials
34
32
  };
35
- const packageDetails = `azsdk-js-arm-support/2.1.1`;
33
+ const packageDetails = `azsdk-js-arm-support/2.2.0-beta.1`;
36
34
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
37
35
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
38
36
  : `${packageDetails}`;
@@ -65,12 +63,22 @@ export class MicrosoftSupport extends coreClient.ServiceClient {
65
63
  this.subscriptionId = subscriptionId;
66
64
  // Assigning values to Constant parameters
67
65
  this.$host = options.$host || "https://management.azure.com";
68
- this.apiVersion = options.apiVersion || "2020-04-01";
66
+ this.apiVersion = options.apiVersion || "2022-09-01-preview";
69
67
  this.operations = new OperationsImpl(this);
70
68
  this.services = new ServicesImpl(this);
71
69
  this.problemClassifications = new ProblemClassificationsImpl(this);
72
70
  this.supportTickets = new SupportTicketsImpl(this);
71
+ this.supportTicketsNoSubscription = new SupportTicketsNoSubscriptionImpl(this);
73
72
  this.communications = new CommunicationsImpl(this);
73
+ this.communicationsNoSubscription = new CommunicationsNoSubscriptionImpl(this);
74
+ this.supportTicketCommunicationsNoSubscription = new SupportTicketCommunicationsNoSubscriptionImpl(this);
75
+ this.chatTranscripts = new ChatTranscriptsImpl(this);
76
+ this.supportTicketChatTranscriptsNoSubscription = new SupportTicketChatTranscriptsNoSubscriptionImpl(this);
77
+ this.chatTranscriptsNoSubscription = new ChatTranscriptsNoSubscriptionImpl(this);
78
+ this.fileWorkspaces = new FileWorkspacesImpl(this);
79
+ this.fileWorkspacesNoSubscription = new FileWorkspacesNoSubscriptionImpl(this);
80
+ this.files = new FilesImpl(this);
81
+ this.filesNoSubscription = new FilesNoSubscriptionImpl(this);
74
82
  this.addCustomApiVersionPolicy(options.apiVersion);
75
83
  }
76
84
  /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
@@ -1 +1 @@
1
- {"version":3,"file":"microsoftSupport.js","sourceRoot":"","sources":["../../src/microsoftSupport.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,K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,IAAiB;;oBAEjB,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;oBACrC,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE;wBACpB,MAAM,SAAS,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;4BACjD,IAAI,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,EAAE;gCACpC,OAAO,cAAc,GAAG,UAAU,CAAC;6BACpC;iCAAM;gCACL,OAAO,IAAI,CAAC;6BACb;wBACH,CAAC,CAAC,CAAC;wBACH,OAAO,CAAC,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;qBACpD;oBACD,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;gBACvB,CAAC;aAAA;SACF,CAAC;QACF,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,CAAC;CAiBF"}
@@ -37,27 +37,13 @@ export interface OperationDisplay {
37
37
  */
38
38
  readonly resource?: string;
39
39
  }
40
- /** The API error. */
41
- export interface ExceptionResponse {
42
- /** The API error details. */
43
- error?: ServiceError;
40
+ /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
41
+ export interface ErrorResponse {
42
+ /** The error object. */
43
+ error?: ErrorDetail;
44
44
  }
45
- /** The API error details. */
46
- export interface ServiceError {
47
- /** The error code. */
48
- code?: string;
49
- /** The error message. */
50
- message?: string;
51
- /** The target of the error. */
52
- target?: string;
53
- /**
54
- * The list of error details.
55
- * NOTE: This property will not be serialized. It can only be populated by the server.
56
- */
57
- readonly details?: ServiceErrorDetail[];
58
- }
59
- /** The error details. */
60
- export interface ServiceErrorDetail {
45
+ /** The error detail. */
46
+ export interface ErrorDetail {
61
47
  /**
62
48
  * The error code.
63
49
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -68,8 +54,34 @@ export interface ServiceErrorDetail {
68
54
  * NOTE: This property will not be serialized. It can only be populated by the server.
69
55
  */
70
56
  readonly message?: string;
71
- /** The target of the error. */
72
- target?: string;
57
+ /**
58
+ * The error target.
59
+ * NOTE: This property will not be serialized. It can only be populated by the server.
60
+ */
61
+ readonly target?: string;
62
+ /**
63
+ * The error details.
64
+ * NOTE: This property will not be serialized. It can only be populated by the server.
65
+ */
66
+ readonly details?: ErrorDetail[];
67
+ /**
68
+ * The error additional info.
69
+ * NOTE: This property will not be serialized. It can only be populated by the server.
70
+ */
71
+ readonly additionalInfo?: ErrorAdditionalInfo[];
72
+ }
73
+ /** The resource management error additional info. */
74
+ export interface ErrorAdditionalInfo {
75
+ /**
76
+ * The additional info type.
77
+ * NOTE: This property will not be serialized. It can only be populated by the server.
78
+ */
79
+ readonly type?: string;
80
+ /**
81
+ * The additional info.
82
+ * NOTE: This property will not be serialized. It can only be populated by the server.
83
+ */
84
+ readonly info?: Record<string, unknown>;
73
85
  }
74
86
  /** Collection of Service resources. */
75
87
  export interface ServicesListResult {
@@ -122,6 +134,15 @@ export interface ProblemClassification {
122
134
  readonly type?: string;
123
135
  /** Localized name of problem classification. */
124
136
  displayName?: string;
137
+ /** This property indicates whether secondary consent is present for problem classification */
138
+ secondaryConsentEnabled?: SecondaryConsentEnabled[];
139
+ }
140
+ /** This property indicates whether secondary consent is present for problem classification. */
141
+ export interface SecondaryConsentEnabled {
142
+ /** User consent description. */
143
+ description?: string;
144
+ /** The Azure service for which secondary consent is needed for case creation. */
145
+ type?: string;
125
146
  }
126
147
  /** Input of CheckNameAvailability API. */
127
148
  export interface CheckNameAvailabilityInput {
@@ -192,6 +213,12 @@ export interface SupportTicketDetails {
192
213
  readonly enrollmentId?: string;
193
214
  /** Indicates if this requires a 24x7 response from Azure. */
194
215
  require24X7Response?: boolean;
216
+ /** Advanced diagnostic consent to be updated on the support ticket. */
217
+ advancedDiagnosticConsent?: Consent;
218
+ /** Problem scoping questions associated with the support ticket. */
219
+ problemScopingQuestions?: string;
220
+ /** Support plan id associated with the support ticket. */
221
+ supportPlanId?: string;
195
222
  /** Contact information of the user requesting to create a support ticket. */
196
223
  contactDetails?: ContactProfile;
197
224
  /** Service Level Agreement information for this support ticket. */
@@ -203,6 +230,11 @@ export interface SupportTicketDetails {
203
230
  * NOTE: This property will not be serialized. It can only be populated by the server.
204
231
  */
205
232
  readonly supportPlanType?: string;
233
+ /**
234
+ * Support plan type associated with the support ticket.
235
+ * NOTE: This property will not be serialized. It can only be populated by the server.
236
+ */
237
+ readonly supportPlanDisplayName?: string;
206
238
  /** Title of the support ticket. */
207
239
  title?: string;
208
240
  /** Time in UTC (ISO 8601 format) when the problem started. */
@@ -229,10 +261,14 @@ export interface SupportTicketDetails {
229
261
  * NOTE: This property will not be serialized. It can only be populated by the server.
230
262
  */
231
263
  readonly modifiedDate?: Date;
264
+ /** File workspace name. */
265
+ fileWorkspaceName?: string;
232
266
  /** Additional ticket details associated with a technical support ticket request. */
233
267
  technicalTicketDetails?: TechnicalTicketDetails;
234
268
  /** Additional ticket details associated with a quota support ticket request. */
235
269
  quotaTicketDetails?: QuotaTicketDetails;
270
+ /** This property indicates secondary consents for the support ticket */
271
+ secondaryConsent?: SecondaryConsent[];
236
272
  }
237
273
  /** Contact information associated with the support ticket. */
238
274
  export interface ContactProfile {
@@ -302,6 +338,13 @@ export interface QuotaChangeRequest {
302
338
  /** Payload of the quota increase request. */
303
339
  payload?: string;
304
340
  }
341
+ /** This property indicates secondary consent for the support ticket. */
342
+ export interface SecondaryConsent {
343
+ /** User consent value provided */
344
+ userConsent?: UserConsent;
345
+ /** The service name for which the secondary consent is being provided. The value needs to be retrieved from the Problem Classification API response. */
346
+ type?: string;
347
+ }
305
348
  /** Updates severity, ticket status, and contact details in the support ticket. */
306
349
  export interface UpdateSupportTicket {
307
350
  /** Severity level. */
@@ -310,6 +353,10 @@ export interface UpdateSupportTicket {
310
353
  status?: Status;
311
354
  /** Contact details to be updated on the support ticket. */
312
355
  contactDetails?: UpdateContactProfile;
356
+ /** Advanced diagnostic consent to be updated on the support ticket. */
357
+ advancedDiagnosticConsent?: Consent;
358
+ /** This property indicates secondary consents for the support ticket */
359
+ secondaryConsent?: SecondaryConsent[];
313
360
  }
314
361
  /** Contact information associated with the support ticket. */
315
362
  export interface UpdateContactProfile {
@@ -378,6 +425,135 @@ export interface CommunicationDetails {
378
425
  */
379
426
  readonly createdDate?: Date;
380
427
  }
428
+ /** Collection of Chat Transcripts resources. */
429
+ export interface ChatTranscriptsListResult {
430
+ /** List of Chat Transcripts resources. */
431
+ value?: ChatTranscriptDetails[];
432
+ /** The URI to fetch the next page of Chat Transcripts resources. */
433
+ nextLink?: string;
434
+ }
435
+ /** Describes the properties of a Message Details resource. */
436
+ export interface MessageProperties {
437
+ /**
438
+ * Content type.
439
+ * NOTE: This property will not be serialized. It can only be populated by the server.
440
+ */
441
+ readonly contentType?: TranscriptContentType;
442
+ /**
443
+ * Direction of communication.
444
+ * NOTE: This property will not be serialized. It can only be populated by the server.
445
+ */
446
+ readonly communicationDirection?: CommunicationDirection;
447
+ /** Name of the sender. */
448
+ sender?: string;
449
+ /** Body of the communication. */
450
+ body: string;
451
+ /**
452
+ * Time in UTC (ISO 8601 format) when the communication was created.
453
+ * NOTE: This property will not be serialized. It can only be populated by the server.
454
+ */
455
+ readonly createdDate?: Date;
456
+ }
457
+ /** Common fields that are returned in the response for all Azure Resource Manager resources */
458
+ export interface Resource {
459
+ /**
460
+ * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
461
+ * NOTE: This property will not be serialized. It can only be populated by the server.
462
+ */
463
+ readonly id?: string;
464
+ /**
465
+ * The name of the resource
466
+ * NOTE: This property will not be serialized. It can only be populated by the server.
467
+ */
468
+ readonly name?: string;
469
+ /**
470
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
471
+ * NOTE: This property will not be serialized. It can only be populated by the server.
472
+ */
473
+ readonly type?: string;
474
+ /**
475
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
476
+ * NOTE: This property will not be serialized. It can only be populated by the server.
477
+ */
478
+ readonly systemData?: SystemData;
479
+ }
480
+ /** Metadata pertaining to creation and last modification of the resource. */
481
+ export interface SystemData {
482
+ /** The identity that created the resource. */
483
+ createdBy?: string;
484
+ /** The type of identity that created the resource. */
485
+ createdByType?: CreatedByType;
486
+ /** The timestamp of resource creation (UTC). */
487
+ createdAt?: Date;
488
+ /** The identity that last modified the resource. */
489
+ lastModifiedBy?: string;
490
+ /** The type of identity that last modified the resource. */
491
+ lastModifiedByType?: CreatedByType;
492
+ /** The timestamp of resource last modification (UTC) */
493
+ lastModifiedAt?: Date;
494
+ }
495
+ /** Object that represents a collection of File resources. */
496
+ export interface FilesListResult {
497
+ /** List of File resources. */
498
+ value?: FileDetails[];
499
+ /** The URI to fetch the next page of File resources. */
500
+ nextLink?: string;
501
+ }
502
+ /** File content associated with the file under a workspace. */
503
+ export interface UploadFile {
504
+ /** File Content in base64 encoded format */
505
+ content?: string;
506
+ /** Index of the uploaded chunk (Index starts at 0) */
507
+ chunkIndex?: number;
508
+ }
509
+ /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
510
+ export interface ProxyResource extends Resource {
511
+ }
512
+ /** Object that represents a Chat Transcript resource. */
513
+ export interface ChatTranscriptDetails extends ProxyResource {
514
+ /** List of chat transcript communication resources. */
515
+ messages?: MessageProperties[];
516
+ /**
517
+ * Time in UTC (ISO 8601 format) when the chat began.
518
+ * NOTE: This property will not be serialized. It can only be populated by the server.
519
+ */
520
+ readonly startTime?: Date;
521
+ }
522
+ /** Object that represents FileWorkspaceDetails resource */
523
+ export interface FileWorkspaceDetails extends ProxyResource {
524
+ /**
525
+ * Time in UTC (ISO 8601 format) when file workspace was created.
526
+ * NOTE: This property will not be serialized. It can only be populated by the server.
527
+ */
528
+ readonly createdOn?: Date;
529
+ /**
530
+ * Time in UTC (ISO 8601 format) when file workspace is going to expire.
531
+ * NOTE: This property will not be serialized. It can only be populated by the server.
532
+ */
533
+ readonly expirationTime?: Date;
534
+ }
535
+ /** Object that represents File Details resource */
536
+ export interface FileDetails extends ProxyResource {
537
+ /**
538
+ * Time in UTC (ISO 8601 format) when file workspace was created.
539
+ * NOTE: This property will not be serialized. It can only be populated by the server.
540
+ */
541
+ readonly createdOn?: Date;
542
+ /** Size of each chunk */
543
+ chunkSize?: number;
544
+ /** Size of the file to be uploaded */
545
+ fileSize?: number;
546
+ /** Number of chunks to be uploaded */
547
+ numberOfChunks?: number;
548
+ }
549
+ /** Defines headers for SupportTicketsNoSubscription_create operation. */
550
+ export interface SupportTicketsNoSubscriptionCreateHeaders {
551
+ location?: string;
552
+ }
553
+ /** Defines headers for CommunicationsNoSubscription_create operation. */
554
+ export interface CommunicationsNoSubscriptionCreateHeaders {
555
+ location?: string;
556
+ }
381
557
  /** Known values of {@link SeverityLevel} that the service accepts. */
382
558
  export declare enum KnownSeverityLevel {
383
559
  /** Minimal */
@@ -400,6 +576,22 @@ export declare enum KnownSeverityLevel {
400
576
  * **highestcriticalimpact**
401
577
  */
402
578
  export type SeverityLevel = string;
579
+ /** Known values of {@link Consent} that the service accepts. */
580
+ export declare enum KnownConsent {
581
+ /** Yes */
582
+ Yes = "Yes",
583
+ /** No */
584
+ No = "No"
585
+ }
586
+ /**
587
+ * Defines values for Consent. \
588
+ * {@link KnownConsent} can be used interchangeably with Consent,
589
+ * this enum contains the known values that the service supports.
590
+ * ### Known values supported by the service
591
+ * **Yes** \
592
+ * **No**
593
+ */
594
+ export type Consent = string;
403
595
  /** Known values of {@link PreferredContactMethod} that the service accepts. */
404
596
  export declare enum KnownPreferredContactMethod {
405
597
  /** Email */
@@ -416,6 +608,22 @@ export declare enum KnownPreferredContactMethod {
416
608
  * **phone**
417
609
  */
418
610
  export type PreferredContactMethod = string;
611
+ /** Known values of {@link UserConsent} that the service accepts. */
612
+ export declare enum KnownUserConsent {
613
+ /** Yes */
614
+ Yes = "Yes",
615
+ /** No */
616
+ No = "No"
617
+ }
618
+ /**
619
+ * Defines values for UserConsent. \
620
+ * {@link KnownUserConsent} can be used interchangeably with UserConsent,
621
+ * this enum contains the known values that the service supports.
622
+ * ### Known values supported by the service
623
+ * **Yes** \
624
+ * **No**
625
+ */
626
+ export type UserConsent = string;
419
627
  /** Known values of {@link Status} that the service accepts. */
420
628
  export declare enum KnownStatus {
421
629
  /** Open */
@@ -464,6 +672,39 @@ export declare enum KnownCommunicationDirection {
464
672
  * **outbound**
465
673
  */
466
674
  export type CommunicationDirection = string;
675
+ /** Known values of {@link TranscriptContentType} that the service accepts. */
676
+ export declare enum KnownTranscriptContentType {
677
+ }
678
+ /**
679
+ * Defines values for TranscriptContentType. \
680
+ * {@link KnownTranscriptContentType} can be used interchangeably with TranscriptContentType,
681
+ * this enum contains the known values that the service supports.
682
+ * ### Known values supported by the service
683
+ *
684
+ */
685
+ export type TranscriptContentType = string;
686
+ /** Known values of {@link CreatedByType} that the service accepts. */
687
+ export declare enum KnownCreatedByType {
688
+ /** User */
689
+ User = "User",
690
+ /** Application */
691
+ Application = "Application",
692
+ /** ManagedIdentity */
693
+ ManagedIdentity = "ManagedIdentity",
694
+ /** Key */
695
+ Key = "Key"
696
+ }
697
+ /**
698
+ * Defines values for CreatedByType. \
699
+ * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
700
+ * this enum contains the known values that the service supports.
701
+ * ### Known values supported by the service
702
+ * **User** \
703
+ * **Application** \
704
+ * **ManagedIdentity** \
705
+ * **Key**
706
+ */
707
+ export type CreatedByType = string;
467
708
  /** Defines values for Type. */
468
709
  export type Type = "Microsoft.Support/supportTickets" | "Microsoft.Support/communications";
469
710
  /** Optional parameters. */
@@ -500,7 +741,7 @@ export type SupportTicketsCheckNameAvailabilityResponse = CheckNameAvailabilityO
500
741
  export interface SupportTicketsListOptionalParams extends coreClient.OperationOptions {
501
742
  /** The number of values to return in the collection. Default is 25 and max is 100. */
502
743
  top?: number;
503
- /** The filter to apply on the operation. We support 'odata v4.0' filter semantics. [Learn more](https://docs.microsoft.com/odata/concepts/queryoptions-overview). _Status_ filter can only be used with Equals ('eq') operator. For _CreatedDate_ filter, the supported operators are Greater Than ('gt') and Greater Than or Equals ('ge'). When using both filters, combine them using the logical 'AND'. */
744
+ /** The filter to apply on the operation. We support 'odata v4.0' filter semantics. [Learn more](https://docs.microsoft.com/odata/concepts/queryoptions-overview). _Status_, _ServiceId_, and _ProblemClassificationId_ filters can only be used with Equals ('eq') operator. For _CreatedDate_ filter, the supported operators are Greater Than ('gt') and Greater Than or Equals ('ge'). When using both filters, combine them using the logical 'AND'. */
504
745
  filter?: string;
505
746
  }
506
747
  /** Contains response data for the list operation. */
@@ -530,6 +771,44 @@ export interface SupportTicketsListNextOptionalParams extends coreClient.Operati
530
771
  /** Contains response data for the listNext operation. */
531
772
  export type SupportTicketsListNextResponse = SupportTicketsListResult;
532
773
  /** Optional parameters. */
774
+ export interface SupportTicketsNoSubscriptionCheckNameAvailabilityOptionalParams extends coreClient.OperationOptions {
775
+ }
776
+ /** Contains response data for the checkNameAvailability operation. */
777
+ export type SupportTicketsNoSubscriptionCheckNameAvailabilityResponse = CheckNameAvailabilityOutput;
778
+ /** Optional parameters. */
779
+ export interface SupportTicketsNoSubscriptionListOptionalParams extends coreClient.OperationOptions {
780
+ /** The number of values to return in the collection. Default is 25 and max is 100. */
781
+ top?: number;
782
+ /** The filter to apply on the operation. We support 'odata v4.0' filter semantics. <a target='_blank' href='https://docs.microsoft.com/odata/concepts/queryoptions-overview'>Learn more</a> <br/><i>Status</i> , <i>ServiceId</i>, and <i>ProblemClassificationId</i> filters can only be used with 'eq' operator. For <i>CreatedDate</i> filter, the supported operators are 'gt' and 'ge'. When using both filters, combine them using the logical 'AND'. */
783
+ filter?: string;
784
+ }
785
+ /** Contains response data for the list operation. */
786
+ export type SupportTicketsNoSubscriptionListResponse = SupportTicketsListResult;
787
+ /** Optional parameters. */
788
+ export interface SupportTicketsNoSubscriptionGetOptionalParams extends coreClient.OperationOptions {
789
+ }
790
+ /** Contains response data for the get operation. */
791
+ export type SupportTicketsNoSubscriptionGetResponse = SupportTicketDetails;
792
+ /** Optional parameters. */
793
+ export interface SupportTicketsNoSubscriptionUpdateOptionalParams extends coreClient.OperationOptions {
794
+ }
795
+ /** Contains response data for the update operation. */
796
+ export type SupportTicketsNoSubscriptionUpdateResponse = SupportTicketDetails;
797
+ /** Optional parameters. */
798
+ export interface SupportTicketsNoSubscriptionCreateOptionalParams extends coreClient.OperationOptions {
799
+ /** Delay to wait until next poll, in milliseconds. */
800
+ updateIntervalInMs?: number;
801
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
802
+ resumeFrom?: string;
803
+ }
804
+ /** Contains response data for the create operation. */
805
+ export type SupportTicketsNoSubscriptionCreateResponse = SupportTicketDetails;
806
+ /** Optional parameters. */
807
+ export interface SupportTicketsNoSubscriptionListNextOptionalParams extends coreClient.OperationOptions {
808
+ }
809
+ /** Contains response data for the listNext operation. */
810
+ export type SupportTicketsNoSubscriptionListNextResponse = SupportTicketsListResult;
811
+ /** Optional parameters. */
533
812
  export interface CommunicationsCheckNameAvailabilityOptionalParams extends coreClient.OperationOptions {
534
813
  }
535
814
  /** Contains response data for the checkNameAvailability operation. */
@@ -563,6 +842,135 @@ export interface CommunicationsListNextOptionalParams extends coreClient.Operati
563
842
  /** Contains response data for the listNext operation. */
564
843
  export type CommunicationsListNextResponse = CommunicationsListResult;
565
844
  /** Optional parameters. */
845
+ export interface CommunicationsNoSubscriptionCheckNameAvailabilityOptionalParams extends coreClient.OperationOptions {
846
+ }
847
+ /** Contains response data for the checkNameAvailability operation. */
848
+ export type CommunicationsNoSubscriptionCheckNameAvailabilityResponse = CheckNameAvailabilityOutput;
849
+ /** Optional parameters. */
850
+ export interface CommunicationsNoSubscriptionGetOptionalParams extends coreClient.OperationOptions {
851
+ }
852
+ /** Contains response data for the get operation. */
853
+ export type CommunicationsNoSubscriptionGetResponse = CommunicationDetails;
854
+ /** Optional parameters. */
855
+ export interface CommunicationsNoSubscriptionCreateOptionalParams extends coreClient.OperationOptions {
856
+ /** Delay to wait until next poll, in milliseconds. */
857
+ updateIntervalInMs?: number;
858
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
859
+ resumeFrom?: string;
860
+ }
861
+ /** Contains response data for the create operation. */
862
+ export type CommunicationsNoSubscriptionCreateResponse = CommunicationDetails;
863
+ /** Optional parameters. */
864
+ export interface SupportTicketCommunicationsNoSubscriptionListOptionalParams extends coreClient.OperationOptions {
865
+ /** The number of values to return in the collection. Default is 10 and max is 10. */
866
+ top?: number;
867
+ /** The filter to apply on the operation. You can filter by communicationType and createdDate properties. CommunicationType supports Equals ('eq') operator and createdDate supports Greater Than ('gt') and Greater Than or Equals ('ge') operators. You may combine the CommunicationType and CreatedDate filters by Logical And ('and') operator. */
868
+ filter?: string;
869
+ }
870
+ /** Contains response data for the list operation. */
871
+ export type SupportTicketCommunicationsNoSubscriptionListResponse = CommunicationsListResult;
872
+ /** Optional parameters. */
873
+ export interface SupportTicketCommunicationsNoSubscriptionListNextOptionalParams extends coreClient.OperationOptions {
874
+ }
875
+ /** Contains response data for the listNext operation. */
876
+ export type SupportTicketCommunicationsNoSubscriptionListNextResponse = CommunicationsListResult;
877
+ /** Optional parameters. */
878
+ export interface ChatTranscriptsListOptionalParams extends coreClient.OperationOptions {
879
+ }
880
+ /** Contains response data for the list operation. */
881
+ export type ChatTranscriptsListResponse = ChatTranscriptsListResult;
882
+ /** Optional parameters. */
883
+ export interface ChatTranscriptsGetOptionalParams extends coreClient.OperationOptions {
884
+ }
885
+ /** Contains response data for the get operation. */
886
+ export type ChatTranscriptsGetResponse = ChatTranscriptDetails;
887
+ /** Optional parameters. */
888
+ export interface ChatTranscriptsListNextOptionalParams extends coreClient.OperationOptions {
889
+ }
890
+ /** Contains response data for the listNext operation. */
891
+ export type ChatTranscriptsListNextResponse = ChatTranscriptsListResult;
892
+ /** Optional parameters. */
893
+ export interface SupportTicketChatTranscriptsNoSubscriptionListOptionalParams extends coreClient.OperationOptions {
894
+ }
895
+ /** Contains response data for the list operation. */
896
+ export type SupportTicketChatTranscriptsNoSubscriptionListResponse = ChatTranscriptsListResult;
897
+ /** Optional parameters. */
898
+ export interface SupportTicketChatTranscriptsNoSubscriptionListNextOptionalParams extends coreClient.OperationOptions {
899
+ }
900
+ /** Contains response data for the listNext operation. */
901
+ export type SupportTicketChatTranscriptsNoSubscriptionListNextResponse = ChatTranscriptsListResult;
902
+ /** Optional parameters. */
903
+ export interface ChatTranscriptsNoSubscriptionGetOptionalParams extends coreClient.OperationOptions {
904
+ }
905
+ /** Contains response data for the get operation. */
906
+ export type ChatTranscriptsNoSubscriptionGetResponse = ChatTranscriptDetails;
907
+ /** Optional parameters. */
908
+ export interface FileWorkspacesGetOptionalParams extends coreClient.OperationOptions {
909
+ }
910
+ /** Contains response data for the get operation. */
911
+ export type FileWorkspacesGetResponse = FileWorkspaceDetails;
912
+ /** Optional parameters. */
913
+ export interface FileWorkspacesCreateOptionalParams extends coreClient.OperationOptions {
914
+ }
915
+ /** Contains response data for the create operation. */
916
+ export type FileWorkspacesCreateResponse = FileWorkspaceDetails;
917
+ /** Optional parameters. */
918
+ export interface FileWorkspacesNoSubscriptionGetOptionalParams extends coreClient.OperationOptions {
919
+ }
920
+ /** Contains response data for the get operation. */
921
+ export type FileWorkspacesNoSubscriptionGetResponse = FileWorkspaceDetails;
922
+ /** Optional parameters. */
923
+ export interface FileWorkspacesNoSubscriptionCreateOptionalParams extends coreClient.OperationOptions {
924
+ }
925
+ /** Contains response data for the create operation. */
926
+ export type FileWorkspacesNoSubscriptionCreateResponse = FileWorkspaceDetails;
927
+ /** Optional parameters. */
928
+ export interface FilesListOptionalParams extends coreClient.OperationOptions {
929
+ }
930
+ /** Contains response data for the list operation. */
931
+ export type FilesListResponse = FilesListResult;
932
+ /** Optional parameters. */
933
+ export interface FilesGetOptionalParams extends coreClient.OperationOptions {
934
+ }
935
+ /** Contains response data for the get operation. */
936
+ export type FilesGetResponse = FileDetails;
937
+ /** Optional parameters. */
938
+ export interface FilesCreateOptionalParams extends coreClient.OperationOptions {
939
+ }
940
+ /** Contains response data for the create operation. */
941
+ export type FilesCreateResponse = FileDetails;
942
+ /** Optional parameters. */
943
+ export interface FilesUploadOptionalParams extends coreClient.OperationOptions {
944
+ }
945
+ /** Optional parameters. */
946
+ export interface FilesListNextOptionalParams extends coreClient.OperationOptions {
947
+ }
948
+ /** Contains response data for the listNext operation. */
949
+ export type FilesListNextResponse = FilesListResult;
950
+ /** Optional parameters. */
951
+ export interface FilesNoSubscriptionListOptionalParams extends coreClient.OperationOptions {
952
+ }
953
+ /** Contains response data for the list operation. */
954
+ export type FilesNoSubscriptionListResponse = FilesListResult;
955
+ /** Optional parameters. */
956
+ export interface FilesNoSubscriptionGetOptionalParams extends coreClient.OperationOptions {
957
+ }
958
+ /** Contains response data for the get operation. */
959
+ export type FilesNoSubscriptionGetResponse = FileDetails;
960
+ /** Optional parameters. */
961
+ export interface FilesNoSubscriptionCreateOptionalParams extends coreClient.OperationOptions {
962
+ }
963
+ /** Contains response data for the create operation. */
964
+ export type FilesNoSubscriptionCreateResponse = FileDetails;
965
+ /** Optional parameters. */
966
+ export interface FilesNoSubscriptionUploadOptionalParams extends coreClient.OperationOptions {
967
+ }
968
+ /** Optional parameters. */
969
+ export interface FilesNoSubscriptionListNextOptionalParams extends coreClient.OperationOptions {
970
+ }
971
+ /** Contains response data for the listNext operation. */
972
+ export type FilesNoSubscriptionListNextResponse = FilesListResult;
973
+ /** Optional parameters. */
566
974
  export interface MicrosoftSupportOptionalParams extends coreClient.ServiceClientOptions {
567
975
  /** server parameter */
568
976
  $host?: string;