@azure/arm-education 1.0.0-beta.3 → 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 +14 -4
- package/LICENSE +4 -4
- package/README.md +26 -17
- 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 +36 -26
- 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 -4
- package/dist/browser/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/index.d.ts +32 -32
- 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 +48 -78
- 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 +26 -41
- 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 +48 -78
- 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 +26 -41
- 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 +26 -41
- 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-esm/src → dist/browser}/pagingHelper.js +2 -4
- 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 -995
- 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 -5
- 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 +85 -76
- package/dist/index.js +0 -2623
- 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 -58
- 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 -82
- 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 -86
- 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 -39
- 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 -39
- 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 -39
- 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 -54
- 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 -44
- 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 -38
- 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 -39
- 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 -60
- 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 -86
- 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 -88
- 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 -35
- 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 -40
- 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 -36
- 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 -49
- 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 -47
- 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 -39
- 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 -39
- 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 -52
- 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 -6
- 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/src/pagingHelper.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 -196
- package/src/models/index.ts +0 -786
- package/src/models/mappers.ts +0 -775
- package/src/models/parameters.ts +0 -215
- package/src/operations/grants.ts +0 -354
- package/src/operations/index.ts +0 -14
- package/src/operations/joinRequests.ts +0 -371
- package/src/operations/labs.ts +0 -591
- package/src/operations/operations.ts +0 -59
- package/src/operations/studentLabs.ts +0 -182
- package/src/operations/students.ts +0 -384
- 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/src/pagingHelper.ts +0 -39
- 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/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
- /package/review/{arm-education.api.md → arm-education-node.api.md} +0 -0
package/src/models/parameters.ts
DELETED
|
@@ -1,215 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
import {
|
|
10
|
-
OperationParameter,
|
|
11
|
-
OperationURLParameter,
|
|
12
|
-
OperationQueryParameter
|
|
13
|
-
} from "@azure/core-client";
|
|
14
|
-
import {
|
|
15
|
-
LabDetails as LabDetailsMapper,
|
|
16
|
-
InviteCodeGenerateRequest as InviteCodeGenerateRequestMapper,
|
|
17
|
-
RedeemRequest as RedeemRequestMapper,
|
|
18
|
-
StudentDetails as StudentDetailsMapper
|
|
19
|
-
} from "../models/mappers";
|
|
20
|
-
|
|
21
|
-
export const accept: OperationParameter = {
|
|
22
|
-
parameterPath: "accept",
|
|
23
|
-
mapper: {
|
|
24
|
-
defaultValue: "application/json",
|
|
25
|
-
isConstant: true,
|
|
26
|
-
serializedName: "Accept",
|
|
27
|
-
type: {
|
|
28
|
-
name: "String"
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
};
|
|
32
|
-
|
|
33
|
-
export const $host: OperationURLParameter = {
|
|
34
|
-
parameterPath: "$host",
|
|
35
|
-
mapper: {
|
|
36
|
-
serializedName: "$host",
|
|
37
|
-
required: true,
|
|
38
|
-
type: {
|
|
39
|
-
name: "String"
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
skipEncoding: true
|
|
43
|
-
};
|
|
44
|
-
|
|
45
|
-
export const apiVersion: OperationQueryParameter = {
|
|
46
|
-
parameterPath: "apiVersion",
|
|
47
|
-
mapper: {
|
|
48
|
-
defaultValue: "2021-12-01-preview",
|
|
49
|
-
isConstant: true,
|
|
50
|
-
serializedName: "api-version",
|
|
51
|
-
type: {
|
|
52
|
-
name: "String"
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
};
|
|
56
|
-
|
|
57
|
-
export const includeAllocatedBudget: OperationQueryParameter = {
|
|
58
|
-
parameterPath: ["options", "includeAllocatedBudget"],
|
|
59
|
-
mapper: {
|
|
60
|
-
serializedName: "includeAllocatedBudget",
|
|
61
|
-
type: {
|
|
62
|
-
name: "Boolean"
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
};
|
|
66
|
-
|
|
67
|
-
export const billingAccountName: OperationURLParameter = {
|
|
68
|
-
parameterPath: "billingAccountName",
|
|
69
|
-
mapper: {
|
|
70
|
-
serializedName: "billingAccountName",
|
|
71
|
-
required: true,
|
|
72
|
-
type: {
|
|
73
|
-
name: "String"
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
};
|
|
77
|
-
|
|
78
|
-
export const billingProfileName: OperationURLParameter = {
|
|
79
|
-
parameterPath: "billingProfileName",
|
|
80
|
-
mapper: {
|
|
81
|
-
serializedName: "billingProfileName",
|
|
82
|
-
required: true,
|
|
83
|
-
type: {
|
|
84
|
-
name: "String"
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
};
|
|
88
|
-
|
|
89
|
-
export const nextLink: OperationURLParameter = {
|
|
90
|
-
parameterPath: "nextLink",
|
|
91
|
-
mapper: {
|
|
92
|
-
serializedName: "nextLink",
|
|
93
|
-
required: true,
|
|
94
|
-
type: {
|
|
95
|
-
name: "String"
|
|
96
|
-
}
|
|
97
|
-
},
|
|
98
|
-
skipEncoding: true
|
|
99
|
-
};
|
|
100
|
-
|
|
101
|
-
export const includeBudget: OperationQueryParameter = {
|
|
102
|
-
parameterPath: ["options", "includeBudget"],
|
|
103
|
-
mapper: {
|
|
104
|
-
serializedName: "includeBudget",
|
|
105
|
-
type: {
|
|
106
|
-
name: "Boolean"
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
};
|
|
110
|
-
|
|
111
|
-
export const includeDeleted: OperationQueryParameter = {
|
|
112
|
-
parameterPath: ["options", "includeDeleted"],
|
|
113
|
-
mapper: {
|
|
114
|
-
serializedName: "includeDeleted",
|
|
115
|
-
type: {
|
|
116
|
-
name: "Boolean"
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
};
|
|
120
|
-
|
|
121
|
-
export const invoiceSectionName: OperationURLParameter = {
|
|
122
|
-
parameterPath: "invoiceSectionName",
|
|
123
|
-
mapper: {
|
|
124
|
-
serializedName: "invoiceSectionName",
|
|
125
|
-
required: true,
|
|
126
|
-
type: {
|
|
127
|
-
name: "String"
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
};
|
|
131
|
-
|
|
132
|
-
export const contentType: OperationParameter = {
|
|
133
|
-
parameterPath: ["options", "contentType"],
|
|
134
|
-
mapper: {
|
|
135
|
-
defaultValue: "application/json",
|
|
136
|
-
isConstant: true,
|
|
137
|
-
serializedName: "Content-Type",
|
|
138
|
-
type: {
|
|
139
|
-
name: "String"
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
};
|
|
143
|
-
|
|
144
|
-
export const parameters: OperationParameter = {
|
|
145
|
-
parameterPath: "parameters",
|
|
146
|
-
mapper: LabDetailsMapper
|
|
147
|
-
};
|
|
148
|
-
|
|
149
|
-
export const parameters1: OperationParameter = {
|
|
150
|
-
parameterPath: "parameters",
|
|
151
|
-
mapper: InviteCodeGenerateRequestMapper
|
|
152
|
-
};
|
|
153
|
-
|
|
154
|
-
export const onlyUpdateStudentCountParameter: OperationQueryParameter = {
|
|
155
|
-
parameterPath: ["options", "onlyUpdateStudentCountParameter"],
|
|
156
|
-
mapper: {
|
|
157
|
-
serializedName: "onlyUpdateStudentCountParameter",
|
|
158
|
-
type: {
|
|
159
|
-
name: "Boolean"
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
};
|
|
163
|
-
|
|
164
|
-
export const includeDenied: OperationQueryParameter = {
|
|
165
|
-
parameterPath: ["options", "includeDenied"],
|
|
166
|
-
mapper: {
|
|
167
|
-
serializedName: "includeDenied",
|
|
168
|
-
type: {
|
|
169
|
-
name: "Boolean"
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
};
|
|
173
|
-
|
|
174
|
-
export const joinRequestName: OperationURLParameter = {
|
|
175
|
-
parameterPath: "joinRequestName",
|
|
176
|
-
mapper: {
|
|
177
|
-
serializedName: "joinRequestName",
|
|
178
|
-
required: true,
|
|
179
|
-
type: {
|
|
180
|
-
name: "String"
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
};
|
|
184
|
-
|
|
185
|
-
export const parameters2: OperationParameter = {
|
|
186
|
-
parameterPath: "parameters",
|
|
187
|
-
mapper: RedeemRequestMapper
|
|
188
|
-
};
|
|
189
|
-
|
|
190
|
-
export const studentAlias: OperationURLParameter = {
|
|
191
|
-
parameterPath: "studentAlias",
|
|
192
|
-
mapper: {
|
|
193
|
-
serializedName: "studentAlias",
|
|
194
|
-
required: true,
|
|
195
|
-
type: {
|
|
196
|
-
name: "String"
|
|
197
|
-
}
|
|
198
|
-
}
|
|
199
|
-
};
|
|
200
|
-
|
|
201
|
-
export const parameters3: OperationParameter = {
|
|
202
|
-
parameterPath: "parameters",
|
|
203
|
-
mapper: StudentDetailsMapper
|
|
204
|
-
};
|
|
205
|
-
|
|
206
|
-
export const studentLabName: OperationURLParameter = {
|
|
207
|
-
parameterPath: "studentLabName",
|
|
208
|
-
mapper: {
|
|
209
|
-
serializedName: "studentLabName",
|
|
210
|
-
required: true,
|
|
211
|
-
type: {
|
|
212
|
-
name: "String"
|
|
213
|
-
}
|
|
214
|
-
}
|
|
215
|
-
};
|
package/src/operations/grants.ts
DELETED
|
@@ -1,354 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging";
|
|
10
|
-
import { setContinuationToken } from "../pagingHelper";
|
|
11
|
-
import { Grants } from "../operationsInterfaces";
|
|
12
|
-
import * as coreClient from "@azure/core-client";
|
|
13
|
-
import * as Mappers from "../models/mappers";
|
|
14
|
-
import * as Parameters from "../models/parameters";
|
|
15
|
-
import { EducationManagementClient } from "../educationManagementClient";
|
|
16
|
-
import {
|
|
17
|
-
GrantDetails,
|
|
18
|
-
GrantsListAllNextOptionalParams,
|
|
19
|
-
GrantsListAllOptionalParams,
|
|
20
|
-
GrantsListAllResponse,
|
|
21
|
-
GrantsListNextOptionalParams,
|
|
22
|
-
GrantsListOptionalParams,
|
|
23
|
-
GrantsListResponse,
|
|
24
|
-
GrantsGetOptionalParams,
|
|
25
|
-
GrantsGetResponse,
|
|
26
|
-
GrantsListAllNextResponse,
|
|
27
|
-
GrantsListNextResponse
|
|
28
|
-
} from "../models";
|
|
29
|
-
|
|
30
|
-
/// <reference lib="esnext.asynciterable" />
|
|
31
|
-
/** Class containing Grants operations. */
|
|
32
|
-
export class GrantsImpl implements Grants {
|
|
33
|
-
private readonly client: EducationManagementClient;
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
* Initialize a new instance of the class Grants class.
|
|
37
|
-
* @param client Reference to the service client
|
|
38
|
-
*/
|
|
39
|
-
constructor(client: EducationManagementClient) {
|
|
40
|
-
this.client = client;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* Get a list of grants that Microsoft has provided.
|
|
45
|
-
* @param options The options parameters.
|
|
46
|
-
*/
|
|
47
|
-
public listAll(
|
|
48
|
-
options?: GrantsListAllOptionalParams
|
|
49
|
-
): PagedAsyncIterableIterator<GrantDetails> {
|
|
50
|
-
const iter = this.listAllPagingAll(options);
|
|
51
|
-
return {
|
|
52
|
-
next() {
|
|
53
|
-
return iter.next();
|
|
54
|
-
},
|
|
55
|
-
[Symbol.asyncIterator]() {
|
|
56
|
-
return this;
|
|
57
|
-
},
|
|
58
|
-
byPage: (settings?: PageSettings) => {
|
|
59
|
-
if (settings?.maxPageSize) {
|
|
60
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
61
|
-
}
|
|
62
|
-
return this.listAllPagingPage(options, settings);
|
|
63
|
-
}
|
|
64
|
-
};
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
private async *listAllPagingPage(
|
|
68
|
-
options?: GrantsListAllOptionalParams,
|
|
69
|
-
settings?: PageSettings
|
|
70
|
-
): AsyncIterableIterator<GrantDetails[]> {
|
|
71
|
-
let result: GrantsListAllResponse;
|
|
72
|
-
let continuationToken = settings?.continuationToken;
|
|
73
|
-
if (!continuationToken) {
|
|
74
|
-
result = await this._listAll(options);
|
|
75
|
-
let page = result.value || [];
|
|
76
|
-
continuationToken = result.nextLink;
|
|
77
|
-
setContinuationToken(page, continuationToken);
|
|
78
|
-
yield page;
|
|
79
|
-
}
|
|
80
|
-
while (continuationToken) {
|
|
81
|
-
result = await this._listAllNext(continuationToken, options);
|
|
82
|
-
continuationToken = result.nextLink;
|
|
83
|
-
let page = result.value || [];
|
|
84
|
-
setContinuationToken(page, continuationToken);
|
|
85
|
-
yield page;
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private async *listAllPagingAll(
|
|
90
|
-
options?: GrantsListAllOptionalParams
|
|
91
|
-
): AsyncIterableIterator<GrantDetails> {
|
|
92
|
-
for await (const page of this.listAllPagingPage(options)) {
|
|
93
|
-
yield* page;
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
/**
|
|
98
|
-
* Get details for a specific grant linked to the provided billing account and billing profile.
|
|
99
|
-
* @param billingAccountName Billing account name.
|
|
100
|
-
* @param billingProfileName Billing profile name.
|
|
101
|
-
* @param options The options parameters.
|
|
102
|
-
*/
|
|
103
|
-
public list(
|
|
104
|
-
billingAccountName: string,
|
|
105
|
-
billingProfileName: string,
|
|
106
|
-
options?: GrantsListOptionalParams
|
|
107
|
-
): PagedAsyncIterableIterator<GrantDetails> {
|
|
108
|
-
const iter = this.listPagingAll(
|
|
109
|
-
billingAccountName,
|
|
110
|
-
billingProfileName,
|
|
111
|
-
options
|
|
112
|
-
);
|
|
113
|
-
return {
|
|
114
|
-
next() {
|
|
115
|
-
return iter.next();
|
|
116
|
-
},
|
|
117
|
-
[Symbol.asyncIterator]() {
|
|
118
|
-
return this;
|
|
119
|
-
},
|
|
120
|
-
byPage: (settings?: PageSettings) => {
|
|
121
|
-
if (settings?.maxPageSize) {
|
|
122
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
123
|
-
}
|
|
124
|
-
return this.listPagingPage(
|
|
125
|
-
billingAccountName,
|
|
126
|
-
billingProfileName,
|
|
127
|
-
options,
|
|
128
|
-
settings
|
|
129
|
-
);
|
|
130
|
-
}
|
|
131
|
-
};
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
private async *listPagingPage(
|
|
135
|
-
billingAccountName: string,
|
|
136
|
-
billingProfileName: string,
|
|
137
|
-
options?: GrantsListOptionalParams,
|
|
138
|
-
settings?: PageSettings
|
|
139
|
-
): AsyncIterableIterator<GrantDetails[]> {
|
|
140
|
-
let result: GrantsListResponse;
|
|
141
|
-
let continuationToken = settings?.continuationToken;
|
|
142
|
-
if (!continuationToken) {
|
|
143
|
-
result = await this._list(
|
|
144
|
-
billingAccountName,
|
|
145
|
-
billingProfileName,
|
|
146
|
-
options
|
|
147
|
-
);
|
|
148
|
-
let page = result.value || [];
|
|
149
|
-
continuationToken = result.nextLink;
|
|
150
|
-
setContinuationToken(page, continuationToken);
|
|
151
|
-
yield page;
|
|
152
|
-
}
|
|
153
|
-
while (continuationToken) {
|
|
154
|
-
result = await this._listNext(
|
|
155
|
-
billingAccountName,
|
|
156
|
-
billingProfileName,
|
|
157
|
-
continuationToken,
|
|
158
|
-
options
|
|
159
|
-
);
|
|
160
|
-
continuationToken = result.nextLink;
|
|
161
|
-
let page = result.value || [];
|
|
162
|
-
setContinuationToken(page, continuationToken);
|
|
163
|
-
yield page;
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
private async *listPagingAll(
|
|
168
|
-
billingAccountName: string,
|
|
169
|
-
billingProfileName: string,
|
|
170
|
-
options?: GrantsListOptionalParams
|
|
171
|
-
): AsyncIterableIterator<GrantDetails> {
|
|
172
|
-
for await (const page of this.listPagingPage(
|
|
173
|
-
billingAccountName,
|
|
174
|
-
billingProfileName,
|
|
175
|
-
options
|
|
176
|
-
)) {
|
|
177
|
-
yield* page;
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
/**
|
|
182
|
-
* Get a list of grants that Microsoft has provided.
|
|
183
|
-
* @param options The options parameters.
|
|
184
|
-
*/
|
|
185
|
-
private _listAll(
|
|
186
|
-
options?: GrantsListAllOptionalParams
|
|
187
|
-
): Promise<GrantsListAllResponse> {
|
|
188
|
-
return this.client.sendOperationRequest({ options }, listAllOperationSpec);
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
/**
|
|
192
|
-
* Get details for a specific grant linked to the provided billing account and billing profile.
|
|
193
|
-
* @param billingAccountName Billing account name.
|
|
194
|
-
* @param billingProfileName Billing profile name.
|
|
195
|
-
* @param options The options parameters.
|
|
196
|
-
*/
|
|
197
|
-
private _list(
|
|
198
|
-
billingAccountName: string,
|
|
199
|
-
billingProfileName: string,
|
|
200
|
-
options?: GrantsListOptionalParams
|
|
201
|
-
): Promise<GrantsListResponse> {
|
|
202
|
-
return this.client.sendOperationRequest(
|
|
203
|
-
{ billingAccountName, billingProfileName, options },
|
|
204
|
-
listOperationSpec
|
|
205
|
-
);
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
/**
|
|
209
|
-
* Get details for a specific grant linked to the provided billing account and billing profile.
|
|
210
|
-
* @param billingAccountName Billing account name.
|
|
211
|
-
* @param billingProfileName Billing profile name.
|
|
212
|
-
* @param options The options parameters.
|
|
213
|
-
*/
|
|
214
|
-
get(
|
|
215
|
-
billingAccountName: string,
|
|
216
|
-
billingProfileName: string,
|
|
217
|
-
options?: GrantsGetOptionalParams
|
|
218
|
-
): Promise<GrantsGetResponse> {
|
|
219
|
-
return this.client.sendOperationRequest(
|
|
220
|
-
{ billingAccountName, billingProfileName, options },
|
|
221
|
-
getOperationSpec
|
|
222
|
-
);
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
/**
|
|
226
|
-
* ListAllNext
|
|
227
|
-
* @param nextLink The nextLink from the previous successful call to the ListAll method.
|
|
228
|
-
* @param options The options parameters.
|
|
229
|
-
*/
|
|
230
|
-
private _listAllNext(
|
|
231
|
-
nextLink: string,
|
|
232
|
-
options?: GrantsListAllNextOptionalParams
|
|
233
|
-
): Promise<GrantsListAllNextResponse> {
|
|
234
|
-
return this.client.sendOperationRequest(
|
|
235
|
-
{ nextLink, options },
|
|
236
|
-
listAllNextOperationSpec
|
|
237
|
-
);
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
/**
|
|
241
|
-
* ListNext
|
|
242
|
-
* @param billingAccountName Billing account name.
|
|
243
|
-
* @param billingProfileName Billing profile name.
|
|
244
|
-
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
245
|
-
* @param options The options parameters.
|
|
246
|
-
*/
|
|
247
|
-
private _listNext(
|
|
248
|
-
billingAccountName: string,
|
|
249
|
-
billingProfileName: string,
|
|
250
|
-
nextLink: string,
|
|
251
|
-
options?: GrantsListNextOptionalParams
|
|
252
|
-
): Promise<GrantsListNextResponse> {
|
|
253
|
-
return this.client.sendOperationRequest(
|
|
254
|
-
{ billingAccountName, billingProfileName, nextLink, options },
|
|
255
|
-
listNextOperationSpec
|
|
256
|
-
);
|
|
257
|
-
}
|
|
258
|
-
}
|
|
259
|
-
// Operation Specifications
|
|
260
|
-
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
261
|
-
|
|
262
|
-
const listAllOperationSpec: coreClient.OperationSpec = {
|
|
263
|
-
path: "/providers/Microsoft.Education/grants",
|
|
264
|
-
httpMethod: "GET",
|
|
265
|
-
responses: {
|
|
266
|
-
200: {
|
|
267
|
-
bodyMapper: Mappers.GrantListResponse
|
|
268
|
-
},
|
|
269
|
-
default: {
|
|
270
|
-
bodyMapper: Mappers.ErrorResponseBody
|
|
271
|
-
}
|
|
272
|
-
},
|
|
273
|
-
queryParameters: [Parameters.apiVersion, Parameters.includeAllocatedBudget],
|
|
274
|
-
urlParameters: [Parameters.$host],
|
|
275
|
-
headerParameters: [Parameters.accept],
|
|
276
|
-
serializer
|
|
277
|
-
};
|
|
278
|
-
const listOperationSpec: coreClient.OperationSpec = {
|
|
279
|
-
path:
|
|
280
|
-
"/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/providers/Microsoft.Education/grants",
|
|
281
|
-
httpMethod: "GET",
|
|
282
|
-
responses: {
|
|
283
|
-
200: {
|
|
284
|
-
bodyMapper: Mappers.GrantListResponse
|
|
285
|
-
},
|
|
286
|
-
default: {
|
|
287
|
-
bodyMapper: Mappers.ErrorResponseBody
|
|
288
|
-
}
|
|
289
|
-
},
|
|
290
|
-
queryParameters: [Parameters.apiVersion, Parameters.includeAllocatedBudget],
|
|
291
|
-
urlParameters: [
|
|
292
|
-
Parameters.$host,
|
|
293
|
-
Parameters.billingAccountName,
|
|
294
|
-
Parameters.billingProfileName
|
|
295
|
-
],
|
|
296
|
-
headerParameters: [Parameters.accept],
|
|
297
|
-
serializer
|
|
298
|
-
};
|
|
299
|
-
const getOperationSpec: coreClient.OperationSpec = {
|
|
300
|
-
path:
|
|
301
|
-
"/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/providers/Microsoft.Education/grants/default",
|
|
302
|
-
httpMethod: "GET",
|
|
303
|
-
responses: {
|
|
304
|
-
200: {
|
|
305
|
-
bodyMapper: Mappers.GrantDetails
|
|
306
|
-
},
|
|
307
|
-
default: {
|
|
308
|
-
bodyMapper: Mappers.ErrorResponseBody
|
|
309
|
-
}
|
|
310
|
-
},
|
|
311
|
-
queryParameters: [Parameters.apiVersion, Parameters.includeAllocatedBudget],
|
|
312
|
-
urlParameters: [
|
|
313
|
-
Parameters.$host,
|
|
314
|
-
Parameters.billingAccountName,
|
|
315
|
-
Parameters.billingProfileName
|
|
316
|
-
],
|
|
317
|
-
headerParameters: [Parameters.accept],
|
|
318
|
-
serializer
|
|
319
|
-
};
|
|
320
|
-
const listAllNextOperationSpec: coreClient.OperationSpec = {
|
|
321
|
-
path: "{nextLink}",
|
|
322
|
-
httpMethod: "GET",
|
|
323
|
-
responses: {
|
|
324
|
-
200: {
|
|
325
|
-
bodyMapper: Mappers.GrantListResponse
|
|
326
|
-
},
|
|
327
|
-
default: {
|
|
328
|
-
bodyMapper: Mappers.ErrorResponseBody
|
|
329
|
-
}
|
|
330
|
-
},
|
|
331
|
-
urlParameters: [Parameters.$host, Parameters.nextLink],
|
|
332
|
-
headerParameters: [Parameters.accept],
|
|
333
|
-
serializer
|
|
334
|
-
};
|
|
335
|
-
const listNextOperationSpec: coreClient.OperationSpec = {
|
|
336
|
-
path: "{nextLink}",
|
|
337
|
-
httpMethod: "GET",
|
|
338
|
-
responses: {
|
|
339
|
-
200: {
|
|
340
|
-
bodyMapper: Mappers.GrantListResponse
|
|
341
|
-
},
|
|
342
|
-
default: {
|
|
343
|
-
bodyMapper: Mappers.ErrorResponseBody
|
|
344
|
-
}
|
|
345
|
-
},
|
|
346
|
-
urlParameters: [
|
|
347
|
-
Parameters.$host,
|
|
348
|
-
Parameters.billingAccountName,
|
|
349
|
-
Parameters.billingProfileName,
|
|
350
|
-
Parameters.nextLink
|
|
351
|
-
],
|
|
352
|
-
headerParameters: [Parameters.accept],
|
|
353
|
-
serializer
|
|
354
|
-
};
|
package/src/operations/index.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
export * from "./operations";
|
|
10
|
-
export * from "./grants";
|
|
11
|
-
export * from "./labs";
|
|
12
|
-
export * from "./joinRequests";
|
|
13
|
-
export * from "./students";
|
|
14
|
-
export * from "./studentLabs";
|