{"_id":"@azure-rest/purview-account","_rev":"15-9136abf404915b642785cf8613017cc7","name":"@azure-rest/purview-account","dist-tags":{"latest":"1.0.0-beta.1","next":"1.0.0-beta.1","dev":"1.0.0-alpha.20220128.2"},"versions":{"1.0.0-beta.1":{"name":"@azure-rest/purview-account","sdk-type":"client","author":{"name":"Microsoft Corporation"},"description":"An isomorphic rest level client library for the Azure Purview Account service.","version":"1.0.0-beta.1","keywords":["node","azure","cloud","typescript","browser","isomorphic"],"license":"MIT","main":"./dist/index.js","module":"./dist-esm/src/index.js","types":"./types/purview-account-rest.d.ts","homepage":"https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/purview/purview-account-rest/README.md","repository":{"type":"git","url":"git+https://github.com/Azure/azure-sdk-for-js.git"},"bugs":{"url":"https://github.com/Azure/azure-sdk-for-js/issues"},"engines":{"node":">=12.0.0"},"//metadata":{"constantPaths":[{"path":"swagger/README.md","prefix":"package-version"}]},"//sampleConfiguration":{"productName":"Azure Purview Scanning rest","productSlugs":["azure"],"requiredResources":{"Azure Cognitive Services instance":"https://docs.microsoft.com/azure/cognitive-services/cognitive-services-apis-create-account"}},"browser":{"./dist-esm/test/public/utils/env.js":"./dist-esm/test/public/utils/env.browser.js"},"scripts":{"audit":"node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit","regenerate":"autorest --typescript swagger/README.md && npm run format","build:browser":"tsc -p . && cross-env ONLY_BROWSER=true rollup -c 2>&1","build:node":"tsc -p . && cross-env ONLY_NODE=true rollup -c 2>&1","build:samples":"echo Obsolete.","build:test":"tsc -p . && rollup -c 2>&1","build":"tsc -p . && rollup -c 2>&1 && mkdirp ./review && api-extractor run --local","build:debug":"tsc -p . && rollup -c 2>&1 && api-extractor run --local","check-format":"prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"","clean":"rimraf dist dist-browser dist-esm test-dist temp types *.tgz *.log","execute:samples":"dev-tool samples run samples-dev","extract-api":"rimraf review && mkdirp ./review && api-extractor run --local","format":"prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"","integration-test:browser":"karma start --single-run","integration-test:node":"nyc mocha -r esm --require source-map-support/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 5000000 --full-trace \"dist-esm/test/{,!(browser)/**/}*.spec.js\"","integration-test":"npm run integration-test:node && npm run integration-test:browser","lint:fix":"eslint package.json api-extractor.json src test --ext .ts --fix --fix-type [problem,suggestion]","lint":"eslint package.json api-extractor.json src test --ext .ts","pack":"npm pack 2>&1","prebuild":"npm run clean","test:browser":"npm run clean && npm run build:test && npm run unit-test:browser","test:node":"npm run clean && npm run build:test && npm run unit-test:node","test":"npm run clean && npm run build:test && npm run unit-test","unit-test:browser":"echo skipped","unit-test:node":"cross-env TEST_MODE=playback mocha -r esm --require ts-node/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 1200000 --full-trace \"test/{,!(browser)/**/}*.spec.ts\"","unit-test":"npm run unit-test:node && npm run unit-test:browser","docs":"typedoc --excludePrivate --excludeExternals  --out ./dist/docs ./src"},"sideEffects":false,"autoPublish":false,"dependencies":{"@azure-rest/core-client-paging":"1.0.0-beta.1","@azure/core-auth":"^1.3.0","@azure-rest/core-client":"1.0.0-beta.6","@azure/core-rest-pipeline":"^1.1.0","@azure/logger":"^1.0.0","tslib":"^2.2.0"},"devDependencies":{"@azure/dev-tool":"^1.0.0","@azure/eslint-plugin-azure-sdk":"^3.0.0","@azure/identity":"^1.1.0","@azure/test-utils-recorder":"^1.0.0","@microsoft/api-extractor":"7.13.2","@types/chai":"^4.1.6","@types/mocha":"^7.0.2","@types/node":"^12.0.0","chai":"^4.2.0","cross-env":"^7.0.2","dotenv":"^8.2.0","eslint":"^7.15.0","karma-chrome-launcher":"^3.0.0","karma-coverage":"^2.0.0","karma-edge-launcher":"^0.4.2","karma-env-preprocessor":"^0.1.1","karma-firefox-launcher":"^1.1.0","karma-ie-launcher":"^1.0.0","karma-json-preprocessor":"^0.3.3","karma-json-to-file-reporter":"^1.0.1","karma-junit-reporter":"^2.0.1","karma-mocha-reporter":"^2.2.5","karma-mocha":"^2.0.1","karma-source-map-support":"~1.4.0","karma-sourcemap-loader":"^0.3.8","karma":"^6.2.0","mkdirp":"^1.0.4","mocha-junit-reporter":"^1.18.0","mocha":"^7.1.1","nyc":"^14.0.0","prettier":"2.2.1","rimraf":"^3.0.0","rollup":"^1.16.3","source-map-support":"^0.5.9","typedoc":"0.15.2","typescript":"~4.2.0"},"_resolved":"","_integrity":"","_from":"file:/mnt/vss/_work/1/packages/azure-rest-purview-account/azure-rest-purview-account-1.0.0-beta.1.tgz","_id":"@azure-rest/purview-account@1.0.0-beta.1","_nodeVersion":"14.17.5","_npmVersion":"6.14.14","dist":{"integrity":"sha512-dF4eZY0ZbXd7L70nihpk4ZruhA2B6e+YY2xyPikmGGMLTzd2FyzRPvrE04bSVJ+3ZX8muudcGZfCVzBEG+pvYQ==","shasum":"bbff13f5ed3bace8b020d6d03e4ceb77939ceaa2","tarball":"https://registry.npmjs.org/@azure-rest/purview-account/-/purview-account-1.0.0-beta.1.tgz","fileCount":19,"unpackedSize":85810,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhJGltCRA9TVsSAnZWagAAYRQP/jzY+RvnqVKA6EhlCOND\nlWaqn/pjvrAm71Cme68BHvri/iE5bIpfA78YW0QMM6uMqlGq6hi6bi96s0ji\n2iFpGKFdheen6Asja7lGzyUh/eXoFkRg/MZ15q0oY05R2pEJlAhOnv3Omb3o\nDp3MApotSbqTXVAxGTmsoAk5XYdvPdLiaRS3GDejdBCMIKImtV1Q3rT02D3s\nNR+kWw0aSHYi72I2RHtPHM53frslp6u4N+GAtpT+eAonWYnjB1PhnKQjc+QD\nJxQqBU8MugJ4UePAzVDzFtRwOoqYhTe2Uobi/psxOYtxk9ke6z/xyalRCEiT\nQ28nWhlDhaeory2MGvTOQQmqZ51WgztdCkDyq5U3hOpXTEP2J48npmfrq6Jt\nvp3AFEUkGDN+JOF0VhgTRnsJG1Vi4JDNfar33UC3EUHwMM/haQS85oIcjSOr\nGHfYM0sy3tqWZRgPNhZTXFoX+TbX4Wz4mcexJTzPOv0h5ipm3VlOoBkTmzB0\nyXXXXFVi+hQfef9nwPIdyv2lndLxCPL66wuew/2UMBLEDC7QEJ8qFJE27kf2\nNiJmVK0nrA0BHqBwTmmZkjOHktGC6mqVN3QzB73UH52xm2xmytkROSBhl3SU\nOUaJafEDDMpPuJFluGe8nALtzF0/DZsUSpke1f1Q4xTKkChsO857O6FNLcI0\nvOee\r\n=xglM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQClnLFjWTiOmJeigm1WAiqp5rzpQZeRjtqFRgWs19G9TQIhANEX/31BrD7V1Dml50nB40tm60+jxUvlcfvznbOc0157"}]},"_npmUser":{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"},"directories":{},"maintainers":[{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/purview-account_1.0.0-beta.1_1629776237239_0.5328404812360321"},"_hasShrinkwrap":false,"deprecated":"Please use @azure-rest/purview-administration"},"1.0.0-alpha.20210823.1":{"name":"@azure-rest/purview-account","sdk-type":"client","author":{"name":"Microsoft Corporation"},"description":"An isomorphic rest level client library for the Azure Purview Account service.","version":"1.0.0-alpha.20210823.1","keywords":["node","azure","cloud","typescript","browser","isomorphic"],"license":"MIT","main":"./dist/index.js","module":"./dist-esm/src/index.js","types":"./types/purview-account-rest.d.ts","homepage":"https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/purview/purview-account-rest/README.md","repository":{"type":"git","url":"git+https://github.com/Azure/azure-sdk-for-js.git"},"bugs":{"url":"https://github.com/Azure/azure-sdk-for-js/issues"},"engines":{"node":">=12.0.0"},"//metadata":{"constantPaths":[{"path":"swagger/README.md","prefix":"package-version"}]},"//sampleConfiguration":{"productName":"Azure Purview Scanning rest","productSlugs":["azure"],"requiredResources":{"Azure Cognitive Services instance":"https://docs.microsoft.com/azure/cognitive-services/cognitive-services-apis-create-account"}},"browser":{"./dist-esm/test/public/utils/env.js":"./dist-esm/test/public/utils/env.browser.js"},"scripts":{"audit":"node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit","regenerate":"autorest --typescript swagger/README.md && npm run format","build:browser":"tsc -p . && cross-env ONLY_BROWSER=true rollup -c 2>&1","build:node":"tsc -p . && cross-env ONLY_NODE=true rollup -c 2>&1","build:samples":"echo Obsolete.","build:test":"tsc -p . && rollup -c 2>&1","build":"tsc -p . && rollup -c 2>&1 && mkdirp ./review && api-extractor run --local","build:debug":"tsc -p . && rollup -c 2>&1 && api-extractor run --local","check-format":"prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"","clean":"rimraf dist dist-browser dist-esm test-dist temp types *.tgz *.log","execute:samples":"dev-tool samples run samples-dev","extract-api":"rimraf review && mkdirp ./review && api-extractor run --local","format":"prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"","integration-test:browser":"karma start --single-run","integration-test:node":"nyc mocha -r esm --require source-map-support/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 5000000 --full-trace \"dist-esm/test/{,!(browser)/**/}*.spec.js\"","integration-test":"npm run integration-test:node && npm run integration-test:browser","lint:fix":"eslint package.json api-extractor.json src test --ext .ts --fix --fix-type [problem,suggestion]","lint":"eslint package.json api-extractor.json src test --ext .ts","pack":"npm pack 2>&1","prebuild":"npm run clean","test:browser":"npm run clean && npm run build:test && npm run unit-test:browser","test:node":"npm run clean && npm run build:test && npm run unit-test:node","test":"npm run clean && npm run build:test && npm run unit-test","unit-test:browser":"echo skipped","unit-test:node":"cross-env TEST_MODE=playback mocha -r esm --require ts-node/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 1200000 --full-trace \"test/{,!(browser)/**/}*.spec.ts\"","unit-test":"npm run unit-test:node && npm run unit-test:browser","docs":"typedoc --excludePrivate --excludeExternals  --out ./dist/docs ./src"},"sideEffects":false,"autoPublish":false,"dependencies":{"@azure-rest/core-client-paging":"1.0.0-beta.1","@azure/core-auth":"^1.3.0","@azure-rest/core-client":"1.0.0-beta.6","@azure/core-rest-pipeline":"^1.1.0","@azure/logger":"^1.0.0","tslib":"^2.2.0"},"devDependencies":{"@azure/dev-tool":">=1.0.0-alpha <1.0.0-alphb","@azure/eslint-plugin-azure-sdk":">=3.0.0-alpha <3.0.0-alphb","@azure/identity":"^1.1.0","@azure/test-utils-recorder":">=1.0.0-alpha <1.0.0-alphb","@microsoft/api-extractor":"7.13.2","@types/chai":"^4.1.6","@types/mocha":"^7.0.2","@types/node":"^12.0.0","chai":"^4.2.0","cross-env":"^7.0.2","dotenv":"^8.2.0","eslint":"^7.15.0","karma-chrome-launcher":"^3.0.0","karma-coverage":"^2.0.0","karma-edge-launcher":"^0.4.2","karma-env-preprocessor":"^0.1.1","karma-firefox-launcher":"^1.1.0","karma-ie-launcher":"^1.0.0","karma-json-preprocessor":"^0.3.3","karma-json-to-file-reporter":"^1.0.1","karma-junit-reporter":"^2.0.1","karma-mocha-reporter":"^2.2.5","karma-mocha":"^2.0.1","karma-source-map-support":"~1.4.0","karma-sourcemap-loader":"^0.3.8","karma":"^6.2.0","mkdirp":"^1.0.4","mocha-junit-reporter":"^1.18.0","mocha":"^7.1.1","nyc":"^14.0.0","prettier":"2.2.1","rimraf":"^3.0.0","rollup":"^1.16.3","source-map-support":"^0.5.9","typedoc":"0.15.2","typescript":"~4.2.0"},"_resolved":"","_integrity":"","_from":"file:/mnt/vss/_work/1/packages/azure-rest-purview-account/azure-rest-purview-account-1.0.0-alpha.20210823.1.tgz","readme":"# Azure Purview Account REST client library for JavaScript\n\nAzure Purview Account is a fully managed cloud service whose users can discover the data sources they need and understand the data sources they find. At the same time, Data Account helps organizations get more value from their existing investments.\n\n- Search for data using technical or business terms\n- Browse associated technical, business, semantic, and operational metadata\n- Identify the sensitivity level of data.\n\n**Please rely heavily on the [service's documentation][account_product_documentation] and our [REST client docs][rest_client] to use this library**\n\nKey links:\n- [Source code][source_code]\n- [Package (NPM)][account_npm]\n- [API reference documentation][account_ref_docs]\n- [Product documentation][account_product_documentation]\n\n## Getting started\n\n### Currently supported environments\n\n- Node.js version 14.x.x or higher\n\n### Prerequisites\n\n- You must have an [Azure subscription][azure_subscription] and a [Purview][purview_resource] to use this package.\n\n#### Create a Purview Resource\n\nFollow [these][purview_resource] instructions to create your Purview resource\n\n### Install the `@azure-rest/purview-account` package\n\nInstall the Azure Purview Account client library for JavaScript with `npm`:\n\n```bash\nnpm install @azure-rest/purview-account\n```\n\n### Create and authenticate a `PurviewAccount`\n\nTo use an [Azure Active Directory (AAD) token credential][authenticate_with_token],\nprovide an instance of the desired credential type obtained from the\n[@azure/identity][azure_identity_credentials] library.\n\nTo authenticate with AAD, you must first `npm` install [`@azure/identity`][azure_identity_npm] and\n[enable AAD authentication on your Purview resource][enable_aad]\n\nAfter setup, you can choose which type of [credential][azure_identity_credentials] from `@azure/identity` to use.\nAs an example, [DefaultAzureCredential][default_azure_credential]\ncan be used to authenticate the client:\n\nSet the values of the client ID, tenant ID, and client secret of the AAD application as environment variables:\nAZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET\n\nUse the returned token credential to authenticate the client:\n\n```typescript\nimport PurviewAccount from \"@azure-rest/purview-account\";\nimport { DefaultAzureCredential } from \"@azure/identity\";\nconst client = PurviewAccount(\n  \"https://<my-account-name>.purview.azure.com\",\n  new DefaultAzureCredential()\n);\n```\n\n## Key concepts\n\n### REST Client\n\nThis client is one of our REST clients. We highly recommend you read how to use a REST client [here][rest_client].\n\n## Examples\n\nThe following section shows you how to initialize and authenticate your client, then get all of your type-defs.\n\n- [Get A List of Collections](#get-a-list-of-collections \"Get A List of Collections\")\n\n```typescript\nimport PurviewAccount from \"@azure-rest/purview-account\";\nimport { DefaultAzureCredential } from \"@azure/identity\";\nimport dotenv from \"dotenv\";\n\ndotenv.config();\n\nconst endpoint = process.env[\"ENDPOINT\"] || \"\";\n\nasync function main() {\n  console.log(\"== List collections sample ==\");\n  const client = PurviewAccount(endpoint, new DefaultAzureCredential());\n\n  const response = await client.path(\"/collections\").get();\n\n  if (response.status !== \"200\") {\n    console.log(`GET \"/collections\" failed with ${response.status}`);\n  }\n\n  console.log(response.body);\n}\n\nmain().catch(console.error);\n\n```\n\n## Troubleshooting\n\n### Logging\n\nEnabling logging may help uncover useful information about failures. In order to see a log of HTTP requests and responses, set the `AZURE_LOG_LEVEL` environment variable to `info`. Alternatively, logging can be enabled at runtime by calling `setLogLevel` in the `@azure/logger`:\n\n```javascript\nimport { setLogLevel } from \"@azure/logger\";\n\nsetLogLevel(\"info\");\n```\n\nFor more detailed instructions on how to enable logs, you can look at the [@azure/logger package docs](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/logger).\n\n## Next steps\n\n## Contributing\n\nIf you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code.\n\n## Related projects\n\n- [Microsoft Azure SDK for JavaScript](https://github.com/Azure/azure-sdk-for-js)\n\n![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fpurview%2Fpurview-account-rest%2FREADME.png)\n\n[account_product_documentation]: https://azure.microsoft.com/services/purview/\n[rest_client]: https://github.com/Azure/azure-sdk-for-js/blob/main/documentation/rest-clients.md\n[source_code]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/purview/purview-catalog-rest\n[account_npm]: https://www.npmjs.com/org/azure-rest\n[account_ref_docs]: https://azure.github.io/azure-sdk-for-js\n[azure_subscription]: https://azure.microsoft.com/free/\n[purview_resource]: https://docs.microsoft.com/azure/purview/create-catalog-portal\n[authenticate_with_token]: https://docs.microsoft.com/azure/cognitive-services/authentication?tabs=powershell#authenticate-with-an-authentication-token\n[azure_identity_credentials]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#credentials\n[azure_identity_npm]: https://www.npmjs.com/package/@azure/identity\n[enable_aad]: https://docs.microsoft.com/azure/purview/create-catalog-portal#add-a-security-principal-to-a-data-plane-role\n[default_azure_credential]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#defaultazurecredential\n","readmeFilename":"README.md","_id":"@azure-rest/purview-account@1.0.0-alpha.20210823.1","_nodeVersion":"14.17.5","_npmVersion":"6.14.14","dist":{"integrity":"sha512-TFHYSc6PxEsm0TvUe9Y+vbKajabH0HgBaNxy8LNDbucFQMrUsnlwqL6d3Ioly8wcNWouqSV8RBizlOYeqbK0iQ==","shasum":"a091d948eb55be831fcd13c0b4434b212f04e332","tarball":"https://registry.npmjs.org/@azure-rest/purview-account/-/purview-account-1.0.0-alpha.20210823.1.tgz","fileCount":19,"unpackedSize":85880,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhJI1OCRA9TVsSAnZWagAA4CQP/jP4ZqlZhYg19//Sekly\nNMPpVah0Bv9N6o/LY+XmS4Eqp5ON4+r2K151nvtWWf5rkIGmFjDNJAfhXgOi\nLhNVvu6PZZi23NecZ4hN0yZccLd54+WhKEWwVuzlYJw0CFTTiEvrlXBy4m7c\ndF+wFKeWGYFzzSj9bNytswQ0wSImXtWymZtoTBRpDtkxi4G6xftbw+d0QGvA\nRThAl0VaZSa46qHe7bWEiVK6g1+PNfMZzYE7O1/6PUEM0LYU6gcbhh4XIhhh\nalu5ya5YqYsieIEpDB9qri6/s2u/ik1XBwLl3StVTKio5eeS/yriYA55QtH4\nGVF0bbgMzFMTfkHetmH01UPq800aDjUJDcjMku02aRX1736LwbhKyRwjQCIB\nwkUyCZHDuYHkIpR94PI43TCvTSn2UFlmAWBpCG+fNxnQr2pZcqWKrwpDR/mN\nyRveJyD1kc7ZaE0R7ORmRwBWQZAuq80Q4HN2Ax2j1ABEy+K2v6MOBOsFzcKo\n26sVE/ka8W3DFfQPVE8Gp5Vhe2xUbaevjAIVrZWaALZ9CaumwyCvk63Uwq6e\nUiuGYma8P8L+bUu9raEaM5ko2/O0Qf4gn8M9p2nkqDzmqCLKamM5VjAKSiXX\nlEKGY9YfekBw3k5mbd9+OE7f+pIWMbi5B7fTsezrlBmSUivsTnJoRF8LcveZ\novcH\r\n=NdXq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCi+DRcWEWWl6LN4d/ErSJ0DPEb25Wvtc07ziZ1hLxaagIhAPGF59Yhy8wMN++5pba5EXiWIGm/bxtf0Mm4tYhtWD2f"}]},"_npmUser":{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"},"directories":{},"maintainers":[{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/purview-account_1.0.0-alpha.20210823.1_1629785421886_0.7919646335485435"},"_hasShrinkwrap":false,"deprecated":"Please use @azure-rest/purview-administration"},"1.0.0-alpha.20210826.1":{"name":"@azure-rest/purview-account","sdk-type":"client","author":{"name":"Microsoft Corporation"},"description":"An isomorphic rest level client library for the Azure Purview Account service.","version":"1.0.0-alpha.20210826.1","keywords":["node","azure","cloud","typescript","browser","isomorphic"],"license":"MIT","main":"./dist/index.js","module":"./dist-esm/src/index.js","types":"./types/purview-account-rest.d.ts","homepage":"https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/purview/purview-account-rest/README.md","repository":{"type":"git","url":"git+https://github.com/Azure/azure-sdk-for-js.git"},"bugs":{"url":"https://github.com/Azure/azure-sdk-for-js/issues"},"engines":{"node":">=12.0.0"},"//metadata":{"constantPaths":[{"path":"swagger/README.md","prefix":"package-version"}]},"//sampleConfiguration":{"productName":"Azure Purview Scanning rest","productSlugs":["azure"],"requiredResources":{"Azure Cognitive Services instance":"https://docs.microsoft.com/azure/cognitive-services/cognitive-services-apis-create-account"}},"browser":{"./dist-esm/test/public/utils/env.js":"./dist-esm/test/public/utils/env.browser.js"},"scripts":{"audit":"node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit","regenerate":"autorest --typescript swagger/README.md && npm run format","build:browser":"tsc -p . && cross-env ONLY_BROWSER=true rollup -c 2>&1","build:node":"tsc -p . && cross-env ONLY_NODE=true rollup -c 2>&1","build:samples":"echo Obsolete.","build:test":"tsc -p . && rollup -c 2>&1","build":"npm run clean && tsc -p . && rollup -c 2>&1 && mkdirp ./review && api-extractor run --local","build:debug":"tsc -p . && rollup -c 2>&1 && api-extractor run --local","check-format":"prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"","clean":"rimraf dist dist-browser dist-esm test-dist temp types *.tgz *.log","execute:samples":"dev-tool samples run samples-dev","extract-api":"rimraf review && mkdirp ./review && api-extractor run --local","format":"prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"","integration-test:browser":"karma start --single-run","integration-test:node":"nyc mocha -r esm --require source-map-support/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 5000000 --full-trace \"dist-esm/test/{,!(browser)/**/}*.spec.js\"","integration-test":"npm run integration-test:node && npm run integration-test:browser","lint:fix":"eslint package.json api-extractor.json src test --ext .ts --fix --fix-type [problem,suggestion]","lint":"eslint package.json api-extractor.json src test --ext .ts","pack":"npm pack 2>&1","test:browser":"npm run clean && npm run build:test && npm run unit-test:browser","test:node":"npm run clean && npm run build:test && npm run unit-test:node","test":"npm run clean && npm run build:test && npm run unit-test","unit-test:browser":"echo skipped","unit-test:node":"cross-env TEST_MODE=playback mocha -r esm --require ts-node/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 1200000 --full-trace \"test/{,!(browser)/**/}*.spec.ts\"","unit-test":"npm run unit-test:node && npm run unit-test:browser","docs":"typedoc --excludePrivate --excludeExternals  --out ./dist/docs ./src"},"sideEffects":false,"autoPublish":false,"dependencies":{"@azure-rest/core-client-paging":"1.0.0-beta.1","@azure/core-auth":"^1.3.0","@azure-rest/core-client":"1.0.0-beta.6","@azure/core-rest-pipeline":"^1.1.0","@azure/logger":"^1.0.0","tslib":"^2.2.0"},"devDependencies":{"@azure/dev-tool":">=1.0.0-alpha <1.0.0-alphb","@azure/eslint-plugin-azure-sdk":">=3.0.0-alpha <3.0.0-alphb","@azure/identity":"^1.1.0","@azure-tools/test-recorder":">=1.0.0-alpha <1.0.0-alphb","@microsoft/api-extractor":"7.13.2","@types/chai":"^4.1.6","@types/mocha":"^7.0.2","@types/node":"^12.0.0","chai":"^4.2.0","cross-env":"^7.0.2","dotenv":"^8.2.0","eslint":"^7.15.0","karma-chrome-launcher":"^3.0.0","karma-coverage":"^2.0.0","karma-edge-launcher":"^0.4.2","karma-env-preprocessor":"^0.1.1","karma-firefox-launcher":"^1.1.0","karma-ie-launcher":"^1.0.0","karma-json-preprocessor":"^0.3.3","karma-json-to-file-reporter":"^1.0.1","karma-junit-reporter":"^2.0.1","karma-mocha-reporter":"^2.2.5","karma-mocha":"^2.0.1","karma-source-map-support":"~1.4.0","karma-sourcemap-loader":"^0.3.8","karma":"^6.2.0","mkdirp":"^1.0.4","mocha-junit-reporter":"^1.18.0","mocha":"^7.1.1","nyc":"^14.0.0","prettier":"2.2.1","rimraf":"^3.0.0","rollup":"^1.16.3","source-map-support":"^0.5.9","typedoc":"0.15.2","typescript":"~4.2.0"},"_resolved":"","_integrity":"","_from":"file:/mnt/vss/_work/1/packages/azure-rest-purview-account/azure-rest-purview-account-1.0.0-alpha.20210826.1.tgz","readme":"# Azure Purview Account REST client library for JavaScript\n\nAzure Purview Account is a fully managed cloud service whose users can discover the data sources they need and understand the data sources they find. At the same time, Data Account helps organizations get more value from their existing investments.\n\n- Search for data using technical or business terms\n- Browse associated technical, business, semantic, and operational metadata\n- Identify the sensitivity level of data.\n\n**Please rely heavily on the [service's documentation][account_product_documentation] and our [REST client docs][rest_client] to use this library**\n\nKey links:\n- [Source code][source_code]\n- [Package (NPM)][account_npm]\n- [API reference documentation][account_ref_docs]\n- [Product documentation][account_product_documentation]\n\n## Getting started\n\n### Currently supported environments\n\n- Node.js version 14.x.x or higher\n\n### Prerequisites\n\n- You must have an [Azure subscription][azure_subscription] and a [Purview][purview_resource] to use this package.\n\n#### Create a Purview Resource\n\nFollow [these][purview_resource] instructions to create your Purview resource\n\n### Install the `@azure-rest/purview-account` package\n\nInstall the Azure Purview Account client library for JavaScript with `npm`:\n\n```bash\nnpm install @azure-rest/purview-account\n```\n\n### Create and authenticate a `PurviewAccount`\n\nTo use an [Azure Active Directory (AAD) token credential][authenticate_with_token],\nprovide an instance of the desired credential type obtained from the\n[@azure/identity][azure_identity_credentials] library.\n\nTo authenticate with AAD, you must first `npm` install [`@azure/identity`][azure_identity_npm] and\n[enable AAD authentication on your Purview resource][enable_aad]\n\nAfter setup, you can choose which type of [credential][azure_identity_credentials] from `@azure/identity` to use.\nAs an example, [DefaultAzureCredential][default_azure_credential]\ncan be used to authenticate the client:\n\nSet the values of the client ID, tenant ID, and client secret of the AAD application as environment variables:\nAZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET\n\nUse the returned token credential to authenticate the client:\n\n```typescript\nimport PurviewAccount from \"@azure-rest/purview-account\";\nimport { DefaultAzureCredential } from \"@azure/identity\";\nconst client = PurviewAccount(\n  \"https://<my-account-name>.purview.azure.com\",\n  new DefaultAzureCredential()\n);\n```\n\n## Key concepts\n\n### REST Client\n\nThis client is one of our REST clients. We highly recommend you read how to use a REST client [here][rest_client].\n\n## Examples\n\nThe following section shows you how to initialize and authenticate your client, then get all of your type-defs.\n\n- [Get A List of Collections](#get-a-list-of-collections \"Get A List of Collections\")\n\n```typescript\nimport PurviewAccount from \"@azure-rest/purview-account\";\nimport { DefaultAzureCredential } from \"@azure/identity\";\nimport dotenv from \"dotenv\";\n\ndotenv.config();\n\nconst endpoint = process.env[\"ENDPOINT\"] || \"\";\n\nasync function main() {\n  console.log(\"== List collections sample ==\");\n  const client = PurviewAccount(endpoint, new DefaultAzureCredential());\n\n  const response = await client.path(\"/collections\").get();\n\n  if (response.status !== \"200\") {\n    console.log(`GET \"/collections\" failed with ${response.status}`);\n  }\n\n  console.log(response.body);\n}\n\nmain().catch(console.error);\n\n```\n\n## Troubleshooting\n\n### Logging\n\nEnabling logging may help uncover useful information about failures. In order to see a log of HTTP requests and responses, set the `AZURE_LOG_LEVEL` environment variable to `info`. Alternatively, logging can be enabled at runtime by calling `setLogLevel` in the `@azure/logger`:\n\n```javascript\nimport { setLogLevel } from \"@azure/logger\";\n\nsetLogLevel(\"info\");\n```\n\nFor more detailed instructions on how to enable logs, you can look at the [@azure/logger package docs](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/logger).\n\n## Next steps\n\n## Contributing\n\nIf you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code.\n\n## Related projects\n\n- [Microsoft Azure SDK for JavaScript](https://github.com/Azure/azure-sdk-for-js)\n\n![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fpurview%2Fpurview-account-rest%2FREADME.png)\n\n[account_product_documentation]: https://azure.microsoft.com/services/purview/\n[rest_client]: https://github.com/Azure/azure-sdk-for-js/blob/main/documentation/rest-clients.md\n[source_code]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/purview/purview-catalog-rest\n[account_npm]: https://www.npmjs.com/org/azure-rest\n[account_ref_docs]: https://azure.github.io/azure-sdk-for-js\n[azure_subscription]: https://azure.microsoft.com/free/\n[purview_resource]: https://docs.microsoft.com/azure/purview/create-catalog-portal\n[authenticate_with_token]: https://docs.microsoft.com/azure/cognitive-services/authentication?tabs=powershell#authenticate-with-an-authentication-token\n[azure_identity_credentials]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#credentials\n[azure_identity_npm]: https://www.npmjs.com/package/@azure/identity\n[enable_aad]: https://docs.microsoft.com/azure/purview/create-catalog-portal#add-a-security-principal-to-a-data-plane-role\n[default_azure_credential]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#defaultazurecredential\n","readmeFilename":"README.md","_id":"@azure-rest/purview-account@1.0.0-alpha.20210826.1","_nodeVersion":"14.17.5","_npmVersion":"6.14.14","dist":{"integrity":"sha512-cQoIpa/BfmBJeoqv/sOUbJ2YJYQt3HlB9aZl+MWrf+jIQ4dW+FR3U3ReqEtpB7ZtSFQAeiBwz/4Wk+7JVV8fEw==","shasum":"e2ea2609110b674f95c603e1428a3d5091833c74","tarball":"https://registry.npmjs.org/@azure-rest/purview-account/-/purview-account-1.0.0-alpha.20210826.1.tgz","fileCount":19,"unpackedSize":85864,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhKIESCRA9TVsSAnZWagAAo4gP/1T4s5fLiKCI+MTQB3BY\nz9dWUrAaO+120+q/QfvGp+wZ2cI8hHMbrYvFZ5lRnM1LQuaNm2wvQj6mIfgo\nIBshjO3Q6zjdoWNwYgRUwzwuI9llajXvCe3613JFUCnDiCaHIMndE6sinLta\nuM1ZfzrCZ26IN4WFKJdA21qcApFAcV3BjwW3IZy63JR+ixdjOCMzoDt7pk43\nWp3Aw2x3P09SKfUVAYa3meITnP8TidR7D70ABIxoj7yqbi8n2rLi2KZaeaZm\nOQwGRvwe7LWiWt6k8RyDIV3tIWvrCkTu1+zrZdlWGdrbIqDAa/7Lx6ktseua\nFA0tlUKIu04TR+d1rsPMnHJoh9HLaixsea24ECNZ5nM/fhGX2ED6nTtlHIQ/\n/HqTwlx11RXIM7F3gTrLZ8npe8DvaIJQos43gj5zI7RDCJRO5KupZ5OgSrJl\nw2dMfgBG4kOlQwC9UC7AE04P5V6qfmzM3vvYP31gPjOrIO/mkjjOuJjow5GQ\n+z9N4+0UJwz6vAmmZUi3uuDAcGvsQ5l1wnN0v4tqN5tZ8h498xLGsAbXrDvS\nGld6HoUjyfMQBvIVjuN20jP4rrWzFHxV/48/ux1NDzFOJL2mb4feW1k4IXLg\nBE5ulFGT0nuFSCLMkU+uX/P7OxmBBB02KQuC6o88cHDhXFxsMZEb0HiKxeEb\nnTaZ\r\n=s2v3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBawpXxWJVwaamlXI3vRiYDsLI3IGk8+izK8I1HJZdtgAiAH7YfaIpmcPnInMTKZXwidlvZb9UvVjM5s8t151n1tbQ=="}]},"_npmUser":{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"},"directories":{},"maintainers":[{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/purview-account_1.0.0-alpha.20210826.1_1630044434332_0.3988572664071728"},"_hasShrinkwrap":false,"deprecated":"Please use @azure-rest/purview-administration"},"1.0.0-alpha.20210901.2":{"name":"@azure-rest/purview-account","sdk-type":"client","author":{"name":"Microsoft Corporation"},"description":"An isomorphic rest level client library for the Azure Purview Account service.","version":"1.0.0-alpha.20210901.2","keywords":["node","azure","cloud","typescript","browser","isomorphic"],"license":"MIT","main":"./dist/index.js","module":"./dist-esm/src/index.js","types":"./types/purview-account-rest.d.ts","homepage":"https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/purview/purview-account-rest/README.md","repository":{"type":"git","url":"git+https://github.com/Azure/azure-sdk-for-js.git"},"bugs":{"url":"https://github.com/Azure/azure-sdk-for-js/issues"},"engines":{"node":">=12.0.0"},"//metadata":{"constantPaths":[{"path":"swagger/README.md","prefix":"package-version"}]},"//sampleConfiguration":{"productName":"Azure Purview Scanning rest","productSlugs":["azure"],"requiredResources":{"Azure Cognitive Services instance":"https://docs.microsoft.com/azure/cognitive-services/cognitive-services-apis-create-account"}},"browser":{"./dist-esm/test/public/utils/env.js":"./dist-esm/test/public/utils/env.browser.js"},"scripts":{"audit":"node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit","regenerate":"autorest --typescript swagger/README.md && npm run format","build:browser":"tsc -p . && cross-env ONLY_BROWSER=true rollup -c 2>&1","build:node":"tsc -p . && cross-env ONLY_NODE=true rollup -c 2>&1","build:samples":"echo Obsolete.","build:test":"tsc -p . && rollup -c 2>&1","build":"npm run clean && tsc -p . && rollup -c 2>&1 && mkdirp ./review && api-extractor run --local","build:debug":"tsc -p . && rollup -c 2>&1 && api-extractor run --local","check-format":"prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"","clean":"rimraf dist dist-browser dist-esm test-dist temp types *.tgz *.log","execute:samples":"dev-tool samples run samples-dev","extract-api":"rimraf review && mkdirp ./review && api-extractor run --local","format":"prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"","integration-test:browser":"karma start --single-run","integration-test:node":"nyc mocha -r esm --require source-map-support/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 5000000 --full-trace \"dist-esm/test/{,!(browser)/**/}*.spec.js\"","integration-test":"npm run integration-test:node && npm run integration-test:browser","lint:fix":"eslint package.json api-extractor.json src test --ext .ts --fix --fix-type [problem,suggestion]","lint":"eslint package.json api-extractor.json src test --ext .ts","pack":"npm pack 2>&1","test:browser":"npm run clean && npm run build:test && npm run unit-test:browser","test:node":"npm run clean && npm run build:test && npm run unit-test:node","test":"npm run clean && npm run build:test && npm run unit-test","unit-test:browser":"echo skipped","unit-test:node":"cross-env TEST_MODE=playback mocha -r esm --require ts-node/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 1200000 --full-trace \"test/{,!(browser)/**/}*.spec.ts\"","unit-test":"npm run unit-test:node && npm run unit-test:browser","docs":"typedoc --excludePrivate --excludeExternals  --out ./dist/docs ./src"},"sideEffects":false,"autoPublish":false,"dependencies":{"@azure-rest/core-client-paging":"1.0.0-beta.1","@azure/core-auth":"^1.3.0","@azure-rest/core-client":">=1.0.0-alpha <1.0.0-alphb","@azure/core-rest-pipeline":"^1.1.0","@azure/logger":"^1.0.0","tslib":"^2.2.0"},"devDependencies":{"@azure/dev-tool":">=1.0.0-alpha <1.0.0-alphb","@azure/eslint-plugin-azure-sdk":">=3.0.0-alpha <3.0.0-alphb","@azure/identity":"^1.1.0","@azure-tools/test-recorder":"^1.0.0","@microsoft/api-extractor":"7.13.2","@types/chai":"^4.1.6","@types/mocha":"^7.0.2","@types/node":"^12.0.0","chai":"^4.2.0","cross-env":"^7.0.2","dotenv":"^8.2.0","eslint":"^7.15.0","karma-chrome-launcher":"^3.0.0","karma-coverage":"^2.0.0","karma-edge-launcher":"^0.4.2","karma-env-preprocessor":"^0.1.1","karma-firefox-launcher":"^1.1.0","karma-ie-launcher":"^1.0.0","karma-json-preprocessor":"^0.3.3","karma-json-to-file-reporter":"^1.0.1","karma-junit-reporter":"^2.0.1","karma-mocha-reporter":"^2.2.5","karma-mocha":"^2.0.1","karma-source-map-support":"~1.4.0","karma-sourcemap-loader":"^0.3.8","karma":"^6.2.0","mkdirp":"^1.0.4","mocha-junit-reporter":"^1.18.0","mocha":"^7.1.1","nyc":"^14.0.0","prettier":"2.2.1","rimraf":"^3.0.0","rollup":"^1.16.3","source-map-support":"^0.5.9","typedoc":"0.15.2","typescript":"~4.2.0"},"_resolved":"","_integrity":"","_from":"file:/mnt/vss/_work/1/packages/azure-rest-purview-account/azure-rest-purview-account-1.0.0-alpha.20210901.2.tgz","readme":"# Azure Purview Account REST client library for JavaScript\n\nAzure Purview Account is a fully managed cloud service whose users can discover the data sources they need and understand the data sources they find. At the same time, Data Account helps organizations get more value from their existing investments.\n\n- Search for data using technical or business terms\n- Browse associated technical, business, semantic, and operational metadata\n- Identify the sensitivity level of data.\n\n**Please rely heavily on the [service's documentation][account_product_documentation] and our [REST client docs][rest_client] to use this library**\n\nKey links:\n- [Source code][source_code]\n- [Package (NPM)][account_npm]\n- [API reference documentation][account_ref_docs]\n- [Product documentation][account_product_documentation]\n\n## Getting started\n\n### Currently supported environments\n\n- Node.js version 14.x.x or higher\n\n### Prerequisites\n\n- You must have an [Azure subscription][azure_subscription] and a [Purview][purview_resource] to use this package.\n\n#### Create a Purview Resource\n\nFollow [these][purview_resource] instructions to create your Purview resource\n\n### Install the `@azure-rest/purview-account` package\n\nInstall the Azure Purview Account client library for JavaScript with `npm`:\n\n```bash\nnpm install @azure-rest/purview-account\n```\n\n### Create and authenticate a `PurviewAccount`\n\nTo use an [Azure Active Directory (AAD) token credential][authenticate_with_token],\nprovide an instance of the desired credential type obtained from the\n[@azure/identity][azure_identity_credentials] library.\n\nTo authenticate with AAD, you must first `npm` install [`@azure/identity`][azure_identity_npm] and\n[enable AAD authentication on your Purview resource][enable_aad]\n\nAfter setup, you can choose which type of [credential][azure_identity_credentials] from `@azure/identity` to use.\nAs an example, [DefaultAzureCredential][default_azure_credential]\ncan be used to authenticate the client:\n\nSet the values of the client ID, tenant ID, and client secret of the AAD application as environment variables:\nAZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET\n\nUse the returned token credential to authenticate the client:\n\n```typescript\nimport PurviewAccount from \"@azure-rest/purview-account\";\nimport { DefaultAzureCredential } from \"@azure/identity\";\nconst client = PurviewAccount(\n  \"https://<my-account-name>.purview.azure.com\",\n  new DefaultAzureCredential()\n);\n```\n\n## Key concepts\n\n### REST Client\n\nThis client is one of our REST clients. We highly recommend you read how to use a REST client [here][rest_client].\n\n## Examples\n\nThe following section shows you how to initialize and authenticate your client, then get all of your type-defs.\n\n- [Get A List of Collections](#get-a-list-of-collections \"Get A List of Collections\")\n\n```typescript\nimport PurviewAccount from \"@azure-rest/purview-account\";\nimport { DefaultAzureCredential } from \"@azure/identity\";\nimport dotenv from \"dotenv\";\n\ndotenv.config();\n\nconst endpoint = process.env[\"ENDPOINT\"] || \"\";\n\nasync function main() {\n  console.log(\"== List collections sample ==\");\n  const client = PurviewAccount(endpoint, new DefaultAzureCredential());\n\n  const response = await client.path(\"/collections\").get();\n\n  if (response.status !== \"200\") {\n    console.log(`GET \"/collections\" failed with ${response.status}`);\n  }\n\n  console.log(response.body);\n}\n\nmain().catch(console.error);\n\n```\n\n## Troubleshooting\n\n### Logging\n\nEnabling logging may help uncover useful information about failures. In order to see a log of HTTP requests and responses, set the `AZURE_LOG_LEVEL` environment variable to `info`. Alternatively, logging can be enabled at runtime by calling `setLogLevel` in the `@azure/logger`:\n\n```javascript\nimport { setLogLevel } from \"@azure/logger\";\n\nsetLogLevel(\"info\");\n```\n\nFor more detailed instructions on how to enable logs, you can look at the [@azure/logger package docs](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/logger).\n\n## Next steps\n\n## Contributing\n\nIf you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code.\n\n## Related projects\n\n- [Microsoft Azure SDK for JavaScript](https://github.com/Azure/azure-sdk-for-js)\n\n![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fpurview%2Fpurview-account-rest%2FREADME.png)\n\n[account_product_documentation]: https://azure.microsoft.com/services/purview/\n[rest_client]: https://github.com/Azure/azure-sdk-for-js/blob/main/documentation/rest-clients.md\n[source_code]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/purview/purview-catalog-rest\n[account_npm]: https://www.npmjs.com/org/azure-rest\n[account_ref_docs]: https://azure.github.io/azure-sdk-for-js\n[azure_subscription]: https://azure.microsoft.com/free/\n[purview_resource]: https://docs.microsoft.com/azure/purview/create-catalog-portal\n[authenticate_with_token]: https://docs.microsoft.com/azure/cognitive-services/authentication?tabs=powershell#authenticate-with-an-authentication-token\n[azure_identity_credentials]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#credentials\n[azure_identity_npm]: https://www.npmjs.com/package/@azure/identity\n[enable_aad]: https://docs.microsoft.com/azure/purview/create-catalog-portal#add-a-security-principal-to-a-data-plane-role\n[default_azure_credential]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#defaultazurecredential\n","readmeFilename":"README.md","_id":"@azure-rest/purview-account@1.0.0-alpha.20210901.2","_nodeVersion":"14.17.6","_npmVersion":"6.14.15","dist":{"integrity":"sha512-EfScMMsDfmCpqvXdvW+0agD9IeG1lcHM0/oXTfVwj2+rSIAqKq6klrRYRwsk8MkABdmwhIBhjC/xfdJpVbBsdA==","shasum":"c3ebd181eab2d726b59840a8b8d9429cc089770e","tarball":"https://registry.npmjs.org/@azure-rest/purview-account/-/purview-account-1.0.0-alpha.20210901.2.tgz","fileCount":19,"unpackedSize":85858,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhMGnZCRA9TVsSAnZWagAANOMQAIosO89wQPdMMn1oCm5V\nIynD0cEm7k4gz6l4gpmZNYMkigIu3jazmKQDRjjS+maXIR1t5nFacQv1dSc2\nOs1B82JU/xwgFgA+XJ4Wxc3OsEJBQ9wWjMz2qJKhmshB1pHBqeVj90cP1Xwz\nGjdsKXPWtmEMSQmDEbtt+P58IJ7Fn5pEb4UNLKt+OEe+GCeovJMNUOa+nA38\nRAA2AFsvHYSSVsQfudy88Yvje5zT2ir3003loM75Rh/38xTINxRALQoXHwsU\ngtlDzgPn4SXNxsZDI9xjR17K/Vwnp18r2mDxV8KgForLN4gNr6zkVxxPbyOV\nvrcp+slceA/tgnKXvVL0DurcpzkHQgsvQHUOJHOB9nJLv06XnD5flbdesHUh\njKRl6PE3uRDHABNgIr5y5em0BjHeES9ehl8wsif46q01KgKKs/B1GH9CJCpA\np3zbAd8oCTgvu/FI4+89kHQUf84vg0eKHnLh2ynAscesxnLkWJaqWhKxU+I2\nCJRsOd/+E+48alSV4HnwdEeylxlTmaRbqoAV84KwqnjUqctOMxxbyPTGBTI4\n+JV+1YSp9VfUKlrouguRGmNGw8AZDnLifMecJqlqkf0qfo7VGSdbZ/f9KLVq\nAz8Db9O7KsaVVCaLidndmdp29bVyvY1/GUn1TKA8PH7y9Bc33oETIyNv8Pv4\nyR1S\r\n=XCkz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEPYMjDUWIv8YBw5GjCL8Zd1zlCPdpMBu6ztnixXpUUWAiAT6NSzMsa58r4q69E4n4BHPmyptdfHs4xE19FQDVAS6g=="}]},"_npmUser":{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"},"directories":{},"maintainers":[{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/purview-account_1.0.0-alpha.20210901.2_1630562777811_0.5796417337545379"},"_hasShrinkwrap":false,"deprecated":"Please use @azure-rest/purview-administration"},"1.0.0-alpha.20211001.1":{"name":"@azure-rest/purview-account","sdk-type":"client","author":{"name":"Microsoft Corporation"},"description":"An isomorphic rest level client library for the Azure Purview Account service.","version":"1.0.0-alpha.20211001.1","keywords":["node","azure","cloud","typescript","browser","isomorphic"],"license":"MIT","main":"./dist/index.js","module":"./dist-esm/src/index.js","types":"./types/purview-account-rest.d.ts","homepage":"https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/purview/purview-account-rest/README.md","repository":{"type":"git","url":"git+https://github.com/Azure/azure-sdk-for-js.git"},"bugs":{"url":"https://github.com/Azure/azure-sdk-for-js/issues"},"engines":{"node":">=12.0.0"},"//metadata":{"constantPaths":[{"path":"swagger/README.md","prefix":"package-version"}]},"//sampleConfiguration":{"productName":"Azure Purview Scanning rest","productSlugs":["azure"],"requiredResources":{"Azure Cognitive Services instance":"https://docs.microsoft.com/azure/cognitive-services/cognitive-services-apis-create-account"}},"browser":{"./dist-esm/test/public/utils/env.js":"./dist-esm/test/public/utils/env.browser.js"},"scripts":{"audit":"node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit","regenerate":"autorest --typescript swagger/README.md && npm run format","build:browser":"tsc -p . && cross-env ONLY_BROWSER=true rollup -c 2>&1","build:node":"tsc -p . && cross-env ONLY_NODE=true rollup -c 2>&1","build:samples":"echo Obsolete.","build:test":"tsc -p . && rollup -c 2>&1","build":"npm run clean && tsc -p . && rollup -c 2>&1 && mkdirp ./review && api-extractor run --local","build:debug":"tsc -p . && rollup -c 2>&1 && api-extractor run --local","check-format":"prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"","clean":"rimraf dist dist-browser dist-esm test-dist temp types *.tgz *.log","execute:samples":"dev-tool samples run samples-dev","extract-api":"rimraf review && mkdirp ./review && api-extractor run --local","format":"prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"","integration-test:browser":"karma start --single-run","integration-test:node":"nyc mocha -r esm --require source-map-support/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 5000000 --full-trace \"dist-esm/test/{,!(browser)/**/}*.spec.js\"","integration-test":"npm run integration-test:node && npm run integration-test:browser","lint:fix":"eslint package.json api-extractor.json src test --ext .ts --fix --fix-type [problem,suggestion]","lint":"eslint package.json api-extractor.json src test --ext .ts","pack":"npm pack 2>&1","test:browser":"npm run clean && npm run build:test && npm run unit-test:browser","test:node":"npm run clean && npm run build:test && npm run unit-test:node","test":"npm run clean && npm run build:test && npm run unit-test","unit-test:browser":"echo skipped","unit-test:node":"cross-env TEST_MODE=playback mocha -r esm --require ts-node/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 1200000 --full-trace \"test/{,!(browser)/**/}*.spec.ts\"","unit-test":"npm run unit-test:node && npm run unit-test:browser","docs":"typedoc --excludePrivate --excludeExternals  --out ./dist/docs ./src"},"sideEffects":false,"autoPublish":false,"dependencies":{"@azure-rest/core-client-paging":"1.0.0-beta.1","@azure/core-auth":"^1.3.0","@azure-rest/core-client":">=1.0.0-alpha <1.0.0-alphb","@azure/core-rest-pipeline":"^1.1.0","@azure/logger":"^1.0.0","tslib":"^2.2.0"},"devDependencies":{"@azure/dev-tool":">=1.0.0-alpha <1.0.0-alphb","@azure/eslint-plugin-azure-sdk":">=3.0.0-alpha <3.0.0-alphb","@azure/identity":"^1.1.0","@azure-tools/test-recorder":"^1.0.0","@microsoft/api-extractor":"^7.18.11","@types/chai":"^4.1.6","@types/mocha":"^7.0.2","@types/node":"^12.0.0","chai":"^4.2.0","cross-env":"^7.0.2","dotenv":"^8.2.0","eslint":"^7.15.0","karma-chrome-launcher":"^3.0.0","karma-coverage":"^2.0.0","karma-edge-launcher":"^0.4.2","karma-env-preprocessor":"^0.1.1","karma-firefox-launcher":"^1.1.0","karma-ie-launcher":"^1.0.0","karma-json-preprocessor":"^0.3.3","karma-json-to-file-reporter":"^1.0.1","karma-junit-reporter":"^2.0.1","karma-mocha-reporter":"^2.2.5","karma-mocha":"^2.0.1","karma-source-map-support":"~1.4.0","karma-sourcemap-loader":"^0.3.8","karma":"^6.2.0","mkdirp":"^1.0.4","mocha-junit-reporter":"^1.18.0","mocha":"^7.1.1","nyc":"^14.0.0","prettier":"2.2.1","rimraf":"^3.0.0","rollup":"^1.16.3","source-map-support":"^0.5.9","typedoc":"0.15.2","typescript":"~4.2.0"},"_resolved":"","_integrity":"","_from":"file:/mnt/vss/_work/1/packages/azure-rest-purview-account/azure-rest-purview-account-1.0.0-alpha.20211001.1.tgz","readme":"# Azure Purview Account REST client library for JavaScript\n\nAzure Purview Account is a fully managed cloud service whose users can discover the data sources they need and understand the data sources they find. At the same time, Data Account helps organizations get more value from their existing investments.\n\n- Search for data using technical or business terms\n- Browse associated technical, business, semantic, and operational metadata\n- Identify the sensitivity level of data.\n\n**Please rely heavily on the [service's documentation][account_product_documentation] and our [REST client docs][rest_client] to use this library**\n\nKey links:\n- [Source code][source_code]\n- [Package (NPM)][account_npm]\n- [API reference documentation][account_ref_docs]\n- [Product documentation][account_product_documentation]\n\n## Getting started\n\n### Currently supported environments\n\n- Node.js version 14.x.x or higher\n\n### Prerequisites\n\n- You must have an [Azure subscription][azure_subscription] and a [Purview][purview_resource] to use this package.\n\n#### Create a Purview Resource\n\nFollow [these][purview_resource] instructions to create your Purview resource\n\n### Install the `@azure-rest/purview-account` package\n\nInstall the Azure Purview Account client library for JavaScript with `npm`:\n\n```bash\nnpm install @azure-rest/purview-account\n```\n\n### Create and authenticate a `PurviewAccount`\n\nTo use an [Azure Active Directory (AAD) token credential][authenticate_with_token],\nprovide an instance of the desired credential type obtained from the\n[@azure/identity][azure_identity_credentials] library.\n\nTo authenticate with AAD, you must first `npm` install [`@azure/identity`][azure_identity_npm] and\n[enable AAD authentication on your Purview resource][enable_aad]\n\nAfter setup, you can choose which type of [credential][azure_identity_credentials] from `@azure/identity` to use.\nAs an example, [DefaultAzureCredential][default_azure_credential]\ncan be used to authenticate the client:\n\nSet the values of the client ID, tenant ID, and client secret of the AAD application as environment variables:\nAZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET\n\nUse the returned token credential to authenticate the client:\n\n```typescript\nimport PurviewAccount from \"@azure-rest/purview-account\";\nimport { DefaultAzureCredential } from \"@azure/identity\";\nconst client = PurviewAccount(\n  \"https://<my-account-name>.purview.azure.com\",\n  new DefaultAzureCredential()\n);\n```\n\n## Key concepts\n\n### REST Client\n\nThis client is one of our REST clients. We highly recommend you read how to use a REST client [here][rest_client].\n\n## Examples\n\nThe following section shows you how to initialize and authenticate your client, then get all of your type-defs.\n\n- [Get A List of Collections](#get-a-list-of-collections \"Get A List of Collections\")\n\n```typescript\nimport PurviewAccount from \"@azure-rest/purview-account\";\nimport { DefaultAzureCredential } from \"@azure/identity\";\nimport dotenv from \"dotenv\";\n\ndotenv.config();\n\nconst endpoint = process.env[\"ENDPOINT\"] || \"\";\n\nasync function main() {\n  console.log(\"== List collections sample ==\");\n  const client = PurviewAccount(endpoint, new DefaultAzureCredential());\n\n  const response = await client.path(\"/collections\").get();\n\n  if (response.status !== \"200\") {\n    console.log(`GET \"/collections\" failed with ${response.status}`);\n  }\n\n  console.log(response.body);\n}\n\nmain().catch(console.error);\n\n```\n\n## Troubleshooting\n\n### Logging\n\nEnabling logging may help uncover useful information about failures. In order to see a log of HTTP requests and responses, set the `AZURE_LOG_LEVEL` environment variable to `info`. Alternatively, logging can be enabled at runtime by calling `setLogLevel` in the `@azure/logger`:\n\n```javascript\nimport { setLogLevel } from \"@azure/logger\";\n\nsetLogLevel(\"info\");\n```\n\nFor more detailed instructions on how to enable logs, you can look at the [@azure/logger package docs](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/logger).\n\n## Next steps\n\n## Contributing\n\nIf you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code.\n\n## Related projects\n\n- [Microsoft Azure SDK for JavaScript](https://github.com/Azure/azure-sdk-for-js)\n\n![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fpurview%2Fpurview-account-rest%2FREADME.png)\n\n[account_product_documentation]: https://azure.microsoft.com/services/purview/\n[rest_client]: https://github.com/Azure/azure-sdk-for-js/blob/main/documentation/rest-clients.md\n[source_code]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/purview/purview-catalog-rest\n[account_npm]: https://www.npmjs.com/org/azure-rest\n[account_ref_docs]: https://azure.github.io/azure-sdk-for-js\n[azure_subscription]: https://azure.microsoft.com/free/\n[purview_resource]: https://docs.microsoft.com/azure/purview/create-catalog-portal\n[authenticate_with_token]: https://docs.microsoft.com/azure/cognitive-services/authentication?tabs=powershell#authenticate-with-an-authentication-token\n[azure_identity_credentials]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#credentials\n[azure_identity_npm]: https://www.npmjs.com/package/@azure/identity\n[enable_aad]: https://docs.microsoft.com/azure/purview/create-catalog-portal#add-a-security-principal-to-a-data-plane-role\n[default_azure_credential]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#defaultazurecredential\n","readmeFilename":"README.md","_id":"@azure-rest/purview-account@1.0.0-alpha.20211001.1","_nodeVersion":"14.18.0","_npmVersion":"6.14.15","dist":{"integrity":"sha512-T/9LQhfdBZVRdv2tes2+5wyPKXvZLlm3UQ2k4CKwlC4YdJQSIGWwd/MImw6D5i96YbnUDjo8jFo3RqxhHXXtKQ==","shasum":"10df6a6afada09fae7cbc14518b886095b4d0520","tarball":"https://registry.npmjs.org/@azure-rest/purview-account/-/purview-account-1.0.0-alpha.20211001.1.tgz","fileCount":19,"unpackedSize":85860,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC9OR3gQt6TtuluKBQAH/D5Ap+NuonnK8Bk6DqacHmhRAIhAPCe97r8K+lYT+MBodpyJjTvj8AVjSL+TJ+9nL7r6c2I"}]},"_npmUser":{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"},"directories":{},"maintainers":[{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/purview-account_1.0.0-alpha.20211001.1_1633154326305_0.28001849285894376"},"_hasShrinkwrap":false,"deprecated":"Please use @azure-rest/purview-administration"},"1.0.0-alpha.20211101.3":{"name":"@azure-rest/purview-account","sdk-type":"client","author":{"name":"Microsoft Corporation"},"description":"An isomorphic rest level client library for the Azure Purview Account service.","version":"1.0.0-alpha.20211101.3","keywords":["node","azure","cloud","typescript","browser","isomorphic"],"license":"MIT","main":"./dist/index.js","module":"./dist-esm/src/index.js","types":"./types/purview-account-rest.d.ts","homepage":"https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/purview/purview-account-rest/README.md","repository":{"type":"git","url":"git+https://github.com/Azure/azure-sdk-for-js.git"},"bugs":{"url":"https://github.com/Azure/azure-sdk-for-js/issues"},"engines":{"node":">=12.0.0"},"//metadata":{"constantPaths":[{"path":"swagger/README.md","prefix":"package-version"}]},"//sampleConfiguration":{"productName":"Azure Purview Scanning rest","productSlugs":["azure"],"requiredResources":{"Azure Cognitive Services instance":"https://docs.microsoft.com/azure/cognitive-services/cognitive-services-apis-create-account"}},"browser":{"./dist-esm/test/public/utils/env.js":"./dist-esm/test/public/utils/env.browser.js"},"scripts":{"audit":"node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit","build:browser":"tsc -p . && cross-env ONLY_BROWSER=true rollup -c 2>&1","build:node":"tsc -p . && cross-env ONLY_NODE=true rollup -c 2>&1","build:samples":"echo Obsolete.","build:test":"tsc -p . && rollup -c 2>&1","build":"npm run clean && tsc -p . && rollup -c 2>&1 && mkdirp ./review && api-extractor run --local","build:debug":"tsc -p . && rollup -c 2>&1 && api-extractor run --local","check-format":"prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"","clean":"rimraf dist dist-browser dist-esm test-dist temp types *.tgz *.log","execute:samples":"dev-tool samples run samples-dev","extract-api":"rimraf review && mkdirp ./review && api-extractor run --local","format":"prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"","generate:client":"autorest --typescript swagger/README.md && npm run format","integration-test:browser":"karma start --single-run","integration-test:node":"nyc mocha -r esm --require source-map-support/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 5000000 --full-trace \"dist-esm/test/{,!(browser)/**/}*.spec.js\"","integration-test":"npm run integration-test:node && npm run integration-test:browser","lint:fix":"eslint package.json api-extractor.json src test --ext .ts --fix --fix-type [problem,suggestion]","lint":"eslint package.json api-extractor.json src test --ext .ts","pack":"npm pack 2>&1","test:browser":"npm run clean && npm run build:test && npm run unit-test:browser","test:node":"npm run clean && npm run build:test && npm run unit-test:node","test":"npm run clean && npm run build:test && npm run unit-test","unit-test:browser":"echo skipped","unit-test:node":"cross-env TEST_MODE=playback mocha -r esm --require ts-node/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 1200000 --full-trace \"test/{,!(browser)/**/}*.spec.ts\"","unit-test":"npm run unit-test:node && npm run unit-test:browser","docs":"typedoc --excludePrivate --excludeExternals  --out ./dist/docs ./src"},"sideEffects":false,"autoPublish":false,"dependencies":{"@azure-rest/core-client-paging":"1.0.0-beta.1","@azure/core-auth":"^1.3.0","@azure-rest/core-client":">=1.0.0-alpha <1.0.0-alphb","@azure/core-rest-pipeline":"^1.1.0","@azure/logger":"^1.0.0","tslib":"^2.2.0"},"devDependencies":{"@azure/dev-tool":">=1.0.0-alpha <1.0.0-alphb","@azure/eslint-plugin-azure-sdk":">=3.0.0-alpha <3.0.0-alphb","@azure/identity":"^1.1.0","@azure-tools/test-recorder":"^1.0.0","@microsoft/api-extractor":"^7.18.11","@types/chai":"^4.1.6","@types/mocha":"^7.0.2","@types/node":"^12.0.0","chai":"^4.2.0","cross-env":"^7.0.2","dotenv":"^8.2.0","eslint":"^7.15.0","karma-chrome-launcher":"^3.0.0","karma-coverage":"^2.0.0","karma-edge-launcher":"^0.4.2","karma-env-preprocessor":"^0.1.1","karma-firefox-launcher":"^1.1.0","karma-ie-launcher":"^1.0.0","karma-json-preprocessor":"^0.3.3","karma-json-to-file-reporter":"^1.0.1","karma-junit-reporter":"^2.0.1","karma-mocha-reporter":"^2.2.5","karma-mocha":"^2.0.1","karma-source-map-support":"~1.4.0","karma-sourcemap-loader":"^0.3.8","karma":"^6.2.0","mkdirp":"^1.0.4","mocha-junit-reporter":"^1.18.0","mocha":"^7.1.1","nyc":"^14.0.0","prettier":"2.2.1","rimraf":"^3.0.0","rollup":"^1.16.3","source-map-support":"^0.5.9","typedoc":"0.15.2","typescript":"~4.2.0"},"_resolved":"","_integrity":"","_from":"file:/mnt/vss/_work/1/packages/azure-rest-purview-account/azure-rest-purview-account-1.0.0-alpha.20211101.3.tgz","readme":"# Azure Purview Account REST client library for JavaScript\n\nAzure Purview Account is a fully managed cloud service whose users can discover the data sources they need and understand the data sources they find. At the same time, Data Account helps organizations get more value from their existing investments.\n\n- Search for data using technical or business terms\n- Browse associated technical, business, semantic, and operational metadata\n- Identify the sensitivity level of data.\n\n**Please rely heavily on the [service's documentation][account_product_documentation] and our [REST client docs][rest_client] to use this library**\n\nKey links:\n- [Source code][source_code]\n- [Package (NPM)][account_npm]\n- [API reference documentation][account_ref_docs]\n- [Product documentation][account_product_documentation]\n\n## Getting started\n\n### Currently supported environments\n\n- Node.js version 14.x.x or higher\n\n### Prerequisites\n\n- You must have an [Azure subscription][azure_subscription] and a [Purview][purview_resource] to use this package.\n\n#### Create a Purview Resource\n\nFollow [these][purview_resource] instructions to create your Purview resource\n\n### Install the `@azure-rest/purview-account` package\n\nInstall the Azure Purview Account client library for JavaScript with `npm`:\n\n```bash\nnpm install @azure-rest/purview-account\n```\n\n### Create and authenticate a `PurviewAccount`\n\nTo use an [Azure Active Directory (AAD) token credential][authenticate_with_token],\nprovide an instance of the desired credential type obtained from the\n[@azure/identity][azure_identity_credentials] library.\n\nTo authenticate with AAD, you must first `npm` install [`@azure/identity`][azure_identity_npm] and\n[enable AAD authentication on your Purview resource][enable_aad]\n\nAfter setup, you can choose which type of [credential][azure_identity_credentials] from `@azure/identity` to use.\nAs an example, [DefaultAzureCredential][default_azure_credential]\ncan be used to authenticate the client:\n\nSet the values of the client ID, tenant ID, and client secret of the AAD application as environment variables:\nAZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET\n\nUse the returned token credential to authenticate the client:\n\n```typescript\nimport PurviewAccount from \"@azure-rest/purview-account\";\nimport { DefaultAzureCredential } from \"@azure/identity\";\nconst client = PurviewAccount(\n  \"https://<my-account-name>.purview.azure.com\",\n  new DefaultAzureCredential()\n);\n```\n\n## Key concepts\n\n### REST Client\n\nThis client is one of our REST clients. We highly recommend you read how to use a REST client [here][rest_client].\n\n## Examples\n\nThe following section shows you how to initialize and authenticate your client, then get all of your type-defs.\n\n- [Get A List of Collections](#get-a-list-of-collections \"Get A List of Collections\")\n\n```typescript\nimport PurviewAccount from \"@azure-rest/purview-account\";\nimport { DefaultAzureCredential } from \"@azure/identity\";\nimport dotenv from \"dotenv\";\n\ndotenv.config();\n\nconst endpoint = process.env[\"ENDPOINT\"] || \"\";\n\nasync function main() {\n  console.log(\"== List collections sample ==\");\n  const client = PurviewAccount(endpoint, new DefaultAzureCredential());\n\n  const response = await client.path(\"/collections\").get();\n\n  if (response.status !== \"200\") {\n    console.log(`GET \"/collections\" failed with ${response.status}`);\n  }\n\n  console.log(response.body);\n}\n\nmain().catch(console.error);\n\n```\n\n## Troubleshooting\n\n### Logging\n\nEnabling logging may help uncover useful information about failures. In order to see a log of HTTP requests and responses, set the `AZURE_LOG_LEVEL` environment variable to `info`. Alternatively, logging can be enabled at runtime by calling `setLogLevel` in the `@azure/logger`:\n\n```javascript\nimport { setLogLevel } from \"@azure/logger\";\n\nsetLogLevel(\"info\");\n```\n\nFor more detailed instructions on how to enable logs, you can look at the [@azure/logger package docs](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/logger).\n\n## Next steps\n\n## Contributing\n\nIf you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code.\n\n## Related projects\n\n- [Microsoft Azure SDK for JavaScript](https://github.com/Azure/azure-sdk-for-js)\n\n![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fpurview%2Fpurview-account-rest%2FREADME.png)\n\n[account_product_documentation]: https://azure.microsoft.com/services/purview/\n[rest_client]: https://github.com/Azure/azure-sdk-for-js/blob/main/documentation/rest-clients.md\n[source_code]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/purview/purview-catalog-rest\n[account_npm]: https://www.npmjs.com/org/azure-rest\n[account_ref_docs]: https://azure.github.io/azure-sdk-for-js\n[azure_subscription]: https://azure.microsoft.com/free/\n[purview_resource]: https://docs.microsoft.com/azure/purview/create-catalog-portal\n[authenticate_with_token]: https://docs.microsoft.com/azure/cognitive-services/authentication?tabs=powershell#authenticate-with-an-authentication-token\n[azure_identity_credentials]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#credentials\n[azure_identity_npm]: https://www.npmjs.com/package/@azure/identity\n[enable_aad]: https://docs.microsoft.com/azure/purview/create-catalog-portal#add-a-security-principal-to-a-data-plane-role\n[default_azure_credential]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#defaultazurecredential\n","readmeFilename":"README.md","_id":"@azure-rest/purview-account@1.0.0-alpha.20211101.3","_nodeVersion":"14.18.1","_npmVersion":"6.14.15","dist":{"integrity":"sha512-7dG5N17eoxCKXwOfQJOhABejPQ6EzPPwQ87zBU2zetNvj0zoaJDYo3y0BKPSt++pwwxR0yBw35h442B0gkSoCA==","shasum":"0f788afb542f13491e90a7a4068132b4c6753a6b","tarball":"https://registry.npmjs.org/@azure-rest/purview-account/-/purview-account-1.0.0-alpha.20211101.3.tgz","fileCount":19,"unpackedSize":85865,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCGYDfJtiTJEbSxaz8WaL4Fw2klmTMfnJE8i45fS66TmwIgUOSRqhl7wmqR93yq3JZtUm+L4x75CFtw9MMy8lvbWVo="}]},"_npmUser":{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"},"directories":{},"maintainers":[{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/purview-account_1.0.0-alpha.20211101.3_1635832920673_0.5932984514236581"},"_hasShrinkwrap":false,"deprecated":"Please use @azure-rest/purview-administration"},"1.0.0-alpha.20211103.1":{"name":"@azure-rest/purview-account","sdk-type":"client","author":{"name":"Microsoft Corporation"},"description":"An isomorphic rest level client library for the Azure Purview Account service.","version":"1.0.0-alpha.20211103.1","keywords":["node","azure","cloud","typescript","browser","isomorphic"],"license":"MIT","main":"./dist/index.js","module":"./dist-esm/src/index.js","types":"./types/purview-account-rest.d.ts","homepage":"https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/purview/purview-account-rest/README.md","repository":{"type":"git","url":"git+https://github.com/Azure/azure-sdk-for-js.git"},"bugs":{"url":"https://github.com/Azure/azure-sdk-for-js/issues"},"engines":{"node":">=12.0.0"},"//metadata":{"constantPaths":[{"path":"swagger/README.md","prefix":"package-version"}]},"//sampleConfiguration":{"productName":"Azure Purview Scanning rest","productSlugs":["azure"],"requiredResources":{"Azure Cognitive Services instance":"https://docs.microsoft.com/azure/cognitive-services/cognitive-services-apis-create-account"}},"browser":{"./dist-esm/test/public/utils/env.js":"./dist-esm/test/public/utils/env.browser.js"},"scripts":{"audit":"node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit","build:browser":"tsc -p . && cross-env ONLY_BROWSER=true rollup -c 2>&1","build:node":"tsc -p . && cross-env ONLY_NODE=true rollup -c 2>&1","build:samples":"echo Obsolete.","build:test":"tsc -p . && rollup -c 2>&1","build":"npm run clean && tsc -p . && rollup -c 2>&1 && mkdirp ./review && api-extractor run --local","build:debug":"tsc -p . && rollup -c 2>&1 && api-extractor run --local","check-format":"prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"","clean":"rimraf dist dist-browser dist-esm test-dist temp types *.tgz *.log","execute:samples":"dev-tool samples run samples-dev","extract-api":"rimraf review && mkdirp ./review && api-extractor run --local","format":"prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"","generate:client":"autorest --typescript swagger/README.md && npm run format","integration-test:browser":"karma start --single-run","integration-test:node":"nyc mocha -r esm --require source-map-support/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 5000000 --full-trace \"dist-esm/test/{,!(browser)/**/}*.spec.js\"","integration-test":"npm run integration-test:node && npm run integration-test:browser","lint:fix":"eslint package.json api-extractor.json src test --ext .ts --fix --fix-type [problem,suggestion]","lint":"eslint package.json api-extractor.json src test --ext .ts","pack":"npm pack 2>&1","test:browser":"npm run clean && npm run build:test && npm run unit-test:browser","test:node":"npm run clean && npm run build:test && npm run unit-test:node","test":"npm run clean && npm run build:test && npm run unit-test","unit-test:browser":"echo skipped","unit-test:node":"cross-env TEST_MODE=playback mocha -r esm --require ts-node/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 1200000 --full-trace \"test/{,!(browser)/**/}*.spec.ts\"","unit-test":"npm run unit-test:node && npm run unit-test:browser","docs":"typedoc --excludePrivate --excludeExternals  --out ./dist/docs ./src"},"sideEffects":false,"autoPublish":false,"dependencies":{"@azure-rest/core-client-paging":"1.0.0-beta.1","@azure/core-auth":"^1.3.0","@azure-rest/core-client":"1.0.0-beta.7","@azure/core-rest-pipeline":"^1.1.0","@azure/logger":"^1.0.0","tslib":"^2.2.0"},"devDependencies":{"@azure/dev-tool":">=1.0.0-alpha <1.0.0-alphb","@azure/eslint-plugin-azure-sdk":">=3.0.0-alpha <3.0.0-alphb","@azure/identity":"^1.1.0","@azure-tools/test-recorder":"^1.0.0","@microsoft/api-extractor":"^7.18.11","@types/chai":"^4.1.6","@types/mocha":"^7.0.2","@types/node":"^12.0.0","chai":"^4.2.0","cross-env":"^7.0.2","dotenv":"^8.2.0","eslint":"^7.15.0","karma-chrome-launcher":"^3.0.0","karma-coverage":"^2.0.0","karma-edge-launcher":"^0.4.2","karma-env-preprocessor":"^0.1.1","karma-firefox-launcher":"^1.1.0","karma-ie-launcher":"^1.0.0","karma-json-preprocessor":"^0.3.3","karma-json-to-file-reporter":"^1.0.1","karma-junit-reporter":"^2.0.1","karma-mocha-reporter":"^2.2.5","karma-mocha":"^2.0.1","karma-source-map-support":"~1.4.0","karma-sourcemap-loader":"^0.3.8","karma":"^6.2.0","mkdirp":"^1.0.4","mocha-junit-reporter":"^1.18.0","mocha":"^7.1.1","nyc":"^14.0.0","prettier":"2.2.1","rimraf":"^3.0.0","rollup":"^1.16.3","source-map-support":"^0.5.9","typedoc":"0.15.2","typescript":"~4.2.0"},"_resolved":"","_integrity":"","_from":"file:/mnt/vss/_work/1/packages/azure-rest-purview-account/azure-rest-purview-account-1.0.0-alpha.20211103.1.tgz","readme":"# Azure Purview Account REST client library for JavaScript\n\nAzure Purview Account is a fully managed cloud service whose users can discover the data sources they need and understand the data sources they find. At the same time, Data Account helps organizations get more value from their existing investments.\n\n- Search for data using technical or business terms\n- Browse associated technical, business, semantic, and operational metadata\n- Identify the sensitivity level of data.\n\n**Please rely heavily on the [service's documentation][account_product_documentation] and our [REST client docs][rest_client] to use this library**\n\nKey links:\n- [Source code][source_code]\n- [Package (NPM)][account_npm]\n- [API reference documentation][account_ref_docs]\n- [Product documentation][account_product_documentation]\n\n## Getting started\n\n### Currently supported environments\n\n- Node.js version 14.x.x or higher\n\n### Prerequisites\n\n- You must have an [Azure subscription][azure_subscription] and a [Purview][purview_resource] to use this package.\n\n#### Create a Purview Resource\n\nFollow [these][purview_resource] instructions to create your Purview resource\n\n### Install the `@azure-rest/purview-account` package\n\nInstall the Azure Purview Account client library for JavaScript with `npm`:\n\n```bash\nnpm install @azure-rest/purview-account\n```\n\n### Create and authenticate a `PurviewAccount`\n\nTo use an [Azure Active Directory (AAD) token credential][authenticate_with_token],\nprovide an instance of the desired credential type obtained from the\n[@azure/identity][azure_identity_credentials] library.\n\nTo authenticate with AAD, you must first `npm` install [`@azure/identity`][azure_identity_npm] and\n[enable AAD authentication on your Purview resource][enable_aad]\n\nAfter setup, you can choose which type of [credential][azure_identity_credentials] from `@azure/identity` to use.\nAs an example, [DefaultAzureCredential][default_azure_credential]\ncan be used to authenticate the client:\n\nSet the values of the client ID, tenant ID, and client secret of the AAD application as environment variables:\nAZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET\n\nUse the returned token credential to authenticate the client:\n\n```typescript\nimport PurviewAccount from \"@azure-rest/purview-account\";\nimport { DefaultAzureCredential } from \"@azure/identity\";\nconst client = PurviewAccount(\n  \"https://<my-account-name>.purview.azure.com\",\n  new DefaultAzureCredential()\n);\n```\n\n## Key concepts\n\n### REST Client\n\nThis client is one of our REST clients. We highly recommend you read how to use a REST client [here][rest_client].\n\n## Examples\n\nThe following section shows you how to initialize and authenticate your client, then get all of your type-defs.\n\n- [Get A List of Collections](#get-a-list-of-collections \"Get A List of Collections\")\n\n```typescript\nimport PurviewAccount from \"@azure-rest/purview-account\";\nimport { DefaultAzureCredential } from \"@azure/identity\";\nimport dotenv from \"dotenv\";\n\ndotenv.config();\n\nconst endpoint = process.env[\"ENDPOINT\"] || \"\";\n\nasync function main() {\n  console.log(\"== List collections sample ==\");\n  const client = PurviewAccount(endpoint, new DefaultAzureCredential());\n\n  const response = await client.path(\"/collections\").get();\n\n  if (response.status !== \"200\") {\n    console.log(`GET \"/collections\" failed with ${response.status}`);\n  }\n\n  console.log(response.body);\n}\n\nmain().catch(console.error);\n\n```\n\n## Troubleshooting\n\n### Logging\n\nEnabling logging may help uncover useful information about failures. In order to see a log of HTTP requests and responses, set the `AZURE_LOG_LEVEL` environment variable to `info`. Alternatively, logging can be enabled at runtime by calling `setLogLevel` in the `@azure/logger`:\n\n```javascript\nimport { setLogLevel } from \"@azure/logger\";\n\nsetLogLevel(\"info\");\n```\n\nFor more detailed instructions on how to enable logs, you can look at the [@azure/logger package docs](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/logger).\n\n## Next steps\n\n## Contributing\n\nIf you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code.\n\n## Related projects\n\n- [Microsoft Azure SDK for JavaScript](https://github.com/Azure/azure-sdk-for-js)\n\n![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fpurview%2Fpurview-account-rest%2FREADME.png)\n\n[account_product_documentation]: https://azure.microsoft.com/services/purview/\n[rest_client]: https://github.com/Azure/azure-sdk-for-js/blob/main/documentation/rest-clients.md\n[source_code]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/purview/purview-catalog-rest\n[account_npm]: https://www.npmjs.com/org/azure-rest\n[account_ref_docs]: https://azure.github.io/azure-sdk-for-js\n[azure_subscription]: https://azure.microsoft.com/free/\n[purview_resource]: https://docs.microsoft.com/azure/purview/create-catalog-portal\n[authenticate_with_token]: https://docs.microsoft.com/azure/cognitive-services/authentication?tabs=powershell#authenticate-with-an-authentication-token\n[azure_identity_credentials]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#credentials\n[azure_identity_npm]: https://www.npmjs.com/package/@azure/identity\n[enable_aad]: https://docs.microsoft.com/azure/purview/create-catalog-portal#add-a-security-principal-to-a-data-plane-role\n[default_azure_credential]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#defaultazurecredential\n","readmeFilename":"README.md","_id":"@azure-rest/purview-account@1.0.0-alpha.20211103.1","_nodeVersion":"14.18.1","_npmVersion":"6.14.15","dist":{"integrity":"sha512-1afFmGysRlO4mhZdms7mZWeJ+StoXpG5oRqb4gLEGrD9+owMEcoVYikkUQ4uQ6fJC5HG432LpcBITKReKOaXRw==","shasum":"4736a645ec601a966ff723b54d523ec2bfbd2195","tarball":"https://registry.npmjs.org/@azure-rest/purview-account/-/purview-account-1.0.0-alpha.20211103.1.tgz","fileCount":19,"unpackedSize":85851,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCcWzEIeYqo4aQIX0CLNTT8oUlECtLVcBcN6IXqK3I0UAIhAO07N1W8dZlXdUEWSj2kJwBgaEH84nCMTnenrNcbOcJ0"}]},"_npmUser":{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"},"directories":{},"maintainers":[{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/purview-account_1.0.0-alpha.20211103.1_1636006120494_0.6794691084462583"},"_hasShrinkwrap":false,"deprecated":"Please use @azure-rest/purview-administration"},"1.0.0-alpha.20211104.3":{"name":"@azure-rest/purview-account","sdk-type":"client","author":{"name":"Microsoft Corporation"},"description":"An isomorphic rest level client library for the Azure Purview Account service.","version":"1.0.0-alpha.20211104.3","keywords":["node","azure","cloud","typescript","browser","isomorphic"],"license":"MIT","main":"./dist/index.js","module":"./dist-esm/src/index.js","types":"./types/purview-account-rest.d.ts","homepage":"https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/purview/purview-account-rest/README.md","repository":{"type":"git","url":"git+https://github.com/Azure/azure-sdk-for-js.git"},"bugs":{"url":"https://github.com/Azure/azure-sdk-for-js/issues"},"engines":{"node":">=12.0.0"},"//metadata":{"constantPaths":[{"path":"swagger/README.md","prefix":"package-version"}]},"//sampleConfiguration":{"productName":"Azure Purview Scanning rest","productSlugs":["azure"],"requiredResources":{"Azure Cognitive Services instance":"https://docs.microsoft.com/azure/cognitive-services/cognitive-services-apis-create-account"}},"browser":{"./dist-esm/test/public/utils/env.js":"./dist-esm/test/public/utils/env.browser.js"},"scripts":{"audit":"node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit","build:browser":"tsc -p . && cross-env ONLY_BROWSER=true rollup -c 2>&1","build:node":"tsc -p . && cross-env ONLY_NODE=true rollup -c 2>&1","build:samples":"echo Obsolete.","build:test":"tsc -p . && rollup -c 2>&1","build":"npm run clean && tsc -p . && rollup -c 2>&1 && mkdirp ./review && api-extractor run --local","build:debug":"tsc -p . && rollup -c 2>&1 && api-extractor run --local","check-format":"prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"","clean":"rimraf dist dist-browser dist-esm test-dist temp types *.tgz *.log","execute:samples":"dev-tool samples run samples-dev","extract-api":"rimraf review && mkdirp ./review && api-extractor run --local","format":"prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"","generate:client":"autorest --typescript swagger/README.md && npm run format","integration-test:browser":"karma start --single-run","integration-test:node":"nyc mocha -r esm --require source-map-support/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 5000000 --full-trace \"dist-esm/test/{,!(browser)/**/}*.spec.js\"","integration-test":"npm run integration-test:node && npm run integration-test:browser","lint:fix":"eslint package.json api-extractor.json src test --ext .ts --fix --fix-type [problem,suggestion]","lint":"eslint package.json api-extractor.json src test --ext .ts","pack":"npm pack 2>&1","test:browser":"npm run clean && npm run build:test && npm run unit-test:browser","test:node":"npm run clean && npm run build:test && npm run unit-test:node","test":"npm run clean && npm run build:test && npm run unit-test","unit-test:browser":"echo skipped","unit-test:node":"cross-env mocha -r esm --require ts-node/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 1200000 --full-trace \"test/{,!(browser)/**/}*.spec.ts\"","unit-test":"npm run unit-test:node && npm run unit-test:browser","docs":"typedoc --excludePrivate --excludeExternals  --out ./dist/docs ./src"},"sideEffects":false,"autoPublish":false,"dependencies":{"@azure-rest/core-client-paging":"1.0.0-beta.1","@azure/core-auth":"^1.3.0","@azure-rest/core-client":"1.0.0-beta.7","@azure/core-rest-pipeline":"^1.1.0","@azure/logger":"^1.0.0","tslib":"^2.2.0"},"devDependencies":{"@azure/dev-tool":">=1.0.0-alpha <1.0.0-alphb","@azure/eslint-plugin-azure-sdk":">=3.0.0-alpha <3.0.0-alphb","@azure/identity":"^2.0.1","@azure-tools/test-recorder":"^1.0.0","@microsoft/api-extractor":"^7.18.11","@types/chai":"^4.1.6","@types/mocha":"^7.0.2","@types/node":"^12.0.0","chai":"^4.2.0","cross-env":"^7.0.2","dotenv":"^8.2.0","eslint":"^7.15.0","karma-chrome-launcher":"^3.0.0","karma-coverage":"^2.0.0","karma-edge-launcher":"^0.4.2","karma-env-preprocessor":"^0.1.1","karma-firefox-launcher":"^1.1.0","karma-ie-launcher":"^1.0.0","karma-json-preprocessor":"^0.3.3","karma-json-to-file-reporter":"^1.0.1","karma-junit-reporter":"^2.0.1","karma-mocha-reporter":"^2.2.5","karma-mocha":"^2.0.1","karma-source-map-support":"~1.4.0","karma-sourcemap-loader":"^0.3.8","karma":"^6.2.0","mkdirp":"^1.0.4","mocha-junit-reporter":"^1.18.0","mocha":"^7.1.1","nyc":"^14.0.0","prettier":"2.2.1","rimraf":"^3.0.0","rollup":"^1.16.3","source-map-support":"^0.5.9","typedoc":"0.15.2","typescript":"~4.2.0"},"_resolved":"","_integrity":"","_from":"file:/mnt/vss/_work/1/packages/azure-rest-purview-account/azure-rest-purview-account-1.0.0-alpha.20211104.3.tgz","readme":"# Azure Purview Account REST client library for JavaScript\n\nAzure Purview Account is a fully managed cloud service whose users can discover the data sources they need and understand the data sources they find. At the same time, Data Account helps organizations get more value from their existing investments.\n\n- Search for data using technical or business terms\n- Browse associated technical, business, semantic, and operational metadata\n- Identify the sensitivity level of data.\n\n**Please rely heavily on the [service's documentation][account_product_documentation] and our [REST client docs][rest_client] to use this library**\n\nKey links:\n- [Source code][source_code]\n- [Package (NPM)][account_npm]\n- [API reference documentation][account_ref_docs]\n- [Product documentation][account_product_documentation]\n\n## Getting started\n\n### Currently supported environments\n\n- Node.js version 14.x.x or higher\n\n### Prerequisites\n\n- You must have an [Azure subscription][azure_subscription] and a [Purview][purview_resource] to use this package.\n\n#### Create a Purview Resource\n\nFollow [these][purview_resource] instructions to create your Purview resource\n\n### Install the `@azure-rest/purview-account` package\n\nInstall the Azure Purview Account client library for JavaScript with `npm`:\n\n```bash\nnpm install @azure-rest/purview-account\n```\n\n### Create and authenticate a `PurviewAccount`\n\nTo use an [Azure Active Directory (AAD) token credential][authenticate_with_token],\nprovide an instance of the desired credential type obtained from the\n[@azure/identity][azure_identity_credentials] library.\n\nTo authenticate with AAD, you must first `npm` install [`@azure/identity`][azure_identity_npm] and\n[enable AAD authentication on your Purview resource][enable_aad]\n\nAfter setup, you can choose which type of [credential][azure_identity_credentials] from `@azure/identity` to use.\nAs an example, [DefaultAzureCredential][default_azure_credential]\ncan be used to authenticate the client:\n\nSet the values of the client ID, tenant ID, and client secret of the AAD application as environment variables:\nAZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET\n\nUse the returned token credential to authenticate the client:\n\n```typescript\nimport PurviewAccount from \"@azure-rest/purview-account\";\nimport { DefaultAzureCredential } from \"@azure/identity\";\nconst client = PurviewAccount(\n  \"https://<my-account-name>.purview.azure.com\",\n  new DefaultAzureCredential()\n);\n```\n\n## Key concepts\n\n### REST Client\n\nThis client is one of our REST clients. We highly recommend you read how to use a REST client [here][rest_client].\n\n## Examples\n\nThe following section shows you how to initialize and authenticate your client, then get all of your type-defs.\n\n- [Get A List of Collections](#get-a-list-of-collections \"Get A List of Collections\")\n\n```typescript\nimport PurviewAccount from \"@azure-rest/purview-account\";\nimport { DefaultAzureCredential } from \"@azure/identity\";\nimport dotenv from \"dotenv\";\n\ndotenv.config();\n\nconst endpoint = process.env[\"ENDPOINT\"] || \"\";\n\nasync function main() {\n  console.log(\"== List collections sample ==\");\n  const client = PurviewAccount(endpoint, new DefaultAzureCredential());\n\n  const response = await client.path(\"/collections\").get();\n\n  if (response.status !== \"200\") {\n    console.log(`GET \"/collections\" failed with ${response.status}`);\n  }\n\n  console.log(response.body);\n}\n\nmain().catch(console.error);\n\n```\n\n## Troubleshooting\n\n### Logging\n\nEnabling logging may help uncover useful information about failures. In order to see a log of HTTP requests and responses, set the `AZURE_LOG_LEVEL` environment variable to `info`. Alternatively, logging can be enabled at runtime by calling `setLogLevel` in the `@azure/logger`:\n\n```javascript\nimport { setLogLevel } from \"@azure/logger\";\n\nsetLogLevel(\"info\");\n```\n\nFor more detailed instructions on how to enable logs, you can look at the [@azure/logger package docs](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/logger).\n\n## Next steps\n\n## Contributing\n\nIf you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code.\n\n## Related projects\n\n- [Microsoft Azure SDK for JavaScript](https://github.com/Azure/azure-sdk-for-js)\n\n![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fpurview%2Fpurview-account-rest%2FREADME.png)\n\n[account_product_documentation]: https://azure.microsoft.com/services/purview/\n[rest_client]: https://github.com/Azure/azure-sdk-for-js/blob/main/documentation/rest-clients.md\n[source_code]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/purview/purview-catalog-rest\n[account_npm]: https://www.npmjs.com/org/azure-rest\n[account_ref_docs]: https://azure.github.io/azure-sdk-for-js\n[azure_subscription]: https://azure.microsoft.com/free/\n[purview_resource]: https://docs.microsoft.com/azure/purview/create-catalog-portal\n[authenticate_with_token]: https://docs.microsoft.com/azure/cognitive-services/authentication?tabs=powershell#authenticate-with-an-authentication-token\n[azure_identity_credentials]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#credentials\n[azure_identity_npm]: https://www.npmjs.com/package/@azure/identity\n[enable_aad]: https://docs.microsoft.com/azure/purview/create-catalog-portal#add-a-security-principal-to-a-data-plane-role\n[default_azure_credential]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#defaultazurecredential\n","readmeFilename":"README.md","_id":"@azure-rest/purview-account@1.0.0-alpha.20211104.3","_nodeVersion":"14.18.1","_npmVersion":"6.14.15","dist":{"integrity":"sha512-Q+xpFsRhbB4H/BpksUvA3ioUugLFVPAcdhGbH9ohnyRWT4CSewgcfvhOgvAZ015Sd58Huu4I8KqnZ5sdSaR+3g==","shasum":"52cc3a9da01da264f092395bab6c343f342e359a","tarball":"https://registry.npmjs.org/@azure-rest/purview-account/-/purview-account-1.0.0-alpha.20211104.3.tgz","fileCount":19,"unpackedSize":85832,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDbdTwFVVjJcGYxBkFwgnB3xGsLOOmsTyha8aWxkBQlVwIgBnMAIo4I6Eqb1JInIZY6Z2AxYFutYItZ1GiWQKruMt8="}]},"_npmUser":{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"},"directories":{},"maintainers":[{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/purview-account_1.0.0-alpha.20211104.3_1636092342924_0.6561868308234928"},"_hasShrinkwrap":false,"deprecated":"Please use @azure-rest/purview-administration"},"1.0.0-alpha.20211213.3":{"name":"@azure-rest/purview-account","sdk-type":"client","author":"Microsoft Corporation","description":"An isomorphic rest level client library for the Azure Purview Account service.","version":"1.0.0-alpha.20211213.3","keywords":["node","azure","cloud","typescript","browser","isomorphic"],"license":"MIT","main":"./dist/index.js","module":"./dist-esm/src/index.js","types":"./types/purview-account-rest.d.ts","homepage":"https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/purview/purview-account-rest/README.md","repository":"github:Azure/azure-sdk-for-js","bugs":{"url":"https://github.com/Azure/azure-sdk-for-js/issues"},"engines":{"node":">=12.0.0"},"//metadata":{"constantPaths":[{"path":"swagger/README.md","prefix":"package-version"}]},"//sampleConfiguration":{"productName":"Azure Purview Scanning rest","productSlugs":["azure"],"requiredResources":{"Azure Cognitive Services instance":"https://docs.microsoft.com/azure/cognitive-services/cognitive-services-apis-create-account"}},"browser":{"./dist-esm/test/public/utils/env.js":"./dist-esm/test/public/utils/env.browser.js"},"scripts":{"audit":"node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit","build:browser":"tsc -p . && cross-env ONLY_BROWSER=true rollup -c 2>&1","build:node":"tsc -p . && cross-env ONLY_NODE=true rollup -c 2>&1","build:samples":"echo Obsolete.","build:test":"tsc -p . && rollup -c 2>&1","build":"npm run clean && tsc -p . && rollup -c 2>&1 && mkdirp ./review && api-extractor run --local","build:debug":"tsc -p . && rollup -c 2>&1 && api-extractor run --local","check-format":"prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"","clean":"rimraf dist dist-browser dist-esm test-dist temp types *.tgz *.log","execute:samples":"dev-tool samples run samples-dev","extract-api":"rimraf review && mkdirp ./review && api-extractor run --local","format":"prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"","generate:client":"autorest --typescript swagger/README.md && npm run format","integration-test:browser":"karma start --single-run","integration-test:node":"nyc mocha -r esm --require source-map-support/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 5000000 --full-trace \"dist-esm/test/{,!(browser)/**/}*.spec.js\"","integration-test":"npm run integration-test:node && npm run integration-test:browser","lint:fix":"eslint package.json api-extractor.json src test --ext .ts --fix --fix-type [problem,suggestion]","lint":"eslint package.json api-extractor.json src test --ext .ts","pack":"npm pack 2>&1","test:browser":"npm run clean && npm run build:test && npm run unit-test:browser","test:node":"npm run clean && npm run build:test && npm run unit-test:node","test":"npm run clean && npm run build:test && npm run unit-test","unit-test:browser":"echo skipped","unit-test:node":"cross-env mocha -r esm --require ts-node/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 1200000 --full-trace \"test/{,!(browser)/**/}*.spec.ts\"","unit-test":"npm run unit-test:node && npm run unit-test:browser"},"sideEffects":false,"autoPublish":false,"dependencies":{"@azure-rest/core-client-paging":"1.0.0-beta.1","@azure/core-auth":"^1.3.0","@azure-rest/core-client":"1.0.0-beta.7","@azure/core-rest-pipeline":"^1.1.0","@azure/logger":"^1.0.0","tslib":"^2.2.0"},"devDependencies":{"@azure/dev-tool":">=1.0.0-alpha <1.0.0-alphb","@azure/eslint-plugin-azure-sdk":">=3.0.0-alpha <3.0.0-alphb","@azure/identity":"^2.0.1","@azure-tools/test-recorder":"^1.0.0","@microsoft/api-extractor":"^7.18.11","@types/chai":"^4.1.6","@types/mocha":"^7.0.2","@types/node":"^12.0.0","chai":"^4.2.0","cross-env":"^7.0.2","dotenv":"^8.2.0","eslint":"^7.15.0","karma-chrome-launcher":"^3.0.0","karma-coverage":"^2.0.0","karma-edge-launcher":"^0.4.2","karma-env-preprocessor":"^0.1.1","karma-firefox-launcher":"^1.1.0","karma-ie-launcher":"^1.0.0","karma-json-preprocessor":"^0.3.3","karma-json-to-file-reporter":"^1.0.1","karma-junit-reporter":"^2.0.1","karma-mocha-reporter":"^2.2.5","karma-mocha":"^2.0.1","karma-source-map-support":"~1.4.0","karma-sourcemap-loader":"^0.3.8","karma":"^6.2.0","mkdirp":"^1.0.4","mocha-junit-reporter":"^1.18.0","mocha":"^7.1.1","nyc":"^15.0.0","prettier":"2.2.1","rimraf":"^3.0.0","rollup":"^1.16.3","source-map-support":"^0.5.9","typescript":"~4.2.0"},"_id":"@azure-rest/purview-account@1.0.0-alpha.20211213.3","_integrity":"sha512-AXFXdNM3Mv7oMclB6NoRRp+cePwxhAMnMLV4HI/1OHKT79PyJq0untOmvynMhng7xhTmktD6AjKzfBbJPiEUUg==","_resolved":"/mnt/vss/_work/1/packages/azure-rest-purview-account/azure-rest-purview-account-1.0.0-alpha.20211213.3.tgz","_from":"file:/mnt/vss/_work/1/packages/azure-rest-purview-account/azure-rest-purview-account-1.0.0-alpha.20211213.3.tgz","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-AXFXdNM3Mv7oMclB6NoRRp+cePwxhAMnMLV4HI/1OHKT79PyJq0untOmvynMhng7xhTmktD6AjKzfBbJPiEUUg==","shasum":"47cc48041fbb0f367bd3a26a4bec40c7a522bd13","tarball":"https://registry.npmjs.org/@azure-rest/purview-account/-/purview-account-1.0.0-alpha.20211213.3.tgz","fileCount":19,"unpackedSize":85723,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhuEFsCRA9TVsSAnZWagAA0CwP/3jsnwHvUCg4jPmsmdhG\n0lc/AQEbh4BjGQ0iuIUm8GB0wla52QsrVCDaI+2MduLRH0wwIch6k3s8Jzjq\ngnEMt3g+z/AJimfEKvMWTj6cZ5yAi7HsugEUIxLum2HAalEvyWvhZOkQ2/BE\nrHe7ElGyVTWXXWQbgLrbPoCOasLTQU9pY11M3dLIlrdThFL329NldjMbEtF6\nj0cJ16uzRJGh3gLfdcP2MwvaKXhKG8BTY9mHphyvXb8v/HzFIDTyKOT4Ejr5\nhERFv+FvSalzBgpR5CqZNXyktMN2jFxYTL2XysIY/t76OZNDPDNpPM5xzuYF\nKwEp3KUb4qBYhwSu1G6Mwc6ul4zioT3meAt48/P4usSUe6q1z3BDybTUS2zN\nwZTkW4Ab/0+6ZNbHHkjGZCcGc+FFq09DBCBOXuOyrJYEtmj+h7ffIlWkoNXi\nPFkdphqNNYYfjV28gXaozkGKBvl3ferfkVx0ZvKhEcmUwnql9vIaQfUUwew2\nB5QZGWT9YlyWYIv6QfQ7kjvUUiD9amJx46DWwDNb22LcYXsNMKRvxURFMyHL\nYjuE7yf7uQY4xcEGUGHkxSqOIlQNuGXSFw9gtvQdUHHlYucGEvc4YK22GF6G\nItim/w7fpXdWWJsvjsh1dKB6FkhHRS+Wqr8tPiaqdjToQv/Svf+C0x8EamGA\nl3KP\r\n=+oUO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDB5Uc2B75z+ukbbAm9masSkrGpy/AucCIMJo+ztaZTRwIhALkgA+ggn9+CvhCKhBoFRGwnMKB0SNHxhXenSVQYdMRs"}]},"_npmUser":{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"},"directories":{},"maintainers":[{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/purview-account_1.0.0-alpha.20211213.3_1639465324119_0.8231062466520738"},"_hasShrinkwrap":false,"deprecated":"Please use @azure-rest/purview-administration"},"1.0.0-alpha.20211214.4":{"name":"@azure-rest/purview-account","sdk-type":"client","author":"Microsoft Corporation","description":"An isomorphic rest level client library for the Azure Purview Account service.","version":"1.0.0-alpha.20211214.4","keywords":["node","azure","cloud","typescript","browser","isomorphic"],"license":"MIT","main":"./dist/index.js","module":"./dist-esm/src/index.js","types":"./types/purview-account-rest.d.ts","homepage":"https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/purview/purview-account-rest/README.md","repository":"github:Azure/azure-sdk-for-js","bugs":{"url":"https://github.com/Azure/azure-sdk-for-js/issues"},"engines":{"node":">=12.0.0"},"//metadata":{"constantPaths":[{"path":"swagger/README.md","prefix":"package-version"}]},"//sampleConfiguration":{"productName":"Azure Purview Scanning rest","productSlugs":["azure"],"requiredResources":{"Azure Cognitive Services instance":"https://docs.microsoft.com/azure/cognitive-services/cognitive-services-apis-create-account"}},"browser":{"./dist-esm/test/public/utils/env.js":"./dist-esm/test/public/utils/env.browser.js"},"scripts":{"audit":"node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit","build:browser":"tsc -p . && cross-env ONLY_BROWSER=true rollup -c 2>&1","build:node":"tsc -p . && cross-env ONLY_NODE=true rollup -c 2>&1","build:samples":"echo Obsolete.","build:test":"tsc -p . && rollup -c 2>&1","build":"npm run clean && tsc -p . && rollup -c 2>&1 && mkdirp ./review && api-extractor run --local","build:debug":"tsc -p . && rollup -c 2>&1 && api-extractor run --local","check-format":"prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"","clean":"rimraf dist dist-browser dist-esm test-dist temp types *.tgz *.log","execute:samples":"dev-tool samples run samples-dev","extract-api":"rimraf review && mkdirp ./review && api-extractor run --local","format":"prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"","generate:client":"autorest --typescript swagger/README.md && npm run format","integration-test:browser":"karma start --single-run","integration-test:node":"nyc mocha -r esm --require source-map-support/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 5000000 --full-trace \"dist-esm/test/{,!(browser)/**/}*.spec.js\"","integration-test":"npm run integration-test:node && npm run integration-test:browser","lint:fix":"eslint package.json api-extractor.json src test --ext .ts --fix --fix-type [problem,suggestion]","lint":"eslint package.json api-extractor.json src test --ext .ts","pack":"npm pack 2>&1","test:browser":"npm run clean && npm run build:test && npm run unit-test:browser","test:node":"npm run clean && npm run build:test && npm run unit-test:node","test":"npm run clean && npm run build:test && npm run unit-test","unit-test:browser":"echo skipped","unit-test:node":"cross-env mocha -r esm --require ts-node/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 1200000 --full-trace \"test/{,!(browser)/**/}*.spec.ts\"","unit-test":"npm run unit-test:node && npm run unit-test:browser"},"sideEffects":false,"autoPublish":false,"dependencies":{"@azure-rest/core-client-paging":"1.0.0-beta.1","@azure/core-auth":"^1.3.0","@azure-rest/core-client":"1.0.0-beta.7","@azure/core-rest-pipeline":"^1.1.0","@azure/logger":"^1.0.0","tslib":"^2.2.0"},"devDependencies":{"@azure/dev-tool":">=1.0.0-alpha <1.0.0-alphb","@azure/eslint-plugin-azure-sdk":">=3.0.0-alpha <3.0.0-alphb","@azure/identity":"^2.0.1","@azure-tools/test-recorder":"^1.0.0","@microsoft/api-extractor":"^7.18.11","@types/chai":"^4.1.6","@types/mocha":"^7.0.2","@types/node":"^12.0.0","chai":"^4.2.0","cross-env":"^7.0.2","dotenv":"^8.2.0","eslint":"^7.15.0","karma-chrome-launcher":"^3.0.0","karma-coverage":"^2.0.0","karma-edge-launcher":"^0.4.2","karma-env-preprocessor":"^0.1.1","karma-firefox-launcher":"^1.1.0","karma-ie-launcher":"^1.0.0","karma-json-preprocessor":"^0.3.3","karma-json-to-file-reporter":"^1.0.1","karma-junit-reporter":"^2.0.1","karma-mocha-reporter":"^2.2.5","karma-mocha":"^2.0.1","karma-source-map-support":"~1.4.0","karma-sourcemap-loader":"^0.3.8","karma":"^6.2.0","mkdirp":"^1.0.4","mocha-junit-reporter":"^2.0.0","mocha":"^7.1.1","nyc":"^15.0.0","prettier":"2.2.1","rimraf":"^3.0.0","rollup":"^1.16.3","source-map-support":"^0.5.9","typescript":"~4.2.0"},"_id":"@azure-rest/purview-account@1.0.0-alpha.20211214.4","_integrity":"sha512-24INHk+Xv42FC0fac6RilkK3afdEppWRqF2x3S+9WX/RMLUg6+ZbyPYQ2ljsrfifDLqfW1AznwHT4aekuKmGrg==","_resolved":"/mnt/vss/_work/1/packages/azure-rest-purview-account/azure-rest-purview-account-1.0.0-alpha.20211214.4.tgz","_from":"file:/mnt/vss/_work/1/packages/azure-rest-purview-account/azure-rest-purview-account-1.0.0-alpha.20211214.4.tgz","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-24INHk+Xv42FC0fac6RilkK3afdEppWRqF2x3S+9WX/RMLUg6+ZbyPYQ2ljsrfifDLqfW1AznwHT4aekuKmGrg==","shasum":"8d9bed714711ba796a4330a8907ebf69f6f038fb","tarball":"https://registry.npmjs.org/@azure-rest/purview-account/-/purview-account-1.0.0-alpha.20211214.4.tgz","fileCount":19,"unpackedSize":85722,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhuZIDCRA9TVsSAnZWagAAxRgP/R6OcKyl/eHYiHPjiMy2\nbDrHbmhfu2tKh8a4VDQzdVFsxUrSLTTiOfj1yM6azbvxsF26wxZsaine/43U\nrhwfjO04YhV01Nc1EvYV9tF1j/KGiOFvVNCaoh8fZEud37n8GDFqyMzmVkSh\n7xSKRV52jkJDG7g8aACBwXyaoulOnGWeBU2rbx9PWIdEVscOWzQXxmKR5wqS\nMh4NoYakOOsNfnvyRoqWXkaksA0JPdijL/cbCtELEwPgo+VbhWakffTMiqZ3\nXxUPPXQ8cZhtSjaE8Voiqxip7zefgp8xXZ/FiC/6f/5bBigP+r9YrPpA6K2Q\nMPeSAwR3Nee/lpF7rBDThTHIeVKa5UWO1PJ7513mRQf4TcnlcKCwSBZZIsAN\niAS45J2rOLm7g02pJX60hizhXyWDMYhziXvop/nRWU3F0mFwPDIVXETBrc7y\n03TYREezfxBhXmw7rstzfl7jMkznoogALbhxM6MBmE+r6c/bSDGrzBOhG3Lv\nRrdv8LIwypS1a5FpKwIV1E/LgNBMBEsQbNyo12iFvKI/U6up88T5wb9WPC5M\nPMX+eVw3vdxibrpPHemq8Rr3fFaHv5Qmc42n+cF4SVNKj4HGULYZkpEsX80B\nfR6zx4teYVzMhrER/EKELKFjnAONNLfc0FWuK+bQhvK6VTbwmq0lI9hOinRs\nFVmd\r\n=OgIf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDkydddZRj1sBCLUgR3KITRCzCukLnChcOShRYf5UJyUwIgFJQsVvE+EQZbOn7aLogKbwtpmh/WHAU2dr4uxIIY99M="}]},"_npmUser":{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"},"directories":{},"maintainers":[{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/purview-account_1.0.0-alpha.20211214.4_1639551491215_0.7972161541828806"},"_hasShrinkwrap":false,"deprecated":"Please use @azure-rest/purview-administration"},"1.0.0-alpha.20220103.3":{"name":"@azure-rest/purview-account","sdk-type":"client","author":"Microsoft Corporation","description":"An isomorphic rest level client library for the Azure Purview Account service.","version":"1.0.0-alpha.20220103.3","keywords":["node","azure","cloud","typescript","browser","isomorphic"],"license":"MIT","main":"./dist/index.js","module":"./dist-esm/src/index.js","types":"./types/purview-account-rest.d.ts","homepage":"https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/purview/purview-account-rest/README.md","repository":"github:Azure/azure-sdk-for-js","bugs":{"url":"https://github.com/Azure/azure-sdk-for-js/issues"},"engines":{"node":">=12.0.0"},"//metadata":{"constantPaths":[{"path":"swagger/README.md","prefix":"package-version"}]},"//sampleConfiguration":{"productName":"Azure Purview Scanning rest","productSlugs":["azure"],"requiredResources":{"Azure Cognitive Services instance":"https://docs.microsoft.com/azure/cognitive-services/cognitive-services-apis-create-account"}},"browser":{"./dist-esm/test/public/utils/env.js":"./dist-esm/test/public/utils/env.browser.js"},"scripts":{"audit":"node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit","build:browser":"tsc -p . && cross-env ONLY_BROWSER=true rollup -c 2>&1","build:node":"tsc -p . && cross-env ONLY_NODE=true rollup -c 2>&1","build:samples":"echo Obsolete.","build:test":"tsc -p . && rollup -c 2>&1","build":"npm run clean && tsc -p . && rollup -c 2>&1 && mkdirp ./review && api-extractor run --local","build:debug":"tsc -p . && rollup -c 2>&1 && api-extractor run --local","check-format":"prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"","clean":"rimraf dist dist-browser dist-esm test-dist temp types *.tgz *.log","execute:samples":"dev-tool samples run samples-dev","extract-api":"rimraf review && mkdirp ./review && api-extractor run --local","format":"prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"","generate:client":"autorest --typescript swagger/README.md && npm run format","integration-test:browser":"karma start --single-run","integration-test:node":"nyc mocha -r esm --require source-map-support/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 5000000 --full-trace \"dist-esm/test/{,!(browser)/**/}*.spec.js\"","integration-test":"npm run integration-test:node && npm run integration-test:browser","lint:fix":"eslint package.json api-extractor.json src test --ext .ts --fix --fix-type [problem,suggestion]","lint":"eslint package.json api-extractor.json src test --ext .ts","pack":"npm pack 2>&1","test:browser":"npm run clean && npm run build:test && npm run unit-test:browser","test:node":"npm run clean && npm run build:test && npm run unit-test:node","test":"npm run clean && npm run build:test && npm run unit-test","unit-test:browser":"echo skipped","unit-test:node":"cross-env mocha -r esm --require ts-node/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 1200000 --full-trace \"test/{,!(browser)/**/}*.spec.ts\"","unit-test":"npm run unit-test:node && npm run unit-test:browser"},"sideEffects":false,"autoPublish":false,"dependencies":{"@azure-rest/core-client-paging":"1.0.0-beta.1","@azure/core-auth":"^1.3.0","@azure-rest/core-client":"1.0.0-beta.7","@azure/core-rest-pipeline":"^1.1.0","@azure/logger":"^1.0.0","tslib":"^2.2.0"},"devDependencies":{"@azure/dev-tool":">=1.0.0-alpha <1.0.0-alphb","@azure/eslint-plugin-azure-sdk":">=3.0.0-alpha <3.0.0-alphb","@azure/identity":"^2.0.1","@azure-tools/test-recorder":"^1.0.0","@microsoft/api-extractor":"^7.18.11","@types/chai":"^4.1.6","@types/mocha":"^7.0.2","@types/node":"^12.0.0","chai":"^4.2.0","cross-env":"^7.0.2","dotenv":"^8.2.0","eslint":"^7.15.0","karma-chrome-launcher":"^3.0.0","karma-coverage":"^2.0.0","karma-edge-launcher":"^0.4.2","karma-env-preprocessor":"^0.1.1","karma-firefox-launcher":"^1.1.0","karma-ie-launcher":"^1.0.0","karma-json-preprocessor":"^0.3.3","karma-json-to-file-reporter":"^1.0.1","karma-junit-reporter":"^2.0.1","karma-mocha-reporter":"^2.2.5","karma-mocha":"^2.0.1","karma-source-map-support":"~1.4.0","karma-sourcemap-loader":"^0.3.8","karma":"^6.2.0","mkdirp":"^1.0.4","mocha-junit-reporter":"^2.0.0","mocha":"^7.1.1","nyc":"^15.0.0","prettier":"2.5.1","rimraf":"^3.0.0","rollup":"^1.16.3","source-map-support":"^0.5.9","typescript":"~4.2.0"},"_id":"@azure-rest/purview-account@1.0.0-alpha.20220103.3","_integrity":"sha512-sUNQCvwSuOOcqbk5Vtkgt1s5rBMJ5g5Okk6PO+eIunvIYb6DMb/El5hIHsfog1w34ccDWMr6i2qdHI2mLaHHlQ==","_resolved":"/mnt/vss/_work/1/packages/azure-rest-purview-account/azure-rest-purview-account-1.0.0-alpha.20220103.3.tgz","_from":"file:/mnt/vss/_work/1/packages/azure-rest-purview-account/azure-rest-purview-account-1.0.0-alpha.20220103.3.tgz","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-sUNQCvwSuOOcqbk5Vtkgt1s5rBMJ5g5Okk6PO+eIunvIYb6DMb/El5hIHsfog1w34ccDWMr6i2qdHI2mLaHHlQ==","shasum":"057062ec266e43ee97cee4c256b92c8abcc3e023","tarball":"https://registry.npmjs.org/@azure-rest/purview-account/-/purview-account-1.0.0-alpha.20220103.3.tgz","fileCount":19,"unpackedSize":85722,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh0/DDCRA9TVsSAnZWagAAOaYP/1zYD7Sr6RJiJl0J4MfQ\nHVsmlxAu+NJ/YUFB5j33mmwFo7q4rjyWNBpgqIRyvSMyN3eA7mXuTTmyND5Y\nWuHQgZiquTMWnX767W0vlTJyyBUyVuNCO/VyZIBamFjXRyIYLa9CEs1lP1sP\nEr5/rQrwvXWt41VTaTdtIJvrZ1NiBCLG6qCRSkOfLqMVU44PHb8a3UF8zmjB\npdb8Jg8zi0hNMe4X+mWWF+Vy/2eC68tGCK549hFKK5q+fBG4oQ/z/B1/INOS\n1tepiOAzRfc5Uh09y7TEjz4C87Z7fSFqOjRLp3RJ3RxEJzqgS35LrNNAnl+6\nGnE7K77kCq7CRaO4IiOOLqnH3pn6NqoOe2gUUcOHItWHbrcYB1kwiRIAY8YU\nobaBQ10zDbD0GPKAJz+cex9fMHqyFYixHtg0nZdMcnOH/UptS3GH8+Hcnv6e\nBQ119INfoCXxo9aiA2pBRKXRrC8cSZ2sJH+Ah5QgMXr4DDCRkzL/Ic6cgO/c\nI70mSsfBzg5QScxaGc3DjdC/5KdHcMLsyTMjIhqTx05Yk8WJ8kQHnHGG+Rg6\nBG3UNzlFB6EaYf5fYjvGUmRNt+rhr+TyHrp3REkN4eooRVNHVCqhqhEGYs6u\nTYiDbl002YVASbAKCGbod8azmhYK5xPnYohNTe89WiOyA/X1rmVmUnppWQup\nSpwL\r\n=uue0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDSR9ub2wHVPvHIkeHEuIAiLMrKgbiLg+l4xH47d7jkPAIgQ+qhhwD1ULeUIurq5agmoowLECRXWu9mb6f1Id+7s7M="}]},"_npmUser":{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"},"directories":{},"maintainers":[{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/purview-account_1.0.0-alpha.20220103.3_1641279682976_0.4871803026333412"},"_hasShrinkwrap":false,"deprecated":"Please use @azure-rest/purview-administration"},"1.0.0-alpha.20220128.2":{"name":"@azure-rest/purview-account","sdk-type":"client","author":"Microsoft Corporation","description":"An isomorphic rest level client library for the Azure Purview Account service.","version":"1.0.0-alpha.20220128.2","keywords":["node","azure","cloud","typescript","browser","isomorphic"],"license":"MIT","main":"./dist/index.js","module":"./dist-esm/src/index.js","types":"./types/purview-account-rest.d.ts","homepage":"https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/purview/purview-account-rest/README.md","repository":"github:Azure/azure-sdk-for-js","bugs":{"url":"https://github.com/Azure/azure-sdk-for-js/issues"},"engines":{"node":">=12.0.0"},"//metadata":{"constantPaths":[{"path":"swagger/README.md","prefix":"package-version"}]},"//sampleConfiguration":{"productName":"Azure Purview Scanning rest","productSlugs":["azure"],"requiredResources":{"Azure Cognitive Services instance":"https://docs.microsoft.com/azure/cognitive-services/cognitive-services-apis-create-account"}},"browser":{"./dist-esm/test/public/utils/env.js":"./dist-esm/test/public/utils/env.browser.js"},"scripts":{"audit":"node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit","build:browser":"tsc -p . && dev-tool run bundle","build:node":"tsc -p . && dev-tool run bundle","build:samples":"echo Obsolete.","build:test":"tsc -p . && dev-tool run bundle","build":"npm run clean && tsc -p . && dev-tool run bundle && mkdirp ./review && api-extractor run --local","build:debug":"tsc -p . && dev-tool run bundle && api-extractor run --local","check-format":"prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"","clean":"rimraf dist dist-browser dist-esm test-dist temp types *.tgz *.log","execute:samples":"dev-tool samples run samples-dev","extract-api":"rimraf review && mkdirp ./review && api-extractor run --local","format":"prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"","generate:client":"autorest --typescript swagger/README.md && npm run format","integration-test:browser":"karma start --single-run","integration-test:node":"nyc mocha -r esm --require source-map-support/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 5000000 --full-trace \"dist-esm/test/{,!(browser)/**/}*.spec.js\"","integration-test":"npm run integration-test:node && npm run integration-test:browser","lint:fix":"eslint package.json api-extractor.json src test --ext .ts --fix --fix-type [problem,suggestion]","lint":"eslint package.json api-extractor.json src test --ext .ts","pack":"npm pack 2>&1","test:browser":"npm run clean && npm run build:test && npm run unit-test:browser","test:node":"npm run clean && npm run build:test && npm run unit-test:node","test":"npm run clean && npm run build:test && npm run unit-test","unit-test:browser":"echo skipped","unit-test:node":"cross-env mocha -r esm --require ts-node/register --reporter ../../../common/tools/mocha-multi-reporter.js --timeout 1200000 --full-trace \"test/{,!(browser)/**/}*.spec.ts\"","unit-test":"npm run unit-test:node && npm run unit-test:browser"},"sideEffects":false,"autoPublish":false,"dependencies":{"@azure-rest/core-client-paging":"1.0.0-beta.1","@azure/core-auth":"^1.3.0","@azure-rest/core-client":"1.0.0-beta.7","@azure/core-rest-pipeline":"^1.1.0","@azure/logger":"^1.0.0","tslib":"^2.2.0"},"devDependencies":{"@azure/dev-tool":">=1.0.0-alpha <1.0.0-alphb","@azure/eslint-plugin-azure-sdk":">=3.0.0-alpha <3.0.0-alphb","@azure/identity":"^2.0.1","@azure-tools/test-recorder":"^1.0.0","@microsoft/api-extractor":"^7.18.11","@types/chai":"^4.1.6","@types/mocha":"^7.0.2","@types/node":"^12.0.0","chai":"^4.2.0","cross-env":"^7.0.2","dotenv":"^8.2.0","eslint":"^7.15.0","karma-chrome-launcher":"^3.0.0","karma-coverage":"^2.0.0","karma-edge-launcher":"^0.4.2","karma-env-preprocessor":"^0.1.1","karma-firefox-launcher":"^1.1.0","karma-ie-launcher":"^1.0.0","karma-json-preprocessor":"^0.3.3","karma-json-to-file-reporter":"^1.0.1","karma-junit-reporter":"^2.0.1","karma-mocha-reporter":"^2.2.5","karma-mocha":"^2.0.1","karma-source-map-support":"~1.4.0","karma-sourcemap-loader":"^0.3.8","karma":"^6.2.0","mkdirp":"^1.0.4","mocha-junit-reporter":"^2.0.0","mocha":"^7.1.1","nyc":"^15.0.0","prettier":"2.5.1","rimraf":"^3.0.0","source-map-support":"^0.5.9","typescript":"~4.2.0"},"_id":"@azure-rest/purview-account@1.0.0-alpha.20220128.2","_integrity":"sha512-RLq143elHWlnNiIfN8o7UpMwgFe+026yYhdRxnu7/VpF5m652Hi3wq/8FgTEFc6GlCXHoWzsjIVmptqvp1u+Ew==","_resolved":"/mnt/vss/_work/1/packages/azure-rest-purview-account/azure-rest-purview-account-1.0.0-alpha.20220128.2.tgz","_from":"file:/mnt/vss/_work/1/packages/azure-rest-purview-account/azure-rest-purview-account-1.0.0-alpha.20220128.2.tgz","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-RLq143elHWlnNiIfN8o7UpMwgFe+026yYhdRxnu7/VpF5m652Hi3wq/8FgTEFc6GlCXHoWzsjIVmptqvp1u+Ew==","shasum":"d76f78be180b20c4eb920b2fbac43c5f15fd3361","tarball":"https://registry.npmjs.org/@azure-rest/purview-account/-/purview-account-1.0.0-alpha.20220128.2.tgz","fileCount":19,"unpackedSize":85650,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh9Od9CRA9TVsSAnZWagAApjgP/jBNMZnI9E+19lwVjRmP\nlQCPbZvQ9k1ZlA+TpN+PR3C8llrCzXr6e66t7Mw9ezIqhW+hZ7gv5fscd+WA\nGd6BtQiA26QYiGhEOhFgKzAC7QZS8WsLqAUQiRQnpXsX9VIegeoPzdlz+6ne\nfpUX2SEPX3vmdslxCo9ciq4WLGP4LadFEJ8ySiB2fjf5gqW5ubmDcka3N5jR\n7yuaOwTx58TDXeub3ZNXQTx3Uk0ear0QxmGn4yDFzdHcS+tBSWUQJfFFyUJa\nRFfFm+WvtrJYjZePYVFlRaIPNUJoWJn792wV+hQrprHYTYC5qa5H1qjWddLR\n0o0Flf9BLEHtOoqF4LBRcBR+ocsKJRdh8seJhEapgSExbDsT6YHeIuT7mj+I\nj5WH4F5esmv5MnClHdjSyH9Nyk+U4RoZ/mDPMxIJ9QhCBZHdNQze18szR2Js\nOO2WiS4Pk4clR+4aMWCRFbC4wKb0S4u2EYWA6GZAykIs07ryQ4G9hnDX9mMt\njJKc/g8VrLiQPzcndmHamDzqkONzYTi5Tu+qkjdf8kxgT/0z7oaJZw28OJdq\nDDvvsGvDdK9MVJFHAWIETutUltjKacK9/ZE7yNg1rZf4lfvsE+WbY0uoEbIx\n6O+XMjdv44J8jQ7pAdoJudak17z/WDKnphjeVFsL/6aAzOoaaYJhfH+VL1+b\ntCWH\r\n=gtgB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCf+RBq559xCjZ/xK2iuW6pTNufYIzTgfKDxSelohWHqQIgEHYA9sopbd1yoCkbhj3duXSJpdXjvowD+RbsTOk3QDc="}]},"_npmUser":{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"},"directories":{},"maintainers":[{"name":"azure-sdk","email":"azure-sdk-npmjs@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/purview-account_1.0.0-alpha.20220128.2_1643439996646_0.11160784881298902"},"_hasShrinkwrap":false,"deprecated":"Please use @azure-rest/purview-administration"}},"time":{"created":"2021-08-24T03:37:17.171Z","1.0.0-beta.1":"2021-08-24T03:37:17.468Z","modified":"2024-04-08T15:56:55.044Z","1.0.0-alpha.20210823.1":"2021-08-24T06:10:22.083Z","1.0.0-alpha.20210826.1":"2021-08-27T06:07:14.479Z","1.0.0-alpha.20210901.2":"2021-09-02T06:06:17.921Z","1.0.0-alpha.20211001.1":"2021-10-02T05:58:46.489Z","1.0.0-alpha.20211101.3":"2021-11-02T06:02:00.811Z","1.0.0-alpha.20211103.1":"2021-11-04T06:08:40.885Z","1.0.0-alpha.20211104.3":"2021-11-05T06:05:43.067Z","1.0.0-alpha.20211213.3":"2021-12-14T07:02:04.259Z","1.0.0-alpha.20211214.4":"2021-12-15T06:58:11.406Z","1.0.0-alpha.20220103.3":"2022-01-04T07:01:23.134Z","1.0.0-alpha.20220128.2":"2022-01-29T07:06:37.061Z"},"maintainers":[{"email":"npmjs@microsoft.com","name":"microsoft1es"},{"email":"azure-sdk-npmjs@microsoft.com","name":"azure-sdk"}],"description":"An isomorphic rest level client library for the Azure Purview Account service.","homepage":"https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/purview/purview-account-rest/README.md","keywords":["node","azure","cloud","typescript","browser","isomorphic"],"repository":{"type":"git","url":"git+https://github.com/Azure/azure-sdk-for-js.git"},"author":{"name":"Microsoft Corporation"},"bugs":{"url":"https://github.com/Azure/azure-sdk-for-js/issues"},"license":"MIT","readme":"","readmeFilename":""}