@azure/arm-quantum 1.0.0-beta.1 → 1.0.0-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (381) hide show
  1. package/CHANGELOG.md +39 -1
  2. package/LICENSE +4 -4
  3. package/README.md +26 -19
  4. package/{dist-esm/src → dist/browser}/azureQuantumManagementClient.d.ts +3 -3
  5. package/dist/browser/azureQuantumManagementClient.d.ts.map +1 -0
  6. package/{dist-esm/src → dist/browser}/azureQuantumManagementClient.js +41 -32
  7. package/dist/browser/azureQuantumManagementClient.js.map +1 -0
  8. package/dist/browser/index.d.ts +5 -0
  9. package/dist/browser/index.d.ts.map +1 -0
  10. package/{dist-esm/src → dist/browser}/index.js +4 -4
  11. package/dist/browser/index.js.map +1 -0
  12. package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +1 -1
  13. package/dist/browser/lroImpl.js +18 -0
  14. package/dist/browser/lroImpl.js.map +1 -0
  15. package/{dist-esm/src → dist/browser}/models/index.d.ts +106 -41
  16. package/dist/browser/models/index.d.ts.map +1 -0
  17. package/{dist-esm/src → dist/browser}/models/index.js +8 -0
  18. package/dist/browser/models/index.js.map +1 -0
  19. package/{dist-esm/src → dist/browser}/models/mappers.d.ts +5 -1
  20. package/dist/browser/models/mappers.d.ts.map +1 -0
  21. package/{dist-esm/src → dist/browser}/models/mappers.js +464 -347
  22. package/dist/browser/models/mappers.js.map +1 -0
  23. package/{dist-esm/src → dist/browser}/models/parameters.d.ts +1 -0
  24. package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +1 -1
  25. package/{dist-esm/src → dist/browser}/models/parameters.js +43 -32
  26. package/dist/browser/models/parameters.js.map +1 -0
  27. package/dist/browser/operations/index.d.ts +5 -0
  28. package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
  29. package/{dist-esm/src → dist/browser}/operations/index.js +4 -4
  30. package/dist/browser/operations/index.js.map +1 -0
  31. package/{dist-esm/src → dist/browser}/operations/offerings.d.ts +3 -3
  32. package/dist/browser/operations/offerings.d.ts.map +1 -0
  33. package/{dist-esm/src → dist/browser}/operations/offerings.js +37 -59
  34. package/dist/browser/operations/offerings.js.map +1 -0
  35. package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
  36. package/dist/browser/operations/operations.d.ts.map +1 -0
  37. package/dist/browser/operations/operations.js +116 -0
  38. package/dist/browser/operations/operations.js.map +1 -0
  39. package/dist/browser/operations/workspace.d.ts +38 -0
  40. package/dist/browser/operations/workspace.d.ts.map +1 -0
  41. package/dist/browser/operations/workspace.js +119 -0
  42. package/dist/browser/operations/workspace.js.map +1 -0
  43. package/{dist-esm/src → dist/browser}/operations/workspaces.d.ts +12 -12
  44. package/dist/browser/operations/workspaces.d.ts.map +1 -0
  45. package/dist/browser/operations/workspaces.js +457 -0
  46. package/dist/browser/operations/workspaces.js.map +1 -0
  47. package/dist/browser/operationsInterfaces/index.d.ts +5 -0
  48. package/{dist-esm/src → dist/browser}/operationsInterfaces/index.d.ts.map +1 -1
  49. package/{dist-esm/src → dist/browser}/operationsInterfaces/index.js +4 -4
  50. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  51. package/{dist-esm/src → dist/browser}/operationsInterfaces/offerings.d.ts +1 -1
  52. package/dist/browser/operationsInterfaces/offerings.d.ts.map +1 -0
  53. package/dist/browser/operationsInterfaces/offerings.js.map +1 -0
  54. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
  55. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts.map +1 -1
  56. package/dist/browser/operationsInterfaces/operations.js.map +1 -0
  57. package/dist/browser/operationsInterfaces/workspace.d.ts +30 -0
  58. package/dist/browser/operationsInterfaces/workspace.d.ts.map +1 -0
  59. package/dist/browser/operationsInterfaces/workspace.js.map +1 -0
  60. package/{dist-esm/src → dist/browser}/operationsInterfaces/workspaces.d.ts +8 -8
  61. package/dist/browser/operationsInterfaces/workspaces.d.ts.map +1 -0
  62. package/dist/browser/operationsInterfaces/workspaces.js.map +1 -0
  63. package/dist/browser/package.json +3 -0
  64. package/{dist-esm/src → dist/browser}/pagingHelper.js +2 -4
  65. package/dist/browser/pagingHelper.js.map +1 -0
  66. package/dist/commonjs/azureQuantumManagementClient.d.ts +23 -0
  67. package/dist/commonjs/azureQuantumManagementClient.d.ts.map +1 -0
  68. package/dist/commonjs/azureQuantumManagementClient.js +117 -0
  69. package/dist/commonjs/azureQuantumManagementClient.js.map +1 -0
  70. package/dist/commonjs/index.d.ts +5 -0
  71. package/dist/commonjs/index.d.ts.map +1 -0
  72. package/dist/commonjs/index.js +19 -0
  73. package/dist/commonjs/index.js.map +1 -0
  74. package/dist/commonjs/lroImpl.d.ts +11 -0
  75. package/dist/commonjs/lroImpl.d.ts.map +1 -0
  76. package/dist/commonjs/lroImpl.js +21 -0
  77. package/dist/commonjs/lroImpl.js.map +1 -0
  78. package/{types/arm-quantum.d.ts → dist/commonjs/models/index.d.ts} +614 -734
  79. package/dist/commonjs/models/index.d.ts.map +1 -0
  80. package/dist/commonjs/models/index.js +81 -0
  81. package/dist/commonjs/models/index.js.map +1 -0
  82. package/dist/commonjs/models/mappers.d.ts +32 -0
  83. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  84. package/dist/commonjs/models/mappers.js +1032 -0
  85. package/dist/commonjs/models/mappers.js.map +1 -0
  86. package/dist/commonjs/models/parameters.d.ts +15 -0
  87. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  88. package/dist/commonjs/models/parameters.js +130 -0
  89. package/dist/commonjs/models/parameters.js.map +1 -0
  90. package/dist/commonjs/operations/index.d.ts +5 -0
  91. package/dist/commonjs/operations/index.d.ts.map +1 -0
  92. package/dist/commonjs/operations/index.js +15 -0
  93. package/dist/commonjs/operations/index.js.map +1 -0
  94. package/dist/commonjs/operations/offerings.d.ts +35 -0
  95. package/dist/commonjs/operations/offerings.d.ts.map +1 -0
  96. package/dist/commonjs/operations/offerings.js +133 -0
  97. package/dist/commonjs/operations/offerings.js.map +1 -0
  98. package/dist/commonjs/operations/operations.d.ts +32 -0
  99. package/dist/commonjs/operations/operations.d.ts.map +1 -0
  100. package/dist/commonjs/operations/operations.js +121 -0
  101. package/dist/commonjs/operations/operations.js.map +1 -0
  102. package/dist/commonjs/operations/workspace.d.ts +38 -0
  103. package/dist/commonjs/operations/workspace.d.ts.map +1 -0
  104. package/dist/commonjs/operations/workspace.js +124 -0
  105. package/dist/commonjs/operations/workspace.js.map +1 -0
  106. package/dist/commonjs/operations/workspaces.d.ts +99 -0
  107. package/dist/commonjs/operations/workspaces.d.ts.map +1 -0
  108. package/dist/commonjs/operations/workspaces.js +462 -0
  109. package/dist/commonjs/operations/workspaces.js.map +1 -0
  110. package/dist/commonjs/operationsInterfaces/index.d.ts +5 -0
  111. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  112. package/dist/commonjs/operationsInterfaces/index.js +15 -0
  113. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  114. package/dist/commonjs/operationsInterfaces/offerings.d.ts +12 -0
  115. package/dist/commonjs/operationsInterfaces/offerings.d.ts.map +1 -0
  116. package/dist/commonjs/operationsInterfaces/offerings.js +10 -0
  117. package/dist/commonjs/operationsInterfaces/offerings.js.map +1 -0
  118. package/dist/commonjs/operationsInterfaces/operations.d.ts +11 -0
  119. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
  120. package/dist/commonjs/operationsInterfaces/operations.js +10 -0
  121. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
  122. package/dist/commonjs/operationsInterfaces/workspace.d.ts +30 -0
  123. package/dist/commonjs/operationsInterfaces/workspace.d.ts.map +1 -0
  124. package/dist/commonjs/operationsInterfaces/workspace.js +10 -0
  125. package/dist/commonjs/operationsInterfaces/workspace.js.map +1 -0
  126. package/dist/commonjs/operationsInterfaces/workspaces.d.ts +63 -0
  127. package/dist/commonjs/operationsInterfaces/workspaces.d.ts.map +1 -0
  128. package/dist/commonjs/operationsInterfaces/workspaces.js +10 -0
  129. package/dist/commonjs/operationsInterfaces/workspaces.js.map +1 -0
  130. package/dist/commonjs/package.json +3 -0
  131. package/dist/commonjs/pagingHelper.d.ts +13 -0
  132. package/dist/commonjs/pagingHelper.d.ts.map +1 -0
  133. package/dist/commonjs/pagingHelper.js +34 -0
  134. package/dist/commonjs/pagingHelper.js.map +1 -0
  135. package/{types → dist/commonjs}/tsdoc-metadata.json +11 -11
  136. package/dist/esm/azureQuantumManagementClient.d.ts +23 -0
  137. package/dist/esm/azureQuantumManagementClient.d.ts.map +1 -0
  138. package/dist/esm/azureQuantumManagementClient.js +112 -0
  139. package/dist/esm/azureQuantumManagementClient.js.map +1 -0
  140. package/dist/esm/index.d.ts +5 -0
  141. package/dist/esm/index.d.ts.map +1 -0
  142. package/{src/index.ts → dist/esm/index.js} +5 -5
  143. package/dist/esm/index.js.map +1 -0
  144. package/dist/esm/lroImpl.d.ts +11 -0
  145. package/dist/esm/lroImpl.d.ts.map +1 -0
  146. package/dist/esm/lroImpl.js +18 -0
  147. package/dist/esm/lroImpl.js.map +1 -0
  148. package/dist/esm/models/index.d.ts +614 -0
  149. package/dist/esm/models/index.d.ts.map +1 -0
  150. package/dist/esm/models/index.js +78 -0
  151. package/dist/esm/models/index.js.map +1 -0
  152. package/dist/esm/models/mappers.d.ts +32 -0
  153. package/dist/esm/models/mappers.d.ts.map +1 -0
  154. package/dist/esm/models/mappers.js +1029 -0
  155. package/dist/esm/models/mappers.js.map +1 -0
  156. package/dist/esm/models/parameters.d.ts +15 -0
  157. package/dist/esm/models/parameters.d.ts.map +1 -0
  158. package/dist/esm/models/parameters.js +127 -0
  159. package/dist/esm/models/parameters.js.map +1 -0
  160. package/dist/esm/operations/index.d.ts +5 -0
  161. package/dist/esm/operations/index.d.ts.map +1 -0
  162. package/dist/esm/operations/index.js +12 -0
  163. package/dist/esm/operations/index.js.map +1 -0
  164. package/dist/esm/operations/offerings.d.ts +35 -0
  165. package/dist/esm/operations/offerings.d.ts.map +1 -0
  166. package/dist/esm/operations/offerings.js +128 -0
  167. package/dist/esm/operations/offerings.js.map +1 -0
  168. package/dist/esm/operations/operations.d.ts +32 -0
  169. package/dist/esm/operations/operations.d.ts.map +1 -0
  170. package/dist/esm/operations/operations.js +116 -0
  171. package/dist/esm/operations/operations.js.map +1 -0
  172. package/dist/esm/operations/workspace.d.ts +38 -0
  173. package/dist/esm/operations/workspace.d.ts.map +1 -0
  174. package/dist/esm/operations/workspace.js +119 -0
  175. package/dist/esm/operations/workspace.js.map +1 -0
  176. package/dist/esm/operations/workspaces.d.ts +99 -0
  177. package/dist/esm/operations/workspaces.d.ts.map +1 -0
  178. package/dist/esm/operations/workspaces.js +457 -0
  179. package/dist/esm/operations/workspaces.js.map +1 -0
  180. package/dist/esm/operationsInterfaces/index.d.ts +5 -0
  181. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  182. package/dist/esm/operationsInterfaces/index.js +12 -0
  183. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  184. package/dist/esm/operationsInterfaces/offerings.d.ts +12 -0
  185. package/dist/esm/operationsInterfaces/offerings.d.ts.map +1 -0
  186. package/dist/esm/operationsInterfaces/offerings.js +9 -0
  187. package/dist/esm/operationsInterfaces/offerings.js.map +1 -0
  188. package/dist/esm/operationsInterfaces/operations.d.ts +11 -0
  189. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
  190. package/dist/esm/operationsInterfaces/operations.js +9 -0
  191. package/dist/esm/operationsInterfaces/operations.js.map +1 -0
  192. package/dist/esm/operationsInterfaces/workspace.d.ts +30 -0
  193. package/dist/esm/operationsInterfaces/workspace.d.ts.map +1 -0
  194. package/dist/esm/operationsInterfaces/workspace.js +9 -0
  195. package/dist/esm/operationsInterfaces/workspace.js.map +1 -0
  196. package/dist/esm/operationsInterfaces/workspaces.d.ts +63 -0
  197. package/dist/esm/operationsInterfaces/workspaces.d.ts.map +1 -0
  198. package/dist/esm/operationsInterfaces/workspaces.js +9 -0
  199. package/dist/esm/operationsInterfaces/workspaces.js.map +1 -0
  200. package/dist/esm/package.json +3 -0
  201. package/dist/esm/pagingHelper.d.ts +13 -0
  202. package/dist/esm/pagingHelper.d.ts.map +1 -0
  203. package/dist/esm/pagingHelper.js +30 -0
  204. package/dist/esm/pagingHelper.js.map +1 -0
  205. package/dist/react-native/azureQuantumManagementClient.d.ts +23 -0
  206. package/dist/react-native/azureQuantumManagementClient.d.ts.map +1 -0
  207. package/dist/react-native/azureQuantumManagementClient.js +112 -0
  208. package/dist/react-native/azureQuantumManagementClient.js.map +1 -0
  209. package/dist/react-native/index.d.ts +5 -0
  210. package/dist/react-native/index.d.ts.map +1 -0
  211. package/dist/react-native/index.js +13 -0
  212. package/dist/react-native/index.js.map +1 -0
  213. package/dist/react-native/lroImpl.d.ts +11 -0
  214. package/dist/react-native/lroImpl.d.ts.map +1 -0
  215. package/dist/react-native/lroImpl.js +18 -0
  216. package/dist/react-native/lroImpl.js.map +1 -0
  217. package/dist/react-native/models/index.d.ts +614 -0
  218. package/dist/react-native/models/index.d.ts.map +1 -0
  219. package/dist/react-native/models/index.js +78 -0
  220. package/dist/react-native/models/index.js.map +1 -0
  221. package/dist/react-native/models/mappers.d.ts +32 -0
  222. package/dist/react-native/models/mappers.d.ts.map +1 -0
  223. package/dist/react-native/models/mappers.js +1029 -0
  224. package/dist/react-native/models/mappers.js.map +1 -0
  225. package/dist/react-native/models/parameters.d.ts +15 -0
  226. package/dist/react-native/models/parameters.d.ts.map +1 -0
  227. package/dist/react-native/models/parameters.js +127 -0
  228. package/dist/react-native/models/parameters.js.map +1 -0
  229. package/dist/react-native/operations/index.d.ts +5 -0
  230. package/dist/react-native/operations/index.d.ts.map +1 -0
  231. package/dist/react-native/operations/index.js +12 -0
  232. package/dist/react-native/operations/index.js.map +1 -0
  233. package/dist/react-native/operations/offerings.d.ts +35 -0
  234. package/dist/react-native/operations/offerings.d.ts.map +1 -0
  235. package/dist/react-native/operations/offerings.js +128 -0
  236. package/dist/react-native/operations/offerings.js.map +1 -0
  237. package/dist/react-native/operations/operations.d.ts +32 -0
  238. package/dist/react-native/operations/operations.d.ts.map +1 -0
  239. package/dist/react-native/operations/operations.js +116 -0
  240. package/dist/react-native/operations/operations.js.map +1 -0
  241. package/dist/react-native/operations/workspace.d.ts +38 -0
  242. package/dist/react-native/operations/workspace.d.ts.map +1 -0
  243. package/dist/react-native/operations/workspace.js +119 -0
  244. package/dist/react-native/operations/workspace.js.map +1 -0
  245. package/dist/react-native/operations/workspaces.d.ts +99 -0
  246. package/dist/react-native/operations/workspaces.d.ts.map +1 -0
  247. package/dist/react-native/operations/workspaces.js +457 -0
  248. package/dist/react-native/operations/workspaces.js.map +1 -0
  249. package/dist/react-native/operationsInterfaces/index.d.ts +5 -0
  250. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  251. package/dist/react-native/operationsInterfaces/index.js +12 -0
  252. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  253. package/dist/react-native/operationsInterfaces/offerings.d.ts +12 -0
  254. package/dist/react-native/operationsInterfaces/offerings.d.ts.map +1 -0
  255. package/dist/react-native/operationsInterfaces/offerings.js +9 -0
  256. package/dist/react-native/operationsInterfaces/offerings.js.map +1 -0
  257. package/dist/react-native/operationsInterfaces/operations.d.ts +11 -0
  258. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
  259. package/dist/react-native/operationsInterfaces/operations.js +9 -0
  260. package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
  261. package/dist/react-native/operationsInterfaces/workspace.d.ts +30 -0
  262. package/dist/react-native/operationsInterfaces/workspace.d.ts.map +1 -0
  263. package/dist/react-native/operationsInterfaces/workspace.js +9 -0
  264. package/dist/react-native/operationsInterfaces/workspace.js.map +1 -0
  265. package/dist/react-native/operationsInterfaces/workspaces.d.ts +63 -0
  266. package/dist/react-native/operationsInterfaces/workspaces.d.ts.map +1 -0
  267. package/dist/react-native/operationsInterfaces/workspaces.js +9 -0
  268. package/dist/react-native/operationsInterfaces/workspaces.js.map +1 -0
  269. package/dist/react-native/package.json +3 -0
  270. package/dist/react-native/pagingHelper.d.ts +13 -0
  271. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  272. package/dist/react-native/pagingHelper.js +30 -0
  273. package/dist/react-native/pagingHelper.js.map +1 -0
  274. package/package.json +83 -72
  275. package/review/{arm-quantum.api.md → arm-quantum-node.api.md} +54 -6
  276. package/dist/index.js +0 -2131
  277. package/dist/index.js.map +0 -1
  278. package/dist/index.min.js +0 -1
  279. package/dist/index.min.js.map +0 -1
  280. package/dist-esm/samples-dev/offeringsListSample.d.ts +0 -2
  281. package/dist-esm/samples-dev/offeringsListSample.d.ts.map +0 -1
  282. package/dist-esm/samples-dev/offeringsListSample.js +0 -59
  283. package/dist-esm/samples-dev/offeringsListSample.js.map +0 -1
  284. package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
  285. package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
  286. package/dist-esm/samples-dev/operationsListSample.js +0 -58
  287. package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
  288. package/dist-esm/samples-dev/workspaceCheckNameAvailabilitySample.d.ts +0 -2
  289. package/dist-esm/samples-dev/workspaceCheckNameAvailabilitySample.d.ts.map +0 -1
  290. package/dist-esm/samples-dev/workspaceCheckNameAvailabilitySample.js +0 -42
  291. package/dist-esm/samples-dev/workspaceCheckNameAvailabilitySample.js.map +0 -1
  292. package/dist-esm/samples-dev/workspacesCreateOrUpdateSample.d.ts +0 -2
  293. package/dist-esm/samples-dev/workspacesCreateOrUpdateSample.d.ts.map +0 -1
  294. package/dist-esm/samples-dev/workspacesCreateOrUpdateSample.js +0 -48
  295. package/dist-esm/samples-dev/workspacesCreateOrUpdateSample.js.map +0 -1
  296. package/dist-esm/samples-dev/workspacesDeleteSample.d.ts +0 -2
  297. package/dist-esm/samples-dev/workspacesDeleteSample.d.ts.map +0 -1
  298. package/dist-esm/samples-dev/workspacesDeleteSample.js +0 -39
  299. package/dist-esm/samples-dev/workspacesDeleteSample.js.map +0 -1
  300. package/dist-esm/samples-dev/workspacesGetSample.d.ts +0 -2
  301. package/dist-esm/samples-dev/workspacesGetSample.d.ts.map +0 -1
  302. package/dist-esm/samples-dev/workspacesGetSample.js +0 -39
  303. package/dist-esm/samples-dev/workspacesGetSample.js.map +0 -1
  304. package/dist-esm/samples-dev/workspacesListByResourceGroupSample.d.ts +0 -2
  305. package/dist-esm/samples-dev/workspacesListByResourceGroupSample.d.ts.map +0 -1
  306. package/dist-esm/samples-dev/workspacesListByResourceGroupSample.js +0 -59
  307. package/dist-esm/samples-dev/workspacesListByResourceGroupSample.js.map +0 -1
  308. package/dist-esm/samples-dev/workspacesListBySubscriptionSample.d.ts +0 -2
  309. package/dist-esm/samples-dev/workspacesListBySubscriptionSample.d.ts.map +0 -1
  310. package/dist-esm/samples-dev/workspacesListBySubscriptionSample.js +0 -58
  311. package/dist-esm/samples-dev/workspacesListBySubscriptionSample.js.map +0 -1
  312. package/dist-esm/samples-dev/workspacesUpdateTagsSample.d.ts +0 -2
  313. package/dist-esm/samples-dev/workspacesUpdateTagsSample.d.ts.map +0 -1
  314. package/dist-esm/samples-dev/workspacesUpdateTagsSample.js +0 -42
  315. package/dist-esm/samples-dev/workspacesUpdateTagsSample.js.map +0 -1
  316. package/dist-esm/src/azureQuantumManagementClient.d.ts.map +0 -1
  317. package/dist-esm/src/azureQuantumManagementClient.js.map +0 -1
  318. package/dist-esm/src/index.d.ts +0 -6
  319. package/dist-esm/src/index.d.ts.map +0 -1
  320. package/dist-esm/src/index.js.map +0 -1
  321. package/dist-esm/src/lroImpl.js +0 -21
  322. package/dist-esm/src/lroImpl.js.map +0 -1
  323. package/dist-esm/src/models/index.d.ts.map +0 -1
  324. package/dist-esm/src/models/index.js.map +0 -1
  325. package/dist-esm/src/models/mappers.d.ts.map +0 -1
  326. package/dist-esm/src/models/mappers.js.map +0 -1
  327. package/dist-esm/src/models/parameters.js.map +0 -1
  328. package/dist-esm/src/operations/index.d.ts +0 -5
  329. package/dist-esm/src/operations/index.js.map +0 -1
  330. package/dist-esm/src/operations/offerings.d.ts.map +0 -1
  331. package/dist-esm/src/operations/offerings.js.map +0 -1
  332. package/dist-esm/src/operations/operations.d.ts.map +0 -1
  333. package/dist-esm/src/operations/operations.js +0 -138
  334. package/dist-esm/src/operations/operations.js.map +0 -1
  335. package/dist-esm/src/operations/workspace.d.ts +0 -20
  336. package/dist-esm/src/operations/workspace.d.ts.map +0 -1
  337. package/dist-esm/src/operations/workspace.js +0 -54
  338. package/dist-esm/src/operations/workspace.js.map +0 -1
  339. package/dist-esm/src/operations/workspaces.d.ts.map +0 -1
  340. package/dist-esm/src/operations/workspaces.js +0 -498
  341. package/dist-esm/src/operations/workspaces.js.map +0 -1
  342. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -5
  343. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  344. package/dist-esm/src/operationsInterfaces/offerings.d.ts.map +0 -1
  345. package/dist-esm/src/operationsInterfaces/offerings.js.map +0 -1
  346. package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
  347. package/dist-esm/src/operationsInterfaces/workspace.d.ts +0 -12
  348. package/dist-esm/src/operationsInterfaces/workspace.d.ts.map +0 -1
  349. package/dist-esm/src/operationsInterfaces/workspace.js.map +0 -1
  350. package/dist-esm/src/operationsInterfaces/workspaces.d.ts.map +0 -1
  351. package/dist-esm/src/operationsInterfaces/workspaces.js.map +0 -1
  352. package/dist-esm/src/pagingHelper.js.map +0 -1
  353. package/dist-esm/test/quantum_operations_test.spec.d.ts +0 -4
  354. package/dist-esm/test/quantum_operations_test.spec.d.ts.map +0 -1
  355. package/dist-esm/test/quantum_operations_test.spec.js +0 -128
  356. package/dist-esm/test/quantum_operations_test.spec.js.map +0 -1
  357. package/rollup.config.js +0 -122
  358. package/src/azureQuantumManagementClient.ts +0 -156
  359. package/src/lroImpl.ts +0 -42
  360. package/src/models/index.ts +0 -617
  361. package/src/models/mappers.ts +0 -952
  362. package/src/models/parameters.ts +0 -137
  363. package/src/operations/index.ts +0 -12
  364. package/src/operations/offerings.ts +0 -170
  365. package/src/operations/operations.ts +0 -149
  366. package/src/operations/workspace.ts +0 -74
  367. package/src/operations/workspaces.ts +0 -633
  368. package/src/operationsInterfaces/index.ts +0 -12
  369. package/src/operationsInterfaces/offerings.ts +0 -24
  370. package/src/operationsInterfaces/operations.ts +0 -22
  371. package/src/operationsInterfaces/workspace.ts +0 -28
  372. package/src/operationsInterfaces/workspaces.ts +0 -121
  373. package/src/pagingHelper.ts +0 -39
  374. package/tsconfig.json +0 -33
  375. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
  376. /package/{dist-esm/src → dist/browser}/operationsInterfaces/offerings.js +0 -0
  377. /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
  378. /package/{dist-esm/src → dist/browser}/operationsInterfaces/workspace.js +0 -0
  379. /package/{dist-esm/src → dist/browser}/operationsInterfaces/workspaces.js +0 -0
  380. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
  381. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../../src/models/mappers.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,CAAC,MAAM,2BAA2B,GAA+B;IACrE,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,6BAA6B;QACxC,eAAe,EAAE;YACf,SAAS,EAAE;gBACT,cAAc,EAAE,WAAW;gBAC3B,IAAI,EAAE;oBACJ,IAAI,EAAE,UAAU;oBAChB,OAAO,EAAE;wBACP,IAAI,EAAE;4BACJ,IAAI,EAAE,WAAW;4BACjB,SAAS,EAAE,UAAU;yBACtB;qBACF;iBACF;aACF;YACD,MAAM,EAAE;gBACN,cAAc,EAAE,QAAQ;gBACxB,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;o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AC5B,IAAI,EAAE;oBACJ,IAAI,EAAE,WAAW;oBACjB,SAAS,EAAE,6BAA6B;iBACzC;aACF;YACD,QAAQ,EAAE;gBACR,cAAc,EAAE,UAAU;gBAC1B,IAAI,EAAE;oBACJ,IAAI,EAAE,WAAW;oBACjB,SAAS,EAAE,0BAA0B;iBACtC;aACF;SACF;KACF;CACF,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\nexport const WorkspaceResourceProperties: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"WorkspaceResourceProperties\",\n modelProperties: {\n providers: {\n serializedName: \"providers\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Provider\",\n },\n },\n },\n },\n usable: {\n serializedName: \"usable\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n provisioningState: {\n serializedName: \"provisioningState\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n storageAccount: {\n serializedName: \"storageAccount\",\n type: {\n name: \"String\",\n },\n },\n endpointUri: {\n serializedName: \"endpointUri\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n apiKeyEnabled: {\n serializedName: \"apiKeyEnabled\",\n type: {\n name: \"Boolean\",\n },\n },\n },\n },\n};\n\nexport const Provider: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Provider\",\n modelProperties: {\n providerId: {\n serializedName: \"providerId\",\n type: {\n name: \"String\",\n },\n },\n providerSku: {\n serializedName: \"providerSku\",\n type: {\n name: \"String\",\n },\n },\n instanceUri: {\n serializedName: \"instanceUri\",\n type: {\n name: \"String\",\n },\n },\n applicationName: {\n serializedName: \"applicationName\",\n type: {\n name: \"String\",\n },\n },\n provisioningState: {\n serializedName: \"provisioningState\",\n type: {\n name: \"String\",\n },\n },\n resourceUsageId: {\n serializedName: \"resourceUsageId\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const QuantumWorkspaceIdentity: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"QuantumWorkspaceIdentity\",\n modelProperties: {\n principalId: {\n serializedName: \"principalId\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n tenantId: {\n serializedName: \"tenantId\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n type: {\n serializedName: \"type\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const Resource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Resource\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n systemData: {\n serializedName: \"systemData\",\n type: {\n name: \"Composite\",\n className: \"SystemData\",\n },\n },\n },\n },\n};\n\nexport const SystemData: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SystemData\",\n modelProperties: {\n createdBy: {\n serializedName: \"createdBy\",\n type: {\n name: \"String\",\n },\n },\n createdByType: {\n serializedName: \"createdByType\",\n type: {\n name: \"String\",\n },\n },\n createdAt: {\n serializedName: \"createdAt\",\n type: {\n name: \"DateTime\",\n },\n },\n lastModifiedBy: {\n serializedName: \"lastModifiedBy\",\n type: {\n name: \"String\",\n },\n },\n lastModifiedByType: {\n serializedName: \"lastModifiedByType\",\n type: {\n name: \"String\",\n },\n },\n lastModifiedAt: {\n serializedName: \"lastModifiedAt\",\n type: {\n name: \"DateTime\",\n },\n },\n },\n },\n};\n\nexport const ErrorResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorResponse\",\n modelProperties: {\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"ErrorDetail\",\n },\n },\n },\n },\n};\n\nexport const ErrorDetail: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorDetail\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n message: {\n serializedName: \"message\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n target: {\n serializedName: \"target\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n details: {\n serializedName: \"details\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ErrorDetail\",\n },\n },\n },\n },\n additionalInfo: {\n serializedName: \"additionalInfo\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ErrorAdditionalInfo\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const ErrorAdditionalInfo: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorAdditionalInfo\",\n modelProperties: {\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n info: {\n serializedName: \"info\",\n readOnly: true,\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } },\n },\n },\n },\n },\n};\n\nexport const TagsObject: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TagsObject\",\n modelProperties: {\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } },\n },\n },\n },\n },\n};\n\nexport const WorkspaceListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"WorkspaceListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"QuantumWorkspace\",\n },\n },\n },\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const OfferingsListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OfferingsListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ProviderDescription\",\n },\n },\n },\n },\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ProviderDescription: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ProviderDescription\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n type: {\n name: \"String\",\n },\n },\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Composite\",\n className: \"ProviderProperties\",\n },\n },\n },\n },\n};\n\nexport const ProviderProperties: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ProviderProperties\",\n modelProperties: {\n description: {\n serializedName: \"description\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n providerType: {\n serializedName: \"providerType\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n company: {\n serializedName: \"company\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n defaultEndpoint: {\n serializedName: \"defaultEndpoint\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n aad: {\n serializedName: \"aad\",\n type: {\n name: \"Composite\",\n className: \"ProviderPropertiesAad\",\n },\n },\n managedApplication: {\n serializedName: \"managedApplication\",\n type: {\n name: \"Composite\",\n className: \"ProviderPropertiesManagedApplication\",\n },\n },\n targets: {\n serializedName: \"targets\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"TargetDescription\",\n },\n },\n },\n },\n skus: {\n serializedName: \"skus\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"SkuDescription\",\n },\n },\n },\n },\n quotaDimensions: {\n serializedName: \"quotaDimensions\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"QuotaDimension\",\n },\n },\n },\n },\n pricingDimensions: {\n serializedName: \"pricingDimensions\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"PricingDimension\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const ProviderPropertiesAad: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ProviderPropertiesAad\",\n modelProperties: {\n applicationId: {\n serializedName: \"applicationId\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n tenantId: {\n serializedName: \"tenantId\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ProviderPropertiesManagedApplication: coreClient.CompositeMapper =\n {\n type: {\n name: \"Composite\",\n className: \"ProviderPropertiesManagedApplication\",\n modelProperties: {\n publisherId: {\n serializedName: \"publisherId\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n offerId: {\n serializedName: \"offerId\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n },\n },\n };\n\nexport const TargetDescription: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TargetDescription\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n type: {\n name: \"String\",\n },\n },\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\",\n },\n },\n description: {\n serializedName: \"description\",\n type: {\n name: \"String\",\n },\n },\n acceptedDataFormats: {\n serializedName: \"acceptedDataFormats\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\",\n },\n },\n },\n },\n acceptedContentEncodings: {\n serializedName: \"acceptedContentEncodings\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const SkuDescription: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SkuDescription\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n type: {\n name: \"String\",\n },\n },\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\",\n },\n },\n version: {\n serializedName: \"version\",\n type: {\n name: \"String\",\n },\n },\n description: {\n serializedName: \"description\",\n type: {\n name: \"String\",\n },\n },\n restrictedAccessUri: {\n serializedName: \"restrictedAccessUri\",\n type: {\n name: \"String\",\n },\n },\n autoAdd: {\n serializedName: \"autoAdd\",\n type: {\n name: \"Boolean\",\n },\n },\n targets: {\n serializedName: \"targets\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\",\n },\n },\n },\n },\n quotaDimensions: {\n serializedName: \"quotaDimensions\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"QuotaDimension\",\n },\n },\n },\n },\n pricingDetails: {\n serializedName: \"pricingDetails\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"PricingDetail\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const QuotaDimension: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"QuotaDimension\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n type: {\n name: \"String\",\n },\n },\n scope: {\n serializedName: \"scope\",\n type: {\n name: \"String\",\n },\n },\n period: {\n serializedName: \"period\",\n type: {\n name: \"String\",\n },\n },\n quota: {\n serializedName: \"quota\",\n type: {\n name: \"Number\",\n },\n },\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\",\n },\n },\n description: {\n serializedName: \"description\",\n type: {\n name: \"String\",\n },\n },\n unit: {\n serializedName: \"unit\",\n type: {\n name: \"String\",\n },\n },\n unitPlural: {\n serializedName: \"unitPlural\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const PricingDetail: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PricingDetail\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n type: {\n name: \"String\",\n },\n },\n value: {\n serializedName: \"value\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const PricingDimension: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PricingDimension\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n type: {\n name: \"String\",\n },\n },\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const OperationsList: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationsList\",\n modelProperties: {\n nextLink: {\n serializedName: \"nextLink\",\n type: {\n name: \"String\",\n },\n },\n value: {\n serializedName: \"value\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Operation\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const Operation: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Operation\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\",\n },\n },\n isDataAction: {\n serializedName: \"isDataAction\",\n type: {\n name: \"Boolean\",\n },\n },\n display: {\n serializedName: \"display\",\n type: {\n name: \"Composite\",\n className: \"OperationDisplay\",\n },\n },\n },\n },\n};\n\nexport const OperationDisplay: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationDisplay\",\n modelProperties: {\n provider: {\n serializedName: \"provider\",\n type: {\n name: \"String\",\n },\n },\n resource: {\n serializedName: \"resource\",\n type: {\n name: \"String\",\n },\n },\n operation: {\n serializedName: \"operation\",\n type: {\n name: \"String\",\n },\n },\n description: {\n serializedName: \"description\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const CheckNameAvailabilityParameters: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CheckNameAvailabilityParameters\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\",\n },\n },\n type: {\n defaultValue: \"Microsoft.Quantum/Workspaces\",\n serializedName: \"type\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const CheckNameAvailabilityResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"CheckNameAvailabilityResult\",\n modelProperties: {\n nameAvailable: {\n serializedName: \"nameAvailable\",\n type: {\n name: \"Boolean\",\n },\n },\n reason: {\n serializedName: \"reason\",\n type: {\n name: \"String\",\n },\n },\n message: {\n serializedName: \"message\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ListKeysResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ListKeysResult\",\n modelProperties: {\n apiKeyEnabled: {\n serializedName: \"apiKeyEnabled\",\n type: {\n name: \"Boolean\",\n },\n },\n primaryKey: {\n serializedName: \"primaryKey\",\n type: {\n name: \"Composite\",\n className: \"ApiKey\",\n },\n },\n secondaryKey: {\n serializedName: \"secondaryKey\",\n type: {\n name: \"Composite\",\n className: \"ApiKey\",\n },\n },\n primaryConnectionString: {\n serializedName: \"primaryConnectionString\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n secondaryConnectionString: {\n serializedName: \"secondaryConnectionString\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ApiKey: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ApiKey\",\n modelProperties: {\n createdAt: {\n serializedName: \"createdAt\",\n type: {\n name: \"DateTime\",\n },\n },\n key: {\n serializedName: \"key\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const APIKeys: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"APIKeys\",\n modelProperties: {\n keys: {\n serializedName: \"keys\",\n type: {\n name: \"Sequence\",\n element: {\n defaultValue: \"Primary\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const TrackedResource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TrackedResource\",\n modelProperties: {\n ...Resource.type.modelProperties,\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } },\n },\n },\n location: {\n serializedName: \"location\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const QuantumWorkspace: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"QuantumWorkspace\",\n modelProperties: {\n ...TrackedResource.type.modelProperties,\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Composite\",\n className: \"WorkspaceResourceProperties\",\n },\n },\n identity: {\n serializedName: \"identity\",\n type: {\n name: \"Composite\",\n className: \"QuantumWorkspaceIdentity\",\n },\n },\n },\n },\n};\n"]}
