@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
@@ -1,137 +0,0 @@
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
-
9
- import {
10
- OperationParameter,
11
- OperationURLParameter,
12
- OperationQueryParameter
13
- } from "@azure/core-client";
14
- import {
15
- QuantumWorkspace as QuantumWorkspaceMapper,
16
- TagsObject as TagsObjectMapper,
17
- CheckNameAvailabilityParameters as CheckNameAvailabilityParametersMapper
18
- } from "../models/mappers";
19
-
20
- export const accept: OperationParameter = {
21
- parameterPath: "accept",
22
- mapper: {
23
- defaultValue: "application/json",
24
- isConstant: true,
25
- serializedName: "Accept",
26
- type: {
27
- name: "String"
28
- }
29
- }
30
- };
31
-
32
- export const $host: OperationURLParameter = {
33
- parameterPath: "$host",
34
- mapper: {
35
- serializedName: "$host",
36
- required: true,
37
- type: {
38
- name: "String"
39
- }
40
- },
41
- skipEncoding: true
42
- };
43
-
44
- export const resourceGroupName: OperationURLParameter = {
45
- parameterPath: "resourceGroupName",
46
- mapper: {
47
- serializedName: "resourceGroupName",
48
- required: true,
49
- type: {
50
- name: "String"
51
- }
52
- }
53
- };
54
-
55
- export const apiVersion: OperationQueryParameter = {
56
- parameterPath: "apiVersion",
57
- mapper: {
58
- defaultValue: "2022-01-10-preview",
59
- isConstant: true,
60
- serializedName: "api-version",
61
- type: {
62
- name: "String"
63
- }
64
- }
65
- };
66
-
67
- export const subscriptionId: OperationURLParameter = {
68
- parameterPath: "subscriptionId",
69
- mapper: {
70
- serializedName: "subscriptionId",
71
- required: true,
72
- type: {
73
- name: "String"
74
- }
75
- }
76
- };
77
-
78
- export const workspaceName: OperationURLParameter = {
79
- parameterPath: "workspaceName",
80
- mapper: {
81
- serializedName: "workspaceName",
82
- required: true,
83
- type: {
84
- name: "String"
85
- }
86
- }
87
- };
88
-
89
- export const contentType: OperationParameter = {
90
- parameterPath: ["options", "contentType"],
91
- mapper: {
92
- defaultValue: "application/json",
93
- isConstant: true,
94
- serializedName: "Content-Type",
95
- type: {
96
- name: "String"
97
- }
98
- }
99
- };
100
-
101
- export const quantumWorkspace: OperationParameter = {
102
- parameterPath: "quantumWorkspace",
103
- mapper: QuantumWorkspaceMapper
104
- };
105
-
106
- export const workspaceTags: OperationParameter = {
107
- parameterPath: "workspaceTags",
108
- mapper: TagsObjectMapper
109
- };
110
-
111
- export const nextLink: OperationURLParameter = {
112
- parameterPath: "nextLink",
113
- mapper: {
114
- serializedName: "nextLink",
115
- required: true,
116
- type: {
117
- name: "String"
118
- }
119
- },
120
- skipEncoding: true
121
- };
122
-
123
- export const locationName: OperationURLParameter = {
124
- parameterPath: "locationName",
125
- mapper: {
126
- serializedName: "locationName",
127
- required: true,
128
- type: {
129
- name: "String"
130
- }
131
- }
132
- };
133
-
134
- export const checkNameAvailabilityParameters: OperationParameter = {
135
- parameterPath: "checkNameAvailabilityParameters",
136
- mapper: CheckNameAvailabilityParametersMapper
137
- };
@@ -1,12 +0,0 @@
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
-
9
- export * from "./workspaces";
10
- export * from "./offerings";
11
- export * from "./operations";
12
- export * from "./workspace";
@@ -1,170 +0,0 @@
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
-
9
- import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging";
10
- import { setContinuationToken } from "../pagingHelper";
11
- import { Offerings } from "../operationsInterfaces";
12
- import * as coreClient from "@azure/core-client";
13
- import * as Mappers from "../models/mappers";
14
- import * as Parameters from "../models/parameters";
15
- import { AzureQuantumManagementClient } from "../azureQuantumManagementClient";
16
- import {
17
- ProviderDescription,
18
- OfferingsListNextOptionalParams,
19
- OfferingsListOptionalParams,
20
- OfferingsListResponse,
21
- OfferingsListNextResponse
22
- } from "../models";
23
-
24
- /// <reference lib="esnext.asynciterable" />
25
- /** Class containing Offerings operations. */
26
- export class OfferingsImpl implements Offerings {
27
- private readonly client: AzureQuantumManagementClient;
28
-
29
- /**
30
- * Initialize a new instance of the class Offerings class.
31
- * @param client Reference to the service client
32
- */
33
- constructor(client: AzureQuantumManagementClient) {
34
- this.client = client;
35
- }
36
-
37
- /**
38
- * Returns the list of all provider offerings available for the given location.
39
- * @param locationName Location.
40
- * @param options The options parameters.
41
- */
42
- public list(
43
- locationName: string,
44
- options?: OfferingsListOptionalParams
45
- ): PagedAsyncIterableIterator<ProviderDescription> {
46
- const iter = this.listPagingAll(locationName, options);
47
- return {
48
- next() {
49
- return iter.next();
50
- },
51
- [Symbol.asyncIterator]() {
52
- return this;
53
- },
54
- byPage: (settings?: PageSettings) => {
55
- if (settings?.maxPageSize) {
56
- throw new Error("maxPageSize is not supported by this operation.");
57
- }
58
- return this.listPagingPage(locationName, options, settings);
59
- }
60
- };
61
- }
62
-
63
- private async *listPagingPage(
64
- locationName: string,
65
- options?: OfferingsListOptionalParams,
66
- settings?: PageSettings
67
- ): AsyncIterableIterator<ProviderDescription[]> {
68
- let result: OfferingsListResponse;
69
- let continuationToken = settings?.continuationToken;
70
- if (!continuationToken) {
71
- result = await this._list(locationName, options);
72
- let page = result.value || [];
73
- continuationToken = result.nextLink;
74
- setContinuationToken(page, continuationToken);
75
- yield page;
76
- }
77
- while (continuationToken) {
78
- result = await this._listNext(locationName, continuationToken, options);
79
- continuationToken = result.nextLink;
80
- let page = result.value || [];
81
- setContinuationToken(page, continuationToken);
82
- yield page;
83
- }
84
- }
85
-
86
- private async *listPagingAll(
87
- locationName: string,
88
- options?: OfferingsListOptionalParams
89
- ): AsyncIterableIterator<ProviderDescription> {
90
- for await (const page of this.listPagingPage(locationName, options)) {
91
- yield* page;
92
- }
93
- }
94
-
95
- /**
96
- * Returns the list of all provider offerings available for the given location.
97
- * @param locationName Location.
98
- * @param options The options parameters.
99
- */
100
- private _list(
101
- locationName: string,
102
- options?: OfferingsListOptionalParams
103
- ): Promise<OfferingsListResponse> {
104
- return this.client.sendOperationRequest(
105
- { locationName, options },
106
- listOperationSpec
107
- );
108
- }
109
-
110
- /**
111
- * ListNext
112
- * @param locationName Location.
113
- * @param nextLink The nextLink from the previous successful call to the List method.
114
- * @param options The options parameters.
115
- */
116
- private _listNext(
117
- locationName: string,
118
- nextLink: string,
119
- options?: OfferingsListNextOptionalParams
120
- ): Promise<OfferingsListNextResponse> {
121
- return this.client.sendOperationRequest(
122
- { locationName, nextLink, options },
123
- listNextOperationSpec
124
- );
125
- }
126
- }
127
- // Operation Specifications
128
- const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
129
-
130
- const listOperationSpec: coreClient.OperationSpec = {
131
- path:
132
- "/subscriptions/{subscriptionId}/providers/Microsoft.Quantum/locations/{locationName}/offerings",
133
- httpMethod: "GET",
134
- responses: {
135
- 200: {
136
- bodyMapper: Mappers.OfferingsListResult
137
- },
138
- default: {
139
- bodyMapper: Mappers.ErrorResponse
140
- }
141
- },
142
- queryParameters: [Parameters.apiVersion],
143
- urlParameters: [
144
- Parameters.$host,
145
- Parameters.subscriptionId,
146
- Parameters.locationName
147
- ],
148
- headerParameters: [Parameters.accept],
149
- serializer
150
- };
151
- const listNextOperationSpec: coreClient.OperationSpec = {
152
- path: "{nextLink}",
153
- httpMethod: "GET",
154
- responses: {
155
- 200: {
156
- bodyMapper: Mappers.OfferingsListResult
157
- },
158
- default: {
159
- bodyMapper: Mappers.ErrorResponse
160
- }
161
- },
162
- urlParameters: [
163
- Parameters.$host,
164
- Parameters.subscriptionId,
165
- Parameters.nextLink,
166
- Parameters.locationName
167
- ],
168
- headerParameters: [Parameters.accept],
169
- serializer
170
- };
@@ -1,149 +0,0 @@
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
-
9
- import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging";
10
- import { setContinuationToken } from "../pagingHelper";
11
- import { Operations } from "../operationsInterfaces";
12
- import * as coreClient from "@azure/core-client";
13
- import * as Mappers from "../models/mappers";
14
- import * as Parameters from "../models/parameters";
15
- import { AzureQuantumManagementClient } from "../azureQuantumManagementClient";
16
- import {
17
- Operation,
18
- OperationsListNextOptionalParams,
19
- OperationsListOptionalParams,
20
- OperationsListResponse,
21
- OperationsListNextResponse
22
- } from "../models";
23
-
24
- /// <reference lib="esnext.asynciterable" />
25
- /** Class containing Operations operations. */
26
- export class OperationsImpl implements Operations {
27
- private readonly client: AzureQuantumManagementClient;
28
-
29
- /**
30
- * Initialize a new instance of the class Operations class.
31
- * @param client Reference to the service client
32
- */
33
- constructor(client: AzureQuantumManagementClient) {
34
- this.client = client;
35
- }
36
-
37
- /**
38
- * Returns list of operations.
39
- * @param options The options parameters.
40
- */
41
- public list(
42
- options?: OperationsListOptionalParams
43
- ): PagedAsyncIterableIterator<Operation> {
44
- const iter = this.listPagingAll(options);
45
- return {
46
- next() {
47
- return iter.next();
48
- },
49
- [Symbol.asyncIterator]() {
50
- return this;
51
- },
52
- byPage: (settings?: PageSettings) => {
53
- if (settings?.maxPageSize) {
54
- throw new Error("maxPageSize is not supported by this operation.");
55
- }
56
- return this.listPagingPage(options, settings);
57
- }
58
- };
59
- }
60
-
61
- private async *listPagingPage(
62
- options?: OperationsListOptionalParams,
63
- settings?: PageSettings
64
- ): AsyncIterableIterator<Operation[]> {
65
- let result: OperationsListResponse;
66
- let continuationToken = settings?.continuationToken;
67
- if (!continuationToken) {
68
- result = await this._list(options);
69
- let page = result.value || [];
70
- continuationToken = result.nextLink;
71
- setContinuationToken(page, continuationToken);
72
- yield page;
73
- }
74
- while (continuationToken) {
75
- result = await this._listNext(continuationToken, options);
76
- continuationToken = result.nextLink;
77
- let page = result.value || [];
78
- setContinuationToken(page, continuationToken);
79
- yield page;
80
- }
81
- }
82
-
83
- private async *listPagingAll(
84
- options?: OperationsListOptionalParams
85
- ): AsyncIterableIterator<Operation> {
86
- for await (const page of this.listPagingPage(options)) {
87
- yield* page;
88
- }
89
- }
90
-
91
- /**
92
- * Returns list of operations.
93
- * @param options The options parameters.
94
- */
95
- private _list(
96
- options?: OperationsListOptionalParams
97
- ): Promise<OperationsListResponse> {
98
- return this.client.sendOperationRequest({ options }, listOperationSpec);
99
- }
100
-
101
- /**
102
- * ListNext
103
- * @param nextLink The nextLink from the previous successful call to the List method.
104
- * @param options The options parameters.
105
- */
106
- private _listNext(
107
- nextLink: string,
108
- options?: OperationsListNextOptionalParams
109
- ): Promise<OperationsListNextResponse> {
110
- return this.client.sendOperationRequest(
111
- { nextLink, options },
112
- listNextOperationSpec
113
- );
114
- }
115
- }
116
- // Operation Specifications
117
- const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
118
-
119
- const listOperationSpec: coreClient.OperationSpec = {
120
- path: "/providers/Microsoft.Quantum/operations",
121
- httpMethod: "GET",
122
- responses: {
123
- 200: {
124
- bodyMapper: Mappers.OperationsList
125
- },
126
- default: {
127
- bodyMapper: Mappers.ErrorResponse
128
- }
129
- },
130
- queryParameters: [Parameters.apiVersion],
131
- urlParameters: [Parameters.$host],
132
- headerParameters: [Parameters.accept],
133
- serializer
134
- };
135
- const listNextOperationSpec: coreClient.OperationSpec = {
136
- path: "{nextLink}",
137
- httpMethod: "GET",
138
- responses: {
139
- 200: {
140
- bodyMapper: Mappers.OperationsList
141
- },
142
- default: {
143
- bodyMapper: Mappers.ErrorResponse
144
- }
145
- },
146
- urlParameters: [Parameters.$host, Parameters.nextLink],
147
- headerParameters: [Parameters.accept],
148
- serializer
149
- };
@@ -1,74 +0,0 @@
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
-
9
- import { Workspace } from "../operationsInterfaces";
10
- import * as coreClient from "@azure/core-client";
11
- import * as Mappers from "../models/mappers";
12
- import * as Parameters from "../models/parameters";
13
- import { AzureQuantumManagementClient } from "../azureQuantumManagementClient";
14
- import {
15
- CheckNameAvailabilityParameters,
16
- WorkspaceCheckNameAvailabilityOptionalParams,
17
- WorkspaceCheckNameAvailabilityResponse
18
- } from "../models";
19
-
20
- /** Class containing Workspace operations. */
21
- export class WorkspaceImpl implements Workspace {
22
- private readonly client: AzureQuantumManagementClient;
23
-
24
- /**
25
- * Initialize a new instance of the class Workspace class.
26
- * @param client Reference to the service client
27
- */
28
- constructor(client: AzureQuantumManagementClient) {
29
- this.client = client;
30
- }
31
-
32
- /**
33
- * Check the availability of the resource name.
34
- * @param locationName Location.
35
- * @param checkNameAvailabilityParameters The name and type of the resource.
36
- * @param options The options parameters.
37
- */
38
- checkNameAvailability(
39
- locationName: string,
40
- checkNameAvailabilityParameters: CheckNameAvailabilityParameters,
41
- options?: WorkspaceCheckNameAvailabilityOptionalParams
42
- ): Promise<WorkspaceCheckNameAvailabilityResponse> {
43
- return this.client.sendOperationRequest(
44
- { locationName, checkNameAvailabilityParameters, options },
45
- checkNameAvailabilityOperationSpec
46
- );
47
- }
48
- }
49
- // Operation Specifications
50
- const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
51
-
52
- const checkNameAvailabilityOperationSpec: coreClient.OperationSpec = {
53
- path:
54
- "/subscriptions/{subscriptionId}/providers/Microsoft.Quantum/locations/{locationName}/checkNameAvailability",
55
- httpMethod: "POST",
56
- responses: {
57
- 200: {
58
- bodyMapper: Mappers.CheckNameAvailabilityResult
59
- },
60
- default: {
61
- bodyMapper: Mappers.ErrorResponse
62
- }
63
- },
64
- requestBody: Parameters.checkNameAvailabilityParameters,
65
- queryParameters: [Parameters.apiVersion],
66
- urlParameters: [
67
- Parameters.$host,
68
- Parameters.subscriptionId,
69
- Parameters.locationName
70
- ],
71
- headerParameters: [Parameters.accept, Parameters.contentType],
72
- mediaType: "json",
73
- serializer
74
- };