@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
|
@@ -0,0 +1,407 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
*
|
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.LabsImpl = void 0;
|
|
11
|
+
const tslib_1 = require("tslib");
|
|
12
|
+
const pagingHelper_js_1 = require("../pagingHelper.js");
|
|
13
|
+
const coreClient = tslib_1.__importStar(require("@azure/core-client"));
|
|
14
|
+
const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
|
|
15
|
+
const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
|
|
16
|
+
/// <reference lib="esnext.asynciterable" />
|
|
17
|
+
/** Class containing Labs operations. */
|
|
18
|
+
class LabsImpl {
|
|
19
|
+
client;
|
|
20
|
+
/**
|
|
21
|
+
* Initialize a new instance of the class Labs class.
|
|
22
|
+
* @param client Reference to the service client
|
|
23
|
+
*/
|
|
24
|
+
constructor(client) {
|
|
25
|
+
this.client = client;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Get a list of labs associated with the provided billing account name and billing profile name.
|
|
29
|
+
* @param billingAccountName Billing account name.
|
|
30
|
+
* @param billingProfileName Billing profile name.
|
|
31
|
+
* @param options The options parameters.
|
|
32
|
+
*/
|
|
33
|
+
listAll(billingAccountName, billingProfileName, options) {
|
|
34
|
+
const iter = this.listAllPagingAll(billingAccountName, billingProfileName, options);
|
|
35
|
+
return {
|
|
36
|
+
next() {
|
|
37
|
+
return iter.next();
|
|
38
|
+
},
|
|
39
|
+
[Symbol.asyncIterator]() {
|
|
40
|
+
return this;
|
|
41
|
+
},
|
|
42
|
+
byPage: (settings) => {
|
|
43
|
+
if (settings?.maxPageSize) {
|
|
44
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
45
|
+
}
|
|
46
|
+
return this.listAllPagingPage(billingAccountName, billingProfileName, options, settings);
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
async *listAllPagingPage(billingAccountName, billingProfileName, options, settings) {
|
|
51
|
+
let result;
|
|
52
|
+
let continuationToken = settings?.continuationToken;
|
|
53
|
+
if (!continuationToken) {
|
|
54
|
+
result = await this._listAll(billingAccountName, billingProfileName, options);
|
|
55
|
+
let page = result.value || [];
|
|
56
|
+
continuationToken = result.nextLink;
|
|
57
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
58
|
+
yield page;
|
|
59
|
+
}
|
|
60
|
+
while (continuationToken) {
|
|
61
|
+
result = await this._listAllNext(billingAccountName, billingProfileName, continuationToken, options);
|
|
62
|
+
continuationToken = result.nextLink;
|
|
63
|
+
let page = result.value || [];
|
|
64
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
65
|
+
yield page;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
async *listAllPagingAll(billingAccountName, billingProfileName, options) {
|
|
69
|
+
for await (const page of this.listAllPagingPage(billingAccountName, billingProfileName, options)) {
|
|
70
|
+
yield* page;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Get the details for a specific lab associated with the provided billing account name, billing
|
|
75
|
+
* profile name, and invoice section name.
|
|
76
|
+
* @param billingAccountName Billing account name.
|
|
77
|
+
* @param billingProfileName Billing profile name.
|
|
78
|
+
* @param invoiceSectionName Invoice section name.
|
|
79
|
+
* @param options The options parameters.
|
|
80
|
+
*/
|
|
81
|
+
list(billingAccountName, billingProfileName, invoiceSectionName, options) {
|
|
82
|
+
const iter = this.listPagingAll(billingAccountName, billingProfileName, invoiceSectionName, options);
|
|
83
|
+
return {
|
|
84
|
+
next() {
|
|
85
|
+
return iter.next();
|
|
86
|
+
},
|
|
87
|
+
[Symbol.asyncIterator]() {
|
|
88
|
+
return this;
|
|
89
|
+
},
|
|
90
|
+
byPage: (settings) => {
|
|
91
|
+
if (settings?.maxPageSize) {
|
|
92
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
93
|
+
}
|
|
94
|
+
return this.listPagingPage(billingAccountName, billingProfileName, invoiceSectionName, options, settings);
|
|
95
|
+
}
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
async *listPagingPage(billingAccountName, billingProfileName, invoiceSectionName, options, settings) {
|
|
99
|
+
let result;
|
|
100
|
+
let continuationToken = settings?.continuationToken;
|
|
101
|
+
if (!continuationToken) {
|
|
102
|
+
result = await this._list(billingAccountName, billingProfileName, invoiceSectionName, options);
|
|
103
|
+
let page = result.value || [];
|
|
104
|
+
continuationToken = result.nextLink;
|
|
105
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
106
|
+
yield page;
|
|
107
|
+
}
|
|
108
|
+
while (continuationToken) {
|
|
109
|
+
result = await this._listNext(billingAccountName, billingProfileName, invoiceSectionName, continuationToken, options);
|
|
110
|
+
continuationToken = result.nextLink;
|
|
111
|
+
let page = result.value || [];
|
|
112
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
113
|
+
yield page;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
async *listPagingAll(billingAccountName, billingProfileName, invoiceSectionName, options) {
|
|
117
|
+
for await (const page of this.listPagingPage(billingAccountName, billingProfileName, invoiceSectionName, options)) {
|
|
118
|
+
yield* page;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* Get a list of labs associated with the provided billing account name and billing profile name.
|
|
123
|
+
* @param billingAccountName Billing account name.
|
|
124
|
+
* @param billingProfileName Billing profile name.
|
|
125
|
+
* @param options The options parameters.
|
|
126
|
+
*/
|
|
127
|
+
_listAll(billingAccountName, billingProfileName, options) {
|
|
128
|
+
return this.client.sendOperationRequest({ billingAccountName, billingProfileName, options }, listAllOperationSpec);
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* Get the details for a specific lab associated with the provided billing account name, billing
|
|
132
|
+
* profile name, and invoice section name.
|
|
133
|
+
* @param billingAccountName Billing account name.
|
|
134
|
+
* @param billingProfileName Billing profile name.
|
|
135
|
+
* @param invoiceSectionName Invoice section name.
|
|
136
|
+
* @param options The options parameters.
|
|
137
|
+
*/
|
|
138
|
+
_list(billingAccountName, billingProfileName, invoiceSectionName, options) {
|
|
139
|
+
return this.client.sendOperationRequest({ billingAccountName, billingProfileName, invoiceSectionName, options }, listOperationSpec);
|
|
140
|
+
}
|
|
141
|
+
/**
|
|
142
|
+
* Get the details for a specific lab associated with the provided billing account name, billing
|
|
143
|
+
* profile name, and invoice section name.
|
|
144
|
+
* @param billingAccountName Billing account name.
|
|
145
|
+
* @param billingProfileName Billing profile name.
|
|
146
|
+
* @param invoiceSectionName Invoice section name.
|
|
147
|
+
* @param options The options parameters.
|
|
148
|
+
*/
|
|
149
|
+
get(billingAccountName, billingProfileName, invoiceSectionName, options) {
|
|
150
|
+
return this.client.sendOperationRequest({ billingAccountName, billingProfileName, invoiceSectionName, options }, getOperationSpec);
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* Delete a specific lab associated with the provided billing account name, billing profile name, and
|
|
154
|
+
* invoice section name. Note all students must be removed from the lab in order to delete the lab.
|
|
155
|
+
* @param billingAccountName Billing account name.
|
|
156
|
+
* @param billingProfileName Billing profile name.
|
|
157
|
+
* @param invoiceSectionName Invoice section name.
|
|
158
|
+
* @param options The options parameters.
|
|
159
|
+
*/
|
|
160
|
+
delete(billingAccountName, billingProfileName, invoiceSectionName, options) {
|
|
161
|
+
return this.client.sendOperationRequest({ billingAccountName, billingProfileName, invoiceSectionName, options }, deleteOperationSpec);
|
|
162
|
+
}
|
|
163
|
+
/**
|
|
164
|
+
* Create a new lab or update a previously created lab.
|
|
165
|
+
* @param billingAccountName Billing account name.
|
|
166
|
+
* @param billingProfileName Billing profile name.
|
|
167
|
+
* @param invoiceSectionName Invoice section name.
|
|
168
|
+
* @param parameters Request parameters that are provided to create lab resource.
|
|
169
|
+
* @param options The options parameters.
|
|
170
|
+
*/
|
|
171
|
+
createOrUpdate(billingAccountName, billingProfileName, invoiceSectionName, parameters, options) {
|
|
172
|
+
return this.client.sendOperationRequest({
|
|
173
|
+
billingAccountName,
|
|
174
|
+
billingProfileName,
|
|
175
|
+
invoiceSectionName,
|
|
176
|
+
parameters,
|
|
177
|
+
options
|
|
178
|
+
}, createOrUpdateOperationSpec);
|
|
179
|
+
}
|
|
180
|
+
/**
|
|
181
|
+
* Generate invite code for a lab
|
|
182
|
+
* @param billingAccountName Billing account name.
|
|
183
|
+
* @param billingProfileName Billing profile name.
|
|
184
|
+
* @param invoiceSectionName Invoice section name.
|
|
185
|
+
* @param parameters Request parameters that are provided to generate invite code.
|
|
186
|
+
* @param options The options parameters.
|
|
187
|
+
*/
|
|
188
|
+
generateInviteCode(billingAccountName, billingProfileName, invoiceSectionName, parameters, options) {
|
|
189
|
+
return this.client.sendOperationRequest({
|
|
190
|
+
billingAccountName,
|
|
191
|
+
billingProfileName,
|
|
192
|
+
invoiceSectionName,
|
|
193
|
+
parameters,
|
|
194
|
+
options
|
|
195
|
+
}, generateInviteCodeOperationSpec);
|
|
196
|
+
}
|
|
197
|
+
/**
|
|
198
|
+
* ListAllNext
|
|
199
|
+
* @param billingAccountName Billing account name.
|
|
200
|
+
* @param billingProfileName Billing profile name.
|
|
201
|
+
* @param nextLink The nextLink from the previous successful call to the ListAll method.
|
|
202
|
+
* @param options The options parameters.
|
|
203
|
+
*/
|
|
204
|
+
_listAllNext(billingAccountName, billingProfileName, nextLink, options) {
|
|
205
|
+
return this.client.sendOperationRequest({ billingAccountName, billingProfileName, nextLink, options }, listAllNextOperationSpec);
|
|
206
|
+
}
|
|
207
|
+
/**
|
|
208
|
+
* ListNext
|
|
209
|
+
* @param billingAccountName Billing account name.
|
|
210
|
+
* @param billingProfileName Billing profile name.
|
|
211
|
+
* @param invoiceSectionName Invoice section name.
|
|
212
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
213
|
+
* @param options The options parameters.
|
|
214
|
+
*/
|
|
215
|
+
_listNext(billingAccountName, billingProfileName, invoiceSectionName, nextLink, options) {
|
|
216
|
+
return this.client.sendOperationRequest({
|
|
217
|
+
billingAccountName,
|
|
218
|
+
billingProfileName,
|
|
219
|
+
invoiceSectionName,
|
|
220
|
+
nextLink,
|
|
221
|
+
options
|
|
222
|
+
}, listNextOperationSpec);
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
exports.LabsImpl = LabsImpl;
|
|
226
|
+
// Operation Specifications
|
|
227
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
228
|
+
const listAllOperationSpec = {
|
|
229
|
+
path: "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/providers/Microsoft.Education/labs",
|
|
230
|
+
httpMethod: "GET",
|
|
231
|
+
responses: {
|
|
232
|
+
200: {
|
|
233
|
+
bodyMapper: Mappers.LabListResult
|
|
234
|
+
},
|
|
235
|
+
default: {
|
|
236
|
+
bodyMapper: Mappers.ErrorResponseBody
|
|
237
|
+
}
|
|
238
|
+
},
|
|
239
|
+
queryParameters: [
|
|
240
|
+
Parameters.apiVersion,
|
|
241
|
+
Parameters.includeBudget,
|
|
242
|
+
Parameters.includeDeleted
|
|
243
|
+
],
|
|
244
|
+
urlParameters: [
|
|
245
|
+
Parameters.$host,
|
|
246
|
+
Parameters.billingAccountName,
|
|
247
|
+
Parameters.billingProfileName
|
|
248
|
+
],
|
|
249
|
+
headerParameters: [Parameters.accept],
|
|
250
|
+
serializer
|
|
251
|
+
};
|
|
252
|
+
const listOperationSpec = {
|
|
253
|
+
path: "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/providers/Microsoft.Education/labs",
|
|
254
|
+
httpMethod: "GET",
|
|
255
|
+
responses: {
|
|
256
|
+
200: {
|
|
257
|
+
bodyMapper: Mappers.LabListResult
|
|
258
|
+
},
|
|
259
|
+
default: {
|
|
260
|
+
bodyMapper: Mappers.ErrorResponseBody
|
|
261
|
+
}
|
|
262
|
+
},
|
|
263
|
+
queryParameters: [Parameters.apiVersion, Parameters.includeBudget],
|
|
264
|
+
urlParameters: [
|
|
265
|
+
Parameters.$host,
|
|
266
|
+
Parameters.billingAccountName,
|
|
267
|
+
Parameters.billingProfileName,
|
|
268
|
+
Parameters.invoiceSectionName
|
|
269
|
+
],
|
|
270
|
+
headerParameters: [Parameters.accept],
|
|
271
|
+
serializer
|
|
272
|
+
};
|
|
273
|
+
const getOperationSpec = {
|
|
274
|
+
path: "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/providers/Microsoft.Education/labs/default",
|
|
275
|
+
httpMethod: "GET",
|
|
276
|
+
responses: {
|
|
277
|
+
200: {
|
|
278
|
+
bodyMapper: Mappers.LabDetails
|
|
279
|
+
},
|
|
280
|
+
default: {
|
|
281
|
+
bodyMapper: Mappers.ErrorResponseBody
|
|
282
|
+
}
|
|
283
|
+
},
|
|
284
|
+
queryParameters: [Parameters.apiVersion, Parameters.includeBudget],
|
|
285
|
+
urlParameters: [
|
|
286
|
+
Parameters.$host,
|
|
287
|
+
Parameters.billingAccountName,
|
|
288
|
+
Parameters.billingProfileName,
|
|
289
|
+
Parameters.invoiceSectionName
|
|
290
|
+
],
|
|
291
|
+
headerParameters: [Parameters.accept],
|
|
292
|
+
serializer
|
|
293
|
+
};
|
|
294
|
+
const deleteOperationSpec = {
|
|
295
|
+
path: "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/providers/Microsoft.Education/labs/default",
|
|
296
|
+
httpMethod: "DELETE",
|
|
297
|
+
responses: {
|
|
298
|
+
200: {},
|
|
299
|
+
204: {},
|
|
300
|
+
default: {
|
|
301
|
+
bodyMapper: Mappers.ErrorResponseBody
|
|
302
|
+
}
|
|
303
|
+
},
|
|
304
|
+
queryParameters: [Parameters.apiVersion],
|
|
305
|
+
urlParameters: [
|
|
306
|
+
Parameters.$host,
|
|
307
|
+
Parameters.billingAccountName,
|
|
308
|
+
Parameters.billingProfileName,
|
|
309
|
+
Parameters.invoiceSectionName
|
|
310
|
+
],
|
|
311
|
+
headerParameters: [Parameters.accept],
|
|
312
|
+
serializer
|
|
313
|
+
};
|
|
314
|
+
const createOrUpdateOperationSpec = {
|
|
315
|
+
path: "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/providers/Microsoft.Education/labs/default",
|
|
316
|
+
httpMethod: "PUT",
|
|
317
|
+
responses: {
|
|
318
|
+
200: {
|
|
319
|
+
bodyMapper: Mappers.LabDetails
|
|
320
|
+
},
|
|
321
|
+
201: {
|
|
322
|
+
bodyMapper: Mappers.LabDetails
|
|
323
|
+
},
|
|
324
|
+
default: {
|
|
325
|
+
bodyMapper: Mappers.ErrorResponseBody
|
|
326
|
+
}
|
|
327
|
+
},
|
|
328
|
+
requestBody: Parameters.parameters,
|
|
329
|
+
queryParameters: [Parameters.apiVersion],
|
|
330
|
+
urlParameters: [
|
|
331
|
+
Parameters.$host,
|
|
332
|
+
Parameters.billingAccountName,
|
|
333
|
+
Parameters.billingProfileName,
|
|
334
|
+
Parameters.invoiceSectionName
|
|
335
|
+
],
|
|
336
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
337
|
+
mediaType: "json",
|
|
338
|
+
serializer
|
|
339
|
+
};
|
|
340
|
+
const generateInviteCodeOperationSpec = {
|
|
341
|
+
path: "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/providers/Microsoft.Education/labs/default/generateInviteCode",
|
|
342
|
+
httpMethod: "POST",
|
|
343
|
+
responses: {
|
|
344
|
+
200: {
|
|
345
|
+
bodyMapper: Mappers.LabDetails
|
|
346
|
+
},
|
|
347
|
+
default: {
|
|
348
|
+
bodyMapper: Mappers.ErrorResponseBody
|
|
349
|
+
}
|
|
350
|
+
},
|
|
351
|
+
requestBody: Parameters.parameters1,
|
|
352
|
+
queryParameters: [
|
|
353
|
+
Parameters.apiVersion,
|
|
354
|
+
Parameters.onlyUpdateStudentCountParameter
|
|
355
|
+
],
|
|
356
|
+
urlParameters: [
|
|
357
|
+
Parameters.$host,
|
|
358
|
+
Parameters.billingAccountName,
|
|
359
|
+
Parameters.billingProfileName,
|
|
360
|
+
Parameters.invoiceSectionName
|
|
361
|
+
],
|
|
362
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
363
|
+
mediaType: "json",
|
|
364
|
+
serializer
|
|
365
|
+
};
|
|
366
|
+
const listAllNextOperationSpec = {
|
|
367
|
+
path: "{nextLink}",
|
|
368
|
+
httpMethod: "GET",
|
|
369
|
+
responses: {
|
|
370
|
+
200: {
|
|
371
|
+
bodyMapper: Mappers.LabListResult
|
|
372
|
+
},
|
|
373
|
+
default: {
|
|
374
|
+
bodyMapper: Mappers.ErrorResponseBody
|
|
375
|
+
}
|
|
376
|
+
},
|
|
377
|
+
urlParameters: [
|
|
378
|
+
Parameters.$host,
|
|
379
|
+
Parameters.billingAccountName,
|
|
380
|
+
Parameters.billingProfileName,
|
|
381
|
+
Parameters.nextLink
|
|
382
|
+
],
|
|
383
|
+
headerParameters: [Parameters.accept],
|
|
384
|
+
serializer
|
|
385
|
+
};
|
|
386
|
+
const listNextOperationSpec = {
|
|
387
|
+
path: "{nextLink}",
|
|
388
|
+
httpMethod: "GET",
|
|
389
|
+
responses: {
|
|
390
|
+
200: {
|
|
391
|
+
bodyMapper: Mappers.LabListResult
|
|
392
|
+
},
|
|
393
|
+
default: {
|
|
394
|
+
bodyMapper: Mappers.ErrorResponseBody
|
|
395
|
+
}
|
|
396
|
+
},
|
|
397
|
+
urlParameters: [
|
|
398
|
+
Parameters.$host,
|
|
399
|
+
Parameters.billingAccountName,
|
|
400
|
+
Parameters.billingProfileName,
|
|
401
|
+
Parameters.nextLink,
|
|
402
|
+
Parameters.invoiceSectionName
|
|
403
|
+
],
|
|
404
|
+
headerParameters: [Parameters.accept],
|
|
405
|
+
serializer
|
|
406
|
+
};
|
|
407
|
+
//#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AAU,CAAC,kBAAkB;KAC9B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,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\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { Labs } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { EducationManagementClient } from \"../educationManagementClient.js\";\nimport {\n LabDetails,\n LabsListAllNextOptionalParams,\n LabsListAllOptionalParams,\n LabsListAllResponse,\n LabsListNextOptionalParams,\n LabsListOptionalParams,\n LabsListResponse,\n LabsGetOptionalParams,\n LabsGetResponse,\n LabsDeleteOptionalParams,\n LabsCreateOrUpdateOptionalParams,\n LabsCreateOrUpdateResponse,\n InviteCodeGenerateRequest,\n LabsGenerateInviteCodeOptionalParams,\n LabsGenerateInviteCodeResponse,\n LabsListAllNextResponse,\n LabsListNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Labs operations. */\nexport class LabsImpl implements Labs {\n private readonly client: EducationManagementClient;\n\n /**\n * Initialize a new instance of the class Labs class.\n * @param client Reference to the service client\n */\n constructor(client: EducationManagementClient) {\n this.client = client;\n }\n\n /**\n * Get a list of labs associated with the provided billing account name and billing profile name.\n * @param billingAccountName Billing account name.\n * @param billingProfileName Billing profile name.\n * @param options The options parameters.\n */\n public listAll(\n billingAccountName: string,\n billingProfileName: string,\n options?: LabsListAllOptionalParams\n ): PagedAsyncIterableIterator<LabDetails> {\n const iter = this.listAllPagingAll(\n billingAccountName,\n billingProfileName,\n options\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listAllPagingPage(\n billingAccountName,\n billingProfileName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listAllPagingPage(\n billingAccountName: string,\n billingProfileName: string,\n options?: LabsListAllOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<LabDetails[]> {\n let result: LabsListAllResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listAll(\n billingAccountName,\n billingProfileName,\n options\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listAllNext(\n billingAccountName,\n billingProfileName,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listAllPagingAll(\n billingAccountName: string,\n billingProfileName: string,\n options?: LabsListAllOptionalParams\n ): AsyncIterableIterator<LabDetails> {\n for await (const page of this.listAllPagingPage(\n billingAccountName,\n billingProfileName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Get the details for a specific lab associated with the provided billing account name, billing\n * profile name, and invoice section name.\n * @param billingAccountName Billing account name.\n * @param billingProfileName Billing profile name.\n * @param invoiceSectionName Invoice section name.\n * @param options The options parameters.\n */\n public list(\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n options?: LabsListOptionalParams\n ): PagedAsyncIterableIterator<LabDetails> {\n const iter = this.listPagingAll(\n billingAccountName,\n billingProfileName,\n invoiceSectionName,\n options\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(\n billingAccountName,\n billingProfileName,\n invoiceSectionName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listPagingPage(\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n options?: LabsListOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<LabDetails[]> {\n let result: LabsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(\n billingAccountName,\n billingProfileName,\n invoiceSectionName,\n options\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(\n billingAccountName,\n billingProfileName,\n invoiceSectionName,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n options?: LabsListOptionalParams\n ): AsyncIterableIterator<LabDetails> {\n for await (const page of this.listPagingPage(\n billingAccountName,\n billingProfileName,\n invoiceSectionName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Get a list of labs associated with the provided billing account name and billing profile name.\n * @param billingAccountName Billing account name.\n * @param billingProfileName Billing profile name.\n * @param options The options parameters.\n */\n private _listAll(\n billingAccountName: string,\n billingProfileName: string,\n options?: LabsListAllOptionalParams\n ): Promise<LabsListAllResponse> {\n return this.client.sendOperationRequest(\n { billingAccountName, billingProfileName, options },\n listAllOperationSpec\n );\n }\n\n /**\n * Get the details for a specific lab associated with the provided billing account name, billing\n * profile name, and invoice section name.\n * @param billingAccountName Billing account name.\n * @param billingProfileName Billing profile name.\n * @param invoiceSectionName Invoice section name.\n * @param options The options parameters.\n */\n private _list(\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n options?: LabsListOptionalParams\n ): Promise<LabsListResponse> {\n return this.client.sendOperationRequest(\n { billingAccountName, billingProfileName, invoiceSectionName, options },\n listOperationSpec\n );\n }\n\n /**\n * Get the details for a specific lab associated with the provided billing account name, billing\n * profile name, and invoice section name.\n * @param billingAccountName Billing account name.\n * @param billingProfileName Billing profile name.\n * @param invoiceSectionName Invoice section name.\n * @param options The options parameters.\n */\n get(\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n options?: LabsGetOptionalParams\n ): Promise<LabsGetResponse> {\n return this.client.sendOperationRequest(\n { billingAccountName, billingProfileName, invoiceSectionName, options },\n getOperationSpec\n );\n }\n\n /**\n * Delete a specific lab associated with the provided billing account name, billing profile name, and\n * invoice section name. Note all students must be removed from the lab in order to delete the lab.\n * @param billingAccountName Billing account name.\n * @param billingProfileName Billing profile name.\n * @param invoiceSectionName Invoice section name.\n * @param options The options parameters.\n */\n delete(\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n options?: LabsDeleteOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { billingAccountName, billingProfileName, invoiceSectionName, options },\n deleteOperationSpec\n );\n }\n\n /**\n * Create a new lab or update a previously created lab.\n * @param billingAccountName Billing account name.\n * @param billingProfileName Billing profile name.\n * @param invoiceSectionName Invoice section name.\n * @param parameters Request parameters that are provided to create lab resource.\n * @param options The options parameters.\n */\n createOrUpdate(\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n parameters: LabDetails,\n options?: LabsCreateOrUpdateOptionalParams\n ): Promise<LabsCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n billingAccountName,\n billingProfileName,\n invoiceSectionName,\n parameters,\n options\n },\n createOrUpdateOperationSpec\n );\n }\n\n /**\n * Generate invite code for a lab\n * @param billingAccountName Billing account name.\n * @param billingProfileName Billing profile name.\n * @param invoiceSectionName Invoice section name.\n * @param parameters Request parameters that are provided to generate invite code.\n * @param options The options parameters.\n */\n generateInviteCode(\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n parameters: InviteCodeGenerateRequest,\n options?: LabsGenerateInviteCodeOptionalParams\n ): Promise<LabsGenerateInviteCodeResponse> {\n return this.client.sendOperationRequest(\n {\n billingAccountName,\n billingProfileName,\n invoiceSectionName,\n parameters,\n options\n },\n generateInviteCodeOperationSpec\n );\n }\n\n /**\n * ListAllNext\n * @param billingAccountName Billing account name.\n * @param billingProfileName Billing profile name.\n * @param nextLink The nextLink from the previous successful call to the ListAll method.\n * @param options The options parameters.\n */\n private _listAllNext(\n billingAccountName: string,\n billingProfileName: string,\n nextLink: string,\n options?: LabsListAllNextOptionalParams\n ): Promise<LabsListAllNextResponse> {\n return this.client.sendOperationRequest(\n { billingAccountName, billingProfileName, nextLink, options },\n listAllNextOperationSpec\n );\n }\n\n /**\n * ListNext\n * @param billingAccountName Billing account name.\n * @param billingProfileName Billing profile name.\n * @param invoiceSectionName Invoice section name.\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n billingAccountName: string,\n billingProfileName: string,\n invoiceSectionName: string,\n nextLink: string,\n options?: LabsListNextOptionalParams\n ): Promise<LabsListNextResponse> {\n return this.client.sendOperationRequest(\n {\n billingAccountName,\n billingProfileName,\n invoiceSectionName,\n nextLink,\n options\n },\n listNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listAllOperationSpec: coreClient.OperationSpec = {\n path:\n \"/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/providers/Microsoft.Education/labs\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.LabListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponseBody\n }\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.includeBudget,\n Parameters.includeDeleted\n ],\n urlParameters: [\n Parameters.$host,\n Parameters.billingAccountName,\n Parameters.billingProfileName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listOperationSpec: coreClient.OperationSpec = {\n path:\n \"/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/providers/Microsoft.Education/labs\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.LabListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponseBody\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.includeBudget],\n urlParameters: [\n Parameters.$host,\n Parameters.billingAccountName,\n Parameters.billingProfileName,\n Parameters.invoiceSectionName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/providers/Microsoft.Education/labs/default\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.LabDetails\n },\n default: {\n bodyMapper: Mappers.ErrorResponseBody\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.includeBudget],\n urlParameters: [\n Parameters.$host,\n Parameters.billingAccountName,\n Parameters.billingProfileName,\n Parameters.invoiceSectionName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/providers/Microsoft.Education/labs/default\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponseBody\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.billingAccountName,\n Parameters.billingProfileName,\n Parameters.invoiceSectionName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/providers/Microsoft.Education/labs/default\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.LabDetails\n },\n 201: {\n bodyMapper: Mappers.LabDetails\n },\n default: {\n bodyMapper: Mappers.ErrorResponseBody\n }\n },\n requestBody: Parameters.parameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.billingAccountName,\n Parameters.billingProfileName,\n Parameters.invoiceSectionName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst generateInviteCodeOperationSpec: coreClient.OperationSpec = {\n path:\n \"/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/invoiceSections/{invoiceSectionName}/providers/Microsoft.Education/labs/default/generateInviteCode\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.LabDetails\n },\n default: {\n bodyMapper: Mappers.ErrorResponseBody\n }\n },\n requestBody: Parameters.parameters1,\n queryParameters: [\n Parameters.apiVersion,\n Parameters.onlyUpdateStudentCountParameter\n ],\n urlParameters: [\n Parameters.$host,\n Parameters.billingAccountName,\n Parameters.billingProfileName,\n Parameters.invoiceSectionName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst listAllNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.LabListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponseBody\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.billingAccountName,\n Parameters.billingProfileName,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.LabListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponseBody\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.billingAccountName,\n Parameters.billingProfileName,\n Parameters.nextLink,\n Parameters.invoiceSectionName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Operations } from "../operationsInterfaces/index.js";
|
|
2
|
+
import { EducationManagementClient } from "../educationManagementClient.js";
|
|
3
|
+
import { OperationsListOptionalParams, OperationsListResponse } from "../models/index.js";
|
|
4
|
+
/** Class containing Operations operations. */
|
|
5
|
+
export declare class OperationsImpl implements Operations {
|
|
6
|
+
private readonly client;
|
|
7
|
+
/**
|
|
8
|
+
* Initialize a new instance of the class Operations class.
|
|
9
|
+
* @param client Reference to the service client
|
|
10
|
+
*/
|
|
11
|
+
constructor(client: EducationManagementClient);
|
|
12
|
+
/**
|
|
13
|
+
* Lists all of the available Microsoft.Education API operations.
|
|
14
|
+
* @param options The options parameters.
|
|
15
|
+
*/
|
|
16
|
+
list(options?: OperationsListOptionalParams): Promise<OperationsListResponse>;
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=operations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAI9D,OAAO,EAAE,yBAAyB,EAAE,MAAM,iCAAiC,CAAC;AAC5E,OAAO,EACL,4BAA4B,EAC5B,sBAAsB,EACvB,MAAM,oBAAoB,CAAC;AAE5B,8CAA8C;AAC9C,qBAAa,cAAe,YAAW,UAAU;IAC/C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA4B;IAEnD;;;OAGG;gBACS,MAAM,EAAE,yBAAyB;IAI7C;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,sBAAsB,CAAC;CAGnC"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
*
|
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.OperationsImpl = void 0;
|
|
11
|
+
const tslib_1 = require("tslib");
|
|
12
|
+
const coreClient = tslib_1.__importStar(require("@azure/core-client"));
|
|
13
|
+
const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
|
|
14
|
+
const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
|
|
15
|
+
/** Class containing Operations operations. */
|
|
16
|
+
class OperationsImpl {
|
|
17
|
+
client;
|
|
18
|
+
/**
|
|
19
|
+
* Initialize a new instance of the class Operations class.
|
|
20
|
+
* @param client Reference to the service client
|
|
21
|
+
*/
|
|
22
|
+
constructor(client) {
|
|
23
|
+
this.client = client;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Lists all of the available Microsoft.Education API operations.
|
|
27
|
+
* @param options The options parameters.
|
|
28
|
+
*/
|
|
29
|
+
list(options) {
|
|
30
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
exports.OperationsImpl = OperationsImpl;
|
|
34
|
+
// Operation Specifications
|
|
35
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
36
|
+
const listOperationSpec = {
|
|
37
|
+
path: "/providers/Microsoft.Education/operations",
|
|
38
|
+
httpMethod: "GET",
|
|
39
|
+
responses: {
|
|
40
|
+
200: {
|
|
41
|
+
bodyMapper: Mappers.OperationListResult
|
|
42
|
+
},
|
|
43
|
+
default: {
|
|
44
|
+
bodyMapper: Mappers.ErrorResponseBody
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
queryParameters: [Parameters.apiVersion],
|
|
48
|
+
urlParameters: [Parameters.$host],
|
|
49
|
+
headerParameters: [Parameters.accept],
|
|
50
|
+
serializer
|
|
51
|
+
};
|
|
52
|
+
//# sourceMappingURL=operations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAOtD,8CAA8C;AAC9C,MAAa,cAAc;IACR,MAAM,CAA4B;IAEnD;;;OAGG;IACH,YAAY,MAAiC;QAC3C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACH,IAAI,CACF,OAAsC;QAEtC,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,EAAE,OAAO,EAAE,EAAE,iBAAiB,CAAC,CAAC;IAC1E,CAAC;CACF;AApBD,wCAoBC;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,iBAAiB,GAA6B;IAClD,IAAI,EAAE,2CAA2C;IACjD,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,iBAAiB;SACtC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;IACjC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,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\nimport { Operations } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { EducationManagementClient } from \"../educationManagementClient.js\";\nimport {\n OperationsListOptionalParams,\n OperationsListResponse\n} from \"../models/index.js\";\n\n/** Class containing Operations operations. */\nexport class OperationsImpl implements Operations {\n private readonly client: EducationManagementClient;\n\n /**\n * Initialize a new instance of the class Operations class.\n * @param client Reference to the service client\n */\n constructor(client: EducationManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists all of the available Microsoft.Education API operations.\n * @param options The options parameters.\n */\n list(\n options?: OperationsListOptionalParams\n ): Promise<OperationsListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Education/operations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponseBody\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { StudentLabs } from "../operationsInterfaces/index.js";
|
|
3
|
+
import { EducationManagementClient } from "../educationManagementClient.js";
|
|
4
|
+
import { StudentLabDetails, StudentLabsListAllOptionalParams, StudentLabsGetOptionalParams, StudentLabsGetResponse } from "../models/index.js";
|
|
5
|
+
/** Class containing StudentLabs operations. */
|
|
6
|
+
export declare class StudentLabsImpl implements StudentLabs {
|
|
7
|
+
private readonly client;
|
|
8
|
+
/**
|
|
9
|
+
* Initialize a new instance of the class StudentLabs class.
|
|
10
|
+
* @param client Reference to the service client
|
|
11
|
+
*/
|
|
12
|
+
constructor(client: EducationManagementClient);
|
|
13
|
+
/**
|
|
14
|
+
* Get a list of all labs associated with the caller of the API.
|
|
15
|
+
* @param options The options parameters.
|
|
16
|
+
*/
|
|
17
|
+
listAll(options?: StudentLabsListAllOptionalParams): PagedAsyncIterableIterator<StudentLabDetails>;
|
|
18
|
+
private listAllPagingPage;
|
|
19
|
+
private listAllPagingAll;
|
|
20
|
+
/**
|
|
21
|
+
* Get a list of all labs associated with the caller of the API.
|
|
22
|
+
* @param options The options parameters.
|
|
23
|
+
*/
|
|
24
|
+
private _listAll;
|
|
25
|
+
/**
|
|
26
|
+
* Get the details for a specified lab associated with the student lab.
|
|
27
|
+
* @param studentLabName Student lab name.
|
|
28
|
+
* @param options The options parameters.
|
|
29
|
+
*/
|
|
30
|
+
get(studentLabName: string, options?: StudentLabsGetOptionalParams): Promise<StudentLabsGetResponse>;
|
|
31
|
+
/**
|
|
32
|
+
* ListAllNext
|
|
33
|
+
* @param nextLink The nextLink from the previous successful call to the ListAll method.
|
|
34
|
+
* @param options The options parameters.
|
|
35
|
+
*/
|
|
36
|
+
private _listAllNext;
|
|
37
|
+
}
|
|
38
|
+
//# sourceMappingURL=studentLabs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"studentLabs.d.ts","sourceRoot":"","sources":["../../../src/operations/studentLabs.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAI/D,OAAO,EAAE,yBAAyB,EAAE,MAAM,iCAAiC,CAAC;AAC5E,OAAO,EACL,iBAAiB,EAEjB,gCAAgC,EAEhC,4BAA4B,EAC5B,sBAAsB,EAEvB,MAAM,oBAAoB,CAAC;AAG5B,+CAA+C;AAC/C,qBAAa,eAAgB,YAAW,WAAW;IACjD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA4B;IAEnD;;;OAGG;gBACS,MAAM,EAAE,yBAAyB;IAI7C;;;OAGG;IACI,OAAO,CACZ,OAAO,CAAC,EAAE,gCAAgC,GACzC,0BAA0B,CAAC,iBAAiB,CAAC;YAkBjC,iBAAiB;YAsBjB,gBAAgB;IAQ/B;;;OAGG;IACH,OAAO,CAAC,QAAQ;IAMhB;;;;OAIG;IACH,GAAG,CACD,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,sBAAsB,CAAC;IAOlC;;;;OAIG;IACH,OAAO,CAAC,YAAY;CASrB"}
|