@azure/arm-education 1.0.0-beta.2 → 1.0.0-beta.4

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 (478) hide show
  1. package/CHANGELOG.md +25 -2
  2. package/LICENSE +4 -4
  3. package/README.md +27 -18
  4. package/{dist-esm/src → dist/browser}/educationManagementClient.d.ts +2 -2
  5. package/dist/browser/educationManagementClient.d.ts.map +1 -0
  6. package/{dist-esm/src → dist/browser}/educationManagementClient.js +52 -40
  7. package/dist/browser/educationManagementClient.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 -3
  11. package/dist/browser/index.js.map +1 -0
  12. package/{dist-esm/src → dist/browser}/models/index.d.ts +32 -46
  13. package/{dist-esm/src → dist/browser}/models/index.d.ts.map +1 -1
  14. package/dist/browser/models/index.js.map +1 -0
  15. package/{dist-esm/src → dist/browser}/models/mappers.js +99 -47
  16. package/dist/browser/models/mappers.js.map +1 -0
  17. package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
  18. package/dist/browser/models/parameters.js.map +1 -0
  19. package/{dist-esm/src → dist/browser}/operations/grants.d.ts +3 -3
  20. package/dist/browser/operations/grants.d.ts.map +1 -0
  21. package/{dist-esm/src → dist/browser}/operations/grants.js +56 -65
  22. package/dist/browser/operations/grants.js.map +1 -0
  23. package/dist/browser/operations/index.d.ts +7 -0
  24. package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
  25. package/{dist-esm/src/operationsInterfaces → dist/browser/operations}/index.js +6 -6
  26. package/dist/browser/operations/index.js.map +1 -0
  27. package/{dist-esm/src → dist/browser}/operations/joinRequests.d.ts +3 -3
  28. package/dist/browser/operations/joinRequests.d.ts.map +1 -0
  29. package/{dist-esm/src → dist/browser}/operations/joinRequests.js +30 -34
  30. package/dist/browser/operations/joinRequests.js.map +1 -0
  31. package/{dist-esm/src → dist/browser}/operations/labs.d.ts +3 -3
  32. package/dist/browser/operations/labs.d.ts.map +1 -0
  33. package/{dist-esm/src → dist/browser}/operations/labs.js +56 -69
  34. package/dist/browser/operations/labs.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-esm/src → dist/browser}/operations/operations.js +3 -2
  38. package/dist/browser/operations/operations.js.map +1 -0
  39. package/{dist-esm/src → dist/browser}/operations/studentLabs.d.ts +3 -3
  40. package/dist/browser/operations/studentLabs.d.ts.map +1 -0
  41. package/{dist-esm/src → dist/browser}/operations/studentLabs.js +30 -34
  42. package/dist/browser/operations/studentLabs.js.map +1 -0
  43. package/{dist-esm/src → dist/browser}/operations/students.d.ts +3 -3
  44. package/dist/browser/operations/students.d.ts.map +1 -0
  45. package/{dist-esm/src → dist/browser}/operations/students.js +30 -34
  46. package/dist/browser/operations/students.js.map +1 -0
  47. package/{dist-esm/src → dist/browser}/operationsInterfaces/grants.d.ts +1 -1
  48. package/dist/browser/operationsInterfaces/grants.d.ts.map +1 -0
  49. package/dist/browser/operationsInterfaces/grants.js.map +1 -0
  50. package/dist/browser/operationsInterfaces/index.d.ts +7 -0
  51. package/dist/browser/operationsInterfaces/index.d.ts.map +1 -0
  52. package/{dist-esm/src/operations → dist/browser/operationsInterfaces}/index.js +6 -6
  53. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  54. package/{dist-esm/src → dist/browser}/operationsInterfaces/joinRequests.d.ts +1 -1
  55. package/dist/browser/operationsInterfaces/joinRequests.d.ts.map +1 -0
  56. package/dist/browser/operationsInterfaces/joinRequests.js.map +1 -0
  57. package/{dist-esm/src → dist/browser}/operationsInterfaces/labs.d.ts +1 -1
  58. package/dist/browser/operationsInterfaces/labs.d.ts.map +1 -0
  59. package/dist/browser/operationsInterfaces/labs.js.map +1 -0
  60. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
  61. package/dist/browser/operationsInterfaces/operations.d.ts.map +1 -0
  62. package/dist/browser/operationsInterfaces/operations.js.map +1 -0
  63. package/{dist-esm/src → dist/browser}/operationsInterfaces/studentLabs.d.ts +1 -1
  64. package/{dist-esm/src → dist/browser}/operationsInterfaces/studentLabs.d.ts.map +1 -1
  65. package/dist/browser/operationsInterfaces/studentLabs.js.map +1 -0
  66. package/{dist-esm/src → dist/browser}/operationsInterfaces/students.d.ts +1 -1
  67. package/dist/browser/operationsInterfaces/students.d.ts.map +1 -0
  68. package/dist/browser/operationsInterfaces/students.js.map +1 -0
  69. package/dist/browser/package.json +3 -0
  70. package/dist/browser/pagingHelper.d.ts +13 -0
  71. package/dist/browser/pagingHelper.d.ts.map +1 -0
  72. package/dist/browser/pagingHelper.js +30 -0
  73. package/dist/browser/pagingHelper.js.map +1 -0
  74. package/dist/commonjs/educationManagementClient.d.ts +29 -0
  75. package/dist/commonjs/educationManagementClient.d.ts.map +1 -0
  76. package/dist/commonjs/educationManagementClient.js +142 -0
  77. package/dist/commonjs/educationManagementClient.js.map +1 -0
  78. package/dist/commonjs/index.d.ts +5 -0
  79. package/dist/commonjs/index.d.ts.map +1 -0
  80. package/dist/commonjs/index.js +19 -0
  81. package/dist/commonjs/index.js.map +1 -0
  82. package/{types/arm-education.d.ts → dist/commonjs/models/index.d.ts} +685 -1000
  83. package/dist/commonjs/models/index.d.ts.map +1 -0
  84. package/dist/commonjs/models/index.js +95 -0
  85. package/dist/commonjs/models/index.js.map +1 -0
  86. package/dist/commonjs/models/mappers.d.ts +22 -0
  87. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  88. package/dist/commonjs/models/mappers.js +757 -0
  89. package/dist/commonjs/models/mappers.js.map +1 -0
  90. package/dist/commonjs/models/parameters.d.ts +22 -0
  91. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  92. package/dist/commonjs/models/parameters.js +188 -0
  93. package/dist/commonjs/models/parameters.js.map +1 -0
  94. package/dist/commonjs/operations/grants.d.ts +63 -0
  95. package/dist/commonjs/operations/grants.d.ts.map +1 -0
  96. package/dist/commonjs/operations/grants.js +255 -0
  97. package/dist/commonjs/operations/grants.js.map +1 -0
  98. package/dist/commonjs/operations/index.d.ts +7 -0
  99. package/dist/commonjs/operations/index.d.ts.map +1 -0
  100. package/dist/commonjs/operations/index.js +17 -0
  101. package/dist/commonjs/operations/index.js.map +1 -0
  102. package/dist/commonjs/operations/joinRequests.d.ts +68 -0
  103. package/dist/commonjs/operations/joinRequests.d.ts.map +1 -0
  104. package/dist/commonjs/operations/joinRequests.js +260 -0
  105. package/dist/commonjs/operations/joinRequests.js.map +1 -0
  106. package/dist/commonjs/operations/labs.d.ts +103 -0
  107. package/dist/commonjs/operations/labs.d.ts.map +1 -0
  108. package/dist/commonjs/operations/labs.js +407 -0
  109. package/dist/commonjs/operations/labs.js.map +1 -0
  110. package/dist/commonjs/operations/operations.d.ts +18 -0
  111. package/dist/commonjs/operations/operations.d.ts.map +1 -0
  112. package/dist/commonjs/operations/operations.js +52 -0
  113. package/dist/commonjs/operations/operations.js.map +1 -0
  114. package/dist/commonjs/operations/studentLabs.d.ts +38 -0
  115. package/dist/commonjs/operations/studentLabs.d.ts.map +1 -0
  116. package/dist/commonjs/operations/studentLabs.js +145 -0
  117. package/dist/commonjs/operations/studentLabs.js.map +1 -0
  118. package/dist/commonjs/operations/students.d.ts +70 -0
  119. package/dist/commonjs/operations/students.d.ts.map +1 -0
  120. package/dist/commonjs/operations/students.js +271 -0
  121. package/dist/commonjs/operations/students.js.map +1 -0
  122. package/dist/commonjs/operationsInterfaces/grants.d.ts +25 -0
  123. package/dist/commonjs/operationsInterfaces/grants.d.ts.map +1 -0
  124. package/dist/commonjs/operationsInterfaces/grants.js +10 -0
  125. package/dist/commonjs/operationsInterfaces/grants.js.map +1 -0
  126. package/dist/commonjs/operationsInterfaces/index.d.ts +7 -0
  127. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  128. package/dist/commonjs/operationsInterfaces/index.js +17 -0
  129. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  130. package/dist/commonjs/operationsInterfaces/joinRequests.d.ts +41 -0
  131. package/dist/commonjs/operationsInterfaces/joinRequests.d.ts.map +1 -0
  132. package/dist/commonjs/operationsInterfaces/joinRequests.js +10 -0
  133. package/dist/commonjs/operationsInterfaces/joinRequests.js.map +1 -0
  134. package/dist/commonjs/operationsInterfaces/labs.d.ts +58 -0
  135. package/dist/commonjs/operationsInterfaces/labs.d.ts.map +1 -0
  136. package/dist/commonjs/operationsInterfaces/labs.js +10 -0
  137. package/dist/commonjs/operationsInterfaces/labs.js.map +1 -0
  138. package/dist/commonjs/operationsInterfaces/operations.d.ts +10 -0
  139. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
  140. package/dist/commonjs/operationsInterfaces/operations.js +10 -0
  141. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
  142. package/dist/commonjs/operationsInterfaces/studentLabs.d.ts +17 -0
  143. package/dist/commonjs/operationsInterfaces/studentLabs.d.ts.map +1 -0
  144. package/dist/commonjs/operationsInterfaces/studentLabs.js +10 -0
  145. package/dist/commonjs/operationsInterfaces/studentLabs.js.map +1 -0
  146. package/dist/commonjs/operationsInterfaces/students.d.ts +43 -0
  147. package/dist/commonjs/operationsInterfaces/students.d.ts.map +1 -0
  148. package/dist/commonjs/operationsInterfaces/students.js +10 -0
  149. package/dist/commonjs/operationsInterfaces/students.js.map +1 -0
  150. package/dist/commonjs/package.json +3 -0
  151. package/dist/commonjs/pagingHelper.d.ts +13 -0
  152. package/dist/commonjs/pagingHelper.d.ts.map +1 -0
  153. package/dist/commonjs/pagingHelper.js +34 -0
  154. package/dist/commonjs/pagingHelper.js.map +1 -0
  155. package/{types → dist/commonjs}/tsdoc-metadata.json +11 -11
  156. package/dist/esm/educationManagementClient.d.ts +29 -0
  157. package/dist/esm/educationManagementClient.d.ts.map +1 -0
  158. package/dist/esm/educationManagementClient.js +137 -0
  159. package/dist/esm/educationManagementClient.js.map +1 -0
  160. package/dist/esm/index.d.ts +5 -0
  161. package/dist/esm/index.d.ts.map +1 -0
  162. package/{src/index.ts → dist/esm/index.js} +5 -4
  163. package/dist/esm/index.js.map +1 -0
  164. package/dist/esm/models/index.d.ts +685 -0
  165. package/dist/esm/models/index.d.ts.map +1 -0
  166. package/dist/esm/models/index.js +92 -0
  167. package/dist/esm/models/index.js.map +1 -0
  168. package/dist/esm/models/mappers.d.ts +22 -0
  169. package/dist/esm/models/mappers.d.ts.map +1 -0
  170. package/dist/esm/models/mappers.js +754 -0
  171. package/dist/esm/models/mappers.js.map +1 -0
  172. package/dist/esm/models/parameters.d.ts +22 -0
  173. package/dist/esm/models/parameters.d.ts.map +1 -0
  174. package/dist/esm/models/parameters.js +185 -0
  175. package/dist/esm/models/parameters.js.map +1 -0
  176. package/dist/esm/operations/grants.d.ts +63 -0
  177. package/dist/esm/operations/grants.d.ts.map +1 -0
  178. package/dist/esm/operations/grants.js +250 -0
  179. package/dist/esm/operations/grants.js.map +1 -0
  180. package/dist/esm/operations/index.d.ts +7 -0
  181. package/dist/esm/operations/index.d.ts.map +1 -0
  182. package/dist/esm/operations/index.js +14 -0
  183. package/dist/esm/operations/index.js.map +1 -0
  184. package/dist/esm/operations/joinRequests.d.ts +68 -0
  185. package/dist/esm/operations/joinRequests.d.ts.map +1 -0
  186. package/dist/esm/operations/joinRequests.js +255 -0
  187. package/dist/esm/operations/joinRequests.js.map +1 -0
  188. package/dist/esm/operations/labs.d.ts +103 -0
  189. package/dist/esm/operations/labs.d.ts.map +1 -0
  190. package/dist/esm/operations/labs.js +402 -0
  191. package/dist/esm/operations/labs.js.map +1 -0
  192. package/dist/esm/operations/operations.d.ts +18 -0
  193. package/dist/esm/operations/operations.d.ts.map +1 -0
  194. package/dist/esm/operations/operations.js +47 -0
  195. package/dist/esm/operations/operations.js.map +1 -0
  196. package/dist/esm/operations/studentLabs.d.ts +38 -0
  197. package/dist/esm/operations/studentLabs.d.ts.map +1 -0
  198. package/dist/esm/operations/studentLabs.js +140 -0
  199. package/dist/esm/operations/studentLabs.js.map +1 -0
  200. package/dist/esm/operations/students.d.ts +70 -0
  201. package/dist/esm/operations/students.d.ts.map +1 -0
  202. package/dist/esm/operations/students.js +266 -0
  203. package/dist/esm/operations/students.js.map +1 -0
  204. package/dist/esm/operationsInterfaces/grants.d.ts +25 -0
  205. package/dist/esm/operationsInterfaces/grants.d.ts.map +1 -0
  206. package/dist/esm/operationsInterfaces/grants.js +9 -0
  207. package/dist/esm/operationsInterfaces/grants.js.map +1 -0
  208. package/dist/esm/operationsInterfaces/index.d.ts +7 -0
  209. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  210. package/dist/esm/operationsInterfaces/index.js +14 -0
  211. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  212. package/dist/esm/operationsInterfaces/joinRequests.d.ts +41 -0
  213. package/dist/esm/operationsInterfaces/joinRequests.d.ts.map +1 -0
  214. package/dist/esm/operationsInterfaces/joinRequests.js +9 -0
  215. package/dist/esm/operationsInterfaces/joinRequests.js.map +1 -0
  216. package/dist/esm/operationsInterfaces/labs.d.ts +58 -0
  217. package/dist/esm/operationsInterfaces/labs.d.ts.map +1 -0
  218. package/dist/esm/operationsInterfaces/labs.js +9 -0
  219. package/dist/esm/operationsInterfaces/labs.js.map +1 -0
  220. package/dist/esm/operationsInterfaces/operations.d.ts +10 -0
  221. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
  222. package/dist/esm/operationsInterfaces/operations.js +9 -0
  223. package/dist/esm/operationsInterfaces/operations.js.map +1 -0
  224. package/dist/esm/operationsInterfaces/studentLabs.d.ts +17 -0
  225. package/dist/esm/operationsInterfaces/studentLabs.d.ts.map +1 -0
  226. package/dist/esm/operationsInterfaces/studentLabs.js +9 -0
  227. package/dist/esm/operationsInterfaces/studentLabs.js.map +1 -0
  228. package/dist/esm/operationsInterfaces/students.d.ts +43 -0
  229. package/dist/esm/operationsInterfaces/students.d.ts.map +1 -0
  230. package/dist/esm/operationsInterfaces/students.js +9 -0
  231. package/dist/esm/operationsInterfaces/students.js.map +1 -0
  232. package/dist/esm/package.json +3 -0
  233. package/dist/esm/pagingHelper.d.ts +13 -0
  234. package/dist/esm/pagingHelper.d.ts.map +1 -0
  235. package/dist/esm/pagingHelper.js +30 -0
  236. package/dist/esm/pagingHelper.js.map +1 -0
  237. package/dist/react-native/educationManagementClient.d.ts +29 -0
  238. package/dist/react-native/educationManagementClient.d.ts.map +1 -0
  239. package/dist/react-native/educationManagementClient.js +137 -0
  240. package/dist/react-native/educationManagementClient.js.map +1 -0
  241. package/dist/react-native/index.d.ts +5 -0
  242. package/dist/react-native/index.d.ts.map +1 -0
  243. package/dist/react-native/index.js +13 -0
  244. package/dist/react-native/index.js.map +1 -0
  245. package/dist/react-native/models/index.d.ts +685 -0
  246. package/dist/react-native/models/index.d.ts.map +1 -0
  247. package/dist/react-native/models/index.js +92 -0
  248. package/dist/react-native/models/index.js.map +1 -0
  249. package/dist/react-native/models/mappers.d.ts +22 -0
  250. package/dist/react-native/models/mappers.d.ts.map +1 -0
  251. package/dist/react-native/models/mappers.js +754 -0
  252. package/dist/react-native/models/mappers.js.map +1 -0
  253. package/dist/react-native/models/parameters.d.ts +22 -0
  254. package/dist/react-native/models/parameters.d.ts.map +1 -0
  255. package/dist/react-native/models/parameters.js +185 -0
  256. package/dist/react-native/models/parameters.js.map +1 -0
  257. package/dist/react-native/operations/grants.d.ts +63 -0
  258. package/dist/react-native/operations/grants.d.ts.map +1 -0
  259. package/dist/react-native/operations/grants.js +250 -0
  260. package/dist/react-native/operations/grants.js.map +1 -0
  261. package/dist/react-native/operations/index.d.ts +7 -0
  262. package/dist/react-native/operations/index.d.ts.map +1 -0
  263. package/dist/react-native/operations/index.js +14 -0
  264. package/dist/react-native/operations/index.js.map +1 -0
  265. package/dist/react-native/operations/joinRequests.d.ts +68 -0
  266. package/dist/react-native/operations/joinRequests.d.ts.map +1 -0
  267. package/dist/react-native/operations/joinRequests.js +255 -0
  268. package/dist/react-native/operations/joinRequests.js.map +1 -0
  269. package/dist/react-native/operations/labs.d.ts +103 -0
  270. package/dist/react-native/operations/labs.d.ts.map +1 -0
  271. package/dist/react-native/operations/labs.js +402 -0
  272. package/dist/react-native/operations/labs.js.map +1 -0
  273. package/dist/react-native/operations/operations.d.ts +18 -0
  274. package/dist/react-native/operations/operations.d.ts.map +1 -0
  275. package/dist/react-native/operations/operations.js +47 -0
  276. package/dist/react-native/operations/operations.js.map +1 -0
  277. package/dist/react-native/operations/studentLabs.d.ts +38 -0
  278. package/dist/react-native/operations/studentLabs.d.ts.map +1 -0
  279. package/dist/react-native/operations/studentLabs.js +140 -0
  280. package/dist/react-native/operations/studentLabs.js.map +1 -0
  281. package/dist/react-native/operations/students.d.ts +70 -0
  282. package/dist/react-native/operations/students.d.ts.map +1 -0
  283. package/dist/react-native/operations/students.js +266 -0
  284. package/dist/react-native/operations/students.js.map +1 -0
  285. package/dist/react-native/operationsInterfaces/grants.d.ts +25 -0
  286. package/dist/react-native/operationsInterfaces/grants.d.ts.map +1 -0
  287. package/dist/react-native/operationsInterfaces/grants.js +9 -0
  288. package/dist/react-native/operationsInterfaces/grants.js.map +1 -0
  289. package/dist/react-native/operationsInterfaces/index.d.ts +7 -0
  290. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  291. package/dist/react-native/operationsInterfaces/index.js +14 -0
  292. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  293. package/dist/react-native/operationsInterfaces/joinRequests.d.ts +41 -0
  294. package/dist/react-native/operationsInterfaces/joinRequests.d.ts.map +1 -0
  295. package/dist/react-native/operationsInterfaces/joinRequests.js +9 -0
  296. package/dist/react-native/operationsInterfaces/joinRequests.js.map +1 -0
  297. package/dist/react-native/operationsInterfaces/labs.d.ts +58 -0
  298. package/dist/react-native/operationsInterfaces/labs.d.ts.map +1 -0
  299. package/dist/react-native/operationsInterfaces/labs.js +9 -0
  300. package/dist/react-native/operationsInterfaces/labs.js.map +1 -0
  301. package/dist/react-native/operationsInterfaces/operations.d.ts +10 -0
  302. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
  303. package/dist/react-native/operationsInterfaces/operations.js +9 -0
  304. package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
  305. package/dist/react-native/operationsInterfaces/studentLabs.d.ts +17 -0
  306. package/dist/react-native/operationsInterfaces/studentLabs.d.ts.map +1 -0
  307. package/dist/react-native/operationsInterfaces/studentLabs.js +9 -0
  308. package/dist/react-native/operationsInterfaces/studentLabs.js.map +1 -0
  309. package/dist/react-native/operationsInterfaces/students.d.ts +43 -0
  310. package/dist/react-native/operationsInterfaces/students.d.ts.map +1 -0
  311. package/dist/react-native/operationsInterfaces/students.js +9 -0
  312. package/dist/react-native/operationsInterfaces/students.js.map +1 -0
  313. package/dist/react-native/package.json +3 -0
  314. package/dist/react-native/pagingHelper.d.ts +13 -0
  315. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  316. package/dist/react-native/pagingHelper.js +30 -0
  317. package/dist/react-native/pagingHelper.js.map +1 -0
  318. package/package.json +86 -75
  319. package/review/{arm-education.api.md → arm-education-node.api.md} +3 -7
  320. package/dist/index.js +0 -2522
  321. package/dist/index.js.map +0 -1
  322. package/dist/index.min.js +0 -1
  323. package/dist/index.min.js.map +0 -1
  324. package/dist-esm/samples-dev/grantsGetSample.d.ts +0 -2
  325. package/dist-esm/samples-dev/grantsGetSample.d.ts.map +0 -1
  326. package/dist-esm/samples-dev/grantsGetSample.js +0 -51
  327. package/dist-esm/samples-dev/grantsGetSample.js.map +0 -1
  328. package/dist-esm/samples-dev/grantsListAllSample.d.ts +0 -2
  329. package/dist-esm/samples-dev/grantsListAllSample.d.ts.map +0 -1
  330. package/dist-esm/samples-dev/grantsListAllSample.js +0 -75
  331. package/dist-esm/samples-dev/grantsListAllSample.js.map +0 -1
  332. package/dist-esm/samples-dev/grantsListSample.d.ts +0 -2
  333. package/dist-esm/samples-dev/grantsListSample.d.ts.map +0 -1
  334. package/dist-esm/samples-dev/grantsListSample.js +0 -79
  335. package/dist-esm/samples-dev/grantsListSample.js.map +0 -1
  336. package/dist-esm/samples-dev/joinRequestsApproveSample.d.ts +0 -2
  337. package/dist-esm/samples-dev/joinRequestsApproveSample.d.ts.map +0 -1
  338. package/dist-esm/samples-dev/joinRequestsApproveSample.js +0 -32
  339. package/dist-esm/samples-dev/joinRequestsApproveSample.js.map +0 -1
  340. package/dist-esm/samples-dev/joinRequestsDenySample.d.ts +0 -2
  341. package/dist-esm/samples-dev/joinRequestsDenySample.d.ts.map +0 -1
  342. package/dist-esm/samples-dev/joinRequestsDenySample.js +0 -32
  343. package/dist-esm/samples-dev/joinRequestsDenySample.js.map +0 -1
  344. package/dist-esm/samples-dev/joinRequestsGetSample.d.ts +0 -2
  345. package/dist-esm/samples-dev/joinRequestsGetSample.d.ts.map +0 -1
  346. package/dist-esm/samples-dev/joinRequestsGetSample.js +0 -32
  347. package/dist-esm/samples-dev/joinRequestsGetSample.js.map +0 -1
  348. package/dist-esm/samples-dev/joinRequestsListSample.d.ts +0 -2
  349. package/dist-esm/samples-dev/joinRequestsListSample.d.ts.map +0 -1
  350. package/dist-esm/samples-dev/joinRequestsListSample.js +0 -47
  351. package/dist-esm/samples-dev/joinRequestsListSample.js.map +0 -1
  352. package/dist-esm/samples-dev/labsCreateOrUpdateSample.d.ts +0 -2
  353. package/dist-esm/samples-dev/labsCreateOrUpdateSample.d.ts.map +0 -1
  354. package/dist-esm/samples-dev/labsCreateOrUpdateSample.js +0 -37
  355. package/dist-esm/samples-dev/labsCreateOrUpdateSample.js.map +0 -1
  356. package/dist-esm/samples-dev/labsDeleteSample.d.ts +0 -2
  357. package/dist-esm/samples-dev/labsDeleteSample.d.ts.map +0 -1
  358. package/dist-esm/samples-dev/labsDeleteSample.js +0 -31
  359. package/dist-esm/samples-dev/labsDeleteSample.js.map +0 -1
  360. package/dist-esm/samples-dev/labsGenerateInviteCodeSample.d.ts +0 -2
  361. package/dist-esm/samples-dev/labsGenerateInviteCodeSample.d.ts.map +0 -1
  362. package/dist-esm/samples-dev/labsGenerateInviteCodeSample.js +0 -32
  363. package/dist-esm/samples-dev/labsGenerateInviteCodeSample.js.map +0 -1
  364. package/dist-esm/samples-dev/labsGetSample.d.ts +0 -2
  365. package/dist-esm/samples-dev/labsGetSample.d.ts.map +0 -1
  366. package/dist-esm/samples-dev/labsGetSample.js +0 -53
  367. package/dist-esm/samples-dev/labsGetSample.js.map +0 -1
  368. package/dist-esm/samples-dev/labsListAllSample.d.ts +0 -2
  369. package/dist-esm/samples-dev/labsListAllSample.d.ts.map +0 -1
  370. package/dist-esm/samples-dev/labsListAllSample.js +0 -79
  371. package/dist-esm/samples-dev/labsListAllSample.js.map +0 -1
  372. package/dist-esm/samples-dev/labsListSample.d.ts +0 -2
  373. package/dist-esm/samples-dev/labsListSample.d.ts.map +0 -1
  374. package/dist-esm/samples-dev/labsListSample.js +0 -81
  375. package/dist-esm/samples-dev/labsListSample.js.map +0 -1
  376. package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
  377. package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
  378. package/dist-esm/samples-dev/operationsListSample.js +0 -28
  379. package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
  380. package/dist-esm/samples-dev/redeemInvitationCodeSample.d.ts +0 -2
  381. package/dist-esm/samples-dev/redeemInvitationCodeSample.d.ts.map +0 -1
  382. package/dist-esm/samples-dev/redeemInvitationCodeSample.js +0 -33
  383. package/dist-esm/samples-dev/redeemInvitationCodeSample.js.map +0 -1
  384. package/dist-esm/samples-dev/studentLabsGetSample.d.ts +0 -2
  385. package/dist-esm/samples-dev/studentLabsGetSample.d.ts.map +0 -1
  386. package/dist-esm/samples-dev/studentLabsGetSample.js +0 -29
  387. package/dist-esm/samples-dev/studentLabsGetSample.js.map +0 -1
  388. package/dist-esm/samples-dev/studentLabsListAllSample.d.ts +0 -2
  389. package/dist-esm/samples-dev/studentLabsListAllSample.d.ts.map +0 -1
  390. package/dist-esm/samples-dev/studentLabsListAllSample.js +0 -42
  391. package/dist-esm/samples-dev/studentLabsListAllSample.js.map +0 -1
  392. package/dist-esm/samples-dev/studentsCreateOrUpdateSample.d.ts +0 -2
  393. package/dist-esm/samples-dev/studentsCreateOrUpdateSample.d.ts.map +0 -1
  394. package/dist-esm/samples-dev/studentsCreateOrUpdateSample.js +0 -40
  395. package/dist-esm/samples-dev/studentsCreateOrUpdateSample.js.map +0 -1
  396. package/dist-esm/samples-dev/studentsDeleteSample.d.ts +0 -2
  397. package/dist-esm/samples-dev/studentsDeleteSample.d.ts.map +0 -1
  398. package/dist-esm/samples-dev/studentsDeleteSample.js +0 -32
  399. package/dist-esm/samples-dev/studentsDeleteSample.js.map +0 -1
  400. package/dist-esm/samples-dev/studentsGetSample.d.ts +0 -2
  401. package/dist-esm/samples-dev/studentsGetSample.d.ts.map +0 -1
  402. package/dist-esm/samples-dev/studentsGetSample.js +0 -32
  403. package/dist-esm/samples-dev/studentsGetSample.js.map +0 -1
  404. package/dist-esm/samples-dev/studentsListSample.d.ts +0 -2
  405. package/dist-esm/samples-dev/studentsListSample.d.ts.map +0 -1
  406. package/dist-esm/samples-dev/studentsListSample.js +0 -45
  407. package/dist-esm/samples-dev/studentsListSample.js.map +0 -1
  408. package/dist-esm/src/educationManagementClient.d.ts.map +0 -1
  409. package/dist-esm/src/educationManagementClient.js.map +0 -1
  410. package/dist-esm/src/index.d.ts +0 -5
  411. package/dist-esm/src/index.d.ts.map +0 -1
  412. package/dist-esm/src/index.js.map +0 -1
  413. package/dist-esm/src/models/index.js.map +0 -1
  414. package/dist-esm/src/models/mappers.js.map +0 -1
  415. package/dist-esm/src/models/parameters.js.map +0 -1
  416. package/dist-esm/src/operations/grants.d.ts.map +0 -1
  417. package/dist-esm/src/operations/grants.js.map +0 -1
  418. package/dist-esm/src/operations/index.d.ts +0 -7
  419. package/dist-esm/src/operations/index.js.map +0 -1
  420. package/dist-esm/src/operations/joinRequests.d.ts.map +0 -1
  421. package/dist-esm/src/operations/joinRequests.js.map +0 -1
  422. package/dist-esm/src/operations/labs.d.ts.map +0 -1
  423. package/dist-esm/src/operations/labs.js.map +0 -1
  424. package/dist-esm/src/operations/operations.d.ts.map +0 -1
  425. package/dist-esm/src/operations/operations.js.map +0 -1
  426. package/dist-esm/src/operations/studentLabs.d.ts.map +0 -1
  427. package/dist-esm/src/operations/studentLabs.js.map +0 -1
  428. package/dist-esm/src/operations/students.d.ts.map +0 -1
  429. package/dist-esm/src/operations/students.js.map +0 -1
  430. package/dist-esm/src/operationsInterfaces/grants.d.ts.map +0 -1
  431. package/dist-esm/src/operationsInterfaces/grants.js.map +0 -1
  432. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -7
  433. package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
  434. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  435. package/dist-esm/src/operationsInterfaces/joinRequests.d.ts.map +0 -1
  436. package/dist-esm/src/operationsInterfaces/joinRequests.js.map +0 -1
  437. package/dist-esm/src/operationsInterfaces/labs.d.ts.map +0 -1
  438. package/dist-esm/src/operationsInterfaces/labs.js.map +0 -1
  439. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +0 -1
  440. package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
  441. package/dist-esm/src/operationsInterfaces/studentLabs.js.map +0 -1
  442. package/dist-esm/src/operationsInterfaces/students.d.ts.map +0 -1
  443. package/dist-esm/src/operationsInterfaces/students.js.map +0 -1
  444. package/dist-esm/test/sampleTest.d.ts +0 -2
  445. package/dist-esm/test/sampleTest.d.ts.map +0 -1
  446. package/dist-esm/test/sampleTest.js +0 -38
  447. package/dist-esm/test/sampleTest.js.map +0 -1
  448. package/rollup.config.js +0 -122
  449. package/src/educationManagementClient.ts +0 -190
  450. package/src/models/index.ts +0 -806
  451. package/src/models/mappers.ts +0 -775
  452. package/src/models/parameters.ts +0 -215
  453. package/src/operations/grants.ts +0 -330
  454. package/src/operations/index.ts +0 -14
  455. package/src/operations/joinRequests.ts +0 -358
  456. package/src/operations/labs.ts +0 -570
  457. package/src/operations/operations.ts +0 -59
  458. package/src/operations/studentLabs.ts +0 -170
  459. package/src/operations/students.ts +0 -371
  460. package/src/operationsInterfaces/grants.ts +0 -50
  461. package/src/operationsInterfaces/index.ts +0 -14
  462. package/src/operationsInterfaces/joinRequests.ts +0 -80
  463. package/src/operationsInterfaces/labs.ts +0 -110
  464. package/src/operationsInterfaces/operations.ts +0 -21
  465. package/src/operationsInterfaces/studentLabs.ts +0 -36
  466. package/src/operationsInterfaces/students.ts +0 -84
  467. package/tsconfig.json +0 -33
  468. /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
  469. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
  470. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
  471. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
  472. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
  473. /package/{dist-esm/src → dist/browser}/operationsInterfaces/grants.js +0 -0
  474. /package/{dist-esm/src → dist/browser}/operationsInterfaces/joinRequests.js +0 -0
  475. /package/{dist-esm/src → dist/browser}/operationsInterfaces/labs.js +0 -0
  476. /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
  477. /package/{dist-esm/src → dist/browser}/operationsInterfaces/studentLabs.js +0 -0
  478. /package/{dist-esm/src → dist/browser}/operationsInterfaces/students.js +0 -0