@@ -11,4 +11,5 @@ export declare const workspaceTags: OperationParameter;
11
11
  export declare const nextLink: OperationURLParameter;
12
12
  export declare const locationName: OperationURLParameter;
13
13
  export declare const checkNameAvailabilityParameters: OperationParameter;
14
+ export declare const keySpecification: OperationParameter;
14
15
  //# sourceMappingURL=parameters.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"parameters.d.ts","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,kBAAkB,EAClB,qBAAqB,EACrB,uBAAuB,EACxB,MAAM,oBAAoB,CAAC;AAO5B,eAAO,MAAM,MAAM,EAAE,kBAUpB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,qBAUnB,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,qBAS/B,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,uBAUxB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,qBAS5B,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,qBAS3B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,kBAUzB,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,kBAG9B,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,kBAG3B,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,qBAUtB,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,qBAS1B,CAAC;AAEF,eAAO,MAAM,+BAA+B,EAAE,kBAG7C,CAAC"}
1
+ {"version":3,"file":"parameters.d.ts","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,kBAAkB,EAClB,qBAAqB,EACrB,uBAAuB,EACxB,MAAM,oBAAoB,CAAC;AAQ5B,eAAO,MAAM,MAAM,EAAE,kBAUpB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,qBAUnB,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,qBAa/B,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,uBAUxB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,qBAS5B,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,qBAY3B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,kBAUzB,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,kBAG9B,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,kBAG3B,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,qBAUtB,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,qBAS1B,CAAC;AAEF,eAAO,MAAM,+BAA+B,EAAE,kBAG7C,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,kBAG9B,CAAC"}
@@ -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 { QuantumWorkspace as QuantumWorkspaceMapper, TagsObject as TagsObjectMapper, CheckNameAvailabilityParameters as CheckNameAvailabilityParametersMapper } from "../models/mappers";
8
+ import { QuantumWorkspace as QuantumWorkspaceMapper, TagsObject as TagsObjectMapper, CheckNameAvailabilityParameters as CheckNameAvailabilityParametersMapper, APIKeys as APIKeysMapper, } from "../models/mappers.js";
9
9
  export const accept = {
10
10
  parameterPath: "accept",
11
11
  mapper: {
@@ -13,9 +13,9 @@ export const accept = {
13
13
  isConstant: true,
14
14
  serializedName: "Accept",
15
15
  type: {
16
- name: "String"
17
- }
18
- }
16
+ name: "String",
17
+ },
18
+ },
19
19
  };
