@azure/arm-education 1.0.0-beta.4 → 1.0.0-beta.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/README.md +11 -16
- package/dist/browser/api/educationManagementContext.d.ts +20 -0
- package/dist/browser/api/educationManagementContext.js +26 -0
- package/dist/browser/api/educationManagementContext.js.map +1 -0
- package/dist/browser/api/grants/index.d.ts +3 -0
- package/dist/browser/api/grants/index.js +4 -0
- package/dist/browser/api/grants/index.js.map +1 -0
- package/dist/browser/api/grants/operations.d.ts +18 -0
- package/dist/browser/api/grants/operations.js +95 -0
- package/dist/browser/api/grants/operations.js.map +1 -0
- package/dist/browser/api/grants/options.d.ts +17 -0
- package/dist/browser/api/grants/options.js +4 -0
- package/dist/browser/api/grants/options.js.map +1 -0
- package/dist/browser/api/index.d.ts +5 -0
- package/dist/browser/api/index.js +5 -0
- package/dist/browser/api/index.js.map +1 -0
- package/dist/browser/api/joinRequests/index.d.ts +3 -0
- package/dist/browser/api/joinRequests/index.js +4 -0
- package/dist/browser/api/joinRequests/index.js.map +1 -0
- package/dist/browser/api/joinRequests/operations.d.ts +22 -0
- package/dist/browser/api/joinRequests/operations.js +120 -0
- package/dist/browser/api/joinRequests/operations.js.map +1 -0
- package/dist/browser/api/joinRequests/options.d.ts +16 -0
- package/dist/browser/api/joinRequests/options.js +4 -0
- package/dist/browser/api/joinRequests/options.js.map +1 -0
- package/dist/browser/api/labs/index.d.ts +3 -0
- package/dist/browser/api/labs/index.js +4 -0
- package/dist/browser/api/labs/index.js.map +1 -0
- package/dist/browser/api/labs/operations.d.ts +30 -0
- package/dist/browser/api/labs/operations.js +186 -0
- package/dist/browser/api/labs/operations.js.map +1 -0
- package/dist/browser/api/labs/options.d.ts +30 -0
- package/dist/browser/api/labs/options.js +4 -0
- package/dist/browser/api/labs/options.js.map +1 -0
- package/dist/browser/api/operations/index.d.ts +3 -0
- package/dist/browser/api/operations/index.js +4 -0
- package/dist/browser/api/operations/index.js.map +1 -0
- package/dist/browser/api/operations/operations.d.ts +9 -0
- package/dist/browser/api/operations/operations.js +31 -0
- package/dist/browser/api/operations/operations.js.map +1 -0
- package/dist/browser/api/operations/options.d.ts +5 -0
- package/dist/browser/api/operations/options.js +4 -0
- package/dist/browser/api/operations/options.js.map +1 -0
- package/dist/browser/api/operations.d.ts +9 -0
- package/dist/browser/api/operations.js +32 -0
- package/dist/browser/api/operations.js.map +1 -0
- package/dist/browser/api/options.d.ts +5 -0
- package/dist/browser/api/options.js +4 -0
- package/dist/browser/api/options.js.map +1 -0
- package/dist/browser/api/studentLabs/index.d.ts +3 -0
- package/dist/browser/api/studentLabs/index.js +4 -0
- package/dist/browser/api/studentLabs/index.js.map +1 -0
- package/dist/browser/api/studentLabs/operations.d.ts +14 -0
- package/dist/browser/api/studentLabs/operations.js +61 -0
- package/dist/browser/api/studentLabs/operations.js.map +1 -0
- package/dist/browser/api/studentLabs/options.d.ts +8 -0
- package/dist/browser/api/studentLabs/options.js +4 -0
- package/dist/browser/api/studentLabs/options.js.map +1 -0
- package/dist/browser/api/students/index.d.ts +3 -0
- package/dist/browser/api/students/index.js +4 -0
- package/dist/browser/api/students/index.js.map +1 -0
- package/dist/browser/api/students/operations.d.ts +22 -0
- package/dist/browser/api/students/operations.js +125 -0
- package/dist/browser/api/students/operations.js.map +1 -0
- package/dist/browser/api/students/options.d.ts +16 -0
- package/dist/browser/api/students/options.js +4 -0
- package/dist/browser/api/students/options.js.map +1 -0
- package/dist/browser/classic/grants/index.d.ts +15 -0
- package/dist/browser/classic/grants/index.js +16 -0
- package/dist/browser/classic/grants/index.js.map +1 -0
- package/dist/browser/classic/index.d.ts +7 -0
- package/dist/browser/classic/index.js +4 -0
- package/dist/browser/classic/index.js.map +1 -0
- package/dist/browser/classic/joinRequests/index.d.ts +17 -0
- package/dist/browser/classic/joinRequests/index.js +17 -0
- package/dist/browser/classic/joinRequests/index.js.map +1 -0
- package/dist/browser/classic/labs/index.d.ts +21 -0
- package/dist/browser/classic/labs/index.js +19 -0
- package/dist/browser/classic/labs/index.js.map +1 -0
- package/dist/browser/classic/operations/index.d.ts +10 -0
- package/dist/browser/classic/operations/index.js +14 -0
- package/dist/browser/classic/operations/index.js.map +1 -0
- package/dist/browser/classic/studentLabs/index.d.ts +13 -0
- package/dist/browser/classic/studentLabs/index.js +15 -0
- package/dist/browser/classic/studentLabs/index.js.map +1 -0
- package/dist/browser/classic/students/index.d.ts +17 -0
- package/dist/browser/classic/students/index.js +17 -0
- package/dist/browser/classic/students/index.js.map +1 -0
- package/dist/browser/educationManagementClient.d.ts +31 -26
- package/dist/browser/educationManagementClient.js +44 -131
- package/dist/browser/educationManagementClient.js.map +1 -1
- package/dist/browser/index.d.ts +16 -3
- package/dist/browser/index.js +6 -11
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/logger.d.ts +2 -0
- package/dist/browser/logger.js +5 -0
- package/dist/browser/logger.js.map +1 -0
- package/dist/browser/models/index.d.ts +2 -684
- package/dist/browser/models/index.js +3 -91
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/models.d.ts +597 -0
- package/dist/browser/models/models.js +569 -0
- package/dist/browser/models/models.js.map +1 -0
- package/dist/browser/static-helpers/cloudSettingHelpers.d.ts +22 -0
- package/dist/browser/static-helpers/cloudSettingHelpers.js +38 -0
- package/dist/browser/static-helpers/cloudSettingHelpers.js.map +1 -0
- package/dist/browser/static-helpers/pagingHelpers.d.ts +74 -0
- package/dist/browser/static-helpers/pagingHelpers.js +143 -0
- package/dist/browser/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/browser/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
- package/dist/browser/static-helpers/serialization/check-prop-undefined.js +17 -0
- package/dist/browser/static-helpers/serialization/check-prop-undefined.js.map +1 -0
- package/dist/browser/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/browser/static-helpers/urlTemplate.js +200 -0
- package/dist/browser/static-helpers/urlTemplate.js.map +1 -0
- package/dist/commonjs/api/educationManagementContext.d.ts +20 -0
- package/dist/commonjs/api/educationManagementContext.js +47 -0
- package/dist/commonjs/api/educationManagementContext.js.map +7 -0
- package/dist/commonjs/api/grants/index.d.ts +3 -0
- package/dist/commonjs/api/grants/index.js +32 -0
- package/dist/commonjs/api/grants/index.js.map +7 -0
- package/dist/commonjs/api/grants/operations.d.ts +18 -0
- package/dist/commonjs/api/grants/operations.js +156 -0
- package/dist/commonjs/api/grants/operations.js.map +7 -0
- package/dist/commonjs/api/grants/options.d.ts +17 -0
- package/dist/commonjs/api/grants/options.js +16 -0
- package/dist/commonjs/api/grants/options.js.map +7 -0
- package/dist/commonjs/api/index.d.ts +5 -0
- package/dist/commonjs/api/index.js +31 -0
- package/dist/commonjs/api/index.js.map +7 -0
- package/dist/commonjs/api/joinRequests/index.d.ts +3 -0
- package/dist/commonjs/api/joinRequests/index.js +34 -0
- package/dist/commonjs/api/joinRequests/index.js.map +7 -0
- package/dist/commonjs/api/joinRequests/operations.d.ts +22 -0
- package/dist/commonjs/api/joinRequests/operations.js +205 -0
- package/dist/commonjs/api/joinRequests/operations.js.map +7 -0
- package/dist/commonjs/api/joinRequests/options.d.ts +16 -0
- package/dist/commonjs/api/joinRequests/options.js +16 -0
- package/dist/commonjs/api/joinRequests/options.js.map +7 -0
- package/dist/commonjs/api/labs/index.d.ts +3 -0
- package/dist/commonjs/api/labs/index.js +38 -0
- package/dist/commonjs/api/labs/index.js.map +7 -0
- package/dist/commonjs/api/labs/operations.d.ts +30 -0
- package/dist/commonjs/api/labs/operations.js +300 -0
- package/dist/commonjs/api/labs/operations.js.map +7 -0
- package/dist/commonjs/api/labs/options.d.ts +30 -0
- package/dist/commonjs/api/labs/options.js +16 -0
- package/dist/commonjs/api/labs/options.js.map +7 -0
- package/dist/commonjs/api/operations/index.d.ts +3 -0
- package/dist/commonjs/api/operations/index.js +28 -0
- package/dist/commonjs/api/operations/index.js.map +7 -0
- package/dist/commonjs/api/operations/operations.d.ts +9 -0
- package/dist/commonjs/api/operations/operations.js +62 -0
- package/dist/commonjs/api/operations/operations.js.map +7 -0
- package/dist/commonjs/api/operations/options.d.ts +5 -0
- package/dist/commonjs/api/operations/options.js +16 -0
- package/dist/commonjs/api/operations/options.js.map +7 -0
- package/dist/commonjs/api/operations.d.ts +9 -0
- package/dist/commonjs/api/operations.js +63 -0
- package/dist/commonjs/api/operations.js.map +7 -0
- package/dist/commonjs/api/options.d.ts +5 -0
- package/dist/commonjs/api/options.js +16 -0
- package/dist/commonjs/api/options.js.map +7 -0
- package/dist/commonjs/api/studentLabs/index.d.ts +3 -0
- package/dist/commonjs/api/studentLabs/index.js +30 -0
- package/dist/commonjs/api/studentLabs/index.js.map +7 -0
- package/dist/commonjs/api/studentLabs/operations.d.ts +14 -0
- package/dist/commonjs/api/studentLabs/operations.js +107 -0
- package/dist/commonjs/api/studentLabs/operations.js.map +7 -0
- package/dist/commonjs/api/studentLabs/options.d.ts +8 -0
- package/dist/commonjs/api/studentLabs/options.js +16 -0
- package/dist/commonjs/api/studentLabs/options.js.map +7 -0
- package/dist/commonjs/api/students/index.d.ts +3 -0
- package/dist/commonjs/api/students/index.js +34 -0
- package/dist/commonjs/api/students/index.js.map +7 -0
- package/dist/commonjs/api/students/operations.d.ts +22 -0
- package/dist/commonjs/api/students/operations.js +211 -0
- package/dist/commonjs/api/students/operations.js.map +7 -0
- package/dist/commonjs/api/students/options.d.ts +16 -0
- package/dist/commonjs/api/students/options.js +16 -0
- package/dist/commonjs/api/students/options.js.map +7 -0
- package/dist/commonjs/classic/grants/index.d.ts +15 -0
- package/dist/commonjs/classic/grants/index.js +40 -0
- package/dist/commonjs/classic/grants/index.js.map +7 -0
- package/dist/commonjs/classic/index.d.ts +7 -0
- package/dist/commonjs/classic/index.js +16 -0
- package/dist/commonjs/classic/index.js.map +7 -0
- package/dist/commonjs/classic/joinRequests/index.d.ts +17 -0
- package/dist/commonjs/classic/joinRequests/index.js +62 -0
- package/dist/commonjs/classic/joinRequests/index.js.map +7 -0
- package/dist/commonjs/classic/labs/index.d.ts +21 -0
- package/dist/commonjs/classic/labs/index.js +57 -0
- package/dist/commonjs/classic/labs/index.js.map +7 -0
- package/dist/commonjs/classic/operations/index.d.ts +10 -0
- package/dist/commonjs/classic/operations/index.js +38 -0
- package/dist/commonjs/classic/operations/index.js.map +7 -0
- package/dist/commonjs/classic/studentLabs/index.d.ts +13 -0
- package/dist/commonjs/classic/studentLabs/index.js +39 -0
- package/dist/commonjs/classic/studentLabs/index.js.map +7 -0
- package/dist/commonjs/classic/students/index.d.ts +17 -0
- package/dist/commonjs/classic/students/index.js +63 -0
- package/dist/commonjs/classic/students/index.js.map +7 -0
- package/dist/commonjs/educationManagementClient.d.ts +31 -26
- package/dist/commonjs/educationManagementClient.js +71 -141
- package/dist/commonjs/educationManagementClient.js.map +7 -1
- package/dist/commonjs/index.d.ts +16 -3
- package/dist/commonjs/index.js +57 -19
- package/dist/commonjs/index.js.map +7 -1
- package/dist/commonjs/logger.d.ts +2 -0
- package/dist/commonjs/logger.js +29 -0
- package/dist/commonjs/logger.js.map +7 -0
- package/dist/commonjs/models/index.d.ts +2 -684
- package/dist/commonjs/models/index.js +46 -95
- package/dist/commonjs/models/index.js.map +7 -1
- package/dist/commonjs/models/models.d.ts +597 -0
- package/dist/commonjs/models/models.js +610 -0
- package/dist/commonjs/models/models.js.map +7 -0
- package/dist/commonjs/static-helpers/cloudSettingHelpers.d.ts +22 -0
- package/dist/commonjs/static-helpers/cloudSettingHelpers.js +52 -0
- package/dist/commonjs/static-helpers/cloudSettingHelpers.js.map +7 -0
- package/dist/commonjs/static-helpers/pagingHelpers.d.ts +74 -0
- package/dist/commonjs/static-helpers/pagingHelpers.js +143 -0
- package/dist/commonjs/static-helpers/pagingHelpers.js.map +7 -0
- package/dist/commonjs/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
- package/dist/commonjs/static-helpers/serialization/check-prop-undefined.js +35 -0
- package/dist/commonjs/static-helpers/serialization/check-prop-undefined.js.map +7 -0
- package/dist/commonjs/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/commonjs/static-helpers/urlTemplate.js +197 -0
- package/dist/commonjs/static-helpers/urlTemplate.js.map +7 -0
- package/dist/commonjs/tsdoc-metadata.json +1 -1
- package/dist/esm/api/educationManagementContext.d.ts +20 -0
- package/dist/esm/api/educationManagementContext.js +26 -0
- package/dist/esm/api/educationManagementContext.js.map +1 -0
- package/dist/esm/api/grants/index.d.ts +3 -0
- package/dist/esm/api/grants/index.js +4 -0
- package/dist/esm/api/grants/index.js.map +1 -0
- package/dist/esm/api/grants/operations.d.ts +18 -0
- package/dist/esm/api/grants/operations.js +95 -0
- package/dist/esm/api/grants/operations.js.map +1 -0
- package/dist/esm/api/grants/options.d.ts +17 -0
- package/dist/esm/api/grants/options.js +4 -0
- package/dist/esm/api/grants/options.js.map +1 -0
- package/dist/esm/api/index.d.ts +5 -0
- package/dist/esm/api/index.js +5 -0
- package/dist/esm/api/index.js.map +1 -0
- package/dist/esm/api/joinRequests/index.d.ts +3 -0
- package/dist/esm/api/joinRequests/index.js +4 -0
- package/dist/esm/api/joinRequests/index.js.map +1 -0
- package/dist/esm/api/joinRequests/operations.d.ts +22 -0
- package/dist/esm/api/joinRequests/operations.js +120 -0
- package/dist/esm/api/joinRequests/operations.js.map +1 -0
- package/dist/esm/api/joinRequests/options.d.ts +16 -0
- package/dist/esm/api/joinRequests/options.js +4 -0
- package/dist/esm/api/joinRequests/options.js.map +1 -0
- package/dist/esm/api/labs/index.d.ts +3 -0
- package/dist/esm/api/labs/index.js +4 -0
- package/dist/esm/api/labs/index.js.map +1 -0
- package/dist/esm/api/labs/operations.d.ts +30 -0
- package/dist/esm/api/labs/operations.js +186 -0
- package/dist/esm/api/labs/operations.js.map +1 -0
- package/dist/esm/api/labs/options.d.ts +30 -0
- package/dist/esm/api/labs/options.js +4 -0
- package/dist/esm/api/labs/options.js.map +1 -0
- package/dist/esm/api/operations/index.d.ts +3 -0
- package/dist/esm/api/operations/index.js +4 -0
- package/dist/esm/api/operations/index.js.map +1 -0
- package/dist/esm/api/operations/operations.d.ts +9 -0
- package/dist/esm/api/operations/operations.js +31 -0
- package/dist/esm/api/operations/operations.js.map +1 -0
- package/dist/esm/api/operations/options.d.ts +5 -0
- package/dist/esm/api/operations/options.js +4 -0
- package/dist/esm/api/operations/options.js.map +1 -0
- package/dist/esm/api/operations.d.ts +9 -0
- package/dist/esm/api/operations.js +32 -0
- package/dist/esm/api/operations.js.map +1 -0
- package/dist/esm/api/options.d.ts +5 -0
- package/dist/esm/api/options.js +4 -0
- package/dist/esm/api/options.js.map +1 -0
- package/dist/esm/api/studentLabs/index.d.ts +3 -0
- package/dist/esm/api/studentLabs/index.js +4 -0
- package/dist/esm/api/studentLabs/index.js.map +1 -0
- package/dist/esm/api/studentLabs/operations.d.ts +14 -0
- package/dist/esm/api/studentLabs/operations.js +61 -0
- package/dist/esm/api/studentLabs/operations.js.map +1 -0
- package/dist/esm/api/studentLabs/options.d.ts +8 -0
- package/dist/esm/api/studentLabs/options.js +4 -0
- package/dist/esm/api/studentLabs/options.js.map +1 -0
- package/dist/esm/api/students/index.d.ts +3 -0
- package/dist/esm/api/students/index.js +4 -0
- package/dist/esm/api/students/index.js.map +1 -0
- package/dist/esm/api/students/operations.d.ts +22 -0
- package/dist/esm/api/students/operations.js +125 -0
- package/dist/esm/api/students/operations.js.map +1 -0
- package/dist/esm/api/students/options.d.ts +16 -0
- package/dist/esm/api/students/options.js +4 -0
- package/dist/esm/api/students/options.js.map +1 -0
- package/dist/esm/classic/grants/index.d.ts +15 -0
- package/dist/esm/classic/grants/index.js +16 -0
- package/dist/esm/classic/grants/index.js.map +1 -0
- package/dist/esm/classic/index.d.ts +7 -0
- package/dist/esm/classic/index.js +4 -0
- package/dist/esm/classic/index.js.map +1 -0
- package/dist/esm/classic/joinRequests/index.d.ts +17 -0
- package/dist/esm/classic/joinRequests/index.js +17 -0
- package/dist/esm/classic/joinRequests/index.js.map +1 -0
- package/dist/esm/classic/labs/index.d.ts +21 -0
- package/dist/esm/classic/labs/index.js +19 -0
- package/dist/esm/classic/labs/index.js.map +1 -0
- package/dist/esm/classic/operations/index.d.ts +10 -0
- package/dist/esm/classic/operations/index.js +14 -0
- package/dist/esm/classic/operations/index.js.map +1 -0
- package/dist/esm/classic/studentLabs/index.d.ts +13 -0
- package/dist/esm/classic/studentLabs/index.js +15 -0
- package/dist/esm/classic/studentLabs/index.js.map +1 -0
- package/dist/esm/classic/students/index.d.ts +17 -0
- package/dist/esm/classic/students/index.js +17 -0
- package/dist/esm/classic/students/index.js.map +1 -0
- package/dist/esm/educationManagementClient.d.ts +31 -26
- package/dist/esm/educationManagementClient.js +44 -131
- package/dist/esm/educationManagementClient.js.map +1 -1
- package/dist/esm/index.d.ts +16 -3
- package/dist/esm/index.js +6 -11
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/logger.d.ts +2 -0
- package/dist/esm/logger.js +5 -0
- package/dist/esm/logger.js.map +1 -0
- package/dist/esm/models/index.d.ts +2 -684
- package/dist/esm/models/index.js +3 -91
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/models.d.ts +597 -0
- package/dist/esm/models/models.js +569 -0
- package/dist/esm/models/models.js.map +1 -0
- package/dist/esm/static-helpers/cloudSettingHelpers.d.ts +22 -0
- package/dist/esm/static-helpers/cloudSettingHelpers.js +38 -0
- package/dist/esm/static-helpers/cloudSettingHelpers.js.map +1 -0
- package/dist/esm/static-helpers/pagingHelpers.d.ts +74 -0
- package/dist/esm/static-helpers/pagingHelpers.js +143 -0
- package/dist/esm/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/esm/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
- package/dist/esm/static-helpers/serialization/check-prop-undefined.js +17 -0
- package/dist/esm/static-helpers/serialization/check-prop-undefined.js.map +1 -0
- package/dist/esm/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/esm/static-helpers/urlTemplate.js +200 -0
- package/dist/esm/static-helpers/urlTemplate.js.map +1 -0
- package/package.json +200 -92
- package/CHANGELOG.md +0 -40
- package/dist/browser/educationManagementClient.d.ts.map +0 -1
- package/dist/browser/index.d.ts.map +0 -1
- package/dist/browser/models/index.d.ts.map +0 -1
- package/dist/browser/models/mappers.d.ts +0 -22
- package/dist/browser/models/mappers.d.ts.map +0 -1
- package/dist/browser/models/mappers.js +0 -754
- package/dist/browser/models/mappers.js.map +0 -1
- package/dist/browser/models/parameters.d.ts +0 -22
- package/dist/browser/models/parameters.d.ts.map +0 -1
- package/dist/browser/models/parameters.js +0 -185
- package/dist/browser/models/parameters.js.map +0 -1
- package/dist/browser/operations/grants.d.ts +0 -63
- package/dist/browser/operations/grants.d.ts.map +0 -1
- package/dist/browser/operations/grants.js +0 -250
- package/dist/browser/operations/grants.js.map +0 -1
- package/dist/browser/operations/index.d.ts +0 -7
- package/dist/browser/operations/index.d.ts.map +0 -1
- package/dist/browser/operations/index.js +0 -14
- package/dist/browser/operations/index.js.map +0 -1
- package/dist/browser/operations/joinRequests.d.ts +0 -68
- package/dist/browser/operations/joinRequests.d.ts.map +0 -1
- package/dist/browser/operations/joinRequests.js +0 -255
- package/dist/browser/operations/joinRequests.js.map +0 -1
- package/dist/browser/operations/labs.d.ts +0 -103
- package/dist/browser/operations/labs.d.ts.map +0 -1
- package/dist/browser/operations/labs.js +0 -402
- package/dist/browser/operations/labs.js.map +0 -1
- package/dist/browser/operations/operations.d.ts +0 -18
- package/dist/browser/operations/operations.d.ts.map +0 -1
- package/dist/browser/operations/operations.js +0 -47
- package/dist/browser/operations/operations.js.map +0 -1
- package/dist/browser/operations/studentLabs.d.ts +0 -38
- package/dist/browser/operations/studentLabs.d.ts.map +0 -1
- package/dist/browser/operations/studentLabs.js +0 -140
- package/dist/browser/operations/studentLabs.js.map +0 -1
- package/dist/browser/operations/students.d.ts +0 -70
- package/dist/browser/operations/students.d.ts.map +0 -1
- package/dist/browser/operations/students.js +0 -266
- package/dist/browser/operations/students.js.map +0 -1
- package/dist/browser/operationsInterfaces/grants.d.ts +0 -25
- package/dist/browser/operationsInterfaces/grants.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/grants.js +0 -9
- package/dist/browser/operationsInterfaces/grants.js.map +0 -1
- package/dist/browser/operationsInterfaces/index.d.ts +0 -7
- package/dist/browser/operationsInterfaces/index.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/index.js +0 -14
- package/dist/browser/operationsInterfaces/index.js.map +0 -1
- package/dist/browser/operationsInterfaces/joinRequests.d.ts +0 -41
- package/dist/browser/operationsInterfaces/joinRequests.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/joinRequests.js +0 -9
- package/dist/browser/operationsInterfaces/joinRequests.js.map +0 -1
- package/dist/browser/operationsInterfaces/labs.d.ts +0 -58
- package/dist/browser/operationsInterfaces/labs.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/labs.js +0 -9
- package/dist/browser/operationsInterfaces/labs.js.map +0 -1
- package/dist/browser/operationsInterfaces/operations.d.ts +0 -10
- package/dist/browser/operationsInterfaces/operations.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/operations.js +0 -9
- package/dist/browser/operationsInterfaces/operations.js.map +0 -1
- package/dist/browser/operationsInterfaces/studentLabs.d.ts +0 -17
- package/dist/browser/operationsInterfaces/studentLabs.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/studentLabs.js +0 -9
- package/dist/browser/operationsInterfaces/studentLabs.js.map +0 -1
- package/dist/browser/operationsInterfaces/students.d.ts +0 -43
- package/dist/browser/operationsInterfaces/students.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/students.js +0 -9
- package/dist/browser/operationsInterfaces/students.js.map +0 -1
- package/dist/browser/pagingHelper.d.ts +0 -13
- package/dist/browser/pagingHelper.d.ts.map +0 -1
- package/dist/browser/pagingHelper.js +0 -30
- package/dist/browser/pagingHelper.js.map +0 -1
- package/dist/commonjs/educationManagementClient.d.ts.map +0 -1
- package/dist/commonjs/index.d.ts.map +0 -1
- package/dist/commonjs/models/index.d.ts.map +0 -1
- package/dist/commonjs/models/mappers.d.ts +0 -22
- package/dist/commonjs/models/mappers.d.ts.map +0 -1
- package/dist/commonjs/models/mappers.js +0 -757
- package/dist/commonjs/models/mappers.js.map +0 -1
- package/dist/commonjs/models/parameters.d.ts +0 -22
- package/dist/commonjs/models/parameters.d.ts.map +0 -1
- package/dist/commonjs/models/parameters.js +0 -188
- package/dist/commonjs/models/parameters.js.map +0 -1
- package/dist/commonjs/operations/grants.d.ts +0 -63
- package/dist/commonjs/operations/grants.d.ts.map +0 -1
- package/dist/commonjs/operations/grants.js +0 -255
- package/dist/commonjs/operations/grants.js.map +0 -1
- package/dist/commonjs/operations/index.d.ts +0 -7
- package/dist/commonjs/operations/index.d.ts.map +0 -1
- package/dist/commonjs/operations/index.js +0 -17
- package/dist/commonjs/operations/index.js.map +0 -1
- package/dist/commonjs/operations/joinRequests.d.ts +0 -68
- package/dist/commonjs/operations/joinRequests.d.ts.map +0 -1
- package/dist/commonjs/operations/joinRequests.js +0 -260
- package/dist/commonjs/operations/joinRequests.js.map +0 -1
- package/dist/commonjs/operations/labs.d.ts +0 -103
- package/dist/commonjs/operations/labs.d.ts.map +0 -1
- package/dist/commonjs/operations/labs.js +0 -407
- package/dist/commonjs/operations/labs.js.map +0 -1
- package/dist/commonjs/operations/operations.d.ts +0 -18
- package/dist/commonjs/operations/operations.d.ts.map +0 -1
- package/dist/commonjs/operations/operations.js +0 -52
- package/dist/commonjs/operations/operations.js.map +0 -1
- package/dist/commonjs/operations/studentLabs.d.ts +0 -38
- package/dist/commonjs/operations/studentLabs.d.ts.map +0 -1
- package/dist/commonjs/operations/studentLabs.js +0 -145
- package/dist/commonjs/operations/studentLabs.js.map +0 -1
- package/dist/commonjs/operations/students.d.ts +0 -70
- package/dist/commonjs/operations/students.d.ts.map +0 -1
- package/dist/commonjs/operations/students.js +0 -271
- package/dist/commonjs/operations/students.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/grants.d.ts +0 -25
- package/dist/commonjs/operationsInterfaces/grants.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/grants.js +0 -10
- package/dist/commonjs/operationsInterfaces/grants.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/index.d.ts +0 -7
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/index.js +0 -17
- package/dist/commonjs/operationsInterfaces/index.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/joinRequests.d.ts +0 -41
- package/dist/commonjs/operationsInterfaces/joinRequests.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/joinRequests.js +0 -10
- package/dist/commonjs/operationsInterfaces/joinRequests.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/labs.d.ts +0 -58
- package/dist/commonjs/operationsInterfaces/labs.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/labs.js +0 -10
- package/dist/commonjs/operationsInterfaces/labs.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/operations.d.ts +0 -10
- package/dist/commonjs/operationsInterfaces/operations.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/operations.js +0 -10
- package/dist/commonjs/operationsInterfaces/operations.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/studentLabs.d.ts +0 -17
- package/dist/commonjs/operationsInterfaces/studentLabs.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/studentLabs.js +0 -10
- package/dist/commonjs/operationsInterfaces/studentLabs.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/students.d.ts +0 -43
- package/dist/commonjs/operationsInterfaces/students.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/students.js +0 -10
- package/dist/commonjs/operationsInterfaces/students.js.map +0 -1
- package/dist/commonjs/pagingHelper.d.ts +0 -13
- package/dist/commonjs/pagingHelper.d.ts.map +0 -1
- package/dist/commonjs/pagingHelper.js +0 -34
- package/dist/commonjs/pagingHelper.js.map +0 -1
- package/dist/esm/educationManagementClient.d.ts.map +0 -1
- package/dist/esm/index.d.ts.map +0 -1
- package/dist/esm/models/index.d.ts.map +0 -1
- package/dist/esm/models/mappers.d.ts +0 -22
- package/dist/esm/models/mappers.d.ts.map +0 -1
- package/dist/esm/models/mappers.js +0 -754
- package/dist/esm/models/mappers.js.map +0 -1
- package/dist/esm/models/parameters.d.ts +0 -22
- package/dist/esm/models/parameters.d.ts.map +0 -1
- package/dist/esm/models/parameters.js +0 -185
- package/dist/esm/models/parameters.js.map +0 -1
- package/dist/esm/operations/grants.d.ts +0 -63
- package/dist/esm/operations/grants.d.ts.map +0 -1
- package/dist/esm/operations/grants.js +0 -250
- package/dist/esm/operations/grants.js.map +0 -1
- package/dist/esm/operations/index.d.ts +0 -7
- package/dist/esm/operations/index.d.ts.map +0 -1
- package/dist/esm/operations/index.js +0 -14
- package/dist/esm/operations/index.js.map +0 -1
- package/dist/esm/operations/joinRequests.d.ts +0 -68
- package/dist/esm/operations/joinRequests.d.ts.map +0 -1
- package/dist/esm/operations/joinRequests.js +0 -255
- package/dist/esm/operations/joinRequests.js.map +0 -1
- package/dist/esm/operations/labs.d.ts +0 -103
- package/dist/esm/operations/labs.d.ts.map +0 -1
- package/dist/esm/operations/labs.js +0 -402
- package/dist/esm/operations/labs.js.map +0 -1
- package/dist/esm/operations/operations.d.ts +0 -18
- package/dist/esm/operations/operations.d.ts.map +0 -1
- package/dist/esm/operations/operations.js +0 -47
- package/dist/esm/operations/operations.js.map +0 -1
- package/dist/esm/operations/studentLabs.d.ts +0 -38
- package/dist/esm/operations/studentLabs.d.ts.map +0 -1
- package/dist/esm/operations/studentLabs.js +0 -140
- package/dist/esm/operations/studentLabs.js.map +0 -1
- package/dist/esm/operations/students.d.ts +0 -70
- package/dist/esm/operations/students.d.ts.map +0 -1
- package/dist/esm/operations/students.js +0 -266
- package/dist/esm/operations/students.js.map +0 -1
- package/dist/esm/operationsInterfaces/grants.d.ts +0 -25
- package/dist/esm/operationsInterfaces/grants.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/grants.js +0 -9
- package/dist/esm/operationsInterfaces/grants.js.map +0 -1
- package/dist/esm/operationsInterfaces/index.d.ts +0 -7
- package/dist/esm/operationsInterfaces/index.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/index.js +0 -14
- package/dist/esm/operationsInterfaces/index.js.map +0 -1
- package/dist/esm/operationsInterfaces/joinRequests.d.ts +0 -41
- package/dist/esm/operationsInterfaces/joinRequests.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/joinRequests.js +0 -9
- package/dist/esm/operationsInterfaces/joinRequests.js.map +0 -1
- package/dist/esm/operationsInterfaces/labs.d.ts +0 -58
- package/dist/esm/operationsInterfaces/labs.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/labs.js +0 -9
- package/dist/esm/operationsInterfaces/labs.js.map +0 -1
- package/dist/esm/operationsInterfaces/operations.d.ts +0 -10
- package/dist/esm/operationsInterfaces/operations.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/operations.js +0 -9
- package/dist/esm/operationsInterfaces/operations.js.map +0 -1
- package/dist/esm/operationsInterfaces/studentLabs.d.ts +0 -17
- package/dist/esm/operationsInterfaces/studentLabs.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/studentLabs.js +0 -9
- package/dist/esm/operationsInterfaces/studentLabs.js.map +0 -1
- package/dist/esm/operationsInterfaces/students.d.ts +0 -43
- package/dist/esm/operationsInterfaces/students.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/students.js +0 -9
- package/dist/esm/operationsInterfaces/students.js.map +0 -1
- package/dist/esm/pagingHelper.d.ts +0 -13
- package/dist/esm/pagingHelper.d.ts.map +0 -1
- package/dist/esm/pagingHelper.js +0 -30
- package/dist/esm/pagingHelper.js.map +0 -1
- package/dist/react-native/educationManagementClient.d.ts +0 -29
- package/dist/react-native/educationManagementClient.d.ts.map +0 -1
- package/dist/react-native/educationManagementClient.js +0 -137
- package/dist/react-native/educationManagementClient.js.map +0 -1
- package/dist/react-native/index.d.ts +0 -5
- package/dist/react-native/index.d.ts.map +0 -1
- package/dist/react-native/index.js +0 -13
- package/dist/react-native/index.js.map +0 -1
- package/dist/react-native/models/index.d.ts +0 -685
- package/dist/react-native/models/index.d.ts.map +0 -1
- package/dist/react-native/models/index.js +0 -92
- package/dist/react-native/models/index.js.map +0 -1
- package/dist/react-native/models/mappers.d.ts +0 -22
- package/dist/react-native/models/mappers.d.ts.map +0 -1
- package/dist/react-native/models/mappers.js +0 -754
- package/dist/react-native/models/mappers.js.map +0 -1
- package/dist/react-native/models/parameters.d.ts +0 -22
- package/dist/react-native/models/parameters.d.ts.map +0 -1
- package/dist/react-native/models/parameters.js +0 -185
- package/dist/react-native/models/parameters.js.map +0 -1
- package/dist/react-native/operations/grants.d.ts +0 -63
- package/dist/react-native/operations/grants.d.ts.map +0 -1
- package/dist/react-native/operations/grants.js +0 -250
- package/dist/react-native/operations/grants.js.map +0 -1
- package/dist/react-native/operations/index.d.ts +0 -7
- package/dist/react-native/operations/index.d.ts.map +0 -1
- package/dist/react-native/operations/index.js +0 -14
- package/dist/react-native/operations/index.js.map +0 -1
- package/dist/react-native/operations/joinRequests.d.ts +0 -68
- package/dist/react-native/operations/joinRequests.d.ts.map +0 -1
- package/dist/react-native/operations/joinRequests.js +0 -255
- package/dist/react-native/operations/joinRequests.js.map +0 -1
- package/dist/react-native/operations/labs.d.ts +0 -103
- package/dist/react-native/operations/labs.d.ts.map +0 -1
- package/dist/react-native/operations/labs.js +0 -402
- package/dist/react-native/operations/labs.js.map +0 -1
- package/dist/react-native/operations/operations.d.ts +0 -18
- package/dist/react-native/operations/operations.d.ts.map +0 -1
- package/dist/react-native/operations/operations.js +0 -47
- package/dist/react-native/operations/operations.js.map +0 -1
- package/dist/react-native/operations/studentLabs.d.ts +0 -38
- package/dist/react-native/operations/studentLabs.d.ts.map +0 -1
- package/dist/react-native/operations/studentLabs.js +0 -140
- package/dist/react-native/operations/studentLabs.js.map +0 -1
- package/dist/react-native/operations/students.d.ts +0 -70
- package/dist/react-native/operations/students.d.ts.map +0 -1
- package/dist/react-native/operations/students.js +0 -266
- package/dist/react-native/operations/students.js.map +0 -1
- package/dist/react-native/operationsInterfaces/grants.d.ts +0 -25
- package/dist/react-native/operationsInterfaces/grants.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/grants.js +0 -9
- package/dist/react-native/operationsInterfaces/grants.js.map +0 -1
- package/dist/react-native/operationsInterfaces/index.d.ts +0 -7
- package/dist/react-native/operationsInterfaces/index.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/index.js +0 -14
- package/dist/react-native/operationsInterfaces/index.js.map +0 -1
- package/dist/react-native/operationsInterfaces/joinRequests.d.ts +0 -41
- package/dist/react-native/operationsInterfaces/joinRequests.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/joinRequests.js +0 -9
- package/dist/react-native/operationsInterfaces/joinRequests.js.map +0 -1
- package/dist/react-native/operationsInterfaces/labs.d.ts +0 -58
- package/dist/react-native/operationsInterfaces/labs.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/labs.js +0 -9
- package/dist/react-native/operationsInterfaces/labs.js.map +0 -1
- package/dist/react-native/operationsInterfaces/operations.d.ts +0 -10
- package/dist/react-native/operationsInterfaces/operations.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/operations.js +0 -9
- package/dist/react-native/operationsInterfaces/operations.js.map +0 -1
- package/dist/react-native/operationsInterfaces/studentLabs.d.ts +0 -17
- package/dist/react-native/operationsInterfaces/studentLabs.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/studentLabs.js +0 -9
- package/dist/react-native/operationsInterfaces/studentLabs.js.map +0 -1
- package/dist/react-native/operationsInterfaces/students.d.ts +0 -43
- package/dist/react-native/operationsInterfaces/students.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/students.js +0 -9
- package/dist/react-native/operationsInterfaces/students.js.map +0 -1
- package/dist/react-native/package.json +0 -3
- package/dist/react-native/pagingHelper.d.ts +0 -13
- package/dist/react-native/pagingHelper.d.ts.map +0 -1
- package/dist/react-native/pagingHelper.js +0 -30
- package/dist/react-native/pagingHelper.js.map +0 -1
- package/review/arm-education-node.api.md +0 -529
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/students/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,cAAc,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport { list, $delete, createOrUpdate, get } from \"./operations.js\";\nexport type {\n StudentsListOptionalParams,\n StudentsDeleteOptionalParams,\n StudentsCreateOrUpdateOptionalParams,\n StudentsGetOptionalParams,\n} from \"./options.js\";\n"]}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { EducationManagementContext as Client } from "../index.js";
|
|
2
|
+
import { StudentDetails, _StudentListResult } from "../../models/models.js";
|
|
3
|
+
import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
|
|
4
|
+
import { StudentsListOptionalParams, StudentsDeleteOptionalParams, StudentsCreateOrUpdateOptionalParams, StudentsGetOptionalParams } from "./options.js";
|
|
5
|
+
import { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
|
|
6
|
+
export declare function _listSend(context: Client, billingAccountName: string, billingProfileName: string, invoiceSectionName: string, options?: StudentsListOptionalParams): StreamableMethod;
|
|
7
|
+
export declare function _listDeserialize(result: PathUncheckedResponse): Promise<_StudentListResult>;
|
|
8
|
+
/** Get a list of details about students that are associated with the specified lab. */
|
|
9
|
+
export declare function list(context: Client, billingAccountName: string, billingProfileName: string, invoiceSectionName: string, options?: StudentsListOptionalParams): PagedAsyncIterableIterator<StudentDetails>;
|
|
10
|
+
export declare function _$deleteSend(context: Client, billingAccountName: string, billingProfileName: string, invoiceSectionName: string, studentAlias: string, options?: StudentsDeleteOptionalParams): StreamableMethod;
|
|
11
|
+
export declare function _$deleteDeserialize(result: PathUncheckedResponse): Promise<void>;
|
|
12
|
+
/** Delete the specified student based on the student alias. */
|
|
13
|
+
export declare function $delete(context: Client, billingAccountName: string, billingProfileName: string, invoiceSectionName: string, studentAlias: string, options?: StudentsDeleteOptionalParams): Promise<void>;
|
|
14
|
+
export declare function _createOrUpdateSend(context: Client, billingAccountName: string, billingProfileName: string, invoiceSectionName: string, studentAlias: string, parameters: StudentDetails, options?: StudentsCreateOrUpdateOptionalParams): StreamableMethod;
|
|
15
|
+
export declare function _createOrUpdateDeserialize(result: PathUncheckedResponse): Promise<StudentDetails>;
|
|
16
|
+
/** Create and add a new student to the specified lab or update the details of an existing student in a lab. Note the student must have a valid tenant to accept the lab after they have been added to lab. */
|
|
17
|
+
export declare function createOrUpdate(context: Client, billingAccountName: string, billingProfileName: string, invoiceSectionName: string, studentAlias: string, parameters: StudentDetails, options?: StudentsCreateOrUpdateOptionalParams): Promise<StudentDetails>;
|
|
18
|
+
export declare function _getSend(context: Client, billingAccountName: string, billingProfileName: string, invoiceSectionName: string, studentAlias: string, options?: StudentsGetOptionalParams): StreamableMethod;
|
|
19
|
+
export declare function _getDeserialize(result: PathUncheckedResponse): Promise<StudentDetails>;
|
|
20
|
+
/** Get the details for a specific student in the specified lab by student alias */
|
|
21
|
+
export declare function get(context: Client, billingAccountName: string, billingProfileName: string, invoiceSectionName: string, studentAlias: string, options?: StudentsGetOptionalParams): Promise<StudentDetails>;
|
|
22
|
+
//# sourceMappingURL=operations.d.ts.map
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
3
|
+
import { errorResponseBodyDeserializer, studentDetailsSerializer, studentDetailsDeserializer, _studentListResultDeserializer, } from "../../models/models.js";
|
|
4
|
+
import { buildPagedAsyncIterator, } from "../../static-helpers/pagingHelpers.js";
|
|
5
|
+
import { expandUrlTemplate } from "../../static-helpers/urlTemplate.js";
|
|
6
|
+
import { createRestError, operationOptionsToRequestParameters, } from "@azure-rest/core-client";
|
|
7
|
+
export function _listSend(context, billingAccountName, billingProfileName, invoiceSectionName, options = { requestOptions: {} }) {
|
|
8
|
+
const path = expandUrlTemplate("/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/providers/Microsoft.Education/labs/default/students{?api%2Dversion,includeDeleted}", {
|
|
9
|
+
billingAccountName: billingAccountName,
|
|
10
|
+
billingProfileName: billingProfileName,
|
|
11
|
+
invoiceSectionName: invoiceSectionName,
|
|
12
|
+
"api%2Dversion": context.apiVersion ?? "2021-12-01-preview",
|
|
13
|
+
includeDeleted: options?.includeDeleted,
|
|
14
|
+
}, {
|
|
15
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
16
|
+
});
|
|
17
|
+
return context.path(path).get({
|
|
18
|
+
...operationOptionsToRequestParameters(options),
|
|
19
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
export async function _listDeserialize(result) {
|
|
23
|
+
const expectedStatuses = ["200"];
|
|
24
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
25
|
+
const error = createRestError(result);
|
|
26
|
+
error.details = errorResponseBodyDeserializer(result.body);
|
|
27
|
+
throw error;
|
|
28
|
+
}
|
|
29
|
+
return _studentListResultDeserializer(result.body);
|
|
30
|
+
}
|
|
31
|
+
/** Get a list of details about students that are associated with the specified lab. */
|
|
32
|
+
export function list(context, billingAccountName, billingProfileName, invoiceSectionName, options = { requestOptions: {} }) {
|
|
33
|
+
return buildPagedAsyncIterator(context, () => _listSend(context, billingAccountName, billingProfileName, invoiceSectionName, options), _listDeserialize, ["200"], {
|
|
34
|
+
itemName: "value",
|
|
35
|
+
nextLinkName: "nextLink",
|
|
36
|
+
apiVersion: context.apiVersion ?? "2021-12-01-preview",
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
export function _$deleteSend(context, billingAccountName, billingProfileName, invoiceSectionName, studentAlias, options = { requestOptions: {} }) {
|
|
40
|
+
const path = expandUrlTemplate("/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/providers/Microsoft.Education/labs/default/students/{studentAlias}{?api%2Dversion}", {
|
|
41
|
+
billingAccountName: billingAccountName,
|
|
42
|
+
billingProfileName: billingProfileName,
|
|
43
|
+
invoiceSectionName: invoiceSectionName,
|
|
44
|
+
studentAlias: studentAlias,
|
|
45
|
+
"api%2Dversion": context.apiVersion ?? "2021-12-01-preview",
|
|
46
|
+
}, {
|
|
47
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
48
|
+
});
|
|
49
|
+
return context.path(path).delete({ ...operationOptionsToRequestParameters(options) });
|
|
50
|
+
}
|
|
51
|
+
export async function _$deleteDeserialize(result) {
|
|
52
|
+
const expectedStatuses = ["200", "204"];
|
|
53
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
54
|
+
const error = createRestError(result);
|
|
55
|
+
error.details = errorResponseBodyDeserializer(result.body);
|
|
56
|
+
throw error;
|
|
57
|
+
}
|
|
58
|
+
return;
|
|
59
|
+
}
|
|
60
|
+
/** Delete the specified student based on the student alias. */
|
|
61
|
+
export async function $delete(context, billingAccountName, billingProfileName, invoiceSectionName, studentAlias, options = { requestOptions: {} }) {
|
|
62
|
+
const result = await _$deleteSend(context, billingAccountName, billingProfileName, invoiceSectionName, studentAlias, options);
|
|
63
|
+
return _$deleteDeserialize(result);
|
|
64
|
+
}
|
|
65
|
+
export function _createOrUpdateSend(context, billingAccountName, billingProfileName, invoiceSectionName, studentAlias, parameters, options = { requestOptions: {} }) {
|
|
66
|
+
const path = expandUrlTemplate("/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/providers/Microsoft.Education/labs/default/students/{studentAlias}{?api%2Dversion}", {
|
|
67
|
+
billingAccountName: billingAccountName,
|
|
68
|
+
billingProfileName: billingProfileName,
|
|
69
|
+
invoiceSectionName: invoiceSectionName,
|
|
70
|
+
studentAlias: studentAlias,
|
|
71
|
+
"api%2Dversion": context.apiVersion ?? "2021-12-01-preview",
|
|
72
|
+
}, {
|
|
73
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
74
|
+
});
|
|
75
|
+
return context.path(path).put({
|
|
76
|
+
...operationOptionsToRequestParameters(options),
|
|
77
|
+
contentType: "application/json",
|
|
78
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
79
|
+
body: studentDetailsSerializer(parameters),
|
|
80
|
+
});
|
|
81
|
+
}
|
|
82
|
+
export async function _createOrUpdateDeserialize(result) {
|
|
83
|
+
const expectedStatuses = ["200", "201"];
|
|
84
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
85
|
+
const error = createRestError(result);
|
|
86
|
+
error.details = errorResponseBodyDeserializer(result.body);
|
|
87
|
+
throw error;
|
|
88
|
+
}
|
|
89
|
+
return studentDetailsDeserializer(result.body);
|
|
90
|
+
}
|
|
91
|
+
/** Create and add a new student to the specified lab or update the details of an existing student in a lab. Note the student must have a valid tenant to accept the lab after they have been added to lab. */
|
|
92
|
+
export async function createOrUpdate(context, billingAccountName, billingProfileName, invoiceSectionName, studentAlias, parameters, options = { requestOptions: {} }) {
|
|
93
|
+
const result = await _createOrUpdateSend(context, billingAccountName, billingProfileName, invoiceSectionName, studentAlias, parameters, options);
|
|
94
|
+
return _createOrUpdateDeserialize(result);
|
|
95
|
+
}
|
|
96
|
+
export function _getSend(context, billingAccountName, billingProfileName, invoiceSectionName, studentAlias, options = { requestOptions: {} }) {
|
|
97
|
+
const path = expandUrlTemplate("/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/providers/Microsoft.Education/labs/default/students/{studentAlias}{?api%2Dversion}", {
|
|
98
|
+
billingAccountName: billingAccountName,
|
|
99
|
+
billingProfileName: billingProfileName,
|
|
100
|
+
invoiceSectionName: invoiceSectionName,
|
|
101
|
+
studentAlias: studentAlias,
|
|
102
|
+
"api%2Dversion": context.apiVersion ?? "2021-12-01-preview",
|
|
103
|
+
}, {
|
|
104
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
105
|
+
});
|
|
106
|
+
return context.path(path).get({
|
|
107
|
+
...operationOptionsToRequestParameters(options),
|
|
108
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers },
|
|
109
|
+
});
|
|
110
|
+
}
|
|
111
|
+
export async function _getDeserialize(result) {
|
|
112
|
+
const expectedStatuses = ["200"];
|
|
113
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
114
|
+
const error = createRestError(result);
|
|
115
|
+
error.details = errorResponseBodyDeserializer(result.body);
|
|
116
|
+
throw error;
|
|
117
|
+
}
|
|
118
|
+
return studentDetailsDeserializer(result.body);
|
|
119
|
+
}
|
|
120
|
+
/** Get the details for a specific student in the specified lab by student alias */
|
|
121
|
+
export async function get(context, billingAccountName, billingProfileName, invoiceSectionName, studentAlias, options = { requestOptions: {} }) {
|
|
122
|
+
const result = await _getSend(context, billingAccountName, billingProfileName, invoiceSectionName, studentAlias, options);
|
|
123
|
+
return _getDeserialize(result);
|
|
124
|
+
}
|
|
125
|
+
//# sourceMappingURL=operations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../../src/api/students/operations.ts"],"names":[],"mappings":"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","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { EducationManagementContext as Client } from \"../index.js\";\nimport {\n errorResponseBodyDeserializer,\n StudentDetails,\n studentDetailsSerializer,\n studentDetailsDeserializer,\n _StudentListResult,\n _studentListResultDeserializer,\n} from \"../../models/models.js\";\nimport {\n PagedAsyncIterableIterator,\n buildPagedAsyncIterator,\n} from \"../../static-helpers/pagingHelpers.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.js\";\nimport {\n StudentsListOptionalParams,\n StudentsDeleteOptionalParams,\n StudentsCreateOrUpdateOptionalParams,\n StudentsGetOptionalParams,\n} from \"./options.js\";\nimport {\n StreamableMethod,\n PathUncheckedResponse,\n createRestError,\n operationOptionsToRequestParameters,\n} from \"@azure-rest/core-client\";\n\nexport function _listSend(\n context: Client,\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n options: StudentsListOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/providers/Microsoft.Education/labs/default/students{?api%2Dversion,includeDeleted}\",\n {\n billingAccountName: billingAccountName,\n billingProfileName: billingProfileName,\n invoiceSectionName: invoiceSectionName,\n \"api%2Dversion\": context.apiVersion ?? \"2021-12-01-preview\",\n includeDeleted: options?.includeDeleted,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _listDeserialize(result: PathUncheckedResponse): Promise<_StudentListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseBodyDeserializer(result.body);\n\n throw error;\n }\n\n return _studentListResultDeserializer(result.body);\n}\n\n/** Get a list of details about students that are associated with the specified lab. */\nexport function list(\n context: Client,\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n options: StudentsListOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<StudentDetails> {\n return buildPagedAsyncIterator(\n context,\n () => _listSend(context, billingAccountName, billingProfileName, invoiceSectionName, options),\n _listDeserialize,\n [\"200\"],\n {\n itemName: \"value\",\n nextLinkName: \"nextLink\",\n apiVersion: context.apiVersion ?? \"2021-12-01-preview\",\n },\n );\n}\n\nexport function _$deleteSend(\n context: Client,\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n studentAlias: string,\n options: StudentsDeleteOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/providers/Microsoft.Education/labs/default/students/{studentAlias}{?api%2Dversion}\",\n {\n billingAccountName: billingAccountName,\n billingProfileName: billingProfileName,\n invoiceSectionName: invoiceSectionName,\n studentAlias: studentAlias,\n \"api%2Dversion\": context.apiVersion ?? \"2021-12-01-preview\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).delete({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _$deleteDeserialize(result: PathUncheckedResponse): Promise<void> {\n const expectedStatuses = [\"200\", \"204\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseBodyDeserializer(result.body);\n\n throw error;\n }\n\n return;\n}\n\n/** Delete the specified student based on the student alias. */\nexport async function $delete(\n context: Client,\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n studentAlias: string,\n options: StudentsDeleteOptionalParams = { requestOptions: {} },\n): Promise<void> {\n const result = await _$deleteSend(\n context,\n billingAccountName,\n billingProfileName,\n invoiceSectionName,\n studentAlias,\n options,\n );\n return _$deleteDeserialize(result);\n}\n\nexport function _createOrUpdateSend(\n context: Client,\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n studentAlias: string,\n parameters: StudentDetails,\n options: StudentsCreateOrUpdateOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/providers/Microsoft.Education/labs/default/students/{studentAlias}{?api%2Dversion}\",\n {\n billingAccountName: billingAccountName,\n billingProfileName: billingProfileName,\n invoiceSectionName: invoiceSectionName,\n studentAlias: studentAlias,\n \"api%2Dversion\": context.apiVersion ?? \"2021-12-01-preview\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).put({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n body: studentDetailsSerializer(parameters),\n });\n}\n\nexport async function _createOrUpdateDeserialize(\n result: PathUncheckedResponse,\n): Promise<StudentDetails> {\n const expectedStatuses = [\"200\", \"201\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseBodyDeserializer(result.body);\n\n throw error;\n }\n\n return studentDetailsDeserializer(result.body);\n}\n\n/** Create and add a new student to the specified lab or update the details of an existing student in a lab. Note the student must have a valid tenant to accept the lab after they have been added to lab. */\nexport async function createOrUpdate(\n context: Client,\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n studentAlias: string,\n parameters: StudentDetails,\n options: StudentsCreateOrUpdateOptionalParams = { requestOptions: {} },\n): Promise<StudentDetails> {\n const result = await _createOrUpdateSend(\n context,\n billingAccountName,\n billingProfileName,\n invoiceSectionName,\n studentAlias,\n parameters,\n options,\n );\n return _createOrUpdateDeserialize(result);\n}\n\nexport function _getSend(\n context: Client,\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n studentAlias: string,\n options: StudentsGetOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/providers/Microsoft.Education/labs/default/students/{studentAlias}{?api%2Dversion}\",\n {\n billingAccountName: billingAccountName,\n billingProfileName: billingProfileName,\n invoiceSectionName: invoiceSectionName,\n studentAlias: studentAlias,\n \"api%2Dversion\": context.apiVersion ?? \"2021-12-01-preview\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _getDeserialize(result: PathUncheckedResponse): Promise<StudentDetails> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseBodyDeserializer(result.body);\n\n throw error;\n }\n\n return studentDetailsDeserializer(result.body);\n}\n\n/** Get the details for a specific student in the specified lab by student alias */\nexport async function get(\n context: Client,\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n studentAlias: string,\n options: StudentsGetOptionalParams = { requestOptions: {} },\n): Promise<StudentDetails> {\n const result = await _getSend(\n context,\n billingAccountName,\n billingProfileName,\n invoiceSectionName,\n studentAlias,\n options,\n );\n return _getDeserialize(result);\n}\n"]}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { OperationOptions } from "@azure-rest/core-client";
|
|
2
|
+
/** Optional parameters. */
|
|
3
|
+
export interface StudentsListOptionalParams extends OperationOptions {
|
|
4
|
+
/** May be used to show deleted items. */
|
|
5
|
+
includeDeleted?: boolean;
|
|
6
|
+
}
|
|
7
|
+
/** Optional parameters. */
|
|
8
|
+
export interface StudentsDeleteOptionalParams extends OperationOptions {
|
|
9
|
+
}
|
|
10
|
+
/** Optional parameters. */
|
|
11
|
+
export interface StudentsCreateOrUpdateOptionalParams extends OperationOptions {
|
|
12
|
+
}
|
|
13
|
+
/** Optional parameters. */
|
|
14
|
+
export interface StudentsGetOptionalParams extends OperationOptions {
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=options.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"options.js","sourceRoot":"","sources":["../../../../src/api/students/options.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { OperationOptions } from \"@azure-rest/core-client\";\n\n/** Optional parameters. */\nexport interface StudentsListOptionalParams extends OperationOptions {\n /** May be used to show deleted items. */\n includeDeleted?: boolean;\n}\n\n/** Optional parameters. */\nexport interface StudentsDeleteOptionalParams extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface StudentsCreateOrUpdateOptionalParams extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface StudentsGetOptionalParams extends OperationOptions {}\n"]}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { EducationManagementContext } from "../../api/educationManagementContext.js";
|
|
2
|
+
import { GrantsListAllOptionalParams, GrantsListOptionalParams, GrantsGetOptionalParams } from "../../api/grants/options.js";
|
|
3
|
+
import { GrantDetails } from "../../models/models.js";
|
|
4
|
+
import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
|
|
5
|
+
/** Interface representing a Grants operations. */
|
|
6
|
+
export interface GrantsOperations {
|
|
7
|
+
/** Get a list of grants that Microsoft has provided. */
|
|
8
|
+
listAll: (options?: GrantsListAllOptionalParams) => PagedAsyncIterableIterator<GrantDetails>;
|
|
9
|
+
/** Get details for a specific grant linked to the provided billing account and billing profile. */
|
|
10
|
+
list: (billingAccountName: string, billingProfileName: string, options?: GrantsListOptionalParams) => PagedAsyncIterableIterator<GrantDetails>;
|
|
11
|
+
/** Get details for a specific grant linked to the provided billing account and billing profile. */
|
|
12
|
+
get: (billingAccountName: string, billingProfileName: string, options?: GrantsGetOptionalParams) => Promise<GrantDetails>;
|
|
13
|
+
}
|
|
14
|
+
export declare function _getGrantsOperations(context: EducationManagementContext): GrantsOperations;
|
|
15
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
3
|
+
import { listAll, list, get } from "../../api/grants/operations.js";
|
|
4
|
+
function _getGrants(context) {
|
|
5
|
+
return {
|
|
6
|
+
listAll: (options) => listAll(context, options),
|
|
7
|
+
list: (billingAccountName, billingProfileName, options) => list(context, billingAccountName, billingProfileName, options),
|
|
8
|
+
get: (billingAccountName, billingProfileName, options) => get(context, billingAccountName, billingProfileName, options),
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
export function _getGrantsOperations(context) {
|
|
12
|
+
return {
|
|
13
|
+
..._getGrants(context),
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/classic/grants/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,gCAAgC,CAAC;AA2BpE,SAAS,UAAU,CAAC,OAAmC;IACrD,OAAO;QACL,OAAO,EAAE,CAAC,OAAqC,EAAE,EAAE,CAAC,OAAO,CAAC,OAAO,EAAE,OAAO,CAAC;QAC7E,IAAI,EAAE,CACJ,kBAA0B,EAC1B,kBAA0B,EAC1B,OAAkC,EAClC,EAAE,CAAC,IAAI,CAAC,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,OAAO,CAAC;QACnE,GAAG,EAAE,CACH,kBAA0B,EAC1B,kBAA0B,EAC1B,OAAiC,EACjC,EAAE,CAAC,GAAG,CAAC,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,OAAO,CAAC;KACnE,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,oBAAoB,CAAC,OAAmC;IACtE,OAAO;QACL,GAAG,UAAU,CAAC,OAAO,CAAC;KACvB,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { EducationManagementContext } from \"../../api/educationManagementContext.js\";\nimport { listAll, list, get } from \"../../api/grants/operations.js\";\nimport {\n GrantsListAllOptionalParams,\n GrantsListOptionalParams,\n GrantsGetOptionalParams,\n} from \"../../api/grants/options.js\";\nimport { GrantDetails } from \"../../models/models.js\";\nimport { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\n\n/** Interface representing a Grants operations. */\nexport interface GrantsOperations {\n /** Get a list of grants that Microsoft has provided. */\n listAll: (options?: GrantsListAllOptionalParams) => PagedAsyncIterableIterator<GrantDetails>;\n /** Get details for a specific grant linked to the provided billing account and billing profile. */\n list: (\n billingAccountName: string,\n billingProfileName: string,\n options?: GrantsListOptionalParams,\n ) => PagedAsyncIterableIterator<GrantDetails>;\n /** Get details for a specific grant linked to the provided billing account and billing profile. */\n get: (\n billingAccountName: string,\n billingProfileName: string,\n options?: GrantsGetOptionalParams,\n ) => Promise<GrantDetails>;\n}\n\nfunction _getGrants(context: EducationManagementContext) {\n return {\n listAll: (options?: GrantsListAllOptionalParams) => listAll(context, options),\n list: (\n billingAccountName: string,\n billingProfileName: string,\n options?: GrantsListOptionalParams,\n ) => list(context, billingAccountName, billingProfileName, options),\n get: (\n billingAccountName: string,\n billingProfileName: string,\n options?: GrantsGetOptionalParams,\n ) => get(context, billingAccountName, billingProfileName, options),\n };\n}\n\nexport function _getGrantsOperations(context: EducationManagementContext): GrantsOperations {\n return {\n ..._getGrants(context),\n };\n}\n"]}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export type { GrantsOperations } from "./grants/index.js";
|
|
2
|
+
export type { JoinRequestsOperations } from "./joinRequests/index.js";
|
|
3
|
+
export type { LabsOperations } from "./labs/index.js";
|
|
4
|
+
export type { OperationsOperations } from "./operations/index.js";
|
|
5
|
+
export type { StudentLabsOperations } from "./studentLabs/index.js";
|
|
6
|
+
export type { StudentsOperations } from "./students/index.js";
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/classic/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport type { GrantsOperations } from \"./grants/index.js\";\nexport type { JoinRequestsOperations } from \"./joinRequests/index.js\";\nexport type { LabsOperations } from \"./labs/index.js\";\nexport type { OperationsOperations } from \"./operations/index.js\";\nexport type { StudentLabsOperations } from \"./studentLabs/index.js\";\nexport type { StudentsOperations } from \"./students/index.js\";\n"]}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { EducationManagementContext } from "../../api/educationManagementContext.js";
|
|
2
|
+
import { JoinRequestsDenyOptionalParams, JoinRequestsApproveOptionalParams, JoinRequestsListOptionalParams, JoinRequestsGetOptionalParams } from "../../api/joinRequests/options.js";
|
|
3
|
+
import { JoinRequestDetails } from "../../models/models.js";
|
|
4
|
+
import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
|
|
5
|
+
/** Interface representing a JoinRequests operations. */
|
|
6
|
+
export interface JoinRequestsOperations {
|
|
7
|
+
/** Deny student joining the redeemable lab */
|
|
8
|
+
deny: (billingAccountName: string, billingProfileName: string, invoiceSectionName: string, joinRequestName: string, options?: JoinRequestsDenyOptionalParams) => Promise<void>;
|
|
9
|
+
/** Approve student joining the redeemable lab */
|
|
10
|
+
approve: (billingAccountName: string, billingProfileName: string, invoiceSectionName: string, joinRequestName: string, options?: JoinRequestsApproveOptionalParams) => Promise<void>;
|
|
11
|
+
/** get student join requests */
|
|
12
|
+
list: (billingAccountName: string, billingProfileName: string, invoiceSectionName: string, options?: JoinRequestsListOptionalParams) => PagedAsyncIterableIterator<JoinRequestDetails>;
|
|
13
|
+
/** get student join requests */
|
|
14
|
+
get: (billingAccountName: string, billingProfileName: string, invoiceSectionName: string, joinRequestName: string, options?: JoinRequestsGetOptionalParams) => Promise<JoinRequestDetails>;
|
|
15
|
+
}
|
|
16
|
+
export declare function _getJoinRequestsOperations(context: EducationManagementContext): JoinRequestsOperations;
|
|
17
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
3
|
+
import { deny, approve, list, get } from "../../api/joinRequests/operations.js";
|
|
4
|
+
function _getJoinRequests(context) {
|
|
5
|
+
return {
|
|
6
|
+
deny: (billingAccountName, billingProfileName, invoiceSectionName, joinRequestName, options) => deny(context, billingAccountName, billingProfileName, invoiceSectionName, joinRequestName, options),
|
|
7
|
+
approve: (billingAccountName, billingProfileName, invoiceSectionName, joinRequestName, options) => approve(context, billingAccountName, billingProfileName, invoiceSectionName, joinRequestName, options),
|
|
8
|
+
list: (billingAccountName, billingProfileName, invoiceSectionName, options) => list(context, billingAccountName, billingProfileName, invoiceSectionName, options),
|
|
9
|
+
get: (billingAccountName, billingProfileName, invoiceSectionName, joinRequestName, options) => get(context, billingAccountName, billingProfileName, invoiceSectionName, joinRequestName, options),
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
export function _getJoinRequestsOperations(context) {
|
|
13
|
+
return {
|
|
14
|
+
..._getJoinRequests(context),
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/classic/joinRequests/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,sCAAsC,CAAC;AA6ChF,SAAS,gBAAgB,CAAC,OAAmC;IAC3D,OAAO;QACL,IAAI,EAAE,CACJ,kBAA0B,EAC1B,kBAA0B,EAC1B,kBAA0B,EAC1B,eAAuB,EACvB,OAAwC,EACxC,EAAE,CACF,IAAI,CACF,OAAO,EACP,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,eAAe,EACf,OAAO,CACR;QACH,OAAO,EAAE,CACP,kBAA0B,EAC1B,kBAA0B,EAC1B,kBAA0B,EAC1B,eAAuB,EACvB,OAA2C,EAC3C,EAAE,CACF,OAAO,CACL,OAAO,EACP,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,eAAe,EACf,OAAO,CACR;QACH,IAAI,EAAE,CACJ,kBAA0B,EAC1B,kBAA0B,EAC1B,kBAA0B,EAC1B,OAAwC,EACxC,EAAE,CAAC,IAAI,CAAC,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,OAAO,CAAC;QACvF,GAAG,EAAE,CACH,kBAA0B,EAC1B,kBAA0B,EAC1B,kBAA0B,EAC1B,eAAuB,EACvB,OAAuC,EACvC,EAAE,CACF,GAAG,CACD,OAAO,EACP,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,eAAe,EACf,OAAO,CACR;KACJ,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,0BAA0B,CACxC,OAAmC;IAEnC,OAAO;QACL,GAAG,gBAAgB,CAAC,OAAO,CAAC;KAC7B,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { EducationManagementContext } from \"../../api/educationManagementContext.js\";\nimport { deny, approve, list, get } from \"../../api/joinRequests/operations.js\";\nimport {\n JoinRequestsDenyOptionalParams,\n JoinRequestsApproveOptionalParams,\n JoinRequestsListOptionalParams,\n JoinRequestsGetOptionalParams,\n} from \"../../api/joinRequests/options.js\";\nimport { JoinRequestDetails } from \"../../models/models.js\";\nimport { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\n\n/** Interface representing a JoinRequests operations. */\nexport interface JoinRequestsOperations {\n /** Deny student joining the redeemable lab */\n deny: (\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n joinRequestName: string,\n options?: JoinRequestsDenyOptionalParams,\n ) => Promise<void>;\n /** Approve student joining the redeemable lab */\n approve: (\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n joinRequestName: string,\n options?: JoinRequestsApproveOptionalParams,\n ) => Promise<void>;\n /** get student join requests */\n list: (\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n options?: JoinRequestsListOptionalParams,\n ) => PagedAsyncIterableIterator<JoinRequestDetails>;\n /** get student join requests */\n get: (\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n joinRequestName: string,\n options?: JoinRequestsGetOptionalParams,\n ) => Promise<JoinRequestDetails>;\n}\n\nfunction _getJoinRequests(context: EducationManagementContext) {\n return {\n deny: (\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n joinRequestName: string,\n options?: JoinRequestsDenyOptionalParams,\n ) =>\n deny(\n context,\n billingAccountName,\n billingProfileName,\n invoiceSectionName,\n joinRequestName,\n options,\n ),\n approve: (\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n joinRequestName: string,\n options?: JoinRequestsApproveOptionalParams,\n ) =>\n approve(\n context,\n billingAccountName,\n billingProfileName,\n invoiceSectionName,\n joinRequestName,\n options,\n ),\n list: (\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n options?: JoinRequestsListOptionalParams,\n ) => list(context, billingAccountName, billingProfileName, invoiceSectionName, options),\n get: (\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n joinRequestName: string,\n options?: JoinRequestsGetOptionalParams,\n ) =>\n get(\n context,\n billingAccountName,\n billingProfileName,\n invoiceSectionName,\n joinRequestName,\n options,\n ),\n };\n}\n\nexport function _getJoinRequestsOperations(\n context: EducationManagementContext,\n): JoinRequestsOperations {\n return {\n ..._getJoinRequests(context),\n };\n}\n"]}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { EducationManagementContext } from "../../api/educationManagementContext.js";
|
|
2
|
+
import { LabsGenerateInviteCodeOptionalParams, LabsListAllOptionalParams, LabsListOptionalParams, LabsDeleteOptionalParams, LabsCreateOrUpdateOptionalParams, LabsGetOptionalParams } from "../../api/labs/options.js";
|
|
3
|
+
import { LabDetails, InviteCodeGenerateRequest } from "../../models/models.js";
|
|
4
|
+
import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
|
|
5
|
+
/** Interface representing a Labs operations. */
|
|
6
|
+
export interface LabsOperations {
|
|
7
|
+
/** Generate invite code for a lab */
|
|
8
|
+
generateInviteCode: (billingAccountName: string, billingProfileName: string, invoiceSectionName: string, parameters: InviteCodeGenerateRequest, options?: LabsGenerateInviteCodeOptionalParams) => Promise<LabDetails>;
|
|
9
|
+
/** Get a list of labs associated with the provided billing account name and billing profile name. */
|
|
10
|
+
listAll: (billingAccountName: string, billingProfileName: string, options?: LabsListAllOptionalParams) => PagedAsyncIterableIterator<LabDetails>;
|
|
11
|
+
/** Get the details for a specific lab associated with the provided billing account name, billing profile name, and invoice section name. */
|
|
12
|
+
list: (billingAccountName: string, billingProfileName: string, invoiceSectionName: string, options?: LabsListOptionalParams) => PagedAsyncIterableIterator<LabDetails>;
|
|
13
|
+
/** Delete a specific lab associated with the provided billing account name, billing profile name, and invoice section name. Note all students must be removed from the lab in order to delete the lab. */
|
|
14
|
+
delete: (billingAccountName: string, billingProfileName: string, invoiceSectionName: string, options?: LabsDeleteOptionalParams) => Promise<void>;
|
|
15
|
+
/** Create a new lab or update a previously created lab. */
|
|
16
|
+
createOrUpdate: (billingAccountName: string, billingProfileName: string, invoiceSectionName: string, parameters: LabDetails, options?: LabsCreateOrUpdateOptionalParams) => Promise<LabDetails>;
|
|
17
|
+
/** Get the details for a specific lab associated with the provided billing account name, billing profile name, and invoice section name. */
|
|
18
|
+
get: (billingAccountName: string, billingProfileName: string, invoiceSectionName: string, options?: LabsGetOptionalParams) => Promise<LabDetails>;
|
|
19
|
+
}
|
|
20
|
+
export declare function _getLabsOperations(context: EducationManagementContext): LabsOperations;
|
|
21
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
3
|
+
import { generateInviteCode, listAll, list, $delete, createOrUpdate, get, } from "../../api/labs/operations.js";
|
|
4
|
+
function _getLabs(context) {
|
|
5
|
+
return {
|
|
6
|
+
generateInviteCode: (billingAccountName, billingProfileName, invoiceSectionName, parameters, options) => generateInviteCode(context, billingAccountName, billingProfileName, invoiceSectionName, parameters, options),
|
|
7
|
+
listAll: (billingAccountName, billingProfileName, options) => listAll(context, billingAccountName, billingProfileName, options),
|
|
8
|
+
list: (billingAccountName, billingProfileName, invoiceSectionName, options) => list(context, billingAccountName, billingProfileName, invoiceSectionName, options),
|
|
9
|
+
delete: (billingAccountName, billingProfileName, invoiceSectionName, options) => $delete(context, billingAccountName, billingProfileName, invoiceSectionName, options),
|
|
10
|
+
createOrUpdate: (billingAccountName, billingProfileName, invoiceSectionName, parameters, options) => createOrUpdate(context, billingAccountName, billingProfileName, invoiceSectionName, parameters, options),
|
|
11
|
+
get: (billingAccountName, billingProfileName, invoiceSectionName, options) => get(context, billingAccountName, billingProfileName, invoiceSectionName, options),
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
export function _getLabsOperations(context) {
|
|
15
|
+
return {
|
|
16
|
+
..._getLabs(context),
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/classic/labs/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EACL,kBAAkB,EAClB,OAAO,EACP,IAAI,EACJ,OAAO,EACP,cAAc,EACd,GAAG,GACJ,MAAM,8BAA8B,CAAC;AA2DtC,SAAS,QAAQ,CAAC,OAAmC;IACnD,OAAO;QACL,kBAAkB,EAAE,CAClB,kBAA0B,EAC1B,kBAA0B,EAC1B,kBAA0B,EAC1B,UAAqC,EACrC,OAA8C,EAC9C,EAAE,CACF,kBAAkB,CAChB,OAAO,EACP,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,UAAU,EACV,OAAO,CACR;QACH,OAAO,EAAE,CACP,kBAA0B,EAC1B,kBAA0B,EAC1B,OAAmC,EACnC,EAAE,CAAC,OAAO,CAAC,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,OAAO,CAAC;QACtE,IAAI,EAAE,CACJ,kBAA0B,EAC1B,kBAA0B,EAC1B,kBAA0B,EAC1B,OAAgC,EAChC,EAAE,CAAC,IAAI,CAAC,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,OAAO,CAAC;QACvF,MAAM,EAAE,CACN,kBAA0B,EAC1B,kBAA0B,EAC1B,kBAA0B,EAC1B,OAAkC,EAClC,EAAE,CAAC,OAAO,CAAC,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,OAAO,CAAC;QAC1F,cAAc,EAAE,CACd,kBAA0B,EAC1B,kBAA0B,EAC1B,kBAA0B,EAC1B,UAAsB,EACtB,OAA0C,EAC1C,EAAE,CACF,cAAc,CACZ,OAAO,EACP,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,UAAU,EACV,OAAO,CACR;QACH,GAAG,EAAE,CACH,kBAA0B,EAC1B,kBAA0B,EAC1B,kBAA0B,EAC1B,OAA+B,EAC/B,EAAE,CAAC,GAAG,CAAC,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,OAAO,CAAC;KACvF,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,kBAAkB,CAAC,OAAmC;IACpE,OAAO;QACL,GAAG,QAAQ,CAAC,OAAO,CAAC;KACrB,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { EducationManagementContext } from \"../../api/educationManagementContext.js\";\nimport {\n generateInviteCode,\n listAll,\n list,\n $delete,\n createOrUpdate,\n get,\n} from \"../../api/labs/operations.js\";\nimport {\n LabsGenerateInviteCodeOptionalParams,\n LabsListAllOptionalParams,\n LabsListOptionalParams,\n LabsDeleteOptionalParams,\n LabsCreateOrUpdateOptionalParams,\n LabsGetOptionalParams,\n} from \"../../api/labs/options.js\";\nimport { LabDetails, InviteCodeGenerateRequest } from \"../../models/models.js\";\nimport { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\n\n/** Interface representing a Labs operations. */\nexport interface LabsOperations {\n /** Generate invite code for a lab */\n generateInviteCode: (\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n parameters: InviteCodeGenerateRequest,\n options?: LabsGenerateInviteCodeOptionalParams,\n ) => Promise<LabDetails>;\n /** Get a list of labs associated with the provided billing account name and billing profile name. */\n listAll: (\n billingAccountName: string,\n billingProfileName: string,\n options?: LabsListAllOptionalParams,\n ) => PagedAsyncIterableIterator<LabDetails>;\n /** Get the details for a specific lab associated with the provided billing account name, billing profile name, and invoice section name. */\n list: (\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n options?: LabsListOptionalParams,\n ) => PagedAsyncIterableIterator<LabDetails>;\n /** Delete a specific lab associated with the provided billing account name, billing profile name, and invoice section name. Note all students must be removed from the lab in order to delete the lab. */\n delete: (\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n options?: LabsDeleteOptionalParams,\n ) => Promise<void>;\n /** Create a new lab or update a previously created lab. */\n createOrUpdate: (\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n parameters: LabDetails,\n options?: LabsCreateOrUpdateOptionalParams,\n ) => Promise<LabDetails>;\n /** Get the details for a specific lab associated with the provided billing account name, billing profile name, and invoice section name. */\n get: (\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n options?: LabsGetOptionalParams,\n ) => Promise<LabDetails>;\n}\n\nfunction _getLabs(context: EducationManagementContext) {\n return {\n generateInviteCode: (\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n parameters: InviteCodeGenerateRequest,\n options?: LabsGenerateInviteCodeOptionalParams,\n ) =>\n generateInviteCode(\n context,\n billingAccountName,\n billingProfileName,\n invoiceSectionName,\n parameters,\n options,\n ),\n listAll: (\n billingAccountName: string,\n billingProfileName: string,\n options?: LabsListAllOptionalParams,\n ) => listAll(context, billingAccountName, billingProfileName, options),\n list: (\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n options?: LabsListOptionalParams,\n ) => list(context, billingAccountName, billingProfileName, invoiceSectionName, options),\n delete: (\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n options?: LabsDeleteOptionalParams,\n ) => $delete(context, billingAccountName, billingProfileName, invoiceSectionName, options),\n createOrUpdate: (\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n parameters: LabDetails,\n options?: LabsCreateOrUpdateOptionalParams,\n ) =>\n createOrUpdate(\n context,\n billingAccountName,\n billingProfileName,\n invoiceSectionName,\n parameters,\n options,\n ),\n get: (\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n options?: LabsGetOptionalParams,\n ) => get(context, billingAccountName, billingProfileName, invoiceSectionName, options),\n };\n}\n\nexport function _getLabsOperations(context: EducationManagementContext): LabsOperations {\n return {\n ..._getLabs(context),\n };\n}\n"]}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { EducationManagementContext } from "../../api/educationManagementContext.js";
|
|
2
|
+
import { OperationsListOptionalParams } from "../../api/operations/options.js";
|
|
3
|
+
import { OperationListResult } from "../../models/models.js";
|
|
4
|
+
/** Interface representing a Operations operations. */
|
|
5
|
+
export interface OperationsOperations {
|
|
6
|
+
/** Lists all of the available Microsoft.Education API operations. */
|
|
7
|
+
list: (options?: OperationsListOptionalParams) => Promise<OperationListResult>;
|
|
8
|
+
}
|
|
9
|
+
export declare function _getOperationsOperations(context: EducationManagementContext): OperationsOperations;
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
3
|
+
import { list } from "../../api/operations/operations.js";
|
|
4
|
+
function _getOperations(context) {
|
|
5
|
+
return {
|
|
6
|
+
list: (options) => list(context, options),
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
export function _getOperationsOperations(context) {
|
|
10
|
+
return {
|
|
11
|
+
..._getOperations(context),
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/classic/operations/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EAAE,IAAI,EAAE,MAAM,oCAAoC,CAAC;AAU1D,SAAS,cAAc,CAAC,OAAmC;IACzD,OAAO;QACL,IAAI,EAAE,CAAC,OAAsC,EAAE,EAAE,CAAC,IAAI,CAAC,OAAO,EAAE,OAAO,CAAC;KACzE,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,wBAAwB,CACtC,OAAmC;IAEnC,OAAO;QACL,GAAG,cAAc,CAAC,OAAO,CAAC;KAC3B,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { EducationManagementContext } from \"../../api/educationManagementContext.js\";\nimport { list } from \"../../api/operations/operations.js\";\nimport { OperationsListOptionalParams } from \"../../api/operations/options.js\";\nimport { OperationListResult } from \"../../models/models.js\";\n\n/** Interface representing a Operations operations. */\nexport interface OperationsOperations {\n /** Lists all of the available Microsoft.Education API operations. */\n list: (options?: OperationsListOptionalParams) => Promise<OperationListResult>;\n}\n\nfunction _getOperations(context: EducationManagementContext) {\n return {\n list: (options?: OperationsListOptionalParams) => list(context, options),\n };\n}\n\nexport function _getOperationsOperations(\n context: EducationManagementContext,\n): OperationsOperations {\n return {\n ..._getOperations(context),\n };\n}\n"]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { EducationManagementContext } from "../../api/educationManagementContext.js";
|
|
2
|
+
import { StudentLabsListAllOptionalParams, StudentLabsGetOptionalParams } from "../../api/studentLabs/options.js";
|
|
3
|
+
import { StudentLabDetails } from "../../models/models.js";
|
|
4
|
+
import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
|
|
5
|
+
/** Interface representing a StudentLabs operations. */
|
|
6
|
+
export interface StudentLabsOperations {
|
|
7
|
+
/** Get a list of all labs associated with the caller of the API. */
|
|
8
|
+
listAll: (options?: StudentLabsListAllOptionalParams) => PagedAsyncIterableIterator<StudentLabDetails>;
|
|
9
|
+
/** Get the details for a specified lab associated with the student lab. */
|
|
10
|
+
get: (studentLabName: string, options?: StudentLabsGetOptionalParams) => Promise<StudentLabDetails>;
|
|
11
|
+
}
|
|
12
|
+
export declare function _getStudentLabsOperations(context: EducationManagementContext): StudentLabsOperations;
|
|
13
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
3
|
+
import { listAll, get } from "../../api/studentLabs/operations.js";
|
|
4
|
+
function _getStudentLabs(context) {
|
|
5
|
+
return {
|
|
6
|
+
listAll: (options) => listAll(context, options),
|
|
7
|
+
get: (studentLabName, options) => get(context, studentLabName, options),
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
export function _getStudentLabsOperations(context) {
|
|
11
|
+
return {
|
|
12
|
+
..._getStudentLabs(context),
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/classic/studentLabs/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EAAE,OAAO,EAAE,GAAG,EAAE,MAAM,qCAAqC,CAAC;AAqBnE,SAAS,eAAe,CAAC,OAAmC;IAC1D,OAAO;QACL,OAAO,EAAE,CAAC,OAA0C,EAAE,EAAE,CAAC,OAAO,CAAC,OAAO,EAAE,OAAO,CAAC;QAClF,GAAG,EAAE,CAAC,cAAsB,EAAE,OAAsC,EAAE,EAAE,CACtE,GAAG,CAAC,OAAO,EAAE,cAAc,EAAE,OAAO,CAAC;KACxC,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,yBAAyB,CACvC,OAAmC;IAEnC,OAAO;QACL,GAAG,eAAe,CAAC,OAAO,CAAC;KAC5B,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { EducationManagementContext } from \"../../api/educationManagementContext.js\";\nimport { listAll, get } from \"../../api/studentLabs/operations.js\";\nimport {\n StudentLabsListAllOptionalParams,\n StudentLabsGetOptionalParams,\n} from \"../../api/studentLabs/options.js\";\nimport { StudentLabDetails } from \"../../models/models.js\";\nimport { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\n\n/** Interface representing a StudentLabs operations. */\nexport interface StudentLabsOperations {\n /** Get a list of all labs associated with the caller of the API. */\n listAll: (\n options?: StudentLabsListAllOptionalParams,\n ) => PagedAsyncIterableIterator<StudentLabDetails>;\n /** Get the details for a specified lab associated with the student lab. */\n get: (\n studentLabName: string,\n options?: StudentLabsGetOptionalParams,\n ) => Promise<StudentLabDetails>;\n}\n\nfunction _getStudentLabs(context: EducationManagementContext) {\n return {\n listAll: (options?: StudentLabsListAllOptionalParams) => listAll(context, options),\n get: (studentLabName: string, options?: StudentLabsGetOptionalParams) =>\n get(context, studentLabName, options),\n };\n}\n\nexport function _getStudentLabsOperations(\n context: EducationManagementContext,\n): StudentLabsOperations {\n return {\n ..._getStudentLabs(context),\n };\n}\n"]}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { EducationManagementContext } from "../../api/educationManagementContext.js";
|
|
2
|
+
import { StudentsListOptionalParams, StudentsDeleteOptionalParams, StudentsCreateOrUpdateOptionalParams, StudentsGetOptionalParams } from "../../api/students/options.js";
|
|
3
|
+
import { StudentDetails } from "../../models/models.js";
|
|
4
|
+
import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
|
|
5
|
+
/** Interface representing a Students operations. */
|
|
6
|
+
export interface StudentsOperations {
|
|
7
|
+
/** Get a list of details about students that are associated with the specified lab. */
|
|
8
|
+
list: (billingAccountName: string, billingProfileName: string, invoiceSectionName: string, options?: StudentsListOptionalParams) => PagedAsyncIterableIterator<StudentDetails>;
|
|
9
|
+
/** Delete the specified student based on the student alias. */
|
|
10
|
+
delete: (billingAccountName: string, billingProfileName: string, invoiceSectionName: string, studentAlias: string, options?: StudentsDeleteOptionalParams) => Promise<void>;
|
|
11
|
+
/** Create and add a new student to the specified lab or update the details of an existing student in a lab. Note the student must have a valid tenant to accept the lab after they have been added to lab. */
|
|
12
|
+
createOrUpdate: (billingAccountName: string, billingProfileName: string, invoiceSectionName: string, studentAlias: string, parameters: StudentDetails, options?: StudentsCreateOrUpdateOptionalParams) => Promise<StudentDetails>;
|
|
13
|
+
/** Get the details for a specific student in the specified lab by student alias */
|
|
14
|
+
get: (billingAccountName: string, billingProfileName: string, invoiceSectionName: string, studentAlias: string, options?: StudentsGetOptionalParams) => Promise<StudentDetails>;
|
|
15
|
+
}
|
|
16
|
+
export declare function _getStudentsOperations(context: EducationManagementContext): StudentsOperations;
|
|
17
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
3
|
+
import { list, $delete, createOrUpdate, get } from "../../api/students/operations.js";
|
|
4
|
+
function _getStudents(context) {
|
|
5
|
+
return {
|
|
6
|
+
list: (billingAccountName, billingProfileName, invoiceSectionName, options) => list(context, billingAccountName, billingProfileName, invoiceSectionName, options),
|
|
7
|
+
delete: (billingAccountName, billingProfileName, invoiceSectionName, studentAlias, options) => $delete(context, billingAccountName, billingProfileName, invoiceSectionName, studentAlias, options),
|
|
8
|
+
createOrUpdate: (billingAccountName, billingProfileName, invoiceSectionName, studentAlias, parameters, options) => createOrUpdate(context, billingAccountName, billingProfileName, invoiceSectionName, studentAlias, parameters, options),
|
|
9
|
+
get: (billingAccountName, billingProfileName, invoiceSectionName, studentAlias, options) => get(context, billingAccountName, billingProfileName, invoiceSectionName, studentAlias, options),
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
export function _getStudentsOperations(context) {
|
|
13
|
+
return {
|
|
14
|
+
..._getStudents(context),
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/classic/students/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,cAAc,EAAE,GAAG,EAAE,MAAM,kCAAkC,CAAC;AA8CtF,SAAS,YAAY,CAAC,OAAmC;IACvD,OAAO;QACL,IAAI,EAAE,CACJ,kBAA0B,EAC1B,kBAA0B,EAC1B,kBAA0B,EAC1B,OAAoC,EACpC,EAAE,CAAC,IAAI,CAAC,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,OAAO,CAAC;QACvF,MAAM,EAAE,CACN,kBAA0B,EAC1B,kBAA0B,EAC1B,kBAA0B,EAC1B,YAAoB,EACpB,OAAsC,EACtC,EAAE,CACF,OAAO,CACL,OAAO,EACP,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,YAAY,EACZ,OAAO,CACR;QACH,cAAc,EAAE,CACd,kBAA0B,EAC1B,kBAA0B,EAC1B,kBAA0B,EAC1B,YAAoB,EACpB,UAA0B,EAC1B,OAA8C,EAC9C,EAAE,CACF,cAAc,CACZ,OAAO,EACP,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,YAAY,EACZ,UAAU,EACV,OAAO,CACR;QACH,GAAG,EAAE,CACH,kBAA0B,EAC1B,kBAA0B,EAC1B,kBAA0B,EAC1B,YAAoB,EACpB,OAAmC,EACnC,EAAE,CACF,GAAG,CACD,OAAO,EACP,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,YAAY,EACZ,OAAO,CACR;KACJ,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,sBAAsB,CAAC,OAAmC;IACxE,OAAO;QACL,GAAG,YAAY,CAAC,OAAO,CAAC;KACzB,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { EducationManagementContext } from \"../../api/educationManagementContext.js\";\nimport { list, $delete, createOrUpdate, get } from \"../../api/students/operations.js\";\nimport {\n StudentsListOptionalParams,\n StudentsDeleteOptionalParams,\n StudentsCreateOrUpdateOptionalParams,\n StudentsGetOptionalParams,\n} from \"../../api/students/options.js\";\nimport { StudentDetails } from \"../../models/models.js\";\nimport { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\n\n/** Interface representing a Students operations. */\nexport interface StudentsOperations {\n /** Get a list of details about students that are associated with the specified lab. */\n list: (\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n options?: StudentsListOptionalParams,\n ) => PagedAsyncIterableIterator<StudentDetails>;\n /** Delete the specified student based on the student alias. */\n delete: (\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n studentAlias: string,\n options?: StudentsDeleteOptionalParams,\n ) => Promise<void>;\n /** Create and add a new student to the specified lab or update the details of an existing student in a lab. Note the student must have a valid tenant to accept the lab after they have been added to lab. */\n createOrUpdate: (\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n studentAlias: string,\n parameters: StudentDetails,\n options?: StudentsCreateOrUpdateOptionalParams,\n ) => Promise<StudentDetails>;\n /** Get the details for a specific student in the specified lab by student alias */\n get: (\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n studentAlias: string,\n options?: StudentsGetOptionalParams,\n ) => Promise<StudentDetails>;\n}\n\nfunction _getStudents(context: EducationManagementContext) {\n return {\n list: (\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n options?: StudentsListOptionalParams,\n ) => list(context, billingAccountName, billingProfileName, invoiceSectionName, options),\n delete: (\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n studentAlias: string,\n options?: StudentsDeleteOptionalParams,\n ) =>\n $delete(\n context,\n billingAccountName,\n billingProfileName,\n invoiceSectionName,\n studentAlias,\n options,\n ),\n createOrUpdate: (\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n studentAlias: string,\n parameters: StudentDetails,\n options?: StudentsCreateOrUpdateOptionalParams,\n ) =>\n createOrUpdate(\n context,\n billingAccountName,\n billingProfileName,\n invoiceSectionName,\n studentAlias,\n parameters,\n options,\n ),\n get: (\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n studentAlias: string,\n options?: StudentsGetOptionalParams,\n ) =>\n get(\n context,\n billingAccountName,\n billingProfileName,\n invoiceSectionName,\n studentAlias,\n options,\n ),\n };\n}\n\nexport function _getStudentsOperations(context: EducationManagementContext): StudentsOperations {\n return {\n ..._getStudents(context),\n };\n}\n"]}
|
|
@@ -1,29 +1,34 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
*/
|
|
1
|
+
import { EducationManagementClientOptionalParams } from "./api/index.js";
|
|
2
|
+
import { RedeemInvitationCodeOptionalParams } from "./api/options.js";
|
|
3
|
+
import { GrantsOperations } from "./classic/grants/index.js";
|
|
4
|
+
import { JoinRequestsOperations } from "./classic/joinRequests/index.js";
|
|
5
|
+
import { LabsOperations } from "./classic/labs/index.js";
|
|
6
|
+
import { OperationsOperations } from "./classic/operations/index.js";
|
|
7
|
+
import { StudentLabsOperations } from "./classic/studentLabs/index.js";
|
|
8
|
+
import { StudentsOperations } from "./classic/students/index.js";
|
|
9
|
+
import { RedeemRequest } from "./models/models.js";
|
|
10
|
+
import { TokenCredential } from "@azure/core-auth";
|
|
11
|
+
import { Pipeline } from "@azure/core-rest-pipeline";
|
|
12
|
+
export type { EducationManagementClientOptionalParams } from "./api/educationManagementContext.js";
|
|
13
|
+
export declare class EducationManagementClient {
|
|
14
|
+
private _client;
|
|
15
|
+
/** The pipeline used by this client to make requests */
|
|
16
|
+
readonly pipeline: Pipeline;
|
|
17
|
+
/** Education client provides access to education resources for Azure subscriptions. */
|
|
18
|
+
constructor(credential: TokenCredential, options?: EducationManagementClientOptionalParams);
|
|
19
|
+
/** Redeem invite code to join a redeemable lab */
|
|
21
20
|
redeemInvitationCode(parameters: RedeemRequest, options?: RedeemInvitationCodeOptionalParams): Promise<void>;
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
21
|
+
/** The operation groups for studentLabs */
|
|
22
|
+
readonly studentLabs: StudentLabsOperations;
|
|
23
|
+
/** The operation groups for students */
|
|
24
|
+
readonly students: StudentsOperations;
|
|
25
|
+
/** The operation groups for joinRequests */
|
|
26
|
+
readonly joinRequests: JoinRequestsOperations;
|
|
27
|
+
/** The operation groups for labs */
|
|
28
|
+
readonly labs: LabsOperations;
|
|
29
|
+
/** The operation groups for grants */
|
|
30
|
+
readonly grants: GrantsOperations;
|
|
31
|
+
/** The operation groups for operations */
|
|
32
|
+
readonly operations: OperationsOperations;
|
|
28
33
|
}
|
|
29
34
|
//# sourceMappingURL=educationManagementClient.d.ts.map
|