@azure/arm-education 1.0.0-beta.3 → 1.0.0-beta.5

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 (546) hide show
  1. package/LICENSE +3 -3
  2. package/README.md +30 -26
  3. package/dist/browser/api/educationManagementContext.d.ts +20 -0
  4. package/dist/browser/api/educationManagementContext.js +26 -0
  5. package/dist/browser/api/educationManagementContext.js.map +1 -0
  6. package/dist/browser/api/grants/index.d.ts +3 -0
  7. package/dist/browser/api/grants/index.js +4 -0
  8. package/dist/browser/api/grants/index.js.map +1 -0
  9. package/dist/browser/api/grants/operations.d.ts +18 -0
  10. package/dist/browser/api/grants/operations.js +95 -0
  11. package/dist/browser/api/grants/operations.js.map +1 -0
  12. package/dist/browser/api/grants/options.d.ts +17 -0
  13. package/dist/browser/api/grants/options.js +4 -0
  14. package/dist/browser/api/grants/options.js.map +1 -0
  15. package/dist/browser/api/index.d.ts +5 -0
  16. package/dist/browser/api/index.js +5 -0
  17. package/dist/browser/api/index.js.map +1 -0
  18. package/dist/browser/api/joinRequests/index.d.ts +3 -0
  19. package/dist/browser/api/joinRequests/index.js +4 -0
  20. package/dist/browser/api/joinRequests/index.js.map +1 -0
  21. package/dist/browser/api/joinRequests/operations.d.ts +22 -0
  22. package/dist/browser/api/joinRequests/operations.js +120 -0
  23. package/dist/browser/api/joinRequests/operations.js.map +1 -0
  24. package/dist/browser/api/joinRequests/options.d.ts +16 -0
  25. package/dist/browser/api/joinRequests/options.js +4 -0
  26. package/dist/browser/api/joinRequests/options.js.map +1 -0
  27. package/dist/browser/api/labs/index.d.ts +3 -0
  28. package/dist/browser/api/labs/index.js +4 -0
  29. package/dist/browser/api/labs/index.js.map +1 -0
  30. package/dist/browser/api/labs/operations.d.ts +30 -0
  31. package/dist/browser/api/labs/operations.js +186 -0
  32. package/dist/browser/api/labs/operations.js.map +1 -0
  33. package/dist/browser/api/labs/options.d.ts +30 -0
  34. package/dist/browser/api/labs/options.js +4 -0
  35. package/dist/browser/api/labs/options.js.map +1 -0
  36. package/dist/browser/api/operations/index.d.ts +3 -0
  37. package/dist/browser/api/operations/index.js +4 -0
  38. package/dist/browser/api/operations/index.js.map +1 -0
  39. package/dist/browser/api/operations/operations.d.ts +9 -0
  40. package/dist/browser/api/operations/operations.js +31 -0
  41. package/dist/browser/api/operations/operations.js.map +1 -0
  42. package/dist/browser/api/operations/options.d.ts +5 -0
  43. package/dist/browser/api/operations/options.js +4 -0
  44. package/dist/browser/api/operations/options.js.map +1 -0
  45. package/dist/browser/api/operations.d.ts +9 -0
  46. package/dist/browser/api/operations.js +32 -0
  47. package/dist/browser/api/operations.js.map +1 -0
  48. package/dist/browser/api/options.d.ts +5 -0
  49. package/dist/browser/api/options.js +4 -0
  50. package/dist/browser/api/options.js.map +1 -0
  51. package/dist/browser/api/studentLabs/index.d.ts +3 -0
  52. package/dist/browser/api/studentLabs/index.js +4 -0
  53. package/dist/browser/api/studentLabs/index.js.map +1 -0
  54. package/dist/browser/api/studentLabs/operations.d.ts +14 -0
  55. package/dist/browser/api/studentLabs/operations.js +61 -0
  56. package/dist/browser/api/studentLabs/operations.js.map +1 -0
  57. package/dist/browser/api/studentLabs/options.d.ts +8 -0
  58. package/dist/browser/api/studentLabs/options.js +4 -0
  59. package/dist/browser/api/studentLabs/options.js.map +1 -0
  60. package/dist/browser/api/students/index.d.ts +3 -0
  61. package/dist/browser/api/students/index.js +4 -0
  62. package/dist/browser/api/students/index.js.map +1 -0
  63. package/dist/browser/api/students/operations.d.ts +22 -0
  64. package/dist/browser/api/students/operations.js +125 -0
  65. package/dist/browser/api/students/operations.js.map +1 -0
  66. package/dist/browser/api/students/options.d.ts +16 -0
  67. package/dist/browser/api/students/options.js +4 -0
  68. package/dist/browser/api/students/options.js.map +1 -0
  69. package/dist/browser/classic/grants/index.d.ts +15 -0
  70. package/dist/browser/classic/grants/index.js +16 -0
  71. package/dist/browser/classic/grants/index.js.map +1 -0
  72. package/dist/browser/classic/index.d.ts +7 -0
  73. package/dist/browser/classic/index.js +4 -0
  74. package/dist/browser/classic/index.js.map +1 -0
  75. package/dist/browser/classic/joinRequests/index.d.ts +17 -0
  76. package/dist/browser/classic/joinRequests/index.js +17 -0
  77. package/dist/browser/classic/joinRequests/index.js.map +1 -0
  78. package/dist/browser/classic/labs/index.d.ts +21 -0
  79. package/dist/browser/classic/labs/index.js +19 -0
  80. package/dist/browser/classic/labs/index.js.map +1 -0
  81. package/dist/browser/classic/operations/index.d.ts +10 -0
  82. package/dist/browser/classic/operations/index.js +14 -0
  83. package/dist/browser/classic/operations/index.js.map +1 -0
  84. package/dist/browser/classic/studentLabs/index.d.ts +13 -0
  85. package/dist/browser/classic/studentLabs/index.js +15 -0
  86. package/dist/browser/classic/studentLabs/index.js.map +1 -0
  87. package/dist/browser/classic/students/index.d.ts +17 -0
  88. package/dist/browser/classic/students/index.js +17 -0
  89. package/dist/browser/classic/students/index.js.map +1 -0
  90. package/dist/browser/educationManagementClient.d.ts +34 -0
  91. package/dist/browser/educationManagementClient.js +50 -0
  92. package/dist/browser/educationManagementClient.js.map +1 -0
  93. package/dist/browser/index.d.ts +18 -0
  94. package/dist/browser/index.js +8 -0
  95. package/dist/browser/index.js.map +1 -0
  96. package/dist/browser/logger.d.ts +2 -0
  97. package/dist/browser/logger.js +5 -0
  98. package/dist/browser/logger.js.map +1 -0
  99. package/dist/browser/models/index.d.ts +3 -0
  100. package/dist/browser/models/index.js +4 -0
  101. package/dist/browser/models/index.js.map +1 -0
  102. package/dist/browser/models/models.d.ts +597 -0
  103. package/dist/browser/models/models.js +569 -0
  104. package/dist/browser/models/models.js.map +1 -0
  105. package/dist/browser/package.json +3 -0
  106. package/dist/browser/static-helpers/cloudSettingHelpers.d.ts +22 -0
  107. package/dist/browser/static-helpers/cloudSettingHelpers.js +38 -0
  108. package/dist/browser/static-helpers/cloudSettingHelpers.js.map +1 -0
  109. package/dist/browser/static-helpers/pagingHelpers.d.ts +74 -0
  110. package/dist/browser/static-helpers/pagingHelpers.js +143 -0
  111. package/dist/browser/static-helpers/pagingHelpers.js.map +1 -0
  112. package/dist/browser/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
  113. package/dist/browser/static-helpers/serialization/check-prop-undefined.js +17 -0
  114. package/dist/browser/static-helpers/serialization/check-prop-undefined.js.map +1 -0
  115. package/dist/browser/static-helpers/urlTemplate.d.ts +5 -0
  116. package/dist/browser/static-helpers/urlTemplate.js +200 -0
  117. package/dist/browser/static-helpers/urlTemplate.js.map +1 -0
  118. package/dist/commonjs/api/educationManagementContext.d.ts +20 -0
  119. package/dist/commonjs/api/educationManagementContext.js +47 -0
  120. package/dist/commonjs/api/educationManagementContext.js.map +7 -0
  121. package/dist/commonjs/api/grants/index.d.ts +3 -0
  122. package/dist/commonjs/api/grants/index.js +32 -0
  123. package/dist/commonjs/api/grants/index.js.map +7 -0
  124. package/dist/commonjs/api/grants/operations.d.ts +18 -0
  125. package/dist/commonjs/api/grants/operations.js +156 -0
  126. package/dist/commonjs/api/grants/operations.js.map +7 -0
  127. package/dist/commonjs/api/grants/options.d.ts +17 -0
  128. package/dist/commonjs/api/grants/options.js +16 -0
  129. package/dist/commonjs/api/grants/options.js.map +7 -0
  130. package/dist/commonjs/api/index.d.ts +5 -0
  131. package/dist/commonjs/api/index.js +31 -0
  132. package/dist/commonjs/api/index.js.map +7 -0
  133. package/dist/commonjs/api/joinRequests/index.d.ts +3 -0
  134. package/dist/commonjs/api/joinRequests/index.js +34 -0
  135. package/dist/commonjs/api/joinRequests/index.js.map +7 -0
  136. package/dist/commonjs/api/joinRequests/operations.d.ts +22 -0
  137. package/dist/commonjs/api/joinRequests/operations.js +205 -0
  138. package/dist/commonjs/api/joinRequests/operations.js.map +7 -0
  139. package/dist/commonjs/api/joinRequests/options.d.ts +16 -0
  140. package/dist/commonjs/api/joinRequests/options.js +16 -0
  141. package/dist/commonjs/api/joinRequests/options.js.map +7 -0
  142. package/dist/commonjs/api/labs/index.d.ts +3 -0
  143. package/dist/commonjs/api/labs/index.js +38 -0
  144. package/dist/commonjs/api/labs/index.js.map +7 -0
  145. package/dist/commonjs/api/labs/operations.d.ts +30 -0
  146. package/dist/commonjs/api/labs/operations.js +300 -0
  147. package/dist/commonjs/api/labs/operations.js.map +7 -0
  148. package/dist/commonjs/api/labs/options.d.ts +30 -0
  149. package/dist/commonjs/api/labs/options.js +16 -0
  150. package/dist/commonjs/api/labs/options.js.map +7 -0
  151. package/dist/commonjs/api/operations/index.d.ts +3 -0
  152. package/dist/commonjs/api/operations/index.js +28 -0
  153. package/dist/commonjs/api/operations/index.js.map +7 -0
  154. package/dist/commonjs/api/operations/operations.d.ts +9 -0
  155. package/dist/commonjs/api/operations/operations.js +62 -0
  156. package/dist/commonjs/api/operations/operations.js.map +7 -0
  157. package/dist/commonjs/api/operations/options.d.ts +5 -0
  158. package/dist/commonjs/api/operations/options.js +16 -0
  159. package/dist/commonjs/api/operations/options.js.map +7 -0
  160. package/dist/commonjs/api/operations.d.ts +9 -0
  161. package/dist/commonjs/api/operations.js +63 -0
  162. package/dist/commonjs/api/operations.js.map +7 -0
  163. package/dist/commonjs/api/options.d.ts +5 -0
  164. package/dist/commonjs/api/options.js +16 -0
  165. package/dist/commonjs/api/options.js.map +7 -0
  166. package/dist/commonjs/api/studentLabs/index.d.ts +3 -0
  167. package/dist/commonjs/api/studentLabs/index.js +30 -0
  168. package/dist/commonjs/api/studentLabs/index.js.map +7 -0
  169. package/dist/commonjs/api/studentLabs/operations.d.ts +14 -0
  170. package/dist/commonjs/api/studentLabs/operations.js +107 -0
  171. package/dist/commonjs/api/studentLabs/operations.js.map +7 -0
  172. package/dist/commonjs/api/studentLabs/options.d.ts +8 -0
  173. package/dist/commonjs/api/studentLabs/options.js +16 -0
  174. package/dist/commonjs/api/studentLabs/options.js.map +7 -0
  175. package/dist/commonjs/api/students/index.d.ts +3 -0
  176. package/dist/commonjs/api/students/index.js +34 -0
  177. package/dist/commonjs/api/students/index.js.map +7 -0
  178. package/dist/commonjs/api/students/operations.d.ts +22 -0
  179. package/dist/commonjs/api/students/operations.js +211 -0
  180. package/dist/commonjs/api/students/operations.js.map +7 -0
  181. package/dist/commonjs/api/students/options.d.ts +16 -0
  182. package/dist/commonjs/api/students/options.js +16 -0
  183. package/dist/commonjs/api/students/options.js.map +7 -0
  184. package/dist/commonjs/classic/grants/index.d.ts +15 -0
  185. package/dist/commonjs/classic/grants/index.js +40 -0
  186. package/dist/commonjs/classic/grants/index.js.map +7 -0
  187. package/dist/commonjs/classic/index.d.ts +7 -0
  188. package/dist/commonjs/classic/index.js +16 -0
  189. package/dist/commonjs/classic/index.js.map +7 -0
  190. package/dist/commonjs/classic/joinRequests/index.d.ts +17 -0
  191. package/dist/commonjs/classic/joinRequests/index.js +62 -0
  192. package/dist/commonjs/classic/joinRequests/index.js.map +7 -0
  193. package/dist/commonjs/classic/labs/index.d.ts +21 -0
  194. package/dist/commonjs/classic/labs/index.js +57 -0
  195. package/dist/commonjs/classic/labs/index.js.map +7 -0
  196. package/dist/commonjs/classic/operations/index.d.ts +10 -0
  197. package/dist/commonjs/classic/operations/index.js +38 -0
  198. package/dist/commonjs/classic/operations/index.js.map +7 -0
  199. package/dist/commonjs/classic/studentLabs/index.d.ts +13 -0
  200. package/dist/commonjs/classic/studentLabs/index.js +39 -0
  201. package/dist/commonjs/classic/studentLabs/index.js.map +7 -0
  202. package/dist/commonjs/classic/students/index.d.ts +17 -0
  203. package/dist/commonjs/classic/students/index.js +63 -0
  204. package/dist/commonjs/classic/students/index.js.map +7 -0
  205. package/dist/commonjs/educationManagementClient.d.ts +34 -0
  206. package/dist/commonjs/educationManagementClient.js +72 -0
  207. package/dist/commonjs/educationManagementClient.js.map +7 -0
  208. package/dist/commonjs/index.d.ts +18 -0
  209. package/dist/commonjs/index.js +57 -0
  210. package/dist/commonjs/index.js.map +7 -0
  211. package/dist/commonjs/logger.d.ts +2 -0
  212. package/dist/commonjs/logger.js +29 -0
  213. package/dist/commonjs/logger.js.map +7 -0
  214. package/dist/commonjs/models/index.d.ts +3 -0
  215. package/dist/commonjs/models/index.js +46 -0
  216. package/dist/commonjs/models/index.js.map +7 -0
  217. package/dist/commonjs/models/models.d.ts +597 -0
  218. package/dist/commonjs/models/models.js +610 -0
  219. package/dist/commonjs/models/models.js.map +7 -0
  220. package/dist/commonjs/package.json +3 -0
  221. package/dist/commonjs/static-helpers/cloudSettingHelpers.d.ts +22 -0
  222. package/dist/commonjs/static-helpers/cloudSettingHelpers.js +52 -0
  223. package/dist/commonjs/static-helpers/cloudSettingHelpers.js.map +7 -0
  224. package/dist/commonjs/static-helpers/pagingHelpers.d.ts +74 -0
  225. package/dist/commonjs/static-helpers/pagingHelpers.js +143 -0
  226. package/dist/commonjs/static-helpers/pagingHelpers.js.map +7 -0
  227. package/dist/commonjs/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
  228. package/dist/commonjs/static-helpers/serialization/check-prop-undefined.js +35 -0
  229. package/dist/commonjs/static-helpers/serialization/check-prop-undefined.js.map +7 -0
  230. package/dist/commonjs/static-helpers/urlTemplate.d.ts +5 -0
  231. package/dist/commonjs/static-helpers/urlTemplate.js +197 -0
  232. package/dist/commonjs/static-helpers/urlTemplate.js.map +7 -0
  233. package/{types → dist/commonjs}/tsdoc-metadata.json +11 -11
  234. package/dist/esm/api/educationManagementContext.d.ts +20 -0
  235. package/dist/esm/api/educationManagementContext.js +26 -0
  236. package/dist/esm/api/educationManagementContext.js.map +1 -0
  237. package/dist/esm/api/grants/index.d.ts +3 -0
  238. package/dist/esm/api/grants/index.js +4 -0
  239. package/dist/esm/api/grants/index.js.map +1 -0
  240. package/dist/esm/api/grants/operations.d.ts +18 -0
  241. package/dist/esm/api/grants/operations.js +95 -0
  242. package/dist/esm/api/grants/operations.js.map +1 -0
  243. package/dist/esm/api/grants/options.d.ts +17 -0
  244. package/dist/esm/api/grants/options.js +4 -0
  245. package/dist/esm/api/grants/options.js.map +1 -0
  246. package/dist/esm/api/index.d.ts +5 -0
  247. package/dist/esm/api/index.js +5 -0
  248. package/dist/esm/api/index.js.map +1 -0
  249. package/dist/esm/api/joinRequests/index.d.ts +3 -0
  250. package/dist/esm/api/joinRequests/index.js +4 -0
  251. package/dist/esm/api/joinRequests/index.js.map +1 -0
  252. package/dist/esm/api/joinRequests/operations.d.ts +22 -0
  253. package/dist/esm/api/joinRequests/operations.js +120 -0
  254. package/dist/esm/api/joinRequests/operations.js.map +1 -0
  255. package/dist/esm/api/joinRequests/options.d.ts +16 -0
  256. package/dist/esm/api/joinRequests/options.js +4 -0
  257. package/dist/esm/api/joinRequests/options.js.map +1 -0
  258. package/dist/esm/api/labs/index.d.ts +3 -0
  259. package/dist/esm/api/labs/index.js +4 -0
  260. package/dist/esm/api/labs/index.js.map +1 -0
  261. package/dist/esm/api/labs/operations.d.ts +30 -0
  262. package/dist/esm/api/labs/operations.js +186 -0
  263. package/dist/esm/api/labs/operations.js.map +1 -0
  264. package/dist/esm/api/labs/options.d.ts +30 -0
  265. package/dist/esm/api/labs/options.js +4 -0
  266. package/dist/esm/api/labs/options.js.map +1 -0
  267. package/dist/esm/api/operations/index.d.ts +3 -0
  268. package/dist/esm/api/operations/index.js +4 -0
  269. package/dist/esm/api/operations/index.js.map +1 -0
  270. package/dist/esm/api/operations/operations.d.ts +9 -0
  271. package/dist/esm/api/operations/operations.js +31 -0
  272. package/dist/esm/api/operations/operations.js.map +1 -0
  273. package/dist/esm/api/operations/options.d.ts +5 -0
  274. package/dist/esm/api/operations/options.js +4 -0
  275. package/dist/esm/api/operations/options.js.map +1 -0
  276. package/dist/esm/api/operations.d.ts +9 -0
  277. package/dist/esm/api/operations.js +32 -0
  278. package/dist/esm/api/operations.js.map +1 -0
  279. package/dist/esm/api/options.d.ts +5 -0
  280. package/dist/esm/api/options.js +4 -0
  281. package/dist/esm/api/options.js.map +1 -0
  282. package/dist/esm/api/studentLabs/index.d.ts +3 -0
  283. package/dist/esm/api/studentLabs/index.js +4 -0
  284. package/dist/esm/api/studentLabs/index.js.map +1 -0
  285. package/dist/esm/api/studentLabs/operations.d.ts +14 -0
  286. package/dist/esm/api/studentLabs/operations.js +61 -0
  287. package/dist/esm/api/studentLabs/operations.js.map +1 -0
  288. package/dist/esm/api/studentLabs/options.d.ts +8 -0
  289. package/dist/esm/api/studentLabs/options.js +4 -0
  290. package/dist/esm/api/studentLabs/options.js.map +1 -0
  291. package/dist/esm/api/students/index.d.ts +3 -0
  292. package/dist/esm/api/students/index.js +4 -0
  293. package/dist/esm/api/students/index.js.map +1 -0
  294. package/dist/esm/api/students/operations.d.ts +22 -0
  295. package/dist/esm/api/students/operations.js +125 -0
  296. package/dist/esm/api/students/operations.js.map +1 -0
  297. package/dist/esm/api/students/options.d.ts +16 -0
  298. package/dist/esm/api/students/options.js +4 -0
  299. package/dist/esm/api/students/options.js.map +1 -0
  300. package/dist/esm/classic/grants/index.d.ts +15 -0
  301. package/dist/esm/classic/grants/index.js +16 -0
  302. package/dist/esm/classic/grants/index.js.map +1 -0
  303. package/dist/esm/classic/index.d.ts +7 -0
  304. package/dist/esm/classic/index.js +4 -0
  305. package/dist/esm/classic/index.js.map +1 -0
  306. package/dist/esm/classic/joinRequests/index.d.ts +17 -0
  307. package/dist/esm/classic/joinRequests/index.js +17 -0
  308. package/dist/esm/classic/joinRequests/index.js.map +1 -0
  309. package/dist/esm/classic/labs/index.d.ts +21 -0
  310. package/dist/esm/classic/labs/index.js +19 -0
  311. package/dist/esm/classic/labs/index.js.map +1 -0
  312. package/dist/esm/classic/operations/index.d.ts +10 -0
  313. package/dist/esm/classic/operations/index.js +14 -0
  314. package/dist/esm/classic/operations/index.js.map +1 -0
  315. package/dist/esm/classic/studentLabs/index.d.ts +13 -0
  316. package/dist/esm/classic/studentLabs/index.js +15 -0
  317. package/dist/esm/classic/studentLabs/index.js.map +1 -0
  318. package/dist/esm/classic/students/index.d.ts +17 -0
  319. package/dist/esm/classic/students/index.js +17 -0
  320. package/dist/esm/classic/students/index.js.map +1 -0
  321. package/dist/esm/educationManagementClient.d.ts +34 -0
  322. package/dist/esm/educationManagementClient.js +50 -0
  323. package/dist/esm/educationManagementClient.js.map +1 -0
  324. package/dist/esm/index.d.ts +18 -0
  325. package/dist/esm/index.js +8 -0
  326. package/dist/esm/index.js.map +1 -0
  327. package/dist/esm/logger.d.ts +2 -0
  328. package/dist/esm/logger.js +5 -0
  329. package/dist/esm/logger.js.map +1 -0
  330. package/dist/esm/models/index.d.ts +3 -0
  331. package/dist/esm/models/index.js +4 -0
  332. package/dist/esm/models/index.js.map +1 -0
  333. package/dist/esm/models/models.d.ts +597 -0
  334. package/dist/esm/models/models.js +569 -0
  335. package/dist/esm/models/models.js.map +1 -0
  336. package/dist/esm/package.json +3 -0
  337. package/dist/esm/static-helpers/cloudSettingHelpers.d.ts +22 -0
  338. package/dist/esm/static-helpers/cloudSettingHelpers.js +38 -0
  339. package/dist/esm/static-helpers/cloudSettingHelpers.js.map +1 -0
  340. package/dist/esm/static-helpers/pagingHelpers.d.ts +74 -0
  341. package/dist/esm/static-helpers/pagingHelpers.js +143 -0
  342. package/dist/esm/static-helpers/pagingHelpers.js.map +1 -0
  343. package/dist/esm/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
  344. package/dist/esm/static-helpers/serialization/check-prop-undefined.js +17 -0
  345. package/dist/esm/static-helpers/serialization/check-prop-undefined.js.map +1 -0
  346. package/dist/esm/static-helpers/urlTemplate.d.ts +5 -0
  347. package/dist/esm/static-helpers/urlTemplate.js +200 -0
  348. package/dist/esm/static-helpers/urlTemplate.js.map +1 -0
  349. package/package.json +205 -88
  350. package/CHANGELOG.md +0 -30
  351. package/dist/index.js +0 -2623
  352. package/dist/index.js.map +0 -1
  353. package/dist/index.min.js +0 -1
  354. package/dist/index.min.js.map +0 -1
  355. package/dist-esm/samples-dev/grantsGetSample.d.ts +0 -2
  356. package/dist-esm/samples-dev/grantsGetSample.d.ts.map +0 -1
  357. package/dist-esm/samples-dev/grantsGetSample.js +0 -58
  358. package/dist-esm/samples-dev/grantsGetSample.js.map +0 -1
  359. package/dist-esm/samples-dev/grantsListAllSample.d.ts +0 -2
  360. package/dist-esm/samples-dev/grantsListAllSample.d.ts.map +0 -1
  361. package/dist-esm/samples-dev/grantsListAllSample.js +0 -82
  362. package/dist-esm/samples-dev/grantsListAllSample.js.map +0 -1
  363. package/dist-esm/samples-dev/grantsListSample.d.ts +0 -2
  364. package/dist-esm/samples-dev/grantsListSample.d.ts.map +0 -1
  365. package/dist-esm/samples-dev/grantsListSample.js +0 -86
  366. package/dist-esm/samples-dev/grantsListSample.js.map +0 -1
  367. package/dist-esm/samples-dev/joinRequestsApproveSample.d.ts +0 -2
  368. package/dist-esm/samples-dev/joinRequestsApproveSample.d.ts.map +0 -1
  369. package/dist-esm/samples-dev/joinRequestsApproveSample.js +0 -39
  370. package/dist-esm/samples-dev/joinRequestsApproveSample.js.map +0 -1
  371. package/dist-esm/samples-dev/joinRequestsDenySample.d.ts +0 -2
  372. package/dist-esm/samples-dev/joinRequestsDenySample.d.ts.map +0 -1
  373. package/dist-esm/samples-dev/joinRequestsDenySample.js +0 -39
  374. package/dist-esm/samples-dev/joinRequestsDenySample.js.map +0 -1
  375. package/dist-esm/samples-dev/joinRequestsGetSample.d.ts +0 -2
  376. package/dist-esm/samples-dev/joinRequestsGetSample.d.ts.map +0 -1
  377. package/dist-esm/samples-dev/joinRequestsGetSample.js +0 -39
  378. package/dist-esm/samples-dev/joinRequestsGetSample.js.map +0 -1
  379. package/dist-esm/samples-dev/joinRequestsListSample.d.ts +0 -2
  380. package/dist-esm/samples-dev/joinRequestsListSample.d.ts.map +0 -1
  381. package/dist-esm/samples-dev/joinRequestsListSample.js +0 -54
  382. package/dist-esm/samples-dev/joinRequestsListSample.js.map +0 -1
  383. package/dist-esm/samples-dev/labsCreateOrUpdateSample.d.ts +0 -2
  384. package/dist-esm/samples-dev/labsCreateOrUpdateSample.d.ts.map +0 -1
  385. package/dist-esm/samples-dev/labsCreateOrUpdateSample.js +0 -44
  386. package/dist-esm/samples-dev/labsCreateOrUpdateSample.js.map +0 -1
  387. package/dist-esm/samples-dev/labsDeleteSample.d.ts +0 -2
  388. package/dist-esm/samples-dev/labsDeleteSample.d.ts.map +0 -1
  389. package/dist-esm/samples-dev/labsDeleteSample.js +0 -38
  390. package/dist-esm/samples-dev/labsDeleteSample.js.map +0 -1
  391. package/dist-esm/samples-dev/labsGenerateInviteCodeSample.d.ts +0 -2
  392. package/dist-esm/samples-dev/labsGenerateInviteCodeSample.d.ts.map +0 -1
  393. package/dist-esm/samples-dev/labsGenerateInviteCodeSample.js +0 -39
  394. package/dist-esm/samples-dev/labsGenerateInviteCodeSample.js.map +0 -1
  395. package/dist-esm/samples-dev/labsGetSample.d.ts +0 -2
  396. package/dist-esm/samples-dev/labsGetSample.d.ts.map +0 -1
  397. package/dist-esm/samples-dev/labsGetSample.js +0 -60
  398. package/dist-esm/samples-dev/labsGetSample.js.map +0 -1
  399. package/dist-esm/samples-dev/labsListAllSample.d.ts +0 -2
  400. package/dist-esm/samples-dev/labsListAllSample.d.ts.map +0 -1
  401. package/dist-esm/samples-dev/labsListAllSample.js +0 -86
  402. package/dist-esm/samples-dev/labsListAllSample.js.map +0 -1
  403. package/dist-esm/samples-dev/labsListSample.d.ts +0 -2
  404. package/dist-esm/samples-dev/labsListSample.d.ts.map +0 -1
  405. package/dist-esm/samples-dev/labsListSample.js +0 -88
  406. package/dist-esm/samples-dev/labsListSample.js.map +0 -1
  407. package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
  408. package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
  409. package/dist-esm/samples-dev/operationsListSample.js +0 -35
  410. package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
  411. package/dist-esm/samples-dev/redeemInvitationCodeSample.d.ts +0 -2
  412. package/dist-esm/samples-dev/redeemInvitationCodeSample.d.ts.map +0 -1
  413. package/dist-esm/samples-dev/redeemInvitationCodeSample.js +0 -40
  414. package/dist-esm/samples-dev/redeemInvitationCodeSample.js.map +0 -1
  415. package/dist-esm/samples-dev/studentLabsGetSample.d.ts +0 -2
  416. package/dist-esm/samples-dev/studentLabsGetSample.d.ts.map +0 -1
  417. package/dist-esm/samples-dev/studentLabsGetSample.js +0 -36
  418. package/dist-esm/samples-dev/studentLabsGetSample.js.map +0 -1
  419. package/dist-esm/samples-dev/studentLabsListAllSample.d.ts +0 -2
  420. package/dist-esm/samples-dev/studentLabsListAllSample.d.ts.map +0 -1
  421. package/dist-esm/samples-dev/studentLabsListAllSample.js +0 -49
  422. package/dist-esm/samples-dev/studentLabsListAllSample.js.map +0 -1
  423. package/dist-esm/samples-dev/studentsCreateOrUpdateSample.d.ts +0 -2
  424. package/dist-esm/samples-dev/studentsCreateOrUpdateSample.d.ts.map +0 -1
  425. package/dist-esm/samples-dev/studentsCreateOrUpdateSample.js +0 -47
  426. package/dist-esm/samples-dev/studentsCreateOrUpdateSample.js.map +0 -1
  427. package/dist-esm/samples-dev/studentsDeleteSample.d.ts +0 -2
  428. package/dist-esm/samples-dev/studentsDeleteSample.d.ts.map +0 -1
  429. package/dist-esm/samples-dev/studentsDeleteSample.js +0 -39
  430. package/dist-esm/samples-dev/studentsDeleteSample.js.map +0 -1
  431. package/dist-esm/samples-dev/studentsGetSample.d.ts +0 -2
  432. package/dist-esm/samples-dev/studentsGetSample.d.ts.map +0 -1
  433. package/dist-esm/samples-dev/studentsGetSample.js +0 -39
  434. package/dist-esm/samples-dev/studentsGetSample.js.map +0 -1
  435. package/dist-esm/samples-dev/studentsListSample.d.ts +0 -2
  436. package/dist-esm/samples-dev/studentsListSample.d.ts.map +0 -1
  437. package/dist-esm/samples-dev/studentsListSample.js +0 -52
  438. package/dist-esm/samples-dev/studentsListSample.js.map +0 -1
  439. package/dist-esm/src/educationManagementClient.d.ts +0 -29
  440. package/dist-esm/src/educationManagementClient.d.ts.map +0 -1
  441. package/dist-esm/src/educationManagementClient.js +0 -127
  442. package/dist-esm/src/educationManagementClient.js.map +0 -1
  443. package/dist-esm/src/index.d.ts +0 -6
  444. package/dist-esm/src/index.d.ts.map +0 -1
  445. package/dist-esm/src/index.js +0 -13
  446. package/dist-esm/src/index.js.map +0 -1
  447. package/dist-esm/src/models/index.d.ts +0 -685
  448. package/dist-esm/src/models/index.d.ts.map +0 -1
  449. package/dist-esm/src/models/index.js +0 -92
  450. package/dist-esm/src/models/index.js.map +0 -1
  451. package/dist-esm/src/models/mappers.d.ts +0 -22
  452. package/dist-esm/src/models/mappers.d.ts.map +0 -1
  453. package/dist-esm/src/models/mappers.js +0 -702
  454. package/dist-esm/src/models/mappers.js.map +0 -1
  455. package/dist-esm/src/models/parameters.d.ts +0 -22
  456. package/dist-esm/src/models/parameters.d.ts.map +0 -1
  457. package/dist-esm/src/models/parameters.js +0 -185
  458. package/dist-esm/src/models/parameters.js.map +0 -1
  459. package/dist-esm/src/operations/grants.d.ts +0 -63
  460. package/dist-esm/src/operations/grants.d.ts.map +0 -1
  461. package/dist-esm/src/operations/grants.js +0 -280
  462. package/dist-esm/src/operations/grants.js.map +0 -1
  463. package/dist-esm/src/operations/index.d.ts +0 -7
  464. package/dist-esm/src/operations/index.d.ts.map +0 -1
  465. package/dist-esm/src/operations/index.js +0 -14
  466. package/dist-esm/src/operations/index.js.map +0 -1
  467. package/dist-esm/src/operations/joinRequests.d.ts +0 -68
  468. package/dist-esm/src/operations/joinRequests.d.ts.map +0 -1
  469. package/dist-esm/src/operations/joinRequests.js +0 -270
  470. package/dist-esm/src/operations/joinRequests.js.map +0 -1
  471. package/dist-esm/src/operations/labs.d.ts +0 -103
  472. package/dist-esm/src/operations/labs.d.ts.map +0 -1
  473. package/dist-esm/src/operations/labs.js +0 -432
  474. package/dist-esm/src/operations/labs.js.map +0 -1
  475. package/dist-esm/src/operations/operations.d.ts +0 -18
  476. package/dist-esm/src/operations/operations.d.ts.map +0 -1
  477. package/dist-esm/src/operations/operations.js +0 -46
  478. package/dist-esm/src/operations/operations.js.map +0 -1
  479. package/dist-esm/src/operations/studentLabs.d.ts +0 -38
  480. package/dist-esm/src/operations/studentLabs.d.ts.map +0 -1
  481. package/dist-esm/src/operations/studentLabs.js +0 -155
  482. package/dist-esm/src/operations/studentLabs.js.map +0 -1
  483. package/dist-esm/src/operations/students.d.ts +0 -70
  484. package/dist-esm/src/operations/students.d.ts.map +0 -1
  485. package/dist-esm/src/operations/students.js +0 -281
  486. package/dist-esm/src/operations/students.js.map +0 -1
  487. package/dist-esm/src/operationsInterfaces/grants.d.ts +0 -25
  488. package/dist-esm/src/operationsInterfaces/grants.d.ts.map +0 -1
  489. package/dist-esm/src/operationsInterfaces/grants.js +0 -9
  490. package/dist-esm/src/operationsInterfaces/grants.js.map +0 -1
  491. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -7
  492. package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
  493. package/dist-esm/src/operationsInterfaces/index.js +0 -14
  494. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  495. package/dist-esm/src/operationsInterfaces/joinRequests.d.ts +0 -41
  496. package/dist-esm/src/operationsInterfaces/joinRequests.d.ts.map +0 -1
  497. package/dist-esm/src/operationsInterfaces/joinRequests.js +0 -9
  498. package/dist-esm/src/operationsInterfaces/joinRequests.js.map +0 -1
  499. package/dist-esm/src/operationsInterfaces/labs.d.ts +0 -58
  500. package/dist-esm/src/operationsInterfaces/labs.d.ts.map +0 -1
  501. package/dist-esm/src/operationsInterfaces/labs.js +0 -9
  502. package/dist-esm/src/operationsInterfaces/labs.js.map +0 -1
  503. package/dist-esm/src/operationsInterfaces/operations.d.ts +0 -10
  504. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +0 -1
  505. package/dist-esm/src/operationsInterfaces/operations.js +0 -9
  506. package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
  507. package/dist-esm/src/operationsInterfaces/studentLabs.d.ts +0 -17
  508. package/dist-esm/src/operationsInterfaces/studentLabs.d.ts.map +0 -1
  509. package/dist-esm/src/operationsInterfaces/studentLabs.js +0 -9
  510. package/dist-esm/src/operationsInterfaces/studentLabs.js.map +0 -1
  511. package/dist-esm/src/operationsInterfaces/students.d.ts +0 -43
  512. package/dist-esm/src/operationsInterfaces/students.d.ts.map +0 -1
  513. package/dist-esm/src/operationsInterfaces/students.js +0 -9
  514. package/dist-esm/src/operationsInterfaces/students.js.map +0 -1
  515. package/dist-esm/src/pagingHelper.d.ts +0 -13
  516. package/dist-esm/src/pagingHelper.d.ts.map +0 -1
  517. package/dist-esm/src/pagingHelper.js +0 -32
  518. package/dist-esm/src/pagingHelper.js.map +0 -1
  519. package/dist-esm/test/sampleTest.d.ts +0 -2
  520. package/dist-esm/test/sampleTest.d.ts.map +0 -1
  521. package/dist-esm/test/sampleTest.js +0 -38
  522. package/dist-esm/test/sampleTest.js.map +0 -1
  523. package/review/arm-education.api.md +0 -529
  524. package/rollup.config.js +0 -122
  525. package/src/educationManagementClient.ts +0 -196
  526. package/src/index.ts +0 -13
  527. package/src/models/index.ts +0 -786
  528. package/src/models/mappers.ts +0 -775
  529. package/src/models/parameters.ts +0 -215
  530. package/src/operations/grants.ts +0 -354
  531. package/src/operations/index.ts +0 -14
  532. package/src/operations/joinRequests.ts +0 -371
  533. package/src/operations/labs.ts +0 -591
  534. package/src/operations/operations.ts +0 -59
  535. package/src/operations/studentLabs.ts +0 -182
  536. package/src/operations/students.ts +0 -384
  537. package/src/operationsInterfaces/grants.ts +0 -50
  538. package/src/operationsInterfaces/index.ts +0 -14
  539. package/src/operationsInterfaces/joinRequests.ts +0 -80
  540. package/src/operationsInterfaces/labs.ts +0 -110
  541. package/src/operationsInterfaces/operations.ts +0 -21
  542. package/src/operationsInterfaces/studentLabs.ts +0 -36
  543. package/src/operationsInterfaces/students.ts +0 -84
  544. package/src/pagingHelper.ts +0 -39
  545. package/tsconfig.json +0 -33
  546. package/types/arm-education.d.ts +0 -995