20
20
  export const $host = {
21
21
  parameterPath: "$host",
@@ -23,31 +23,35 @@ export const $host = {
23
23
  serializedName: "$host",
24
24
  required: true,
25
25
  type: {
26
- name: "String"
27
- }
26
+ name: "String",
27
+ },
28
28
  },
29
- skipEncoding: true
29
+ skipEncoding: true,
30
30
  };
31
31
  export const resourceGroupName = {
32
32
  parameterPath: "resourceGroupName",
33
33
  mapper: {
34
+ constraints: {
35
+ MaxLength: 90,
36
+ MinLength: 1,
37
+ },
34
38
  serializedName: "resourceGroupName",
35
39
  required: true,
36
40
  type: {
37
- name: "String"
38
- }
39
- }
41
+ name: "String",
42
+ },
43
+ },
40
44
  };
41
45
  export const apiVersion = {
42
46
  parameterPath: "apiVersion",
43
47
  mapper: {
44
- defaultValue: "2022-01-10-preview",
48
+ defaultValue: "2023-11-13-preview",
45
49
  isConstant: true,
46
50
  serializedName: "api-version",
47
51
  type: {
48
- name: "String"
49
- }
50
- }
52
+ name: "String",
53
+ },
54
+ },
51
55
  };
52
56
  export const subscriptionId = {
53
57
  parameterPath: "subscriptionId",
@@ -55,19 +59,22 @@ export const subscriptionId = {
55
59
  serializedName: "subscriptionId",
56
60
  required: true,
57
61
  type: {
58
- name: "String"
59
- }
60
- }
62
+ name: "Uuid",
63
+ },
64
+ },
61
65
  };
