@azure/arm-education 1.0.0-beta.2 → 1.0.0-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +25 -2
- package/LICENSE +4 -4
- package/README.md +27 -18
- package/{dist-esm/src → dist/browser}/educationManagementClient.d.ts +2 -2
- package/dist/browser/educationManagementClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/educationManagementClient.js +52 -40
- package/dist/browser/educationManagementClient.js.map +1 -0
- package/dist/browser/index.d.ts +5 -0
- package/dist/browser/index.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/index.js +4 -3
- package/dist/browser/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/index.d.ts +32 -46
- package/{dist-esm/src → dist/browser}/models/index.d.ts.map +1 -1
- package/dist/browser/models/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/mappers.js +99 -47
- package/dist/browser/models/mappers.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
- package/dist/browser/models/parameters.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/grants.d.ts +3 -3
- package/dist/browser/operations/grants.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/grants.js +56 -65
- package/dist/browser/operations/grants.js.map +1 -0
- package/dist/browser/operations/index.d.ts +7 -0
- package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
- package/{dist-esm/src/operationsInterfaces → dist/browser/operations}/index.js +6 -6
- package/dist/browser/operations/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/joinRequests.d.ts +3 -3
- package/dist/browser/operations/joinRequests.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/joinRequests.js +30 -34
- package/dist/browser/operations/joinRequests.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/labs.d.ts +3 -3
- package/dist/browser/operations/labs.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/labs.js +56 -69
- package/dist/browser/operations/labs.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
- package/dist/browser/operations/operations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operations.js +3 -2
- package/dist/browser/operations/operations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/studentLabs.d.ts +3 -3
- package/dist/browser/operations/studentLabs.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/studentLabs.js +30 -34
- package/dist/browser/operations/studentLabs.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/students.d.ts +3 -3
- package/dist/browser/operations/students.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/students.js +30 -34
- package/dist/browser/operations/students.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/grants.d.ts +1 -1
- package/dist/browser/operationsInterfaces/grants.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/grants.js.map +1 -0
- package/dist/browser/operationsInterfaces/index.d.ts +7 -0
- package/dist/browser/operationsInterfaces/index.d.ts.map +1 -0
- package/{dist-esm/src/operations → dist/browser/operationsInterfaces}/index.js +6 -6
- package/dist/browser/operationsInterfaces/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/joinRequests.d.ts +1 -1
- package/dist/browser/operationsInterfaces/joinRequests.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/joinRequests.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/labs.d.ts +1 -1
- package/dist/browser/operationsInterfaces/labs.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/labs.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
- package/dist/browser/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/operations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/studentLabs.d.ts +1 -1
- package/{dist-esm/src → dist/browser}/operationsInterfaces/studentLabs.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/studentLabs.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/students.d.ts +1 -1
- package/dist/browser/operationsInterfaces/students.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/students.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/pagingHelper.d.ts +13 -0
- package/dist/browser/pagingHelper.d.ts.map +1 -0
- package/dist/browser/pagingHelper.js +30 -0
- package/dist/browser/pagingHelper.js.map +1 -0
- package/dist/commonjs/educationManagementClient.d.ts +29 -0
- package/dist/commonjs/educationManagementClient.d.ts.map +1 -0
- package/dist/commonjs/educationManagementClient.js +142 -0
- package/dist/commonjs/educationManagementClient.js.map +1 -0
- package/dist/commonjs/index.d.ts +5 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +19 -0
- package/dist/commonjs/index.js.map +1 -0
- package/{types/arm-education.d.ts → dist/commonjs/models/index.d.ts} +685 -1000
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +95 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/mappers.d.ts +22 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/models/mappers.js +757 -0
- package/dist/commonjs/models/mappers.js.map +1 -0
- package/dist/commonjs/models/parameters.d.ts +22 -0
- package/dist/commonjs/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/models/parameters.js +188 -0
- package/dist/commonjs/models/parameters.js.map +1 -0
- package/dist/commonjs/operations/grants.d.ts +63 -0
- package/dist/commonjs/operations/grants.d.ts.map +1 -0
- package/dist/commonjs/operations/grants.js +255 -0
- package/dist/commonjs/operations/grants.js.map +1 -0
- package/dist/commonjs/operations/index.d.ts +7 -0
- package/dist/commonjs/operations/index.d.ts.map +1 -0
- package/dist/commonjs/operations/index.js +17 -0
- package/dist/commonjs/operations/index.js.map +1 -0
- package/dist/commonjs/operations/joinRequests.d.ts +68 -0
- package/dist/commonjs/operations/joinRequests.d.ts.map +1 -0
- package/dist/commonjs/operations/joinRequests.js +260 -0
- package/dist/commonjs/operations/joinRequests.js.map +1 -0
- package/dist/commonjs/operations/labs.d.ts +103 -0
- package/dist/commonjs/operations/labs.d.ts.map +1 -0
- package/dist/commonjs/operations/labs.js +407 -0
- package/dist/commonjs/operations/labs.js.map +1 -0
- package/dist/commonjs/operations/operations.d.ts +18 -0
- package/dist/commonjs/operations/operations.d.ts.map +1 -0
- package/dist/commonjs/operations/operations.js +52 -0
- package/dist/commonjs/operations/operations.js.map +1 -0
- package/dist/commonjs/operations/studentLabs.d.ts +38 -0
- package/dist/commonjs/operations/studentLabs.d.ts.map +1 -0
- package/dist/commonjs/operations/studentLabs.js +145 -0
- package/dist/commonjs/operations/studentLabs.js.map +1 -0
- package/dist/commonjs/operations/students.d.ts +70 -0
- package/dist/commonjs/operations/students.d.ts.map +1 -0
- package/dist/commonjs/operations/students.js +271 -0
- package/dist/commonjs/operations/students.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/grants.d.ts +25 -0
- package/dist/commonjs/operationsInterfaces/grants.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/grants.js +10 -0
- package/dist/commonjs/operationsInterfaces/grants.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts +7 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.js +17 -0
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/joinRequests.d.ts +41 -0
- package/dist/commonjs/operationsInterfaces/joinRequests.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/joinRequests.js +10 -0
- package/dist/commonjs/operationsInterfaces/joinRequests.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/labs.d.ts +58 -0
- package/dist/commonjs/operationsInterfaces/labs.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/labs.js +10 -0
- package/dist/commonjs/operationsInterfaces/labs.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/operations.d.ts +10 -0
- package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/operations.js +10 -0
- package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/studentLabs.d.ts +17 -0
- package/dist/commonjs/operationsInterfaces/studentLabs.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/studentLabs.js +10 -0
- package/dist/commonjs/operationsInterfaces/studentLabs.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/students.d.ts +43 -0
- package/dist/commonjs/operationsInterfaces/students.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/students.js +10 -0
- package/dist/commonjs/operationsInterfaces/students.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/pagingHelper.d.ts +13 -0
- package/dist/commonjs/pagingHelper.d.ts.map +1 -0
- package/dist/commonjs/pagingHelper.js +34 -0
- package/dist/commonjs/pagingHelper.js.map +1 -0
- package/{types → dist/commonjs}/tsdoc-metadata.json +11 -11
- package/dist/esm/educationManagementClient.d.ts +29 -0
- package/dist/esm/educationManagementClient.d.ts.map +1 -0
- package/dist/esm/educationManagementClient.js +137 -0
- package/dist/esm/educationManagementClient.js.map +1 -0
- package/dist/esm/index.d.ts +5 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/{src/index.ts → dist/esm/index.js} +5 -4
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/models/index.d.ts +685 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +92 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +22 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/dist/esm/models/mappers.js +754 -0
- package/dist/esm/models/mappers.js.map +1 -0
- package/dist/esm/models/parameters.d.ts +22 -0
- package/dist/esm/models/parameters.d.ts.map +1 -0
- package/dist/esm/models/parameters.js +185 -0
- package/dist/esm/models/parameters.js.map +1 -0
- package/dist/esm/operations/grants.d.ts +63 -0
- package/dist/esm/operations/grants.d.ts.map +1 -0
- package/dist/esm/operations/grants.js +250 -0
- package/dist/esm/operations/grants.js.map +1 -0
- package/dist/esm/operations/index.d.ts +7 -0
- package/dist/esm/operations/index.d.ts.map +1 -0
- package/dist/esm/operations/index.js +14 -0
- package/dist/esm/operations/index.js.map +1 -0
- package/dist/esm/operations/joinRequests.d.ts +68 -0
- package/dist/esm/operations/joinRequests.d.ts.map +1 -0
- package/dist/esm/operations/joinRequests.js +255 -0
- package/dist/esm/operations/joinRequests.js.map +1 -0
- package/dist/esm/operations/labs.d.ts +103 -0
- package/dist/esm/operations/labs.d.ts.map +1 -0
- package/dist/esm/operations/labs.js +402 -0
- package/dist/esm/operations/labs.js.map +1 -0
- package/dist/esm/operations/operations.d.ts +18 -0
- package/dist/esm/operations/operations.d.ts.map +1 -0
- package/dist/esm/operations/operations.js +47 -0
- package/dist/esm/operations/operations.js.map +1 -0
- package/dist/esm/operations/studentLabs.d.ts +38 -0
- package/dist/esm/operations/studentLabs.d.ts.map +1 -0
- package/dist/esm/operations/studentLabs.js +140 -0
- package/dist/esm/operations/studentLabs.js.map +1 -0
- package/dist/esm/operations/students.d.ts +70 -0
- package/dist/esm/operations/students.d.ts.map +1 -0
- package/dist/esm/operations/students.js +266 -0
- package/dist/esm/operations/students.js.map +1 -0
- package/dist/esm/operationsInterfaces/grants.d.ts +25 -0
- package/dist/esm/operationsInterfaces/grants.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/grants.js +9 -0
- package/dist/esm/operationsInterfaces/grants.js.map +1 -0
- package/dist/esm/operationsInterfaces/index.d.ts +7 -0
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/index.js +14 -0
- package/dist/esm/operationsInterfaces/index.js.map +1 -0
- package/dist/esm/operationsInterfaces/joinRequests.d.ts +41 -0
- package/dist/esm/operationsInterfaces/joinRequests.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/joinRequests.js +9 -0
- package/dist/esm/operationsInterfaces/joinRequests.js.map +1 -0
- package/dist/esm/operationsInterfaces/labs.d.ts +58 -0
- package/dist/esm/operationsInterfaces/labs.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/labs.js +9 -0
- package/dist/esm/operationsInterfaces/labs.js.map +1 -0
- package/dist/esm/operationsInterfaces/operations.d.ts +10 -0
- package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/operations.js +9 -0
- package/dist/esm/operationsInterfaces/operations.js.map +1 -0
- package/dist/esm/operationsInterfaces/studentLabs.d.ts +17 -0
- package/dist/esm/operationsInterfaces/studentLabs.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/studentLabs.js +9 -0
- package/dist/esm/operationsInterfaces/studentLabs.js.map +1 -0
- package/dist/esm/operationsInterfaces/students.d.ts +43 -0
- package/dist/esm/operationsInterfaces/students.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/students.js +9 -0
- package/dist/esm/operationsInterfaces/students.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/pagingHelper.d.ts +13 -0
- package/dist/esm/pagingHelper.d.ts.map +1 -0
- package/dist/esm/pagingHelper.js +30 -0
- package/dist/esm/pagingHelper.js.map +1 -0
- package/dist/react-native/educationManagementClient.d.ts +29 -0
- package/dist/react-native/educationManagementClient.d.ts.map +1 -0
- package/dist/react-native/educationManagementClient.js +137 -0
- package/dist/react-native/educationManagementClient.js.map +1 -0
- package/dist/react-native/index.d.ts +5 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +13 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/models/index.d.ts +685 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +92 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/mappers.d.ts +22 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -0
- package/dist/react-native/models/mappers.js +754 -0
- package/dist/react-native/models/mappers.js.map +1 -0
- package/dist/react-native/models/parameters.d.ts +22 -0
- package/dist/react-native/models/parameters.d.ts.map +1 -0
- package/dist/react-native/models/parameters.js +185 -0
- package/dist/react-native/models/parameters.js.map +1 -0
- package/dist/react-native/operations/grants.d.ts +63 -0
- package/dist/react-native/operations/grants.d.ts.map +1 -0
- package/dist/react-native/operations/grants.js +250 -0
- package/dist/react-native/operations/grants.js.map +1 -0
- package/dist/react-native/operations/index.d.ts +7 -0
- package/dist/react-native/operations/index.d.ts.map +1 -0
- package/dist/react-native/operations/index.js +14 -0
- package/dist/react-native/operations/index.js.map +1 -0
- package/dist/react-native/operations/joinRequests.d.ts +68 -0
- package/dist/react-native/operations/joinRequests.d.ts.map +1 -0
- package/dist/react-native/operations/joinRequests.js +255 -0
- package/dist/react-native/operations/joinRequests.js.map +1 -0
- package/dist/react-native/operations/labs.d.ts +103 -0
- package/dist/react-native/operations/labs.d.ts.map +1 -0
- package/dist/react-native/operations/labs.js +402 -0
- package/dist/react-native/operations/labs.js.map +1 -0
- package/dist/react-native/operations/operations.d.ts +18 -0
- package/dist/react-native/operations/operations.d.ts.map +1 -0
- package/dist/react-native/operations/operations.js +47 -0
- package/dist/react-native/operations/operations.js.map +1 -0
- package/dist/react-native/operations/studentLabs.d.ts +38 -0
- package/dist/react-native/operations/studentLabs.d.ts.map +1 -0
- package/dist/react-native/operations/studentLabs.js +140 -0
- package/dist/react-native/operations/studentLabs.js.map +1 -0
- package/dist/react-native/operations/students.d.ts +70 -0
- package/dist/react-native/operations/students.d.ts.map +1 -0
- package/dist/react-native/operations/students.js +266 -0
- package/dist/react-native/operations/students.js.map +1 -0
- package/dist/react-native/operationsInterfaces/grants.d.ts +25 -0
- package/dist/react-native/operationsInterfaces/grants.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/grants.js +9 -0
- package/dist/react-native/operationsInterfaces/grants.js.map +1 -0
- package/dist/react-native/operationsInterfaces/index.d.ts +7 -0
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/index.js +14 -0
- package/dist/react-native/operationsInterfaces/index.js.map +1 -0
- package/dist/react-native/operationsInterfaces/joinRequests.d.ts +41 -0
- package/dist/react-native/operationsInterfaces/joinRequests.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/joinRequests.js +9 -0
- package/dist/react-native/operationsInterfaces/joinRequests.js.map +1 -0
- package/dist/react-native/operationsInterfaces/labs.d.ts +58 -0
- package/dist/react-native/operationsInterfaces/labs.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/labs.js +9 -0
- package/dist/react-native/operationsInterfaces/labs.js.map +1 -0
- package/dist/react-native/operationsInterfaces/operations.d.ts +10 -0
- package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/operations.js +9 -0
- package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/studentLabs.d.ts +17 -0
- package/dist/react-native/operationsInterfaces/studentLabs.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/studentLabs.js +9 -0
- package/dist/react-native/operationsInterfaces/studentLabs.js.map +1 -0
- package/dist/react-native/operationsInterfaces/students.d.ts +43 -0
- package/dist/react-native/operationsInterfaces/students.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/students.js +9 -0
- package/dist/react-native/operationsInterfaces/students.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/pagingHelper.d.ts +13 -0
- package/dist/react-native/pagingHelper.d.ts.map +1 -0
- package/dist/react-native/pagingHelper.js +30 -0
- package/dist/react-native/pagingHelper.js.map +1 -0
- package/package.json +86 -75
- package/review/{arm-education.api.md → arm-education-node.api.md} +3 -7
- package/dist/index.js +0 -2522
- package/dist/index.js.map +0 -1
- package/dist/index.min.js +0 -1
- package/dist/index.min.js.map +0 -1
- package/dist-esm/samples-dev/grantsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/grantsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/grantsGetSample.js +0 -51
- package/dist-esm/samples-dev/grantsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/grantsListAllSample.d.ts +0 -2
- package/dist-esm/samples-dev/grantsListAllSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/grantsListAllSample.js +0 -75
- package/dist-esm/samples-dev/grantsListAllSample.js.map +0 -1
- package/dist-esm/samples-dev/grantsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/grantsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/grantsListSample.js +0 -79
- package/dist-esm/samples-dev/grantsListSample.js.map +0 -1
- package/dist-esm/samples-dev/joinRequestsApproveSample.d.ts +0 -2
- package/dist-esm/samples-dev/joinRequestsApproveSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/joinRequestsApproveSample.js +0 -32
- package/dist-esm/samples-dev/joinRequestsApproveSample.js.map +0 -1
- package/dist-esm/samples-dev/joinRequestsDenySample.d.ts +0 -2
- package/dist-esm/samples-dev/joinRequestsDenySample.d.ts.map +0 -1
- package/dist-esm/samples-dev/joinRequestsDenySample.js +0 -32
- package/dist-esm/samples-dev/joinRequestsDenySample.js.map +0 -1
- package/dist-esm/samples-dev/joinRequestsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/joinRequestsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/joinRequestsGetSample.js +0 -32
- package/dist-esm/samples-dev/joinRequestsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/joinRequestsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/joinRequestsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/joinRequestsListSample.js +0 -47
- package/dist-esm/samples-dev/joinRequestsListSample.js.map +0 -1
- package/dist-esm/samples-dev/labsCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/labsCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/labsCreateOrUpdateSample.js +0 -37
- package/dist-esm/samples-dev/labsCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/labsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/labsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/labsDeleteSample.js +0 -31
- package/dist-esm/samples-dev/labsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/labsGenerateInviteCodeSample.d.ts +0 -2
- package/dist-esm/samples-dev/labsGenerateInviteCodeSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/labsGenerateInviteCodeSample.js +0 -32
- package/dist-esm/samples-dev/labsGenerateInviteCodeSample.js.map +0 -1
- package/dist-esm/samples-dev/labsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/labsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/labsGetSample.js +0 -53
- package/dist-esm/samples-dev/labsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/labsListAllSample.d.ts +0 -2
- package/dist-esm/samples-dev/labsListAllSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/labsListAllSample.js +0 -79
- package/dist-esm/samples-dev/labsListAllSample.js.map +0 -1
- package/dist-esm/samples-dev/labsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/labsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/labsListSample.js +0 -81
- package/dist-esm/samples-dev/labsListSample.js.map +0 -1
- package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/operationsListSample.js +0 -28
- package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
- package/dist-esm/samples-dev/redeemInvitationCodeSample.d.ts +0 -2
- package/dist-esm/samples-dev/redeemInvitationCodeSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/redeemInvitationCodeSample.js +0 -33
- package/dist-esm/samples-dev/redeemInvitationCodeSample.js.map +0 -1
- package/dist-esm/samples-dev/studentLabsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/studentLabsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/studentLabsGetSample.js +0 -29
- package/dist-esm/samples-dev/studentLabsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/studentLabsListAllSample.d.ts +0 -2
- package/dist-esm/samples-dev/studentLabsListAllSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/studentLabsListAllSample.js +0 -42
- package/dist-esm/samples-dev/studentLabsListAllSample.js.map +0 -1
- package/dist-esm/samples-dev/studentsCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/studentsCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/studentsCreateOrUpdateSample.js +0 -40
- package/dist-esm/samples-dev/studentsCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/studentsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/studentsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/studentsDeleteSample.js +0 -32
- package/dist-esm/samples-dev/studentsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/studentsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/studentsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/studentsGetSample.js +0 -32
- package/dist-esm/samples-dev/studentsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/studentsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/studentsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/studentsListSample.js +0 -45
- package/dist-esm/samples-dev/studentsListSample.js.map +0 -1
- package/dist-esm/src/educationManagementClient.d.ts.map +0 -1
- package/dist-esm/src/educationManagementClient.js.map +0 -1
- package/dist-esm/src/index.d.ts +0 -5
- package/dist-esm/src/index.d.ts.map +0 -1
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/models/index.js.map +0 -1
- package/dist-esm/src/models/mappers.js.map +0 -1
- package/dist-esm/src/models/parameters.js.map +0 -1
- package/dist-esm/src/operations/grants.d.ts.map +0 -1
- package/dist-esm/src/operations/grants.js.map +0 -1
- package/dist-esm/src/operations/index.d.ts +0 -7
- package/dist-esm/src/operations/index.js.map +0 -1
- package/dist-esm/src/operations/joinRequests.d.ts.map +0 -1
- package/dist-esm/src/operations/joinRequests.js.map +0 -1
- package/dist-esm/src/operations/labs.d.ts.map +0 -1
- package/dist-esm/src/operations/labs.js.map +0 -1
- package/dist-esm/src/operations/operations.d.ts.map +0 -1
- package/dist-esm/src/operations/operations.js.map +0 -1
- package/dist-esm/src/operations/studentLabs.d.ts.map +0 -1
- package/dist-esm/src/operations/studentLabs.js.map +0 -1
- package/dist-esm/src/operations/students.d.ts.map +0 -1
- package/dist-esm/src/operations/students.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/grants.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/grants.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -7
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/joinRequests.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/joinRequests.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/labs.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/labs.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/studentLabs.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/students.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/students.js.map +0 -1
- package/dist-esm/test/sampleTest.d.ts +0 -2
- package/dist-esm/test/sampleTest.d.ts.map +0 -1
- package/dist-esm/test/sampleTest.js +0 -38
- package/dist-esm/test/sampleTest.js.map +0 -1
- package/rollup.config.js +0 -122
- package/src/educationManagementClient.ts +0 -190
- package/src/models/index.ts +0 -806
- package/src/models/mappers.ts +0 -775
- package/src/models/parameters.ts +0 -215
- package/src/operations/grants.ts +0 -330
- package/src/operations/index.ts +0 -14
- package/src/operations/joinRequests.ts +0 -358
- package/src/operations/labs.ts +0 -570
- package/src/operations/operations.ts +0 -59
- package/src/operations/studentLabs.ts +0 -170
- package/src/operations/students.ts +0 -371
- package/src/operationsInterfaces/grants.ts +0 -50
- package/src/operationsInterfaces/index.ts +0 -14
- package/src/operationsInterfaces/joinRequests.ts +0 -80
- package/src/operationsInterfaces/labs.ts +0 -110
- package/src/operationsInterfaces/operations.ts +0 -21
- package/src/operationsInterfaces/studentLabs.ts +0 -36
- package/src/operationsInterfaces/students.ts +0 -84
- package/tsconfig.json +0 -33
- /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/grants.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/joinRequests.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/labs.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/studentLabs.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/students.js +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,8 +1,31 @@
|
|
|
1
1
|
# Release History
|
|
2
|
+
|
|
3
|
+
## 1.0.0-beta.4 (Unreleased)
|
|
4
|
+
|
|
5
|
+
### Features Added
|
|
6
|
+
|
|
7
|
+
### Breaking Changes
|
|
8
|
+
|
|
9
|
+
### Bugs Fixed
|
|
10
|
+
|
|
11
|
+
### Other Changes
|
|
12
|
+
|
|
13
|
+
## 1.0.0-beta.3 (2023-01-10)
|
|
14
|
+
|
|
15
|
+
### Features Added
|
|
16
|
+
|
|
17
|
+
- Interface GrantsListAllNextOptionalParams no longer has parameter includeAllocatedBudget
|
|
18
|
+
- Interface GrantsListNextOptionalParams no longer has parameter includeAllocatedBudget
|
|
19
|
+
- Interface JoinRequestsListNextOptionalParams no longer has parameter includeDenied
|
|
20
|
+
- Interface LabsListAllNextOptionalParams no longer has parameter includeBudget
|
|
21
|
+
- Interface LabsListAllNextOptionalParams no longer has parameter includeDeleted
|
|
22
|
+
- Interface LabsListNextOptionalParams no longer has parameter includeBudget
|
|
23
|
+
- Interface StudentsListNextOptionalParams no longer has parameter includeDeleted
|
|
24
|
+
|
|
2
25
|
|
|
3
26
|
## 1.0.0-beta.2 (2022-07-04)
|
|
4
27
|
|
|
5
|
-
|
|
28
|
+
### Features Added
|
|
6
29
|
|
|
7
30
|
- Added Interface GrantDetails
|
|
8
31
|
- Added Interface JoinRequestDetails
|
|
@@ -14,4 +37,4 @@
|
|
|
14
37
|
|
|
15
38
|
## 1.0.0-beta.1 (2022-05-24)
|
|
16
39
|
|
|
17
|
-
The package of @azure/arm-education is using our next generation design principles. To learn more, please refer to our documentation [Quick Start](https://aka.ms/js
|
|
40
|
+
The package of @azure/arm-education is using our next generation design principles. To learn more, please refer to our documentation [Quick Start](https://aka.ms/azsdk/js/mgmt/quickstart ).
|
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
Copyright (c) Microsoft Corporation.
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
MIT License
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
|
@@ -12,10 +12,10 @@ furnished to do so, subject to the following conditions:
|
|
|
12
12
|
The above copyright notice and this permission notice shall be included in all
|
|
13
13
|
copies or substantial portions of the Software.
|
|
14
14
|
|
|
15
|
-
THE SOFTWARE IS PROVIDED
|
|
15
|
+
THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
16
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
17
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
18
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
19
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
20
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -6,14 +6,14 @@ Education client provides access to education resources for Azure subscriptions.
|
|
|
6
6
|
|
|
7
7
|
[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/education/arm-education) |
|
|
8
8
|
[Package (NPM)](https://www.npmjs.com/package/@azure/arm-education) |
|
|
9
|
-
[API reference documentation](https://
|
|
9
|
+
[API reference documentation](https://learn.microsoft.com/javascript/api/@azure/arm-education?view=azure-node-preview) |
|
|
10
10
|
[Samples](https://github.com/Azure-Samples/azure-samples-js-management)
|
|
11
11
|
|
|
12
12
|
## Getting started
|
|
13
13
|
|
|
14
14
|
### Currently supported environments
|
|
15
15
|
|
|
16
|
-
- [LTS versions of Node.js](https://
|
|
16
|
+
- [LTS versions of Node.js](https://github.com/nodejs/release#release-schedule)
|
|
17
17
|
- Latest versions of Safari, Chrome, Edge and Firefox.
|
|
18
18
|
|
|
19
19
|
See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details.
|
|
@@ -46,26 +46,34 @@ npm install @azure/identity
|
|
|
46
46
|
You will also need to **register a new AAD application and grant access to Azure EducationManagement** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions).
|
|
47
47
|
Set the values of the client ID, tenant ID, and client secret of the AAD application as environment variables: `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, `AZURE_CLIENT_SECRET`.
|
|
48
48
|
|
|
49
|
-
For more information about how to create an Azure AD Application check out [this guide](https://
|
|
49
|
+
For more information about how to create an Azure AD Application check out [this guide](https://learn.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).
|
|
50
50
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
51
|
+
Using Node.js and Node-like environments, you can use the `DefaultAzureCredential` class to authenticate the client.
|
|
52
|
+
|
|
53
|
+
```ts snippet:ReadmeSampleCreateClient_Node
|
|
54
|
+
import { EducationManagementClient } from "@azure/arm-education";
|
|
55
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
|
55
56
|
|
|
56
57
|
const subscriptionId = "00000000-0000-0000-0000-000000000000";
|
|
57
58
|
const client = new EducationManagementClient(new DefaultAzureCredential(), subscriptionId);
|
|
58
|
-
|
|
59
|
-
// For client-side applications running in the browser, use this code instead:
|
|
60
|
-
// const credential = new InteractiveBrowserCredential({
|
|
61
|
-
// tenantId: "<YOUR_TENANT_ID>",
|
|
62
|
-
// clientId: "<YOUR_CLIENT_ID>"
|
|
63
|
-
// });
|
|
64
|
-
// const client = new EducationManagementClient(credential, subscriptionId);
|
|
65
59
|
```
|
|
66
60
|
|
|
61
|
+
For browser environments, use the `InteractiveBrowserCredential` from the `@azure/identity` package to authenticate.
|
|
62
|
+
|
|
63
|
+
```ts snippet:ReadmeSampleCreateClient_Browser
|
|
64
|
+
import { InteractiveBrowserCredential } from "@azure/identity";
|
|
65
|
+
import { EducationManagementClient } from "@azure/arm-education";
|
|
66
|
+
|
|
67
|
+
const subscriptionId = "00000000-0000-0000-0000-000000000000";
|
|
68
|
+
const credential = new InteractiveBrowserCredential({
|
|
69
|
+
tenantId: "<YOUR_TENANT_ID>",
|
|
70
|
+
clientId: "<YOUR_CLIENT_ID>",
|
|
71
|
+
});
|
|
72
|
+
const client = new EducationManagementClient(credential, subscriptionId);
|
|
73
|
+
```
|
|
67
74
|
|
|
68
75
|
### JavaScript Bundle
|
|
76
|
+
|
|
69
77
|
To use this client library in the browser, first you need to use a bundler. For details on how to do this, please refer to our [bundling documentation](https://aka.ms/AzureSDKBundling).
|
|
70
78
|
|
|
71
79
|
## Key concepts
|
|
@@ -80,8 +88,9 @@ To use this client library in the browser, first you need to use a bundler. For
|
|
|
80
88
|
|
|
81
89
|
Enabling logging may help uncover useful information about failures. In order to see a log of HTTP requests and responses, set the `AZURE_LOG_LEVEL` environment variable to `info`. Alternatively, logging can be enabled at runtime by calling `setLogLevel` in the `@azure/logger`:
|
|
82
90
|
|
|
83
|
-
```
|
|
84
|
-
|
|
91
|
+
```ts snippet:SetLogLevel
|
|
92
|
+
import { setLogLevel } from "@azure/logger";
|
|
93
|
+
|
|
85
94
|
setLogLevel("info");
|
|
86
95
|
```
|
|
87
96
|
|
|
@@ -99,9 +108,9 @@ If you'd like to contribute to this library, please read the [contributing guide
|
|
|
99
108
|
|
|
100
109
|
- [Microsoft Azure SDK for JavaScript](https://github.com/Azure/azure-sdk-for-js)
|
|
101
110
|
|
|
102
|
-

|
|
103
111
|
|
|
104
|
-
|
|
112
|
+
|
|
113
|
+
[azure_cli]: https://learn.microsoft.com/cli/azure
|
|
105
114
|
[azure_sub]: https://azure.microsoft.com/free/
|
|
106
115
|
[azure_sub]: https://azure.microsoft.com/free/
|
|
107
116
|
[azure_portal]: https://portal.azure.com
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as coreClient from "@azure/core-client";
|
|
2
2
|
import * as coreAuth from "@azure/core-auth";
|
|
3
|
-
import { Operations, Grants, Labs, JoinRequests, Students, StudentLabs } from "./operationsInterfaces";
|
|
4
|
-
import { EducationManagementClientOptionalParams, RedeemRequest, RedeemInvitationCodeOptionalParams } from "./models";
|
|
3
|
+
import { Operations, Grants, Labs, JoinRequests, Students, StudentLabs } from "./operationsInterfaces/index.js";
|
|
4
|
+
import { EducationManagementClientOptionalParams, RedeemRequest, RedeemInvitationCodeOptionalParams } from "./models/index.js";
|
|
5
5
|
export declare class EducationManagementClient extends coreClient.ServiceClient {
|
|
6
6
|
$host: string;
|
|
7
7
|
apiVersion: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"educationManagementClient.d.ts","sourceRoot":"","sources":["../../src/educationManagementClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAS7C,OAAO,EACL,UAAU,EACV,MAAM,EACN,IAAI,EACJ,YAAY,EACZ,QAAQ,EACR,WAAW,EACZ,MAAM,iCAAiC,CAAC;AAGzC,OAAO,EACL,uCAAuC,EACvC,aAAa,EACb,kCAAkC,EACnC,MAAM,mBAAmB,CAAC;AAE3B,qBAAa,yBAA0B,SAAQ,UAAU,CAAC,aAAa;IACrE,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IAEnB;;;;OAIG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,OAAO,CAAC,EAAE,uCAAuC;IA4EnD,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IA2BjC;;;;OAIG;IACH,oBAAoB,CAClB,UAAU,EAAE,aAAa,EACzB,OAAO,CAAC,EAAE,kCAAkC,GAC3C,OAAO,CAAC,IAAI,CAAC;IAOhB,UAAU,EAAE,UAAU,CAAC;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,IAAI,CAAC;IACX,YAAY,EAAE,YAAY,CAAC;IAC3B,QAAQ,EAAE,QAAQ,CAAC;IACnB,WAAW,EAAE,WAAW,CAAC;CAC1B"}
|
|
@@ -5,20 +5,20 @@
|
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
|
-
import { __awaiter } from "tslib";
|
|
9
8
|
import * as coreClient from "@azure/core-client";
|
|
10
9
|
import * as coreRestPipeline from "@azure/core-rest-pipeline";
|
|
11
|
-
import { OperationsImpl, GrantsImpl, LabsImpl, JoinRequestsImpl, StudentsImpl, StudentLabsImpl } from "./operations";
|
|
12
|
-
import * as Parameters from "./models/parameters";
|
|
13
|
-
import * as Mappers from "./models/mappers";
|
|
10
|
+
import { OperationsImpl, GrantsImpl, LabsImpl, JoinRequestsImpl, StudentsImpl, StudentLabsImpl } from "./operations/index.js";
|
|
11
|
+
import * as Parameters from "./models/parameters.js";
|
|
12
|
+
import * as Mappers from "./models/mappers.js";
|
|
14
13
|
export class EducationManagementClient extends coreClient.ServiceClient {
|
|
14
|
+
$host;
|
|
15
|
+
apiVersion;
|
|
15
16
|
/**
|
|
16
17
|
* Initializes a new instance of the EducationManagementClient class.
|
|
17
18
|
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
18
19
|
* @param options The parameter options
|
|
19
20
|
*/
|
|
20
21
|
constructor(credentials, options) {
|
|
21
|
-
var _a, _b;
|
|
22
22
|
if (credentials === undefined) {
|
|
23
23
|
throw new Error("'credentials' cannot be null");
|
|
24
24
|
}
|
|
@@ -30,32 +30,40 @@ export class EducationManagementClient extends coreClient.ServiceClient {
|
|
|
30
30
|
requestContentType: "application/json; charset=utf-8",
|
|
31
31
|
credential: credentials
|
|
32
32
|
};
|
|
33
|
-
const packageDetails = `azsdk-js-arm-education/1.0.0-beta.
|
|
33
|
+
const packageDetails = `azsdk-js-arm-education/1.0.0-beta.4`;
|
|
34
34
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
35
35
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
36
36
|
: `${packageDetails}`;
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
37
|
+
const optionsWithDefaults = {
|
|
38
|
+
...defaults,
|
|
39
|
+
...options,
|
|
40
|
+
userAgentOptions: {
|
|
41
41
|
userAgentPrefix
|
|
42
|
-
},
|
|
42
|
+
},
|
|
43
|
+
endpoint: options.endpoint ?? options.baseUri ?? "https://management.azure.com"
|
|
44
|
+
};
|
|
43
45
|
super(optionsWithDefaults);
|
|
44
|
-
|
|
46
|
+
let bearerTokenAuthenticationPolicyFound = false;
|
|
47
|
+
if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {
|
|
45
48
|
const pipelinePolicies = options.pipeline.getOrderedPolicies();
|
|
46
|
-
|
|
49
|
+
bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
|
|
47
50
|
coreRestPipeline.bearerTokenAuthenticationPolicyName);
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
51
|
+
}
|
|
52
|
+
if (!options ||
|
|
53
|
+
!options.pipeline ||
|
|
54
|
+
options.pipeline.getOrderedPolicies().length == 0 ||
|
|
55
|
+
!bearerTokenAuthenticationPolicyFound) {
|
|
56
|
+
this.pipeline.removePolicy({
|
|
57
|
+
name: coreRestPipeline.bearerTokenAuthenticationPolicyName
|
|
58
|
+
});
|
|
59
|
+
this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
|
|
60
|
+
credential: credentials,
|
|
61
|
+
scopes: optionsWithDefaults.credentialScopes ??
|
|
62
|
+
`${optionsWithDefaults.endpoint}/.default`,
|
|
63
|
+
challengeCallbacks: {
|
|
64
|
+
authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge
|
|
65
|
+
}
|
|
66
|
+
}));
|
|
59
67
|
}
|
|
60
68
|
// Assigning values to Constant parameters
|
|
61
69
|
this.$host = options.$host || "https://management.azure.com";
|
|
@@ -75,22 +83,20 @@ export class EducationManagementClient extends coreClient.ServiceClient {
|
|
|
75
83
|
}
|
|
76
84
|
const apiVersionPolicy = {
|
|
77
85
|
name: "CustomApiVersionPolicy",
|
|
78
|
-
sendRequest(request, next) {
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
return next(request);
|
|
93
|
-
});
|
|
86
|
+
async sendRequest(request, next) {
|
|
87
|
+
const param = request.url.split("?");
|
|
88
|
+
if (param.length > 1) {
|
|
89
|
+
const newParams = param[1].split("&").map((item) => {
|
|
90
|
+
if (item.indexOf("api-version") > -1) {
|
|
91
|
+
return "api-version=" + apiVersion;
|
|
92
|
+
}
|
|
93
|
+
else {
|
|
94
|
+
return item;
|
|
95
|
+
}
|
|
96
|
+
});
|
|
97
|
+
request.url = param[0] + "?" + newParams.join("&");
|
|
98
|
+
}
|
|
99
|
+
return next(request);
|
|
94
100
|
}
|
|
95
101
|
};
|
|
96
102
|
this.pipeline.addPolicy(apiVersionPolicy);
|
|
@@ -103,6 +109,12 @@ export class EducationManagementClient extends coreClient.ServiceClient {
|
|
|
103
109
|
redeemInvitationCode(parameters, options) {
|
|
104
110
|
return this.sendOperationRequest({ parameters, options }, redeemInvitationCodeOperationSpec);
|
|
105
111
|
}
|
|
112
|
+
operations;
|
|
113
|
+
grants;
|
|
114
|
+
labs;
|
|
115
|
+
joinRequests;
|
|
116
|
+
students;
|
|
117
|
+
studentLabs;
|
|
106
118
|
}
|
|
107
119
|
// Operation Specifications
|
|
108
120
|
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"educationManagementClient.js","sourceRoot":"","sources":["../../src/educationManagementClient.ts"],"names":[],"mappings":"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","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport {\n PipelineRequest,\n PipelineResponse,\n SendRequest\n} from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n OperationsImpl,\n GrantsImpl,\n LabsImpl,\n JoinRequestsImpl,\n StudentsImpl,\n StudentLabsImpl\n} from \"./operations/index.js\";\nimport {\n Operations,\n Grants,\n Labs,\n JoinRequests,\n Students,\n StudentLabs\n} from \"./operationsInterfaces/index.js\";\nimport * as Parameters from \"./models/parameters.js\";\nimport * as Mappers from \"./models/mappers.js\";\nimport {\n EducationManagementClientOptionalParams,\n RedeemRequest,\n RedeemInvitationCodeOptionalParams\n} from \"./models/index.js\";\n\nexport class EducationManagementClient extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n\n /**\n * Initializes a new instance of the EducationManagementClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n options?: EducationManagementClientOptionalParams\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: EducationManagementClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials\n };\n\n const packageDetails = `azsdk-js-arm-education/1.0.0-beta.4`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\"\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge\n }\n })\n );\n }\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2021-12-01-preview\";\n this.operations = new OperationsImpl(this);\n this.grants = new GrantsImpl(this);\n this.labs = new LabsImpl(this);\n this.joinRequests = new JoinRequestsImpl(this);\n this.students = new StudentsImpl(this);\n this.studentLabs = new StudentLabsImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n }\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n /**\n * Redeem invite code to join a redeemable lab\n * @param parameters Request parameters to provide redeem code.\n * @param options The options parameters.\n */\n redeemInvitationCode(\n parameters: RedeemRequest,\n options?: RedeemInvitationCodeOptionalParams\n ): Promise<void> {\n return this.sendOperationRequest(\n { parameters, options },\n redeemInvitationCodeOperationSpec\n );\n }\n\n operations: Operations;\n grants: Grants;\n labs: Labs;\n joinRequests: JoinRequests;\n students: Students;\n studentLabs: StudentLabs;\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst redeemInvitationCodeOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Education/redeemInvitationCode\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n default: {\n bodyMapper: Mappers.ErrorResponseBody\n }\n },\n requestBody: Parameters.parameters2,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAC3E,cAAc,iCAAiC,CAAC"}
|
|
@@ -6,7 +6,8 @@
|
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
8
|
/// <reference lib="esnext.asynciterable" />
|
|
9
|
-
export
|
|
10
|
-
export
|
|
11
|
-
export
|
|
9
|
+
export { getContinuationToken } from "./pagingHelper.js";
|
|
10
|
+
export * from "./models/index.js";
|
|
11
|
+
export { EducationManagementClient } from "./educationManagementClient.js";
|
|
12
|
+
export * from "./operationsInterfaces/index.js";
|
|
12
13
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,4CAA4C;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAC3E,cAAc,iCAAiC,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\n/// <reference lib=\"esnext.asynciterable\" />\nexport { getContinuationToken } from \"./pagingHelper.js\";\nexport * from \"./models/index.js\";\nexport { EducationManagementClient } from \"./educationManagementClient.js\";\nexport * from \"./operationsInterfaces/index.js\";\n"]}
|
|
@@ -379,7 +379,7 @@ export declare enum KnownOrigin {
|
|
|
379
379
|
* **system** \
|
|
380
380
|
* **user,system**
|
|
381
381
|
*/
|
|
382
|
-
export
|
|
382
|
+
export type Origin = string;
|
|
383
383
|
/** Known values of {@link ActionType} that the service accepts. */
|
|
384
384
|
export declare enum KnownActionType {
|
|
385
385
|
/** Internal */
|
|
@@ -392,7 +392,7 @@ export declare enum KnownActionType {
|
|
|
392
392
|
* ### Known values supported by the service
|
|
393
393
|
* **Internal**
|
|
394
394
|
*/
|
|
395
|
-
export
|
|
395
|
+
export type ActionType = string;
|
|
396
396
|
/** Known values of {@link GrantType} that the service accepts. */
|
|
397
397
|
export declare enum KnownGrantType {
|
|
398
398
|
/** Student */
|
|
@@ -408,7 +408,7 @@ export declare enum KnownGrantType {
|
|
|
408
408
|
* **Student** \
|
|
409
409
|
* **Academic**
|
|
410
410
|
*/
|
|
411
|
-
export
|
|
411
|
+
export type GrantType = string;
|
|
412
412
|
/** Known values of {@link GrantStatus} that the service accepts. */
|
|
413
413
|
export declare enum KnownGrantStatus {
|
|
414
414
|
/** Active */
|
|
@@ -424,7 +424,7 @@ export declare enum KnownGrantStatus {
|
|
|
424
424
|
* **Active** \
|
|
425
425
|
* **Inactive**
|
|
426
426
|
*/
|
|
427
|
-
export
|
|
427
|
+
export type GrantStatus = string;
|
|
428
428
|
/** Known values of {@link CreatedByType} that the service accepts. */
|
|
429
429
|
export declare enum KnownCreatedByType {
|
|
430
430
|
/** User */
|
|
@@ -446,7 +446,7 @@ export declare enum KnownCreatedByType {
|
|
|
446
446
|
* **ManagedIdentity** \
|
|
447
447
|
* **Key**
|
|
448
448
|
*/
|
|
449
|
-
export
|
|
449
|
+
export type CreatedByType = string;
|
|
450
450
|
/** Known values of {@link LabStatus} that the service accepts. */
|
|
451
451
|
export declare enum KnownLabStatus {
|
|
452
452
|
/** Active */
|
|
@@ -465,7 +465,7 @@ export declare enum KnownLabStatus {
|
|
|
465
465
|
* **Deleted** \
|
|
466
466
|
* **Pending**
|
|
467
467
|
*/
|
|
468
|
-
export
|
|
468
|
+
export type LabStatus = string;
|
|
469
469
|
/** Known values of {@link JoinRequestStatus} that the service accepts. */
|
|
470
470
|
export declare enum KnownJoinRequestStatus {
|
|
471
471
|
/** Pending */
|
|
@@ -481,7 +481,7 @@ export declare enum KnownJoinRequestStatus {
|
|
|
481
481
|
* **Pending** \
|
|
482
482
|
* **Denied**
|
|
483
483
|
*/
|
|
484
|
-
export
|
|
484
|
+
export type JoinRequestStatus = string;
|
|
485
485
|
/** Known values of {@link StudentRole} that the service accepts. */
|
|
486
486
|
export declare enum KnownStudentRole {
|
|
487
487
|
/** Student */
|
|
@@ -497,7 +497,7 @@ export declare enum KnownStudentRole {
|
|
|
497
497
|
* **Student** \
|
|
498
498
|
* **Admin**
|
|
499
499
|
*/
|
|
500
|
-
export
|
|
500
|
+
export type StudentRole = string;
|
|
501
501
|
/** Known values of {@link StudentLabStatus} that the service accepts. */
|
|
502
502
|
export declare enum KnownStudentLabStatus {
|
|
503
503
|
/** Active */
|
|
@@ -522,47 +522,43 @@ export declare enum KnownStudentLabStatus {
|
|
|
522
522
|
* **Pending** \
|
|
523
523
|
* **Deleted**
|
|
524
524
|
*/
|
|
525
|
-
export
|
|
525
|
+
export type StudentLabStatus = string;
|
|
526
526
|
/** Optional parameters. */
|
|
527
527
|
export interface OperationsListOptionalParams extends coreClient.OperationOptions {
|
|
528
528
|
}
|
|
529
529
|
/** Contains response data for the list operation. */
|
|
530
|
-
export
|
|
530
|
+
export type OperationsListResponse = OperationListResult;
|
|
531
531
|
/** Optional parameters. */
|
|
532
532
|
export interface GrantsListAllOptionalParams extends coreClient.OperationOptions {
|
|
533
533
|
/** May be used to include information about budget that has been allocated. */
|
|
534
534
|
includeAllocatedBudget?: boolean;
|
|
535
535
|
}
|
|
536
536
|
/** Contains response data for the listAll operation. */
|
|
537
|
-
export
|
|
537
|
+
export type GrantsListAllResponse = GrantListResponse;
|
|
538
538
|
/** Optional parameters. */
|
|
539
539
|
export interface GrantsListOptionalParams extends coreClient.OperationOptions {
|
|
540
540
|
/** May be used to include information about budget that has been allocated. */
|
|
541
541
|
includeAllocatedBudget?: boolean;
|
|
542
542
|
}
|
|
543
543
|
/** Contains response data for the list operation. */
|
|
544
|
-
export
|
|
544
|
+
export type GrantsListResponse = GrantListResponse;
|
|
545
545
|
/** Optional parameters. */
|
|
546
546
|
export interface GrantsGetOptionalParams extends coreClient.OperationOptions {
|
|
547
547
|
/** May be used to include information about budget that has been allocated. */
|
|
548
548
|
includeAllocatedBudget?: boolean;
|
|
549
549
|
}
|
|
550
550
|
/** Contains response data for the get operation. */
|
|
551
|
-
export
|
|
551
|
+
export type GrantsGetResponse = GrantDetails;
|
|
552
552
|
/** Optional parameters. */
|
|
553
553
|
export interface GrantsListAllNextOptionalParams extends coreClient.OperationOptions {
|
|
554
|
-
/** May be used to include information about budget that has been allocated. */
|
|
555
|
-
includeAllocatedBudget?: boolean;
|
|
556
554
|
}
|
|
557
555
|
/** Contains response data for the listAllNext operation. */
|
|
558
|
-
export
|
|
556
|
+
export type GrantsListAllNextResponse = GrantListResponse;
|
|
559
557
|
/** Optional parameters. */
|
|
560
558
|
export interface GrantsListNextOptionalParams extends coreClient.OperationOptions {
|
|
561
|
-
/** May be used to include information about budget that has been allocated. */
|
|
562
|
-
includeAllocatedBudget?: boolean;
|
|
563
559
|
}
|
|
564
560
|
/** Contains response data for the listNext operation. */
|
|
565
|
-
export
|
|
561
|
+
export type GrantsListNextResponse = GrantListResponse;
|
|
566
562
|
/** Optional parameters. */
|
|
567
563
|
export interface LabsListAllOptionalParams extends coreClient.OperationOptions {
|
|
568
564
|
/** May be used to include budget information. */
|
|
@@ -571,21 +567,21 @@ export interface LabsListAllOptionalParams extends coreClient.OperationOptions {
|
|
|
571
567
|
includeDeleted?: boolean;
|
|
572
568
|
}
|
|
573
569
|
/** Contains response data for the listAll operation. */
|
|
574
|
-
export
|
|
570
|
+
export type LabsListAllResponse = LabListResult;
|
|
575
571
|
/** Optional parameters. */
|
|
576
572
|
export interface LabsListOptionalParams extends coreClient.OperationOptions {
|
|
577
573
|
/** May be used to include budget information. */
|
|
578
574
|
includeBudget?: boolean;
|
|
579
575
|
}
|
|
580
576
|
/** Contains response data for the list operation. */
|
|
581
|
-
export
|
|
577
|
+
export type LabsListResponse = LabListResult;
|
|
582
578
|
/** Optional parameters. */
|
|
583
579
|
export interface LabsGetOptionalParams extends coreClient.OperationOptions {
|
|
584
580
|
/** May be used to include budget information. */
|
|
585
581
|
includeBudget?: boolean;
|
|
586
582
|
}
|
|
587
583
|
/** Contains response data for the get operation. */
|
|
588
|
-
export
|
|
584
|
+
export type LabsGetResponse = LabDetails;
|
|
589
585
|
/** Optional parameters. */
|
|
590
586
|
export interface LabsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
591
587
|
}
|
|
@@ -593,42 +589,36 @@ export interface LabsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
|
593
589
|
export interface LabsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
594
590
|
}
|
|
595
591
|
/** Contains response data for the createOrUpdate operation. */
|
|
596
|
-
export
|
|
592
|
+
export type LabsCreateOrUpdateResponse = LabDetails;
|
|
597
593
|
/** Optional parameters. */
|
|
598
594
|
export interface LabsGenerateInviteCodeOptionalParams extends coreClient.OperationOptions {
|
|
599
595
|
/** set this flag to true if you want to update student count without generating a new invite code */
|
|
600
596
|
onlyUpdateStudentCountParameter?: boolean;
|
|
601
597
|
}
|
|
602
598
|
/** Contains response data for the generateInviteCode operation. */
|
|
603
|
-
export
|
|
599
|
+
export type LabsGenerateInviteCodeResponse = LabDetails;
|
|
604
600
|
/** Optional parameters. */
|
|
605
601
|
export interface LabsListAllNextOptionalParams extends coreClient.OperationOptions {
|
|
606
|
-
/** May be used to include budget information. */
|
|
607
|
-
includeBudget?: boolean;
|
|
608
|
-
/** May be used to show deleted items. */
|
|
609
|
-
includeDeleted?: boolean;
|
|
610
602
|
}
|
|
611
603
|
/** Contains response data for the listAllNext operation. */
|
|
612
|
-
export
|
|
604
|
+
export type LabsListAllNextResponse = LabListResult;
|
|
613
605
|
/** Optional parameters. */
|
|
614
606
|
export interface LabsListNextOptionalParams extends coreClient.OperationOptions {
|
|
615
|
-
/** May be used to include budget information. */
|
|
616
|
-
includeBudget?: boolean;
|
|
617
607
|
}
|
|
618
608
|
/** Contains response data for the listNext operation. */
|
|
619
|
-
export
|
|
609
|
+
export type LabsListNextResponse = LabListResult;
|
|
620
610
|
/** Optional parameters. */
|
|
621
611
|
export interface JoinRequestsListOptionalParams extends coreClient.OperationOptions {
|
|
622
612
|
/** Include denied */
|
|
623
613
|
includeDenied?: boolean;
|
|
624
614
|
}
|
|
625
615
|
/** Contains response data for the list operation. */
|
|
626
|
-
export
|
|
616
|
+
export type JoinRequestsListResponse = JoinRequestList;
|
|
627
617
|
/** Optional parameters. */
|
|
628
618
|
export interface JoinRequestsGetOptionalParams extends coreClient.OperationOptions {
|
|
629
619
|
}
|
|
630
620
|
/** Contains response data for the get operation. */
|
|
631
|
-
export
|
|
621
|
+
export type JoinRequestsGetResponse = JoinRequestDetails;
|
|
632
622
|
/** Optional parameters. */
|
|
633
623
|
export interface JoinRequestsApproveOptionalParams extends coreClient.OperationOptions {
|
|
634
624
|
}
|
|
@@ -637,11 +627,9 @@ export interface JoinRequestsDenyOptionalParams extends coreClient.OperationOpti
|
|
|
637
627
|
}
|
|
638
628
|
/** Optional parameters. */
|
|
639
629
|
export interface JoinRequestsListNextOptionalParams extends coreClient.OperationOptions {
|
|
640
|
-
/** Include denied */
|
|
641
|
-
includeDenied?: boolean;
|
|
642
630
|
}
|
|
643
631
|
/** Contains response data for the listNext operation. */
|
|
644
|
-
export
|
|
632
|
+
export type JoinRequestsListNextResponse = JoinRequestList;
|
|
645
633
|
/** Optional parameters. */
|
|
646
634
|
export interface RedeemInvitationCodeOptionalParams extends coreClient.OperationOptions {
|
|
647
635
|
}
|
|
@@ -651,12 +639,12 @@ export interface StudentsListOptionalParams extends coreClient.OperationOptions
|
|
|
651
639
|
includeDeleted?: boolean;
|
|
652
640
|
}
|
|
653
641
|
/** Contains response data for the list operation. */
|
|
654
|
-
export
|
|
642
|
+
export type StudentsListResponse = StudentListResult;
|
|
655
643
|
/** Optional parameters. */
|
|
656
644
|
export interface StudentsGetOptionalParams extends coreClient.OperationOptions {
|
|
657
645
|
}
|
|
658
646
|
/** Contains response data for the get operation. */
|
|
659
|
-
export
|
|
647
|
+
export type StudentsGetResponse = StudentDetails;
|
|
660
648
|
/** Optional parameters. */
|
|
661
649
|
export interface StudentsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
662
650
|
}
|
|
@@ -664,29 +652,27 @@ export interface StudentsDeleteOptionalParams extends coreClient.OperationOption
|
|
|
664
652
|
export interface StudentsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
665
653
|
}
|
|
666
654
|
/** Contains response data for the createOrUpdate operation. */
|
|
667
|
-
export
|
|
655
|
+
export type StudentsCreateOrUpdateResponse = StudentDetails;
|
|
668
656
|
/** Optional parameters. */
|
|
669
657
|
export interface StudentsListNextOptionalParams extends coreClient.OperationOptions {
|
|
670
|
-
/** May be used to show deleted items. */
|
|
671
|
-
includeDeleted?: boolean;
|
|
672
658
|
}
|
|
673
659
|
/** Contains response data for the listNext operation. */
|
|
674
|
-
export
|
|
660
|
+
export type StudentsListNextResponse = StudentListResult;
|
|
675
661
|
/** Optional parameters. */
|
|
676
662
|
export interface StudentLabsListAllOptionalParams extends coreClient.OperationOptions {
|
|
677
663
|
}
|
|
678
664
|
/** Contains response data for the listAll operation. */
|
|
679
|
-
export
|
|
665
|
+
export type StudentLabsListAllResponse = StudentLabListResult;
|
|
680
666
|
/** Optional parameters. */
|
|
681
667
|
export interface StudentLabsGetOptionalParams extends coreClient.OperationOptions {
|
|
682
668
|
}
|
|
683
669
|
/** Contains response data for the get operation. */
|
|
684
|
-
export
|
|
670
|
+
export type StudentLabsGetResponse = StudentLabDetails;
|
|
685
671
|
/** Optional parameters. */
|
|
686
672
|
export interface StudentLabsListAllNextOptionalParams extends coreClient.OperationOptions {
|
|
687
673
|
}
|
|
688
674
|
/** Contains response data for the listAllNext operation. */
|
|
689
|
-
export
|
|
675
|
+
export type StudentLabsListAllNextResponse = StudentLabListResult;
|
|
690
676
|
/** Optional parameters. */
|
|
691
677
|
export interface EducationManagementClientOptionalParams extends coreClient.ServiceClientOptions {
|
|
692
678
|
/** server parameter */
|