{"_id":"@azure-rest/ai-personalizer","_rev":"32-e509010d3a18c8c232c734fab9cefa75","name":"@azure-rest/ai-personalizer","dist-tags":{"dev":"1.0.0-alpha.20240322.1","latest":"1.0.0-beta.1","next":"1.0.0-beta.1"},"versions":{"1.0.0-alpha.20220912.5":{"name":"@azure-rest/ai-personalizer","sdk-type":"client","author":{"name":"Microsoft Corporation"},"version":"1.0.0-alpha.20220912.5","description":"A client library for the Azure Personalizer service.","keywords":["node","azure","cloud","typescript","browser","isomorphic","personalizer","reinforcement learning","contextual bandit"],"license":"MIT","main":"dist/index.js","module":"./dist-esm/src/index.js","types":"./types/ai-personalizer.d.ts","homepage":"https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-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"},"//metadata":{"constantPaths":[{"path":"swagger/README.md","prefix":"package-version"}]},"engines":{"node":">=12.0.0"},"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 skipped.","build:test":"tsc -p . && dev-tool run bundle","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":"echo skipped","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":"dev-tool run test:browser","integration-test:node":"dev-tool run test:node-js-input -- --timeout 5000000 'dist-esm/test/**/*.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":"npm run unit-test:node && npm run unit-test:browser","unit-test:node":"dev-tool run test:node-ts-input -- --timeout 1200000 --exclude 'test/**/browser/*.spec.ts' 'test/**/*.spec.ts'","unit-test:browser":"dev-tool run test:browser","build":"npm run clean && tsc -p . && dev-tool run bundle && mkdirp ./review && api-extractor run --local"},"sideEffects":false,"autoPublish":false,"dependencies":{"@azure/core-auth":"^1.3.0","@azure-rest/core-client":">=1.0.0-alpha <1.0.0-alphb","@azure/core-rest-pipeline":"^1.8.0","@azure/logger":"^1.0.0","tslib":"^2.2.0"},"devDependencies":{"@microsoft/api-extractor":"7.18.11","autorest":"latest","@types/node":"^12.0.0","dotenv":"^8.2.0","eslint":"^7.15.0","mkdirp":"^1.0.4","prettier":"2.2.1","rimraf":"^3.0.0","source-map-support":"^0.5.9","typescript":"~4.2.0","@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-tools/test-credential":">=1.0.0-alpha <1.0.0-alphb","@azure/identity":"^2.0.1","@azure-tools/test-recorder":"^2.0.0","mocha":"^7.1.1","mocha-junit-reporter":"^1.18.0","cross-env":"^7.0.2","@types/chai":"^4.2.8","chai":"^4.2.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-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","nyc":"^14.0.0"},"//sampleConfiguration":{"productName":"Azure Personalizer","productSlugs":["azure","azure-cognitive-services","azure-personalizer"],"disableDocsMs":true,"apiRefLink":"https://docs.microsoft.com/azure/cognitive-services/personalizer/"},"_id":"@azure-rest/ai-personalizer@1.0.0-alpha.20220912.5","_integrity":"sha512-9A7Whbl13DWRMn5ph9od0VblzYsYZo4Z7l2paKTmZw5TjSnALo6j0JCM+PS3ZrM2hq2+ZlyrN0FHftLPB+40iA==","_resolved":"/mnt/vss/_work/1/packages/azure-rest-ai-personalizer/azure-rest-ai-personalizer-1.0.0-alpha.20220912.5.tgz","_from":"file:/mnt/vss/_work/1/packages/azure-rest-ai-personalizer/azure-rest-ai-personalizer-1.0.0-alpha.20220912.5.tgz","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-9A7Whbl13DWRMn5ph9od0VblzYsYZo4Z7l2paKTmZw5TjSnALo6j0JCM+PS3ZrM2hq2+ZlyrN0FHftLPB+40iA==","shasum":"20105860f7664d4afdd2b331f30054d5a108b9dd","tarball":"https://registry.npmjs.org/@azure-rest/ai-personalizer/-/ai-personalizer-1.0.0-alpha.20220912.5.tgz","fileCount":22,"unpackedSize":141637,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDc7OcDzz5Dhzllf9+iBkfuR5AzvboaV0fqWsBzOtOlyQIgdU7p6JGa6ugj58ushHgF4WWBTReDE3nswycggFf9PRY="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjIAdLACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmposw//dNWlLBd/jBAfsyDpIJCCGgdUNVwJSNuNVxVSgM5nrpuJWxM6\r\nyRsraVkba0xSROOf2WViVwqbVp3A4hnSPWMmXE4FKbCufUPHPiVDoQthMjPf\r\n+AwyIhYcTkvVUDiG8ShPX34Clys0e8EnNaD+XgMhZ38H7tyQpOsM9nvjSccH\r\nX70oEmZUvNARwhqUwwQIOd5cc+W+TTg3h9kVjo8YkVQn1/PQKPmnut4XlBit\r\nGNTCe7907em+1vdzBpc5mWQwAceIN9AYad0PE5yXB4FkthBpVgRXmSLYzRMC\r\npRQJPNhVxG49fM57bHHtmU3uZwfdLy6lUQ5kg7LDMjrErlVAdsY8UA9PRNIw\r\njzunQwRLaE2A6euv1sFU7KqLYTog+oqyO/Kt58kgYaj4kKe7KdmXsv98iiDg\r\n9ExhyDc+jx0QCQpNuDJoMEaRqoSrsfTefQ1f1KtQtGJPbqxPMZrAwIHZLpNz\r\nxHi2u3Rt5AiE/5Ga+trs5UDu5KcL9l8aCl+wYwldSiSMuALrliQg/IPzn5D7\r\nRxEUIYkCI9uzLnVeUrrq6N4oIhqa98mI89/GR8yjJKhqjhNGR0BDxQn5Gcg6\r\ngMhbg2lDZl2NzSOB8IyVQe83GlWBloZMYJskk4tbikYMhoXWaZCfx8P40ERF\r\n6bs24PmymUk5KWaOm4yVOiGQmq7IfjDK8+M=\r\n=87vf\r\n-----END PGP SIGNATURE-----\r\n"},"_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/ai-personalizer_1.0.0-alpha.20220912.5_1663043403324_0.8101856633647373"},"_hasShrinkwrap":false,"deprecated":"Service has been deprecated; see https://learn.microsoft.com/en-us/azure/ai-services/personalizer/frequently-asked-questions"},"1.0.0-beta.1":{"name":"@azure-rest/ai-personalizer","sdk-type":"client","author":{"name":"Microsoft Corporation"},"version":"1.0.0-beta.1","description":"A client library for the Azure Personalizer service.","keywords":["node","azure","cloud","typescript","browser","isomorphic","personalizer","reinforcement learning","contextual bandit"],"license":"MIT","main":"dist/index.js","module":"./dist-esm/src/index.js","types":"./types/ai-personalizer.d.ts","homepage":"https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-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"},"//metadata":{"constantPaths":[{"path":"swagger/README.md","prefix":"package-version"}]},"engines":{"node":">=12.0.0"},"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 skipped.","build:test":"tsc -p . && dev-tool run bundle","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":"echo skipped","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":"dev-tool run test:browser","integration-test:node":"dev-tool run test:node-js-input -- --timeout 5000000 'dist-esm/test/**/*.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":"npm run unit-test:node && npm run unit-test:browser","unit-test:node":"dev-tool run test:node-ts-input -- --timeout 1200000 --exclude 'test/**/browser/*.spec.ts' 'test/**/*.spec.ts'","unit-test:browser":"dev-tool run test:browser","build":"npm run clean && tsc -p . && dev-tool run bundle && mkdirp ./review && api-extractor run --local"},"sideEffects":false,"autoPublish":false,"dependencies":{"@azure/core-auth":"^1.3.0","@azure-rest/core-client":"^1.0.0","@azure/core-rest-pipeline":"^1.8.0","@azure/logger":"^1.0.0","tslib":"^2.2.0"},"devDependencies":{"@microsoft/api-extractor":"7.18.11","autorest":"latest","@types/node":"^12.0.0","dotenv":"^8.2.0","eslint":"^7.15.0","mkdirp":"^1.0.4","prettier":"2.2.1","rimraf":"^3.0.0","source-map-support":"^0.5.9","typescript":"~4.2.0","@azure/dev-tool":"^1.0.0","@azure/eslint-plugin-azure-sdk":"^3.0.0","@azure-tools/test-credential":"^1.0.0","@azure/identity":"^2.0.1","@azure-tools/test-recorder":"^2.0.0","mocha":"^7.1.1","mocha-junit-reporter":"^1.18.0","cross-env":"^7.0.2","@types/chai":"^4.2.8","chai":"^4.2.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-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","nyc":"^14.0.0"},"//sampleConfiguration":{"productName":"Azure Personalizer","productSlugs":["azure","azure-cognitive-services","azure-personalizer"],"disableDocsMs":true,"apiRefLink":"https://docs.microsoft.com/azure/cognitive-services/personalizer/"},"_id":"@azure-rest/ai-personalizer@1.0.0-beta.1","_integrity":"sha512-wgvXDh9H7iC3v7A6GfKMxgATQiA5B4hTbT5pLDLqj6fd4MSVTZm7FsfsEtjJKWwiRES4SOW8ZWeXuW2PJLOj+g==","_resolved":"/mnt/vss/_work/1/packages/azure-rest-ai-personalizer/azure-rest-ai-personalizer-1.0.0-beta.1.tgz","_from":"file:/mnt/vss/_work/1/packages/azure-rest-ai-personalizer/azure-rest-ai-personalizer-1.0.0-beta.1.tgz","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-wgvXDh9H7iC3v7A6GfKMxgATQiA5B4hTbT5pLDLqj6fd4MSVTZm7FsfsEtjJKWwiRES4SOW8ZWeXuW2PJLOj+g==","shasum":"bab726a69953346965b81c077227cd523d9b9e77","tarball":"https://registry.npmjs.org/@azure-rest/ai-personalizer/-/ai-personalizer-1.0.0-beta.1.tgz","fileCount":22,"unpackedSize":141547,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDGB8NyTdgMmidiFxglemvcjvBJ4ZNKn/LTvWtIYoEHwAiB1K+tB2sBy0IJ4jWCNesMuPupovv615qXneqN0LxQdnw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjIBKZACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq3XhAAivI9rBB0nwWwFbo1lYTix20BaSA19M/D+MMMEs92x2nBAV8m\r\nANEX3wv4O4bxbSGmFcZ5VLMxJP9L07BiPOqp9/uKGpv3HC4Z2izwqI3kDqvQ\r\nIyjqFX3Wafh1mY1rCE/jNwpddHJkFMJBmMy15LUlpeX5gJtN5zNCTWyb3S2j\r\nJqDqWgik8uvMOkrgMXekBn5cq7/MAOCEz0OvtbQrPUtnpEW0M2mb/iRwo0t7\r\n26ulOM1bH2PIFHyODyufW9HdpjpbvhzNHbVXPneg2KB1lu4I3QR/e+oYaCyB\r\nBN7mDOHBxkk5finfo+dYpsKpMQPYAG0bes4RPCJYwlYMbRUYB4BhFTOyjZGJ\r\n6YQpyG2DQl+FlDBwGo76dLok0rfrQOfyf85f+bCiJSKesYTCJYrt0f6EuhMV\r\nbG9WoTu7sqp6sigMlDI8EajofmYMkFtN36GCyIcEMbnMKnxekTH4uIV9RBBg\r\nZEc5K97qRE7jT7c+63ckTrwbtQADRKDuIlfCL0HV3j8uEV3xnunZto22rlAU\r\nfoAHHynvM60JMud89xKb18T6lLoeo5u0BLllkXJft1IVzFVQQWhjDyGrcs/S\r\npcCzClJvMNYEXgDaIMDHCyKwhZUEQgvLKFXoBcivjO3TDFVhfiKh3L8ArfaG\r\nn1yx2lmtZ60KcgRtl+YqiJKj4IxgjAwlxME=\r\n=c8de\r\n-----END PGP SIGNATURE-----\r\n"},"_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/ai-personalizer_1.0.0-beta.1_1663046295574_0.9551760188094969"},"_hasShrinkwrap":false,"deprecated":"Service has been deprecated; see https://learn.microsoft.com/en-us/azure/ai-services/personalizer/frequently-asked-questions"},"1.0.0-alpha.20220919.1":{"name":"@azure-rest/ai-personalizer","sdk-type":"client","author":{"name":"Microsoft Corporation"},"version":"1.0.0-alpha.20220919.1","description":"A client library for the Azure Personalizer service.","keywords":["node","azure","cloud","typescript","browser","isomorphic","personalizer","reinforcement learning","contextual bandit"],"license":"MIT","main":"dist/index.js","module":"./dist-esm/src/index.js","types":"./types/ai-personalizer.d.ts","homepage":"https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-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"},"//metadata":{"constantPaths":[{"path":"swagger/README.md","prefix":"package-version"}]},"engines":{"node":">=12.0.0"},"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 skipped.","build:test":"tsc -p . && dev-tool run bundle","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":"echo skipped","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":"dev-tool run test:browser","integration-test:node":"dev-tool run test:node-js-input -- --timeout 5000000 'dist-esm/test/**/*.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":"npm run unit-test:node && npm run unit-test:browser","unit-test:node":"dev-tool run test:node-ts-input -- --timeout 1200000 --exclude 'test/**/browser/*.spec.ts' 'test/**/*.spec.ts'","unit-test:browser":"dev-tool run test:browser","build":"npm run clean && tsc -p . && dev-tool run bundle && mkdirp ./review && api-extractor run --local"},"sideEffects":false,"autoPublish":false,"dependencies":{"@azure/core-auth":"^1.3.0","@azure-rest/core-client":">=1.0.0-alpha <1.0.0-alphb","@azure/core-rest-pipeline":"^1.8.0","@azure/logger":"^1.0.0","tslib":"^2.2.0"},"devDependencies":{"@microsoft/api-extractor":"7.18.11","autorest":"latest","@types/node":"^12.0.0","dotenv":"^8.2.0","eslint":"^7.15.0","mkdirp":"^1.0.4","prettier":"2.2.1","rimraf":"^3.0.0","source-map-support":"^0.5.9","typescript":"~4.2.0","@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-tools/test-credential":">=1.0.0-alpha <1.0.0-alphb","@azure/identity":"^2.0.1","@azure-tools/test-recorder":"^2.0.0","mocha":"^7.1.1","mocha-junit-reporter":"^1.18.0","cross-env":"^7.0.2","@types/chai":"^4.2.8","chai":"^4.2.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-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","nyc":"^14.0.0"},"//sampleConfiguration":{"productName":"Azure Personalizer","productSlugs":["azure","azure-cognitive-services","azure-personalizer"],"disableDocsMs":true,"apiRefLink":"https://docs.microsoft.com/azure/cognitive-services/personalizer/"},"readme":"# Azure Personalizer client library for JavaScript\n\nPersonalizer Client\n\n**Please rely heavily on our [REST client docs](https://github.com/Azure/azure-sdk-for-js/blob/main/documentation/rest-clients.md) to use this library**\n\nKey links:\n\n- [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-rest)\n- [Package (NPM)](https://www.npmjs.com/package/@azure-rest/ai-personalizer)\n- [API reference documentation](https://docs.microsoft.com/javascript/api/)\n- [Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-rest/samples/v1-beta/javascript)\n## Getting started\n\n### Currently supported environments\n\n- [LTS versions of Node.js](https://github.com/nodejs/release#release-schedule)\n- Latest versions of Safari, Chrome, Edge, and Firefox.\n\nSee our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details.\n\n### Prerequisites\n\n- You must have an [Azure subscription](https://azure.microsoft.com/free/) to use this package.\n\n### Install the `@azure-rest/ai-personalizer` package\n\nInstall the Azure Personalizer client REST client library for JavaScript with `npm`:\n\n```bash\nnpm install @azure-rest/ai-personalizer\n```\n\n### Create and authenticate a `PersonalizerClient`\n\nTo use an [Azure Active Directory (AAD) token credential](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token),\nprovide an instance of the desired credential type obtained from the\n[@azure/identity](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#credentials) library.\n\nTo authenticate with AAD, you must first `npm` install [`@azure/identity`](https://www.npmjs.com/package/@azure/identity) \n\nAfter setup, you can choose which type of [credential](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#credentials) from `@azure/identity` to use.\nAs an example, [DefaultAzureCredential](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#defaultazurecredential)\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\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","readmeFilename":"README.md","_id":"@azure-rest/ai-personalizer@1.0.0-alpha.20220919.1","_integrity":"sha512-8BrgKT3a8cJS13PqZed3WA2Q/JyQ7gGDrxjFCM/Q8RWqw7IlJbuLnpL6ab8nIDjzmBwWjmUxz+lwquZU7TnXVw==","_resolved":"/mnt/vss/_work/1/packages/azure-rest-ai-personalizer/azure-rest-ai-personalizer-1.0.0-alpha.20220919.1.tgz","_from":"file:/mnt/vss/_work/1/packages/azure-rest-ai-personalizer/azure-rest-ai-personalizer-1.0.0-alpha.20220919.1.tgz","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-8BrgKT3a8cJS13PqZed3WA2Q/JyQ7gGDrxjFCM/Q8RWqw7IlJbuLnpL6ab8nIDjzmBwWjmUxz+lwquZU7TnXVw==","shasum":"b463d5f6a7e6e4783547fa51df6aed5756d4df7e","tarball":"https://registry.npmjs.org/@azure-rest/ai-personalizer/-/ai-personalizer-1.0.0-alpha.20220919.1.tgz","fileCount":22,"unpackedSize":141653,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCPI6dCEXVCbqOvoCv9CeDiy4yC2hE4VyiQ/H+JBCFeTgIhAJusdP9q6CEL3ykyWrLbtqGg97m0T3FvHWHya81kSvFq"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjKUJ7ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq+Lg//XyE9wE8TE2UQMsdM0flAeTpX82+WHxHSgJ8oQEEROXoeawQ0\r\nnpWblMGfiMJnNN1/mPy80UeK25RlB3UrFjZeHRDkWk8HgpN1OzNJczDofC57\r\nOB4mOU5v88I9R2LSF899Wmml/t8TwW8cNxLgijAFKvfSfTnedrd9rCiqxPYm\r\n3wbMNvlBGh+lA4vpHhOumZPL2I+eO5SemxIH0soNMKMqpWVAd+NdWU8VD4FK\r\nJEMyd/yLzIWnd4DjGTe9QdFiMJWJGyRNOhs5yaSKePHo6G6WTqoPiFxMGg4C\r\nzTmqQHyCBMqDYnZzEQNP3A9M1eiJxIc/Yk7LavKtdSZx+2LntyaXc2Ry0cPc\r\nYVSLcm3ff2bsq1ce/vG4NKGZrCI1KWTcJs7FjLhZBPtd06LEXDKpd/NaPfdZ\r\naRje3BQggpPDni97Ac6czZPxQQDFqEv0oK4pyw/PJRhrLUJoXzKEHAMvucyj\r\nmL9VSgvvF/dzNTi78u5WdQqXvKaNZSPz9FIGz/4rfuQyhyj17putpjG7XoaC\r\nu2SRRFT5izC/549kCgbknm0J6mHd2h6dEHZ9I6fQ7rJHjaePlVvOaYKfHFWc\r\nrh/ABiq2jlGVraXVu+nneqvf5PcSUwvUSqcNy26AxX2cUukqucO/uqoARCxa\r\nkKtgZ8YxR6giFMB/yuEnE2jVY3AEKRFuVEM=\r\n=2Gn5\r\n-----END PGP SIGNATURE-----\r\n"},"_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/ai-personalizer_1.0.0-alpha.20220919.1_1663648379654_0.5250685875331071"},"_hasShrinkwrap":false,"deprecated":"Service has been deprecated; see https://learn.microsoft.com/en-us/azure/ai-services/personalizer/frequently-asked-questions"},"1.0.0-alpha.20220922.1":{"name":"@azure-rest/ai-personalizer","sdk-type":"client","author":{"name":"Microsoft Corporation"},"version":"1.0.0-alpha.20220922.1","description":"A client library for the Azure Personalizer service.","keywords":["node","azure","cloud","typescript","browser","isomorphic","personalizer","reinforcement learning","contextual bandit"],"license":"MIT","main":"dist/index.js","module":"./dist-esm/src/index.js","types":"./types/ai-personalizer.d.ts","homepage":"https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-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"},"//metadata":{"constantPaths":[{"path":"swagger/README.md","prefix":"package-version"}]},"engines":{"node":">=12.0.0"},"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 skipped.","build:test":"tsc -p . && dev-tool run bundle","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":"echo skipped","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":"dev-tool run test:browser","integration-test:node":"dev-tool run test:node-js-input -- --timeout 5000000 'dist-esm/test/**/*.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":"npm run unit-test:node && npm run unit-test:browser","unit-test:node":"dev-tool run test:node-ts-input -- --timeout 1200000 --exclude 'test/**/browser/*.spec.ts' 'test/**/*.spec.ts'","unit-test:browser":"dev-tool run test:browser","build":"npm run clean && tsc -p . && dev-tool run bundle && mkdirp ./review && api-extractor run --local"},"sideEffects":false,"autoPublish":false,"dependencies":{"@azure/core-auth":"^1.3.0","@azure-rest/core-client":">=1.0.0-alpha <1.0.0-alphb","@azure/core-rest-pipeline":"^1.8.0","@azure/logger":"^1.0.0","tslib":"^2.2.0"},"devDependencies":{"@microsoft/api-extractor":"^7.31.1","autorest":"latest","@types/node":"^12.0.0","dotenv":"^8.2.0","eslint":"^7.15.0","mkdirp":"^1.0.4","prettier":"2.2.1","rimraf":"^3.0.0","source-map-support":"^0.5.9","typescript":"~4.2.0","@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-tools/test-credential":">=1.0.0-alpha <1.0.0-alphb","@azure/identity":"^2.0.1","@azure-tools/test-recorder":"^2.0.0","mocha":"^7.1.1","mocha-junit-reporter":"^1.18.0","cross-env":"^7.0.2","@types/chai":"^4.2.8","chai":"^4.2.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-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","nyc":"^14.0.0"},"//sampleConfiguration":{"productName":"Azure Personalizer","productSlugs":["azure","azure-cognitive-services","azure-personalizer"],"disableDocsMs":true,"apiRefLink":"https://docs.microsoft.com/azure/cognitive-services/personalizer/"},"readme":"# Azure Personalizer client library for JavaScript\n\nPersonalizer Client\n\n**Please rely heavily on our [REST client docs](https://github.com/Azure/azure-sdk-for-js/blob/main/documentation/rest-clients.md) to use this library**\n\nKey links:\n\n- [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-rest)\n- [Package (NPM)](https://www.npmjs.com/package/@azure-rest/ai-personalizer)\n- [API reference documentation](https://docs.microsoft.com/javascript/api/)\n- [Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-rest/samples/v1-beta/javascript)\n## Getting started\n\n### Currently supported environments\n\n- [LTS versions of Node.js](https://github.com/nodejs/release#release-schedule)\n- Latest versions of Safari, Chrome, Edge, and Firefox.\n\nSee our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details.\n\n### Prerequisites\n\n- You must have an [Azure subscription](https://azure.microsoft.com/free/) to use this package.\n\n### Install the `@azure-rest/ai-personalizer` package\n\nInstall the Azure Personalizer client REST client library for JavaScript with `npm`:\n\n```bash\nnpm install @azure-rest/ai-personalizer\n```\n\n### Create and authenticate a `PersonalizerClient`\n\nTo use an [Azure Active Directory (AAD) token credential](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token),\nprovide an instance of the desired credential type obtained from the\n[@azure/identity](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#credentials) library.\n\nTo authenticate with AAD, you must first `npm` install [`@azure/identity`](https://www.npmjs.com/package/@azure/identity) \n\nAfter setup, you can choose which type of [credential](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#credentials) from `@azure/identity` to use.\nAs an example, [DefaultAzureCredential](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#defaultazurecredential)\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\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","readmeFilename":"README.md","_id":"@azure-rest/ai-personalizer@1.0.0-alpha.20220922.1","_integrity":"sha512-/9bEd3wH/7s078WE3gPzQFgD88qgzMDPow7On7vKbEF1MM/o4KYJgMBeg9ZchlQRizFvfvECReprfTfaZIGSqA==","_resolved":"/mnt/vss/_work/1/packages/azure-rest-ai-personalizer/azure-rest-ai-personalizer-1.0.0-alpha.20220922.1.tgz","_from":"file:/mnt/vss/_work/1/packages/azure-rest-ai-personalizer/azure-rest-ai-personalizer-1.0.0-alpha.20220922.1.tgz","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-/9bEd3wH/7s078WE3gPzQFgD88qgzMDPow7On7vKbEF1MM/o4KYJgMBeg9ZchlQRizFvfvECReprfTfaZIGSqA==","shasum":"30a1d206b59db6592170669625b8df206fd04b17","tarball":"https://registry.npmjs.org/@azure-rest/ai-personalizer/-/ai-personalizer-1.0.0-alpha.20220922.1.tgz","fileCount":22,"unpackedSize":141653,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDwz2Sg+RH39URBktNfYkscAZ3m308JtWNVxA1psNZFfwIgQlkjA3g4g5j6YViYGdjG8ylqrqSjThAr9ANUThGrLJI="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjLTYkACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoTYQ//QdBdZdFFvKjWzNNqw5uOXF7eFz/AjXb5H0BqTRBLq9Q4HCge\r\n1yfQg4QwyBsA1YA0eX+FRVh7Lnq4sRfM24pYbmY2SOP3n6jzw2byZJjuyI4H\r\nknivIzMbQOQkoriAbCDCXMhdVVHadyuJ3mOLp5AVvwtuI+eJm4wqzEECiUxm\r\nTC5wt2ohQ1fNU7tCfH8RXzNQFv7mOY4xBnj0x03xx/xTz2ALeNsvGYV6tghe\r\nv1CyCay79EnFtKim0WvC6e7OwvG6DL+Uh+0rwDY1onM+yHgwNgHcKyZnQCcx\r\nZTdA9Jy0UBUZRe4fbU6FIxSCa0SnMTMQRlPwiVLlZ9kY89N+fw2hTS+MPj+U\r\n1cRnkNCmtj/JRrVvVBwiLajhXJIma6/u+qLpKM2DPGTiREolhy0ONFlv/aIP\r\nCzx+M8ZTC+kD6hw8OamcUkWFFVR5WX9k3Tpssp+S5TeW8qZfi0anGF6mXxkx\r\nTV+okubKfoM9sUyhSdn8NxCpsuFP0CpPI99cLCTWblsm3MsY526G/zT9lhO/\r\nmMpSYH/myYwc3nTP2h/yjuqXzIO4UEtQkwYmTzxKCpC79Doo+iNJ5Oo9N2fC\r\nfTnhrQLSEeTqmiKDVu5y5OPbIHLxlUVRb+0n3t86LyC/xECAtqh/lBNXU2L+\r\n4/92Pex3MCXsXNj4jDt/psnwNtMjJ6yWwb4=\r\n=705E\r\n-----END PGP SIGNATURE-----\r\n"},"_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/ai-personalizer_1.0.0-alpha.20220922.1_1663907364210_0.846237627215618"},"_hasShrinkwrap":false,"deprecated":"Service has been deprecated; see https://learn.microsoft.com/en-us/azure/ai-services/personalizer/frequently-asked-questions"},"1.0.0-alpha.20221014.1":{"name":"@azure-rest/ai-personalizer","sdk-type":"client","author":{"name":"Microsoft Corporation"},"version":"1.0.0-alpha.20221014.1","description":"A client library for the Azure Personalizer service.","keywords":["node","azure","cloud","typescript","browser","isomorphic","personalizer","reinforcement learning","contextual bandit"],"license":"MIT","main":"dist/index.js","module":"./dist-esm/src/index.js","types":"./types/ai-personalizer.d.ts","homepage":"https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-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"},"//metadata":{"constantPaths":[{"path":"swagger/README.md","prefix":"package-version"}]},"engines":{"node":">=14.0.0"},"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 skipped.","build:test":"tsc -p . && dev-tool run bundle","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":"echo skipped","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":"dev-tool run test:browser","integration-test:node":"dev-tool run test:node-js-input -- --timeout 5000000 'dist-esm/test/**/*.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":"npm run unit-test:node && npm run unit-test:browser","unit-test:node":"dev-tool run test:node-ts-input -- --timeout 1200000 --exclude 'test/**/browser/*.spec.ts' 'test/**/*.spec.ts'","unit-test:browser":"dev-tool run test:browser","build":"npm run clean && tsc -p . && dev-tool run bundle && mkdirp ./review && api-extractor run --local"},"sideEffects":false,"autoPublish":false,"dependencies":{"@azure/core-auth":"^1.3.0","@azure-rest/core-client":">=1.0.0-alpha <1.0.0-alphb","@azure/core-rest-pipeline":"^1.8.0","@azure/logger":"^1.0.0","tslib":"^2.2.0"},"devDependencies":{"@microsoft/api-extractor":"^7.31.1","autorest":"latest","@types/node":"^14.0.0","dotenv":"^8.2.0","eslint":"^7.15.0","mkdirp":"^1.0.4","prettier":"2.2.1","rimraf":"^3.0.0","source-map-support":"^0.5.9","typescript":"~4.2.0","@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-tools/test-credential":">=1.0.0-alpha <1.0.0-alphb","@azure/identity":"^2.0.1","@azure-tools/test-recorder":"^2.0.0","mocha":"^7.1.1","mocha-junit-reporter":"^1.18.0","cross-env":"^7.0.2","@types/chai":"^4.2.8","chai":"^4.2.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-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","nyc":"^14.0.0"},"//sampleConfiguration":{"productName":"Azure Personalizer","productSlugs":["azure","azure-cognitive-services","azure-personalizer"],"disableDocsMs":true,"apiRefLink":"https://docs.microsoft.com/azure/cognitive-services/personalizer/"},"readme":"# Azure Personalizer client library for JavaScript\n\nPersonalizer Client\n\n**Please rely heavily on our [REST client docs](https://github.com/Azure/azure-sdk-for-js/blob/main/documentation/rest-clients.md) to use this library**\n\nKey links:\n\n- [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-rest)\n- [Package (NPM)](https://www.npmjs.com/package/@azure-rest/ai-personalizer)\n- [API reference documentation](https://docs.microsoft.com/javascript/api/)\n- [Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-rest/samples/v1-beta/javascript)\n## Getting started\n\n### Currently supported environments\n\n- [LTS versions of Node.js](https://github.com/nodejs/release#release-schedule)\n- Latest versions of Safari, Chrome, Edge, and Firefox.\n\nSee our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details.\n\n### Prerequisites\n\n- You must have an [Azure subscription](https://azure.microsoft.com/free/) to use this package.\n\n### Install the `@azure-rest/ai-personalizer` package\n\nInstall the Azure Personalizer client REST client library for JavaScript with `npm`:\n\n```bash\nnpm install @azure-rest/ai-personalizer\n```\n\n### Create and authenticate a `PersonalizerClient`\n\nTo use an [Azure Active Directory (AAD) token credential](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token),\nprovide an instance of the desired credential type obtained from the\n[@azure/identity](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#credentials) library.\n\nTo authenticate with AAD, you must first `npm` install [`@azure/identity`](https://www.npmjs.com/package/@azure/identity) \n\nAfter setup, you can choose which type of [credential](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#credentials) from `@azure/identity` to use.\nAs an example, [DefaultAzureCredential](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#defaultazurecredential)\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\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","readmeFilename":"README.md","_id":"@azure-rest/ai-personalizer@1.0.0-alpha.20221014.1","_integrity":"sha512-w3g5FgHRC6TezDf0EaMt2ZhUMU2sJc7qO6n+8/Wq8aASA5eJJk1T5oiF43XpRnqmf+F+359aPMKBh1akiUDIBg==","_resolved":"/mnt/vss/_work/1/packages/azure-rest-ai-personalizer/azure-rest-ai-personalizer-1.0.0-alpha.20221014.1.tgz","_from":"file:/mnt/vss/_work/1/packages/azure-rest-ai-personalizer/azure-rest-ai-personalizer-1.0.0-alpha.20221014.1.tgz","_nodeVersion":"16.17.1","_npmVersion":"8.15.0","dist":{"integrity":"sha512-w3g5FgHRC6TezDf0EaMt2ZhUMU2sJc7qO6n+8/Wq8aASA5eJJk1T5oiF43XpRnqmf+F+359aPMKBh1akiUDIBg==","shasum":"d51b372a54238e98b1c33ff625045484caa66143","tarball":"https://registry.npmjs.org/@azure-rest/ai-personalizer/-/ai-personalizer-1.0.0-alpha.20221014.1.tgz","fileCount":22,"unpackedSize":141653,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCMRQYEOx8M1Mah8R1g5OhGzz1MMvACEnarjBRpsQfn8wIgJ1XxNYreBEmh+I2MTZk389/43+8zmihlgCs33tRUEA0="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjSjcFACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqboQ/+M6PKSo3Rn9Ol52L7BJPfrkLnIHaNTWkG5l5/px0amarF0JqU\r\nrGJGHD+lv5QGHyk4pFvYVWw4Fxu4SMcaZA2l5QzPttvqXZ0ZAC4m7gWXuUr2\r\nbZLYXBfkMfwUuT6/y5QZOmWeKAm2Xy1Jx0fhN8aBPQD7wokS4KvLvuoHWXEb\r\n1BCp99DsxpQGpVbzTuIhxzoIqQddkYU3HQ1+IreLnO40BDONcQ3fhpYL5yVO\r\nQmpB7kdu0EKPMZ7M6r2CzT+hR/u9Lsn6XL3O6qtaFQQliVRueZr7FrUELDmS\r\ns6aUOiZy449YBUVQ8gxPihMww16Tlzack8yNZwdYif2pRREVyBI7jWcgmFhv\r\nJWLGNVKOCSvFDhP4mIl0T2tKbb+4G2pH39jOysqeeaAMrfUOpSrV4ebKyi3o\r\n7Tx+qy42gDBtPWcA+X9iBelGsz1O7Pv20n0I4PgZc2/SeSAG8nvQab/jX++T\r\nKFXIuOf6cTV74wbqEK9gEJCgR4bxjCKGHGdInl/aDn0tQ6TIWGATvpirYtsI\r\nvtBTzwc7Pfp0yML2n4FoehAqPGndAQ+nGZ6QhaeBnTPVHsxWweCs5bbqHBtO\r\nMAXKObZoIOll0/H3bhOXIF9iAoFMq07HnSaC63bw0iLW6gX+34HPpKcBVUHY\r\nB7mawnh/kQFl2P8iwZTDb66wfANRQ9r7HKw=\r\n=t1bW\r\n-----END PGP SIGNATURE-----\r\n"},"_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/ai-personalizer_1.0.0-alpha.20221014.1_1665808132997_0.020771993523598375"},"_hasShrinkwrap":false,"deprecated":"Service has been deprecated; see https://learn.microsoft.com/en-us/azure/ai-services/personalizer/frequently-asked-questions"},"1.0.0-alpha.20221020.3":{"name":"@azure-rest/ai-personalizer","sdk-type":"client","author":{"name":"Microsoft Corporation"},"version":"1.0.0-alpha.20221020.3","description":"A client library for the Azure Personalizer service.","keywords":["node","azure","cloud","typescript","browser","isomorphic","personalizer","reinforcement learning","contextual bandit"],"license":"MIT","main":"dist/index.js","module":"./dist-esm/src/index.js","types":"./types/ai-personalizer.d.ts","homepage":"https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-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"},"//metadata":{"constantPaths":[{"path":"swagger/README.md","prefix":"package-version"}]},"engines":{"node":">=14.0.0"},"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 skipped.","build:test":"tsc -p . && dev-tool run bundle","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":"echo skipped","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":"dev-tool run test:browser","integration-test:node":"dev-tool run test:node-js-input -- --timeout 5000000 'dist-esm/test/**/*.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":"npm run unit-test:node && npm run unit-test:browser","unit-test:node":"dev-tool run test:node-ts-input -- --timeout 1200000 --exclude 'test/**/browser/*.spec.ts' 'test/**/*.spec.ts'","unit-test:browser":"dev-tool run test:browser","build":"npm run clean && tsc -p . && dev-tool run bundle && mkdirp ./review && api-extractor run --local"},"sideEffects":false,"autoPublish":false,"dependencies":{"@azure/core-auth":"^1.3.0","@azure-rest/core-client":"^1.0.0","@azure/core-rest-pipeline":"^1.8.0","@azure/logger":"^1.0.0","tslib":"^2.2.0"},"devDependencies":{"@microsoft/api-extractor":"^7.31.1","autorest":"latest","@types/node":"^14.0.0","dotenv":"^8.2.0","eslint":"^7.15.0","mkdirp":"^1.0.4","prettier":"2.2.1","rimraf":"^3.0.0","source-map-support":"^0.5.9","typescript":"~4.2.0","@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-tools/test-credential":">=1.0.0-alpha <1.0.0-alphb","@azure/identity":"^2.0.1","@azure-tools/test-recorder":"^2.0.0","mocha":"^7.1.1","mocha-junit-reporter":"^1.18.0","cross-env":"^7.0.2","@types/chai":"^4.2.8","chai":"^4.2.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-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","nyc":"^14.0.0"},"//sampleConfiguration":{"productName":"Azure Personalizer","productSlugs":["azure","azure-cognitive-services","azure-personalizer"],"disableDocsMs":true,"apiRefLink":"https://docs.microsoft.com/azure/cognitive-services/personalizer/"},"readme":"# Azure Personalizer client library for JavaScript\n\nPersonalizer Client\n\n**Please rely heavily on our [REST client docs](https://github.com/Azure/azure-sdk-for-js/blob/main/documentation/rest-clients.md) to use this library**\n\nKey links:\n\n- [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-rest)\n- [Package (NPM)](https://www.npmjs.com/package/@azure-rest/ai-personalizer)\n- [API reference documentation](https://docs.microsoft.com/javascript/api/)\n- [Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-rest/samples/v1-beta/javascript)\n## Getting started\n\n### Currently supported environments\n\n- [LTS versions of Node.js](https://github.com/nodejs/release#release-schedule)\n- Latest versions of Safari, Chrome, Edge, and Firefox.\n\nSee our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details.\n\n### Prerequisites\n\n- You must have an [Azure subscription](https://azure.microsoft.com/free/) to use this package.\n\n### Install the `@azure-rest/ai-personalizer` package\n\nInstall the Azure Personalizer client REST client library for JavaScript with `npm`:\n\n```bash\nnpm install @azure-rest/ai-personalizer\n```\n\n### Create and authenticate a `PersonalizerClient`\n\nTo use an [Azure Active Directory (AAD) token credential](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token),\nprovide an instance of the desired credential type obtained from the\n[@azure/identity](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#credentials) library.\n\nTo authenticate with AAD, you must first `npm` install [`@azure/identity`](https://www.npmjs.com/package/@azure/identity) \n\nAfter setup, you can choose which type of [credential](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#credentials) from `@azure/identity` to use.\nAs an example, [DefaultAzureCredential](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#defaultazurecredential)\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\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","readmeFilename":"README.md","_id":"@azure-rest/ai-personalizer@1.0.0-alpha.20221020.3","_integrity":"sha512-QL7Qz19CumHYKuwgMHP9bMUWI/r3u8P4k2sqQ1uNbIxTXLqij4GJIhTH3YszIT1xxyNz6coRjOfr83NQ+BuK2g==","_resolved":"/mnt/vss/_work/1/packages/azure-rest-ai-personalizer/azure-rest-ai-personalizer-1.0.0-alpha.20221020.3.tgz","_from":"file:/mnt/vss/_work/1/packages/azure-rest-ai-personalizer/azure-rest-ai-personalizer-1.0.0-alpha.20221020.3.tgz","_nodeVersion":"16.17.1","_npmVersion":"8.15.0","dist":{"integrity":"sha512-QL7Qz19CumHYKuwgMHP9bMUWI/r3u8P4k2sqQ1uNbIxTXLqij4GJIhTH3YszIT1xxyNz6coRjOfr83NQ+BuK2g==","shasum":"037832395e14e8941312db9f13099c6ba5f9aca2","tarball":"https://registry.npmjs.org/@azure-rest/ai-personalizer/-/ai-personalizer-1.0.0-alpha.20221020.3.tgz","fileCount":22,"unpackedSize":141633,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDJ1Lok3nXMJtObUMym4B9YNUXDiqzxPdH2B7M5hFXCigIhAKzzIJLubAr2EuerMwn1ER7u03AWZDTnOAIzpoeBiW0N"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjUiBPACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmplgA//ZZG5LbTVWu88BFfadR9Z14amvSEg/zJ9e8jFfRVe7RL+iu43\r\nl8DLfNcuomQ8OSB7ythHqZUs+iopd0fHR3Rq7O2P0WALf5b/X4NuciFUQckb\r\nMJ2UnzH7RNRcBfafRpOba2Tx365WVeTSBArwnmm4geMuFl51SMq/cnphWVxA\r\n7UdOKDDEU8FYuDT4e3gu7RUpp2kISMtzsPb9ynWKnlvURSmyoxfa5xhs2Anb\r\n9+UnTwo/oPVQaMQqxQh5xFlsK7z3TxCR+usAPwM0oIHCih5HFouJs26w5GT9\r\nt4P8DOUfNHp+nPCM/3h3snXuPwSRr3ZW1yqR2KdAWnUt5JaQ+OD2roQ2id84\r\n5fLiEwxyqaEq0amp8KHv0wmbEuCG9ElyLOdjVfdNsriJjq+16UKoQ0Y9F7OR\r\nmdCL6ONaTrXbUJcU60ugsE55Fa64dKV2JBimxV96Y2KIF5xTgR1mPT6giLew\r\nX50DgoKHQE4dGVO1PHhdS6+xNdGKaxe0NzldWBXxAkiJ4YtK1g37BT14D3ql\r\nfEOiCZc3E0LS0oJAiCMxBXpsgG94+dqNntiYl4zvHgdD8Ju58I+9Wi7iBz/O\r\nLbeRR6YCXz6TyNukODvnDD6BKDSjyTdcHHUOZv6129l3cXG0epX3+AXhm7W1\r\nO4nxgMukX9wEYKAll5riF5kO9i0OyCRkOLE=\r\n=MnbQ\r\n-----END PGP SIGNATURE-----\r\n"},"_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/ai-personalizer_1.0.0-alpha.20221020.3_1666326607144_0.309210236982014"},"_hasShrinkwrap":false,"deprecated":"Service has been deprecated; see https://learn.microsoft.com/en-us/azure/ai-services/personalizer/frequently-asked-questions"},"1.0.0-alpha.20221213.2":{"name":"@azure-rest/ai-personalizer","sdk-type":"client","author":{"name":"Microsoft Corporation"},"version":"1.0.0-alpha.20221213.2","description":"A client library for the Azure Personalizer service.","keywords":["node","azure","cloud","typescript","browser","isomorphic","personalizer","reinforcement learning","contextual bandit"],"license":"MIT","main":"dist/index.js","module":"./dist-esm/src/index.js","types":"./types/ai-personalizer.d.ts","homepage":"https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-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"},"//metadata":{"constantPaths":[{"path":"swagger/README.md","prefix":"package-version"}]},"engines":{"node":">=14.0.0"},"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 skipped.","build:test":"tsc -p . && dev-tool run bundle","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":"echo skipped","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":"dev-tool run test:browser","integration-test:node":"dev-tool run test:node-js-input -- --timeout 5000000 'dist-esm/test/**/*.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":"npm run unit-test:node && npm run unit-test:browser","unit-test:node":"dev-tool run test:node-ts-input -- --timeout 1200000 --exclude 'test/**/browser/*.spec.ts' 'test/**/*.spec.ts'","unit-test:browser":"dev-tool run test:browser","build":"npm run clean && tsc -p . && dev-tool run bundle && mkdirp ./review && api-extractor run --local"},"sideEffects":false,"autoPublish":false,"dependencies":{"@azure/core-auth":"^1.3.0","@azure-rest/core-client":"^1.0.0","@azure/core-rest-pipeline":"^1.8.0","@azure/logger":"^1.0.0","tslib":"^2.2.0"},"devDependencies":{"@microsoft/api-extractor":"^7.31.1","autorest":"latest","@types/node":"^14.0.0","dotenv":"^8.2.0","eslint":"^7.15.0","mkdirp":"^1.0.4","prettier":"^2.5.1","rimraf":"^3.0.0","source-map-support":"^0.5.9","typescript":"~4.2.0","@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-tools/test-credential":">=1.0.0-alpha <1.0.0-alphb","@azure/identity":"^2.0.1","@azure-tools/test-recorder":"^2.0.0","mocha":"^7.1.1","mocha-junit-reporter":"^1.18.0","cross-env":"^7.0.2","@types/chai":"^4.2.8","chai":"^4.2.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-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","nyc":"^14.0.0"},"//sampleConfiguration":{"productName":"Azure Personalizer","productSlugs":["azure","azure-cognitive-services","azure-personalizer"],"disableDocsMs":true,"apiRefLink":"https://docs.microsoft.com/azure/cognitive-services/personalizer/"},"readme":"# Azure Personalizer client library for JavaScript\n\nPersonalizer Client\n\n**Please rely heavily on our [REST client docs](https://github.com/Azure/azure-sdk-for-js/blob/main/documentation/rest-clients.md) to use this library**\n\nKey links:\n\n- [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-rest)\n- [Package (NPM)](https://www.npmjs.com/package/@azure-rest/ai-personalizer)\n- [API reference documentation](https://docs.microsoft.com/javascript/api/)\n- [Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-rest/samples/v1-beta/javascript)\n## Getting started\n\n### Currently supported environments\n\n- [LTS versions of Node.js](https://github.com/nodejs/release#release-schedule)\n- Latest versions of Safari, Chrome, Edge, and Firefox.\n\nSee our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details.\n\n### Prerequisites\n\n- You must have an [Azure subscription](https://azure.microsoft.com/free/) to use this package.\n\n### Install the `@azure-rest/ai-personalizer` package\n\nInstall the Azure Personalizer client REST client library for JavaScript with `npm`:\n\n```bash\nnpm install @azure-rest/ai-personalizer\n```\n\n### Create and authenticate a `PersonalizerClient`\n\nTo use an [Azure Active Directory (AAD) token credential](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token),\nprovide an instance of the desired credential type obtained from the\n[@azure/identity](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#credentials) library.\n\nTo authenticate with AAD, you must first `npm` install [`@azure/identity`](https://www.npmjs.com/package/@azure/identity) \n\nAfter setup, you can choose which type of [credential](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#credentials) from `@azure/identity` to use.\nAs an example, [DefaultAzureCredential](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#defaultazurecredential)\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\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","readmeFilename":"README.md","_id":"@azure-rest/ai-personalizer@1.0.0-alpha.20221213.2","_integrity":"sha512-7Jew3P34hq/9bJOH9i3nlkpi2YdY8jknzaXjyGxu7uLPh/erPApcN/N/jNVinVbbNTiX7t+WYhQnE9bRyPhMaw==","_resolved":"/mnt/vss/_work/1/packages/azure-rest-ai-personalizer/azure-rest-ai-personalizer-1.0.0-alpha.20221213.2.tgz","_from":"file:/mnt/vss/_work/1/packages/azure-rest-ai-personalizer/azure-rest-ai-personalizer-1.0.0-alpha.20221213.2.tgz","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-7Jew3P34hq/9bJOH9i3nlkpi2YdY8jknzaXjyGxu7uLPh/erPApcN/N/jNVinVbbNTiX7t+WYhQnE9bRyPhMaw==","shasum":"e5e7668979b658d46868f8b3a9e2580e71d448b3","tarball":"https://registry.npmjs.org/@azure-rest/ai-personalizer/-/ai-personalizer-1.0.0-alpha.20221213.2.tgz","fileCount":22,"unpackedSize":141641,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGPqkpFSbDGqu6pyF94RERXRF19faFRZozsfiW+hdHPEAiAyJ+lrkZEaGnEJcbRDB8LYojSSO7nYJaXP1q5cIveHFA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjmV+7ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrdgg/9FD81k1X9wOl6qZVXYUPsU0fnfMS4yi3q3zUCWCOl6sSn3UkP\r\nNEzD0VTdeqWxJthdc2e7Xx1EJuVKS21pWdQK9P4cjD8NA6iTItkc5zgeu7jr\r\nTXc6VPXlp9+nd7RWzOHTSWXuP59hVe0TWvy2Bdasb6smNe7pkErXNJg99xej\r\noyEOPdk8/lnoB5EIPxU5kiUmql2Mq/fVtFX3kjmUyvKgbai/Oo/9a0mSq6gm\r\nhDIkVrVyLlpx+DKOK1zVyQgkmT01Un1JH24qzffskB2Jl2hpnfDzB5Tz2aF0\r\nx5L19ToF05DDBOQL1Ii6jRU1QPPUjevhAFPdh6NPJpTJtwEK4xm7OqyPIYbV\r\n1nH3ZG+7wzo/+HI+kdaXx/wX+Mu8YgCKyxD4pzNTkbG+l6jFH77uJqMYh+YJ\r\npsLWG1qsALZT7tW8A8Wj5WSOwXIdngokPEdHdm2MReshYJN/NhF/nO+Gcj3H\r\nYI9FIuwN5LsZRxC5O02/ibfgXvbH+C+sPtPdw5dyrZrr8X+mgInPBxwSWFSD\r\ne6u/I4OV/ngAxruz2qB1NgIW7Dog9PxHUHfS+EAZX+3XxfEdCzhSKN5LZ3uy\r\nj2KBobcxI3ifuOiFoIqD20LW6e1r+v5J9mFeYOXTkMMRBT2CHn93yAgX+YmE\r\nKaVFMpDEFPaUymSLn9iVq0uhuKHc1R2g7Do=\r\n=mc4G\r\n-----END PGP SIGNATURE-----\r\n"},"_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/ai-personalizer_1.0.0-alpha.20221213.2_1670995899437_0.17900758892052138"},"_hasShrinkwrap":false,"deprecated":"Service has been deprecated; see https://learn.microsoft.com/en-us/azure/ai-services/personalizer/frequently-asked-questions"},"1.0.0-alpha.20221214.2":{"name":"@azure-rest/ai-personalizer","sdk-type":"client","author":{"name":"Microsoft Corporation"},"version":"1.0.0-alpha.20221214.2","description":"A client library for the Azure Personalizer service.","keywords":["node","azure","cloud","typescript","browser","isomorphic","personalizer","reinforcement learning","contextual bandit"],"license":"MIT","main":"dist/index.js","module":"./dist-esm/src/index.js","types":"./types/ai-personalizer.d.ts","homepage":"https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-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"},"//metadata":{"constantPaths":[{"path":"swagger/README.md","prefix":"package-version"}]},"engines":{"node":">=14.0.0"},"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 skipped.","build:test":"tsc -p . && dev-tool run bundle","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":"echo skipped","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":"dev-tool run test:browser","integration-test:node":"dev-tool run test:node-js-input -- --timeout 5000000 'dist-esm/test/**/*.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":"npm run unit-test:node && npm run unit-test:browser","unit-test:node":"dev-tool run test:node-ts-input -- --timeout 1200000 --exclude 'test/**/browser/*.spec.ts' 'test/**/*.spec.ts'","unit-test:browser":"dev-tool run test:browser","build":"npm run clean && tsc -p . && dev-tool run bundle && mkdirp ./review && api-extractor run --local"},"sideEffects":false,"autoPublish":false,"dependencies":{"@azure/core-auth":"^1.3.0","@azure-rest/core-client":"^1.0.0","@azure/core-rest-pipeline":"^1.8.0","@azure/logger":"^1.0.0","tslib":"^2.2.0"},"devDependencies":{"@microsoft/api-extractor":"^7.31.1","autorest":"latest","@types/node":"^14.0.0","dotenv":"^8.2.0","eslint":"^7.15.0","mkdirp":"^1.0.4","prettier":"^2.5.1","rimraf":"^3.0.0","source-map-support":"^0.5.9","typescript":"~4.2.0","@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-tools/test-credential":">=1.0.0-alpha <1.0.0-alphb","@azure/identity":"^2.0.1","@azure-tools/test-recorder":"^2.0.0","mocha":"^7.1.1","mocha-junit-reporter":"^1.18.0","cross-env":"^7.0.2","@types/chai":"^4.2.8","chai":"^4.2.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-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","nyc":"^15.0.0"},"//sampleConfiguration":{"productName":"Azure Personalizer","productSlugs":["azure","azure-cognitive-services","azure-personalizer"],"disableDocsMs":true,"apiRefLink":"https://docs.microsoft.com/azure/cognitive-services/personalizer/"},"readme":"# Azure Personalizer client library for JavaScript\n\nPersonalizer Client\n\n**Please rely heavily on our [REST client docs](https://github.com/Azure/azure-sdk-for-js/blob/main/documentation/rest-clients.md) to use this library**\n\nKey links:\n\n- [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-rest)\n- [Package (NPM)](https://www.npmjs.com/package/@azure-rest/ai-personalizer)\n- [API reference documentation](https://docs.microsoft.com/javascript/api/)\n- [Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-rest/samples/v1-beta/javascript)\n## Getting started\n\n### Currently supported environments\n\n- [LTS versions of Node.js](https://github.com/nodejs/release#release-schedule)\n- Latest versions of Safari, Chrome, Edge, and Firefox.\n\nSee our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details.\n\n### Prerequisites\n\n- You must have an [Azure subscription](https://azure.microsoft.com/free/) to use this package.\n\n### Install the `@azure-rest/ai-personalizer` package\n\nInstall the Azure Personalizer client REST client library for JavaScript with `npm`:\n\n```bash\nnpm install @azure-rest/ai-personalizer\n```\n\n### Create and authenticate a `PersonalizerClient`\n\nTo use an [Azure Active Directory (AAD) token credential](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token),\nprovide an instance of the desired credential type obtained from the\n[@azure/identity](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#credentials) library.\n\nTo authenticate with AAD, you must first `npm` install [`@azure/identity`](https://www.npmjs.com/package/@azure/identity) \n\nAfter setup, you can choose which type of [credential](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#credentials) from `@azure/identity` to use.\nAs an example, [DefaultAzureCredential](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#defaultazurecredential)\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\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","readmeFilename":"README.md","_id":"@azure-rest/ai-personalizer@1.0.0-alpha.20221214.2","_integrity":"sha512-CFsOiK8fzv3dRd4mYzuqcaCncFC5eqlv2FG3tmSKuwx3WVn0DGH+6j0cW1mcmWnQi+Z29pE6hYthAF71rbSeDQ==","_resolved":"/mnt/vss/_work/1/packages/azure-rest-ai-personalizer/azure-rest-ai-personalizer-1.0.0-alpha.20221214.2.tgz","_from":"file:/mnt/vss/_work/1/packages/azure-rest-ai-personalizer/azure-rest-ai-personalizer-1.0.0-alpha.20221214.2.tgz","_nodeVersion":"16.18.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-CFsOiK8fzv3dRd4mYzuqcaCncFC5eqlv2FG3tmSKuwx3WVn0DGH+6j0cW1mcmWnQi+Z29pE6hYthAF71rbSeDQ==","shasum":"762cbfe6ad99d3c26d21bf4b1d34bf5be8bbe243","tarball":"https://registry.npmjs.org/@azure-rest/ai-personalizer/-/ai-personalizer-1.0.0-alpha.20221214.2.tgz","fileCount":22,"unpackedSize":141641,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEFrl3dejE16XfKQvchyRID9U4w49sY5xrnj9RKsRP6nAiAvz0aREg/nMORyX+yhXcxxgzVllPTo0zA8vXmtJTS2YA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjmrGnACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrNAg//RqudOe2dV0A4MW842YrtGbyR6328t6Xkx1cYp6ZUKe41Zxfi\r\n6ZDURPsDBPOlwL64i91x6NsXkhpawankKyW+C6h+idO1m4dMpTFqcXr7awtB\r\ntLEyl0ZghKJBiHrb0cx3FtYEBB4teQD9FLpHIrvjhx1aU25BH5741la79J2r\r\ns9eojCwxVNFwiTa8szVuV6nQC+cuvG92O8H+ZG6kQptuat4oLcvhwL4eFQrg\r\nNk9oA86Zhvsxq4Mfyebuk+9GnVO8FnHv5+FeqeHIffCQOG/po9WBtGu46OEU\r\npDPJQ6aI90qY8Hniv2Z16SU98UkR+ZJ2y3JOjGChRVc6z1lyS3IIL9yjVrwM\r\nAN5lHSBnhPeAB8N7Jrsf9lbDWZCHyoZWsbdEbo7HrBiJ4fC7WO/m1xasObZF\r\nceMa8aet53YOWMOuUDLtZfCngtKvO8t+NlP+yzaxmLZu8mNEvaFrI5elzPGy\r\nt2eCFKI6fVEcFVhK69wtAm6L8fl68Y49Jcl1nJWs63KscArEcRoaZMAOVvkR\r\nXh/+82sIecjGaWf+b9IFjFZ7eFRp5UXaRDUpx6PX7CaAuc3DTHHjgDy8FxZv\r\nd01jIw5Vf8oFX8801bS1iZ+UWvNXEwesjKndx1jYttWkbk4QfW/rBRyKw1x3\r\nEvKWVy3BSgSwqSyswG3me+6m+CKFKi+j7hQ=\r\n=Y9b1\r\n-----END PGP SIGNATURE-----\r\n"},"_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/ai-personalizer_1.0.0-alpha.20221214.2_1671082406860_0.5962837729952024"},"_hasShrinkwrap":false,"deprecated":"Service has been deprecated; see https://learn.microsoft.com/en-us/azure/ai-services/personalizer/frequently-asked-questions"},"1.0.0-alpha.20230126.1":{"name":"@azure-rest/ai-personalizer","sdk-type":"client","author":{"name":"Microsoft Corporation"},"version":"1.0.0-alpha.20230126.1","description":"A client library for the Azure Personalizer service.","keywords":["node","azure","cloud","typescript","browser","isomorphic","personalizer","reinforcement learning","contextual bandit"],"license":"MIT","main":"dist/index.js","module":"./dist-esm/src/index.js","types":"./types/ai-personalizer.d.ts","homepage":"https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-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"},"//metadata":{"constantPaths":[{"path":"swagger/README.md","prefix":"package-version"}]},"engines":{"node":">=14.0.0"},"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 skipped.","build:test":"tsc -p . && dev-tool run bundle","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":"echo skipped","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":"dev-tool run test:browser","integration-test:node":"dev-tool run test:node-js-input -- --timeout 5000000 'dist-esm/test/**/*.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":"npm run unit-test:node && npm run unit-test:browser","unit-test:node":"dev-tool run test:node-ts-input -- --timeout 1200000 --exclude 'test/**/browser/*.spec.ts' 'test/**/*.spec.ts'","unit-test:browser":"dev-tool run test:browser","build":"npm run clean && tsc -p . && dev-tool run bundle && mkdirp ./review && api-extractor run --local"},"sideEffects":false,"autoPublish":false,"dependencies":{"@azure/core-auth":"^1.3.0","@azure-rest/core-client":"^1.0.0","@azure/core-rest-pipeline":"^1.8.0","@azure/logger":"^1.0.0","tslib":"^2.2.0"},"devDependencies":{"@microsoft/api-extractor":"^7.31.1","autorest":"latest","@types/node":"^14.0.0","dotenv":"^16.0.0","eslint":"^7.15.0","mkdirp":"^1.0.4","prettier":"^2.5.1","rimraf":"^3.0.0","source-map-support":"^0.5.9","typescript":"~4.2.0","@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-tools/test-credential":"^1.0.0","@azure/identity":"^2.0.1","@azure-tools/test-recorder":"^2.0.0","mocha":"^7.1.1","mocha-junit-reporter":"^1.18.0","cross-env":"^7.0.2","@types/chai":"^4.2.8","chai":"^4.2.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-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","nyc":"^15.0.0"},"//sampleConfiguration":{"productName":"Azure Personalizer","productSlugs":["azure","azure-cognitive-services","azure-personalizer"],"disableDocsMs":true,"apiRefLink":"https://docs.microsoft.com/azure/cognitive-services/personalizer/"},"readme":"# Azure Personalizer client library for JavaScript\n\nPersonalizer Client\n\n**Please rely heavily on our [REST client docs](https://github.com/Azure/azure-sdk-for-js/blob/main/documentation/rest-clients.md) to use this library**\n\nKey links:\n\n- [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-rest)\n- [Package (NPM)](https://www.npmjs.com/package/@azure-rest/ai-personalizer)\n- [API reference documentation](https://docs.microsoft.com/javascript/api/)\n- [Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-rest/samples/v1-beta/javascript)\n## Getting started\n\n### Currently supported environments\n\n- [LTS versions of Node.js](https://github.com/nodejs/release#release-schedule)\n- Latest versions of Safari, Chrome, Edge, and Firefox.\n\nSee our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details.\n\n### Prerequisites\n\n- You must have an [Azure subscription](https://azure.microsoft.com/free/) to use this package.\n\n### Install the `@azure-rest/ai-personalizer` package\n\nInstall the Azure Personalizer client REST client library for JavaScript with `npm`:\n\n```bash\nnpm install @azure-rest/ai-personalizer\n```\n\n### Create and authenticate a `PersonalizerClient`\n\nTo use an [Azure Active Directory (AAD) token credential](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token),\nprovide an instance of the desired credential type obtained from the\n[@azure/identity](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#credentials) library.\n\nTo authenticate with AAD, you must first `npm` install [`@azure/identity`](https://www.npmjs.com/package/@azure/identity) \n\nAfter setup, you can choose which type of [credential](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#credentials) from `@azure/identity` to use.\nAs an example, [DefaultAzureCredential](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#defaultazurecredential)\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\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","readmeFilename":"README.md","_id":"@azure-rest/ai-personalizer@1.0.0-alpha.20230126.1","_integrity":"sha512-+RNGnGbkhLrShDD8ERS8h0wujYnRscAtoi31jtaYSv6fcfE0pJwXlAzVaXZGuvi2VCK2DQ625OuS5r7eJqBpBQ==","_resolved":"/mnt/vss/_work/1/packages/azure-rest-ai-personalizer/azure-rest-ai-personalizer-1.0.0-alpha.20230126.1.tgz","_from":"file:/mnt/vss/_work/1/packages/azure-rest-ai-personalizer/azure-rest-ai-personalizer-1.0.0-alpha.20230126.1.tgz","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-+RNGnGbkhLrShDD8ERS8h0wujYnRscAtoi31jtaYSv6fcfE0pJwXlAzVaXZGuvi2VCK2DQ625OuS5r7eJqBpBQ==","shasum":"791b3e4ab1b5a9774c39a62c89fb270d31a71779","tarball":"https://registry.npmjs.org/@azure-rest/ai-personalizer/-/ai-personalizer-1.0.0-alpha.20230126.1.tgz","fileCount":22,"unpackedSize":141622,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIELXlh1KFeyT6muRAMGRfwq0ks99tls2/oR/bWIXxI/gAiBzQ853bkX5vYW1Gd+nY3JXrzzYPeUB6/lIXYrdRGCqbg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj02GwACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoEXhAAolpf2QSBGLjaxrK+mWsAVfiRu9X7Pv8ofc6rbiJ75QPS0rjW\r\nQFt+V3Rs8WRUo4FBVn+rPaJVdk/Xi07hc5daiUY2xNoYt25lgm/mBihBvN1g\r\nHb9wBZ7xABOzRHxvRTIrRQZcU9J20JDZkngLbi4S3unOT8xQ+ValRzVxqS0R\r\ntqaAZiVbHdj5MsXk4TU3bTYtlhNZodlDf2+KS5rZ0Dnskx0nh2u6oTDwUv1P\r\nc+KkokjxOfBMusGSvsIAdB4jygyo3+ofHd7hSQl1PEUICzI7jjRG9g9nuira\r\nIcB11aAxyywm6PUgFnb1PPRNqXhAEUspnGv6kTHoUyEvoKvHfrZ8rT2Rz+BG\r\nimI/sb4X7M/B6VmwYVux6mQpoNr0PjgK6xjOL2RYaw8+r5t/95t2+aWV0/QV\r\nnU9ycg0DuTttZH5hP+/oZ5H94AUjc1JcbX8VgY2xi/YzkYSJilGbkEQTMy7S\r\nkmx0OmqEfNxY84+wgAxpCIY4CeheNL9SZN874E72Jp32eHSu+8ZBYYUG8yvd\r\nfCqAAK5RCZEOLzVFVTijFMip+Dd7BgxLJlJxkmdaQ8mCh6eGqvloEON3XkmT\r\nmaHplMgGxsEwuwJxUyMivD8wBfVT3WvfXgu1Gdbdrnvfd5vG7Fao0Cw+knps\r\nX+WA4VxwOn9EWfyJ8WBx8mZNJZDplO/BPrM=\r\n=wTVS\r\n-----END PGP SIGNATURE-----\r\n"},"_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/ai-personalizer_1.0.0-alpha.20230126.1_1674797487846_0.4900473955404705"},"_hasShrinkwrap":false,"deprecated":"Service has been deprecated; see https://learn.microsoft.com/en-us/azure/ai-services/personalizer/frequently-asked-questions"},"1.0.0-alpha.20230210.1":{"name":"@azure-rest/ai-personalizer","sdk-type":"client","author":{"name":"Microsoft Corporation"},"version":"1.0.0-alpha.20230210.1","description":"A client library for the Azure Personalizer service.","keywords":["node","azure","cloud","typescript","browser","isomorphic","personalizer","reinforcement learning","contextual bandit"],"license":"MIT","main":"dist/index.js","module":"./dist-esm/src/index.js","types":"./types/ai-personalizer.d.ts","homepage":"https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-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"},"//metadata":{"constantPaths":[{"path":"swagger/README.md","prefix":"package-version"}]},"engines":{"node":">=14.0.0"},"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 skipped.","build:test":"tsc -p . && dev-tool run bundle","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":"echo skipped","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":"dev-tool run test:browser","integration-test:node":"dev-tool run test:node-js-input -- --timeout 5000000 'dist-esm/test/**/*.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":"npm run unit-test:node && npm run unit-test:browser","unit-test:node":"dev-tool run test:node-ts-input -- --timeout 1200000 --exclude 'test/**/browser/*.spec.ts' 'test/**/*.spec.ts'","unit-test:browser":"dev-tool run test:browser","build":"npm run clean && tsc -p . && dev-tool run bundle && mkdirp ./review && api-extractor run --local"},"sideEffects":false,"autoPublish":false,"dependencies":{"@azure/core-auth":"^1.3.0","@azure-rest/core-client":"^1.0.0","@azure/core-rest-pipeline":"^1.8.0","@azure/logger":"^1.0.0","tslib":"^2.2.0"},"devDependencies":{"@microsoft/api-extractor":"^7.31.1","autorest":"latest","@types/node":"^14.0.0","dotenv":"^16.0.0","eslint":"^7.15.0","mkdirp":"^1.0.4","prettier":"^2.5.1","rimraf":"^3.0.0","source-map-support":"^0.5.9","typescript":"~4.8.0","@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-tools/test-credential":"^1.0.0","@azure/identity":"^2.0.1","@azure-tools/test-recorder":"^2.0.0","mocha":"^7.1.1","mocha-junit-reporter":"^1.18.0","cross-env":"^7.0.2","@types/chai":"^4.2.8","chai":"^4.2.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-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","nyc":"^15.0.0"},"//sampleConfiguration":{"productName":"Azure Personalizer","productSlugs":["azure","azure-cognitive-services","azure-personalizer"],"disableDocsMs":true,"apiRefLink":"https://docs.microsoft.com/azure/cognitive-services/personalizer/"},"readme":"# Azure Personalizer client library for JavaScript\n\nPersonalizer Client\n\n**Please rely heavily on our [REST client docs](https://github.com/Azure/azure-sdk-for-js/blob/main/documentation/rest-clients.md) to use this library**\n\nKey links:\n\n- [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-rest)\n- [Package (NPM)](https://www.npmjs.com/package/@azure-rest/ai-personalizer)\n- [API reference documentation](https://docs.microsoft.com/javascript/api/)\n- [Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-rest/samples/v1-beta/javascript)\n## Getting started\n\n### Currently supported environments\n\n- [LTS versions of Node.js](https://github.com/nodejs/release#release-schedule)\n- Latest versions of Safari, Chrome, Edge, and Firefox.\n\nSee our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details.\n\n### Prerequisites\n\n- You must have an [Azure subscription](https://azure.microsoft.com/free/) to use this package.\n\n### Install the `@azure-rest/ai-personalizer` package\n\nInstall the Azure Personalizer client REST client library for JavaScript with `npm`:\n\n```bash\nnpm install @azure-rest/ai-personalizer\n```\n\n### Create and authenticate a `PersonalizerClient`\n\nTo use an [Azure Active Directory (AAD) token credential](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token),\nprovide an instance of the desired credential type obtained from the\n[@azure/identity](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#credentials) library.\n\nTo authenticate with AAD, you must first `npm` install [`@azure/identity`](https://www.npmjs.com/package/@azure/identity) \n\nAfter setup, you can choose which type of [credential](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#credentials) from `@azure/identity` to use.\nAs an example, [DefaultAzureCredential](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#defaultazurecredential)\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\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","readmeFilename":"README.md","_id":"@azure-rest/ai-personalizer@1.0.0-alpha.20230210.1","_integrity":"sha512-1fFti18fZ8ns+gcLvvVboFtNS+VR/7lMQ0WzlhHZewbL1G/61U2fD4r3ZbQvguX9OndWbq3L0HVbSGTTBpWlmw==","_resolved":"/mnt/vss/_work/1/packages/azure-rest-ai-personalizer/azure-rest-ai-personalizer-1.0.0-alpha.20230210.1.tgz","_from":"file:/mnt/vss/_work/1/packages/azure-rest-ai-personalizer/azure-rest-ai-personalizer-1.0.0-alpha.20230210.1.tgz","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-1fFti18fZ8ns+gcLvvVboFtNS+VR/7lMQ0WzlhHZewbL1G/61U2fD4r3ZbQvguX9OndWbq3L0HVbSGTTBpWlmw==","shasum":"32cd117e0d1f5e10d17cc1100e6ec812e69bfc78","tarball":"https://registry.npmjs.org/@azure-rest/ai-personalizer/-/ai-personalizer-1.0.0-alpha.20230210.1.tgz","fileCount":22,"unpackedSize":141622,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCSONl6ZlAVs2Ss5KdTZz+B4OuGXdiGPRteBWTZTFWBzQIgCYWz/ZqHCcQqHROZ2JtMWkPJYVmrAWmqpN4qQMK1jr8="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj5yg1ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoGYxAAgUIAC2vPiZME+FeaqJjrAhnAkWX+XqHO2oLbvKYpD9zhZnuz\r\nvNkvUfATWD9YjUdlHnr2kQ4LLBOg4J+nbEyidWgm7mefvviGflWs7SpVrOnE\r\n5CDjHG+QLL7q554W65qMOKAxIlNAKgycPYppcBx1Uy1+j+I4Pv5xU2nftq3M\r\nkavMfEISeL+/GnQNF5lRicAyrAjBe+PLWOBAQEswY7dLFxVfJxWNqFTqvJFk\r\nadcWkQBOXx76AGANmzblpDh62/i08HQuMPSbLUuG8w2PllhpaHG9S2kmibn6\r\nnsa5bNJNJWtwxROzx4pNs5VFh6yNBQaK6RFN7eW/Z47enHB+jF1taOnvQBka\r\nvb5nsdW7Yx6oCltdPNToOfzQMyXKJwtF7IZUeAqr26BlfODHf2aZbK/OJR/j\r\nvg85eHm4XK+ZELBkfEXHe/EyuYLV31wRzlLqx4KDomxFadz+kMYcnilnKJtN\r\nbYxb5oVWp33FUh6od6Nyx41t1DZJrU3/fuHRVu9apXkweiSmdIwJ24IB6aJ1\r\nRyfrHnSfM85ggBaqF8zQF1YzyiGROx3eMME2rU0i3PVB8Z5xMBejYPloOUb3\r\nNrte0OeOQCqnnBALUU7cWxGm9mFuH3ccxSpcZWv50jqWLB32I9UjCLiPUgF4\r\nhyFBNeUM8PWFNO8BNoFob+iNiHX/w/uL0Z0=\r\n=Ojnc\r\n-----END PGP SIGNATURE-----\r\n"},"_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/ai-personalizer_1.0.0-alpha.20230210.1_1676093492977_0.7468566814478763"},"_hasShrinkwrap":false,"deprecated":"Service has been deprecated; see https://learn.microsoft.com/en-us/azure/ai-services/personalizer/frequently-asked-questions"},"1.0.0-alpha.20230302.1":{"name":"@azure-rest/ai-personalizer","sdk-type":"client","author":{"name":"Microsoft Corporation"},"version":"1.0.0-alpha.20230302.1","description":"A client library for the Azure Personalizer service.","keywords":["node","azure","cloud","typescript","browser","isomorphic","personalizer","reinforcement learning","contextual bandit"],"license":"MIT","main":"dist/index.js","module":"./dist-esm/src/index.js","types":"./types/ai-personalizer.d.ts","homepage":"https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-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"},"//metadata":{"constantPaths":[{"path":"swagger/README.md","prefix":"package-version"}]},"engines":{"node":">=14.0.0"},"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 skipped.","build:test":"tsc -p . && dev-tool run bundle","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":"echo skipped","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":"dev-tool run test:browser","integration-test:node":"dev-tool run test:node-js-input -- --timeout 5000000 'dist-esm/test/**/*.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":"npm run unit-test:node && npm run unit-test:browser","unit-test:node":"dev-tool run test:node-ts-input -- --timeout 1200000 --exclude 'test/**/browser/*.spec.ts' 'test/**/*.spec.ts'","unit-test:browser":"dev-tool run test:browser","build":"npm run clean && tsc -p . && dev-tool run bundle && mkdirp ./review && api-extractor run --local"},"sideEffects":false,"autoPublish":false,"dependencies":{"@azure/core-auth":"^1.3.0","@azure-rest/core-client":"^1.0.0","@azure/core-rest-pipeline":"^1.8.0","@azure/logger":"^1.0.0","tslib":"^2.2.0"},"devDependencies":{"@microsoft/api-extractor":"^7.31.1","autorest":"latest","@types/node":"^14.0.0","dotenv":"^16.0.0","eslint":"^7.15.0","mkdirp":"^1.0.4","prettier":"^2.5.1","rimraf":"^3.0.0","source-map-support":"^0.5.9","typescript":"~4.8.0","@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-tools/test-credential":"^1.0.0","@azure/identity":"^2.0.1","@azure-tools/test-recorder":">=3.0.0-alpha <3.0.0-alphb","mocha":"^7.1.1","mocha-junit-reporter":"^1.18.0","cross-env":"^7.0.2","@types/chai":"^4.2.8","chai":"^4.2.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-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","nyc":"^15.0.0"},"//sampleConfiguration":{"productName":"Azure Personalizer","productSlugs":["azure","azure-cognitive-services","azure-personalizer"],"disableDocsMs":true,"apiRefLink":"https://docs.microsoft.com/azure/cognitive-services/personalizer/"},"readme":"# Azure Personalizer client library for JavaScript\n\nPersonalizer Client\n\n**Please rely heavily on our [REST client docs](https://github.com/Azure/azure-sdk-for-js/blob/main/documentation/rest-clients.md) to use this library**\n\nKey links:\n\n- [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-rest)\n- [Package (NPM)](https://www.npmjs.com/package/@azure-rest/ai-personalizer)\n- [API reference documentation](https://docs.microsoft.com/javascript/api/)\n- [Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-rest/samples/v1-beta/javascript)\n## Getting started\n\n### Currently supported environments\n\n- [LTS versions of Node.js](https://github.com/nodejs/release#release-schedule)\n- Latest versions of Safari, Chrome, Edge, and Firefox.\n\nSee our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details.\n\n### Prerequisites\n\n- You must have an [Azure subscription](https://azure.microsoft.com/free/) to use this package.\n\n### Install the `@azure-rest/ai-personalizer` package\n\nInstall the Azure Personalizer client REST client library for JavaScript with `npm`:\n\n```bash\nnpm install @azure-rest/ai-personalizer\n```\n\n### Create and authenticate a `PersonalizerClient`\n\nTo use an [Azure Active Directory (AAD) token credential](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token),\nprovide an instance of the desired credential type obtained from the\n[@azure/identity](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#credentials) library.\n\nTo authenticate with AAD, you must first `npm` install [`@azure/identity`](https://www.npmjs.com/package/@azure/identity) \n\nAfter setup, you can choose which type of [credential](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#credentials) from `@azure/identity` to use.\nAs an example, [DefaultAzureCredential](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#defaultazurecredential)\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\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","readmeFilename":"README.md","_id":"@azure-rest/ai-personalizer@1.0.0-alpha.20230302.1","_integrity":"sha512-5oTUYYNx6yGkGL4/0aKsMbTyvRiJUYE7309DDoEcOlMBYsmTDpOZOObsdq0wsFfC5gS+Hpf6dXquhzuMvFjIjQ==","_resolved":"/mnt/vss/_work/1/packages/azure-rest-ai-personalizer/azure-rest-ai-personalizer-1.0.0-alpha.20230302.1.tgz","_from":"file:/mnt/vss/_work/1/packages/azure-rest-ai-personalizer/azure-rest-ai-personalizer-1.0.0-alpha.20230302.1.tgz","_nodeVersion":"18.14.1","_npmVersion":"9.3.1","dist":{"integrity":"sha512-5oTUYYNx6yGkGL4/0aKsMbTyvRiJUYE7309DDoEcOlMBYsmTDpOZOObsdq0wsFfC5gS+Hpf6dXquhzuMvFjIjQ==","shasum":"942824b605bd0bcd14adce23243e3d3a34191fca","tarball":"https://registry.npmjs.org/@azure-rest/ai-personalizer/-/ai-personalizer-1.0.0-alpha.20230302.1.tgz","fileCount":22,"unpackedSize":141642,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEptTpne7BROby4mrvF6LmRU0HWbyVusmdoINw/I/7sdAiAW8Css9bhSNDqaOhTbrw/4isnmdNKFf+hmSK0KtULSVw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkAYYGACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo8qA//fNFRlA+ltfT8lq+8R3Dkmpmk2TcRzmE8/DFNzKcV5iyvC/8T\r\n/Ol5S0UHQyIsMLThcYBiRPH2vTH1CW/mLw/J8NtulRbcDbUfkRUrFgiQAqMX\r\nvU+qeMnRnjDtqpTnwLJHxRLr36QXOg91mtMQtMKhUlpO8333oomApBO9V7DB\r\n/lFqX/753GG57FGrVckr+soIZ1gYvGc1nldt/1G5PXRsdnk3rXYusekf0od7\r\np2U7/TnpuGjcZwjli+gwrXgn+UImwsQQwAhHotH8b7KJotWNVtFflKBBNeBH\r\n0m5+O1b4gMD+JIyhe/Vluyna9qbt1g1z3FyJnYLxnjPJSsW2DxAxu/Shn02H\r\nU2zjH/NU5faVA/meSvaDwRYxq7e0VkyZIWeHBdBxo+DG/5goqEMANNVOg/H+\r\nnv+z3l2FFxG0Gd/pfAVVinKskLL8tdWqMTQNbHyiPQWmIqpvSM8RnA/MURiM\r\nD94lWfciIRZ3Z/ZVyEUsJmcjal9zOnbgaYSN7Mae6epaIDrwkFiJiUfuSjiY\r\nM6I86XVKffhceXFFCHCp2FRt06MecxL/q42nKE1J1ZOaMZOmQepzS9gdUfSS\r\nnTw3+fNVuTyKJWz+rHaCm2kvpIJNgX8rvyX/OZMOEQTtQWby6mPkh7MDc/zH\r\nsGAxcAJ0D4yLBypS44hMLPnPUAX87gpkITA=\r\n=trXg\r\n-----END PGP SIGNATURE-----\r\n"},"_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/ai-personalizer_1.0.0-alpha.20230302.1_1677821446127_0.10817691665791762"},"_hasShrinkwrap":false,"deprecated":"Service has been deprecated; see https://learn.microsoft.com/en-us/azure/ai-services/personalizer/frequently-asked-questions"},"1.0.0-alpha.20230306.1":{"name":"@azure-rest/ai-personalizer","sdk-type":"client","author":{"name":"Microsoft Corporation"},"version":"1.0.0-alpha.20230306.1","description":"A client library for the Azure Personalizer service.","keywords":["node","azure","cloud","typescript","browser","isomorphic","personalizer","reinforcement learning","contextual bandit"],"license":"MIT","main":"dist/index.js","module":"./dist-esm/src/index.js","types":"./types/ai-personalizer.d.ts","homepage":"https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-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"},"//metadata":{"constantPaths":[{"path":"swagger/README.md","prefix":"package-version"}]},"engines":{"node":">=14.0.0"},"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 skipped.","build:test":"tsc -p . && dev-tool run bundle","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":"echo skipped","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":"dev-tool run test:browser","integration-test:node":"dev-tool run test:node-js-input -- --timeout 5000000 'dist-esm/test/**/*.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":"npm run unit-test:node && npm run unit-test:browser","unit-test:node":"dev-tool run test:node-ts-input -- --timeout 1200000 --exclude 'test/**/browser/*.spec.ts' 'test/**/*.spec.ts'","unit-test:browser":"dev-tool run test:browser","build":"npm run clean && tsc -p . && dev-tool run bundle && mkdirp ./review && api-extractor run --local"},"sideEffects":false,"autoPublish":false,"dependencies":{"@azure/core-auth":"^1.3.0","@azure-rest/core-client":"^1.0.0","@azure/core-rest-pipeline":"^1.8.0","@azure/logger":"^1.0.0","tslib":"^2.2.0"},"devDependencies":{"@microsoft/api-extractor":"^7.31.1","autorest":"latest","@types/node":"^14.0.0","dotenv":"^16.0.0","eslint":"^7.15.0","mkdirp":"^1.0.4","prettier":"^2.5.1","rimraf":"^3.0.0","source-map-support":"^0.5.9","typescript":"~4.8.0","@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-tools/test-credential":"^1.0.0","@azure/identity":"^2.0.1","@azure-tools/test-recorder":">=3.0.0-alpha <3.0.0-alphb","mocha":"^7.1.1","mocha-junit-reporter":"^1.18.0","cross-env":"^7.0.2","@types/chai":"^4.2.8","chai":"^4.2.0","karma-chrome-launcher":"^3.0.0","karma-coverage":"^2.0.0","karma-env-preprocessor":"^0.1.1","karma-firefox-launcher":"^1.1.0","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","nyc":"^15.0.0"},"//sampleConfiguration":{"productName":"Azure Personalizer","productSlugs":["azure","azure-cognitive-services","azure-personalizer"],"disableDocsMs":true,"apiRefLink":"https://docs.microsoft.com/azure/cognitive-services/personalizer/"},"readme":"# Azure Personalizer client library for JavaScript\n\nPersonalizer Client\n\n**Please rely heavily on our [REST client docs](https://github.com/Azure/azure-sdk-for-js/blob/main/documentation/rest-clients.md) to use this library**\n\nKey links:\n\n- [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-rest)\n- [Package (NPM)](https://www.npmjs.com/package/@azure-rest/ai-personalizer)\n- [API reference documentation](https://docs.microsoft.com/javascript/api/)\n- [Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-rest/samples/v1-beta/javascript)\n## Getting started\n\n### Currently supported environments\n\n- [LTS versions of Node.js](https://github.com/nodejs/release#release-schedule)\n- Latest versions of Safari, Chrome, Edge, and Firefox.\n\nSee our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details.\n\n### Prerequisites\n\n- You must have an [Azure subscription](https://azure.microsoft.com/free/) to use this package.\n\n### Install the `@azure-rest/ai-personalizer` package\n\nInstall the Azure Personalizer client REST client library for JavaScript with `npm`:\n\n```bash\nnpm install @azure-rest/ai-personalizer\n```\n\n### Create and authenticate a `PersonalizerClient`\n\nTo use an [Azure Active Directory (AAD) token credential](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token),\nprovide an instance of the desired credential type obtained from the\n[@azure/identity](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#credentials) library.\n\nTo authenticate with AAD, you must first `npm` install [`@azure/identity`](https://www.npmjs.com/package/@azure/identity) \n\nAfter setup, you can choose which type of [credential](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#credentials) from `@azure/identity` to use.\nAs an example, [DefaultAzureCredential](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#defaultazurecredential)\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\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","readmeFilename":"README.md","_id":"@azure-rest/ai-personalizer@1.0.0-alpha.20230306.1","_integrity":"sha512-+JVEdkiw9vBp72iXX6bL/pwZ6o8MvsByHP5qbKZD2/CQIcuP02VsJzHGGhOkjhZm2psufq71Hh+uzfsE25FXyA==","_resolved":"/mnt/vss/_work/1/packages/azure-rest-ai-personalizer/azure-rest-ai-personalizer-1.0.0-alpha.20230306.1.tgz","_from":"file:/mnt/vss/_work/1/packages/azure-rest-ai-personalizer/azure-rest-ai-personalizer-1.0.0-alpha.20230306.1.tgz","_nodeVersion":"18.14.1","_npmVersion":"9.3.1","dist":{"integrity":"sha512-+JVEdkiw9vBp72iXX6bL/pwZ6o8MvsByHP5qbKZD2/CQIcuP02VsJzHGGhOkjhZm2psufq71Hh+uzfsE25FXyA==","shasum":"56bd839793e949da06ce03bdd5f3e05f75c1bffa","tarball":"https://registry.npmjs.org/@azure-rest/ai-personalizer/-/ai-personalizer-1.0.0-alpha.20230306.1.tgz","fileCount":22,"unpackedSize":141570,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDRVIY5Xa04sXC79ZhU+T3uOWSwUlNIp9lTAEg+3oqlrgIgMfNAgDgrw0+7agxzUB4l9SxyBkWfMnrdIZ5q86DFKgU="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkBtF1ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq6rQ/5AbY7Dci6Ho3JSscrm/fN5wKiK3AkMbl2BWeDOSa5zpSTAr2Q\r\nzvF/Xd6+5/97PfUPhyqMtIUa8ocnlNY68mpi8emk2wixkWUt3oD65UqrQRK8\r\n/GkVH60PbBvPm8Siig2RNp7fysI6RPKTOF9dH8ZxYQjutbu6i7NXvd6ubDC5\r\nDKP+zYNX0FmepsvmIuoKDJKDuA3KZ9hH2LIXd9PrVT5In3HzoD/XUl0JNpuI\r\ntnCoiaz0zvLTKYbItPmKE9RcwPAy0+8xV+bRWPve+iQMrUTZ4JFmdPDH1V33\r\nah1jvqNzgx9PRH1huzyXPTjR3npv/qdno3jXfAShg0cZS/FGhuXAISyr5/v1\r\nfJggaY5w6DeAKk1/uS7ryBjNa3ZNZC2OvYrAnLiydnmDcjqcPmarCQQ4HwMW\r\nxf6DJ90a2IKZp+nZ6lS7enyBZ6Vftl6LeJw94aUaBuH0rGNgyHlBxendGp91\r\nVm1jUA8kf43pONPcfxnplyemeocoGQsYCm7sqGTajJ8mOqUKgrcTqAjHy1zO\r\nKK8x0gnQqJjWSyKTGwPbE0NbN17TS8zKF8tPJzN91ydzoqTglPpiik9FNoMr\r\n+R23N/ckDAZQU+tNOD/wLV77KqSiePZC6YSpILuSKV7FVcREwhgTP2M555Yb\r\nMdqmj8jAKGkue8QButCBga11Je2yciXwidU=\r\n=Dni6\r\n-----END PGP SIGNATURE-----\r\n"},"_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/ai-personalizer_1.0.0-alpha.20230306.1_1678168437458_0.2286435458132432"},"_hasShrinkwrap":false,"deprecated":"Service has been deprecated; see https://learn.microsoft.com/en-us/azure/ai-services/personalizer/frequently-asked-questions"},"1.0.0-alpha.20230320.1":{"name":"@azure-rest/ai-personalizer","sdk-type":"client","author":{"name":"Microsoft Corporation"},"version":"1.0.0-alpha.20230320.1","description":"A client library for the Azure Personalizer service.","keywords":["node","azure","cloud","typescript","browser","isomorphic","personalizer","reinforcement learning","contextual bandit"],"license":"MIT","main":"dist/index.js","module":"./dist-esm/src/index.js","types":"./types/ai-personalizer.d.ts","homepage":"https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-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"},"//metadata":{"constantPaths":[{"path":"swagger/README.md","prefix":"package-version"}]},"engines":{"node":">=14.0.0"},"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 skipped.","build:test":"tsc -p . && dev-tool run bundle","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":"echo skipped","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":"dev-tool run test:browser","integration-test:node":"dev-tool run test:node-js-input -- --timeout 5000000 'dist-esm/test/**/*.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":"npm run unit-test:node && npm run unit-test:browser","unit-test:node":"dev-tool run test:node-ts-input -- --timeout 1200000 --exclude 'test/**/browser/*.spec.ts' 'test/**/*.spec.ts'","unit-test:browser":"dev-tool run test:browser","build":"npm run clean && tsc -p . && dev-tool run bundle && mkdirp ./review && api-extractor run --local"},"sideEffects":false,"autoPublish":false,"dependencies":{"@azure/core-auth":"^1.3.0","@azure-rest/core-client":"^1.0.0","@azure/core-rest-pipeline":"^1.8.0","@azure/logger":"^1.0.0","tslib":"^2.2.0"},"devDependencies":{"@microsoft/api-extractor":"^7.31.1","autorest":"latest","@types/node":"^14.0.0","dotenv":"^16.0.0","eslint":"^7.15.0","mkdirp":"^1.0.4","prettier":"^2.5.1","rimraf":"^3.0.0","source-map-support":"^0.5.9","typescript":"~4.8.0","@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-tools/test-credential":"^1.0.0","@azure/identity":"^2.0.1","@azure-tools/test-recorder":"^3.0.0","mocha":"^7.1.1","mocha-junit-reporter":"^1.18.0","cross-env":"^7.0.2","@types/chai":"^4.2.8","chai":"^4.2.0","karma-chrome-launcher":"^3.0.0","karma-coverage":"^2.0.0","karma-env-preprocessor":"^0.1.1","karma-firefox-launcher":"^1.1.0","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","nyc":"^15.0.0"},"//sampleConfiguration":{"productName":"Azure Personalizer","productSlugs":["azure","azure-cognitive-services","azure-personalizer"],"disableDocsMs":true,"apiRefLink":"https://docs.microsoft.com/azure/cognitive-services/personalizer/"},"readme":"# Azure Personalizer client library for JavaScript\n\nPersonalizer Client\n\n**Please rely heavily on our [REST client docs](https://github.com/Azure/azure-sdk-for-js/blob/main/documentation/rest-clients.md) to use this library**\n\nKey links:\n\n- [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-rest)\n- [Package (NPM)](https://www.npmjs.com/package/@azure-rest/ai-personalizer)\n- [API reference documentation](https://docs.microsoft.com/javascript/api/)\n- [Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-rest/samples/v1-beta/javascript)\n## Getting started\n\n### Currently supported environments\n\n- [LTS versions of Node.js](https://github.com/nodejs/release#release-schedule)\n- Latest versions of Safari, Chrome, Edge, and Firefox.\n\nSee our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details.\n\n### Prerequisites\n\n- You must have an [Azure subscription](https://azure.microsoft.com/free/) to use this package.\n\n### Install the `@azure-rest/ai-personalizer` package\n\nInstall the Azure Personalizer client REST client library for JavaScript with `npm`:\n\n```bash\nnpm install @azure-rest/ai-personalizer\n```\n\n### Create and authenticate a `PersonalizerClient`\n\nTo use an [Azure Active Directory (AAD) token credential](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token),\nprovide an instance of the desired credential type obtained from the\n[@azure/identity](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#credentials) library.\n\nTo authenticate with AAD, you must first `npm` install [`@azure/identity`](https://www.npmjs.com/package/@azure/identity) \n\nAfter setup, you can choose which type of [credential](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#credentials) from `@azure/identity` to use.\nAs an example, [DefaultAzureCredential](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#defaultazurecredential)\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\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","readmeFilename":"README.md","_id":"@azure-rest/ai-personalizer@1.0.0-alpha.20230320.1","_integrity":"sha512-B0xL3r/EW98V8/j6qjidfAqWmygR7lmB2Pz0aYxJdVaullpaJ7s0ZQaG90x2vo3QmGLzw1adZrhNRNx2MwAMdw==","_resolved":"/mnt/vss/_work/1/packages/azure-rest-ai-personalizer/azure-rest-ai-personalizer-1.0.0-alpha.20230320.1.tgz","_from":"file:/mnt/vss/_work/1/packages/azure-rest-ai-personalizer/azure-rest-ai-personalizer-1.0.0-alpha.20230320.1.tgz","_nodeVersion":"18.15.0","_npmVersion":"9.5.0","dist":{"integrity":"sha512-B0xL3r/EW98V8/j6qjidfAqWmygR7lmB2Pz0aYxJdVaullpaJ7s0ZQaG90x2vo3QmGLzw1adZrhNRNx2MwAMdw==","shasum":"11d8cbe9f13de0263e62d09e6a6348fe0dbbccd9","tarball":"https://registry.npmjs.org/@azure-rest/ai-personalizer/-/ai-personalizer-1.0.0-alpha.20230320.1.tgz","fileCount":22,"unpackedSize":141550,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBE8VU7emOWWB5gNweSTZGzIBDGJNg+nT6rd0m6D1dO+AiBmnEVxtNMNEeTnlmkgzG6DSEYEq6OrSlIarqcTMJFm5A=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkGTN+ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoM8Q/9EgSIyNwsaNNeGY9JrZdsHBHhlPwegz1HLp3C/mmR8w70Ub/D\r\nJbuedtj0s5wN1/dbkCfxoeKe5WN03OSCo2pPmzSvwXKsGHO5Jz4DLPBu3z39\r\nrVW3cJvJ+bW1sUOfMgvgVHCIGraJRPd2YALgCCKpsqBRmXOuIQn9YF9Bb2IZ\r\nbJpIGYDnNrLwg/jxp3yF1MuY6GFWWbzB6EbRcbZ/vc0cMBfmKOUpOTkqfJGh\r\nDPuf5xoyCS2YoS2ACuuPLLhhbqS1N25g2+BKrxr7DQvIN51JH18tEJfDehts\r\nV6OwNOd2O/588/mE6HRNBgYDTiF0lsoxELdjZUuNIEznvDVaHn1UnUOA/eY6\r\n3pknoGl0F3k+7ObtJkINuszJsc3iNjPPAIp1gdJE6ahEnMJplj9I1D7fqPO5\r\npIcJZ4qWosZOFeaDjjopzzRHLaBd5pFZ9Sa4X+1woYGbqQpVCchi6ALgbMgN\r\nynP4CxFutJIwEBpwUR8HufmbeBjEswoN9YW4Q/e1isXxhGwyh6T870j2fk3A\r\nM5FcyHVQp+QJvsK34o++bH58Z7GwdSnw9joQoPZZwYBbuwvdqUATkJvzpeUT\r\nCrfBsW5iRBSnbSbd76mxscxu2/wX8iyxSCcyUzfv7gwddRsZiP3K49H4XTB/\r\nPflN3XT/rcf9BWQTIlnFUVR9FgGtgyyFOJk=\r\n=Eevk\r\n-----END PGP SIGNATURE-----\r\n"},"_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/ai-personalizer_1.0.0-alpha.20230320.1_1679373182791_0.0016880845605711237"},"_hasShrinkwrap":false,"deprecated":"Service has been deprecated; see https://learn.microsoft.com/en-us/azure/ai-services/personalizer/frequently-asked-questions"},"1.0.0-alpha.20230418.1":{"name":"@azure-rest/ai-personalizer","sdk-type":"client","author":{"name":"Microsoft Corporation"},"version":"1.0.0-alpha.20230418.1","description":"A client library for the Azure Personalizer service.","keywords":["node","azure","cloud","typescript","browser","isomorphic","personalizer","reinforcement learning","contextual bandit"],"license":"MIT","main":"dist/index.js","module":"./dist-esm/src/index.js","types":"./types/ai-personalizer.d.ts","homepage":"https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-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"},"//metadata":{"constantPaths":[{"path":"swagger/README.md","prefix":"package-version"}]},"engines":{"node":">=14.0.0"},"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 skipped.","build:test":"tsc -p . && dev-tool run bundle","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":"echo skipped","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":"dev-tool run test:browser","integration-test:node":"dev-tool run test:node-js-input -- --timeout 5000000 'dist-esm/test/**/*.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":"npm run unit-test:node && npm run unit-test:browser","unit-test:node":"dev-tool run test:node-ts-input -- --timeout 1200000 --exclude 'test/**/browser/*.spec.ts' 'test/**/*.spec.ts'","unit-test:browser":"dev-tool run test:browser","build":"npm run clean && tsc -p . && dev-tool run bundle && mkdirp ./review && api-extractor run --local"},"sideEffects":false,"autoPublish":false,"dependencies":{"@azure/core-auth":"^1.3.0","@azure-rest/core-client":"^1.0.0","@azure/core-rest-pipeline":"^1.8.0","@azure/logger":"^1.0.0","tslib":"^2.2.0"},"devDependencies":{"@microsoft/api-extractor":"^7.31.1","autorest":"latest","@types/node":"^14.0.0","dotenv":"^16.0.0","eslint":"^7.15.0","mkdirp":"^1.0.4","prettier":"^2.5.1","rimraf":"^3.0.0","source-map-support":"^0.5.9","typescript":"~5.0.0","@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-tools/test-credential":"^1.0.0","@azure/identity":"^2.0.1","@azure-tools/test-recorder":"^3.0.0","mocha":"^7.1.1","mocha-junit-reporter":"^1.18.0","cross-env":"^7.0.2","@types/chai":"^4.2.8","chai":"^4.2.0","karma-chrome-launcher":"^3.0.0","karma-coverage":"^2.0.0","karma-env-preprocessor":"^0.1.1","karma-firefox-launcher":"^1.1.0","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","nyc":"^15.0.0"},"//sampleConfiguration":{"productName":"Azure Personalizer","productSlugs":["azure","azure-cognitive-services","azure-personalizer"],"disableDocsMs":true,"apiRefLink":"https://docs.microsoft.com/azure/cognitive-services/personalizer/"},"readme":"# Azure Personalizer client library for JavaScript\n\nPersonalizer Client\n\n**Please rely heavily on our [REST client docs](https://github.com/Azure/azure-sdk-for-js/blob/main/documentation/rest-clients.md) to use this library**\n\nKey links:\n\n- [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-rest)\n- [Package (NPM)](https://www.npmjs.com/package/@azure-rest/ai-personalizer)\n- [API reference documentation](https://docs.microsoft.com/javascript/api/)\n- [Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-rest/samples/v1-beta/javascript)\n## Getting started\n\n### Currently supported environments\n\n- [LTS versions of Node.js](https://github.com/nodejs/release#release-schedule)\n- Latest versions of Safari, Chrome, Edge, and Firefox.\n\nSee our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details.\n\n### Prerequisites\n\n- You must have an [Azure subscription](https://azure.microsoft.com/free/) to use this package.\n\n### Install the `@azure-rest/ai-personalizer` package\n\nInstall the Azure Personalizer client REST client library for JavaScript with `npm`:\n\n```bash\nnpm install @azure-rest/ai-personalizer\n```\n\n### Create and authenticate a `PersonalizerClient`\n\nTo use an [Azure Active Directory (AAD) token credential](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token),\nprovide an instance of the desired credential type obtained from the\n[@azure/identity](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#credentials) library.\n\nTo authenticate with AAD, you must first `npm` install [`@azure/identity`](https://www.npmjs.com/package/@azure/identity) \n\nAfter setup, you can choose which type of [credential](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#credentials) from `@azure/identity` to use.\nAs an example, [DefaultAzureCredential](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#defaultazurecredential)\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\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","readmeFilename":"README.md","_id":"@azure-rest/ai-personalizer@1.0.0-alpha.20230418.1","_integrity":"sha512-YpMbKAJyNYpaC5oKdrJUcrcWasVZP5IOZFs9iA97PKQs5EVT7f+/DWZJh6trKkgJ/tjDrc1+6lxTOSn8He1tRQ==","_resolved":"/mnt/vss/_work/1/packages/azure-rest-ai-personalizer/azure-rest-ai-personalizer-1.0.0-alpha.20230418.1.tgz","_from":"file:/mnt/vss/_work/1/packages/azure-rest-ai-personalizer/azure-rest-ai-personalizer-1.0.0-alpha.20230418.1.tgz","_nodeVersion":"18.15.0","_npmVersion":"9.5.0","dist":{"integrity":"sha512-YpMbKAJyNYpaC5oKdrJUcrcWasVZP5IOZFs9iA97PKQs5EVT7f+/DWZJh6trKkgJ/tjDrc1+6lxTOSn8He1tRQ==","shasum":"193698e4fc2aaab0f84feac10cfee065cfd2f195","tarball":"https://registry.npmjs.org/@azure-rest/ai-personalizer/-/ai-personalizer-1.0.0-alpha.20230418.1.tgz","fileCount":22,"unpackedSize":141550,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDvPewl43lqy/eVUsRg70lySekBQ0LR/+5z0MgZwoCTkAiByT7XJ3fZS44GJx5a6a6NruBWJFZHYbdQFXvF1M4FXRw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkP275ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpaIA/+M0GKiIeFJ7tEkf6TH1PEL2XbO6/5hVruIZhp18euRpg3yzmR\r\nGk9fEregoG2F20t/JTRpvw1pV2ldbU0B9xZiQjikeyWSwYPNHqsF4cMq9vNz\r\nuplGLdDIgZStF/G1y6vU0VJjzaEtNAGA+Uos8oRYPm45jHWHeTNJa8XrNQid\r\niJh267yv1NqILo4NgoV6kD2/E8t9dyiWxDYCCcPFyfaxpZc8lcXCU0wFt2ie\r\n03OVo5UP5EEVXQf94zEw9IkNpNpjunRADagJ32Auw6phSk2FwIPCYJuUe/XY\r\n/83n8DjL5Ku4E20Unkz05tJswCjgE8eNEmPeYxlsw/l5QYDSaagvlambNCge\r\nvW5Rp6OrwUrxlak+aOtcn/uPxVHIldYmeSnepC1w2bnZU7B+o7kWNdaw+Xxd\r\nwxyKtx6R+HxQUq6RO8/h62S94p0ZMNO1TgE53EJ9jtlFwfMTewc6TJV66scy\r\neMIdt/IZYyxInOSpx3YOt+SwhKeaXwIJ6KMMjERj1pPbNJecZYzUhS+HXpim\r\n/1pekq8NmMX4JwJ7WjrbqT2VohK5ibB2vzkl/7ny0HLhcgJCcs+rKH7TKA9Q\r\n1w0zZNmDCGPEe8G/qIfNW0/b3yGsCMhiry4JGRAKpDRwVw4lF3HpLEVH7ehr\r\nskM/Trz73D3zOJT0PoiKYG1yRf2Od3VuvM4=\r\n=Z3u3\r\n-----END PGP SIGNATURE-----\r\n"},"_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/ai-personalizer_1.0.0-alpha.20230418.1_1681878777775_0.5632071121780833"},"_hasShrinkwrap":false,"deprecated":"Service has been deprecated; see https://learn.microsoft.com/en-us/azure/ai-services/personalizer/frequently-asked-questions"},"1.0.0-alpha.20230508.2":{"name":"@azure-rest/ai-personalizer","sdk-type":"client","author":{"name":"Microsoft Corporation"},"version":"1.0.0-alpha.20230508.2","description":"A client library for the Azure Personalizer service.","keywords":["node","azure","cloud","typescript","browser","isomorphic","personalizer","reinforcement learning","contextual bandit"],"license":"MIT","main":"dist/index.js","module":"./dist-esm/src/index.js","types":"./types/ai-personalizer.d.ts","homepage":"https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-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"},"//metadata":{"constantPaths":[{"path":"swagger/README.md","prefix":"package-version"}]},"engines":{"node":">=14.0.0"},"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 skipped.","build:test":"tsc -p . && dev-tool run bundle","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":"echo skipped","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":"dev-tool run test:browser","integration-test:node":"dev-tool run test:node-js-input -- --timeout 5000000 'dist-esm/test/**/*.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":"npm run unit-test:node && npm run unit-test:browser","unit-test:node":"dev-tool run test:node-ts-input -- --timeout 1200000 --exclude 'test/**/browser/*.spec.ts' 'test/**/*.spec.ts'","unit-test:browser":"dev-tool run test:browser","build":"npm run clean && tsc -p . && dev-tool run bundle && mkdirp ./review && api-extractor run --local"},"sideEffects":false,"autoPublish":false,"dependencies":{"@azure/core-auth":"^1.3.0","@azure-rest/core-client":"^1.0.0","@azure/core-rest-pipeline":"^1.8.0","@azure/logger":"^1.0.0","tslib":"^2.2.0"},"devDependencies":{"@microsoft/api-extractor":"^7.31.1","autorest":"latest","@types/node":"^14.0.0","dotenv":"^16.0.0","eslint":"^8.0.0","mkdirp":"^1.0.4","prettier":"^2.5.1","rimraf":"^3.0.0","source-map-support":"^0.5.9","typescript":"~5.0.0","@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-tools/test-credential":"^1.0.0","@azure/identity":"^2.0.1","@azure-tools/test-recorder":"^3.0.0","mocha":"^7.1.1","mocha-junit-reporter":"^1.18.0","cross-env":"^7.0.2","@types/chai":"^4.2.8","chai":"^4.2.0","karma-chrome-launcher":"^3.0.0","karma-coverage":"^2.0.0","karma-env-preprocessor":"^0.1.1","karma-firefox-launcher":"^1.1.0","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","nyc":"^15.0.0"},"//sampleConfiguration":{"productName":"Azure Personalizer","productSlugs":["azure","azure-cognitive-services","azure-personalizer"],"disableDocsMs":true,"apiRefLink":"https://docs.microsoft.com/azure/cognitive-services/personalizer/"},"readme":"# Azure Personalizer client library for JavaScript\n\nPersonalizer Client\n\n**Please rely heavily on our [REST client docs](https://github.com/Azure/azure-sdk-for-js/blob/main/documentation/rest-clients.md) to use this library**\n\nKey links:\n\n- [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-rest)\n- [Package (NPM)](https://www.npmjs.com/package/@azure-rest/ai-personalizer)\n- [API reference documentation](https://docs.microsoft.com/javascript/api/)\n- [Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-rest/samples/v1-beta/javascript)\n## Getting started\n\n### Currently supported environments\n\n- [LTS versions of Node.js](https://github.com/nodejs/release#release-schedule)\n- Latest versions of Safari, Chrome, Edge, and Firefox.\n\nSee our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details.\n\n### Prerequisites\n\n- You must have an [Azure subscription](https://azure.microsoft.com/free/) to use this package.\n\n### Install the `@azure-rest/ai-personalizer` package\n\nInstall the Azure Personalizer client REST client library for JavaScript with `npm`:\n\n```bash\nnpm install @azure-rest/ai-personalizer\n```\n\n### Create and authenticate a `PersonalizerClient`\n\nTo use an [Azure Active Directory (AAD) token credential](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token),\nprovide an instance of the desired credential type obtained from the\n[@azure/identity](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#credentials) library.\n\nTo authenticate with AAD, you must first `npm` install [`@azure/identity`](https://www.npmjs.com/package/@azure/identity) \n\nAfter setup, you can choose which type of [credential](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#credentials) from `@azure/identity` to use.\nAs an example, [DefaultAzureCredential](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#defaultazurecredential)\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\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","readmeFilename":"README.md","_id":"@azure-rest/ai-personalizer@1.0.0-alpha.20230508.2","_integrity":"sha512-ZrpLfPAIqFY+wqiFB/tA1tp7Dy8PHj+2lCvCJ6MunXAqThtmRAiG35/XgxZ5ibBfQW/kq2DbXygdv5r0THqRvw==","_resolved":"/mnt/vss/_work/1/packages/azure-rest-ai-personalizer/azure-rest-ai-personalizer-1.0.0-alpha.20230508.2.tgz","_from":"file:/mnt/vss/_work/1/packages/azure-rest-ai-personalizer/azure-rest-ai-personalizer-1.0.0-alpha.20230508.2.tgz","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-ZrpLfPAIqFY+wqiFB/tA1tp7Dy8PHj+2lCvCJ6MunXAqThtmRAiG35/XgxZ5ibBfQW/kq2DbXygdv5r0THqRvw==","shasum":"801cc28724f9e1c6d73017437c2d09080a57747f","tarball":"https://registry.npmjs.org/@azure-rest/ai-personalizer/-/ai-personalizer-1.0.0-alpha.20230508.2.tgz","fileCount":22,"unpackedSize":141549,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCbFxDAjry9JxQCdlLpP7I90nDcS/Ql5zQ/ml4sBeVXNgIgDAo2V/GFjHnxUgy/OD0v/Ny54nVo9mDMauT6yk+i6gw="}]},"_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/ai-personalizer_1.0.0-alpha.20230508.2_1683606635176_0.9701309212557427"},"_hasShrinkwrap":false,"deprecated":"Service has been deprecated; see https://learn.microsoft.com/en-us/azure/ai-services/personalizer/frequently-asked-questions"},"1.0.0-alpha.20230823.1":{"name":"@azure-rest/ai-personalizer","sdk-type":"client","author":{"name":"Microsoft Corporation"},"version":"1.0.0-alpha.20230823.1","description":"A client library for the Azure Personalizer service.","keywords":["node","azure","cloud","typescript","browser","isomorphic","personalizer","reinforcement learning","contextual bandit"],"license":"MIT","main":"dist/index.js","module":"./dist-esm/src/index.js","types":"./types/ai-personalizer.d.ts","homepage":"https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-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"},"//metadata":{"constantPaths":[{"path":"swagger/README.md","prefix":"package-version"}]},"engines":{"node":">=14.0.0"},"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 skipped.","build:test":"tsc -p . && dev-tool run bundle","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":"echo skipped","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":"dev-tool run test:browser","integration-test:node":"dev-tool run test:node-js-input -- --timeout 5000000 'dist-esm/test/**/*.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":"npm run unit-test:node && npm run unit-test:browser","unit-test:node":"dev-tool run test:node-ts-input -- --timeout 1200000 --exclude 'test/**/browser/*.spec.ts' 'test/**/*.spec.ts'","unit-test:browser":"dev-tool run test:browser","build":"npm run clean && tsc -p . && dev-tool run bundle && mkdirp ./review && api-extractor run --local"},"sideEffects":false,"autoPublish":false,"dependencies":{"@azure/core-auth":"^1.3.0","@azure-rest/core-client":"^1.0.0","@azure/core-rest-pipeline":"^1.8.0","@azure/logger":"^1.0.0","tslib":"^2.2.0"},"devDependencies":{"@microsoft/api-extractor":"^7.31.1","autorest":"latest","@types/node":"^14.0.0","dotenv":"^16.0.0","eslint":"^8.0.0","mkdirp":"^1.0.4","prettier":"^2.5.1","rimraf":"^3.0.0","source-map-support":"^0.5.9","typescript":"~5.0.0","@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-tools/test-credential":"^1.0.0","@azure/identity":"^2.0.1","@azure-tools/test-recorder":"^3.0.0","mocha":"^7.1.1","mocha-junit-reporter":"^1.18.0","cross-env":"^7.0.2","@types/chai":"^4.2.8","chai":"^4.2.0","karma-chrome-launcher":"^3.0.0","karma-coverage":"^2.0.0","karma-env-preprocessor":"^0.1.1","karma-firefox-launcher":"^1.1.0","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","nyc":"^15.0.0","ts-node":"^10.0.0"},"//sampleConfiguration":{"productName":"Azure Personalizer","productSlugs":["azure","azure-cognitive-services","azure-personalizer"],"disableDocsMs":true,"apiRefLink":"https://docs.microsoft.com/azure/cognitive-services/personalizer/"},"readme":"# Azure Personalizer client library for JavaScript\n\nPersonalizer Client\n\n**Please rely heavily on our [REST client docs](https://github.com/Azure/azure-sdk-for-js/blob/main/documentation/rest-clients.md) to use this library**\n\nKey links:\n\n- [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-rest)\n- [Package (NPM)](https://www.npmjs.com/package/@azure-rest/ai-personalizer)\n- [API reference documentation](https://docs.microsoft.com/javascript/api/)\n- [Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-rest/samples/v1-beta/javascript)\n## Getting started\n\n### Currently supported environments\n\n- [LTS versions of Node.js](https://github.com/nodejs/release#release-schedule)\n- Latest versions of Safari, Chrome, Edge, and Firefox.\n\nSee our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details.\n\n### Prerequisites\n\n- You must have an [Azure subscription](https://azure.microsoft.com/free/) to use this package.\n\n### Install the `@azure-rest/ai-personalizer` package\n\nInstall the Azure Personalizer client REST client library for JavaScript with `npm`:\n\n```bash\nnpm install @azure-rest/ai-personalizer\n```\n\n### Create and authenticate a `PersonalizerClient`\n\nTo use an [Azure Active Directory (AAD) token credential](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token),\nprovide an instance of the desired credential type obtained from the\n[@azure/identity](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#credentials) library.\n\nTo authenticate with AAD, you must first `npm` install [`@azure/identity`](https://www.npmjs.com/package/@azure/identity) \n\nAfter setup, you can choose which type of [credential](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#credentials) from `@azure/identity` to use.\nAs an example, [DefaultAzureCredential](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#defaultazurecredential)\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\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","readmeFilename":"README.md","_id":"@azure-rest/ai-personalizer@1.0.0-alpha.20230823.1","_integrity":"sha512-vXyRbBk/3AEbv7yeHA6nmW0c7xKhz9IqJkC9qFmd5VFFnqKbdaWFZSWqfHdh370W9u968SiB1A5JgbCOT7HmBQ==","_resolved":"/mnt/vss/_work/1/packages/azure-rest-ai-personalizer/azure-rest-ai-personalizer-1.0.0-alpha.20230823.1.tgz","_from":"file:/mnt/vss/_work/1/packages/azure-rest-ai-personalizer/azure-rest-ai-personalizer-1.0.0-alpha.20230823.1.tgz","_nodeVersion":"18.17.0","_npmVersion":"9.6.7","dist":{"integrity":"sha512-vXyRbBk/3AEbv7yeHA6nmW0c7xKhz9IqJkC9qFmd5VFFnqKbdaWFZSWqfHdh370W9u968SiB1A5JgbCOT7HmBQ==","shasum":"a394f44c7d61b2f398fabe70cdc19706651e2cff","tarball":"https://registry.npmjs.org/@azure-rest/ai-personalizer/-/ai-personalizer-1.0.0-alpha.20230823.1.tgz","fileCount":22,"unpackedSize":141575,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDkgXcEBWOtehpppTGYaQ3QU9JKsKyLIZr5gYJxxC9xiQIgcxEggNuVyu9jzoSUzbxaKrEfaTv4n97NGA5Aap4UXQY="}]},"_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/ai-personalizer_1.0.0-alpha.20230823.1_1692851314763_0.2108012257520404"},"_hasShrinkwrap":false,"deprecated":"Service has been deprecated; see https://learn.microsoft.com/en-us/azure/ai-services/personalizer/frequently-asked-questions"},"1.0.0-alpha.20230922.1":{"name":"@azure-rest/ai-personalizer","sdk-type":"client","author":{"name":"Microsoft Corporation"},"version":"1.0.0-alpha.20230922.1","description":"A client library for the Azure Personalizer service.","keywords":["node","azure","cloud","typescript","browser","isomorphic","personalizer","reinforcement learning","contextual bandit"],"license":"MIT","main":"dist/index.js","module":"./dist-esm/src/index.js","types":"./types/ai-personalizer.d.ts","homepage":"https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-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"},"//metadata":{"constantPaths":[{"path":"swagger/README.md","prefix":"package-version"}]},"engines":{"node":">=14.0.0"},"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 skipped.","build:test":"tsc -p . && dev-tool run bundle","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":"echo skipped","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":"dev-tool run test:browser","integration-test:node":"dev-tool run test:node-js-input -- --timeout 5000000 'dist-esm/test/**/*.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":"npm run unit-test:node && npm run unit-test:browser","unit-test:node":"dev-tool run test:node-ts-input -- --timeout 1200000 --exclude 'test/**/browser/*.spec.ts' 'test/**/*.spec.ts'","unit-test:browser":"dev-tool run test:browser","build":"npm run clean && tsc -p . && dev-tool run bundle && mkdirp ./review && api-extractor run --local"},"sideEffects":false,"autoPublish":false,"dependencies":{"@azure/core-auth":"^1.3.0","@azure-rest/core-client":"^1.0.0","@azure/core-rest-pipeline":"^1.8.0","@azure/logger":"^1.0.0","tslib":"^2.2.0"},"devDependencies":{"@microsoft/api-extractor":"^7.31.1","autorest":"latest","@types/node":"^14.0.0","dotenv":"^16.0.0","eslint":"^8.0.0","mkdirp":"^1.0.4","prettier":"^2.5.1","rimraf":"^3.0.0","source-map-support":"^0.5.9","typescript":"~5.0.0","@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-tools/test-credential":"^1.0.0","@azure/identity":"^3.3.0","@azure-tools/test-recorder":"^3.0.0","mocha":"^7.1.1","mocha-junit-reporter":"^1.18.0","cross-env":"^7.0.2","@types/chai":"^4.2.8","chai":"^4.2.0","karma-chrome-launcher":"^3.0.0","karma-coverage":"^2.0.0","karma-env-preprocessor":"^0.1.1","karma-firefox-launcher":"^1.1.0","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","nyc":"^15.0.0","ts-node":"^10.0.0"},"//sampleConfiguration":{"productName":"Azure Personalizer","productSlugs":["azure","azure-cognitive-services","azure-personalizer"],"disableDocsMs":true,"apiRefLink":"https://docs.microsoft.com/azure/cognitive-services/personalizer/"},"readme":"# Azure Personalizer client library for JavaScript\n\nPersonalizer Client\n\n**Please rely heavily on our [REST client docs](https://github.com/Azure/azure-sdk-for-js/blob/main/documentation/rest-clients.md) to use this library**\n\nKey links:\n\n- [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-rest)\n- [Package (NPM)](https://www.npmjs.com/package/@azure-rest/ai-personalizer)\n- [API reference documentation](https://docs.microsoft.com/javascript/api/)\n- [Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-rest/samples/v1-beta/javascript)\n## Getting started\n\n### Currently supported environments\n\n- [LTS versions of Node.js](https://github.com/nodejs/release#release-schedule)\n- Latest versions of Safari, Chrome, Edge, and Firefox.\n\nSee our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details.\n\n### Prerequisites\n\n- You must have an [Azure subscription](https://azure.microsoft.com/free/) to use this package.\n\n### Install the `@azure-rest/ai-personalizer` package\n\nInstall the Azure Personalizer client REST client library for JavaScript with `npm`:\n\n```bash\nnpm install @azure-rest/ai-personalizer\n```\n\n### Create and authenticate a `PersonalizerClient`\n\nTo use an [Azure Active Directory (AAD) token credential](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token),\nprovide an instance of the desired credential type obtained from the\n[@azure/identity](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#credentials) library.\n\nTo authenticate with AAD, you must first `npm` install [`@azure/identity`](https://www.npmjs.com/package/@azure/identity) \n\nAfter setup, you can choose which type of [credential](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#credentials) from `@azure/identity` to use.\nAs an example, [DefaultAzureCredential](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#defaultazurecredential)\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\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","readmeFilename":"README.md","_id":"@azure-rest/ai-personalizer@1.0.0-alpha.20230922.1","_integrity":"sha512-Zw1R7X55msBzXff3bXXdFA34QvgfF8+LE0gjWHqYXOPw2ZjzuKJBf9nbd44vnAsT9H7H7XJRhJoKUjgrDSDZqg==","_resolved":"/mnt/vss/_work/1/packages/azure-rest-ai-personalizer/azure-rest-ai-personalizer-1.0.0-alpha.20230922.1.tgz","_from":"file:/mnt/vss/_work/1/packages/azure-rest-ai-personalizer/azure-rest-ai-personalizer-1.0.0-alpha.20230922.1.tgz","_nodeVersion":"18.17.1","_npmVersion":"9.6.7","dist":{"integrity":"sha512-Zw1R7X55msBzXff3bXXdFA34QvgfF8+LE0gjWHqYXOPw2ZjzuKJBf9nbd44vnAsT9H7H7XJRhJoKUjgrDSDZqg==","shasum":"71c7dc4a6a8b63c5d38c30950a526112df409b33","tarball":"https://registry.npmjs.org/@azure-rest/ai-personalizer/-/ai-personalizer-1.0.0-alpha.20230922.1.tgz","fileCount":22,"unpackedSize":141575,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG3PgllvP/XD8CgvfkQPSvny3cO9U2PABRwiGmsGhUlRAiBtkFl1G0d7vQqOrxrkkBhHt+ksK7+8aVWf3BmbYBAQAg=="}]},"_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/ai-personalizer_1.0.0-alpha.20230922.1_1695443646958_0.0627551282371297"},"_hasShrinkwrap":false,"deprecated":"Service has been deprecated; see https://learn.microsoft.com/en-us/azure/ai-services/personalizer/frequently-asked-questions"},"1.0.0-alpha.20230926.1":{"name":"@azure-rest/ai-personalizer","sdk-type":"client","author":{"name":"Microsoft Corporation"},"version":"1.0.0-alpha.20230926.1","description":"A client library for the Azure Personalizer service.","keywords":["node","azure","cloud","typescript","browser","isomorphic","personalizer","reinforcement learning","contextual bandit"],"license":"MIT","main":"dist/index.js","module":"./dist-esm/src/index.js","types":"./types/ai-personalizer.d.ts","homepage":"https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-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"},"//metadata":{"constantPaths":[{"path":"swagger/README.md","prefix":"package-version"}]},"engines":{"node":">=14.0.0"},"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 skipped.","build:test":"tsc -p . && dev-tool run bundle","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":"echo skipped","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":"dev-tool run test:browser","integration-test:node":"dev-tool run test:node-js-input -- --timeout 5000000 'dist-esm/test/**/*.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":"npm run unit-test:node && npm run unit-test:browser","unit-test:node":"dev-tool run test:node-ts-input -- --timeout 1200000 --exclude 'test/**/browser/*.spec.ts' 'test/**/*.spec.ts'","unit-test:browser":"dev-tool run test:browser","build":"npm run clean && tsc -p . && dev-tool run bundle && mkdirp ./review && api-extractor run --local"},"sideEffects":false,"autoPublish":false,"dependencies":{"@azure/core-auth":"^1.3.0","@azure-rest/core-client":"^1.0.0","@azure/core-rest-pipeline":"^1.8.0","@azure/logger":"^1.0.0","tslib":"^2.2.0"},"devDependencies":{"@microsoft/api-extractor":"^7.31.1","autorest":"latest","@types/node":"^14.0.0","dotenv":"^16.0.0","eslint":"^8.0.0","mkdirp":"^1.0.4","prettier":"^2.5.1","rimraf":"^3.0.0","source-map-support":"^0.5.9","typescript":"~5.0.0","@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-tools/test-credential":"^1.0.0","@azure/identity":"^3.3.0","@azure-tools/test-recorder":"^3.0.0","mocha":"^10.0.0","mocha-junit-reporter":"^1.18.0","cross-env":"^7.0.2","@types/chai":"^4.2.8","chai":"^4.2.0","karma-chrome-launcher":"^3.0.0","karma-coverage":"^2.0.0","karma-env-preprocessor":"^0.1.1","karma-firefox-launcher":"^1.1.0","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","nyc":"^15.0.0","ts-node":"^10.0.0","esm":"^3.2.18"},"//sampleConfiguration":{"productName":"Azure Personalizer","productSlugs":["azure","azure-cognitive-services","azure-personalizer"],"disableDocsMs":true,"apiRefLink":"https://docs.microsoft.com/azure/cognitive-services/personalizer/"},"readme":"# Azure Personalizer client library for JavaScript\n\nPersonalizer Client\n\n**Please rely heavily on our [REST client docs](https://github.com/Azure/azure-sdk-for-js/blob/main/documentation/rest-clients.md) to use this library**\n\nKey links:\n\n- [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-rest)\n- [Package (NPM)](https://www.npmjs.com/package/@azure-rest/ai-personalizer)\n- [API reference documentation](https://docs.microsoft.com/javascript/api/)\n- [Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-rest/samples/v1-beta/javascript)\n## Getting started\n\n### Currently supported environments\n\n- [LTS versions of Node.js](https://github.com/nodejs/release#release-schedule)\n- Latest versions of Safari, Chrome, Edge, and Firefox.\n\nSee our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details.\n\n### Prerequisites\n\n- You must have an [Azure subscription](https://azure.microsoft.com/free/) to use this package.\n\n### Install the `@azure-rest/ai-personalizer` package\n\nInstall the Azure Personalizer client REST client library for JavaScript with `npm`:\n\n```bash\nnpm install @azure-rest/ai-personalizer\n```\n\n### Create and authenticate a `PersonalizerClient`\n\nTo use an [Azure Active Directory (AAD) token credential](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token),\nprovide an instance of the desired credential type obtained from the\n[@azure/identity](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#credentials) library.\n\nTo authenticate with AAD, you must first `npm` install [`@azure/identity`](https://www.npmjs.com/package/@azure/identity) \n\nAfter setup, you can choose which type of [credential](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#credentials) from `@azure/identity` to use.\nAs an example, [DefaultAzureCredential](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#defaultazurecredential)\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\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","readmeFilename":"README.md","_id":"@azure-rest/ai-personalizer@1.0.0-alpha.20230926.1","_integrity":"sha512-3Qi1E7LCf40ooW/i8VMlWCVCOh3HCRF34QIqqRdwKsQcJ672IO4pJhSDe3wGA7w0BWF2o/n5Kgm69nyfrzIzDg==","_resolved":"/mnt/vss/_work/1/packages/azure-rest-ai-personalizer/azure-rest-ai-personalizer-1.0.0-alpha.20230926.1.tgz","_from":"file:/mnt/vss/_work/1/packages/azure-rest-ai-personalizer/azure-rest-ai-personalizer-1.0.0-alpha.20230926.1.tgz","_nodeVersion":"18.17.1","_npmVersion":"9.6.7","dist":{"integrity":"sha512-3Qi1E7LCf40ooW/i8VMlWCVCOh3HCRF34QIqqRdwKsQcJ672IO4pJhSDe3wGA7w0BWF2o/n5Kgm69nyfrzIzDg==","shasum":"649fed9d40a26d4b257ff61b0510257c73c1ba69","tarball":"https://registry.npmjs.org/@azure-rest/ai-personalizer/-/ai-personalizer-1.0.0-alpha.20230926.1.tgz","fileCount":22,"unpackedSize":141598,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICqdEOqsnzQzBWRmB4nR8gxPri0k01M2XwOAERM6qzqyAiEAhL7tFCTNHy8F7BsQOTLZ8NVU4fAxzRcHyc8bWD8fIjI="}]},"_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/ai-personalizer_1.0.0-alpha.20230926.1_1695789112769_0.44746042914229256"},"_hasShrinkwrap":false,"deprecated":"Service has been deprecated; see https://learn.microsoft.com/en-us/azure/ai-services/personalizer/frequently-asked-questions"},"1.0.0-alpha.20230929.1":{"name":"@azure-rest/ai-personalizer","sdk-type":"client","author":{"name":"Microsoft Corporation"},"version":"1.0.0-alpha.20230929.1","description":"A client library for the Azure Personalizer service.","keywords":["node","azure","cloud","typescript","browser","isomorphic","personalizer","reinforcement learning","contextual bandit"],"license":"MIT","main":"dist/index.js","module":"./dist-esm/src/index.js","types":"./types/ai-personalizer.d.ts","homepage":"https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-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"},"//metadata":{"constantPaths":[{"path":"swagger/README.md","prefix":"package-version"}]},"engines":{"node":">=14.0.0"},"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 skipped.","build:test":"tsc -p . && dev-tool run bundle","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":"echo skipped","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":"dev-tool run test:browser","integration-test:node":"dev-tool run test:node-js-input -- --timeout 5000000 'dist-esm/test/**/*.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":"npm run unit-test:node && npm run unit-test:browser","unit-test:node":"dev-tool run test:node-ts-input -- --timeout 1200000 --exclude 'test/**/browser/*.spec.ts' 'test/**/*.spec.ts'","unit-test:browser":"dev-tool run test:browser","build":"npm run clean && tsc -p . && dev-tool run bundle && mkdirp ./review && api-extractor run --local"},"sideEffects":false,"autoPublish":false,"dependencies":{"@azure/core-auth":"^1.3.0","@azure-rest/core-client":"^1.0.0","@azure/core-rest-pipeline":"^1.8.0","@azure/logger":"^1.0.0","tslib":"^2.2.0"},"devDependencies":{"@microsoft/api-extractor":"^7.31.1","autorest":"latest","@types/node":"^14.0.0","dotenv":"^16.0.0","eslint":"^8.0.0","mkdirp":"^1.0.4","prettier":"^2.5.1","rimraf":"^3.0.0","source-map-support":"^0.5.9","typescript":"~5.0.0","@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-tools/test-credential":"^1.0.0","@azure/identity":"^3.3.0","@azure-tools/test-recorder":"^3.0.0","mocha":"^10.0.0","mocha-junit-reporter":"^1.18.0","cross-env":"^7.0.2","@types/chai":"^4.2.8","chai":"^4.2.0","karma-chrome-launcher":"^3.0.0","karma-coverage":"^2.0.0","karma-env-preprocessor":"^0.1.1","karma-firefox-launcher":"^1.1.0","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","nyc":"^15.0.0","ts-node":"^10.0.0","esm":"^3.2.18"},"//sampleConfiguration":{"productName":"Azure Personalizer","productSlugs":["azure","azure-cognitive-services","azure-personalizer"],"disableDocsMs":true,"apiRefLink":"https://docs.microsoft.com/azure/cognitive-services/personalizer/"},"readme":"# Azure Personalizer client library for JavaScript\n\nPersonalizer Client\n\n**Please rely heavily on our [REST client docs](https://github.com/Azure/azure-sdk-for-js/blob/main/documentation/rest-clients.md) to use this library**\n\nKey links:\n\n- [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-rest)\n- [Package (NPM)](https://www.npmjs.com/package/@azure-rest/ai-personalizer)\n- [API reference documentation](https://docs.microsoft.com/javascript/api/)\n- [Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-rest/samples/v1-beta/javascript)\n## Getting started\n\n### Currently supported environments\n\n- [LTS versions of Node.js](https://github.com/nodejs/release#release-schedule)\n- Latest versions of Safari, Chrome, Edge, and Firefox.\n\nSee our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details.\n\n### Prerequisites\n\n- You must have an [Azure subscription](https://azure.microsoft.com/free/) to use this package.\n\n### Install the `@azure-rest/ai-personalizer` package\n\nInstall the Azure Personalizer client REST client library for JavaScript with `npm`:\n\n```bash\nnpm install @azure-rest/ai-personalizer\n```\n\n### Create and authenticate a `PersonalizerClient`\n\nTo use an [Azure Active Directory (AAD) token credential](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token),\nprovide an instance of the desired credential type obtained from the\n[@azure/identity](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#credentials) library.\n\nTo authenticate with AAD, you must first `npm` install [`@azure/identity`](https://www.npmjs.com/package/@azure/identity) \n\nAfter setup, you can choose which type of [credential](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#credentials) from `@azure/identity` to use.\nAs an example, [DefaultAzureCredential](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#defaultazurecredential)\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\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","readmeFilename":"README.md","_id":"@azure-rest/ai-personalizer@1.0.0-alpha.20230929.1","_integrity":"sha512-uxI4f179a7E4IyhZwdf9Zns2uRpHpJqu6Ai95u+SwMfWa7UT+JybLzwZM/P2fjElfu07ACnFXDcrn0g2IfkVaA==","_resolved":"/mnt/vss/_work/1/packages/azure-rest-ai-personalizer/azure-rest-ai-personalizer-1.0.0-alpha.20230929.1.tgz","_from":"file:/mnt/vss/_work/1/packages/azure-rest-ai-personalizer/azure-rest-ai-personalizer-1.0.0-alpha.20230929.1.tgz","_nodeVersion":"18.17.1","_npmVersion":"9.6.7","dist":{"integrity":"sha512-uxI4f179a7E4IyhZwdf9Zns2uRpHpJqu6Ai95u+SwMfWa7UT+JybLzwZM/P2fjElfu07ACnFXDcrn0g2IfkVaA==","shasum":"0a099e3f149c60b7abcce5110a5a9181d22740bd","tarball":"https://registry.npmjs.org/@azure-rest/ai-personalizer/-/ai-personalizer-1.0.0-alpha.20230929.1.tgz","fileCount":22,"unpackedSize":141675,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBqxosPCDEKU7HzFT6J+KgWwQXGsY4cYcrYjstFrCvybAiEAn6fubODqDr2ObexFNUo0tq6qua4oe5c/OBp465z44eg="}]},"_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/ai-personalizer_1.0.0-alpha.20230929.1_1696049368260_0.3119745050165452"},"_hasShrinkwrap":false,"deprecated":"Service has been deprecated; see https://learn.microsoft.com/en-us/azure/ai-services/personalizer/frequently-asked-questions"},"1.0.0-alpha.20231009.1":{"name":"@azure-rest/ai-personalizer","sdk-type":"client","author":{"name":"Microsoft Corporation"},"version":"1.0.0-alpha.20231009.1","description":"A client library for the Azure Personalizer service.","keywords":["node","azure","cloud","typescript","browser","isomorphic","personalizer","reinforcement learning","contextual bandit"],"license":"MIT","main":"dist/index.js","module":"./dist-esm/src/index.js","types":"./types/ai-personalizer.d.ts","homepage":"https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-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"},"//metadata":{"constantPaths":[{"path":"swagger/README.md","prefix":"package-version"}]},"engines":{"node":">=16.0.0"},"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 skipped.","build:test":"tsc -p . && dev-tool run bundle","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":"echo skipped","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":"dev-tool run test:browser","integration-test:node":"dev-tool run test:node-js-input -- --timeout 5000000 'dist-esm/test/**/*.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":"npm run unit-test:node && npm run unit-test:browser","unit-test:node":"dev-tool run test:node-ts-input -- --timeout 1200000 --exclude 'test/**/browser/*.spec.ts' 'test/**/*.spec.ts'","unit-test:browser":"dev-tool run test:browser","build":"npm run clean && tsc -p . && dev-tool run bundle && mkdirp ./review && api-extractor run --local"},"sideEffects":false,"autoPublish":false,"dependencies":{"@azure/core-auth":"^1.3.0","@azure-rest/core-client":"^1.0.0","@azure/core-rest-pipeline":"^1.8.0","@azure/logger":"^1.0.0","tslib":"^2.2.0"},"devDependencies":{"@microsoft/api-extractor":"^7.31.1","autorest":"latest","@types/node":"^16.0.0","dotenv":"^16.0.0","eslint":"^8.0.0","mkdirp":"^1.0.4","prettier":"^2.5.1","rimraf":"^3.0.0","source-map-support":"^0.5.9","typescript":"~5.0.0","@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-tools/test-credential":"^1.0.0","@azure/identity":"^3.3.0","@azure-tools/test-recorder":"^3.0.0","mocha":"^10.0.0","mocha-junit-reporter":"^1.18.0","cross-env":"^7.0.2","@types/chai":"^4.2.8","chai":"^4.2.0","karma-chrome-launcher":"^3.0.0","karma-coverage":"^2.0.0","karma-env-preprocessor":"^0.1.1","karma-firefox-launcher":"^1.1.0","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","nyc":"^15.0.0","ts-node":"^10.0.0","esm":"^3.2.18"},"//sampleConfiguration":{"productName":"Azure Personalizer","productSlugs":["azure","azure-cognitive-services","azure-personalizer"],"disableDocsMs":true,"apiRefLink":"https://docs.microsoft.com/azure/cognitive-services/personalizer/"},"readme":"# Azure Personalizer client library for JavaScript\n\nPersonalizer Client\n\n**Please rely heavily on our [REST client docs](https://github.com/Azure/azure-sdk-for-js/blob/main/documentation/rest-clients.md) to use this library**\n\nKey links:\n\n- [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-rest)\n- [Package (NPM)](https://www.npmjs.com/package/@azure-rest/ai-personalizer)\n- [API reference documentation](https://docs.microsoft.com/javascript/api/)\n- [Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-rest/samples/v1-beta/javascript)\n## Getting started\n\n### Currently supported environments\n\n- [LTS versions of Node.js](https://github.com/nodejs/release#release-schedule)\n- Latest versions of Safari, Chrome, Edge, and Firefox.\n\nSee our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details.\n\n### Prerequisites\n\n- You must have an [Azure subscription](https://azure.microsoft.com/free/) to use this package.\n\n### Install the `@azure-rest/ai-personalizer` package\n\nInstall the Azure Personalizer client REST client library for JavaScript with `npm`:\n\n```bash\nnpm install @azure-rest/ai-personalizer\n```\n\n### Create and authenticate a `PersonalizerClient`\n\nTo use an [Azure Active Directory (AAD) token credential](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token),\nprovide an instance of the desired credential type obtained from the\n[@azure/identity](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#credentials) library.\n\nTo authenticate with AAD, you must first `npm` install [`@azure/identity`](https://www.npmjs.com/package/@azure/identity) \n\nAfter setup, you can choose which type of [credential](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#credentials) from `@azure/identity` to use.\nAs an example, [DefaultAzureCredential](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#defaultazurecredential)\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\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","readmeFilename":"README.md","_id":"@azure-rest/ai-personalizer@1.0.0-alpha.20231009.1","_integrity":"sha512-cYf8Q7YRFPOaRfOr/cctIzObc644Oq0s+X+69yjlnbTNfXhFWKClR5TW2ZSIQ8vftIholU60E5953E315dhbtw==","_resolved":"/mnt/vss/_work/1/packages/azure-rest-ai-personalizer/azure-rest-ai-personalizer-1.0.0-alpha.20231009.1.tgz","_from":"file:/mnt/vss/_work/1/packages/azure-rest-ai-personalizer/azure-rest-ai-personalizer-1.0.0-alpha.20231009.1.tgz","_nodeVersion":"18.18.0","_npmVersion":"9.8.1","dist":{"integrity":"sha512-cYf8Q7YRFPOaRfOr/cctIzObc644Oq0s+X+69yjlnbTNfXhFWKClR5TW2ZSIQ8vftIholU60E5953E315dhbtw==","shasum":"625f590336b2be721c362c5e9a188ebb44fb6160","tarball":"https://registry.npmjs.org/@azure-rest/ai-personalizer/-/ai-personalizer-1.0.0-alpha.20231009.1.tgz","fileCount":22,"unpackedSize":141675,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCEAIQ58QaLP+iMijDqGAGG/v64C5goRwodpXaLIqSMkQIhAMlJqVoNuyA8JJ6QD9xUPxZUXB0AvktMQMwP4cpSww2N"}]},"_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/ai-personalizer_1.0.0-alpha.20231009.1_1696913389119_0.9819646181875483"},"_hasShrinkwrap":false,"deprecated":"Service has been deprecated; see https://learn.microsoft.com/en-us/azure/ai-services/personalizer/frequently-asked-questions"},"1.0.0-alpha.20231023.1":{"name":"@azure-rest/ai-personalizer","sdk-type":"client","author":{"name":"Microsoft Corporation"},"version":"1.0.0-alpha.20231023.1","description":"A client library for the Azure Personalizer service.","keywords":["node","azure","cloud","typescript","browser","isomorphic","personalizer","reinforcement learning","contextual bandit"],"license":"MIT","main":"dist/index.js","module":"./dist-esm/src/index.js","types":"./types/ai-personalizer.d.ts","homepage":"https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-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"},"//metadata":{"constantPaths":[{"path":"swagger/README.md","prefix":"package-version"}]},"engines":{"node":">=16.0.0"},"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 skipped.","build:test":"tsc -p . && dev-tool run bundle","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":"echo skipped","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":"dev-tool run test:browser","integration-test:node":"dev-tool run test:node-js-input -- --timeout 5000000 'dist-esm/test/**/*.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":"npm run unit-test:node && npm run unit-test:browser","unit-test:node":"dev-tool run test:node-ts-input -- --timeout 1200000 --exclude 'test/**/browser/*.spec.ts' 'test/**/*.spec.ts'","unit-test:browser":"dev-tool run test:browser","build":"npm run clean && tsc -p . && dev-tool run bundle && mkdirp ./review && api-extractor run --local"},"sideEffects":false,"autoPublish":false,"dependencies":{"@azure/core-auth":"^1.3.0","@azure-rest/core-client":"^1.0.0","@azure/core-rest-pipeline":"^1.8.0","@azure/logger":"^1.0.0","tslib":"^2.2.0"},"devDependencies":{"@microsoft/api-extractor":"^7.31.1","autorest":"latest","@types/node":"^16.0.0","dotenv":"^16.0.0","eslint":"^8.0.0","mkdirp":"^1.0.4","prettier":"^2.5.1","rimraf":"^3.0.0","source-map-support":"^0.5.9","typescript":"~5.2.0","@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-tools/test-credential":"^1.0.0","@azure/identity":"^3.3.0","@azure-tools/test-recorder":"^3.0.0","mocha":"^10.0.0","mocha-junit-reporter":"^1.18.0","cross-env":"^7.0.2","@types/chai":"^4.2.8","chai":"^4.2.0","karma-chrome-launcher":"^3.0.0","karma-coverage":"^2.0.0","karma-env-preprocessor":"^0.1.1","karma-firefox-launcher":"^1.1.0","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","c8":"^8.0.0","ts-node":"^10.0.0","esm":"^3.2.18"},"//sampleConfiguration":{"productName":"Azure Personalizer","productSlugs":["azure","azure-cognitive-services","azure-personalizer"],"disableDocsMs":true,"apiRefLink":"https://docs.microsoft.com/azure/cognitive-services/personalizer/"},"readme":"# Azure Personalizer client library for JavaScript\n\nPersonalizer Client\n\n**Please rely heavily on our [REST client docs](https://github.com/Azure/azure-sdk-for-js/blob/main/documentation/rest-clients.md) to use this library**\n\nKey links:\n\n- [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-rest)\n- [Package (NPM)](https://www.npmjs.com/package/@azure-rest/ai-personalizer)\n- [API reference documentation](https://docs.microsoft.com/javascript/api/)\n- [Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-rest/samples/v1-beta/javascript)\n## Getting started\n\n### Currently supported environments\n\n- [LTS versions of Node.js](https://github.com/nodejs/release#release-schedule)\n- Latest versions of Safari, Chrome, Edge, and Firefox.\n\nSee our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details.\n\n### Prerequisites\n\n- You must have an [Azure subscription](https://azure.microsoft.com/free/) to use this package.\n\n### Install the `@azure-rest/ai-personalizer` package\n\nInstall the Azure Personalizer client REST client library for JavaScript with `npm`:\n\n```bash\nnpm install @azure-rest/ai-personalizer\n```\n\n### Create and authenticate a `PersonalizerClient`\n\nTo use an [Azure Active Directory (AAD) token credential](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token),\nprovide an instance of the desired credential type obtained from the\n[@azure/identity](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#credentials) library.\n\nTo authenticate with AAD, you must first `npm` install [`@azure/identity`](https://www.npmjs.com/package/@azure/identity) \n\nAfter setup, you can choose which type of [credential](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#credentials) from `@azure/identity` to use.\nAs an example, [DefaultAzureCredential](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#defaultazurecredential)\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\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","readmeFilename":"README.md","_id":"@azure-rest/ai-personalizer@1.0.0-alpha.20231023.1","_integrity":"sha512-1lB/SJQgQi8b62AbHMKQLKafzDsVPylqzP5TYi4rYVdGoy6fyayed4IG+JpkHXpaB1OwgSlnGE+GOb6xSo/AIQ==","_resolved":"/mnt/vss/_work/1/packages/azure-rest-ai-personalizer/azure-rest-ai-personalizer-1.0.0-alpha.20231023.1.tgz","_from":"file:/mnt/vss/_work/1/packages/azure-rest-ai-personalizer/azure-rest-ai-personalizer-1.0.0-alpha.20231023.1.tgz","_nodeVersion":"18.18.0","_npmVersion":"9.8.1","dist":{"integrity":"sha512-1lB/SJQgQi8b62AbHMKQLKafzDsVPylqzP5TYi4rYVdGoy6fyayed4IG+JpkHXpaB1OwgSlnGE+GOb6xSo/AIQ==","shasum":"eccdb13883b75068567098d5fe00f3d3e56161d3","tarball":"https://registry.npmjs.org/@azure-rest/ai-personalizer/-/ai-personalizer-1.0.0-alpha.20231023.1.tgz","fileCount":22,"unpackedSize":141673,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDe3gOUO87YMMUY5zAK71RNlcWk1QXPe4uJELIMnt4wKAiEAqqIgdSiFu0qOWwdJS8zTNJMhVKrBiUkqf6G+j/PxKcY="}]},"_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/ai-personalizer_1.0.0-alpha.20231023.1_1698123000122_0.40322596296811497"},"_hasShrinkwrap":false,"deprecated":"Service has been deprecated; see https://learn.microsoft.com/en-us/azure/ai-services/personalizer/frequently-asked-questions"},"1.0.0-alpha.20231030.1":{"name":"@azure-rest/ai-personalizer","sdk-type":"client","author":{"name":"Microsoft Corporation"},"version":"1.0.0-alpha.20231030.1","description":"A client library for the Azure Personalizer service.","keywords":["node","azure","cloud","typescript","browser","isomorphic","personalizer","reinforcement learning","contextual bandit"],"license":"MIT","main":"dist/index.js","module":"./dist-esm/src/index.js","types":"./types/ai-personalizer.d.ts","homepage":"https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-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"},"//metadata":{"constantPaths":[{"path":"swagger/README.md","prefix":"package-version"}]},"engines":{"node":">=18.0.0"},"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 skipped.","build:test":"tsc -p . && dev-tool run bundle","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":"echo skipped","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":"dev-tool run test:browser","integration-test:node":"dev-tool run test:node-js-input -- --timeout 5000000 'dist-esm/test/**/*.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":"npm run unit-test:node && npm run unit-test:browser","unit-test:node":"dev-tool run test:node-ts-input -- --timeout 1200000 --exclude 'test/**/browser/*.spec.ts' 'test/**/*.spec.ts'","unit-test:browser":"dev-tool run test:browser","build":"npm run clean && tsc -p . && dev-tool run bundle && mkdirp ./review && api-extractor run --local"},"sideEffects":false,"autoPublish":false,"dependencies":{"@azure/core-auth":"^1.3.0","@azure-rest/core-client":"^1.0.0","@azure/core-rest-pipeline":"^1.8.0","@azure/logger":"^1.0.0","tslib":"^2.2.0"},"devDependencies":{"@microsoft/api-extractor":"^7.31.1","autorest":"latest","@types/node":"^18.0.0","dotenv":"^16.0.0","eslint":"^8.0.0","mkdirp":"^1.0.4","prettier":"^2.5.1","rimraf":"^3.0.0","source-map-support":"^0.5.9","typescript":"~5.2.0","@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-tools/test-credential":"^1.0.0","@azure/identity":"^3.3.0","@azure-tools/test-recorder":"^3.0.0","mocha":"^10.0.0","mocha-junit-reporter":"^1.18.0","cross-env":"^7.0.2","@types/chai":"^4.2.8","chai":"^4.2.0","karma-chrome-launcher":"^3.0.0","karma-coverage":"^2.0.0","karma-env-preprocessor":"^0.1.1","karma-firefox-launcher":"^1.1.0","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","c8":"^8.0.0","ts-node":"^10.0.0","esm":"^3.2.18"},"//sampleConfiguration":{"productName":"Azure Personalizer","productSlugs":["azure","azure-cognitive-services","azure-personalizer"],"disableDocsMs":true,"apiRefLink":"https://docs.microsoft.com/azure/cognitive-services/personalizer/"},"readme":"# Azure Personalizer client library for JavaScript\n\nPersonalizer Client\n\n**Please rely heavily on our [REST client docs](https://github.com/Azure/azure-sdk-for-js/blob/main/documentation/rest-clients.md) to use this library**\n\nKey links:\n\n- [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-rest)\n- [Package (NPM)](https://www.npmjs.com/package/@azure-rest/ai-personalizer)\n- [API reference documentation](https://docs.microsoft.com/javascript/api/)\n- [Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-rest/samples/v1-beta/javascript)\n## Getting started\n\n### Currently supported environments\n\n- [LTS versions of Node.js](https://github.com/nodejs/release#release-schedule)\n- Latest versions of Safari, Chrome, Edge, and Firefox.\n\nSee our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details.\n\n### Prerequisites\n\n- You must have an [Azure subscription](https://azure.microsoft.com/free/) to use this package.\n\n### Install the `@azure-rest/ai-personalizer` package\n\nInstall the Azure Personalizer client REST client library for JavaScript with `npm`:\n\n```bash\nnpm install @azure-rest/ai-personalizer\n```\n\n### Create and authenticate a `PersonalizerClient`\n\nTo use an [Azure Active Directory (AAD) token credential](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token),\nprovide an instance of the desired credential type obtained from the\n[@azure/identity](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#credentials) library.\n\nTo authenticate with AAD, you must first `npm` install [`@azure/identity`](https://www.npmjs.com/package/@azure/identity) \n\nAfter setup, you can choose which type of [credential](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#credentials) from `@azure/identity` to use.\nAs an example, [DefaultAzureCredential](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#defaultazurecredential)\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\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","readmeFilename":"README.md","_id":"@azure-rest/ai-personalizer@1.0.0-alpha.20231030.1","_integrity":"sha512-TA25cCZzoKC9nm8eqKl8CKECsfcKuLnmtocCAoy/0nmTC0FX/LSJXA38L6e5JWDKSfmxqlQHThHQwsMZ8/YQRA==","_resolved":"/mnt/vss/_work/1/packages/azure-rest-ai-personalizer/azure-rest-ai-personalizer-1.0.0-alpha.20231030.1.tgz","_from":"file:/mnt/vss/_work/1/packages/azure-rest-ai-personalizer/azure-rest-ai-personalizer-1.0.0-alpha.20231030.1.tgz","_nodeVersion":"18.18.2","_npmVersion":"9.8.1","dist":{"integrity":"sha512-TA25cCZzoKC9nm8eqKl8CKECsfcKuLnmtocCAoy/0nmTC0FX/LSJXA38L6e5JWDKSfmxqlQHThHQwsMZ8/YQRA==","shasum":"7e0f95b580123c967e5346b9c5cb4f9a12cad09e","tarball":"https://registry.npmjs.org/@azure-rest/ai-personalizer/-/ai-personalizer-1.0.0-alpha.20231030.1.tgz","fileCount":22,"unpackedSize":141673,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFMYtbWbJELGA6OPO1NloycOBidVVsusVbYHnSs5u+bAAiB6TCtxWskxFOzDJujs4nxcwR6WXUemyiRciJvbzgef6g=="}]},"_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/ai-personalizer_1.0.0-alpha.20231030.1_1698727818042_0.40298590027925796"},"_hasShrinkwrap":false,"deprecated":"Service has been deprecated; see https://learn.microsoft.com/en-us/azure/ai-services/personalizer/frequently-asked-questions"},"1.0.0-alpha.20231206.1":{"name":"@azure-rest/ai-personalizer","sdk-type":"client","author":{"name":"Microsoft Corporation"},"version":"1.0.0-alpha.20231206.1","description":"A client library for the Azure Personalizer service.","keywords":["node","azure","cloud","typescript","browser","isomorphic","personalizer","reinforcement learning","contextual bandit"],"license":"MIT","main":"dist/index.js","module":"./dist-esm/src/index.js","types":"./types/ai-personalizer.d.ts","homepage":"https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-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"},"//metadata":{"constantPaths":[{"path":"swagger/README.md","prefix":"package-version"}]},"engines":{"node":">=18.0.0"},"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 skipped.","build:test":"tsc -p . && dev-tool run bundle","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":"echo skipped","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":"dev-tool run test:browser","integration-test:node":"dev-tool run test:node-js-input -- --timeout 5000000 'dist-esm/test/**/*.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":"npm run unit-test:node && npm run unit-test:browser","unit-test:node":"dev-tool run test:node-ts-input -- --timeout 1200000 --exclude 'test/**/browser/*.spec.ts' 'test/**/*.spec.ts'","unit-test:browser":"dev-tool run test:browser","build":"npm run clean && tsc -p . && dev-tool run bundle && mkdirp ./review && api-extractor run --local"},"sideEffects":false,"autoPublish":false,"dependencies":{"@azure/core-auth":"^1.3.0","@azure-rest/core-client":"^1.0.0","@azure/core-rest-pipeline":"^1.8.0","@azure/logger":"^1.0.0","tslib":"^2.2.0"},"devDependencies":{"@microsoft/api-extractor":"^7.31.1","autorest":"latest","@types/node":"^18.0.0","dotenv":"^16.0.0","eslint":"^8.0.0","mkdirp":"^1.0.4","prettier":"^2.5.1","rimraf":"^3.0.0","source-map-support":"^0.5.9","typescript":"~5.2.0","@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-tools/test-credential":"^1.0.0","@azure/identity":"^3.3.0","@azure-tools/test-recorder":"^3.0.0","mocha":"^10.0.0","cross-env":"^7.0.2","@types/chai":"^4.2.8","chai":"^4.2.0","karma-chrome-launcher":"^3.0.0","karma-coverage":"^2.0.0","karma-env-preprocessor":"^0.1.1","karma-firefox-launcher":"^1.1.0","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","c8":"^8.0.0","ts-node":"^10.0.0","esm":"^3.2.18"},"//sampleConfiguration":{"productName":"Azure Personalizer","productSlugs":["azure","azure-cognitive-services","azure-personalizer"],"disableDocsMs":true,"apiRefLink":"https://docs.microsoft.com/azure/cognitive-services/personalizer/"},"readme":"# Azure Personalizer client library for JavaScript\n\nPersonalizer Client\n\n**Please rely heavily on our [REST client docs](https://github.com/Azure/azure-sdk-for-js/blob/main/documentation/rest-clients.md) to use this library**\n\nKey links:\n\n- [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-rest)\n- [Package (NPM)](https://www.npmjs.com/package/@azure-rest/ai-personalizer)\n- [API reference documentation](https://docs.microsoft.com/javascript/api/)\n- [Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-rest/samples/v1-beta/javascript)\n## Getting started\n\n### Currently supported environments\n\n- [LTS versions of Node.js](https://github.com/nodejs/release#release-schedule)\n- Latest versions of Safari, Chrome, Edge, and Firefox.\n\nSee our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details.\n\n### Prerequisites\n\n- You must have an [Azure subscription](https://azure.microsoft.com/free/) to use this package.\n\n### Install the `@azure-rest/ai-personalizer` package\n\nInstall the Azure Personalizer client REST client library for JavaScript with `npm`:\n\n```bash\nnpm install @azure-rest/ai-personalizer\n```\n\n### Create and authenticate a `PersonalizerClient`\n\nTo use an [Azure Active Directory (AAD) token credential](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token),\nprovide an instance of the desired credential type obtained from the\n[@azure/identity](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#credentials) library.\n\nTo authenticate with AAD, you must first `npm` install [`@azure/identity`](https://www.npmjs.com/package/@azure/identity) \n\nAfter setup, you can choose which type of [credential](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#credentials) from `@azure/identity` to use.\nAs an example, [DefaultAzureCredential](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#defaultazurecredential)\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\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","readmeFilename":"README.md","_id":"@azure-rest/ai-personalizer@1.0.0-alpha.20231206.1","_integrity":"sha512-idy/6XWwrdUDsztCcNSZGC/k7wv8hO2ifjx1CkFn1sgJt8yquODBeGCDfbn6mdXHkzlc4Mcu0Zna4m0Lqe8xhg==","_resolved":"/mnt/vss/_work/1/packages/azure-rest-ai-personalizer/azure-rest-ai-personalizer-1.0.0-alpha.20231206.1.tgz","_from":"file:/mnt/vss/_work/1/packages/azure-rest-ai-personalizer/azure-rest-ai-personalizer-1.0.0-alpha.20231206.1.tgz","_nodeVersion":"18.18.2","_npmVersion":"9.8.1","dist":{"integrity":"sha512-idy/6XWwrdUDsztCcNSZGC/k7wv8hO2ifjx1CkFn1sgJt8yquODBeGCDfbn6mdXHkzlc4Mcu0Zna4m0Lqe8xhg==","shasum":"b78d36626ab06c09c5e0c15abba478aaf01480da","tarball":"https://registry.npmjs.org/@azure-rest/ai-personalizer/-/ai-personalizer-1.0.0-alpha.20231206.1.tgz","fileCount":22,"unpackedSize":141634,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCyQ4D8TCsJ3y/KcrGp9uqC/XabPFX29CJy+ZnTwfn9rwIhAIg8LkqnA5aSVIKgcaXKR+PKup5dSbQfLXgbbg3+Qg4Y"}]},"_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/ai-personalizer_1.0.0-alpha.20231206.1_1701926952034_0.8507209137049685"},"_hasShrinkwrap":false,"deprecated":"Service has been deprecated; see https://learn.microsoft.com/en-us/azure/ai-services/personalizer/frequently-asked-questions"},"1.0.0-alpha.20240110.1":{"name":"@azure-rest/ai-personalizer","sdk-type":"client","author":{"name":"Microsoft Corporation"},"version":"1.0.0-alpha.20240110.1","description":"A client library for the Azure Personalizer service.","keywords":["node","azure","cloud","typescript","browser","isomorphic","personalizer","reinforcement learning","contextual bandit"],"license":"MIT","main":"dist/index.js","module":"./dist-esm/src/index.js","types":"./types/ai-personalizer.d.ts","homepage":"https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-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"},"//metadata":{"constantPaths":[{"path":"swagger/README.md","prefix":"package-version"}]},"engines":{"node":">=18.0.0"},"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 skipped.","build:test":"tsc -p . && dev-tool run bundle","build:debug":"tsc -p . && dev-tool run bundle && api-extractor run --local","check-format":"dev-tool run vendored 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":"echo skipped","extract-api":"rimraf review && mkdirp ./review && api-extractor run --local","format":"dev-tool run vendored 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":"dev-tool run test:browser","integration-test:node":"dev-tool run test:node-js-input -- --timeout 5000000 'dist-esm/test/**/*.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":"npm run unit-test:node && npm run unit-test:browser","unit-test:node":"dev-tool run test:node-ts-input -- --timeout 1200000 --exclude 'test/**/browser/*.spec.ts' 'test/**/*.spec.ts'","unit-test:browser":"dev-tool run test:browser","build":"npm run clean && tsc -p . && dev-tool run bundle && mkdirp ./review && api-extractor run --local"},"sideEffects":false,"autoPublish":false,"dependencies":{"@azure/core-auth":"^1.3.0","@azure-rest/core-client":"^1.0.0","@azure/core-rest-pipeline":"^1.8.0","@azure/logger":"^1.0.0","tslib":"^2.2.0"},"devDependencies":{"@microsoft/api-extractor":"^7.31.1","autorest":"latest","@types/node":"^18.0.0","dotenv":"^16.0.0","eslint":"^8.0.0","mkdirp":"^1.0.4","rimraf":"^3.0.0","source-map-support":"^0.5.9","typescript":"~5.2.0","@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-tools/test-credential":"^1.0.0","@azure/identity":"^3.3.0","@azure-tools/test-recorder":"^3.0.0","mocha":"^10.0.0","cross-env":"^7.0.2","@types/chai":"^4.2.8","chai":"^4.2.0","karma-chrome-launcher":"^3.0.0","karma-coverage":"^2.0.0","karma-env-preprocessor":"^0.1.1","karma-firefox-launcher":"^1.1.0","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","c8":"^8.0.0","ts-node":"^10.0.0","esm":"^3.2.18"},"//sampleConfiguration":{"productName":"Azure Personalizer","productSlugs":["azure","azure-cognitive-services","azure-personalizer"],"disableDocsMs":true,"apiRefLink":"https://docs.microsoft.com/azure/cognitive-services/personalizer/"},"readme":"# Azure Personalizer client library for JavaScript\n\nPersonalizer Client\n\n**Please rely heavily on our [REST client docs](https://github.com/Azure/azure-sdk-for-js/blob/main/documentation/rest-clients.md) to use this library**\n\nKey links:\n\n- [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-rest)\n- [Package (NPM)](https://www.npmjs.com/package/@azure-rest/ai-personalizer)\n- [API reference documentation](https://docs.microsoft.com/javascript/api/)\n- [Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-rest/samples/v1-beta/javascript)\n## Getting started\n\n### Currently supported environments\n\n- [LTS versions of Node.js](https://github.com/nodejs/release#release-schedule)\n- Latest versions of Safari, Chrome, Edge, and Firefox.\n\nSee our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details.\n\n### Prerequisites\n\n- You must have an [Azure subscription](https://azure.microsoft.com/free/) to use this package.\n\n### Install the `@azure-rest/ai-personalizer` package\n\nInstall the Azure Personalizer client REST client library for JavaScript with `npm`:\n\n```bash\nnpm install @azure-rest/ai-personalizer\n```\n\n### Create and authenticate a `PersonalizerClient`\n\nTo use an [Azure Active Directory (AAD) token credential](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token),\nprovide an instance of the desired credential type obtained from the\n[@azure/identity](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#credentials) library.\n\nTo authenticate with AAD, you must first `npm` install [`@azure/identity`](https://www.npmjs.com/package/@azure/identity) \n\nAfter setup, you can choose which type of [credential](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#credentials) from `@azure/identity` to use.\nAs an example, [DefaultAzureCredential](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#defaultazurecredential)\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\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","readmeFilename":"README.md","_id":"@azure-rest/ai-personalizer@1.0.0-alpha.20240110.1","_integrity":"sha512-iHkTchdt47BH0z1NFijiMSZNxCdfDD7e/jDr9IY1P300EUqnaxicXJUNETfqY5rhb2IG25oE+sqXzDiNcC0j4w==","_resolved":"/mnt/vss/_work/1/packages/azure-rest-ai-personalizer/azure-rest-ai-personalizer-1.0.0-alpha.20240110.1.tgz","_from":"file:/mnt/vss/_work/1/packages/azure-rest-ai-personalizer/azure-rest-ai-personalizer-1.0.0-alpha.20240110.1.tgz","_nodeVersion":"18.19.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-iHkTchdt47BH0z1NFijiMSZNxCdfDD7e/jDr9IY1P300EUqnaxicXJUNETfqY5rhb2IG25oE+sqXzDiNcC0j4w==","shasum":"5eedc1a0fd132d5da670afb7dd0af3bcb2016eec","tarball":"https://registry.npmjs.org/@azure-rest/ai-personalizer/-/ai-personalizer-1.0.0-alpha.20240110.1.tgz","fileCount":22,"unpackedSize":141707,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCivJ3vo/cf2+xm4fAN+y7zSksH847fdRz/rhbg7bzFKwIhAMHdMgHCo4i0O5nbw97s9W4tnFL+sHaTiqX8LnHOLpwx"}]},"_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/ai-personalizer_1.0.0-alpha.20240110.1_1704950983225_0.9429250270501179"},"_hasShrinkwrap":false,"deprecated":"Service has been deprecated; see https://learn.microsoft.com/en-us/azure/ai-services/personalizer/frequently-asked-questions"},"1.0.0-alpha.20240112.1":{"name":"@azure-rest/ai-personalizer","sdk-type":"client","author":{"name":"Microsoft Corporation"},"version":"1.0.0-alpha.20240112.1","description":"A client library for the Azure Personalizer service.","keywords":["node","azure","cloud","typescript","browser","isomorphic","personalizer","reinforcement learning","contextual bandit"],"license":"MIT","main":"dist/index.js","module":"./dist-esm/src/index.js","types":"./types/ai-personalizer.d.ts","homepage":"https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-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"},"//metadata":{"constantPaths":[{"path":"swagger/README.md","prefix":"package-version"}]},"engines":{"node":">=18.0.0"},"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 skipped.","build:test":"tsc -p . && dev-tool run bundle","build:debug":"tsc -p . && dev-tool run bundle && api-extractor run --local","check-format":"dev-tool run vendored 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":"echo skipped","extract-api":"rimraf review && mkdirp ./review && api-extractor run --local","format":"dev-tool run vendored 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":"dev-tool run test:browser","integration-test:node":"dev-tool run test:node-js-input -- --timeout 5000000 'dist-esm/test/**/*.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":"npm run unit-test:node && npm run unit-test:browser","unit-test:node":"dev-tool run test:node-ts-input -- --timeout 1200000 --exclude 'test/**/browser/*.spec.ts' 'test/**/*.spec.ts'","unit-test:browser":"dev-tool run test:browser","build":"npm run clean && tsc -p . && dev-tool run bundle && mkdirp ./review && api-extractor run --local"},"sideEffects":false,"autoPublish":false,"dependencies":{"@azure/core-auth":"^1.3.0","@azure-rest/core-client":"^1.0.0","@azure/core-rest-pipeline":"^1.8.0","@azure/logger":"^1.0.0","tslib":"^2.2.0"},"devDependencies":{"@microsoft/api-extractor":"^7.31.1","autorest":"latest","@types/node":"^18.0.0","dotenv":"^16.0.0","eslint":"^8.0.0","mkdirp":"^1.0.4","rimraf":"^3.0.0","source-map-support":"^0.5.9","typescript":"~5.2.0","@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-tools/test-credential":"^1.0.0","@azure/identity":"^3.3.0","@azure-tools/test-recorder":"^3.0.0","mocha":"^10.0.0","cross-env":"^7.0.2","@types/chai":"^4.2.8","chai":"^4.2.0","karma-chrome-launcher":"^3.0.0","karma-coverage":"^2.0.0","karma-env-preprocessor":"^0.1.1","karma-firefox-launcher":"^1.1.0","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","c8":"^8.0.0","ts-node":"^10.0.0","esm":"^3.2.18"},"//sampleConfiguration":{"productName":"Azure Personalizer","productSlugs":["azure","azure-cognitive-services","azure-personalizer"],"disableDocsMs":true,"apiRefLink":"https://docs.microsoft.com/azure/cognitive-services/personalizer/"},"readme":"# Azure Personalizer client library for JavaScript\n\nPersonalizer Client\n\n**Please rely heavily on our [REST client docs](https://github.com/Azure/azure-sdk-for-js/blob/main/documentation/rest-clients.md) to use this library**\n\nKey links:\n\n- [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-rest)\n- [Package (NPM)](https://www.npmjs.com/package/@azure-rest/ai-personalizer)\n- [API reference documentation](https://docs.microsoft.com/javascript/api/)\n- [Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-rest/samples/v1-beta/javascript)\n## Getting started\n\n### Currently supported environments\n\n- [LTS versions of Node.js](https://github.com/nodejs/release#release-schedule)\n- Latest versions of Safari, Chrome, Edge, and Firefox.\n\nSee our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details.\n\n### Prerequisites\n\n- You must have an [Azure subscription](https://azure.microsoft.com/free/) to use this package.\n\n### Install the `@azure-rest/ai-personalizer` package\n\nInstall the Azure Personalizer client REST client library for JavaScript with `npm`:\n\n```bash\nnpm install @azure-rest/ai-personalizer\n```\n\n### Create and authenticate a `PersonalizerClient`\n\nTo use an [Azure Active Directory (AAD) token credential](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token),\nprovide an instance of the desired credential type obtained from the\n[@azure/identity](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#credentials) library.\n\nTo authenticate with AAD, you must first `npm` install [`@azure/identity`](https://www.npmjs.com/package/@azure/identity) \n\nAfter setup, you can choose which type of [credential](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#credentials) from `@azure/identity` to use.\nAs an example, [DefaultAzureCredential](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#defaultazurecredential)\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\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","readmeFilename":"README.md","_id":"@azure-rest/ai-personalizer@1.0.0-alpha.20240112.1","_integrity":"sha512-+uR74+ZQ51J8Ql5rbIuA352o884lL3TWaNSABzo8Pk4v621YkjT0occXtDC2aK4P653uLySEQN38a5a6GFLIYw==","_resolved":"/mnt/vss/_work/1/packages/azure-rest-ai-personalizer/azure-rest-ai-personalizer-1.0.0-alpha.20240112.1.tgz","_from":"file:/mnt/vss/_work/1/packages/azure-rest-ai-personalizer/azure-rest-ai-personalizer-1.0.0-alpha.20240112.1.tgz","_nodeVersion":"18.19.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-+uR74+ZQ51J8Ql5rbIuA352o884lL3TWaNSABzo8Pk4v621YkjT0occXtDC2aK4P653uLySEQN38a5a6GFLIYw==","shasum":"e47e29eda950f632cdb32e47f557703caad0fa4b","tarball":"https://registry.npmjs.org/@azure-rest/ai-personalizer/-/ai-personalizer-1.0.0-alpha.20240112.1.tgz","fileCount":22,"unpackedSize":141268,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG0QYhOx4EIHHvA4j6NzsPgTF3+dpWa6d7k7CQo9bo7UAiBzNk9qVyHFw+lUkJoyC0NwZW0Q4EtSBNO+Zke0lC+cCw=="}]},"_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/ai-personalizer_1.0.0-alpha.20240112.1_1705125125179_0.03492092642968969"},"_hasShrinkwrap":false,"deprecated":"Service has been deprecated; see https://learn.microsoft.com/en-us/azure/ai-services/personalizer/frequently-asked-questions"},"1.0.0-alpha.20240116.1":{"name":"@azure-rest/ai-personalizer","sdk-type":"client","author":{"name":"Microsoft Corporation"},"version":"1.0.0-alpha.20240116.1","description":"A client library for the Azure Personalizer service.","keywords":["node","azure","cloud","typescript","browser","isomorphic","personalizer","reinforcement learning","contextual bandit"],"license":"MIT","main":"dist/index.js","module":"./dist-esm/src/index.js","types":"./types/ai-personalizer.d.ts","homepage":"https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-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"},"//metadata":{"constantPaths":[{"path":"swagger/README.md","prefix":"package-version"}]},"engines":{"node":">=18.0.0"},"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 skipped.","build:test":"tsc -p . && dev-tool run bundle","build:debug":"tsc -p . && dev-tool run bundle && api-extractor run --local","check-format":"dev-tool run vendored 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":"echo skipped","extract-api":"rimraf review && mkdirp ./review && api-extractor run --local","format":"dev-tool run vendored 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":"dev-tool run test:browser","integration-test:node":"dev-tool run test:node-js-input -- --timeout 5000000 'dist-esm/test/**/*.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":"npm run unit-test:node && npm run unit-test:browser","unit-test:node":"dev-tool run test:node-ts-input -- --timeout 1200000 --exclude 'test/**/browser/*.spec.ts' 'test/**/*.spec.ts'","unit-test:browser":"dev-tool run test:browser","build":"npm run clean && tsc -p . && dev-tool run bundle && mkdirp ./review && api-extractor run --local"},"sideEffects":false,"autoPublish":false,"dependencies":{"@azure/core-auth":"^1.3.0","@azure-rest/core-client":"^1.0.0","@azure/core-rest-pipeline":"^1.8.0","@azure/logger":"^1.0.0","tslib":"^2.2.0"},"devDependencies":{"@microsoft/api-extractor":"^7.31.1","autorest":"latest","@types/node":"^18.0.0","dotenv":"^16.0.0","eslint":"^8.0.0","mkdirp":"^1.0.4","rimraf":"^3.0.0","source-map-support":"^0.5.9","typescript":"~5.2.0","@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-tools/test-credential":"^1.0.0","@azure/identity":"^3.3.0","@azure-tools/test-recorder":"^3.0.0","mocha":"^10.0.0","cross-env":"^7.0.2","@types/chai":"^4.2.8","chai":"^4.2.0","karma-chrome-launcher":"^3.0.0","karma-coverage":"^2.0.0","karma-env-preprocessor":"^0.1.1","karma-firefox-launcher":"^1.1.0","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","c8":"^8.0.0","ts-node":"^10.0.0","esm":"^3.2.18"},"//sampleConfiguration":{"productName":"Azure Personalizer","productSlugs":["azure","azure-cognitive-services","azure-personalizer"],"disableDocsMs":true,"apiRefLink":"https://docs.microsoft.com/azure/cognitive-services/personalizer/"},"readme":"# Azure Personalizer client library for JavaScript\n\nPersonalizer Client\n\n**Please rely heavily on our [REST client docs](https://github.com/Azure/azure-sdk-for-js/blob/main/documentation/rest-clients.md) to use this library**\n\nKey links:\n\n- [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-rest)\n- [Package (NPM)](https://www.npmjs.com/package/@azure-rest/ai-personalizer)\n- [API reference documentation](https://docs.microsoft.com/javascript/api/)\n- [Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-rest/samples/v1-beta/javascript)\n## Getting started\n\n### Currently supported environments\n\n- [LTS versions of Node.js](https://github.com/nodejs/release#release-schedule)\n- Latest versions of Safari, Chrome, Edge, and Firefox.\n\nSee our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details.\n\n### Prerequisites\n\n- You must have an [Azure subscription](https://azure.microsoft.com/free/) to use this package.\n\n### Install the `@azure-rest/ai-personalizer` package\n\nInstall the Azure Personalizer client REST client library for JavaScript with `npm`:\n\n```bash\nnpm install @azure-rest/ai-personalizer\n```\n\n### Create and authenticate a `PersonalizerClient`\n\nTo use an [Azure Active Directory (AAD) token credential](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token),\nprovide an instance of the desired credential type obtained from the\n[@azure/identity](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#credentials) library.\n\nTo authenticate with AAD, you must first `npm` install [`@azure/identity`](https://www.npmjs.com/package/@azure/identity) \n\nAfter setup, you can choose which type of [credential](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#credentials) from `@azure/identity` to use.\nAs an example, [DefaultAzureCredential](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#defaultazurecredential)\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\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","readmeFilename":"README.md","_id":"@azure-rest/ai-personalizer@1.0.0-alpha.20240116.1","_integrity":"sha512-8v4LLQwjUn7au5xDgQPLVnwRi83pnSYlKj7+B8s/E5IhlSK00B2bru/07fBDRq+b2hdYRekOLgRQn7wJx6Z0HQ==","_resolved":"/mnt/vss/_work/1/packages/azure-rest-ai-personalizer/azure-rest-ai-personalizer-1.0.0-alpha.20240116.1.tgz","_from":"file:/mnt/vss/_work/1/packages/azure-rest-ai-personalizer/azure-rest-ai-personalizer-1.0.0-alpha.20240116.1.tgz","_nodeVersion":"18.19.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-8v4LLQwjUn7au5xDgQPLVnwRi83pnSYlKj7+B8s/E5IhlSK00B2bru/07fBDRq+b2hdYRekOLgRQn7wJx6Z0HQ==","shasum":"16062ffc92cff4694b64ee4a63f3a9817ad8add8","tarball":"https://registry.npmjs.org/@azure-rest/ai-personalizer/-/ai-personalizer-1.0.0-alpha.20240116.1.tgz","fileCount":22,"unpackedSize":141707,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCNF7eT++Pif3M7lsrZHqo20HDujH/2JEx195CaMUC8sgIhAKafR0o3rUEhQOP8bXVjXLaXWm5rPWcJn8USei9P/4MX"}]},"_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/ai-personalizer_1.0.0-alpha.20240116.1_1705470685788_0.7009400142512165"},"_hasShrinkwrap":false,"deprecated":"Service has been deprecated; see https://learn.microsoft.com/en-us/azure/ai-services/personalizer/frequently-asked-questions"},"1.0.0-alpha.20240126.1":{"name":"@azure-rest/ai-personalizer","sdk-type":"client","author":{"name":"Microsoft Corporation"},"version":"1.0.0-alpha.20240126.1","description":"A client library for the Azure Personalizer service.","keywords":["node","azure","cloud","typescript","browser","isomorphic","personalizer","reinforcement learning","contextual bandit"],"license":"MIT","main":"dist/index.js","module":"./dist-esm/src/index.js","types":"./types/ai-personalizer.d.ts","homepage":"https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-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"},"//metadata":{"constantPaths":[{"path":"swagger/README.md","prefix":"package-version"}]},"engines":{"node":">=18.0.0"},"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 skipped.","build:test":"tsc -p . && dev-tool run bundle","build:debug":"tsc -p . && dev-tool run bundle && api-extractor run --local","check-format":"dev-tool run vendored 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":"echo skipped","extract-api":"rimraf review && mkdirp ./review && api-extractor run --local","format":"dev-tool run vendored 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":"dev-tool run test:browser","integration-test:node":"dev-tool run test:node-js-input -- --timeout 5000000 'dist-esm/test/**/*.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":"npm run unit-test:node && npm run unit-test:browser","unit-test:node":"dev-tool run test:node-ts-input -- --timeout 1200000 --exclude 'test/**/browser/*.spec.ts' 'test/**/*.spec.ts'","unit-test:browser":"dev-tool run test:browser","build":"npm run clean && tsc -p . && dev-tool run bundle && mkdirp ./review && api-extractor run --local"},"sideEffects":false,"autoPublish":false,"dependencies":{"@azure/core-auth":"^1.3.0","@azure-rest/core-client":"^1.0.0","@azure/core-rest-pipeline":"^1.8.0","@azure/logger":"^1.0.0","tslib":"^2.2.0"},"devDependencies":{"@microsoft/api-extractor":"^7.31.1","autorest":"latest","@types/node":"^18.0.0","dotenv":"^16.0.0","eslint":"^8.0.0","mkdirp":"^1.0.4","rimraf":"^3.0.0","source-map-support":"^0.5.9","typescript":"~5.3.3","@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-tools/test-credential":"^1.0.0","@azure/identity":"^3.3.0","@azure-tools/test-recorder":"^3.0.0","mocha":"^10.0.0","cross-env":"^7.0.2","@types/chai":"^4.2.8","chai":"^4.2.0","karma-chrome-launcher":"^3.0.0","karma-coverage":"^2.0.0","karma-env-preprocessor":"^0.1.1","karma-firefox-launcher":"^1.1.0","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","c8":"^8.0.0","ts-node":"^10.0.0","esm":"^3.2.18"},"//sampleConfiguration":{"productName":"Azure Personalizer","productSlugs":["azure","azure-cognitive-services","azure-personalizer"],"disableDocsMs":true,"apiRefLink":"https://docs.microsoft.com/azure/cognitive-services/personalizer/"},"readme":"# Azure Personalizer client library for JavaScript\n\nPersonalizer Client\n\n**Please rely heavily on our [REST client docs](https://github.com/Azure/azure-sdk-for-js/blob/main/documentation/rest-clients.md) to use this library**\n\nKey links:\n\n- [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-rest)\n- [Package (NPM)](https://www.npmjs.com/package/@azure-rest/ai-personalizer)\n- [API reference documentation](https://docs.microsoft.com/javascript/api/)\n- [Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-rest/samples/v1-beta/javascript)\n## Getting started\n\n### Currently supported environments\n\n- [LTS versions of Node.js](https://github.com/nodejs/release#release-schedule)\n- Latest versions of Safari, Chrome, Edge, and Firefox.\n\nSee our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details.\n\n### Prerequisites\n\n- You must have an [Azure subscription](https://azure.microsoft.com/free/) to use this package.\n\n### Install the `@azure-rest/ai-personalizer` package\n\nInstall the Azure Personalizer client REST client library for JavaScript with `npm`:\n\n```bash\nnpm install @azure-rest/ai-personalizer\n```\n\n### Create and authenticate a `PersonalizerClient`\n\nTo use an [Azure Active Directory (AAD) token credential](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token),\nprovide an instance of the desired credential type obtained from the\n[@azure/identity](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#credentials) library.\n\nTo authenticate with AAD, you must first `npm` install [`@azure/identity`](https://www.npmjs.com/package/@azure/identity) \n\nAfter setup, you can choose which type of [credential](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#credentials) from `@azure/identity` to use.\nAs an example, [DefaultAzureCredential](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#defaultazurecredential)\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\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","readmeFilename":"README.md","_id":"@azure-rest/ai-personalizer@1.0.0-alpha.20240126.1","_integrity":"sha512-hEv3DVshtnKegYBN8cpEzoKhuF//k9wL6EbVVWb2HFRoLVxy7Mq33QTeaaiWtViqpgSRL4TNH8cTPq0CqJavZA==","_resolved":"/mnt/vss/_work/1/packages/azure-rest-ai-personalizer/azure-rest-ai-personalizer-1.0.0-alpha.20240126.1.tgz","_from":"file:/mnt/vss/_work/1/packages/azure-rest-ai-personalizer/azure-rest-ai-personalizer-1.0.0-alpha.20240126.1.tgz","_nodeVersion":"18.19.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-hEv3DVshtnKegYBN8cpEzoKhuF//k9wL6EbVVWb2HFRoLVxy7Mq33QTeaaiWtViqpgSRL4TNH8cTPq0CqJavZA==","shasum":"725321c0b2fe36118eef90e1ded3da88c849aa09","tarball":"https://registry.npmjs.org/@azure-rest/ai-personalizer/-/ai-personalizer-1.0.0-alpha.20240126.1.tgz","fileCount":22,"unpackedSize":141732,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCbHhAWiysg1LJFoB1CcQBT4b5/XuZSL6xkpMEqtUc4awIhAO+RW2keQWY/rMVPvPn6fkjH600wKzt2Hpv44Hkes2Md"}]},"_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/ai-personalizer_1.0.0-alpha.20240126.1_1706334736703_0.4510623018271229"},"_hasShrinkwrap":false,"deprecated":"Service has been deprecated; see https://learn.microsoft.com/en-us/azure/ai-services/personalizer/frequently-asked-questions"},"1.0.0-alpha.20240202.1":{"name":"@azure-rest/ai-personalizer","sdk-type":"client","author":{"name":"Microsoft Corporation"},"version":"1.0.0-alpha.20240202.1","description":"A client library for the Azure Personalizer service.","keywords":["node","azure","cloud","typescript","browser","isomorphic","personalizer","reinforcement learning","contextual bandit"],"license":"MIT","main":"dist/index.js","module":"./dist-esm/src/index.js","types":"./types/ai-personalizer.d.ts","homepage":"https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-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"},"//metadata":{"constantPaths":[{"path":"swagger/README.md","prefix":"package-version"}]},"engines":{"node":">=18.0.0"},"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 skipped.","build:test":"tsc -p . && dev-tool run bundle","build:debug":"tsc -p . && dev-tool run bundle && api-extractor run --local","check-format":"dev-tool run vendored 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":"echo skipped","extract-api":"rimraf review && mkdirp ./review && api-extractor run --local","format":"dev-tool run vendored 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":"dev-tool run test:browser","integration-test:node":"dev-tool run test:node-js-input -- --timeout 5000000 'dist-esm/test/**/*.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":"npm run unit-test:node && npm run unit-test:browser","unit-test:node":"dev-tool run test:node-ts-input -- --timeout 1200000 --exclude 'test/**/browser/*.spec.ts' 'test/**/*.spec.ts'","unit-test:browser":"dev-tool run test:browser","build":"npm run clean && tsc -p . && dev-tool run bundle && mkdirp ./review && api-extractor run --local"},"sideEffects":false,"autoPublish":false,"dependencies":{"@azure/core-auth":"^1.3.0","@azure-rest/core-client":"^1.0.0","@azure/core-rest-pipeline":"^1.8.0","@azure/logger":"^1.0.0","tslib":"^2.2.0"},"devDependencies":{"@microsoft/api-extractor":"^7.31.1","autorest":"latest","@types/node":"^18.0.0","dotenv":"^16.0.0","eslint":"^8.0.0","mkdirp":"^1.0.4","rimraf":"^3.0.0","source-map-support":"^0.5.9","typescript":"~5.3.3","@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-tools/test-credential":"^1.0.0","@azure/identity":"^4.0.1","@azure-tools/test-recorder":"^3.0.0","mocha":"^10.0.0","cross-env":"^7.0.2","@types/chai":"^4.2.8","chai":"^4.2.0","karma-chrome-launcher":"^3.0.0","karma-coverage":"^2.0.0","karma-env-preprocessor":"^0.1.1","karma-firefox-launcher":"^1.1.0","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","c8":"^8.0.0","ts-node":"^10.0.0","esm":"^3.2.18","@types/mocha":"^10.0.0"},"//sampleConfiguration":{"productName":"Azure Personalizer","productSlugs":["azure","azure-cognitive-services","azure-personalizer"],"disableDocsMs":true,"apiRefLink":"https://docs.microsoft.com/azure/cognitive-services/personalizer/"},"readme":"# Azure Personalizer client library for JavaScript\n\nPersonalizer Client\n\n**Please rely heavily on our [REST client docs](https://github.com/Azure/azure-sdk-for-js/blob/main/documentation/rest-clients.md) to use this library**\n\nKey links:\n\n- [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-rest)\n- [Package (NPM)](https://www.npmjs.com/package/@azure-rest/ai-personalizer)\n- [API reference documentation](https://docs.microsoft.com/javascript/api/)\n- [Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-rest/samples/v1-beta/javascript)\n## Getting started\n\n### Currently supported environments\n\n- [LTS versions of Node.js](https://github.com/nodejs/release#release-schedule)\n- Latest versions of Safari, Chrome, Edge, and Firefox.\n\nSee our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details.\n\n### Prerequisites\n\n- You must have an [Azure subscription](https://azure.microsoft.com/free/) to use this package.\n\n### Install the `@azure-rest/ai-personalizer` package\n\nInstall the Azure Personalizer client REST client library for JavaScript with `npm`:\n\n```bash\nnpm install @azure-rest/ai-personalizer\n```\n\n### Create and authenticate a `PersonalizerClient`\n\nTo use an [Azure Active Directory (AAD) token credential](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token),\nprovide an instance of the desired credential type obtained from the\n[@azure/identity](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#credentials) library.\n\nTo authenticate with AAD, you must first `npm` install [`@azure/identity`](https://www.npmjs.com/package/@azure/identity) \n\nAfter setup, you can choose which type of [credential](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#credentials) from `@azure/identity` to use.\nAs an example, [DefaultAzureCredential](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#defaultazurecredential)\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\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","readmeFilename":"README.md","_id":"@azure-rest/ai-personalizer@1.0.0-alpha.20240202.1","_integrity":"sha512-q2ExWvKuvar+CR9Wd+X6pUUqs26UrF8Ml/ENV9wgVvSfRELhY0CymuZC2OmNP1Ux+1OlfqreiaTJkhzPd2qGIA==","_resolved":"/mnt/vss/_work/1/packages/azure-rest-ai-personalizer/azure-rest-ai-personalizer-1.0.0-alpha.20240202.1.tgz","_from":"file:/mnt/vss/_work/1/packages/azure-rest-ai-personalizer/azure-rest-ai-personalizer-1.0.0-alpha.20240202.1.tgz","_nodeVersion":"18.19.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-q2ExWvKuvar+CR9Wd+X6pUUqs26UrF8Ml/ENV9wgVvSfRELhY0CymuZC2OmNP1Ux+1OlfqreiaTJkhzPd2qGIA==","shasum":"ab950a75f2967a03198570ebc01dac0f40e6c860","tarball":"https://registry.npmjs.org/@azure-rest/ai-personalizer/-/ai-personalizer-1.0.0-alpha.20240202.1.tgz","fileCount":22,"unpackedSize":141763,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDLlnEkZQTqX1W0wIQzD3H/0Mp2jzfumU4ZSrG2/ETR4wIgSx2e5XSJAXcpFa6Ka3S1wtYtJfDLBrdwaxpWOPIgMII="}]},"_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/ai-personalizer_1.0.0-alpha.20240202.1_1706938165263_0.45744217536889087"},"_hasShrinkwrap":false,"deprecated":"Service has been deprecated; see https://learn.microsoft.com/en-us/azure/ai-services/personalizer/frequently-asked-questions"},"1.0.0-alpha.20240308.1":{"name":"@azure-rest/ai-personalizer","sdk-type":"client","author":{"name":"Microsoft Corporation"},"version":"1.0.0-alpha.20240308.1","description":"A client library for the Azure Personalizer service.","keywords":["node","azure","cloud","typescript","browser","isomorphic","personalizer","reinforcement learning","contextual bandit"],"license":"MIT","main":"dist/index.js","module":"./dist-esm/src/index.js","types":"./types/ai-personalizer.d.ts","homepage":"https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-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"},"//metadata":{"constantPaths":[{"path":"swagger/README.md","prefix":"package-version"}]},"engines":{"node":">=18.0.0"},"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 skipped.","build:test":"tsc -p . && dev-tool run bundle","build:debug":"tsc -p . && dev-tool run bundle && api-extractor run --local","check-format":"dev-tool run vendored prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"","clean":"rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log","execute:samples":"echo skipped","extract-api":"rimraf review && mkdirp ./review && api-extractor run --local","format":"dev-tool run vendored 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":"dev-tool run test:browser","integration-test:node":"dev-tool run test:node-js-input -- --timeout 5000000 'dist-esm/test/**/*.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":"npm run unit-test:node && npm run unit-test:browser","unit-test:node":"dev-tool run test:node-ts-input -- --timeout 1200000 --exclude 'test/**/browser/*.spec.ts' 'test/**/*.spec.ts'","unit-test:browser":"dev-tool run test:browser","build":"npm run clean && tsc -p . && dev-tool run bundle && mkdirp ./review && api-extractor run --local"},"sideEffects":false,"autoPublish":false,"dependencies":{"@azure/core-auth":"^1.3.0","@azure-rest/core-client":"^1.0.0","@azure/core-rest-pipeline":"^1.8.0","@azure/logger":"^1.0.0","tslib":"^2.2.0"},"devDependencies":{"@microsoft/api-extractor":"^7.31.1","autorest":"latest","@types/node":"^18.0.0","dotenv":"^16.0.0","eslint":"^8.0.0","mkdirp":"^1.0.4","rimraf":"^5.0.5","source-map-support":"^0.5.9","typescript":"~5.3.3","@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-tools/test-credential":"^1.0.0","@azure/identity":"^4.0.1","@azure-tools/test-recorder":"^3.0.0","mocha":"^10.0.0","cross-env":"^7.0.2","@types/chai":"^4.2.8","chai":"^4.2.0","karma-chrome-launcher":"^3.0.0","karma-coverage":"^2.0.0","karma-env-preprocessor":"^0.1.1","karma-firefox-launcher":"^1.1.0","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","c8":"^8.0.0","ts-node":"^10.0.0","esm":"^3.2.18","@types/mocha":"^10.0.0"},"//sampleConfiguration":{"productName":"Azure Personalizer","productSlugs":["azure","azure-cognitive-services","azure-personalizer"],"disableDocsMs":true,"apiRefLink":"https://docs.microsoft.com/azure/cognitive-services/personalizer/"},"readme":"# Azure Personalizer client library for JavaScript\n\nPersonalizer Client\n\n**Please rely heavily on our [REST client docs](https://github.com/Azure/azure-sdk-for-js/blob/main/documentation/rest-clients.md) to use this library**\n\nKey links:\n\n- [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-rest)\n- [Package (NPM)](https://www.npmjs.com/package/@azure-rest/ai-personalizer)\n- [API reference documentation](https://docs.microsoft.com/javascript/api/)\n- [Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-rest/samples/v1-beta/javascript)\n## Getting started\n\n### Currently supported environments\n\n- [LTS versions of Node.js](https://github.com/nodejs/release#release-schedule)\n- Latest versions of Safari, Chrome, Edge, and Firefox.\n\nSee our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details.\n\n### Prerequisites\n\n- You must have an [Azure subscription](https://azure.microsoft.com/free/) to use this package.\n\n### Install the `@azure-rest/ai-personalizer` package\n\nInstall the Azure Personalizer client REST client library for JavaScript with `npm`:\n\n```bash\nnpm install @azure-rest/ai-personalizer\n```\n\n### Create and authenticate a `PersonalizerClient`\n\nTo use an [Azure Active Directory (AAD) token credential](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token),\nprovide an instance of the desired credential type obtained from the\n[@azure/identity](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#credentials) library.\n\nTo authenticate with AAD, you must first `npm` install [`@azure/identity`](https://www.npmjs.com/package/@azure/identity) \n\nAfter setup, you can choose which type of [credential](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#credentials) from `@azure/identity` to use.\nAs an example, [DefaultAzureCredential](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#defaultazurecredential)\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\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","readmeFilename":"README.md","_id":"@azure-rest/ai-personalizer@1.0.0-alpha.20240308.1","_integrity":"sha512-JkDw5DB9Zz2rZcC3/47hV2vAC3DMuBURhca+gx4/ksxKHPIlKDDW/nSiZyvGkQA3+t9LK/1JLnb26YauoLxa+Q==","_resolved":"/mnt/vss/_work/1/packages/azure-rest-ai-personalizer/azure-rest-ai-personalizer-1.0.0-alpha.20240308.1.tgz","_from":"file:/mnt/vss/_work/1/packages/azure-rest-ai-personalizer/azure-rest-ai-personalizer-1.0.0-alpha.20240308.1.tgz","_nodeVersion":"18.19.1","_npmVersion":"10.2.4","dist":{"integrity":"sha512-JkDw5DB9Zz2rZcC3/47hV2vAC3DMuBURhca+gx4/ksxKHPIlKDDW/nSiZyvGkQA3+t9LK/1JLnb26YauoLxa+Q==","shasum":"dbddc20e80b532c9c3b2a81bbb94888c2937ba61","tarball":"https://registry.npmjs.org/@azure-rest/ai-personalizer/-/ai-personalizer-1.0.0-alpha.20240308.1.tgz","fileCount":22,"unpackedSize":141770,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDbgKkrpRs+429pe7mczLr4tl4mQfl3fIBL0Wlo3wfBNAIgZNcPulCrcPafGQZmCp+jN9N1NHzVDTOvn4no89lqOKg="}]},"_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/ai-personalizer_1.0.0-alpha.20240308.1_1709962473628_0.4522608364486773"},"_hasShrinkwrap":false,"deprecated":"Service has been deprecated; see https://learn.microsoft.com/en-us/azure/ai-services/personalizer/frequently-asked-questions"},"1.0.0-alpha.20240322.1":{"name":"@azure-rest/ai-personalizer","sdk-type":"client","author":{"name":"Microsoft Corporation"},"version":"1.0.0-alpha.20240322.1","description":"A client library for the Azure Personalizer service.","keywords":["node","azure","cloud","typescript","browser","isomorphic","personalizer","reinforcement learning","contextual bandit"],"license":"MIT","main":"dist/index.js","module":"./dist-esm/src/index.js","types":"./types/ai-personalizer.d.ts","homepage":"https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-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"},"//metadata":{"constantPaths":[{"path":"swagger/README.md","prefix":"package-version"}]},"engines":{"node":">=18.0.0"},"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 skipped.","build:test":"tsc -p . && dev-tool run bundle","build:debug":"tsc -p . && dev-tool run bundle && api-extractor run --local","check-format":"dev-tool run vendored prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"","clean":"rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log","execute:samples":"echo skipped","extract-api":"rimraf review && mkdirp ./review && api-extractor run --local","format":"dev-tool run vendored 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":"dev-tool run test:browser","integration-test:node":"dev-tool run test:node-js-input -- --timeout 5000000 'dist-esm/test/**/*.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":"npm run unit-test:node && npm run unit-test:browser","unit-test:node":"dev-tool run test:node-ts-input -- --timeout 1200000 --exclude 'test/**/browser/*.spec.ts' 'test/**/*.spec.ts'","unit-test:browser":"dev-tool run test:browser","build":"npm run clean && tsc -p . && dev-tool run bundle && mkdirp ./review && api-extractor run --local"},"sideEffects":false,"autoPublish":false,"dependencies":{"@azure/core-auth":"^1.3.0","@azure-rest/core-client":"^1.0.0","@azure/core-rest-pipeline":"^1.8.0","@azure/logger":"^1.0.0","tslib":"^2.2.0"},"devDependencies":{"@microsoft/api-extractor":"^7.31.1","autorest":"latest","@types/node":"^18.0.0","dotenv":"^16.0.0","eslint":"^8.0.0","mkdirp":"^1.0.4","rimraf":"^5.0.5","source-map-support":"^0.5.9","typescript":"~5.3.3","@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-tools/test-credential":"^1.0.0","@azure/identity":"^4.0.1","@azure-tools/test-recorder":"^3.0.0","mocha":"^10.0.0","cross-env":"^7.0.2","@types/chai":"^4.2.8","chai":"^4.2.0","karma-chrome-launcher":"^3.0.0","karma-coverage":"^2.0.0","karma-env-preprocessor":"^0.1.1","karma-firefox-launcher":"^1.1.0","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","c8":"^9.1.0","ts-node":"^10.0.0","esm":"^3.2.18","@types/mocha":"^10.0.0"},"//sampleConfiguration":{"productName":"Azure Personalizer","productSlugs":["azure","azure-cognitive-services","azure-personalizer"],"disableDocsMs":true,"apiRefLink":"https://docs.microsoft.com/azure/cognitive-services/personalizer/"},"readme":"# Azure Personalizer client library for JavaScript\n\nPersonalizer Client\n\n**Please rely heavily on our [REST client docs](https://github.com/Azure/azure-sdk-for-js/blob/main/documentation/rest-clients.md) to use this library**\n\nKey links:\n\n- [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-rest)\n- [Package (NPM)](https://www.npmjs.com/package/@azure-rest/ai-personalizer)\n- [API reference documentation](https://docs.microsoft.com/javascript/api/)\n- [Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-rest/samples/v1-beta/javascript)\n## Getting started\n\n### Currently supported environments\n\n- [LTS versions of Node.js](https://github.com/nodejs/release#release-schedule)\n- Latest versions of Safari, Chrome, Edge, and Firefox.\n\nSee our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details.\n\n### Prerequisites\n\n- You must have an [Azure subscription](https://azure.microsoft.com/free/) to use this package.\n\n### Install the `@azure-rest/ai-personalizer` package\n\nInstall the Azure Personalizer client REST client library for JavaScript with `npm`:\n\n```bash\nnpm install @azure-rest/ai-personalizer\n```\n\n### Create and authenticate a `PersonalizerClient`\n\nTo use an [Azure Active Directory (AAD) token credential](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token),\nprovide an instance of the desired credential type obtained from the\n[@azure/identity](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#credentials) library.\n\nTo authenticate with AAD, you must first `npm` install [`@azure/identity`](https://www.npmjs.com/package/@azure/identity) \n\nAfter setup, you can choose which type of [credential](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#credentials) from `@azure/identity` to use.\nAs an example, [DefaultAzureCredential](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity#defaultazurecredential)\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\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","readmeFilename":"README.md","_id":"@azure-rest/ai-personalizer@1.0.0-alpha.20240322.1","_integrity":"sha512-7yvDw7eCc7ZWgyZ5H1enj8uficymMy9Q8cwAoDVTxZmXTe3tPiI8apyA8RQ6vzfgTzTqw6mHoYJcNiNQhC3OwQ==","_resolved":"/mnt/vss/_work/1/packages/azure-rest-ai-personalizer/azure-rest-ai-personalizer-1.0.0-alpha.20240322.1.tgz","_from":"file:/mnt/vss/_work/1/packages/azure-rest-ai-personalizer/azure-rest-ai-personalizer-1.0.0-alpha.20240322.1.tgz","_nodeVersion":"18.19.1","_npmVersion":"10.2.4","dist":{"integrity":"sha512-7yvDw7eCc7ZWgyZ5H1enj8uficymMy9Q8cwAoDVTxZmXTe3tPiI8apyA8RQ6vzfgTzTqw6mHoYJcNiNQhC3OwQ==","shasum":"8c1c5c7e0b65b7cc14bb992f6d6828a1db051c47","tarball":"https://registry.npmjs.org/@azure-rest/ai-personalizer/-/ai-personalizer-1.0.0-alpha.20240322.1.tgz","fileCount":22,"unpackedSize":141770,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDJtjdrvBc7giRZx1dLx7/pn1ckdWcGOzWrTgcfnyEdkAIhAMvvFI/SPoNR7y8HE3bfldz2WV8Apd9nZPYi+c0V8j/I"}]},"_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/ai-personalizer_1.0.0-alpha.20240322.1_1711168607103_0.3381234622307543"},"_hasShrinkwrap":false,"deprecated":"Service has been deprecated; see https://learn.microsoft.com/en-us/azure/ai-services/personalizer/frequently-asked-questions"}},"time":{"created":"2022-09-13T04:30:03.241Z","1.0.0-alpha.20220912.5":"2022-09-13T04:30:03.560Z","modified":"2024-04-08T15:56:16.642Z","1.0.0-beta.1":"2022-09-13T05:18:17.297Z","1.0.0-alpha.20220919.1":"2022-09-20T04:32:59.808Z","1.0.0-alpha.20220922.1":"2022-09-23T04:29:24.411Z","1.0.0-alpha.20221014.1":"2022-10-15T04:28:53.179Z","1.0.0-alpha.20221020.3":"2022-10-21T04:30:07.325Z","1.0.0-alpha.20221213.2":"2022-12-14T05:31:39.616Z","1.0.0-alpha.20221214.2":"2022-12-15T05:33:27.037Z","1.0.0-alpha.20230126.1":"2023-01-27T05:31:28.032Z","1.0.0-alpha.20230210.1":"2023-02-11T05:31:33.130Z","1.0.0-alpha.20230302.1":"2023-03-03T05:30:46.395Z","1.0.0-alpha.20230306.1":"2023-03-07T05:53:57.614Z","1.0.0-alpha.20230320.1":"2023-03-21T04:33:02.942Z","1.0.0-alpha.20230418.1":"2023-04-19T04:32:57.941Z","1.0.0-alpha.20230508.2":"2023-05-09T04:30:35.386Z","1.0.0-alpha.20230823.1":"2023-08-24T04:28:34.904Z","1.0.0-alpha.20230922.1":"2023-09-23T04:34:07.115Z","1.0.0-alpha.20230926.1":"2023-09-27T04:31:53.068Z","1.0.0-alpha.20230929.1":"2023-09-30T04:49:28.430Z","1.0.0-alpha.20231009.1":"2023-10-10T04:49:49.338Z","1.0.0-alpha.20231023.1":"2023-10-24T04:50:00.388Z","1.0.0-alpha.20231030.1":"2023-10-31T04:50:18.272Z","1.0.0-alpha.20231206.1":"2023-12-07T05:29:12.246Z","1.0.0-alpha.20240110.1":"2024-01-11T05:29:43.365Z","1.0.0-alpha.20240112.1":"2024-01-13T05:52:05.456Z","1.0.0-alpha.20240116.1":"2024-01-17T05:51:25.962Z","1.0.0-alpha.20240126.1":"2024-01-27T05:52:16.909Z","1.0.0-alpha.20240202.1":"2024-02-03T05:29:25.435Z","1.0.0-alpha.20240308.1":"2024-03-09T05:34:33.797Z","1.0.0-alpha.20240322.1":"2024-03-23T04:36:47.271Z"},"maintainers":[{"email":"npmjs@microsoft.com","name":"microsoft1es"},{"email":"azure-sdk-npmjs@microsoft.com","name":"azure-sdk"}],"description":"A client library for the Azure Personalizer service.","homepage":"https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/personalizer/ai-personalizer-rest/README.md","keywords":["node","azure","cloud","typescript","browser","isomorphic","personalizer","reinforcement learning","contextual bandit"],"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":""}