@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
package/CHANGELOG.md CHANGED
@@ -1,8 +1,31 @@
1
1
  # Release History
2
+
3
+ ## 1.0.0-beta.4 (Unreleased)
4
+
5
+ ### Features Added
6
+
7
+ ### Breaking Changes
8
+
9
+ ### Bugs Fixed
10
+
11
+ ### Other Changes
12
+
13
+ ## 1.0.0-beta.3 (2023-01-10)
14
+
15
+ ### Features Added
16
+
17
+ - Interface GrantsListAllNextOptionalParams no longer has parameter includeAllocatedBudget
18
+ - Interface GrantsListNextOptionalParams no longer has parameter includeAllocatedBudget
19
+ - Interface JoinRequestsListNextOptionalParams no longer has parameter includeDenied
20
+ - Interface LabsListAllNextOptionalParams no longer has parameter includeBudget
21
+ - Interface LabsListAllNextOptionalParams no longer has parameter includeDeleted
22
+ - Interface LabsListNextOptionalParams no longer has parameter includeBudget
23
+ - Interface StudentsListNextOptionalParams no longer has parameter includeDeleted
24
+
2
25
 
3
26
  ## 1.0.0-beta.2 (2022-07-04)
4
27
 
5
- **Features**
28
+ ### Features Added
6
29
 
7
30
  - Added Interface GrantDetails
8
31
  - Added Interface JoinRequestDetails
@@ -14,4 +37,4 @@
14
37
 
15
38
  ## 1.0.0-beta.1 (2022-05-24)
16
39
 
