@azure-rest/purview-administration 1.0.0-beta.1 → 1.0.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +3 -3
- package/README.md +11 -11
- package/dist/browser/account/clientDefinitions.d.ts +73 -0
- package/dist/browser/account/clientDefinitions.d.ts.map +1 -0
- package/dist/browser/account/clientDefinitions.js +4 -0
- package/dist/browser/account/clientDefinitions.js.map +1 -0
- package/dist/browser/account/index.d.ts +10 -0
- package/dist/browser/account/index.d.ts.map +1 -0
- package/dist/browser/account/index.js +12 -0
- package/dist/browser/account/index.js.map +1 -0
- package/dist/browser/account/isUnexpected.d.ts +16 -0
- package/dist/browser/account/isUnexpected.d.ts.map +1 -0
- package/dist/browser/account/isUnexpected.js +83 -0
- package/dist/browser/account/isUnexpected.js.map +1 -0
- package/dist/browser/account/models.d.ts +130 -0
- package/dist/browser/account/models.d.ts.map +1 -0
- package/dist/browser/account/models.js +4 -0
- package/dist/browser/account/models.js.map +1 -0
- package/dist/browser/account/outputModels.d.ts +337 -0
- package/dist/browser/account/outputModels.d.ts.map +1 -0
- package/dist/browser/account/outputModels.js +4 -0
- package/dist/browser/account/outputModels.js.map +1 -0
- package/dist/browser/account/paginateHelper.d.ts +68 -0
- package/dist/browser/account/paginateHelper.d.ts.map +1 -0
- package/dist/browser/account/paginateHelper.js +167 -0
- package/dist/browser/account/paginateHelper.js.map +1 -0
- package/dist/browser/account/parameters.d.ts +63 -0
- package/dist/browser/account/parameters.d.ts.map +1 -0
- package/dist/browser/account/parameters.js +4 -0
- package/dist/browser/account/parameters.js.map +1 -0
- package/dist/browser/account/purviewAccount.d.ts +16 -0
- package/dist/browser/account/purviewAccount.d.ts.map +1 -0
- package/dist/browser/account/purviewAccount.js +43 -0
- package/dist/browser/account/purviewAccount.js.map +1 -0
- package/dist/browser/account/responses.d.ts +145 -0
- package/dist/browser/account/responses.d.ts.map +1 -0
- package/dist/browser/account/responses.js +4 -0
- package/dist/browser/account/responses.js.map +1 -0
- package/dist/browser/index.d.ts +4 -0
- package/dist/browser/index.d.ts.map +1 -0
- package/dist/browser/index.js +6 -0
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/logger.d.ts +2 -0
- package/dist/browser/logger.d.ts.map +1 -0
- package/dist/browser/logger.js +5 -0
- package/dist/browser/logger.js.map +1 -0
- package/dist/browser/metadataPolicies/clientDefinitions.d.ts +29 -0
- package/dist/browser/metadataPolicies/clientDefinitions.d.ts.map +1 -0
- package/dist/browser/metadataPolicies/clientDefinitions.js +4 -0
- package/dist/browser/metadataPolicies/clientDefinitions.js.map +1 -0
- package/dist/browser/metadataPolicies/index.d.ts +10 -0
- package/dist/browser/metadataPolicies/index.d.ts.map +1 -0
- package/dist/browser/metadataPolicies/index.js +12 -0
- package/dist/browser/metadataPolicies/index.js.map +1 -0
- package/dist/browser/metadataPolicies/isUnexpected.d.ts +6 -0
- package/dist/browser/metadataPolicies/isUnexpected.d.ts.map +1 -0
- package/dist/browser/metadataPolicies/isUnexpected.js +73 -0
- package/dist/browser/metadataPolicies/isUnexpected.js.map +1 -0
- package/dist/browser/metadataPolicies/models.d.ts +58 -0
- package/dist/browser/metadataPolicies/models.d.ts.map +1 -0
- package/dist/browser/metadataPolicies/models.js +4 -0
- package/dist/browser/metadataPolicies/models.js.map +1 -0
- package/dist/browser/metadataPolicies/outputModels.d.ts +113 -0
- package/dist/browser/metadataPolicies/outputModels.d.ts.map +1 -0
- package/dist/browser/metadataPolicies/outputModels.js +4 -0
- package/dist/browser/metadataPolicies/outputModels.js.map +1 -0
- package/dist/browser/metadataPolicies/paginateHelper.d.ts +72 -0
- package/dist/browser/metadataPolicies/paginateHelper.d.ts.map +1 -0
- package/dist/browser/metadataPolicies/paginateHelper.js +200 -0
- package/dist/browser/metadataPolicies/paginateHelper.js.map +1 -0
- package/dist/browser/metadataPolicies/parameters.d.ts +22 -0
- package/dist/browser/metadataPolicies/parameters.d.ts.map +1 -0
- package/dist/browser/metadataPolicies/parameters.js +4 -0
- package/dist/browser/metadataPolicies/parameters.js.map +1 -0
- package/dist/browser/metadataPolicies/purviewMetadataPolicies.d.ts +16 -0
- package/dist/browser/metadataPolicies/purviewMetadataPolicies.d.ts.map +1 -0
- package/dist/browser/metadataPolicies/purviewMetadataPolicies.js +43 -0
- package/dist/browser/metadataPolicies/purviewMetadataPolicies.js.map +1 -0
- package/dist/browser/metadataPolicies/responses.d.ts +64 -0
- package/dist/browser/metadataPolicies/responses.d.ts.map +1 -0
- package/dist/browser/metadataPolicies/responses.js +4 -0
- package/dist/browser/metadataPolicies/responses.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/commonjs/account/clientDefinitions.d.ts +73 -0
- package/dist/commonjs/account/clientDefinitions.d.ts.map +1 -0
- package/dist/commonjs/account/clientDefinitions.js +5 -0
- package/dist/commonjs/account/clientDefinitions.js.map +1 -0
- package/dist/commonjs/account/index.d.ts +10 -0
- package/dist/commonjs/account/index.d.ts.map +1 -0
- package/dist/commonjs/account/index.js +23 -0
- package/dist/commonjs/account/index.js.map +1 -0
- package/dist/commonjs/account/isUnexpected.d.ts +16 -0
- package/dist/commonjs/account/isUnexpected.d.ts.map +1 -0
- package/dist/commonjs/account/isUnexpected.js +86 -0
- package/dist/commonjs/account/isUnexpected.js.map +1 -0
- package/dist/commonjs/account/models.d.ts +130 -0
- package/dist/commonjs/account/models.d.ts.map +1 -0
- package/dist/commonjs/account/models.js +5 -0
- package/dist/commonjs/account/models.js.map +1 -0
- package/dist/commonjs/account/outputModels.d.ts +337 -0
- package/dist/commonjs/account/outputModels.d.ts.map +1 -0
- package/dist/commonjs/account/outputModels.js +5 -0
- package/dist/commonjs/account/outputModels.js.map +1 -0
- package/dist/commonjs/account/paginateHelper.d.ts +68 -0
- package/dist/commonjs/account/paginateHelper.d.ts.map +1 -0
- package/dist/commonjs/account/paginateHelper.js +170 -0
- package/dist/commonjs/account/paginateHelper.js.map +1 -0
- package/dist/commonjs/account/parameters.d.ts +63 -0
- package/dist/commonjs/account/parameters.d.ts.map +1 -0
- package/dist/commonjs/account/parameters.js +5 -0
- package/dist/commonjs/account/parameters.js.map +1 -0
- package/dist/commonjs/account/purviewAccount.d.ts +16 -0
- package/dist/commonjs/account/purviewAccount.d.ts.map +1 -0
- package/dist/commonjs/account/purviewAccount.js +46 -0
- package/dist/commonjs/account/purviewAccount.js.map +1 -0
- package/dist/commonjs/account/responses.d.ts +145 -0
- package/dist/commonjs/account/responses.d.ts.map +1 -0
- package/dist/commonjs/account/responses.js +5 -0
- package/dist/commonjs/account/responses.js.map +1 -0
- package/dist/commonjs/index.d.ts +4 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +11 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/logger.d.ts +2 -0
- package/dist/commonjs/logger.d.ts.map +1 -0
- package/dist/commonjs/logger.js +8 -0
- package/dist/commonjs/logger.js.map +1 -0
- package/dist/commonjs/metadataPolicies/clientDefinitions.d.ts +29 -0
- package/dist/commonjs/metadataPolicies/clientDefinitions.d.ts.map +1 -0
- package/dist/commonjs/metadataPolicies/clientDefinitions.js +5 -0
- package/dist/commonjs/metadataPolicies/clientDefinitions.js.map +1 -0
- package/dist/commonjs/metadataPolicies/index.d.ts +10 -0
- package/dist/commonjs/metadataPolicies/index.d.ts.map +1 -0
- package/dist/commonjs/metadataPolicies/index.js +23 -0
- package/dist/commonjs/metadataPolicies/index.js.map +1 -0
- package/dist/commonjs/metadataPolicies/isUnexpected.d.ts +6 -0
- package/dist/commonjs/metadataPolicies/isUnexpected.d.ts.map +1 -0
- package/dist/commonjs/metadataPolicies/isUnexpected.js +76 -0
- package/dist/commonjs/metadataPolicies/isUnexpected.js.map +1 -0
- package/dist/commonjs/metadataPolicies/models.d.ts +58 -0
- package/dist/commonjs/metadataPolicies/models.d.ts.map +1 -0
- package/dist/commonjs/metadataPolicies/models.js +5 -0
- package/dist/commonjs/metadataPolicies/models.js.map +1 -0
- package/dist/commonjs/metadataPolicies/outputModels.d.ts +113 -0
- package/dist/commonjs/metadataPolicies/outputModels.d.ts.map +1 -0
- package/dist/commonjs/metadataPolicies/outputModels.js +5 -0
- package/dist/commonjs/metadataPolicies/outputModels.js.map +1 -0
- package/dist/commonjs/metadataPolicies/paginateHelper.d.ts +72 -0
- package/dist/commonjs/metadataPolicies/paginateHelper.d.ts.map +1 -0
- package/dist/commonjs/metadataPolicies/paginateHelper.js +203 -0
- package/dist/commonjs/metadataPolicies/paginateHelper.js.map +1 -0
- package/dist/commonjs/metadataPolicies/parameters.d.ts +22 -0
- package/dist/commonjs/metadataPolicies/parameters.d.ts.map +1 -0
- package/dist/commonjs/metadataPolicies/parameters.js +5 -0
- package/dist/commonjs/metadataPolicies/parameters.js.map +1 -0
- package/dist/commonjs/metadataPolicies/purviewMetadataPolicies.d.ts +16 -0
- package/dist/commonjs/metadataPolicies/purviewMetadataPolicies.d.ts.map +1 -0
- package/dist/commonjs/metadataPolicies/purviewMetadataPolicies.js +46 -0
- package/dist/commonjs/metadataPolicies/purviewMetadataPolicies.js.map +1 -0
- package/dist/commonjs/metadataPolicies/responses.d.ts +64 -0
- package/dist/commonjs/metadataPolicies/responses.d.ts.map +1 -0
- package/dist/commonjs/metadataPolicies/responses.js +5 -0
- package/dist/commonjs/metadataPolicies/responses.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/tsdoc-metadata.json +11 -0
- package/dist/esm/account/clientDefinitions.d.ts +73 -0
- package/dist/esm/account/clientDefinitions.d.ts.map +1 -0
- package/dist/esm/account/clientDefinitions.js +4 -0
- package/dist/esm/account/clientDefinitions.js.map +1 -0
- package/dist/esm/account/index.d.ts +10 -0
- package/dist/esm/account/index.d.ts.map +1 -0
- package/dist/esm/account/index.js +12 -0
- package/dist/esm/account/index.js.map +1 -0
- package/dist/esm/account/isUnexpected.d.ts +16 -0
- package/dist/esm/account/isUnexpected.d.ts.map +1 -0
- package/dist/esm/account/isUnexpected.js +83 -0
- package/dist/esm/account/isUnexpected.js.map +1 -0
- package/dist/esm/account/models.d.ts +130 -0
- package/dist/esm/account/models.d.ts.map +1 -0
- package/dist/esm/account/models.js +4 -0
- package/dist/esm/account/models.js.map +1 -0
- package/dist/esm/account/outputModels.d.ts +337 -0
- package/dist/esm/account/outputModels.d.ts.map +1 -0
- package/dist/esm/account/outputModels.js +4 -0
- package/dist/esm/account/outputModels.js.map +1 -0
- package/dist/esm/account/paginateHelper.d.ts +68 -0
- package/dist/esm/account/paginateHelper.d.ts.map +1 -0
- package/dist/esm/account/paginateHelper.js +167 -0
- package/dist/esm/account/paginateHelper.js.map +1 -0
- package/dist/esm/account/parameters.d.ts +63 -0
- package/dist/esm/account/parameters.d.ts.map +1 -0
- package/dist/esm/account/parameters.js +4 -0
- package/dist/esm/account/parameters.js.map +1 -0
- package/dist/esm/account/purviewAccount.d.ts +16 -0
- package/dist/esm/account/purviewAccount.d.ts.map +1 -0
- package/dist/esm/account/purviewAccount.js +43 -0
- package/dist/esm/account/purviewAccount.js.map +1 -0
- package/dist/esm/account/responses.d.ts +145 -0
- package/dist/esm/account/responses.d.ts.map +1 -0
- package/dist/esm/account/responses.js +4 -0
- package/dist/esm/account/responses.js.map +1 -0
- package/dist/esm/index.d.ts +4 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/esm/index.js +6 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/logger.d.ts +2 -0
- package/dist/esm/logger.d.ts.map +1 -0
- package/dist/esm/logger.js +5 -0
- package/dist/esm/logger.js.map +1 -0
- package/dist/esm/metadataPolicies/clientDefinitions.d.ts +29 -0
- package/dist/esm/metadataPolicies/clientDefinitions.d.ts.map +1 -0
- package/dist/esm/metadataPolicies/clientDefinitions.js +4 -0
- package/dist/esm/metadataPolicies/clientDefinitions.js.map +1 -0
- package/dist/esm/metadataPolicies/index.d.ts +10 -0
- package/dist/esm/metadataPolicies/index.d.ts.map +1 -0
- package/dist/esm/metadataPolicies/index.js +12 -0
- package/dist/esm/metadataPolicies/index.js.map +1 -0
- package/dist/esm/metadataPolicies/isUnexpected.d.ts +6 -0
- package/dist/esm/metadataPolicies/isUnexpected.d.ts.map +1 -0
- package/dist/esm/metadataPolicies/isUnexpected.js +73 -0
- package/dist/esm/metadataPolicies/isUnexpected.js.map +1 -0
- package/dist/esm/metadataPolicies/models.d.ts +58 -0
- package/dist/esm/metadataPolicies/models.d.ts.map +1 -0
- package/dist/esm/metadataPolicies/models.js +4 -0
- package/dist/esm/metadataPolicies/models.js.map +1 -0
- package/dist/esm/metadataPolicies/outputModels.d.ts +113 -0
- package/dist/esm/metadataPolicies/outputModels.d.ts.map +1 -0
- package/dist/esm/metadataPolicies/outputModels.js +4 -0
- package/dist/esm/metadataPolicies/outputModels.js.map +1 -0
- package/dist/esm/metadataPolicies/paginateHelper.d.ts +72 -0
- package/dist/esm/metadataPolicies/paginateHelper.d.ts.map +1 -0
- package/dist/esm/metadataPolicies/paginateHelper.js +200 -0
- package/dist/esm/metadataPolicies/paginateHelper.js.map +1 -0
- package/dist/esm/metadataPolicies/parameters.d.ts +22 -0
- package/dist/esm/metadataPolicies/parameters.d.ts.map +1 -0
- package/dist/esm/metadataPolicies/parameters.js +4 -0
- package/dist/esm/metadataPolicies/parameters.js.map +1 -0
- package/dist/esm/metadataPolicies/purviewMetadataPolicies.d.ts +16 -0
- package/dist/esm/metadataPolicies/purviewMetadataPolicies.d.ts.map +1 -0
- package/dist/esm/metadataPolicies/purviewMetadataPolicies.js +43 -0
- package/dist/esm/metadataPolicies/purviewMetadataPolicies.js.map +1 -0
- package/dist/esm/metadataPolicies/responses.d.ts +64 -0
- package/dist/esm/metadataPolicies/responses.d.ts.map +1 -0
- package/dist/esm/metadataPolicies/responses.js +4 -0
- package/dist/esm/metadataPolicies/responses.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/react-native/account/clientDefinitions.d.ts +73 -0
- package/dist/react-native/account/clientDefinitions.d.ts.map +1 -0
- package/dist/react-native/account/clientDefinitions.js +4 -0
- package/dist/react-native/account/clientDefinitions.js.map +1 -0
- package/dist/react-native/account/index.d.ts +10 -0
- package/dist/react-native/account/index.d.ts.map +1 -0
- package/dist/react-native/account/index.js +12 -0
- package/dist/react-native/account/index.js.map +1 -0
- package/dist/react-native/account/isUnexpected.d.ts +16 -0
- package/dist/react-native/account/isUnexpected.d.ts.map +1 -0
- package/dist/react-native/account/isUnexpected.js +83 -0
- package/dist/react-native/account/isUnexpected.js.map +1 -0
- package/dist/react-native/account/models.d.ts +130 -0
- package/dist/react-native/account/models.d.ts.map +1 -0
- package/dist/react-native/account/models.js +4 -0
- package/dist/react-native/account/models.js.map +1 -0
- package/dist/react-native/account/outputModels.d.ts +337 -0
- package/dist/react-native/account/outputModels.d.ts.map +1 -0
- package/dist/react-native/account/outputModels.js +4 -0
- package/dist/react-native/account/outputModels.js.map +1 -0
- package/dist/react-native/account/paginateHelper.d.ts +68 -0
- package/dist/react-native/account/paginateHelper.d.ts.map +1 -0
- package/dist/react-native/account/paginateHelper.js +167 -0
- package/dist/react-native/account/paginateHelper.js.map +1 -0
- package/dist/react-native/account/parameters.d.ts +63 -0
- package/dist/react-native/account/parameters.d.ts.map +1 -0
- package/dist/react-native/account/parameters.js +4 -0
- package/dist/react-native/account/parameters.js.map +1 -0
- package/dist/react-native/account/purviewAccount.d.ts +16 -0
- package/dist/react-native/account/purviewAccount.d.ts.map +1 -0
- package/dist/react-native/account/purviewAccount.js +43 -0
- package/dist/react-native/account/purviewAccount.js.map +1 -0
- package/dist/react-native/account/responses.d.ts +145 -0
- package/dist/react-native/account/responses.d.ts.map +1 -0
- package/dist/react-native/account/responses.js +4 -0
- package/dist/react-native/account/responses.js.map +1 -0
- package/dist/react-native/index.d.ts +4 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +6 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/logger.d.ts +2 -0
- package/dist/react-native/logger.d.ts.map +1 -0
- package/dist/react-native/logger.js +5 -0
- package/dist/react-native/logger.js.map +1 -0
- package/dist/react-native/metadataPolicies/clientDefinitions.d.ts +29 -0
- package/dist/react-native/metadataPolicies/clientDefinitions.d.ts.map +1 -0
- package/dist/react-native/metadataPolicies/clientDefinitions.js +4 -0
- package/dist/react-native/metadataPolicies/clientDefinitions.js.map +1 -0
- package/dist/react-native/metadataPolicies/index.d.ts +10 -0
- package/dist/react-native/metadataPolicies/index.d.ts.map +1 -0
- package/dist/react-native/metadataPolicies/index.js +12 -0
- package/dist/react-native/metadataPolicies/index.js.map +1 -0
- package/dist/react-native/metadataPolicies/isUnexpected.d.ts +6 -0
- package/dist/react-native/metadataPolicies/isUnexpected.d.ts.map +1 -0
- package/dist/react-native/metadataPolicies/isUnexpected.js +73 -0
- package/dist/react-native/metadataPolicies/isUnexpected.js.map +1 -0
- package/dist/react-native/metadataPolicies/models.d.ts +58 -0
- package/dist/react-native/metadataPolicies/models.d.ts.map +1 -0
- package/dist/react-native/metadataPolicies/models.js +4 -0
- package/dist/react-native/metadataPolicies/models.js.map +1 -0
- package/dist/react-native/metadataPolicies/outputModels.d.ts +113 -0
- package/dist/react-native/metadataPolicies/outputModels.d.ts.map +1 -0
- package/dist/react-native/metadataPolicies/outputModels.js +4 -0
- package/dist/react-native/metadataPolicies/outputModels.js.map +1 -0
- package/dist/react-native/metadataPolicies/paginateHelper.d.ts +72 -0
- package/dist/react-native/metadataPolicies/paginateHelper.d.ts.map +1 -0
- package/dist/react-native/metadataPolicies/paginateHelper.js +200 -0
- package/dist/react-native/metadataPolicies/paginateHelper.js.map +1 -0
- package/dist/react-native/metadataPolicies/parameters.d.ts +22 -0
- package/dist/react-native/metadataPolicies/parameters.d.ts.map +1 -0
- package/dist/react-native/metadataPolicies/parameters.js +4 -0
- package/dist/react-native/metadataPolicies/parameters.js.map +1 -0
- package/dist/react-native/metadataPolicies/purviewMetadataPolicies.d.ts +16 -0
- package/dist/react-native/metadataPolicies/purviewMetadataPolicies.d.ts.map +1 -0
- package/dist/react-native/metadataPolicies/purviewMetadataPolicies.js +43 -0
- package/dist/react-native/metadataPolicies/purviewMetadataPolicies.js.map +1 -0
- package/dist/react-native/metadataPolicies/responses.d.ts +64 -0
- package/dist/react-native/metadataPolicies/responses.d.ts.map +1 -0
- package/dist/react-native/metadataPolicies/responses.js +4 -0
- package/dist/react-native/metadataPolicies/responses.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/package.json +83 -71
- package/CHANGELOG.md +0 -6
- package/dist/index.js +0 -283
- package/dist/index.js.map +0 -1
- package/dist-esm/src/account/clientDefinitions.js +0 -4
- package/dist-esm/src/account/clientDefinitions.js.map +0 -1
- package/dist-esm/src/account/index.js +0 -10
- package/dist-esm/src/account/index.js.map +0 -1
- package/dist-esm/src/account/models.js +0 -4
- package/dist-esm/src/account/models.js.map +0 -1
- package/dist-esm/src/account/paginateHelper.js +0 -70
- package/dist-esm/src/account/paginateHelper.js.map +0 -1
- package/dist-esm/src/account/parameters.js +0 -4
- package/dist-esm/src/account/parameters.js.map +0 -1
- package/dist-esm/src/account/purviewAccount.js +0 -13
- package/dist-esm/src/account/purviewAccount.js.map +0 -1
- package/dist-esm/src/account/responses.js +0 -4
- package/dist-esm/src/account/responses.js.map +0 -1
- package/dist-esm/src/index.js +0 -9
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/metadataPolicies/clientDefinitions.js +0 -4
- package/dist-esm/src/metadataPolicies/clientDefinitions.js.map +0 -1
- package/dist-esm/src/metadataPolicies/index.js +0 -10
- package/dist-esm/src/metadataPolicies/index.js.map +0 -1
- package/dist-esm/src/metadataPolicies/models.js +0 -4
- package/dist-esm/src/metadataPolicies/models.js.map +0 -1
- package/dist-esm/src/metadataPolicies/paginateHelper.js +0 -103
- package/dist-esm/src/metadataPolicies/paginateHelper.js.map +0 -1
- package/dist-esm/src/metadataPolicies/parameters.js +0 -4
- package/dist-esm/src/metadataPolicies/parameters.js.map +0 -1
- package/dist-esm/src/metadataPolicies/purviewMetadataPolicies.js +0 -13
- package/dist-esm/src/metadataPolicies/purviewMetadataPolicies.js.map +0 -1
- package/dist-esm/src/metadataPolicies/responses.js +0 -4
- package/dist-esm/src/metadataPolicies/responses.js.map +0 -1
- package/types/purview-administration-rest.d.ts +0 -1248
|
@@ -0,0 +1,337 @@
|
|
|
1
|
+
/** Account resource */
|
|
2
|
+
export interface AccountOutput {
|
|
3
|
+
/** Gets or sets the identifier. */
|
|
4
|
+
readonly id?: string;
|
|
5
|
+
/** Identity Info on the tracked resource */
|
|
6
|
+
identity?: IdentityOutput;
|
|
7
|
+
/** Gets or sets the location. */
|
|
8
|
+
location?: string;
|
|
9
|
+
/** Gets or sets the name. */
|
|
10
|
+
readonly name?: string;
|
|
11
|
+
/** Gets or sets the properties. */
|
|
12
|
+
properties?: AccountPropertiesOutput;
|
|
13
|
+
/** Gets or sets the Sku. */
|
|
14
|
+
sku?: AccountSkuOutput;
|
|
15
|
+
/** Metadata pertaining to creation and last modification of the resource. */
|
|
16
|
+
readonly systemData?: AccountSystemDataOutput;
|
|
17
|
+
/** Tags on the azure resource. */
|
|
18
|
+
tags?: Record<string, string>;
|
|
19
|
+
/** Gets or sets the type. */
|
|
20
|
+
readonly type?: string;
|
|
21
|
+
}
|
|
22
|
+
/** The Managed Identity of the resource */
|
|
23
|
+
export interface IdentityOutput {
|
|
24
|
+
/** Service principal object Id */
|
|
25
|
+
readonly principalId?: string;
|
|
26
|
+
/** Tenant Id */
|
|
27
|
+
readonly tenantId?: string;
|
|
28
|
+
/** Identity Type */
|
|
29
|
+
type?: "SystemAssigned";
|
|
30
|
+
}
|
|
31
|
+
/** The account properties */
|
|
32
|
+
export interface AccountPropertiesOutput {
|
|
33
|
+
/**
|
|
34
|
+
* Cloud connectors.
|
|
35
|
+
* External cloud identifier used as part of scanning configuration.
|
|
36
|
+
*/
|
|
37
|
+
cloudConnectors?: CloudConnectorsOutput;
|
|
38
|
+
/** Gets the time at which the entity was created. */
|
|
39
|
+
readonly createdAt?: string;
|
|
40
|
+
/** Gets the creator of the entity. */
|
|
41
|
+
readonly createdBy?: string;
|
|
42
|
+
/** Gets the creators of the entity's object id. */
|
|
43
|
+
readonly createdByObjectId?: string;
|
|
44
|
+
/** The URIs that are the public endpoints of the account. */
|
|
45
|
+
readonly endpoints?: AccountPropertiesEndpointsOutput;
|
|
46
|
+
/** Gets or sets the friendly name. */
|
|
47
|
+
readonly friendlyName?: string;
|
|
48
|
+
/** Gets or sets the managed resource group name */
|
|
49
|
+
managedResourceGroupName?: string;
|
|
50
|
+
/** Gets the resource identifiers of the managed resources. */
|
|
51
|
+
readonly managedResources?: AccountPropertiesManagedResourcesOutput;
|
|
52
|
+
/** Gets the private endpoint connections information. */
|
|
53
|
+
readonly privateEndpointConnections?: Array<PrivateEndpointConnectionOutput>;
|
|
54
|
+
/** Gets or sets the state of the provisioning. */
|
|
55
|
+
readonly provisioningState?: "Unknown" | "Creating" | "Moving" | "Deleting" | "SoftDeleting" | "SoftDeleted" | "Failed" | "Succeeded" | "Canceled";
|
|
56
|
+
/** Gets or sets the public network access. */
|
|
57
|
+
publicNetworkAccess?: "NotSpecified" | "Enabled" | "Disabled";
|
|
58
|
+
}
|
|
59
|
+
export interface CloudConnectorsOutput {
|
|
60
|
+
/**
|
|
61
|
+
* AWS external identifier.
|
|
62
|
+
* Configured in AWS to allow use of the role arn used for scanning
|
|
63
|
+
*/
|
|
64
|
+
readonly awsExternalId?: string;
|
|
65
|
+
}
|
|
66
|
+
/** The URIs that are the public endpoints of the account. */
|
|
67
|
+
export interface AccountPropertiesEndpointsOutput extends AccountEndpointsOutput {
|
|
68
|
+
}
|
|
69
|
+
/** The account endpoints */
|
|
70
|
+
export interface AccountEndpointsOutput {
|
|
71
|
+
/** Gets the catalog endpoint. */
|
|
72
|
+
readonly catalog?: string;
|
|
73
|
+
/** Gets the guardian endpoint. */
|
|
74
|
+
readonly guardian?: string;
|
|
75
|
+
/** Gets the scan endpoint. */
|
|
76
|
+
readonly scan?: string;
|
|
77
|
+
}
|
|
78
|
+
/** Gets the resource identifiers of the managed resources. */
|
|
79
|
+
export interface AccountPropertiesManagedResourcesOutput extends ManagedResourcesOutput {
|
|
80
|
+
}
|
|
81
|
+
/** The managed resources in customer subscription. */
|
|
82
|
+
export interface ManagedResourcesOutput {
|
|
83
|
+
/** Gets the managed event hub namespace resource identifier. */
|
|
84
|
+
readonly eventHubNamespace?: string;
|
|
85
|
+
/** Gets the managed resource group resource identifier. This resource group will host resource dependencies for the account. */
|
|
86
|
+
readonly resourceGroup?: string;
|
|
87
|
+
/** Gets the managed storage account resource identifier. */
|
|
88
|
+
readonly storageAccount?: string;
|
|
89
|
+
}
|
|
90
|
+
/** A private endpoint connection class. */
|
|
91
|
+
export interface PrivateEndpointConnectionOutput {
|
|
92
|
+
/** Gets or sets the identifier. */
|
|
93
|
+
readonly id?: string;
|
|
94
|
+
/** Gets or sets the name. */
|
|
95
|
+
readonly name?: string;
|
|
96
|
+
/** The connection identifier. */
|
|
97
|
+
properties?: PrivateEndpointConnectionPropertiesOutput;
|
|
98
|
+
/** Gets or sets the type. */
|
|
99
|
+
readonly type?: string;
|
|
100
|
+
}
|
|
101
|
+
/** A private endpoint connection properties class. */
|
|
102
|
+
export interface PrivateEndpointConnectionPropertiesOutput {
|
|
103
|
+
/** The private endpoint information. */
|
|
104
|
+
privateEndpoint?: PrivateEndpointOutput;
|
|
105
|
+
/** The private link service connection state. */
|
|
106
|
+
privateLinkServiceConnectionState?: PrivateLinkServiceConnectionStateOutput;
|
|
107
|
+
/** The provisioning state. */
|
|
108
|
+
readonly provisioningState?: string;
|
|
109
|
+
}
|
|
110
|
+
/** A private endpoint class. */
|
|
111
|
+
export interface PrivateEndpointOutput {
|
|
112
|
+
/** The private endpoint identifier. */
|
|
113
|
+
id?: string;
|
|
114
|
+
}
|
|
115
|
+
/** The private link service connection state. */
|
|
116
|
+
export interface PrivateLinkServiceConnectionStateOutput {
|
|
117
|
+
/** The required actions. */
|
|
118
|
+
actionsRequired?: string;
|
|
119
|
+
/** The description. */
|
|
120
|
+
description?: string;
|
|
121
|
+
/** The status. */
|
|
122
|
+
status?: "Unknown" | "Pending" | "Approved" | "Rejected" | "Disconnected";
|
|
123
|
+
}
|
|
124
|
+
/** The Sku */
|
|
125
|
+
export interface AccountSkuOutput {
|
|
126
|
+
/** Gets or sets the sku capacity. Possible values include: 4, 16 */
|
|
127
|
+
capacity?: number;
|
|
128
|
+
/** Gets or sets the sku name. */
|
|
129
|
+
name?: "Standard";
|
|
130
|
+
}
|
|
131
|
+
/** Metadata pertaining to creation and last modification of the resource. */
|
|
132
|
+
export interface AccountSystemDataOutput extends SystemDataOutput {
|
|
133
|
+
}
|
|
134
|
+
/** Metadata pertaining to creation and last modification of the resource. */
|
|
135
|
+
export interface SystemDataOutput {
|
|
136
|
+
/** The timestamp of resource creation (UTC). */
|
|
137
|
+
readonly createdAt?: string;
|
|
138
|
+
/** The identity that created the resource. */
|
|
139
|
+
readonly createdBy?: string;
|
|
140
|
+
/** The type of identity that created the resource. */
|
|
141
|
+
readonly createdByType?: "User" | "Application" | "ManagedIdentity" | "Key";
|
|
142
|
+
/** The timestamp of the last modification the resource (UTC). */
|
|
143
|
+
readonly lastModifiedAt?: string;
|
|
144
|
+
/** The identity that last modified the resource. */
|
|
145
|
+
readonly lastModifiedBy?: string;
|
|
146
|
+
/** The type of identity that last modified the resource. */
|
|
147
|
+
readonly lastModifiedByType?: "User" | "Application" | "ManagedIdentity" | "Key";
|
|
148
|
+
}
|
|
149
|
+
/** Default error response model */
|
|
150
|
+
export interface ErrorResponseModelOutput {
|
|
151
|
+
/** Gets or sets the error. */
|
|
152
|
+
readonly error?: ErrorResponseModelErrorOutput;
|
|
153
|
+
}
|
|
154
|
+
/** Gets or sets the error. */
|
|
155
|
+
export interface ErrorResponseModelErrorOutput extends ErrorModelOutput {
|
|
156
|
+
}
|
|
157
|
+
/** Default error model */
|
|
158
|
+
export interface ErrorModelOutput {
|
|
159
|
+
/** Gets or sets the code. */
|
|
160
|
+
readonly code?: string;
|
|
161
|
+
/** Gets or sets the details. */
|
|
162
|
+
readonly details?: Array<ErrorModelOutput>;
|
|
163
|
+
/** Gets or sets the messages. */
|
|
164
|
+
readonly message?: string;
|
|
165
|
+
/** Gets or sets the target. */
|
|
166
|
+
readonly target?: string;
|
|
167
|
+
}
|
|
168
|
+
/** The Account access keys. */
|
|
169
|
+
export interface AccessKeysOutput {
|
|
170
|
+
/** Gets or sets the primary connection string. */
|
|
171
|
+
atlasKafkaPrimaryEndpoint?: string;
|
|
172
|
+
/** Gets or sets the secondary connection string. */
|
|
173
|
+
atlasKafkaSecondaryEndpoint?: string;
|
|
174
|
+
}
|
|
175
|
+
/** Collection resource. */
|
|
176
|
+
export interface CollectionOutput {
|
|
177
|
+
/** Gets the state of the provisioning. */
|
|
178
|
+
readonly collectionProvisioningState?: "Unknown" | "Creating" | "Moving" | "Deleting" | "Failed" | "Succeeded";
|
|
179
|
+
/** Gets or sets the description. */
|
|
180
|
+
description?: string;
|
|
181
|
+
/** Gets or sets the friendly name of the collection. */
|
|
182
|
+
friendlyName?: string;
|
|
183
|
+
/** Gets the name. */
|
|
184
|
+
readonly name?: string;
|
|
185
|
+
/** Gets or sets the parent collection reference. */
|
|
186
|
+
parentCollection?: CollectionReferenceOutput;
|
|
187
|
+
/** Metadata pertaining to creation and last modification of the resource. */
|
|
188
|
+
readonly systemData?: CollectionSystemDataOutput;
|
|
189
|
+
}
|
|
190
|
+
/** Reference to a Collection. */
|
|
191
|
+
export interface CollectionReferenceOutput {
|
|
192
|
+
/** Gets or sets the reference name. */
|
|
193
|
+
referenceName?: string;
|
|
194
|
+
/** Gets or sets the reference type property. */
|
|
195
|
+
type?: string;
|
|
196
|
+
}
|
|
197
|
+
/** Metadata pertaining to creation and last modification of the resource. */
|
|
198
|
+
export interface CollectionSystemDataOutput extends SystemDataOutput {
|
|
199
|
+
}
|
|
200
|
+
/** Paged list of collections. */
|
|
201
|
+
export interface CollectionListOutput {
|
|
202
|
+
/** Total item count. */
|
|
203
|
+
count?: number;
|
|
204
|
+
/** The Url of next result page. */
|
|
205
|
+
nextLink?: string;
|
|
206
|
+
/** Collection of items of type results. */
|
|
207
|
+
value: Array<CollectionOutput>;
|
|
208
|
+
}
|
|
209
|
+
/** Paged list of collections. */
|
|
210
|
+
export interface CollectionNameResponseListOutput {
|
|
211
|
+
/** Total item count. */
|
|
212
|
+
count?: number;
|
|
213
|
+
/** The Url of next result page. */
|
|
214
|
+
nextLink?: string;
|
|
215
|
+
/** Collection of items of type results. */
|
|
216
|
+
value: Array<CollectionNameResponseOutput>;
|
|
217
|
+
}
|
|
218
|
+
/** Collection resource. */
|
|
219
|
+
export interface CollectionNameResponseOutput {
|
|
220
|
+
/** Gets or sets the friendly name of the collection. */
|
|
221
|
+
readonly friendlyName?: string;
|
|
222
|
+
/** Gets the name. */
|
|
223
|
+
readonly name?: string;
|
|
224
|
+
}
|
|
225
|
+
/** Collection resource. */
|
|
226
|
+
export interface CollectionPathResponseOutput {
|
|
227
|
+
/** The friendly names of ancestors starting from the default (root) collection and ending with the immediate parent. */
|
|
228
|
+
readonly parentFriendlyNameChain?: Array<string>;
|
|
229
|
+
/** The names of ancestors starting from the default (root) collection and ending with the immediate parent. */
|
|
230
|
+
readonly parentNameChain?: Array<string>;
|
|
231
|
+
}
|
|
232
|
+
/** ResourceSetRuleConfig implementation class. */
|
|
233
|
+
export interface ResourceSetRuleConfigOutput {
|
|
234
|
+
/** Gets or sets the advanced resource set property of the account. */
|
|
235
|
+
advancedResourceSet?: AdvancedResourceSetOutput;
|
|
236
|
+
/** The name of the rule */
|
|
237
|
+
readonly name?: string;
|
|
238
|
+
/** The configuration rules for path pattern extraction. */
|
|
239
|
+
pathPatternConfig?: PathPatternExtractorConfigOutput;
|
|
240
|
+
}
|
|
241
|
+
/** The resource set processing property of the account. */
|
|
242
|
+
export interface AdvancedResourceSetOutput {
|
|
243
|
+
/** Date at which ResourceSetProcessing property of the account is updated. */
|
|
244
|
+
modifiedAt?: string;
|
|
245
|
+
/** The advanced resource property of the account. */
|
|
246
|
+
resourceSetProcessing?: "Default" | "Advanced";
|
|
247
|
+
}
|
|
248
|
+
export interface PathPatternExtractorConfigOutput {
|
|
249
|
+
acceptedPatterns?: Array<FilterOutput>;
|
|
250
|
+
complexReplacers?: Array<ComplexReplacerConfigOutput>;
|
|
251
|
+
createdBy: string;
|
|
252
|
+
enableDefaultPatterns: boolean;
|
|
253
|
+
lastUpdatedTimestamp?: number;
|
|
254
|
+
modifiedBy?: string;
|
|
255
|
+
normalizationRules?: Array<NormalizationRuleOutput>;
|
|
256
|
+
regexReplacers?: Array<RegexReplacerOutput>;
|
|
257
|
+
rejectedPatterns?: Array<FilterOutput>;
|
|
258
|
+
scopedRules?: Array<ScopedRuleOutput>;
|
|
259
|
+
version?: number;
|
|
260
|
+
}
|
|
261
|
+
export interface FilterOutput {
|
|
262
|
+
createdBy?: string;
|
|
263
|
+
filterType?: "Pattern" | "Regex";
|
|
264
|
+
lastUpdatedTimestamp?: number;
|
|
265
|
+
modifiedBy?: string;
|
|
266
|
+
name: string;
|
|
267
|
+
path: string;
|
|
268
|
+
}
|
|
269
|
+
export interface ComplexReplacerConfigOutput {
|
|
270
|
+
createdBy?: string;
|
|
271
|
+
description?: string;
|
|
272
|
+
disabled?: boolean;
|
|
273
|
+
disableRecursiveReplacerApplication?: boolean;
|
|
274
|
+
lastUpdatedTimestamp?: number;
|
|
275
|
+
modifiedBy?: string;
|
|
276
|
+
name?: string;
|
|
277
|
+
typeName?: string;
|
|
278
|
+
}
|
|
279
|
+
export interface NormalizationRuleOutput {
|
|
280
|
+
description?: string;
|
|
281
|
+
disabled?: boolean;
|
|
282
|
+
dynamicReplacement?: boolean;
|
|
283
|
+
entityTypes?: Array<string>;
|
|
284
|
+
lastUpdatedTimestamp?: number;
|
|
285
|
+
name?: string;
|
|
286
|
+
regex?: FastRegexOutput;
|
|
287
|
+
replaceWith?: string;
|
|
288
|
+
version?: number;
|
|
289
|
+
}
|
|
290
|
+
export interface FastRegexOutput {
|
|
291
|
+
maxDigits?: number;
|
|
292
|
+
maxLetters?: number;
|
|
293
|
+
minDashes?: number;
|
|
294
|
+
minDigits?: number;
|
|
295
|
+
minDigitsOrLetters?: number;
|
|
296
|
+
minDots?: number;
|
|
297
|
+
minHex?: number;
|
|
298
|
+
minLetters?: number;
|
|
299
|
+
minUnderscores?: number;
|
|
300
|
+
options?: number;
|
|
301
|
+
regexStr?: string;
|
|
302
|
+
}
|
|
303
|
+
export interface RegexReplacerOutput {
|
|
304
|
+
condition?: string;
|
|
305
|
+
createdBy?: string;
|
|
306
|
+
description?: string;
|
|
307
|
+
disabled: boolean;
|
|
308
|
+
disableRecursiveReplacerApplication?: boolean;
|
|
309
|
+
doNotReplaceRegex?: FastRegexOutput;
|
|
310
|
+
lastUpdatedTimestamp?: number;
|
|
311
|
+
modifiedBy?: string;
|
|
312
|
+
name: string;
|
|
313
|
+
regex?: FastRegexOutput;
|
|
314
|
+
replaceWith?: string;
|
|
315
|
+
}
|
|
316
|
+
export interface ScopedRuleOutput {
|
|
317
|
+
bindingUrl: string;
|
|
318
|
+
rules?: Array<RuleOutput>;
|
|
319
|
+
storeType: string;
|
|
320
|
+
}
|
|
321
|
+
export interface RuleOutput {
|
|
322
|
+
displayName?: string;
|
|
323
|
+
isResourceSet?: boolean;
|
|
324
|
+
lastUpdatedTimestamp?: number;
|
|
325
|
+
name?: string;
|
|
326
|
+
qualifiedName: string;
|
|
327
|
+
}
|
|
328
|
+
/** Paged list of account resources */
|
|
329
|
+
export interface ResourceSetRuleConfigListOutput {
|
|
330
|
+
/** Total item count. */
|
|
331
|
+
count?: number;
|
|
332
|
+
/** The Url of next result page. */
|
|
333
|
+
nextLink?: string;
|
|
334
|
+
/** Collection of items of type results. */
|
|
335
|
+
value: Array<ResourceSetRuleConfigOutput>;
|
|
336
|
+
}
|
|
337
|
+
//# sourceMappingURL=outputModels.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version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AS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,OAAO,CAAC;IAClB,mCAAmC,CAAC,EAAE,OAAO,CAAC;IAC9C,iBAAiB,CAAC,EAAE,eAAe,CAAC;IACpC,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,eAAe,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,gBAAgB;IAC/B,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC;IAC1B,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,UAAU;IACzB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,sCAAsC;AACtC,MAAM,WAAW,+BAA+B;IAC9C,wBAAwB;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,mCAAmC;IACnC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,2CAA2C;IAC3C,KAAK,EAAE,KAAK,CAAC,2BAA2B,CAAC,CAAC;CAC3C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"outputModels.js","sourceRoot":"","sources":["../../../src/account/outputModels.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/** Account resource */\nexport interface AccountOutput {\n /** Gets or sets the identifier. */\n readonly id?: string;\n /** Identity Info on the tracked resource */\n identity?: IdentityOutput;\n /** Gets or sets the location. */\n location?: string;\n /** Gets or sets the name. */\n readonly name?: string;\n /** Gets or sets the properties. */\n properties?: AccountPropertiesOutput;\n /** Gets or sets the Sku. */\n sku?: AccountSkuOutput;\n /** Metadata pertaining to creation and last modification of the resource. */\n readonly systemData?: AccountSystemDataOutput;\n /** Tags on the azure resource. */\n tags?: Record<string, string>;\n /** Gets or sets the type. */\n readonly type?: string;\n}\n\n/** The Managed Identity of the resource */\nexport interface IdentityOutput {\n /** Service principal object Id */\n readonly principalId?: string;\n /** Tenant Id */\n readonly tenantId?: string;\n /** Identity Type */\n type?: \"SystemAssigned\";\n}\n\n/** The account properties */\nexport interface AccountPropertiesOutput {\n /**\n * Cloud connectors.\n * External cloud identifier used as part of scanning configuration.\n */\n cloudConnectors?: CloudConnectorsOutput;\n /** Gets the time at which the entity was created. */\n readonly createdAt?: string;\n /** Gets the creator of the entity. */\n readonly createdBy?: string;\n /** Gets the creators of the entity's object id. */\n readonly createdByObjectId?: string;\n /** The URIs that are the public endpoints of the account. */\n readonly endpoints?: AccountPropertiesEndpointsOutput;\n /** Gets or sets the friendly name. */\n readonly friendlyName?: string;\n /** Gets or sets the managed resource group name */\n managedResourceGroupName?: string;\n /** Gets the resource identifiers of the managed resources. */\n readonly managedResources?: AccountPropertiesManagedResourcesOutput;\n /** Gets the private endpoint connections information. */\n readonly privateEndpointConnections?: Array<PrivateEndpointConnectionOutput>;\n /** Gets or sets the state of the provisioning. */\n readonly provisioningState?:\n | \"Unknown\"\n | \"Creating\"\n | \"Moving\"\n | \"Deleting\"\n | \"SoftDeleting\"\n | \"SoftDeleted\"\n | \"Failed\"\n | \"Succeeded\"\n | \"Canceled\";\n /** Gets or sets the public network access. */\n publicNetworkAccess?: \"NotSpecified\" | \"Enabled\" | \"Disabled\";\n}\n\nexport interface CloudConnectorsOutput {\n /**\n * AWS external identifier.\n * Configured in AWS to allow use of the role arn used for scanning\n */\n readonly awsExternalId?: string;\n}\n\n/** The URIs that are the public endpoints of the account. */\nexport interface AccountPropertiesEndpointsOutput extends AccountEndpointsOutput {}\n\n/** The account endpoints */\nexport interface AccountEndpointsOutput {\n /** Gets the catalog endpoint. */\n readonly catalog?: string;\n /** Gets the guardian endpoint. */\n readonly guardian?: string;\n /** Gets the scan endpoint. */\n readonly scan?: string;\n}\n\n/** Gets the resource identifiers of the managed resources. */\nexport interface AccountPropertiesManagedResourcesOutput extends ManagedResourcesOutput {}\n\n/** The managed resources in customer subscription. */\nexport interface ManagedResourcesOutput {\n /** Gets the managed event hub namespace resource identifier. */\n readonly eventHubNamespace?: string;\n /** Gets the managed resource group resource identifier. This resource group will host resource dependencies for the account. */\n readonly resourceGroup?: string;\n /** Gets the managed storage account resource identifier. */\n readonly storageAccount?: string;\n}\n\n/** A private endpoint connection class. */\nexport interface PrivateEndpointConnectionOutput {\n /** Gets or sets the identifier. */\n readonly id?: string;\n /** Gets or sets the name. */\n readonly name?: string;\n /** The connection identifier. */\n properties?: PrivateEndpointConnectionPropertiesOutput;\n /** Gets or sets the type. */\n readonly type?: string;\n}\n\n/** A private endpoint connection properties class. */\nexport interface PrivateEndpointConnectionPropertiesOutput {\n /** The private endpoint information. */\n privateEndpoint?: PrivateEndpointOutput;\n /** The private link service connection state. */\n privateLinkServiceConnectionState?: PrivateLinkServiceConnectionStateOutput;\n /** The provisioning state. */\n readonly provisioningState?: string;\n}\n\n/** A private endpoint class. */\nexport interface PrivateEndpointOutput {\n /** The private endpoint identifier. */\n id?: string;\n}\n\n/** The private link service connection state. */\nexport interface PrivateLinkServiceConnectionStateOutput {\n /** The required actions. */\n actionsRequired?: string;\n /** The description. */\n description?: string;\n /** The status. */\n status?: \"Unknown\" | \"Pending\" | \"Approved\" | \"Rejected\" | \"Disconnected\";\n}\n\n/** The Sku */\nexport interface AccountSkuOutput {\n /** Gets or sets the sku capacity. Possible values include: 4, 16 */\n capacity?: number;\n /** Gets or sets the sku name. */\n name?: \"Standard\";\n}\n\n/** Metadata pertaining to creation and last modification of the resource. */\nexport interface AccountSystemDataOutput extends SystemDataOutput {}\n\n/** Metadata pertaining to creation and last modification of the resource. */\nexport interface SystemDataOutput {\n /** The timestamp of resource creation (UTC). */\n readonly createdAt?: string;\n /** The identity that created the resource. */\n readonly createdBy?: string;\n /** The type of identity that created the resource. */\n readonly createdByType?: \"User\" | \"Application\" | \"ManagedIdentity\" | \"Key\";\n /** The timestamp of the last modification the resource (UTC). */\n readonly lastModifiedAt?: string;\n /** The identity that last modified the resource. */\n readonly lastModifiedBy?: string;\n /** The type of identity that last modified the resource. */\n readonly lastModifiedByType?: \"User\" | \"Application\" | \"ManagedIdentity\" | \"Key\";\n}\n\n/** Default error response model */\nexport interface ErrorResponseModelOutput {\n /** Gets or sets the error. */\n readonly error?: ErrorResponseModelErrorOutput;\n}\n\n/** Gets or sets the error. */\nexport interface ErrorResponseModelErrorOutput extends ErrorModelOutput {}\n\n/** Default error model */\nexport interface ErrorModelOutput {\n /** Gets or sets the code. */\n readonly code?: string;\n /** Gets or sets the details. */\n readonly details?: Array<ErrorModelOutput>;\n /** Gets or sets the messages. */\n readonly message?: string;\n /** Gets or sets the target. */\n readonly target?: string;\n}\n\n/** The Account access keys. */\nexport interface AccessKeysOutput {\n /** Gets or sets the primary connection string. */\n atlasKafkaPrimaryEndpoint?: string;\n /** Gets or sets the secondary connection string. */\n atlasKafkaSecondaryEndpoint?: string;\n}\n\n/** Collection resource. */\nexport interface CollectionOutput {\n /** Gets the state of the provisioning. */\n readonly collectionProvisioningState?:\n | \"Unknown\"\n | \"Creating\"\n | \"Moving\"\n | \"Deleting\"\n | \"Failed\"\n | \"Succeeded\";\n /** Gets or sets the description. */\n description?: string;\n /** Gets or sets the friendly name of the collection. */\n friendlyName?: string;\n /** Gets the name. */\n readonly name?: string;\n /** Gets or sets the parent collection reference. */\n parentCollection?: CollectionReferenceOutput;\n /** Metadata pertaining to creation and last modification of the resource. */\n readonly systemData?: CollectionSystemDataOutput;\n}\n\n/** Reference to a Collection. */\nexport interface CollectionReferenceOutput {\n /** Gets or sets the reference name. */\n referenceName?: string;\n /** Gets or sets the reference type property. */\n type?: string;\n}\n\n/** Metadata pertaining to creation and last modification of the resource. */\nexport interface CollectionSystemDataOutput extends SystemDataOutput {}\n\n/** Paged list of collections. */\nexport interface CollectionListOutput {\n /** Total item count. */\n count?: number;\n /** The Url of next result page. */\n nextLink?: string;\n /** Collection of items of type results. */\n value: Array<CollectionOutput>;\n}\n\n/** Paged list of collections. */\nexport interface CollectionNameResponseListOutput {\n /** Total item count. */\n count?: number;\n /** The Url of next result page. */\n nextLink?: string;\n /** Collection of items of type results. */\n value: Array<CollectionNameResponseOutput>;\n}\n\n/** Collection resource. */\nexport interface CollectionNameResponseOutput {\n /** Gets or sets the friendly name of the collection. */\n readonly friendlyName?: string;\n /** Gets the name. */\n readonly name?: string;\n}\n\n/** Collection resource. */\nexport interface CollectionPathResponseOutput {\n /** The friendly names of ancestors starting from the default (root) collection and ending with the immediate parent. */\n readonly parentFriendlyNameChain?: Array<string>;\n /** The names of ancestors starting from the default (root) collection and ending with the immediate parent. */\n readonly parentNameChain?: Array<string>;\n}\n\n/** ResourceSetRuleConfig implementation class. */\nexport interface ResourceSetRuleConfigOutput {\n /** Gets or sets the advanced resource set property of the account. */\n advancedResourceSet?: AdvancedResourceSetOutput;\n /** The name of the rule */\n readonly name?: string;\n /** The configuration rules for path pattern extraction. */\n pathPatternConfig?: PathPatternExtractorConfigOutput;\n}\n\n/** The resource set processing property of the account. */\nexport interface AdvancedResourceSetOutput {\n /** Date at which ResourceSetProcessing property of the account is updated. */\n modifiedAt?: string;\n /** The advanced resource property of the account. */\n resourceSetProcessing?: \"Default\" | \"Advanced\";\n}\n\nexport interface PathPatternExtractorConfigOutput {\n acceptedPatterns?: Array<FilterOutput>;\n complexReplacers?: Array<ComplexReplacerConfigOutput>;\n createdBy: string;\n enableDefaultPatterns: boolean;\n lastUpdatedTimestamp?: number;\n modifiedBy?: string;\n normalizationRules?: Array<NormalizationRuleOutput>;\n regexReplacers?: Array<RegexReplacerOutput>;\n rejectedPatterns?: Array<FilterOutput>;\n scopedRules?: Array<ScopedRuleOutput>;\n version?: number;\n}\n\nexport interface FilterOutput {\n createdBy?: string;\n filterType?: \"Pattern\" | \"Regex\";\n lastUpdatedTimestamp?: number;\n modifiedBy?: string;\n name: string;\n path: string;\n}\n\nexport interface ComplexReplacerConfigOutput {\n createdBy?: string;\n description?: string;\n disabled?: boolean;\n disableRecursiveReplacerApplication?: boolean;\n lastUpdatedTimestamp?: number;\n modifiedBy?: string;\n name?: string;\n typeName?: string;\n}\n\nexport interface NormalizationRuleOutput {\n description?: string;\n disabled?: boolean;\n dynamicReplacement?: boolean;\n entityTypes?: Array<string>;\n lastUpdatedTimestamp?: number;\n name?: string;\n regex?: FastRegexOutput;\n replaceWith?: string;\n version?: number;\n}\n\nexport interface FastRegexOutput {\n maxDigits?: number;\n maxLetters?: number;\n minDashes?: number;\n minDigits?: number;\n minDigitsOrLetters?: number;\n minDots?: number;\n minHex?: number;\n minLetters?: number;\n minUnderscores?: number;\n options?: number;\n regexStr?: string;\n}\n\nexport interface RegexReplacerOutput {\n condition?: string;\n createdBy?: string;\n description?: string;\n disabled: boolean;\n disableRecursiveReplacerApplication?: boolean;\n doNotReplaceRegex?: FastRegexOutput;\n lastUpdatedTimestamp?: number;\n modifiedBy?: string;\n name: string;\n regex?: FastRegexOutput;\n replaceWith?: string;\n}\n\nexport interface ScopedRuleOutput {\n bindingUrl: string;\n rules?: Array<RuleOutput>;\n storeType: string;\n}\n\nexport interface RuleOutput {\n displayName?: string;\n isResourceSet?: boolean;\n lastUpdatedTimestamp?: number;\n name?: string;\n qualifiedName: string;\n}\n\n/** Paged list of account resources */\nexport interface ResourceSetRuleConfigListOutput {\n /** Total item count. */\n count?: number;\n /** The Url of next result page. */\n nextLink?: string;\n /** Collection of items of type results. */\n value: Array<ResourceSetRuleConfigOutput>;\n}\n"]}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import type { Client, PathUncheckedResponse } from "@azure-rest/core-client";
|
|
2
|
+
/**
|
|
3
|
+
* An interface that tracks the settings for paged iteration
|
|
4
|
+
*/
|
|
5
|
+
export interface PageSettings {
|
|
6
|
+
/**
|
|
7
|
+
* The token that keeps track of where to continue the iterator
|
|
8
|
+
*/
|
|
9
|
+
continuationToken?: string;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* An interface that allows async iterable iteration both to completion and by page.
|
|
13
|
+
*/
|
|
14
|
+
export interface PagedAsyncIterableIterator<TElement, TPage = TElement[], TPageSettings = PageSettings> {
|
|
15
|
+
/**
|
|
16
|
+
* The next method, part of the iteration protocol
|
|
17
|
+
*/
|
|
18
|
+
next(): Promise<IteratorResult<TElement>>;
|
|
19
|
+
/**
|
|
20
|
+
* The connection to the async iterator, part of the iteration protocol
|
|
21
|
+
*/
|
|
22
|
+
[Symbol.asyncIterator](): PagedAsyncIterableIterator<TElement, TPage, TPageSettings>;
|
|
23
|
+
/**
|
|
24
|
+
* Return an AsyncIterableIterator that works a page at a time
|
|
25
|
+
*/
|
|
26
|
+
byPage: (settings?: TPageSettings) => AsyncIterableIterator<TPage>;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Helper type to extract the type of an array
|
|
30
|
+
*/
|
|
31
|
+
export type GetArrayType<T> = T extends Array<infer TData> ? TData : never;
|
|
32
|
+
/**
|
|
33
|
+
* The type of a custom function that defines how to get a page and a link to the next one if any.
|
|
34
|
+
*/
|
|
35
|
+
export type GetPage<TPage> = (pageLink: string) => Promise<{
|
|
36
|
+
page: TPage;
|
|
37
|
+
nextPageLink?: string;
|
|
38
|
+
}>;
|
|
39
|
+
/**
|
|
40
|
+
* Options for the paging helper
|
|
41
|
+
*/
|
|
42
|
+
export interface PagingOptions<TResponse> {
|
|
43
|
+
/**
|
|
44
|
+
* Custom function to extract pagination details for crating the PagedAsyncIterableIterator
|
|
45
|
+
*/
|
|
46
|
+
customGetPage?: GetPage<PaginateReturn<TResponse>[]>;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Helper type to infer the Type of the paged elements from the response type
|
|
50
|
+
* This type is generated based on the swagger information for x-ms-pageable
|
|
51
|
+
* specifically on the itemName property which indicates the property of the response
|
|
52
|
+
* where the page items are found. The default value is `value`.
|
|
53
|
+
* This type will allow us to provide strongly typed Iterator based on the response we get as second parameter
|
|
54
|
+
*/
|
|
55
|
+
export type PaginateReturn<TResult> = TResult extends {
|
|
56
|
+
body: {
|
|
57
|
+
value?: infer TPage;
|
|
58
|
+
};
|
|
59
|
+
} ? GetArrayType<TPage> : Array<unknown>;
|
|
60
|
+
/**
|
|
61
|
+
* Helper to paginate results from an initial response that follows the specification of Autorest `x-ms-pageable` extension
|
|
62
|
+
* @param client - Client to use for sending the next page requests
|
|
63
|
+
* @param initialResponse - Initial response containing the nextLink and current page of elements
|
|
64
|
+
* @param customGetPage - Optional - Function to define how to extract the page and next link to be used to paginate the results
|
|
65
|
+
* @returns - PagedAsyncIterableIterator to iterate the elements
|
|
66
|
+
*/
|
|
67
|
+
export declare function paginate<TResponse extends PathUncheckedResponse>(client: Client, initialResponse: TResponse, options?: PagingOptions<TResponse>): PagedAsyncIterableIterator<PaginateReturn<TResponse>>;
|
|
68
|
+
//# sourceMappingURL=paginateHelper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"paginateHelper.d.ts","sourceRoot":"","sources":["../../../src/account/paginateHelper.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,MAAM,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAuF7E;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED;;GAEG;AACH,MAAM,WAAW,0BAA0B,CACzC,QAAQ,EACR,KAAK,GAAG,QAAQ,EAAE,EAClB,aAAa,GAAG,YAAY;IAE5B;;OAEG;IACH,IAAI,IAAI,OAAO,CAAC,cAAc,CAAC,QAAQ,CAAC,CAA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
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.paginate = paginate;
|
|
6
|
+
const tslib_1 = require("tslib");
|
|
7
|
+
const core_client_1 = require("@azure-rest/core-client");
|
|
8
|
+
/**
|
|
9
|
+
* returns an async iterator that iterates over results. It also has a `byPage`
|
|
10
|
+
* method that returns pages of items at once.
|
|
11
|
+
*
|
|
12
|
+
* @param pagedResult - an object that specifies how to get pages.
|
|
13
|
+
* @returns a paged async iterator that iterates over results.
|
|
14
|
+
*/
|
|
15
|
+
function getPagedAsyncIterator(pagedResult) {
|
|
16
|
+
var _a;
|
|
17
|
+
const iter = getItemAsyncIterator(pagedResult);
|
|
18
|
+
return {
|
|
19
|
+
next() {
|
|
20
|
+
return iter.next();
|
|
21
|
+
},
|
|
22
|
+
[Symbol.asyncIterator]() {
|
|
23
|
+
return this;
|
|
24
|
+
},
|
|
25
|
+
byPage: (_a = pagedResult === null || pagedResult === void 0 ? void 0 : pagedResult.byPage) !== null && _a !== void 0 ? _a : ((settings) => {
|
|
26
|
+
const { continuationToken } = settings !== null && settings !== void 0 ? settings : {};
|
|
27
|
+
return getPageAsyncIterator(pagedResult, {
|
|
28
|
+
pageLink: continuationToken,
|
|
29
|
+
});
|
|
30
|
+
}),
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
function getItemAsyncIterator(pagedResult) {
|
|
34
|
+
return tslib_1.__asyncGenerator(this, arguments, function* getItemAsyncIterator_1() {
|
|
35
|
+
var _a, e_1, _b, _c, _d, e_2, _e, _f;
|
|
36
|
+
const pages = getPageAsyncIterator(pagedResult);
|
|
37
|
+
const firstVal = yield tslib_1.__await(pages.next());
|
|
38
|
+
// if the result does not have an array shape, i.e. TPage = TElement, then we return it as is
|
|
39
|
+
if (!Array.isArray(firstVal.value)) {
|
|
40
|
+
// can extract elements from this page
|
|
41
|
+
const { toElements } = pagedResult;
|
|
42
|
+
if (toElements) {
|
|
43
|
+
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(toElements(firstVal.value))));
|
|
44
|
+
try {
|
|
45
|
+
for (var _g = true, pages_1 = tslib_1.__asyncValues(pages), pages_1_1; pages_1_1 = yield tslib_1.__await(pages_1.next()), _a = pages_1_1.done, !_a; _g = true) {
|
|
46
|
+
_c = pages_1_1.value;
|
|
47
|
+
_g = false;
|
|
48
|
+
const page = _c;
|
|
49
|
+
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(toElements(page))));
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
53
|
+
finally {
|
|
54
|
+
try {
|
|
55
|
+
if (!_g && !_a && (_b = pages_1.return)) yield tslib_1.__await(_b.call(pages_1));
|
|
56
|
+
}
|
|
57
|
+
finally { if (e_1) throw e_1.error; }
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
else {
|
|
61
|
+
yield yield tslib_1.__await(firstVal.value);
|
|
62
|
+
// `pages` is of type `AsyncIterableIterator<TPage>` but TPage = TElement in this case
|
|
63
|
+
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(pages)));
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
else {
|
|
67
|
+
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(firstVal.value)));
|
|
68
|
+
try {
|
|
69
|
+
for (var _h = true, pages_2 = tslib_1.__asyncValues(pages), pages_2_1; pages_2_1 = yield tslib_1.__await(pages_2.next()), _d = pages_2_1.done, !_d; _h = true) {
|
|
70
|
+
_f = pages_2_1.value;
|
|
71
|
+
_h = false;
|
|
72
|
+
const page = _f;
|
|
73
|
+
// pages is of type `AsyncIterableIterator<TPage>` so `page` is of type `TPage`. In this branch,
|
|
74
|
+
// it must be the case that `TPage = TElement[]`
|
|
75
|
+
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
79
|
+
finally {
|
|
80
|
+
try {
|
|
81
|
+
if (!_h && !_d && (_e = pages_2.return)) yield tslib_1.__await(_e.call(pages_2));
|
|
82
|
+
}
|
|
83
|
+
finally { if (e_2) throw e_2.error; }
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
});
|
|
87
|
+
}
|
|
88
|
+
function getPageAsyncIterator(pagedResult_1) {
|
|
89
|
+
return tslib_1.__asyncGenerator(this, arguments, function* getPageAsyncIterator_1(pagedResult, options = {}) {
|
|
90
|
+
const { pageLink } = options;
|
|
91
|
+
let response = yield tslib_1.__await(pagedResult.getPage(pageLink !== null && pageLink !== void 0 ? pageLink : pagedResult.firstPageLink));
|
|
92
|
+
if (!response) {
|
|
93
|
+
return yield tslib_1.__await(void 0);
|
|
94
|
+
}
|
|
95
|
+
yield yield tslib_1.__await(response.page);
|
|
96
|
+
while (response.nextPageLink) {
|
|
97
|
+
response = yield tslib_1.__await(pagedResult.getPage(response.nextPageLink));
|
|
98
|
+
if (!response) {
|
|
99
|
+
return yield tslib_1.__await(void 0);
|
|
100
|
+
}
|
|
101
|
+
yield yield tslib_1.__await(response.page);
|
|
102
|
+
}
|
|
103
|
+
});
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* Helper to paginate results from an initial response that follows the specification of Autorest `x-ms-pageable` extension
|
|
107
|
+
* @param client - Client to use for sending the next page requests
|
|
108
|
+
* @param initialResponse - Initial response containing the nextLink and current page of elements
|
|
109
|
+
* @param customGetPage - Optional - Function to define how to extract the page and next link to be used to paginate the results
|
|
110
|
+
* @returns - PagedAsyncIterableIterator to iterate the elements
|
|
111
|
+
*/
|
|
112
|
+
function paginate(client, initialResponse, options = {}) {
|
|
113
|
+
let firstRun = true;
|
|
114
|
+
const itemName = "value";
|
|
115
|
+
const nextLinkName = "nextLink";
|
|
116
|
+
const { customGetPage } = options;
|
|
117
|
+
const pagedResult = {
|
|
118
|
+
firstPageLink: "",
|
|
119
|
+
getPage: typeof customGetPage === "function"
|
|
120
|
+
? customGetPage
|
|
121
|
+
: async (pageLink) => {
|
|
122
|
+
const result = firstRun ? initialResponse : await client.pathUnchecked(pageLink).get();
|
|
123
|
+
firstRun = false;
|
|
124
|
+
checkPagingRequest(result);
|
|
125
|
+
const nextLink = getNextLink(result.body, nextLinkName);
|
|
126
|
+
const values = getElements(result.body, itemName);
|
|
127
|
+
return {
|
|
128
|
+
page: values,
|
|
129
|
+
nextPageLink: nextLink,
|
|
130
|
+
};
|
|
131
|
+
},
|
|
132
|
+
};
|
|
133
|
+
return getPagedAsyncIterator(pagedResult);
|
|
134
|
+
}
|
|
135
|
+
/**
|
|
136
|
+
* Gets for the value of nextLink in the body
|
|
137
|
+
*/
|
|
138
|
+
function getNextLink(body, nextLinkName) {
|
|
139
|
+
if (!nextLinkName) {
|
|
140
|
+
return undefined;
|
|
141
|
+
}
|
|
142
|
+
const nextLink = body[nextLinkName];
|
|
143
|
+
if (typeof nextLink !== "string" && typeof nextLink !== "undefined") {
|
|
144
|
+
throw new Error(`Body Property ${nextLinkName} should be a string or undefined`);
|
|
145
|
+
}
|
|
146
|
+
return nextLink;
|
|
147
|
+
}
|
|
148
|
+
/**
|
|
149
|
+
* Gets the elements of the current request in the body.
|
|
150
|
+
*/
|
|
151
|
+
function getElements(body, itemName) {
|
|
152
|
+
const value = body[itemName];
|
|
153
|
+
// value has to be an array according to the x-ms-pageable extension.
|
|
154
|
+
// The fact that this must be an array is used above to calculate the
|
|
155
|
+
// type of elements in the page in PaginateReturn
|
|
156
|
+
if (!Array.isArray(value)) {
|
|
157
|
+
throw new Error(`Couldn't paginate response\n Body doesn't contain an array property with name: ${itemName}`);
|
|
158
|
+
}
|
|
159
|
+
return value !== null && value !== void 0 ? value : [];
|
|
160
|
+
}
|
|
161
|
+
/**
|
|
162
|
+
* Checks if a request failed
|
|
163
|
+
*/
|
|
164
|
+
function checkPagingRequest(response) {
|
|
165
|
+
const Http2xxStatusCodes = ["200", "201", "202", "203", "204", "205", "206", "207", "208", "226"];
|
|
166
|
+
if (!Http2xxStatusCodes.includes(response.status)) {
|
|
167
|
+
throw (0, core_client_1.createRestError)(`Pagination failed with unexpected statusCode ${response.status}`, response);
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
//# sourceMappingURL=paginateHelper.js.map
|