62
66
  export const workspaceName = {
63
67
  parameterPath: "workspaceName",
64
68
  mapper: {
69
+ constraints: {
70
+ Pattern: new RegExp("^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$"),
71
+ },
65
72
  serializedName: "workspaceName",
66
73
  required: true,
67
74
  type: {
68
- name: "String"
69
- }
70
- }
75
+ name: "String",
76
+ },
77
+ },
71
78
  };
72
79
  export const contentType = {
73
80
  parameterPath: ["options", "contentType"],
@@ -76,17 +83,17 @@ export const contentType = {
76
83
  isConstant: true,
77
84
  serializedName: "Content-Type",
78
85
  type: {
79
- name: "String"
80
- }
81
- }
86
+ name: "String",
87
+ },
88
+ },
82
89
  };
83
90
  export const quantumWorkspace = {
84
91
  parameterPath: "quantumWorkspace",
85
- mapper: QuantumWorkspaceMapper
92
+ mapper: QuantumWorkspaceMapper,
86
93
  };
87
94
  export const workspaceTags = {
88
95
  parameterPath: "workspaceTags",
89
- mapper: TagsObjectMapper
96
+ mapper: TagsObjectMapper,
90
97
  };
91
98
  export const nextLink = {
92
99
  parameterPath: "nextLink",
@@ -94,10 +101,10 @@ export const nextLink = {
94
101
  serializedName: "nextLink",
95
102
  required: true,
96
103
  type: {
97
- name: "String"
98
- }
104
+ name: "String",
105
+ },
99
106
  },