@@ -0,0 +1,4 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ export { generateInviteCode, listAll, list, $delete, createOrUpdate, get } from "./operations.js";
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/labs/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,kBAAkB,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,cAAc,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport { generateInviteCode, listAll, list, $delete, createOrUpdate, get } from \"./operations.js\";\nexport type {\n LabsGenerateInviteCodeOptionalParams,\n LabsListAllOptionalParams,\n LabsListOptionalParams,\n LabsDeleteOptionalParams,\n LabsCreateOrUpdateOptionalParams,\n LabsGetOptionalParams,\n} from \"./options.js\";\n"]}
@@ -0,0 +1,30 @@
1
+ import { EducationManagementContext as Client } from "../index.js";
2
+ import { LabDetails, _LabListResult, InviteCodeGenerateRequest } from "../../models/models.js";
3
+ import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
4
+ import { LabsGenerateInviteCodeOptionalParams, LabsListAllOptionalParams, LabsListOptionalParams, LabsDeleteOptionalParams, LabsCreateOrUpdateOptionalParams, LabsGetOptionalParams } from "./options.js";
5
+ import { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
6
+ export declare function _generateInviteCodeSend(context: Client, billingAccountName: string, billingProfileName: string, invoiceSectionName: string, parameters: InviteCodeGenerateRequest, options?: LabsGenerateInviteCodeOptionalParams): StreamableMethod;
7
+ export declare function _generateInviteCodeDeserialize(result: PathUncheckedResponse): Promise<LabDetails>;
8
+ /** Generate invite code for a lab */
9
+ export declare function generateInviteCode(context: Client, billingAccountName: string, billingProfileName: string, invoiceSectionName: string, parameters: InviteCodeGenerateRequest, options?: LabsGenerateInviteCodeOptionalParams): Promise<LabDetails>;
10
+ export declare function _listAllSend(context: Client, billingAccountName: string, billingProfileName: string, options?: LabsListAllOptionalParams): StreamableMethod;
11
+ export declare function _listAllDeserialize(result: PathUncheckedResponse): Promise<_LabListResult>;
12
+ /** Get a list of labs associated with the provided billing account name and billing profile name. */
13
+ export declare function listAll(context: Client, billingAccountName: string, billingProfileName: string, options?: LabsListAllOptionalParams): PagedAsyncIterableIterator<LabDetails>;
14
+ export declare function _listSend(context: Client, billingAccountName: string, billingProfileName: string, invoiceSectionName: string, options?: LabsListOptionalParams): StreamableMethod;
15
+ export declare function _listDeserialize(result: PathUncheckedResponse): Promise<_LabListResult>;
16
+ /** Get the details for a specific lab associated with the provided billing account name, billing profile name, and invoice section name. */
17
+ export declare function list(context: Client, billingAccountName: string, billingProfileName: string, invoiceSectionName: string, options?: LabsListOptionalParams): PagedAsyncIterableIterator<LabDetails>;
18
+ export declare function _$deleteSend(context: Client, billingAccountName: string, billingProfileName: string, invoiceSectionName: string, options?: LabsDeleteOptionalParams): StreamableMethod;
19
+ export declare function _$deleteDeserialize(result: PathUncheckedResponse): Promise<void>;
20
+ /** Delete a specific lab associated with the provided billing account name, billing profile name, and invoice section name. Note all students must be removed from the lab in order to delete the lab. */
21
+ export declare function $delete(context: Client, billingAccountName: string, billingProfileName: string, invoiceSectionName: string, options?: LabsDeleteOptionalParams): Promise<void>;
22
+ export declare function _createOrUpdateSend(context: Client, billingAccountName: string, billingProfileName: string, invoiceSectionName: string, parameters: LabDetails, options?: LabsCreateOrUpdateOptionalParams): StreamableMethod;
23
+ export declare function _createOrUpdateDeserialize(result: PathUncheckedResponse): Promise<LabDetails>;
24
+ /** Create a new lab or update a previously created lab. */
25
+ export declare function createOrUpdate(context: Client, billingAccountName: string, billingProfileName: string, invoiceSectionName: string, parameters: LabDetails, options?: LabsCreateOrUpdateOptionalParams): Promise<LabDetails>;
26
+ export declare function _getSend(context: Client, billingAccountName: string, billingProfileName: string, invoiceSectionName: string, options?: LabsGetOptionalParams): StreamableMethod;
27
+ export declare function _getDeserialize(result: PathUncheckedResponse): Promise<LabDetails>;
28
+ /** Get the details for a specific lab associated with the provided billing account name, billing profile name, and invoice section name. */
29
+ export declare function get(context: Client, billingAccountName: string, billingProfileName: string, invoiceSectionName: string, options?: LabsGetOptionalParams): Promise<LabDetails>;
30
+ //# sourceMappingURL=operations.d.ts.map
@@ -0,0 +1,186 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ import { errorResponseBodyDeserializer, labDetailsSerializer, labDetailsDeserializer, _labListResultDeserializer, inviteCodeGenerateRequestSerializer, } from "../../models/models.js";
4
+ import { buildPagedAsyncIterator, } from "../../static-helpers/pagingHelpers.js";
5
+ import { expandUrlTemplate } from "../../static-helpers/urlTemplate.js";
6
+ import { createRestError, operationOptionsToRequestParameters, } from "@azure-rest/core-client";
7
+ export function _generateInviteCodeSend(context, billingAccountName, billingProfileName, invoiceSectionName, parameters, options = { requestOptions: {} }) {
8
+ const path = expandUrlTemplate("/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/providers/Microsoft.Education/labs/default/generateInviteCode{?api%2Dversion,onlyUpdateStudentCountParameter}", {
9
+ billingAccountName: billingAccountName,
10
+ billingProfileName: billingProfileName,
11
+ invoiceSectionName: invoiceSectionName,
12
+ "api%2Dversion": context.apiVersion ?? "2021-12-01-preview",
13
+ onlyUpdateStudentCountParameter: options?.onlyUpdateStudentCountParameter,
14
+ }, {
15
+ allowReserved: options?.requestOptions?.skipUrlEncoding,
16
+ });
17
+ return context.path(path).post({
18
+ ...operationOptionsToRequestParameters(options),
19
+ contentType: "application/json",
20
+ headers: { accept: "application/json", ...options.requestOptions?.headers },
21
+ body: inviteCodeGenerateRequestSerializer(parameters),
22
+ });
23
+ }
24
+ export async function _generateInviteCodeDeserialize(result) {
25
+ const expectedStatuses = ["200"];
26
+ if (!expectedStatuses.includes(result.status)) {
27
+ const error = createRestError(result);
28
+ error.details = errorResponseBodyDeserializer(result.body);
29
+ throw error;
30
+ }
31
+ return labDetailsDeserializer(result.body);
32
+ }
33
+ /** Generate invite code for a lab */
34
+ export async function generateInviteCode(context, billingAccountName, billingProfileName, invoiceSectionName, parameters, options = { requestOptions: {} }) {
35
+ const result = await _generateInviteCodeSend(context, billingAccountName, billingProfileName, invoiceSectionName, parameters, options);
36
+ return _generateInviteCodeDeserialize(result);
37
+ }
38
+ export function _listAllSend(context, billingAccountName, billingProfileName, options = { requestOptions: {} }) {
39
+ const path = expandUrlTemplate("/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/providers/Microsoft.Education/labs{?api%2Dversion,includeBudget,includeDeleted}", {
40
+ billingAccountName: billingAccountName,
41
+ billingProfileName: billingProfileName,
42
+ "api%2Dversion": context.apiVersion ?? "2021-12-01-preview",
43
+ includeBudget: options?.includeBudget,
44
+ includeDeleted: options?.includeDeleted,
45
+ }, {
46
+ allowReserved: options?.requestOptions?.skipUrlEncoding,
47
+ });
48
+ return context.path(path).get({
49
+ ...operationOptionsToRequestParameters(options),
50
+ headers: { accept: "application/json", ...options.requestOptions?.headers },
51
+ });
52
+ }
53
+ export async function _listAllDeserialize(result) {
54
+ const expectedStatuses = ["200"];
55
+ if (!expectedStatuses.includes(result.status)) {
56
+ const error = createRestError(result);
57
+ error.details = errorResponseBodyDeserializer(result.body);
58
+ throw error;
59
+ }
60
+ return _labListResultDeserializer(result.body);
61
+ }
62
+ /** Get a list of labs associated with the provided billing account name and billing profile name. */
63
+ export function listAll(context, billingAccountName, billingProfileName, options = { requestOptions: {} }) {
64
+ return buildPagedAsyncIterator(context, () => _listAllSend(context, billingAccountName, billingProfileName, options), _listAllDeserialize, ["200"], {
65
+ itemName: "value",
66
+ nextLinkName: "nextLink",
67
+ apiVersion: context.apiVersion ?? "2021-12-01-preview",
68
+ });
69
+ }
70
+ export function _listSend(context, billingAccountName, billingProfileName, invoiceSectionName, options = { requestOptions: {} }) {
71
+ const path = expandUrlTemplate("/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/providers/Microsoft.Education/labs{?api%2Dversion,includeBudget}", {
72
+ billingAccountName: billingAccountName,
73
+ billingProfileName: billingProfileName,
74
+ invoiceSectionName: invoiceSectionName,
75
+ "api%2Dversion": context.apiVersion ?? "2021-12-01-preview",
76
+ includeBudget: options?.includeBudget,
77
+ }, {
78
+ allowReserved: options?.requestOptions?.skipUrlEncoding,
79
+ });
80
+ return context.path(path).get({
81
+ ...operationOptionsToRequestParameters(options),
82
+ headers: { accept: "application/json", ...options.requestOptions?.headers },
83
+ });
84
+ }
85
+ export async function _listDeserialize(result) {
86
+ const expectedStatuses = ["200"];
87
+ if (!expectedStatuses.includes(result.status)) {
88
+ const error = createRestError(result);
89
+ error.details = errorResponseBodyDeserializer(result.body);
90
+ throw error;
91
+ }
92
+ return _labListResultDeserializer(result.body);
93
+ }
94
+ /** Get the details for a specific lab associated with the provided billing account name, billing profile name, and invoice section name. */
95
+ export function list(context, billingAccountName, billingProfileName, invoiceSectionName, options = { requestOptions: {} }) {
96
+ return buildPagedAsyncIterator(context, () => _listSend(context, billingAccountName, billingProfileName, invoiceSectionName, options), _listDeserialize, ["200"], {
97
+ itemName: "value",
98
+ nextLinkName: "nextLink",
99
+ apiVersion: context.apiVersion ?? "2021-12-01-preview",
100
+ });
101
+ }
102
+ export function _$deleteSend(context, billingAccountName, billingProfileName, invoiceSectionName, options = { requestOptions: {} }) {
103
+ const path = expandUrlTemplate("/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/providers/Microsoft.Education/labs/default{?api%2Dversion}", {
104
+ billingAccountName: billingAccountName,
105
+ billingProfileName: billingProfileName,
106
+ invoiceSectionName: invoiceSectionName,
107
+ "api%2Dversion": context.apiVersion ?? "2021-12-01-preview",
108
+ }, {
109
+ allowReserved: options?.requestOptions?.skipUrlEncoding,
110
+ });
111
+ return context.path(path).delete({ ...operationOptionsToRequestParameters(options) });
112
+ }
113
+ export async function _$deleteDeserialize(result) {
114
+ const expectedStatuses = ["200", "204"];
115
+ if (!expectedStatuses.includes(result.status)) {
116
+ const error = createRestError(result);
117
+ error.details = errorResponseBodyDeserializer(result.body);
118
+ throw error;
119
+ }
120
+ return;
121
+ }
122
+ /** Delete a specific lab associated with the provided billing account name, billing profile name, and invoice section name. Note all students must be removed from the lab in order to delete the lab. */
123
+ export async function $delete(context, billingAccountName, billingProfileName, invoiceSectionName, options = { requestOptions: {} }) {
124
+ const result = await _$deleteSend(context, billingAccountName, billingProfileName, invoiceSectionName, options);
125
+ return _$deleteDeserialize(result);
126
+ }
127
+ export function _createOrUpdateSend(context, billingAccountName, billingProfileName, invoiceSectionName, parameters, options = { requestOptions: {} }) {
128
+ const path = expandUrlTemplate("/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/providers/Microsoft.Education/labs/default{?api%2Dversion}", {
129
+ billingAccountName: billingAccountName,
130
+ billingProfileName: billingProfileName,
131
+ invoiceSectionName: invoiceSectionName,
132
+ "api%2Dversion": context.apiVersion ?? "2021-12-01-preview",
133
+ }, {
134
+ allowReserved: options?.requestOptions?.skipUrlEncoding,
135
+ });
136
+ return context.path(path).put({
137
+ ...operationOptionsToRequestParameters(options),
138
+ contentType: "application/json",
139
+ headers: { accept: "application/json", ...options.requestOptions?.headers },
140
+ body: labDetailsSerializer(parameters),
141
+ });
142
+ }
143
+ export async function _createOrUpdateDeserialize(result) {
144
+ const expectedStatuses = ["200", "201"];
145
+ if (!expectedStatuses.includes(result.status)) {
146
+ const error = createRestError(result);
147
+ error.details = errorResponseBodyDeserializer(result.body);
148
+ throw error;
149
+ }
150
+ return labDetailsDeserializer(result.body);
151
+ }
152
+ /** Create a new lab or update a previously created lab. */
153
+ export async function createOrUpdate(context, billingAccountName, billingProfileName, invoiceSectionName, parameters, options = { requestOptions: {} }) {
154
+ const result = await _createOrUpdateSend(context, billingAccountName, billingProfileName, invoiceSectionName, parameters, options);
155
+ return _createOrUpdateDeserialize(result);
156
+ }
157
+ export function _getSend(context, billingAccountName, billingProfileName, invoiceSectionName, options = { requestOptions: {} }) {
158
+ const path = expandUrlTemplate("/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/providers/Microsoft.Education/labs/default{?api%2Dversion,includeBudget}", {
159
+ billingAccountName: billingAccountName,
160
+ billingProfileName: billingProfileName,
161
+ invoiceSectionName: invoiceSectionName,
162
+ "api%2Dversion": context.apiVersion ?? "2021-12-01-preview",
163
+ includeBudget: options?.includeBudget,
164
+ }, {
165
+ allowReserved: options?.requestOptions?.skipUrlEncoding,
166
+ });
167
+ return context.path(path).get({
168
+ ...operationOptionsToRequestParameters(options),
169
+ headers: { accept: "application/json", ...options.requestOptions?.headers },
170
+ });
171
+ }
172
+ export async function _getDeserialize(result) {
173
+ const expectedStatuses = ["200"];
174
+ if (!expectedStatuses.includes(result.status)) {
175
+ const error = createRestError(result);
176
+ error.details = errorResponseBodyDeserializer(result.body);
177
+ throw error;
178
+ }
179
+ return labDetailsDeserializer(result.body);
180
+ }
181
+ /** Get the details for a specific lab associated with the provided billing account name, billing profile name, and invoice section name. */
182
+ export async function get(context, billingAccountName, billingProfileName, invoiceSectionName, options = { requestOptions: {} }) {
183
+ const result = await _getSend(context, billingAccountName, billingProfileName, invoiceSectionName, options);
184
+ return _getDeserialize(result);
185
+ }
186
+ //# sourceMappingURL=operations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../../src/api/labs/operations.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EACL,6BAA6B,EAE7B,oBAAoB,EACpB,sBAAsB,EAEtB,0BAA0B,EAE1B,mCAAmC,GACpC,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAEL,uBAAuB,GACxB,MAAM,uCAAuC,CAAC;AAC/C,OAAO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ACP,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,OAAO,CACR,CAAC;IACF,OAAO,eAAe,CAAC,MAAM,CAAC,CAAC;AACjC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { EducationManagementContext as Client } from \"../index.js\";\nimport {\n errorResponseBodyDeserializer,\n LabDetails,\n labDetailsSerializer,\n labDetailsDeserializer,\n _LabListResult,\n _labListResultDeserializer,\n InviteCodeGenerateRequest,\n inviteCodeGenerateRequestSerializer,\n} from \"../../models/models.js\";\nimport {\n PagedAsyncIterableIterator,\n buildPagedAsyncIterator,\n} from \"../../static-helpers/pagingHelpers.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.js\";\nimport {\n LabsGenerateInviteCodeOptionalParams,\n LabsListAllOptionalParams,\n LabsListOptionalParams,\n LabsDeleteOptionalParams,\n LabsCreateOrUpdateOptionalParams,\n LabsGetOptionalParams,\n} from \"./options.js\";\nimport {\n StreamableMethod,\n PathUncheckedResponse,\n createRestError,\n operationOptionsToRequestParameters,\n} from \"@azure-rest/core-client\";\n\nexport function _generateInviteCodeSend(\n context: Client,\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n parameters: InviteCodeGenerateRequest,\n options: LabsGenerateInviteCodeOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/providers/Microsoft.Education/labs/default/generateInviteCode{?api%2Dversion,onlyUpdateStudentCountParameter}\",\n {\n billingAccountName: billingAccountName,\n billingProfileName: billingProfileName,\n invoiceSectionName: invoiceSectionName,\n \"api%2Dversion\": context.apiVersion ?? \"2021-12-01-preview\",\n onlyUpdateStudentCountParameter: options?.onlyUpdateStudentCountParameter,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).post({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n body: inviteCodeGenerateRequestSerializer(parameters),\n });\n}\n\nexport async function _generateInviteCodeDeserialize(\n result: PathUncheckedResponse,\n): Promise<LabDetails> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseBodyDeserializer(result.body);\n\n throw error;\n }\n\n return labDetailsDeserializer(result.body);\n}\n\n/** Generate invite code for a lab */\nexport async function generateInviteCode(\n context: Client,\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n parameters: InviteCodeGenerateRequest,\n options: LabsGenerateInviteCodeOptionalParams = { requestOptions: {} },\n): Promise<LabDetails> {\n const result = await _generateInviteCodeSend(\n context,\n billingAccountName,\n billingProfileName,\n invoiceSectionName,\n parameters,\n options,\n );\n return _generateInviteCodeDeserialize(result);\n}\n\nexport function _listAllSend(\n context: Client,\n billingAccountName: string,\n billingProfileName: string,\n options: LabsListAllOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/providers/Microsoft.Education/labs{?api%2Dversion,includeBudget,includeDeleted}\",\n {\n billingAccountName: billingAccountName,\n billingProfileName: billingProfileName,\n \"api%2Dversion\": context.apiVersion ?? \"2021-12-01-preview\",\n includeBudget: options?.includeBudget,\n includeDeleted: options?.includeDeleted,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _listAllDeserialize(result: PathUncheckedResponse): Promise<_LabListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseBodyDeserializer(result.body);\n\n throw error;\n }\n\n return _labListResultDeserializer(result.body);\n}\n\n/** Get a list of labs associated with the provided billing account name and billing profile name. */\nexport function listAll(\n context: Client,\n billingAccountName: string,\n billingProfileName: string,\n options: LabsListAllOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<LabDetails> {\n return buildPagedAsyncIterator(\n context,\n () => _listAllSend(context, billingAccountName, billingProfileName, options),\n _listAllDeserialize,\n [\"200\"],\n {\n itemName: \"value\",\n nextLinkName: \"nextLink\",\n apiVersion: context.apiVersion ?? \"2021-12-01-preview\",\n },\n );\n}\n\nexport function _listSend(\n context: Client,\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n options: LabsListOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/providers/Microsoft.Education/labs{?api%2Dversion,includeBudget}\",\n {\n billingAccountName: billingAccountName,\n billingProfileName: billingProfileName,\n invoiceSectionName: invoiceSectionName,\n \"api%2Dversion\": context.apiVersion ?? \"2021-12-01-preview\",\n includeBudget: options?.includeBudget,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _listDeserialize(result: PathUncheckedResponse): Promise<_LabListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseBodyDeserializer(result.body);\n\n throw error;\n }\n\n return _labListResultDeserializer(result.body);\n}\n\n/** Get the details for a specific lab associated with the provided billing account name, billing profile name, and invoice section name. */\nexport function list(\n context: Client,\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n options: LabsListOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<LabDetails> {\n return buildPagedAsyncIterator(\n context,\n () => _listSend(context, billingAccountName, billingProfileName, invoiceSectionName, options),\n _listDeserialize,\n [\"200\"],\n {\n itemName: \"value\",\n nextLinkName: \"nextLink\",\n apiVersion: context.apiVersion ?? \"2021-12-01-preview\",\n },\n );\n}\n\nexport function _$deleteSend(\n context: Client,\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n options: LabsDeleteOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/providers/Microsoft.Education/labs/default{?api%2Dversion}\",\n {\n billingAccountName: billingAccountName,\n billingProfileName: billingProfileName,\n invoiceSectionName: invoiceSectionName,\n \"api%2Dversion\": context.apiVersion ?? \"2021-12-01-preview\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).delete({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _$deleteDeserialize(result: PathUncheckedResponse): Promise<void> {\n const expectedStatuses = [\"200\", \"204\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseBodyDeserializer(result.body);\n\n throw error;\n }\n\n return;\n}\n\n/** Delete a specific lab associated with the provided billing account name, billing profile name, and invoice section name. Note all students must be removed from the lab in order to delete the lab. */\nexport async function $delete(\n context: Client,\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n options: LabsDeleteOptionalParams = { requestOptions: {} },\n): Promise<void> {\n const result = await _$deleteSend(\n context,\n billingAccountName,\n billingProfileName,\n invoiceSectionName,\n options,\n );\n return _$deleteDeserialize(result);\n}\n\nexport function _createOrUpdateSend(\n context: Client,\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n parameters: LabDetails,\n options: LabsCreateOrUpdateOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/providers/Microsoft.Education/labs/default{?api%2Dversion}\",\n {\n billingAccountName: billingAccountName,\n billingProfileName: billingProfileName,\n invoiceSectionName: invoiceSectionName,\n \"api%2Dversion\": context.apiVersion ?? \"2021-12-01-preview\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).put({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n body: labDetailsSerializer(parameters),\n });\n}\n\nexport async function _createOrUpdateDeserialize(\n result: PathUncheckedResponse,\n): Promise<LabDetails> {\n const expectedStatuses = [\"200\", \"201\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseBodyDeserializer(result.body);\n\n throw error;\n }\n\n return labDetailsDeserializer(result.body);\n}\n\n/** Create a new lab or update a previously created lab. */\nexport async function createOrUpdate(\n context: Client,\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n parameters: LabDetails,\n options: LabsCreateOrUpdateOptionalParams = { requestOptions: {} },\n): Promise<LabDetails> {\n const result = await _createOrUpdateSend(\n context,\n billingAccountName,\n billingProfileName,\n invoiceSectionName,\n parameters,\n options,\n );\n return _createOrUpdateDeserialize(result);\n}\n\nexport function _getSend(\n context: Client,\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n options: LabsGetOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/providers/Microsoft.Education/labs/default{?api%2Dversion,includeBudget}\",\n {\n billingAccountName: billingAccountName,\n billingProfileName: billingProfileName,\n invoiceSectionName: invoiceSectionName,\n \"api%2Dversion\": context.apiVersion ?? \"2021-12-01-preview\",\n includeBudget: options?.includeBudget,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _getDeserialize(result: PathUncheckedResponse): Promise<LabDetails> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseBodyDeserializer(result.body);\n\n throw error;\n }\n\n return labDetailsDeserializer(result.body);\n}\n\n/** Get the details for a specific lab associated with the provided billing account name, billing profile name, and invoice section name. */\nexport async function get(\n context: Client,\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n options: LabsGetOptionalParams = { requestOptions: {} },\n): Promise<LabDetails> {\n const result = await _getSend(\n context,\n billingAccountName,\n billingProfileName,\n invoiceSectionName,\n options,\n );\n return _getDeserialize(result);\n}\n"]}
@@ -0,0 +1,30 @@
1
+ import { OperationOptions } from "@azure-rest/core-client";
2
+ /** Optional parameters. */
3
+ export interface LabsGenerateInviteCodeOptionalParams extends OperationOptions {
4
+ /** set this flag to true if you want to update student count without generating a new invite code */
5
+ onlyUpdateStudentCountParameter?: boolean;
6
+ }
7
+ /** Optional parameters. */
8
+ export interface LabsListAllOptionalParams extends OperationOptions {
9
+ /** May be used to include budget information. */
10
+ includeBudget?: boolean;
11
+ /** May be used to show deleted items. */
12
+ includeDeleted?: boolean;
13
+ }
14
+ /** Optional parameters. */
15
+ export interface LabsListOptionalParams extends OperationOptions {
16
+ /** May be used to include budget information. */
17
+ includeBudget?: boolean;
18
+ }
19
+ /** Optional parameters. */
20
+ export interface LabsDeleteOptionalParams extends OperationOptions {
21
+ }
22
+ /** Optional parameters. */
23
+ export interface LabsCreateOrUpdateOptionalParams extends OperationOptions {
24
+ }
25
+ /** Optional parameters. */
26
+ export interface LabsGetOptionalParams extends OperationOptions {
27
+ /** May be used to include budget information. */
28
+ includeBudget?: boolean;
29
+ }
30
+ //# sourceMappingURL=options.d.ts.map
@@ -0,0 +1,4 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ export {};
4
+ //# sourceMappingURL=options.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"options.js","sourceRoot":"","sources":["../../../../src/api/labs/options.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { OperationOptions } from \"@azure-rest/core-client\";\n\n/** Optional parameters. */\nexport interface LabsGenerateInviteCodeOptionalParams extends OperationOptions {\n /** set this flag to true if you want to update student count without generating a new invite code */\n onlyUpdateStudentCountParameter?: boolean;\n}\n\n/** Optional parameters. */\nexport interface LabsListAllOptionalParams extends OperationOptions {\n /** May be used to include budget information. */\n includeBudget?: boolean;\n /** May be used to show deleted items. */\n includeDeleted?: boolean;\n}\n\n/** Optional parameters. */\nexport interface LabsListOptionalParams extends OperationOptions {\n /** May be used to include budget information. */\n includeBudget?: boolean;\n}\n\n/** Optional parameters. */\nexport interface LabsDeleteOptionalParams extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface LabsCreateOrUpdateOptionalParams extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface LabsGetOptionalParams extends OperationOptions {\n /** May be used to include budget information. */\n includeBudget?: boolean;\n}\n"]}
@@ -0,0 +1,3 @@
1
+ export { list } from "./operations.js";
2
+ export type { OperationsListOptionalParams } from "./options.js";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,4 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ export { list } from "./operations.js";
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/operations/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport { list } from \"./operations.js\";\nexport type { OperationsListOptionalParams } from \"./options.js\";\n"]}
@@ -0,0 +1,9 @@
1
+ import { EducationManagementContext as Client } from "../index.js";
2
+ import { OperationListResult } from "../../models/models.js";
3
+ import { OperationsListOptionalParams } from "./options.js";
4
+ import { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
5
+ export declare function _listSend(context: Client, options?: OperationsListOptionalParams): StreamableMethod;
6
+ export declare function _listDeserialize(result: PathUncheckedResponse): Promise<OperationListResult>;
7
+ /** Lists all of the available Microsoft.Education API operations. */
8
+ export declare function list(context: Client, options?: OperationsListOptionalParams): Promise<OperationListResult>;
9
+ //# sourceMappingURL=operations.d.ts.map
@@ -0,0 +1,31 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ import { errorResponseBodyDeserializer, operationListResultDeserializer, } from "../../models/models.js";
4
+ import { expandUrlTemplate } from "../../static-helpers/urlTemplate.js";
5
+ import { createRestError, operationOptionsToRequestParameters, } from "@azure-rest/core-client";
6
+ export function _listSend(context, options = { requestOptions: {} }) {
7
+ const path = expandUrlTemplate("/providers/Microsoft.Education/operations{?api%2Dversion}", {
8
+ "api%2Dversion": context.apiVersion ?? "2021-12-01-preview",
9
+ }, {
10
+ allowReserved: options?.requestOptions?.skipUrlEncoding,
11
+ });
12
+ return context.path(path).get({
13
+ ...operationOptionsToRequestParameters(options),
14
+ headers: { accept: "application/json", ...options.requestOptions?.headers },
15
+ });
16
+ }
17
+ export async function _listDeserialize(result) {
18
+ const expectedStatuses = ["200"];
19
+ if (!expectedStatuses.includes(result.status)) {
20
+ const error = createRestError(result);
21
+ error.details = errorResponseBodyDeserializer(result.body);
22
+ throw error;
23
+ }
24
+ return operationListResultDeserializer(result.body);
25
+ }
26
+ /** Lists all of the available Microsoft.Education API operations. */
27
+ export async function list(context, options = { requestOptions: {} }) {
28
+ const result = await _listSend(context, options);
29
+ return _listDeserialize(result);
30
+ }
31
+ //# sourceMappingURL=operations.js.map
@@ -0,0 +1 @@
1
+ {"version":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I,CACxB,OAAe,EACf,UAAwC,EAAE,cAAc,EAAE,EAAE,EAAE;IAE9D,MAAM,MAAM,GAAG,MAAM,SAAS,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;IACjD,OAAO,gBAAgB,CAAC,MAAM,CAAC,CAAC;AAClC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { EducationManagementContext as Client } from \"../index.js\";\nimport {\n errorResponseBodyDeserializer,\n OperationListResult,\n operationListResultDeserializer,\n} from \"../../models/models.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.js\";\nimport { OperationsListOptionalParams } from \"./options.js\";\nimport {\n StreamableMethod,\n PathUncheckedResponse,\n createRestError,\n operationOptionsToRequestParameters,\n} from \"@azure-rest/core-client\";\n\nexport function _listSend(\n context: Client,\n options: OperationsListOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/providers/Microsoft.Education/operations{?api%2Dversion}\",\n {\n \"api%2Dversion\": context.apiVersion ?? \"2021-12-01-preview\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _listDeserialize(\n result: PathUncheckedResponse,\n): Promise<OperationListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseBodyDeserializer(result.body);\n\n throw error;\n }\n\n return operationListResultDeserializer(result.body);\n}\n\n/** Lists all of the available Microsoft.Education API operations. */\nexport async function list(\n context: Client,\n options: OperationsListOptionalParams = { requestOptions: {} },\n): Promise<OperationListResult> {\n const result = await _listSend(context, options);\n return _listDeserialize(result);\n}\n"]}
@@ -0,0 +1,5 @@
1
+ import { OperationOptions } from "@azure-rest/core-client";
2
+ /** Optional parameters. */
3
+ export interface OperationsListOptionalParams extends OperationOptions {
4
+ }
5
+ //# sourceMappingURL=options.d.ts.map
@@ -0,0 +1,4 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ export {};
4
+ //# sourceMappingURL=options.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"options.js","sourceRoot":"","sources":["../../../../src/api/operations/options.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { OperationOptions } from \"@azure-rest/core-client\";\n\n/** Optional parameters. */\nexport interface OperationsListOptionalParams extends OperationOptions {}\n"]}
@@ -0,0 +1,9 @@
1
+ import { EducationManagementContext as Client } from "./index.js";
2
+ import { RedeemRequest } from "../models/models.js";
3
+ import { RedeemInvitationCodeOptionalParams } from "./options.js";
4
+ import { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
5
+ export declare function _redeemInvitationCodeSend(context: Client, parameters: RedeemRequest, options?: RedeemInvitationCodeOptionalParams): StreamableMethod;
6
+ export declare function _redeemInvitationCodeDeserialize(result: PathUncheckedResponse): Promise<void>;
7
+ /** Redeem invite code to join a redeemable lab */
8
+ export declare function redeemInvitationCode(context: Client, parameters: RedeemRequest, options?: RedeemInvitationCodeOptionalParams): Promise<void>;
9
+ //# sourceMappingURL=operations.d.ts.map
@@ -0,0 +1,32 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ import { redeemRequestSerializer, errorResponseBodyDeserializer, } from "../models/models.js";
4
+ import { expandUrlTemplate } from "../static-helpers/urlTemplate.js";
5
+ import { createRestError, operationOptionsToRequestParameters, } from "@azure-rest/core-client";
6
+ export function _redeemInvitationCodeSend(context, parameters, options = { requestOptions: {} }) {
7
+ const path = expandUrlTemplate("/providers/Microsoft.Education/redeemInvitationCode{?api%2Dversion}", {
8
+ "api%2Dversion": context.apiVersion ?? "2021-12-01-preview",
9
+ }, {
10
+ allowReserved: options?.requestOptions?.skipUrlEncoding,
11
+ });
12
+ return context.path(path).post({
13
+ ...operationOptionsToRequestParameters(options),
14
+ contentType: "application/json",
15
+ body: redeemRequestSerializer(parameters),
16
+ });
17
+ }
18
+ export async function _redeemInvitationCodeDeserialize(result) {
19
+ const expectedStatuses = ["200"];
20
+ if (!expectedStatuses.includes(result.status)) {
21
+ const error = createRestError(result);
22
+ error.details = errorResponseBodyDeserializer(result.body);
23
+ throw error;
24
+ }
25
+ return;
26
+ }
27
+ /** Redeem invite code to join a redeemable lab */
28
+ export async function redeemInvitationCode(context, parameters, options = { requestOptions: {} }) {
29
+ const result = await _redeemInvitationCodeSend(context, parameters, options);
30
+ return _redeemInvitationCodeDeserialize(result);
31
+ }
32
+ //# sourceMappingURL=operations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/api/operations.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EAEL,uBAAuB,EACvB,6BAA6B,GAC9B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AAErE,OAAO,EAGL,eAAe,EACf,mCAAmC,GACpC,MAAM,yBAAyB,CAAC;AAEjC,MAAM,UAAU,yBAAyB,CACvC,OAAe,EACf,UAAyB,EACzB,UAA8C,EAAE,cAAc,EAAE,EAAE,EAAE;IAEpE,MAAM,IAAI,GAAG,iBAAiB,CAC5B,qEAAqE,EACrE;QACE,eAAe,EAAE,OAAO,CAAC,UAAU,IAAI,oBAAoB;KAC5D,EACD;QACE,aAAa,EAAE,OAAO,EAAE,cAAc,EAAE,eAAe;KACxD,CACF,CAAC;IACF,OAAO,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC;QAC7B,GAAG,mCAAmC,CAAC,OAAO,CAAC;QAC/C,WAAW,EAAE,kBAAkB;QAC/B,IAAI,EAAE,uBAAuB,CAAC,UAAU,CAAC;KAC1C,CAAC,CAAC;AACL,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,gCAAgC,CACpD,MAA6B;IAE7B,MAAM,gBAAgB,GAAG,CAAC,KAAK,CAAC,CAAC;IACjC,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC;QAC9C,MAAM,KAAK,GAAG,eAAe,CAAC,MAAM,CAAC,CAAC;QACtC,KAAK,CAAC,OAAO,GAAG,6BAA6B,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;QAE3D,MAAM,KAAK,CAAC;IACd,CAAC;IAED,OAAO;AACT,CAAC;AAED,kDAAkD;AAClD,MAAM,CAAC,KAAK,UAAU,oBAAoB,CACxC,OAAe,EACf,UAAyB,EACzB,UAA8C,EAAE,cAAc,EAAE,EAAE,EAAE;IAEpE,MAAM,MAAM,GAAG,MAAM,yBAAyB,CAAC,OAAO,EAAE,UAAU,EAAE,OAAO,CAAC,CAAC;IAC7E,OAAO,gCAAgC,CAAC,MAAM,CAAC,CAAC;AAClD,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { EducationManagementContext as Client } from \"./index.js\";\nimport {\n RedeemRequest,\n redeemRequestSerializer,\n errorResponseBodyDeserializer,\n} from \"../models/models.js\";\nimport { expandUrlTemplate } from \"../static-helpers/urlTemplate.js\";\nimport { RedeemInvitationCodeOptionalParams } from \"./options.js\";\nimport {\n StreamableMethod,\n PathUncheckedResponse,\n createRestError,\n operationOptionsToRequestParameters,\n} from \"@azure-rest/core-client\";\n\nexport function _redeemInvitationCodeSend(\n context: Client,\n parameters: RedeemRequest,\n options: RedeemInvitationCodeOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/providers/Microsoft.Education/redeemInvitationCode{?api%2Dversion}\",\n {\n \"api%2Dversion\": context.apiVersion ?? \"2021-12-01-preview\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).post({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n body: redeemRequestSerializer(parameters),\n });\n}\n\nexport async function _redeemInvitationCodeDeserialize(\n result: PathUncheckedResponse,\n): Promise<void> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseBodyDeserializer(result.body);\n\n throw error;\n }\n\n return;\n}\n\n/** Redeem invite code to join a redeemable lab */\nexport async function redeemInvitationCode(\n context: Client,\n parameters: RedeemRequest,\n options: RedeemInvitationCodeOptionalParams = { requestOptions: {} },\n): Promise<void> {\n const result = await _redeemInvitationCodeSend(context, parameters, options);\n return _redeemInvitationCodeDeserialize(result);\n}\n"]}
@@ -0,0 +1,5 @@
1
+ import { OperationOptions } from "@azure-rest/core-client";
2
+ /** Optional parameters. */
3
+ export interface RedeemInvitationCodeOptionalParams extends OperationOptions {
4
+ }
5
+ //# sourceMappingURL=options.d.ts.map
@@ -0,0 +1,4 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ export {};
4
+ //# sourceMappingURL=options.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"options.js","sourceRoot":"","sources":["../../../src/api/options.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { OperationOptions } from \"@azure-rest/core-client\";\n\n/** Optional parameters. */\nexport interface RedeemInvitationCodeOptionalParams extends OperationOptions {}\n"]}
@@ -0,0 +1,3 @@
1
+ export { listAll, get } from "./operations.js";
2
+ export type { StudentLabsListAllOptionalParams, StudentLabsGetOptionalParams } from "./options.js";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,4 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ export { listAll, get } from "./operations.js";
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/studentLabs/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,OAAO,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport { listAll, get } from \"./operations.js\";\nexport type { StudentLabsListAllOptionalParams, StudentLabsGetOptionalParams } from \"./options.js\";\n"]}
@@ -0,0 +1,14 @@
1
+ import { EducationManagementContext as Client } from "../index.js";
2
+ import { StudentLabDetails, _StudentLabListResult } from "../../models/models.js";
3
+ import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
4
+ import { StudentLabsListAllOptionalParams, StudentLabsGetOptionalParams } from "./options.js";
5
+ import { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
6
+ export declare function _listAllSend(context: Client, options?: StudentLabsListAllOptionalParams): StreamableMethod;
7
+ export declare function _listAllDeserialize(result: PathUncheckedResponse): Promise<_StudentLabListResult>;
8
+ /** Get a list of all labs associated with the caller of the API. */
9
+ export declare function listAll(context: Client, options?: StudentLabsListAllOptionalParams): PagedAsyncIterableIterator<StudentLabDetails>;
10
+ export declare function _getSend(context: Client, studentLabName: string, options?: StudentLabsGetOptionalParams): StreamableMethod;
11
+ export declare function _getDeserialize(result: PathUncheckedResponse): Promise<StudentLabDetails>;
12
+ /** Get the details for a specified lab associated with the student lab. */
13
+ export declare function get(context: Client, studentLabName: string, options?: StudentLabsGetOptionalParams): Promise<StudentLabDetails>;
14
+ //# sourceMappingURL=operations.d.ts.map
@@ -0,0 +1,61 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ import { errorResponseBodyDeserializer, studentLabDetailsDeserializer, _studentLabListResultDeserializer, } from "../../models/models.js";
4
+ import { buildPagedAsyncIterator, } from "../../static-helpers/pagingHelpers.js";
5
+ import { expandUrlTemplate } from "../../static-helpers/urlTemplate.js";
6
+ import { createRestError, operationOptionsToRequestParameters, } from "@azure-rest/core-client";
7
+ export function _listAllSend(context, options = { requestOptions: {} }) {
8
+ const path = expandUrlTemplate("/providers/Microsoft.Education/studentLabs{?api%2Dversion}", {
9
+ "api%2Dversion": context.apiVersion ?? "2021-12-01-preview",
10
+ }, {
11
+ allowReserved: options?.requestOptions?.skipUrlEncoding,
12
+ });
13
+ return context.path(path).get({
14
+ ...operationOptionsToRequestParameters(options),
15
+ headers: { accept: "application/json", ...options.requestOptions?.headers },
16
+ });
17
+ }
18
+ export async function _listAllDeserialize(result) {
19
+ const expectedStatuses = ["200"];
20
+ if (!expectedStatuses.includes(result.status)) {
21
+ const error = createRestError(result);
22
+ error.details = errorResponseBodyDeserializer(result.body);
23
+ throw error;
24
+ }
25
+ return _studentLabListResultDeserializer(result.body);
26
+ }
27
+ /** Get a list of all labs associated with the caller of the API. */
28
+ export function listAll(context, options = { requestOptions: {} }) {
29
+ return buildPagedAsyncIterator(context, () => _listAllSend(context, options), _listAllDeserialize, ["200"], {
30
+ itemName: "value",
31
+ nextLinkName: "nextLink",
32
+ apiVersion: context.apiVersion ?? "2021-12-01-preview",
33
+ });
34
+ }
35
+ export function _getSend(context, studentLabName, options = { requestOptions: {} }) {
36
+ const path = expandUrlTemplate("/providers/Microsoft.Education/studentLabs/{studentLabName}{?api%2Dversion}", {
37
+ studentLabName: studentLabName,
38
+ "api%2Dversion": context.apiVersion ?? "2021-12-01-preview",
39
+ }, {
40
+ allowReserved: options?.requestOptions?.skipUrlEncoding,
41
+ });
42
+ return context.path(path).get({
43
+ ...operationOptionsToRequestParameters(options),
44
+ headers: { accept: "application/json", ...options.requestOptions?.headers },
45
+ });
46
+ }
47
+ export async function _getDeserialize(result) {
48
+ const expectedStatuses = ["200"];
49
+ if (!expectedStatuses.includes(result.status)) {
50
+ const error = createRestError(result);
51
+ error.details = errorResponseBodyDeserializer(result.body);
52
+ throw error;
53
+ }
54
+ return studentLabDetailsDeserializer(result.body);
55
+ }
56
+ /** Get the details for a specified lab associated with the student lab. */
57
+ export async function get(context, studentLabName, options = { requestOptions: {} }) {
58
+ const result = await _getSend(context, studentLabName, options);
59
+ return _getDeserialize(result);
60
+ }
61
+ //# sourceMappingURL=operations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../../src/api/studentLabs/operations.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EACL,6BAA6B,EAE7B,6BAA6B,EAE7B,iCAAiC,GAClC,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAEL,uBAAuB,GACxB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AAExE,OAAO,EAGL,eAAe,EACf,mCAAmC,GACpC,MAAM,yBAAyB,CAAC;AAEjC,MAAM,UAAU,YAAY,CAC1B,OAAe,EACf,UAA4C,EAAE,cAAc,EAAE,EAAE,EAAE;IAElE,MAAM,IAAI,GAAG,iBAAiB,CAC5B,4DAA4D,EAC5D;QACE,eAAe,EAAE,OAAO,CAAC,UAAU,IAAI,oBAAoB;KAC5D,EACD;QACE,aAAa,EAAE,OAAO,EAAE,cAAc,EAAE,eAAe;KACxD,CACF,CAAC;IACF,OAAO,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC;QAC5B,GAAG,mCAAmC,CAAC,OAAO,CAAC;QAC/C,OAAO,EAAE,EAAE,MAAM,EAAE,kBAAkB,EAAE,GAAG,OAAO,CAAC,cAAc,EAAE,OAAO,EAAE;KAC5E,CAAC,CAAC;AACL,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,mBAAmB,CACvC,MAA6B;IAE7B,MAAM,gBAAgB,GAAG,CAAC,KAAK,CAAC,CAAC;IACjC,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC;QAC9C,MAAM,KAAK,GAAG,e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,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC;QAC9C,MAAM,KAAK,GAAG,eAAe,CAAC,MAAM,CAAC,CAAC;QACtC,KAAK,CAAC,OAAO,GAAG,6BAA6B,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;QAE3D,MAAM,KAAK,CAAC;IACd,CAAC;IAED,OAAO,6BAA6B,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AACpD,CAAC;AAED,2EAA2E;AAC3E,MAAM,CAAC,KAAK,UAAU,GAAG,CACvB,OAAe,EACf,cAAsB,EACtB,UAAwC,EAAE,cAAc,EAAE,EAAE,EAAE;IAE9D,MAAM,MAAM,GAAG,MAAM,QAAQ,CAAC,OAAO,EAAE,cAAc,EAAE,OAAO,CAAC,CAAC;IAChE,OAAO,eAAe,CAAC,MAAM,CAAC,CAAC;AACjC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { EducationManagementContext as Client } from \"../index.js\";\nimport {\n errorResponseBodyDeserializer,\n StudentLabDetails,\n studentLabDetailsDeserializer,\n _StudentLabListResult,\n _studentLabListResultDeserializer,\n} from \"../../models/models.js\";\nimport {\n PagedAsyncIterableIterator,\n buildPagedAsyncIterator,\n} from \"../../static-helpers/pagingHelpers.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.js\";\nimport { StudentLabsListAllOptionalParams, StudentLabsGetOptionalParams } from \"./options.js\";\nimport {\n StreamableMethod,\n PathUncheckedResponse,\n createRestError,\n operationOptionsToRequestParameters,\n} from \"@azure-rest/core-client\";\n\nexport function _listAllSend(\n context: Client,\n options: StudentLabsListAllOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/providers/Microsoft.Education/studentLabs{?api%2Dversion}\",\n {\n \"api%2Dversion\": context.apiVersion ?? \"2021-12-01-preview\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _listAllDeserialize(\n result: PathUncheckedResponse,\n): Promise<_StudentLabListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseBodyDeserializer(result.body);\n\n throw error;\n }\n\n return _studentLabListResultDeserializer(result.body);\n}\n\n/** Get a list of all labs associated with the caller of the API. */\nexport function listAll(\n context: Client,\n options: StudentLabsListAllOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<StudentLabDetails> {\n return buildPagedAsyncIterator(\n context,\n () => _listAllSend(context, options),\n _listAllDeserialize,\n [\"200\"],\n {\n itemName: \"value\",\n nextLinkName: \"nextLink\",\n apiVersion: context.apiVersion ?? \"2021-12-01-preview\",\n },\n );\n}\n\nexport function _getSend(\n context: Client,\n studentLabName: string,\n options: StudentLabsGetOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/providers/Microsoft.Education/studentLabs/{studentLabName}{?api%2Dversion}\",\n {\n studentLabName: studentLabName,\n \"api%2Dversion\": context.apiVersion ?? \"2021-12-01-preview\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _getDeserialize(result: PathUncheckedResponse): Promise<StudentLabDetails> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseBodyDeserializer(result.body);\n\n throw error;\n }\n\n return studentLabDetailsDeserializer(result.body);\n}\n\n/** Get the details for a specified lab associated with the student lab. */\nexport async function get(\n context: Client,\n studentLabName: string,\n options: StudentLabsGetOptionalParams = { requestOptions: {} },\n): Promise<StudentLabDetails> {\n const result = await _getSend(context, studentLabName, options);\n return _getDeserialize(result);\n}\n"]}
@@ -0,0 +1,8 @@
1
+ import { OperationOptions } from "@azure-rest/core-client";
2
+ /** Optional parameters. */
3
+ export interface StudentLabsListAllOptionalParams extends OperationOptions {
4
+ }
5
+ /** Optional parameters. */
6
+ export interface StudentLabsGetOptionalParams extends OperationOptions {
7
+ }
8
+ //# sourceMappingURL=options.d.ts.map
@@ -0,0 +1,4 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ export {};
4
+ //# sourceMappingURL=options.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"options.js","sourceRoot":"","sources":["../../../../src/api/studentLabs/options.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { OperationOptions } from \"@azure-rest/core-client\";\n\n/** Optional parameters. */\nexport interface StudentLabsListAllOptionalParams extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface StudentLabsGetOptionalParams extends OperationOptions {}\n"]}