@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
@@ -1,358 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
-
9
- import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
- import { JoinRequests } from "../operationsInterfaces";
11
- import * as coreClient from "@azure/core-client";
12
- import * as Mappers from "../models/mappers";
13
- import * as Parameters from "../models/parameters";
14
- import { EducationManagementClient } from "../educationManagementClient";
15
- import {
16
- JoinRequestDetails,
17
- JoinRequestsListNextOptionalParams,
18
- JoinRequestsListOptionalParams,
19
- JoinRequestsListResponse,
20
- JoinRequestsGetOptionalParams,
21
- JoinRequestsGetResponse,
22
- JoinRequestsApproveOptionalParams,
23
- JoinRequestsDenyOptionalParams,
24
- JoinRequestsListNextResponse
25
- } from "../models";
26
-
27
- /// <reference lib="esnext.asynciterable" />
28
- /** Class containing JoinRequests operations. */
29
- export class JoinRequestsImpl implements JoinRequests {
30
- private readonly client: EducationManagementClient;
31
-
32
- /**
33
- * Initialize a new instance of the class JoinRequests class.
34
- * @param client Reference to the service client
35
- */
36
- constructor(client: EducationManagementClient) {
37
- this.client = client;
38
- }
39
-
40
- /**
41
- * get student join requests
42
- * @param billingAccountName Billing account name.
43
- * @param billingProfileName Billing profile name.
44
- * @param invoiceSectionName Invoice section name.
45
- * @param options The options parameters.
46
- */
47
- public list(
48
- billingAccountName: string,
49
- billingProfileName: string,
50
- invoiceSectionName: string,
51
- options?: JoinRequestsListOptionalParams
52
- ): PagedAsyncIterableIterator<JoinRequestDetails> {
53
- const iter = this.listPagingAll(
54
- billingAccountName,
55
- billingProfileName,
56
- invoiceSectionName,
57
- options
58
- );
59
- return {
60
- next() {
61
- return iter.next();
62
- },
63
- [Symbol.asyncIterator]() {
64
- return this;
65
- },
66
- byPage: () => {
67
- return this.listPagingPage(
68
- billingAccountName,
69
- billingProfileName,
70
- invoiceSectionName,
71
- options
72
- );
73
- }
74
- };
75
- }
76
-
77
- private async *listPagingPage(
78
- billingAccountName: string,
79
- billingProfileName: string,
80
- invoiceSectionName: string,
81
- options?: JoinRequestsListOptionalParams
82
- ): AsyncIterableIterator<JoinRequestDetails[]> {
83
- let result = await this._list(
84
- billingAccountName,
85
- billingProfileName,
86
- invoiceSectionName,
87
- options
88
- );
89
- yield result.value || [];
90
- let continuationToken = result.nextLink;
91
- while (continuationToken) {
92
- result = await this._listNext(
93
- billingAccountName,
94
- billingProfileName,
95
- invoiceSectionName,
96
- continuationToken,
97
- options
98
- );
99
- continuationToken = result.nextLink;
100
- yield result.value || [];
101
- }
102
- }
103
-
104
- private async *listPagingAll(
105
- billingAccountName: string,
106
- billingProfileName: string,
107
- invoiceSectionName: string,
108
- options?: JoinRequestsListOptionalParams
109
- ): AsyncIterableIterator<JoinRequestDetails> {
110
- for await (const page of this.listPagingPage(
111
- billingAccountName,
112
- billingProfileName,
113
- invoiceSectionName,
114
- options
115
- )) {
116
- yield* page;
117
- }
118
- }
119
-
120
- /**
121
- * get student join requests
122
- * @param billingAccountName Billing account name.
123
- * @param billingProfileName Billing profile name.
124
- * @param invoiceSectionName Invoice section name.
125
- * @param options The options parameters.
126
- */
127
- private _list(
128
- billingAccountName: string,
129
- billingProfileName: string,
130
- invoiceSectionName: string,
131
- options?: JoinRequestsListOptionalParams
132
- ): Promise<JoinRequestsListResponse> {
133
- return this.client.sendOperationRequest(
134
- { billingAccountName, billingProfileName, invoiceSectionName, options },
135
- listOperationSpec
136
- );
137
- }
138
-
139
- /**
140
- * get student join requests
141
- * @param billingAccountName Billing account name.
142
- * @param billingProfileName Billing profile name.
143
- * @param invoiceSectionName Invoice section name.
144
- * @param joinRequestName Join name
145
- * @param options The options parameters.
146
- */
147
- get(
148
- billingAccountName: string,
149
- billingProfileName: string,
150
- invoiceSectionName: string,
151
- joinRequestName: string,
152
- options?: JoinRequestsGetOptionalParams
153
- ): Promise<JoinRequestsGetResponse> {
154
- return this.client.sendOperationRequest(
155
- {
156
- billingAccountName,
157
- billingProfileName,
158
- invoiceSectionName,
159
- joinRequestName,
160
- options
161
- },
162
- getOperationSpec
163
- );
164
- }
165
-
166
- /**
167
- * Approve student joining the redeemable lab
168
- * @param billingAccountName Billing account name.
169
- * @param billingProfileName Billing profile name.
170
- * @param invoiceSectionName Invoice section name.
171
- * @param joinRequestName Join name
172
- * @param options The options parameters.
173
- */
174
- approve(
175
- billingAccountName: string,
176
- billingProfileName: string,
177
- invoiceSectionName: string,
178
- joinRequestName: string,
179
- options?: JoinRequestsApproveOptionalParams
180
- ): Promise<void> {
181
- return this.client.sendOperationRequest(
182
- {
183
- billingAccountName,
184
- billingProfileName,
185
- invoiceSectionName,
186
- joinRequestName,
187
- options
188
- },
189
- approveOperationSpec
190
- );
191
- }
192
-
193
- /**
194
- * Deny student joining the redeemable lab
195
- * @param billingAccountName Billing account name.
196
- * @param billingProfileName Billing profile name.
197
- * @param invoiceSectionName Invoice section name.
198
- * @param joinRequestName Join name
199
- * @param options The options parameters.
200
- */
201
- deny(
202
- billingAccountName: string,
203
- billingProfileName: string,
204
- invoiceSectionName: string,
205
- joinRequestName: string,
206
- options?: JoinRequestsDenyOptionalParams
207
- ): Promise<void> {
208
- return this.client.sendOperationRequest(
209
- {
210
- billingAccountName,
211
- billingProfileName,
212
- invoiceSectionName,
213
- joinRequestName,
214
- options
215
- },
216
- denyOperationSpec
217
- );
218
- }
219
-
220
- /**
221
- * ListNext
222
- * @param billingAccountName Billing account name.
223
- * @param billingProfileName Billing profile name.
224
- * @param invoiceSectionName Invoice section name.
225
- * @param nextLink The nextLink from the previous successful call to the List method.
226
- * @param options The options parameters.
227
- */
228
- private _listNext(
229
- billingAccountName: string,
230
- billingProfileName: string,
231
- invoiceSectionName: string,
232
- nextLink: string,
233
- options?: JoinRequestsListNextOptionalParams
234
- ): Promise<JoinRequestsListNextResponse> {
235
- return this.client.sendOperationRequest(
236
- {
237
- billingAccountName,
238
- billingProfileName,
239
- invoiceSectionName,
240
- nextLink,
241
- options
242
- },
243
- listNextOperationSpec
244
- );
245
- }
246
- }
247
- // Operation Specifications
248
- const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
249
-
250
- const listOperationSpec: coreClient.OperationSpec = {
251
- path:
252
- "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/providers/Microsoft.Education/labs/default/joinRequests",
253
- httpMethod: "GET",
254
- responses: {
255
- 200: {
256
- bodyMapper: Mappers.JoinRequestList
257
- },
258
- default: {
259
- bodyMapper: Mappers.ErrorResponseBody
260
- }
261
- },
262
- queryParameters: [Parameters.apiVersion, Parameters.includeDenied],
263
- urlParameters: [
264
- Parameters.$host,
265
- Parameters.billingAccountName,
266
- Parameters.billingProfileName,
267
- Parameters.invoiceSectionName
268
- ],
269
- headerParameters: [Parameters.accept],
270
- serializer
271
- };
272
- const getOperationSpec: coreClient.OperationSpec = {
273
- path:
274
- "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/providers/Microsoft.Education/labs/default/joinRequests/{joinRequestName}",
275
- httpMethod: "GET",
276
- responses: {
277
- 200: {
278
- bodyMapper: Mappers.JoinRequestDetails
279
- },
280
- default: {
281
- bodyMapper: Mappers.ErrorResponseBody
282
- }
283
- },
284
- queryParameters: [Parameters.apiVersion],
285
- urlParameters: [
286
- Parameters.$host,
287
- Parameters.billingAccountName,
288
- Parameters.billingProfileName,
289
- Parameters.invoiceSectionName,
290
- Parameters.joinRequestName
291
- ],
292
- headerParameters: [Parameters.accept],
293
- serializer
294
- };
295
- const approveOperationSpec: coreClient.OperationSpec = {
296
- path:
297
- "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/providers/Microsoft.Education/labs/default/joinRequests/{joinRequestName}/approve",
298
- httpMethod: "POST",
299
- responses: {
300
- 200: {},
301
- default: {
302
- bodyMapper: Mappers.ErrorResponseBody
303
- }
304
- },
305
- queryParameters: [Parameters.apiVersion],
306
- urlParameters: [
307
- Parameters.$host,
308
- Parameters.billingAccountName,
309
- Parameters.billingProfileName,
310
- Parameters.invoiceSectionName,
311
- Parameters.joinRequestName
312
- ],
313
- headerParameters: [Parameters.accept],
314
- serializer
315
- };
316
- const denyOperationSpec: coreClient.OperationSpec = {
317
- path:
318
- "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/providers/Microsoft.Education/labs/default/joinRequests/{joinRequestName}/deny",
319
- httpMethod: "POST",
320
- responses: {
321
- 200: {},
322
- default: {
323
- bodyMapper: Mappers.ErrorResponseBody
324
- }
325
- },
326
- queryParameters: [Parameters.apiVersion],
327
- urlParameters: [
328
- Parameters.$host,
329
- Parameters.billingAccountName,
330
- Parameters.billingProfileName,
331
- Parameters.invoiceSectionName,
332
- Parameters.joinRequestName
333
- ],
334
- headerParameters: [Parameters.accept],
335
- serializer
336
- };
337
- const listNextOperationSpec: coreClient.OperationSpec = {
338
- path: "{nextLink}",
339
- httpMethod: "GET",
340
- responses: {
341
- 200: {
342
- bodyMapper: Mappers.JoinRequestList
343
- },
344
- default: {
345
- bodyMapper: Mappers.ErrorResponseBody
346
- }
347
- },
348
- queryParameters: [Parameters.apiVersion, Parameters.includeDenied],
349
- urlParameters: [
350
- Parameters.$host,
351
- Parameters.billingAccountName,
352
- Parameters.billingProfileName,
353
- Parameters.nextLink,
354
- Parameters.invoiceSectionName
355
- ],
356
- headerParameters: [Parameters.accept],
357
- serializer
358
- };