100
- skipEncoding: true
107
+ skipEncoding: true,
101
108
  };
102
109
  export const locationName = {
103
110
  parameterPath: "locationName",
@@ -105,12 +112,16 @@ export const locationName = {
105
112
  serializedName: "locationName",
106
113
  required: true,
107
114
  type: {
108
- name: "String"
109
- }
110
- }
115
+ name: "String",
116
+ },
117
+ },
111
118
  };
112
119
  export const checkNameAvailabilityParameters = {
113
120
  parameterPath: "checkNameAvailabilityParameters",
114
- mapper: CheckNameAvailabilityParametersMapper
121
+ mapper: CheckNameAvailabilityParametersMapper,
122
+ };
123
+ export const keySpecification = {
124
+ parameterPath: "keySpecification",
125
+ mapper: APIKeysMapper,
115
126
  };
116
127
  //# sourceMappingURL=parameters.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAOH,OAAO,EACL,gBAAgB,IAAI,sBAAsB,EAC1C,UAAU,IAAI,gBAAgB,EAC9B,+BAA+B,IAAI,qCAAqC,EACxE,OAAO,IAAI,aAAa,GACzB,MAAM,sBAAsB,CAAC;AAE9B,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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M,EAAE;QACN,YAAY,EAAE,kBAAkB;QAChC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,cAAc;QAC9B,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAAuB;IAClD,aAAa,EAAE,kBAAkB;IACjC,MAAM,EAAE,sBAAsB;CAC/B,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAAuB;IAC/C,aAAa,EAAE,eAAe;IAC9B,MAAM,EAAE,gBAAgB;CACzB,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;IACD,YAAY,EAAE,IAAI;CACnB,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAA0B;IACjD,aAAa,EAAE,cAAc;IAC7B,MAAM,EAAE;QACN,cAAc,EAAE,cAAc;QAC9B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,+BAA+B,GAAuB;IACjE,aAAa,EAAE,iCAAiC;IAChD,MAAM,EAAE,qCAAqC;CAC9C,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAAuB;IAClD,aAAa,EAAE,kBAAkB;IACjC,MAAM,EAAE,aAAa;CACtB,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter,\n} from \"@azure/core-client\";\nimport {\n QuantumWorkspace as QuantumWorkspaceMapper,\n TagsObject as TagsObjectMapper,\n CheckNameAvailabilityParameters as CheckNameAvailabilityParametersMapper,\n APIKeys as APIKeysMapper,\n} from \"../models/mappers.js\";\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const $host: OperationURLParameter = {\n parameterPath: \"$host\",\n mapper: {\n serializedName: \"$host\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const resourceGroupName: OperationURLParameter = {\n parameterPath: \"resourceGroupName\",\n mapper: {\n constraints: {\n MaxLength: 90,\n MinLength: 1,\n },\n serializedName: \"resourceGroupName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2023-11-13-preview\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const subscriptionId: OperationURLParameter = {\n parameterPath: \"subscriptionId\",\n mapper: {\n serializedName: \"subscriptionId\",\n required: true,\n type: {\n name: \"Uuid\",\n },\n },\n};\n\nexport const workspaceName: OperationURLParameter = {\n parameterPath: \"workspaceName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$\"),\n },\n serializedName: \"workspaceName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const quantumWorkspace: OperationParameter = {\n parameterPath: \"quantumWorkspace\",\n mapper: QuantumWorkspaceMapper,\n};\n\nexport const workspaceTags: OperationParameter = {\n parameterPath: \"workspaceTags\",\n mapper: TagsObjectMapper,\n};\n\nexport const nextLink: OperationURLParameter = {\n parameterPath: \"nextLink\",\n mapper: {\n serializedName: \"nextLink\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const locationName: OperationURLParameter = {\n parameterPath: \"locationName\",\n mapper: {\n serializedName: \"locationName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const checkNameAvailabilityParameters: OperationParameter = {\n parameterPath: \"checkNameAvailabilityParameters\",\n mapper: CheckNameAvailabilityParametersMapper,\n};\n\nexport const keySpecification: OperationParameter = {\n parameterPath: \"keySpecification\",\n mapper: APIKeysMapper,\n};\n"]}