17
- The package of @azure/arm-education is using our next generation design principles. To learn more, please refer to our documentation [Quick Start](https://aka.ms/js-track2-quickstart).
40
+ The package of @azure/arm-education is using our next generation design principles. To learn more, please refer to our documentation [Quick Start](https://aka.ms/azsdk/js/mgmt/quickstart ).
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
- The MIT License (MIT)
1
+ Copyright (c) Microsoft Corporation.
2
2
 
3
- Copyright (c) 2022 Microsoft
3
+ MIT License
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -12,10 +12,10 @@ furnished to do so, subject to the following conditions:
12
12
  The above copyright notice and this permission notice shall be included in all
13
13
  copies or substantial portions of the Software.
14
14
 
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
+ THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
16
  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
17
  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
18
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
19
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
20
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
21
+ SOFTWARE.
package/README.md CHANGED
@@ -6,14 +6,14 @@ Education client provides access to education resources for Azure subscriptions.
6
6
 
7
7
  [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/education/arm-education) |
8
8
  [Package (NPM)](https://www.npmjs.com/package/@azure/arm-education) |
9
- [API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-education?view=azure-node-preview) |
9
+ [API reference documentation](https://learn.microsoft.com/javascript/api/@azure/arm-education?view=azure-node-preview) |
10
10
  [Samples](https://github.com/Azure-Samples/azure-samples-js-management)
11
11
 
12
12
  ## Getting started
13
13
 
14
14
  ### Currently supported environments
15
15
 
16
- - [LTS versions of Node.js](https://nodejs.org/about/releases/)
16
+ - [LTS versions of Node.js](https://github.com/nodejs/release#release-schedule)
17
17
  - Latest versions of Safari, Chrome, Edge and Firefox.
18
18
 
19
19
  See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details.
@@ -46,26 +46,34 @@ npm install @azure/identity
46
46
  You will also need to **register a new AAD application and grant access to Azure EducationManagement** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions).
47
47
  Set the values of the client ID, tenant ID, and client secret of the AAD application as environment variables: `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, `AZURE_CLIENT_SECRET`.
48
48
 
49
- For more information about how to create an Azure AD Application check out [this guide](https://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).
49
+ For more information about how to create an Azure AD Application check out [this guide](https://learn.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).
50
50
 
51
- ```javascript
52
- const { EducationManagementClient } = require("@azure/arm-education");
53
- const { DefaultAzureCredential } = require("@azure/identity");
54
- // For client-side applications running in the browser, use InteractiveBrowserCredential instead of DefaultAzureCredential. See https://aka.ms/azsdk/js/identity/examples for more details.
51
+ Using Node.js and Node-like environments, you can use the `DefaultAzureCredential` class to authenticate the client.
52
+
53
+ ```ts snippet:ReadmeSampleCreateClient_Node
54
+ import { EducationManagementClient } from "@azure/arm-education";
55
+ import { DefaultAzureCredential } from "@azure/identity";
55
56
 
56
57
  const subscriptionId = "00000000-0000-0000-0000-000000000000";
57
58
  const client = new EducationManagementClient(new DefaultAzureCredential(), subscriptionId);
58
-
59
- // For client-side applications running in the browser, use this code instead:
60
- // const credential = new InteractiveBrowserCredential({
61
- // tenantId: "<YOUR_TENANT_ID>",
62
- // clientId: "<YOUR_CLIENT_ID>"
63
- // });
64
- // const client = new EducationManagementClient(credential, subscriptionId);
65
59
  ```
66
60
 
61
+ For browser environments, use the `InteractiveBrowserCredential` from the `@azure/identity` package to authenticate.
62
+
63
+ ```ts snippet:ReadmeSampleCreateClient_Browser
64
+ import { InteractiveBrowserCredential } from "@azure/identity";
65
+ import { EducationManagementClient } from "@azure/arm-education";
66
+
67
+ const subscriptionId = "00000000-0000-0000-0000-000000000000";
68
+ const credential = new InteractiveBrowserCredential({
69
+ tenantId: "<YOUR_TENANT_ID>",
70
+ clientId: "<YOUR_CLIENT_ID>",
71
+ });
72
+ const client = new EducationManagementClient(credential, subscriptionId);
73
+ ```
67
74
 
68
75
  ### JavaScript Bundle
76
+
69
77
  To use this client library in the browser, first you need to use a bundler. For details on how to do this, please refer to our [bundling documentation](https://aka.ms/AzureSDKBundling).
70
78
 
71
79
  ## Key concepts
@@ -80,8 +88,9 @@ To use this client library in the browser, first you need to use a bundler. For
80
88
 
81
89
  Enabling logging may help uncover useful information about failures. In order to see a log of HTTP requests and responses, set the `AZURE_LOG_LEVEL` environment variable to `info`. Alternatively, logging can be enabled at runtime by calling `setLogLevel` in the `@azure/logger`:
82
90
 
83
- ```javascript
84
- const { setLogLevel } = require("@azure/logger");
91
+ ```ts snippet:SetLogLevel
92
+ import { setLogLevel } from "@azure/logger";
93
+
85
94
  setLogLevel("info");
86
95
  ```
87
96
 
@@ -99,9 +108,9 @@ If you'd like to contribute to this library, please read the [contributing guide
99
108
 
100
109
  - [Microsoft Azure SDK for JavaScript](https://github.com/Azure/azure-sdk-for-js)
101
110
 
102
- ![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Feducation%2Farm-education%2FREADME.png)
103
111
 
104
- [azure_cli]: https://docs.microsoft.com/cli/azure
112
+
113
+ [azure_cli]: https://learn.microsoft.com/cli/azure
105
114
  [azure_sub]: https://azure.microsoft.com/free/
106
115
  [azure_sub]: https://azure.microsoft.com/free/
107
116
  [azure_portal]: https://portal.azure.com
@@ -1,7 +1,7 @@
1
1
  import * as coreClient from "@azure/core-client";
2
2
  import * as coreAuth from "@azure/core-auth";
3
- import { Operations, Grants, Labs, JoinRequests, Students, StudentLabs } from "./operationsInterfaces";
4
- import { EducationManagementClientOptionalParams, RedeemRequest, RedeemInvitationCodeOptionalParams } from "./models";
3
+ import { Operations, Grants, Labs, JoinRequests, Students, StudentLabs } from "./operationsInterfaces/index.js";
4
+ import { EducationManagementClientOptionalParams, RedeemRequest, RedeemInvitationCodeOptionalParams } from "./models/index.js";
5
5
  export declare class EducationManagementClient extends coreClient.ServiceClient {
6
6
  $host: string;
7
7
  apiVersion: string;
@@ -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"}
@@ -5,20 +5,20 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
- import { __awaiter } from "tslib";
9
8
  import * as coreClient from "@azure/core-client";
10
9
  import * as coreRestPipeline from "@azure/core-rest-pipeline";
11
- import { OperationsImpl, GrantsImpl, LabsImpl, JoinRequestsImpl, StudentsImpl, StudentLabsImpl } from "./operations";
12
- import * as Parameters from "./models/parameters";
13
- import * as Mappers from "./models/mappers";
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";
14
13
  export class EducationManagementClient extends coreClient.ServiceClient {
14
+ $host;
15
+ apiVersion;
15
16
  /**
16
17
  * Initializes a new instance of the EducationManagementClient class.
17
18
  * @param credentials Subscription credentials which uniquely identify client subscription.
18
19
  * @param options The parameter options
19
20
  */
20
21
  constructor(credentials, options) {
21
- var _a, _b;
22
22
  if (credentials === undefined) {
23
23
  throw new Error("'credentials' cannot be null");
24
24
  }
@@ -30,32 +30,40 @@ export class EducationManagementClient extends coreClient.ServiceClient {
30
30
  requestContentType: "application/json; charset=utf-8",
31
31
  credential: credentials
32
32
  };
33
- const packageDetails = `azsdk-js-arm-education/1.0.0-beta.2`;
33
+ const packageDetails = `azsdk-js-arm-education/1.0.0-beta.4`;
34
34
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
35
35
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
36
36
  : `${packageDetails}`;
37
- if (!options.credentialScopes) {
38
- options.credentialScopes = ["https://management.azure.com/.default"];
39
- }
40
- const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
37
+ const optionsWithDefaults = {
38
+ ...defaults,
39
+ ...options,
40
+ userAgentOptions: {
41
41
  userAgentPrefix
42
- }, baseUri: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
42
+ },
43
+ endpoint: options.endpoint ?? options.baseUri ?? "https://management.azure.com"
44
+ };
43
45
  super(optionsWithDefaults);
44
- if ((options === null || options === void 0 ? void 0 : options.pipeline) && options.pipeline.getOrderedPolicies().length > 0) {
46
+ let bearerTokenAuthenticationPolicyFound = false;
47
+ if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {
45
48
  const pipelinePolicies = options.pipeline.getOrderedPolicies();
46
- const bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
49
+ bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
47
50
  coreRestPipeline.bearerTokenAuthenticationPolicyName);
48
- if (!bearerTokenAuthenticationPolicyFound) {
49
- this.pipeline.removePolicy({
50
- name: coreRestPipeline.bearerTokenAuthenticationPolicyName
51
- });
52
- this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
53
- scopes: `${optionsWithDefaults.baseUri}/.default`,
54
- challengeCallbacks: {
55
- authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge
56
- }
57
- }));
58
- }
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
+ }));
59
67
  }
60
68
  // Assigning values to Constant parameters
61
69
  this.$host = options.$host || "https://management.azure.com";
@@ -75,22 +83,20 @@ export class EducationManagementClient extends coreClient.ServiceClient {
75
83
  }
76
84
  const apiVersionPolicy = {
77
85
  name: "CustomApiVersionPolicy",
78
- sendRequest(request, next) {
79
- return __awaiter(this, void 0, void 0, function* () {
80
- const param = request.url.split("?");
81
- if (param.length > 1) {
82
- const newParams = param[1].split("&").map((item) => {
83
- if (item.indexOf("api-version") > -1) {
84
- return "api-version=" + apiVersion;
85
- }
86
- else {
87
- return item;
88
- }
89
- });
90
- request.url = param[0] + "?" + newParams.join("&");
91
- }
92
- return next(request);
93
- });
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);
94
100
  }
95
101
  };
96
102
  this.pipeline.addPolicy(apiVersionPolicy);
@@ -103,6 +109,12 @@ export class EducationManagementClient extends coreClient.ServiceClient {
103
109
  redeemInvitationCode(parameters, options) {
104
110
  return this.sendOperationRequest({ parameters, options }, redeemInvitationCodeOperationSpec);
105
111
  }
112
+ operations;
113
+ grants;
114
+ labs;
115
+ joinRequests;
116
+ students;
117
+ studentLabs;
106
118
  }
107
119
  // Operation Specifications
108
120
  const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
@@ -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"}
@@ -6,7 +6,8 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
  /// <reference lib="esnext.asynciterable" />
9
- export * from "./models";
10
- export { EducationManagementClient } from "./educationManagementClient";
11
- export * from "./operationsInterfaces";
9
+ export { getContinuationToken } from "./pagingHelper.js";
10
+ export * from "./models/index.js";
11
+ export { EducationManagementClient } from "./educationManagementClient.js";
12
+ export * from "./operationsInterfaces/index.js";
12
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"]}
@@ -379,7 +379,7 @@ export declare enum KnownOrigin {
379
379
  * **system** \
380
380
  * **user,system**
381
381
  */
382
- export declare type Origin = string;
382
+ export type Origin = string;
383
383
  /** Known values of {@link ActionType} that the service accepts. */
384
384
  export declare enum KnownActionType {
385
385
  /** Internal */
@@ -392,7 +392,7 @@ export declare enum KnownActionType {
392
392
  * ### Known values supported by the service
393
393
  * **Internal**
394
394
  */
395
- export declare type ActionType = string;
395
+ export type ActionType = string;
396
396
  /** Known values of {@link GrantType} that the service accepts. */
397
397
  export declare enum KnownGrantType {
398
398
  /** Student */
@@ -408,7 +408,7 @@ export declare enum KnownGrantType {
408
408
  * **Student** \
409
409
  * **Academic**
410
410
  */
411
- export declare type GrantType = string;
411
+ export type GrantType = string;
412
412
  /** Known values of {@link GrantStatus} that the service accepts. */
413
413
  export declare enum KnownGrantStatus {
414
414
  /** Active */
@@ -424,7 +424,7 @@ export declare enum KnownGrantStatus {
424
424
  * **Active** \
425
425
  * **Inactive**
426
426
  */
427
- export declare type GrantStatus = string;
427
+ export type GrantStatus = string;
428
428
  /** Known values of {@link CreatedByType} that the service accepts. */
429
429
  export declare enum KnownCreatedByType {
430
430
  /** User */
@@ -446,7 +446,7 @@ export declare enum KnownCreatedByType {
446
446
  * **ManagedIdentity** \
447
447
  * **Key**
448
448
  */
449
- export declare type CreatedByType = string;
449
+ export type CreatedByType = string;
450
450
  /** Known values of {@link LabStatus} that the service accepts. */
451
451
  export declare enum KnownLabStatus {
452
452
  /** Active */
@@ -465,7 +465,7 @@ export declare enum KnownLabStatus {
465
465
  * **Deleted** \
466
466
  * **Pending**
467
467
  */
468
- export declare type LabStatus = string;
468
+ export type LabStatus = string;
469
469
  /** Known values of {@link JoinRequestStatus} that the service accepts. */
470
470
  export declare enum KnownJoinRequestStatus {
471
471
  /** Pending */
@@ -481,7 +481,7 @@ export declare enum KnownJoinRequestStatus {
481
481
  * **Pending** \
482
482
  * **Denied**
483
483
  */
484
- export declare type JoinRequestStatus = string;
484
+ export type JoinRequestStatus = string;
485
485
  /** Known values of {@link StudentRole} that the service accepts. */
486
486
  export declare enum KnownStudentRole {
487
487
  /** Student */
@@ -497,7 +497,7 @@ export declare enum KnownStudentRole {
497
497
  * **Student** \
498
498
  * **Admin**
499
499
  */
500
- export declare type StudentRole = string;
500
+ export type StudentRole = string;
501
501
  /** Known values of {@link StudentLabStatus} that the service accepts. */
502
502
  export declare enum KnownStudentLabStatus {
503
503
  /** Active */
@@ -522,47 +522,43 @@ export declare enum KnownStudentLabStatus {
522
522
  * **Pending** \
523
523
  * **Deleted**
524
524
  */
525
- export declare type StudentLabStatus = string;
525
+ export type StudentLabStatus = string;
526
526
  /** Optional parameters. */
527
527
  export interface OperationsListOptionalParams extends coreClient.OperationOptions {
528
528
  }
529
529
  /** Contains response data for the list operation. */
530
- export declare type OperationsListResponse = OperationListResult;
530
+ export type OperationsListResponse = OperationListResult;
531
531
  /** Optional parameters. */
532
532
  export interface GrantsListAllOptionalParams extends coreClient.OperationOptions {
533
533
  /** May be used to include information about budget that has been allocated. */
534
534
  includeAllocatedBudget?: boolean;
535
535
  }
536
536
  /** Contains response data for the listAll operation. */
537
- export declare type GrantsListAllResponse = GrantListResponse;
537
+ export type GrantsListAllResponse = GrantListResponse;
538
538
  /** Optional parameters. */
539
539
  export interface GrantsListOptionalParams extends coreClient.OperationOptions {
540
540
  /** May be used to include information about budget that has been allocated. */
541
541
  includeAllocatedBudget?: boolean;
542
542
  }
543
543
  /** Contains response data for the list operation. */
544
- export declare type GrantsListResponse = GrantListResponse;
544
+ export type GrantsListResponse = GrantListResponse;
545
545
  /** Optional parameters. */
546
546
  export interface GrantsGetOptionalParams extends coreClient.OperationOptions {
547
547
  /** May be used to include information about budget that has been allocated. */
548
548
  includeAllocatedBudget?: boolean;
549
549
  }
550
550
  /** Contains response data for the get operation. */
551
- export declare type GrantsGetResponse = GrantDetails;
551
+ export type GrantsGetResponse = GrantDetails;
552
552
  /** Optional parameters. */
553
553
  export interface GrantsListAllNextOptionalParams extends coreClient.OperationOptions {
554
- /** May be used to include information about budget that has been allocated. */
555
- includeAllocatedBudget?: boolean;
556
554
  }
557
555
  /** Contains response data for the listAllNext operation. */
558
- export declare type GrantsListAllNextResponse = GrantListResponse;
556
+ export type GrantsListAllNextResponse = GrantListResponse;
559
557
  /** Optional parameters. */
560
558
  export interface GrantsListNextOptionalParams extends coreClient.OperationOptions {
561
- /** May be used to include information about budget that has been allocated. */
562
- includeAllocatedBudget?: boolean;
563
559
  }
564
560
  /** Contains response data for the listNext operation. */
565
- export declare type GrantsListNextResponse = GrantListResponse;
561
+ export type GrantsListNextResponse = GrantListResponse;
566
562
  /** Optional parameters. */
567
563
  export interface LabsListAllOptionalParams extends coreClient.OperationOptions {
568
564
  /** May be used to include budget information. */
@@ -571,21 +567,21 @@ export interface LabsListAllOptionalParams extends coreClient.OperationOptions {
571
567
  includeDeleted?: boolean;
572
568
  }
573
569
  /** Contains response data for the listAll operation. */
574
- export declare type LabsListAllResponse = LabListResult;
570
+ export type LabsListAllResponse = LabListResult;
575
571
  /** Optional parameters. */
576
572
  export interface LabsListOptionalParams extends coreClient.OperationOptions {
577
573
  /** May be used to include budget information. */
578
574
  includeBudget?: boolean;
579
575
  }
580
576
  /** Contains response data for the list operation. */
581
- export declare type LabsListResponse = LabListResult;
577
+ export type LabsListResponse = LabListResult;
582
578
  /** Optional parameters. */
583
579
  export interface LabsGetOptionalParams extends coreClient.OperationOptions {
584
580
  /** May be used to include budget information. */
585
581
  includeBudget?: boolean;
586
582
  }
587
583
  /** Contains response data for the get operation. */
588
- export declare type LabsGetResponse = LabDetails;
584
+ export type LabsGetResponse = LabDetails;
589
585
  /** Optional parameters. */
590
586
  export interface LabsDeleteOptionalParams extends coreClient.OperationOptions {
591
587
  }
@@ -593,42 +589,36 @@ export interface LabsDeleteOptionalParams extends coreClient.OperationOptions {
593
589
  export interface LabsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
594
590
  }
595
591
  /** Contains response data for the createOrUpdate operation. */
596
- export declare type LabsCreateOrUpdateResponse = LabDetails;
592
+ export type LabsCreateOrUpdateResponse = LabDetails;
597
593
  /** Optional parameters. */
598
594
  export interface LabsGenerateInviteCodeOptionalParams extends coreClient.OperationOptions {
599
595
  /** set this flag to true if you want to update student count without generating a new invite code */
600
596
  onlyUpdateStudentCountParameter?: boolean;
601
597
  }
602
598
  /** Contains response data for the generateInviteCode operation. */
603
- export declare type LabsGenerateInviteCodeResponse = LabDetails;
599
+ export type LabsGenerateInviteCodeResponse = LabDetails;
604
600
  /** Optional parameters. */
605
601
  export interface LabsListAllNextOptionalParams extends coreClient.OperationOptions {
606
- /** May be used to include budget information. */
607
- includeBudget?: boolean;
608
- /** May be used to show deleted items. */
609
- includeDeleted?: boolean;
610
602
  }
611
603
  /** Contains response data for the listAllNext operation. */
612
- export declare type LabsListAllNextResponse = LabListResult;
604
+ export type LabsListAllNextResponse = LabListResult;
613
605
  /** Optional parameters. */
614
606
  export interface LabsListNextOptionalParams extends coreClient.OperationOptions {
615
- /** May be used to include budget information. */
616
- includeBudget?: boolean;
617
607
  }
618
608
  /** Contains response data for the listNext operation. */
619
- export declare type LabsListNextResponse = LabListResult;
609
+ export type LabsListNextResponse = LabListResult;
620
610
  /** Optional parameters. */
621
611
  export interface JoinRequestsListOptionalParams extends coreClient.OperationOptions {
622
612
  /** Include denied */
623
613
  includeDenied?: boolean;
624
614
  }
625
615
  /** Contains response data for the list operation. */
626
- export declare type JoinRequestsListResponse = JoinRequestList;
616
+ export type JoinRequestsListResponse = JoinRequestList;
627
617
  /** Optional parameters. */
628
618
  export interface JoinRequestsGetOptionalParams extends coreClient.OperationOptions {
629
619
  }
630
620
  /** Contains response data for the get operation. */
631
- export declare type JoinRequestsGetResponse = JoinRequestDetails;
621
+ export type JoinRequestsGetResponse = JoinRequestDetails;
632
622
  /** Optional parameters. */
633
623
  export interface JoinRequestsApproveOptionalParams extends coreClient.OperationOptions {
634
624
  }
@@ -637,11 +627,9 @@ export interface JoinRequestsDenyOptionalParams extends coreClient.OperationOpti
637
627
  }
638
628
  /** Optional parameters. */
639
629
  export interface JoinRequestsListNextOptionalParams extends coreClient.OperationOptions {
640
- /** Include denied */
641
- includeDenied?: boolean;
642
630
  }
643
631
  /** Contains response data for the listNext operation. */
644
- export declare type JoinRequestsListNextResponse = JoinRequestList;
632
+ export type JoinRequestsListNextResponse = JoinRequestList;
645
633
  /** Optional parameters. */
646
634
  export interface RedeemInvitationCodeOptionalParams extends coreClient.OperationOptions {
647
635
  }
@@ -651,12 +639,12 @@ export interface StudentsListOptionalParams extends coreClient.OperationOptions
651
639
  includeDeleted?: boolean;
652
640
  }
653
641
  /** Contains response data for the list operation. */
654
- export declare type StudentsListResponse = StudentListResult;
642
+ export type StudentsListResponse = StudentListResult;
655
643
  /** Optional parameters. */
656
644
  export interface StudentsGetOptionalParams extends coreClient.OperationOptions {
657
645
  }
658
646
  /** Contains response data for the get operation. */
659
- export declare type StudentsGetResponse = StudentDetails;
647
+ export type StudentsGetResponse = StudentDetails;
660
648
  /** Optional parameters. */
661
649
  export interface StudentsDeleteOptionalParams extends coreClient.OperationOptions {
662
650
  }
@@ -664,29 +652,27 @@ export interface StudentsDeleteOptionalParams extends coreClient.OperationOption
664
652
  export interface StudentsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
665
653
  }
666
654
  /** Contains response data for the createOrUpdate operation. */
667
- export declare type StudentsCreateOrUpdateResponse = StudentDetails;
655
+ export type StudentsCreateOrUpdateResponse = StudentDetails;
668
656
  /** Optional parameters. */
669
657
  export interface StudentsListNextOptionalParams extends coreClient.OperationOptions {
670
- /** May be used to show deleted items. */
671
- includeDeleted?: boolean;
672
658
  }
673
659
  /** Contains response data for the listNext operation. */
674
- export declare type StudentsListNextResponse = StudentListResult;
660
+ export type StudentsListNextResponse = StudentListResult;
675
661
  /** Optional parameters. */
676
662
  export interface StudentLabsListAllOptionalParams extends coreClient.OperationOptions {
677
663
  }
678
664
  /** Contains response data for the listAll operation. */
679
- export declare type StudentLabsListAllResponse = StudentLabListResult;
665
+ export type StudentLabsListAllResponse = StudentLabListResult;
680
666
  /** Optional parameters. */
681
667
  export interface StudentLabsGetOptionalParams extends coreClient.OperationOptions {
682
668
  }
683
669
  /** Contains response data for the get operation. */
684
- export declare type StudentLabsGetResponse = StudentLabDetails;
670
+ export type StudentLabsGetResponse = StudentLabDetails;
685
671
  /** Optional parameters. */
686
672
  export interface StudentLabsListAllNextOptionalParams extends coreClient.OperationOptions {
687
673
  }
688
674
  /** Contains response data for the listAllNext operation. */
689
- export declare type StudentLabsListAllNextResponse = StudentLabListResult;
675
+ export type StudentLabsListAllNextResponse = StudentLabListResult;
690
676
  /** Optional parameters. */
691
677
  export interface EducationManagementClientOptionalParams extends coreClient.ServiceClientOptions {
692
678
  /** server parameter */