@@ -0,0 +1,41 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { JoinRequestDetails, JoinRequestsListOptionalParams, JoinRequestsGetOptionalParams, JoinRequestsGetResponse, JoinRequestsApproveOptionalParams, JoinRequestsDenyOptionalParams } from "../models/index.js";
3
+ /** Interface representing a JoinRequests. */
4
+ export interface JoinRequests {
5
+ /**
6
+ * get student join requests
7
+ * @param billingAccountName Billing account name.
8
+ * @param billingProfileName Billing profile name.
9
+ * @param invoiceSectionName Invoice section name.
10
+ * @param options The options parameters.
11
+ */
12
+ list(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, options?: JoinRequestsListOptionalParams): PagedAsyncIterableIterator<JoinRequestDetails>;
13
+ /**
14
+ * get student join requests
15
+ * @param billingAccountName Billing account name.
16
+ * @param billingProfileName Billing profile name.
17
+ * @param invoiceSectionName Invoice section name.
18
+ * @param joinRequestName Join name
19
+ * @param options The options parameters.
20
+ */
21
+ get(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, joinRequestName: string, options?: JoinRequestsGetOptionalParams): Promise<JoinRequestsGetResponse>;
22
+ /**
23
+ * Approve student joining the redeemable lab
24
+ * @param billingAccountName Billing account name.
25
+ * @param billingProfileName Billing profile name.
26
+ * @param invoiceSectionName Invoice section name.
27
+ * @param joinRequestName Join name
28
+ * @param options The options parameters.
29
+ */
30
+ approve(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, joinRequestName: string, options?: JoinRequestsApproveOptionalParams): Promise<void>;
31
+ /**
32
+ * Deny student joining the redeemable lab
33
+ * @param billingAccountName Billing account name.
34
+ * @param billingProfileName Billing profile name.
35
+ * @param invoiceSectionName Invoice section name.
36
+ * @param joinRequestName Join name
37
+ * @param options The options parameters.
38
+ */
39
+ deny(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, joinRequestName: string, options?: JoinRequestsDenyOptionalParams): Promise<void>;
40
+ }
41
+ //# sourceMappingURL=joinRequests.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"joinRequests.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/joinRequests.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,kBAAkB,EAClB,8BAA8B,EAC9B,6BAA6B,EAC7B,uBAAuB,EACvB,iCAAiC,EACjC,8BAA8B,EAC/B,MAAM,oBAAoB,CAAC;AAG5B,6CAA6C;AAC7C,MAAM,WAAW,YAAY;IAC3B;;;;;;OAMG;IACH,IAAI,CACF,kBAAkB,EAAE,MAAM,EAC1B,kBAAkB,EAAE,MAAM,EAC1B,kBAAkB,EAAE,MAAM,EAC1B,OAAO,CAAC,EAAE,8BAA8B,GACvC,0BAA0B,CAAC,kBAAkB,CAAC,CAAC;IAClD;;;;;;;OAOG;IACH,GAAG,CACD,kBAAkB,EAAE,MAAM,EAC1B,kBAAkB,EAAE,MAAM,EAC1B,kBAAkB,EAAE,MAAM,EAC1B,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,6BAA6B,GACtC,OAAO,CAAC,uBAAuB,CAAC,CAAC;IACpC;;;;;;;OAOG;IACH,OAAO,CACL,kBAAkB,EAAE,MAAM,EAC1B,kBAAkB,EAAE,MAAM,EAC1B,kBAAkB,EAAE,MAAM,EAC1B,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,iCAAiC,GAC1C,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;;;OAOG;IACH,IAAI,CACF,kBAAkB,EAAE,MAAM,EAC1B,kBAAkB,EAAE,MAAM,EAC1B,kBAAkB,EAAE,MAAM,EAC1B,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CAAC,IAAI,CAAC,CAAC;CAClB"}
@@ -0,0 +1,9 @@
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
+ export {};
9
+ //# sourceMappingURL=joinRequests.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"joinRequests.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/joinRequests.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport {\n JoinRequestDetails,\n JoinRequestsListOptionalParams,\n JoinRequestsGetOptionalParams,\n JoinRequestsGetResponse,\n JoinRequestsApproveOptionalParams,\n JoinRequestsDenyOptionalParams\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a JoinRequests. */\nexport interface JoinRequests {\n /**\n * get student join requests\n * @param billingAccountName Billing account name.\n * @param billingProfileName Billing profile name.\n * @param invoiceSectionName Invoice section name.\n * @param options The options parameters.\n */\n list(\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n options?: JoinRequestsListOptionalParams\n ): PagedAsyncIterableIterator<JoinRequestDetails>;\n /**\n * get student join requests\n * @param billingAccountName Billing account name.\n * @param billingProfileName Billing profile name.\n * @param invoiceSectionName Invoice section name.\n * @param joinRequestName Join name\n * @param options The options parameters.\n */\n get(\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n joinRequestName: string,\n options?: JoinRequestsGetOptionalParams\n ): Promise<JoinRequestsGetResponse>;\n /**\n * Approve student joining the redeemable lab\n * @param billingAccountName Billing account name.\n * @param billingProfileName Billing profile name.\n * @param invoiceSectionName Invoice section name.\n * @param joinRequestName Join name\n * @param options The options parameters.\n */\n approve(\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n joinRequestName: string,\n options?: JoinRequestsApproveOptionalParams\n ): Promise<void>;\n /**\n * Deny student joining the redeemable lab\n * @param billingAccountName Billing account name.\n * @param billingProfileName Billing profile name.\n * @param invoiceSectionName Invoice section name.\n * @param joinRequestName Join name\n * @param options The options parameters.\n */\n deny(\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n joinRequestName: string,\n options?: JoinRequestsDenyOptionalParams\n ): Promise<void>;\n}\n"]}
@@ -0,0 +1,58 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { LabDetails, LabsListAllOptionalParams, LabsListOptionalParams, LabsGetOptionalParams, LabsGetResponse, LabsDeleteOptionalParams, LabsCreateOrUpdateOptionalParams, LabsCreateOrUpdateResponse, InviteCodeGenerateRequest, LabsGenerateInviteCodeOptionalParams, LabsGenerateInviteCodeResponse } from "../models/index.js";
3
+ /** Interface representing a Labs. */
4
+ export interface Labs {
5
+ /**
6
+ * Get a list of labs associated with the provided billing account name and billing profile name.
7
+ * @param billingAccountName Billing account name.
8
+ * @param billingProfileName Billing profile name.
9
+ * @param options The options parameters.
10
+ */
11
+ listAll(billingAccountName: string, billingProfileName: string, options?: LabsListAllOptionalParams): PagedAsyncIterableIterator<LabDetails>;
12
+ /**
13
+ * Get the details for a specific lab associated with the provided billing account name, billing
14
+ * profile name, and invoice section name.
15
+ * @param billingAccountName Billing account name.
16
+ * @param billingProfileName Billing profile name.
17
+ * @param invoiceSectionName Invoice section name.
18
+ * @param options The options parameters.
19
+ */
20
+ list(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, options?: LabsListOptionalParams): PagedAsyncIterableIterator<LabDetails>;
21
+ /**
22
+ * Get the details for a specific lab associated with the provided billing account name, billing
23
+ * profile name, and invoice section name.
24
+ * @param billingAccountName Billing account name.
25
+ * @param billingProfileName Billing profile name.
26
+ * @param invoiceSectionName Invoice section name.
27
+ * @param options The options parameters.
28
+ */
29
+ get(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, options?: LabsGetOptionalParams): Promise<LabsGetResponse>;
30
+ /**
31
+ * Delete a specific lab associated with the provided billing account name, billing profile name, and
32
+ * invoice section name. Note all students must be removed from the lab in order to delete the lab.
33
+ * @param billingAccountName Billing account name.
34
+ * @param billingProfileName Billing profile name.
35
+ * @param invoiceSectionName Invoice section name.
36
+ * @param options The options parameters.
37
+ */
38
+ delete(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, options?: LabsDeleteOptionalParams): Promise<void>;
39
+ /**
40
+ * Create a new lab or update a previously created lab.
41
+ * @param billingAccountName Billing account name.
42
+ * @param billingProfileName Billing profile name.
43
+ * @param invoiceSectionName Invoice section name.
44
+ * @param parameters Request parameters that are provided to create lab resource.
45
+ * @param options The options parameters.
46
+ */
47
+ createOrUpdate(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, parameters: LabDetails, options?: LabsCreateOrUpdateOptionalParams): Promise<LabsCreateOrUpdateResponse>;
48
+ /**
49
+ * Generate invite code for a lab
50
+ * @param billingAccountName Billing account name.
51
+ * @param billingProfileName Billing profile name.
52
+ * @param invoiceSectionName Invoice section name.
53
+ * @param parameters Request parameters that are provided to generate invite code.
54
+ * @param options The options parameters.
55
+ */
56
+ generateInviteCode(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, parameters: InviteCodeGenerateRequest, options?: LabsGenerateInviteCodeOptionalParams): Promise<LabsGenerateInviteCodeResponse>;
57
+ }
58
+ //# sourceMappingURL=labs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"labs.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/labs.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,UAAU,EACV,yBAAyB,EACzB,sBAAsB,EACtB,qBAAqB,EACrB,eAAe,EACf,wBAAwB,EACxB,gCAAgC,EAChC,0BAA0B,EAC1B,yBAAyB,EACzB,oCAAoC,EACpC,8BAA8B,EAC/B,MAAM,oBAAoB,CAAC;AAG5B,qCAAqC;AACrC,MAAM,WAAW,IAAI;IACnB;;;;;OAKG;IACH,OAAO,CACL,kBAAkB,EAAE,MAAM,EAC1B,kBAAkB,EAAE,MAAM,EAC1B,OAAO,CAAC,EAAE,yBAAyB,GAClC,0BAA0B,CAAC,UAAU,CAAC,CAAC;IAC1C;;;;;;;OAOG;IACH,IAAI,CACF,kBAAkB,EAAE,MAAM,EAC1B,kBAAkB,EAAE,MAAM,EAC1B,kBAAkB,EAAE,MAAM,EAC1B,OAAO,CAAC,EAAE,sBAAsB,GAC/B,0BAA0B,CAAC,UAAU,CAAC,CAAC;IAC1C;;;;;;;OAOG;IACH,GAAG,CACD,kBAAkB,EAAE,MAAM,EAC1B,kBAAkB,EAAE,MAAM,EAC1B,kBAAkB,EAAE,MAAM,EAC1B,OAAO,CAAC,EAAE,qBAAqB,GAC9B,OAAO,CAAC,eAAe,CAAC,CAAC;IAC5B;;;;;;;OAOG;IACH,MAAM,CACJ,kBAAkB,EAAE,MAAM,EAC1B,kBAAkB,EAAE,MAAM,EAC1B,kBAAkB,EAAE,MAAM,EAC1B,OAAO,CAAC,EAAE,wBAAwB,GACjC,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;;;OAOG;IACH,cAAc,CACZ,kBAAkB,EAAE,MAAM,EAC1B,kBAAkB,EAAE,MAAM,EAC1B,kBAAkB,EAAE,MAAM,EAC1B,UAAU,EAAE,UAAU,EACtB,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,0BAA0B,CAAC,CAAC;IACvC;;;;;;;OAOG;IACH,kBAAkB,CAChB,kBAAkB,EAAE,MAAM,EAC1B,kBAAkB,EAAE,MAAM,EAC1B,kBAAkB,EAAE,MAAM,EAC1B,UAAU,EAAE,yBAAyB,EACrC,OAAO,CAAC,EAAE,oCAAoC,GAC7C,OAAO,CAAC,8BAA8B,CAAC,CAAC;CAC5C"}
@@ -0,0 +1,9 @@
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
+ export {};
9
+ //# sourceMappingURL=labs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"labs.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/labs.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport {\n LabDetails,\n LabsListAllOptionalParams,\n LabsListOptionalParams,\n LabsGetOptionalParams,\n LabsGetResponse,\n LabsDeleteOptionalParams,\n LabsCreateOrUpdateOptionalParams,\n LabsCreateOrUpdateResponse,\n InviteCodeGenerateRequest,\n LabsGenerateInviteCodeOptionalParams,\n LabsGenerateInviteCodeResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Labs. */\nexport interface Labs {\n /**\n * Get a list of labs associated with the provided billing account name and billing profile name.\n * @param billingAccountName Billing account name.\n * @param billingProfileName Billing profile name.\n * @param options The options parameters.\n */\n listAll(\n billingAccountName: string,\n billingProfileName: string,\n options?: LabsListAllOptionalParams\n ): PagedAsyncIterableIterator<LabDetails>;\n /**\n * Get the details for a specific lab associated with the provided billing account name, billing\n * profile name, and invoice section name.\n * @param billingAccountName Billing account name.\n * @param billingProfileName Billing profile name.\n * @param invoiceSectionName Invoice section name.\n * @param options The options parameters.\n */\n list(\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n options?: LabsListOptionalParams\n ): PagedAsyncIterableIterator<LabDetails>;\n /**\n * Get the details for a specific lab associated with the provided billing account name, billing\n * profile name, and invoice section name.\n * @param billingAccountName Billing account name.\n * @param billingProfileName Billing profile name.\n * @param invoiceSectionName Invoice section name.\n * @param options The options parameters.\n */\n get(\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n options?: LabsGetOptionalParams\n ): Promise<LabsGetResponse>;\n /**\n * Delete a specific lab associated with the provided billing account name, billing profile name, and\n * invoice section name. Note all students must be removed from the lab in order to delete the lab.\n * @param billingAccountName Billing account name.\n * @param billingProfileName Billing profile name.\n * @param invoiceSectionName Invoice section name.\n * @param options The options parameters.\n */\n delete(\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n options?: LabsDeleteOptionalParams\n ): Promise<void>;\n /**\n * Create a new lab or update a previously created lab.\n * @param billingAccountName Billing account name.\n * @param billingProfileName Billing profile name.\n * @param invoiceSectionName Invoice section name.\n * @param parameters Request parameters that are provided to create lab resource.\n * @param options The options parameters.\n */\n createOrUpdate(\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n parameters: LabDetails,\n options?: LabsCreateOrUpdateOptionalParams\n ): Promise<LabsCreateOrUpdateResponse>;\n /**\n * Generate invite code for a lab\n * @param billingAccountName Billing account name.\n * @param billingProfileName Billing profile name.\n * @param invoiceSectionName Invoice section name.\n * @param parameters Request parameters that are provided to generate invite code.\n * @param options The options parameters.\n */\n generateInviteCode(\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n parameters: InviteCodeGenerateRequest,\n options?: LabsGenerateInviteCodeOptionalParams\n ): Promise<LabsGenerateInviteCodeResponse>;\n}\n"]}
@@ -0,0 +1,10 @@
1
+ import { OperationsListOptionalParams, OperationsListResponse } from "../models/index.js";
2
+ /** Interface representing a Operations. */
3
+ export interface Operations {
4
+ /**
5
+ * Lists all of the available Microsoft.Education API operations.
6
+ * @param options The options parameters.
7
+ */
8
+ list(options?: OperationsListOptionalParams): Promise<OperationsListResponse>;
9
+ }
10
+ //# sourceMappingURL=operations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,4BAA4B,EAC5B,sBAAsB,EACvB,MAAM,oBAAoB,CAAC;AAE5B,2CAA2C;AAC3C,MAAM,WAAW,UAAU;IACzB;;;OAGG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,4BAA4B,GAAG,OAAO,CAAC,sBAAsB,CAAC,CAAC;CAC/E"}
@@ -0,0 +1,9 @@
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
+ export {};
9
+ //# sourceMappingURL=operations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n OperationsListOptionalParams,\n OperationsListResponse\n} from \"../models/index.js\";\n\n/** Interface representing a Operations. */\nexport interface Operations {\n /**\n * Lists all of the available Microsoft.Education API operations.\n * @param options The options parameters.\n */\n list(options?: OperationsListOptionalParams): Promise<OperationsListResponse>;\n}\n"]}
@@ -0,0 +1,17 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { StudentLabDetails, StudentLabsListAllOptionalParams, StudentLabsGetOptionalParams, StudentLabsGetResponse } from "../models/index.js";
3
+ /** Interface representing a StudentLabs. */
4
+ export interface StudentLabs {
5
+ /**
6
+ * Get a list of all labs associated with the caller of the API.
7
+ * @param options The options parameters.
8
+ */
9
+ listAll(options?: StudentLabsListAllOptionalParams): PagedAsyncIterableIterator<StudentLabDetails>;
10
+ /**
11
+ * Get the details for a specified lab associated with the student lab.
12
+ * @param studentLabName Student lab name.
13
+ * @param options The options parameters.
14
+ */
15
+ get(studentLabName: string, options?: StudentLabsGetOptionalParams): Promise<StudentLabsGetResponse>;
16
+ }
17
+ //# sourceMappingURL=studentLabs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"studentLabs.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/studentLabs.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,iBAAiB,EACjB,gCAAgC,EAChC,4BAA4B,EAC5B,sBAAsB,EACvB,MAAM,oBAAoB,CAAC;AAG5B,4CAA4C;AAC5C,MAAM,WAAW,WAAW;IAC1B;;;OAGG;IACH,OAAO,CACL,OAAO,CAAC,EAAE,gCAAgC,GACzC,0BAA0B,CAAC,iBAAiB,CAAC,CAAC;IACjD;;;;OAIG;IACH,GAAG,CACD,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,sBAAsB,CAAC,CAAC;CACpC"}
@@ -0,0 +1,9 @@
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
+ export {};
9
+ //# sourceMappingURL=studentLabs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"studentLabs.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/studentLabs.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport {\n StudentLabDetails,\n StudentLabsListAllOptionalParams,\n StudentLabsGetOptionalParams,\n StudentLabsGetResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a StudentLabs. */\nexport interface StudentLabs {\n /**\n * Get a list of all labs associated with the caller of the API.\n * @param options The options parameters.\n */\n listAll(\n options?: StudentLabsListAllOptionalParams\n ): PagedAsyncIterableIterator<StudentLabDetails>;\n /**\n * Get the details for a specified lab associated with the student lab.\n * @param studentLabName Student lab name.\n * @param options The options parameters.\n */\n get(\n studentLabName: string,\n options?: StudentLabsGetOptionalParams\n ): Promise<StudentLabsGetResponse>;\n}\n"]}
@@ -0,0 +1,43 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { StudentDetails, StudentsListOptionalParams, StudentsGetOptionalParams, StudentsGetResponse, StudentsDeleteOptionalParams, StudentsCreateOrUpdateOptionalParams, StudentsCreateOrUpdateResponse } from "../models/index.js";
3
+ /** Interface representing a Students. */
4
+ export interface Students {
5
+ /**
6
+ * Get a list of details about students that are associated with the specified lab.
7
+ * @param billingAccountName Billing account name.
8
+ * @param billingProfileName Billing profile name.
9
+ * @param invoiceSectionName Invoice section name.
10
+ * @param options The options parameters.
11
+ */
12
+ list(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, options?: StudentsListOptionalParams): PagedAsyncIterableIterator<StudentDetails>;
13
+ /**
14
+ * Get the details for a specific student in the specified lab by student alias
15
+ * @param billingAccountName Billing account name.
16
+ * @param billingProfileName Billing profile name.
17
+ * @param invoiceSectionName Invoice section name.
18
+ * @param studentAlias Student alias.
19
+ * @param options The options parameters.
20
+ */
21
+ get(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, studentAlias: string, options?: StudentsGetOptionalParams): Promise<StudentsGetResponse>;
22
+ /**
23
+ * Delete the specified student based on the student alias.
24
+ * @param billingAccountName Billing account name.
25
+ * @param billingProfileName Billing profile name.
26
+ * @param invoiceSectionName Invoice section name.
27
+ * @param studentAlias Student alias.
28
+ * @param options The options parameters.
29
+ */
30
+ delete(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, studentAlias: string, options?: StudentsDeleteOptionalParams): Promise<void>;
31
+ /**
32
+ * Create and add a new student to the specified lab or update the details of an existing student in a
33
+ * lab. Note the student must have a valid tenant to accept the lab after they have been added to lab.
34
+ * @param billingAccountName Billing account name.
35
+ * @param billingProfileName Billing profile name.
36
+ * @param invoiceSectionName Invoice section name.
37
+ * @param studentAlias Student alias.
38
+ * @param parameters Request parameters that are provided to update student properties.
39
+ * @param options The options parameters.
40
+ */
41
+ createOrUpdate(billingAccountName: string, billingProfileName: string, invoiceSectionName: string, studentAlias: string, parameters: StudentDetails, options?: StudentsCreateOrUpdateOptionalParams): Promise<StudentsCreateOrUpdateResponse>;
42
+ }
43
+ //# sourceMappingURL=students.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"students.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/students.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,cAAc,EACd,0BAA0B,EAC1B,yBAAyB,EACzB,mBAAmB,EACnB,4BAA4B,EAC5B,oCAAoC,EACpC,8BAA8B,EAC/B,MAAM,oBAAoB,CAAC;AAG5B,yCAAyC;AACzC,MAAM,WAAW,QAAQ;IACvB;;;;;;OAMG;IACH,IAAI,CACF,kBAAkB,EAAE,MAAM,EAC1B,kBAAkB,EAAE,MAAM,EAC1B,kBAAkB,EAAE,MAAM,EAC1B,OAAO,CAAC,EAAE,0BAA0B,GACnC,0BAA0B,CAAC,cAAc,CAAC,CAAC;IAC9C;;;;;;;OAOG;IACH,GAAG,CACD,kBAAkB,EAAE,MAAM,EAC1B,kBAAkB,EAAE,MAAM,EAC1B,kBAAkB,EAAE,MAAM,EAC1B,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,yBAAyB,GAClC,OAAO,CAAC,mBAAmB,CAAC,CAAC;IAChC;;;;;;;OAOG;IACH,MAAM,CACJ,kBAAkB,EAAE,MAAM,EAC1B,kBAAkB,EAAE,MAAM,EAC1B,kBAAkB,EAAE,MAAM,EAC1B,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;;;;;OASG;IACH,cAAc,CACZ,kBAAkB,EAAE,MAAM,EAC1B,kBAAkB,EAAE,MAAM,EAC1B,kBAAkB,EAAE,MAAM,EAC1B,YAAY,EAAE,MAAM,EACpB,UAAU,EAAE,cAAc,EAC1B,OAAO,CAAC,EAAE,oCAAoC,GAC7C,OAAO,CAAC,8BAA8B,CAAC,CAAC;CAC5C"}
@@ -0,0 +1,9 @@
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
+ export {};
9
+ //# sourceMappingURL=students.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"students.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/students.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport {\n StudentDetails,\n StudentsListOptionalParams,\n StudentsGetOptionalParams,\n StudentsGetResponse,\n StudentsDeleteOptionalParams,\n StudentsCreateOrUpdateOptionalParams,\n StudentsCreateOrUpdateResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Students. */\nexport interface Students {\n /**\n * Get a list of details about students that are associated with the specified lab.\n * @param billingAccountName Billing account name.\n * @param billingProfileName Billing profile name.\n * @param invoiceSectionName Invoice section name.\n * @param options The options parameters.\n */\n list(\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n options?: StudentsListOptionalParams\n ): PagedAsyncIterableIterator<StudentDetails>;\n /**\n * Get the details for a specific student in the specified lab by student alias\n * @param billingAccountName Billing account name.\n * @param billingProfileName Billing profile name.\n * @param invoiceSectionName Invoice section name.\n * @param studentAlias Student alias.\n * @param options The options parameters.\n */\n get(\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n studentAlias: string,\n options?: StudentsGetOptionalParams\n ): Promise<StudentsGetResponse>;\n /**\n * Delete the specified student based on the student alias.\n * @param billingAccountName Billing account name.\n * @param billingProfileName Billing profile name.\n * @param invoiceSectionName Invoice section name.\n * @param studentAlias Student alias.\n * @param options The options parameters.\n */\n delete(\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n studentAlias: string,\n options?: StudentsDeleteOptionalParams\n ): Promise<void>;\n /**\n * Create and add a new student to the specified lab or update the details of an existing student in a\n * lab. Note the student must have a valid tenant to accept the lab after they have been added to lab.\n * @param billingAccountName Billing account name.\n * @param billingProfileName Billing profile name.\n * @param invoiceSectionName Invoice section name.\n * @param studentAlias Student alias.\n * @param parameters Request parameters that are provided to update student properties.\n * @param options The options parameters.\n */\n createOrUpdate(\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n studentAlias: string,\n parameters: StudentDetails,\n options?: StudentsCreateOrUpdateOptionalParams\n ): Promise<StudentsCreateOrUpdateResponse>;\n}\n"]}
@@ -0,0 +1,3 @@
1
+ {
2
+ "type": "module"
3
+ }
@@ -0,0 +1,13 @@
1
+ export interface PageInfo {
2
+ continuationToken?: string;
3
+ }
4
+ /**
5
+ * Given the last `.value` produced by the `byPage` iterator,
6
+ * returns a continuation token that can be used to begin paging from
7
+ * that point later.
8
+ * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
9
+ * @returns The continuation token that can be passed into byPage() during future calls.
10
+ */
11
+ export declare function getContinuationToken(page: unknown): string | undefined;
12
+ export declare function setContinuationToken(page: unknown, continuationToken: string | undefined): void;
13
+ //# sourceMappingURL=pagingHelper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pagingHelper.d.ts","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAQA,MAAM,WAAW,QAAQ;IACvB,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAID;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAKtE;AAED,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,OAAO,EACb,iBAAiB,EAAE,MAAM,GAAG,SAAS,GACpC,IAAI,CAON"}
@@ -0,0 +1,30 @@
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
+ const pageMap = new WeakMap();
9
+ /**
10
+ * Given the last `.value` produced by the `byPage` iterator,
11
+ * returns a continuation token that can be used to begin paging from
12
+ * that point later.
13
+ * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
14
+ * @returns The continuation token that can be passed into byPage() during future calls.
15
+ */
16
+ export function getContinuationToken(page) {
17
+ if (typeof page !== "object" || page === null) {
18
+ return undefined;
19
+ }
20
+ return pageMap.get(page)?.continuationToken;
21
+ }
22
+ export function setContinuationToken(page, continuationToken) {
23
+ if (typeof page !== "object" || page === null || !continuationToken) {
24
+ return;
25
+ }
26
+ const pageInfo = pageMap.get(page) ?? {};
27
+ pageInfo.continuationToken = continuationToken;
28
+ pageMap.set(page, pageInfo);
29
+ }
30
+ //# sourceMappingURL=pagingHelper.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pagingHelper.js","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAMH,MAAM,OAAO,GAAG,IAAI,OAAO,EAAoB,CAAC;AAEhD;;;;;;GAMG;AACH,MAAM,UAAU,oBAAoB,CAAC,IAAa;IAChD,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,EAAE,CAAC;QAC9C,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,OAAO,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,iBAAiB,CAAC;AAC9C,CAAC;AAED,MAAM,UAAU,oBAAoB,CAClC,IAAa,EACb,iBAAqC;IAErC,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,IAAI,CAAC,iBAAiB,EAAE,CAAC;QACpE,OAAO;IACT,CAAC;IACD,MAAM,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;IACzC,QAAQ,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAC/C,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;AAC9B,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nexport interface PageInfo {\n continuationToken?: string;\n}\n\nconst pageMap = new WeakMap<object, PageInfo>();\n\n/**\n * Given the last `.value` produced by the `byPage` iterator,\n * returns a continuation token that can be used to begin paging from\n * that point later.\n * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.\n * @returns The continuation token that can be passed into byPage() during future calls.\n */\nexport function getContinuationToken(page: unknown): string | undefined {\n if (typeof page !== \"object\" || page === null) {\n return undefined;\n }\n return pageMap.get(page)?.continuationToken;\n}\n\nexport function setContinuationToken(\n page: unknown,\n continuationToken: string | undefined\n): void {\n if (typeof page !== \"object\" || page === null || !continuationToken) {\n return;\n }\n const pageInfo = pageMap.get(page) ?? {};\n pageInfo.continuationToken = continuationToken;\n pageMap.set(page, pageInfo);\n}\n"]}
@@ -0,0 +1,29 @@
1
+ import * as coreClient from "@azure/core-client";
2
+ import * as coreAuth from "@azure/core-auth";
3
+ import { Operations, Grants, Labs, JoinRequests, Students, StudentLabs } from "./operationsInterfaces/index.js";
4
+ import { EducationManagementClientOptionalParams, RedeemRequest, RedeemInvitationCodeOptionalParams } from "./models/index.js";
5
+ export declare class EducationManagementClient extends coreClient.ServiceClient {
6
+ $host: string;
7
+ apiVersion: string;
8
+ /**
9
+ * Initializes a new instance of the EducationManagementClient class.
10
+ * @param credentials Subscription credentials which uniquely identify client subscription.
11
+ * @param options The parameter options
12
+ */
13
+ constructor(credentials: coreAuth.TokenCredential, options?: EducationManagementClientOptionalParams);
14
+ /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
15
+ private addCustomApiVersionPolicy;
16
+ /**
17
+ * Redeem invite code to join a redeemable lab
18
+ * @param parameters Request parameters to provide redeem code.
19
+ * @param options The options parameters.
20
+ */
21
+ redeemInvitationCode(parameters: RedeemRequest, options?: RedeemInvitationCodeOptionalParams): Promise<void>;
22
+ operations: Operations;
23
+ grants: Grants;
24
+ labs: Labs;
25
+ joinRequests: JoinRequests;
26
+ students: Students;
27
+ studentLabs: StudentLabs;
28
+ }
29
+ //# sourceMappingURL=educationManagementClient.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"educationManagementClient.d.ts","sourceRoot":"","sources":["../../src/educationManagementClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAS7C,OAAO,EACL,UAAU,EACV,MAAM,EACN,IAAI,EACJ,YAAY,EACZ,QAAQ,EACR,WAAW,EACZ,MAAM,iCAAiC,CAAC;AAGzC,OAAO,EACL,uCAAuC,EACvC,aAAa,EACb,kCAAkC,EACnC,MAAM,mBAAmB,CAAC;AAE3B,qBAAa,yBAA0B,SAAQ,UAAU,CAAC,aAAa;IACrE,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IAEnB;;;;OAIG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,OAAO,CAAC,EAAE,uCAAuC;IA4EnD,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IA2BjC;;;;OAIG;IACH,oBAAoB,CAClB,UAAU,EAAE,aAAa,EACzB,OAAO,CAAC,EAAE,kCAAkC,GAC3C,OAAO,CAAC,IAAI,CAAC;IAOhB,UAAU,EAAE,UAAU,CAAC;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,IAAI,CAAC;IACX,YAAY,EAAE,YAAY,CAAC;IAC3B,QAAQ,EAAE,QAAQ,CAAC;IACnB,WAAW,EAAE,WAAW,CAAC;CAC1B"}
@@ -0,0 +1,137 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import * as coreClient from "@azure/core-client";
9
+ import * as coreRestPipeline from "@azure/core-rest-pipeline";
10
+ import { OperationsImpl, GrantsImpl, LabsImpl, JoinRequestsImpl, StudentsImpl, StudentLabsImpl } from "./operations/index.js";
11
+ import * as Parameters from "./models/parameters.js";
12
+ import * as Mappers from "./models/mappers.js";
13
+ export class EducationManagementClient extends coreClient.ServiceClient {
14
+ $host;
15
+ apiVersion;
16
+ /**
17
+ * Initializes a new instance of the EducationManagementClient class.
18
+ * @param credentials Subscription credentials which uniquely identify client subscription.
19
+ * @param options The parameter options
20
+ */
21
+ constructor(credentials, options) {
22
+ if (credentials === undefined) {
23
+ throw new Error("'credentials' cannot be null");
24
+ }
25
+ // Initializing default values for options
26
+ if (!options) {
27
+ options = {};
28
+ }
29
+ const defaults = {
30
+ requestContentType: "application/json; charset=utf-8",
31
+ credential: credentials
32
+ };
33
+ const packageDetails = `azsdk-js-arm-education/1.0.0-beta.4`;
34
+ const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
35
+ ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
36
+ : `${packageDetails}`;
37
+ const optionsWithDefaults = {
38
+ ...defaults,
39
+ ...options,
40
+ userAgentOptions: {
41
+ userAgentPrefix
42
+ },
43
+ endpoint: options.endpoint ?? options.baseUri ?? "https://management.azure.com"
44
+ };
45
+ super(optionsWithDefaults);
46
+ let bearerTokenAuthenticationPolicyFound = false;
47
+ if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {
48
+ const pipelinePolicies = options.pipeline.getOrderedPolicies();
49
+ bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
50
+ coreRestPipeline.bearerTokenAuthenticationPolicyName);
51
+ }
52
+ if (!options ||
53
+ !options.pipeline ||
54
+ options.pipeline.getOrderedPolicies().length == 0 ||
55
+ !bearerTokenAuthenticationPolicyFound) {
56
+ this.pipeline.removePolicy({
57
+ name: coreRestPipeline.bearerTokenAuthenticationPolicyName
58
+ });
59
+ this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
60
+ credential: credentials,
61
+ scopes: optionsWithDefaults.credentialScopes ??
62
+ `${optionsWithDefaults.endpoint}/.default`,
63
+ challengeCallbacks: {
64
+ authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge
65
+ }
66
+ }));
67
+ }
68
+ // Assigning values to Constant parameters
69
+ this.$host = options.$host || "https://management.azure.com";
70
+ this.apiVersion = options.apiVersion || "2021-12-01-preview";
71
+ this.operations = new OperationsImpl(this);
72
+ this.grants = new GrantsImpl(this);
73
+ this.labs = new LabsImpl(this);
74
+ this.joinRequests = new JoinRequestsImpl(this);
75
+ this.students = new StudentsImpl(this);
76
+ this.studentLabs = new StudentLabsImpl(this);
77
+ this.addCustomApiVersionPolicy(options.apiVersion);
78
+ }
79
+ /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
80
+ addCustomApiVersionPolicy(apiVersion) {
81
+ if (!apiVersion) {
82
+ return;
83
+ }
84
+ const apiVersionPolicy = {
85
+ name: "CustomApiVersionPolicy",
86
+ async sendRequest(request, next) {
87
+ const param = request.url.split("?");
88
+ if (param.length > 1) {
89
+ const newParams = param[1].split("&").map((item) => {
90
+ if (item.indexOf("api-version") > -1) {
91
+ return "api-version=" + apiVersion;
92
+ }
93
+ else {
94
+ return item;
95
+ }
96
+ });
97
+ request.url = param[0] + "?" + newParams.join("&");
98
+ }
99
+ return next(request);
100
+ }
101
+ };
102
+ this.pipeline.addPolicy(apiVersionPolicy);
103
+ }
104
+ /**
105
+ * Redeem invite code to join a redeemable lab
106
+ * @param parameters Request parameters to provide redeem code.
107
+ * @param options The options parameters.
108
+ */
109
+ redeemInvitationCode(parameters, options) {
110
+ return this.sendOperationRequest({ parameters, options }, redeemInvitationCodeOperationSpec);
111
+ }
112
+ operations;
113
+ grants;
114
+ labs;
115
+ joinRequests;
116
+ students;
117
+ studentLabs;
118
+ }
119
+ // Operation Specifications
120
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
121
+ const redeemInvitationCodeOperationSpec = {
122
+ path: "/providers/Microsoft.Education/redeemInvitationCode",
123
+ httpMethod: "POST",
124
+ responses: {
125
+ 200: {},
126
+ default: {
127
+ bodyMapper: Mappers.ErrorResponseBody
128
+ }
129
+ },
130
+ requestBody: Parameters.parameters2,
131
+ queryParameters: [Parameters.apiVersion],
132
+ urlParameters: [Parameters.$host],
133
+ headerParameters: [Parameters.accept, Parameters.contentType],
134
+ mediaType: "json",
135
+ serializer
136
+ };
137
+ //# sourceMappingURL=educationManagementClient.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"educationManagementClient.js","sourceRoot":"","sources":["../../src/educationManagementClient.ts"],"names":[],"mappings":"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","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport {\n PipelineRequest,\n PipelineResponse,\n SendRequest\n} from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n OperationsImpl,\n GrantsImpl,\n LabsImpl,\n JoinRequestsImpl,\n StudentsImpl,\n StudentLabsImpl\n} from \"./operations/index.js\";\nimport {\n Operations,\n Grants,\n Labs,\n JoinRequests,\n Students,\n StudentLabs\n} from \"./operationsInterfaces/index.js\";\nimport * as Parameters from \"./models/parameters.js\";\nimport * as Mappers from \"./models/mappers.js\";\nimport {\n EducationManagementClientOptionalParams,\n RedeemRequest,\n RedeemInvitationCodeOptionalParams\n} from \"./models/index.js\";\n\nexport class EducationManagementClient extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n\n /**\n * Initializes a new instance of the EducationManagementClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n options?: EducationManagementClientOptionalParams\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: EducationManagementClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials\n };\n\n const packageDetails = `azsdk-js-arm-education/1.0.0-beta.4`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\"\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge\n }\n })\n );\n }\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2021-12-01-preview\";\n this.operations = new OperationsImpl(this);\n this.grants = new GrantsImpl(this);\n this.labs = new LabsImpl(this);\n this.joinRequests = new JoinRequestsImpl(this);\n this.students = new StudentsImpl(this);\n this.studentLabs = new StudentLabsImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n }\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n /**\n * Redeem invite code to join a redeemable lab\n * @param parameters Request parameters to provide redeem code.\n * @param options The options parameters.\n */\n redeemInvitationCode(\n parameters: RedeemRequest,\n options?: RedeemInvitationCodeOptionalParams\n ): Promise<void> {\n return this.sendOperationRequest(\n { parameters, options },\n redeemInvitationCodeOperationSpec\n );\n }\n\n operations: Operations;\n grants: Grants;\n labs: Labs;\n joinRequests: JoinRequests;\n students: Students;\n studentLabs: StudentLabs;\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst redeemInvitationCodeOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Education/redeemInvitationCode\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n default: {\n bodyMapper: Mappers.ErrorResponseBody\n }\n },\n requestBody: Parameters.parameters2,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\n"]}
@@ -0,0 +1,5 @@
1
+ export { getContinuationToken } from "./pagingHelper.js";
2
+ export * from "./models/index.js";
3
+ export { EducationManagementClient } from "./educationManagementClient.js";
4
+ export * from "./operationsInterfaces/index.js";
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAC3E,cAAc,iCAAiC,CAAC"}
@@ -0,0 +1,13 @@
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
+ /// <reference lib="esnext.asynciterable" />
9
+ export { getContinuationToken } from "./pagingHelper.js";
10
+ export * from "./models/index.js";
11
+ export { EducationManagementClient } from "./educationManagementClient.js";
12
+ export * from "./operationsInterfaces/index.js";
13
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,4CAA4C;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAC3E,cAAc,iCAAiC,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\n/// <reference lib=\"esnext.asynciterable\" />\nexport { getContinuationToken } from \"./pagingHelper.js\";\nexport * from \"./models/index.js\";\nexport { EducationManagementClient } from \"./educationManagementClient.js\";\nexport * from \"./operationsInterfaces/index.js\";\n"]}