@@ -0,0 +1,5 @@
1
+ export * from "./workspaces.js";
2
+ export * from "./offerings.js";
3
+ export * from "./operations.js";
4
+ export * from "./workspace.js";
5
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC"}
@@ -5,8 +5,8 @@
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
- export * from "./workspaces";
9
- export * from "./offerings";
10
- export * from "./operations";
11
- export * from "./workspace";
8
+ export * from "./workspaces.js";
9
+ export * from "./offerings.js";
10
+ export * from "./operations.js";
11
+ export * from "./workspace.js";
12
12
  //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nexport * from \"./workspaces.js\";\nexport * from \"./offerings.js\";\nexport * from \"./operations.js\";\nexport * from \"./workspace.js\";\n"]}
@@ -1,7 +1,7 @@
1
1
  import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { Offerings } from "../operationsInterfaces";
3
- import { AzureQuantumManagementClient } from "../azureQuantumManagementClient";
4
- import { ProviderDescription, OfferingsListOptionalParams } from "../models";
2
+ import { Offerings } from "../operationsInterfaces/index.js";
3
+ import { AzureQuantumManagementClient } from "../azureQuantumManagementClient.js";
4
+ import { ProviderDescription, OfferingsListOptionalParams } from "../models/index.js";
5
5
  /** Class containing Offerings operations. */
6
6
  export declare class OfferingsImpl implements Offerings {
7
7
  private readonly client;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"offerings.d.ts","sourceRoot":"","sources":["../../../src/operations/offerings.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAI7D,OAAO,EAAE,4BAA4B,EAAE,MAAM,oCAAoC,CAAC;AAClF,OAAO,EACL,mBAAmB,EAEnB,2BAA2B,EAG5B,MAAM,oBAAoB,CAAC;AAG5B,6CAA6C;AAC7C,qBAAa,aAAc,YAAW,SAAS;IAC7C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA+B;IAEtD;;;OAGG;gBACS,MAAM,EAAE,4BAA4B;IAIhD;;;;OAIG;IACI,IAAI,CACT,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,2BAA2B,GACpC,0BAA0B,CAAC,mBAAmB,CAAC;YAkBnC,cAAc;YAuBd,aAAa;IAS5B;;;;OAIG;IACH,OAAO,CAAC,KAAK;IAUb;;;;;OAKG;IACH,OAAO,CAAC,SAAS;CAUlB"}
@@ -5,14 +5,14 @@
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 { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
- import { setContinuationToken } from "../pagingHelper";
8
+ import { setContinuationToken } from "../pagingHelper.js";
10
9
  import * as coreClient from "@azure/core-client";
11
- import * as Mappers from "../models/mappers";
12
- import * as Parameters from "../models/parameters";
10
+ import * as Mappers from "../models/mappers.js";
11
+ import * as Parameters from "../models/parameters.js";
13
12
  /// <reference lib="esnext.asynciterable" />
14
13
  /** Class containing Offerings operations. */
15
14
  export class OfferingsImpl {
15
+ client;
16
16
  /**
17
17
  * Initialize a new instance of the class Offerings class.
18
18
  * @param client Reference to the service client
@@ -35,57 +35,35 @@ export class OfferingsImpl {
35
35
  return this;
36
36
  },
37
37
  byPage: (settings) => {
38
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
38
+ if (settings?.maxPageSize) {
39
39
  throw new Error("maxPageSize is not supported by this operation.");
40
40
  }
41
41
  return this.listPagingPage(locationName, options, settings);
42
- }
42
+ },
43
43
  };
44
44
  }
45
- listPagingPage(locationName, 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(locationName, 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(locationName, continuationToken, options));
58
- continuationToken = result.nextLink;
59
- let page = result.value || [];
60
- setContinuationToken(page, continuationToken);
61
- yield yield __await(page);
62
- }
63
- });
45
+ async *listPagingPage(locationName, options, settings) {
46
+ let result;
47
+ let continuationToken = settings?.continuationToken;
48
+ if (!continuationToken) {
49
+ result = await this._list(locationName, options);
50
+ let page = result.value || [];
51
+ continuationToken = result.nextLink;
52
+ setContinuationToken(page, continuationToken);
53
+ yield page;
54
+ }
55
+ while (continuationToken) {
56
+ result = await this._listNext(locationName, continuationToken, options);
57
+ continuationToken = result.nextLink;
58
+ let page = result.value || [];
59
+ setContinuationToken(page, continuationToken);
60
+ yield page;
61
+ }
64
62
  }
65
- listPagingAll(locationName, 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(locationName, 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
- });
63
+ async *listPagingAll(locationName, options) {
64
+ for await (const page of this.listPagingPage(locationName, options)) {
65
+ yield* page;
66
+ }
89
67
  }
90
68
  /**
91
69
  * Returns the list of all provider offerings available for the given location.
@@ -112,39 +90,39 @@ const listOperationSpec = {
112
90
  httpMethod: "GET",
113
91
  responses: {
114
92
  200: {
115
- bodyMapper: Mappers.OfferingsListResult
93
+ bodyMapper: Mappers.OfferingsListResult,
116
94
  },
117
95
  default: {
118
- bodyMapper: Mappers.ErrorResponse
119
- }
96
+ bodyMapper: Mappers.ErrorResponse,
97
+ },
120
98
  },
121
99
  queryParameters: [Parameters.apiVersion],
122
100
  urlParameters: [
123
101
  Parameters.$host,
124
102
  Parameters.subscriptionId,
125
- Parameters.locationName
103
+ Parameters.locationName,
126
104
  ],
127
105
  headerParameters: [Parameters.accept],
128
- serializer
106
+ serializer,
129
107
  };
130
108
  const listNextOperationSpec = {
131
109
  path: "{nextLink}",
132
110
  httpMethod: "GET",
133
111
  responses: {
134
112
  200: {
135
- bodyMapper: Mappers.OfferingsListResult
113
+ bodyMapper: Mappers.OfferingsListResult,
136
114
  },
137
115
  default: {
138
- bodyMapper: Mappers.ErrorResponse
139
- }
116
+ bodyMapper: Mappers.ErrorResponse,
117
+ },
140
118
  },
141
119
  urlParameters: [
142
120
  Parameters.$host,
143
121
  Parameters.subscriptionId,
144
122
  Parameters.nextLink,
145
- Parameters.locationName
123
+ Parameters.locationName,
146
124
  ],
147
125
  headerParameters: [Parameters.accept],
148
- serializer
126
+ serializer,
149
127
  };
150
128
  //# sourceMappingURL=offerings.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"offerings.js","sourceRoot":"","sources":["../../../src/operations/offerings.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAUtD,4CAA4C;AAC5C,6CAA6C;AAC7C,MAAM,OAAO,aAAa;IACP,MAAM,CAA+B;IAEtD;;;OAGG;IACH,YAAY,MAAoC;QAC9C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;OAIG;IACI,IAAI,CACT,YAAoB,EACpB,OAAqC;QAErC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,YAAY,EAAE,OAAO,CAAC,CAAC;QACvD,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAA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QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,YAAY;KACxB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { Offerings } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { AzureQuantumManagementClient } from \"../azureQuantumManagementClient.js\";\nimport {\n ProviderDescription,\n OfferingsListNextOptionalParams,\n OfferingsListOptionalParams,\n OfferingsListResponse,\n OfferingsListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Offerings operations. */\nexport class OfferingsImpl implements Offerings {\n private readonly client: AzureQuantumManagementClient;\n\n /**\n * Initialize a new instance of the class Offerings class.\n * @param client Reference to the service client\n */\n constructor(client: AzureQuantumManagementClient) {\n this.client = client;\n }\n\n /**\n * Returns the list of all provider offerings available for the given location.\n * @param locationName Location.\n * @param options The options parameters.\n */\n public list(\n locationName: string,\n options?: OfferingsListOptionalParams,\n ): PagedAsyncIterableIterator<ProviderDescription> {\n const iter = this.listPagingAll(locationName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(locationName, options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n locationName: string,\n options?: OfferingsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<ProviderDescription[]> {\n let result: OfferingsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(locationName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(locationName, continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n locationName: string,\n options?: OfferingsListOptionalParams,\n ): AsyncIterableIterator<ProviderDescription> {\n for await (const page of this.listPagingPage(locationName, options)) {\n yield* page;\n }\n }\n\n /**\n * Returns the list of all provider offerings available for the given location.\n * @param locationName Location.\n * @param options The options parameters.\n */\n private _list(\n locationName: string,\n options?: OfferingsListOptionalParams,\n ): Promise<OfferingsListResponse> {\n return this.client.sendOperationRequest(\n { locationName, options },\n listOperationSpec,\n );\n }\n\n /**\n * ListNext\n * @param locationName Location.\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n locationName: string,\n nextLink: string,\n options?: OfferingsListNextOptionalParams,\n ): Promise<OfferingsListNextResponse> {\n return this.client.sendOperationRequest(\n { locationName, nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.Quantum/locations/{locationName}/offerings\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OfferingsListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.locationName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OfferingsListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.nextLink,\n Parameters.locationName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -1,7 +1,7 @@
1
1
  import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { Operations } from "../operationsInterfaces";
3
- import { AzureQuantumManagementClient } from "../azureQuantumManagementClient";
4
- import { Operation, OperationsListOptionalParams } from "../models";
2
+ import { Operations } from "../operationsInterfaces/index.js";
3
+ import { AzureQuantumManagementClient } from "../azureQuantumManagementClient.js";
4
+ import { Operation, OperationsListOptionalParams } from "../models/index.js";
5
5
  /** Class containing Operations operations. */
6
6
  export declare class OperationsImpl implements Operations {
7
7
  private readonly client;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAI9D,OAAO,EAAE,4BAA4B,EAAE,MAAM,oCAAoC,CAAC;AAClF,OAAO,EACL,SAAS,EAET,4BAA4B,EAG7B,MAAM,oBAAoB,CAAC;AAG5B,8CAA8C;AAC9C,qBAAa,cAAe,YAAW,UAAU;IAC/C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA+B;IAEtD;;;OAGG;gBACS,MAAM,EAAE,4BAA4B;IAIhD;;;OAGG;IACI,IAAI,CACT,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,SAAS,CAAC;YAkBzB,cAAc;YAsBd,aAAa;IAQ5B;;;OAGG;IACH,OAAO,CAAC,KAAK;IAMb;;;;OAIG;IACH,OAAO,CAAC,SAAS;CASlB"}
@@ -0,0 +1,116 @@
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 { setContinuationToken } from "../pagingHelper.js";
9
+ import * as coreClient from "@azure/core-client";
10
+ import * as Mappers from "../models/mappers.js";
11
+ import * as Parameters from "../models/parameters.js";
12
+ /// <reference lib="esnext.asynciterable" />
13
+ /** Class containing Operations operations. */
14
+ export class OperationsImpl {
15
+ client;
16
+ /**
17
+ * Initialize a new instance of the class Operations class.
18
+ * @param client Reference to the service client
19
+ */
20
+ constructor(client) {
21
+ this.client = client;
22
+ }
23
+ /**
24
+ * Returns list of operations.
25
+ * @param options The options parameters.
26
+ */
27
+ list(options) {
28
+ const iter = this.listPagingAll(options);
29
+ return {
30
+ next() {
31
+ return iter.next();
32
+ },
33
+ [Symbol.asyncIterator]() {
34
+ return this;
35
+ },
36
+ byPage: (settings) => {
37
+ if (settings?.maxPageSize) {
38
+ throw new Error("maxPageSize is not supported by this operation.");
39
+ }
40
+ return this.listPagingPage(options, settings);
41
+ },
42
+ };
43
+ }
44
+ async *listPagingPage(options, settings) {
45
+ let result;
46
+ let continuationToken = settings?.continuationToken;
47
+ if (!continuationToken) {
48
+ result = await this._list(options);
49
+ let page = result.value || [];
50
+ continuationToken = result.nextLink;
51
+ setContinuationToken(page, continuationToken);
52
+ yield page;
53
+ }
54
+ while (continuationToken) {
55
+ result = await this._listNext(continuationToken, options);
56
+ continuationToken = result.nextLink;
57
+ let page = result.value || [];
58
+ setContinuationToken(page, continuationToken);
59
+ yield page;
60
+ }
61
+ }
62
+ async *listPagingAll(options) {
63
+ for await (const page of this.listPagingPage(options)) {
64
+ yield* page;
65
+ }
66
+ }
67
+ /**
68
+ * Returns list of operations.
69
+ * @param options The options parameters.
70
+ */
71
+ _list(options) {
72
+ return this.client.sendOperationRequest({ options }, listOperationSpec);
73
+ }
74
+ /**
75
+ * ListNext
76
+ * @param nextLink The nextLink from the previous successful call to the List method.
77
+ * @param options The options parameters.
78
+ */
79
+ _listNext(nextLink, options) {
80
+ return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
81
+ }
82
+ }
83
+ // Operation Specifications
84
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
85
+ const listOperationSpec = {
86
+ path: "/providers/Microsoft.Quantum/operations",
87
+ httpMethod: "GET",
88
+ responses: {
89
+ 200: {
90
+ bodyMapper: Mappers.OperationsList,
91
+ },
92
+ default: {
93
+ bodyMapper: Mappers.ErrorResponse,
94
+ },
95
+ },
96
+ queryParameters: [Parameters.apiVersion],
97
+ urlParameters: [Parameters.$host],
98
+ headerParameters: [Parameters.accept],
99
+ serializer,
100
+ };
101
+ const listNextOperationSpec = {
102
+ path: "{nextLink}",
103
+ httpMethod: "GET",
104
+ responses: {
105
+ 200: {
106
+ bodyMapper: Mappers.OperationsList,
107
+ },
108
+ default: {
109
+ bodyMapper: Mappers.ErrorResponse,
110
+ },
111
+ },
112
+ urlParameters: [Parameters.$host, Parameters.nextLink],
113
+ headerParameters: [Parameters.accept],
114
+ serializer,
115
+ };
116
+ //# sourceMappingURL=operations.js.map