{"_id":"@alexa-skill-components/account-linking","_rev":"5-ec526bb748590ff4324265df2dedb21f","name":"@alexa-skill-components/account-linking","dist-tags":{"latest":"0.0.4"},"versions":{"0.0.1":{"name":"@alexa-skill-components/account-linking","version":"0.0.1","license":"AmznSL-1.0","_id":"@alexa-skill-components/account-linking@0.0.1","maintainers":[{"name":"amazon-prachibh","email":"prachibh@amazon.com"},{"name":"amzn-aaditya","email":"aadified@amazon.com"},{"name":"abhjroy","email":"abhjroy@amazon.com"},{"name":"mattsb42-aws","email":"bullocm@amazon.com"},{"name":"amzn-anusha","email":"panuanu@amazon.com"},{"name":"anuprk","email":"anukatar@amazon.com"},{"name":"amzn-akeat","email":"akeat@amazon.com"},{"name":"amzn-oss","email":"osa-3p@amazon.com"}],"homepage":"https://github.com/alexa/skill-components#readme","bugs":{"url":"https://github.com/alexa/skill-components/issues"},"ask":{"srcDir":"src"},"dist":{"shasum":"460518237a65da99a5c46543899f061977c8faad","tarball":"https://registry.npmjs.org/@alexa-skill-components/account-linking/-/account-linking-0.0.1.tgz","fileCount":14,"integrity":"sha512-7flrHFLLhtKUNBLj2VtFtUXjHyYPeRhPN4JxKp0YgfaqI1S3c7rpE1GnJZys2pZoMNwMEFYQh/49vsQeL4m04g==","signatures":[{"sig":"MEQCIFMXe7SZsYnAh87mzVSmU7MmqvLxQtE8JrLw/pYDT+J2AiBsxXcQv9DRNSLiQ3gY/voBLuwvkcTsdejsPB2CWCxEWA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37883,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjGsxXACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrdXg//VV//UztsVfsTH3b/NYsJUBAYVblcfr5xINCCjnfHDSM+wANi\r\nXoWVtOm5wfuuZrGjgL50j7G4Q0xPJ374Jf3W0YYTCPvpiQT+cSuOHWq2J5Ac\r\ndvhTs/FZXOGU2JO/q+Ce8rjMB55N1Eu7N4XI/v5My7yHjtmXh52DIIZGqVjV\r\n487+dEOntqoldwFJnUxjUCkHRVasZ1QAaZ7unwjOAkXUUfOu1mxA0PiSL9Lb\r\nFkSi69763+MDYu6AqXZENPrFZmzbchjfbmwjN1FIuBzNwfaATZFgZFhcrAVN\r\nl/B0b0dADrukzR0QeFvOkXSN10t1nF4LO6+sylgsf7flSMdJVUgylBf79Zwi\r\nIJYa7rIvOnZoegLIAdKzQy53GbsVim1E2WikcmYA+Wmdxr2tms8sUDOyvjLX\r\n57n0nk5AZFm8t92jvvzucK64R8ZCVlXK0Ha2AtAIh8Yf8nIt6DMgD1ylY+F6\r\naofHJ2E7fNwFOMy9OklLHsY+GgzK0lb8+tbrDKh4S/YzMQnCfcX21Xbc7c/t\r\nAnxJRYJByoEjS9wSo2fBf3WxosqnxdMThCmgY+iNHh9ItarY8o5I66lb2PbN\r\nYXUO1KP4q3534XKmnaNe1Pm98BLUf50ADvgjzNB/tKkaS64b6iZ+NkfD4FYc\r\nntMHFZyUZdTAFhYqLlwTImYjW3lIPl/+X4k=\r\n=XPtE\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"707dda45013aa8c3a922db5e17c1c48fe5074276","scripts":{"lint":"eslint --fix --max-warnings 0 -c .eslintrc.js 'src/**/*.{ts,tsx}'","test":"jest --testTimeout=10000","build":"npm run compile && npm pack","clean":"rm -rf dist && rm -rf build && rm -rf node_modules && rm -rf *.tgz","compile":"npm run compile-ts && npm run compile-acdl","release":"npm run build && npm run lint && npm run test","compile-ts":"tsc","clean-build":"npm run clean && npm install && npm run build","compile-acdl":"acc","clean-release":"npm run clean && npm install && npm run release"},"_npmUser":{"name":"abhjroy","email":"abhjroy@amazon.com"},"publisher":"Amazon","repository":{"url":"git+ssh://git@github.com/alexa/skill-components.git","type":"git","directory":"account-linking"},"_npmVersion":"8.16.0","description":"Alexa skill component for verifying a account is linked","directories":{},"_nodeVersion":"12.13.0","dependencies":{"ask-sdk-core":"^2.10.1","ask-sdk-model":"^1.18.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","eslint":"^7.2.0","ts-jest":"^26.5.6","typescript":"^4.1.2","@alexa/acdl":"^0.1.13","@types/jest":"^26.0.24","jest-html-reporter":"^3.2.0","eslint-plugin-import":"^2.22.1","@typescript-eslint/parser":"^3.3.0","@typescript-eslint/eslint-plugin":"^3.10.1"},"_npmOperationalInternal":{"tmp":"tmp/account-linking_0.0.1_1662700631456_0.22795911533560886","host":"s3://npm-registry-packages"}},"0.0.2":{"name":"@alexa-skill-components/account-linking","version":"0.0.2","license":"AmznSL-1.0","_id":"@alexa-skill-components/account-linking@0.0.2","maintainers":[{"name":"amazon-prachibh","email":"prachibh@amazon.com"},{"name":"amzn-aaditya","email":"aadified@amazon.com"},{"name":"abhjroy","email":"abhjroy@amazon.com"},{"name":"mattsb42-aws","email":"bullocm@amazon.com"},{"name":"amzn-anusha","email":"panuanu@amazon.com"},{"name":"anuprk","email":"anukatar@amazon.com"},{"name":"amzn-akeat","email":"akeat@amazon.com"},{"name":"amzn-oss","email":"osa-3p@amazon.com"}],"homepage":"https://github.com/alexa/skill-components#readme","bugs":{"url":"https://github.com/alexa/skill-components/issues"},"ask":{"srcDir":"src"},"dist":{"shasum":"e2f80b4f71c881837719ec199af4a431e35181a8","tarball":"https://registry.npmjs.org/@alexa-skill-components/account-linking/-/account-linking-0.0.2.tgz","fileCount":14,"integrity":"sha512-znwNdk8KbXXej5okDfswo6ojrP0wuK0yaQpQV2PKFke6d02OUs7DjD7BJLW/Z/RSo15vlJh8KNDF09YRCTPSRg==","signatures":[{"sig":"MEUCIQCz0jpYDNZfTi594GQuh6FGqBl4IdJ2BpEcLUJOrHP5VgIgEs6ZzIby7Om4KO3Ksl0Bp88cH/9cisxoR2eN9agPpZs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":37611,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjLVw8ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpv0A//Zso9KiKQB0gNB2Iz+L7kRxmZ3ZcPKqDvG1ri5Ww2OkJAcFyK\r\nzs9h+b4PP6QB4ujKFOCLT16jcjgr5ufaL7uaHqC8UuuZDXyBJ1Eoi68dH9O/\r\nQ8BNy8nb7akB3fwrU1T1kJy7ZCPMNtGO7/uaJpxzzPCrOd4YFSat0Ts83aia\r\nAOhJD7Vlc0+x6jmcR8hnaTrGgNbhp0kZakmkkjAQBTIsmnzN2rnVceLyw+47\r\n20D0ovGaAkMYK5ygW9CWGdguFhWg9iNAQhbMr7e+IQ7zZfIVncD1xJeSgIbz\r\nLrUTHhvj5KH7P10zng6vrQcLoUfGJpjgu51iaUloGbnUswYeWEuPQssE3/6t\r\nMD1NGMeuvMk2f2U7WHjoh8/6k1yCa0KUY503D5Xr6qJALDB3ruhHT9EwJbqt\r\nA7ZHlM4wMSaaLt+UYzEIoi8GC3Y4uAxwj+rAX4FOTlBdBlOvAy4NWAd1d9WQ\r\nS8is6UHqA2IWiziX8mCeaKkLTVnavQH4tOeTtYO5gsMpVi/DdZji3PDzttT7\r\nMFbCED8eS3h9Tt/xVkOg3Kwv1Fyy39yLEhZdpyTeIN0zVC0ryRQ5cHfgvjmW\r\nug6B65auESktGPvSvHnnPM9hS0x4Cuv+eSQpwbtUrdkO7jDVxXppDDMDts9W\r\nxqq443F5j7CMNXntcfPKsNeiAdEbCNz5K6A=\r\n=o6wT\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","scripts":{"lint":"eslint --fix --max-warnings 0 -c .eslintrc.js 'src/**/*.{ts,tsx}'","test":"jest --testTimeout=10000","build":"npm run compile && npm pack","clean":"rm -rf dist && rm -rf build && rm -rf node_modules && rm -rf *.tgz","compile":"npm run compile-ts && npm run compile-acdl","release":"npm run build && npm run lint && npm run test","compile-ts":"tsc","clean-build":"npm run clean && npm install && npm run build","compile-acdl":"acc","clean-release":"npm run clean && npm install && npm run release"},"_npmUser":{"name":"abhjroy","email":"abhjroy@amazon.com"},"publisher":"Amazon","repository":{"url":"git+ssh://git@github.com/alexa/skill-components.git","type":"git","directory":"account-linking"},"_npmVersion":"6.14.13","description":"Alexa skill component for verifying a account is linked","directories":{},"_nodeVersion":"14.17.3","dependencies":{"ask-sdk-core":"^2.10.1","ask-sdk-model":"^1.18.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","eslint":"^7.2.0","ts-jest":"^26.5.6","typescript":"^4.1.2","@alexa/acdl":"^0.1.13","@types/jest":"^26.0.24","jest-html-reporter":"^3.2.0","eslint-plugin-import":"^2.22.1","@typescript-eslint/parser":"^3.3.0","@typescript-eslint/eslint-plugin":"^3.10.1"},"_npmOperationalInternal":{"tmp":"tmp/account-linking_0.0.2_1663917116061_0.8434737594606447","host":"s3://npm-registry-packages"}},"0.0.3":{"name":"@alexa-skill-components/account-linking","version":"0.0.3","license":"AmznSL-1.0","_id":"@alexa-skill-components/account-linking@0.0.3","maintainers":[{"name":"amazon-prachibh","email":"prachibh@amazon.com"},{"name":"amzn-aaditya","email":"aadified@amazon.com"},{"name":"abhjroy","email":"abhjroy@amazon.com"},{"name":"mattsb42-aws","email":"bullocm@amazon.com"},{"name":"amzn-anusha","email":"panuanu@amazon.com"},{"name":"anuprk","email":"anukatar@amazon.com"},{"name":"amzn-akeat","email":"akeat@amazon.com"},{"name":"amzn-oss","email":"osa-3p@amazon.com"}],"homepage":"https://github.com/alexa/skill-components#readme","bugs":{"url":"https://github.com/alexa/skill-components/issues"},"ask":{"srcDir":"src"},"dist":{"shasum":"2f80a0e3af87eee616dc90705822635fc7b4c121","tarball":"https://registry.npmjs.org/@alexa-skill-components/account-linking/-/account-linking-0.0.3.tgz","fileCount":16,"integrity":"sha512-13/f/0zzSGtcP62EhvU1oF10HaS2N+y1MuuRZ3ea3RpaAAM2Rg2WaElWSf4Z2as+w2ruK6U8Fm6/x0DSLdTuGQ==","signatures":[{"sig":"MEQCIDTRHLX5N1g0zvZSpWzXlYFov5Te1EByxs9DPT7Fz+XrAiAtOYbOQVVadIETZcIR9Tm824LhlvT1yHcXTCtW91Nq+A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":52974,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjpCgwACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoABBAAnTPA0TLi9ESAgzG+sjQ4PzxldH2OR+8Dg0TZDgVBQ0INNQlc\r\neOuGV/vqXRFrCoX1Fx/r4gtAgmm3Qj86ujVzrWsu44YJ3R68JjMMGTi3ruhh\r\nY+x/vdLgEax4+EO22wOVVvaH5WVLijEM+Az7ZmA8RKvi3sQkq+65XfFyMfWg\r\nelAYE8XjKrTTxTX3bs6I/KUZw8P19Qn93tfBkFUxglQrT0acMpO/LyyoGk0a\r\nNMpxgZQ1PZux2vS+YXSuTrq9Jj5n/PictftHJ1+y6gfZ4Q79+Q3T24bLENwG\r\na6dk6DB7PTotxNeKAbQaFR2897mFXp2yEQdqUViPLViRQWJAts9N+Vuz69OR\r\no1Er+OqL2EEt48V9wiSpw+Jbzh3Qvc/WRsxOEvguk5uK+F0LviXRAjl7ojZl\r\nVtSuI7ZYJsibeZGaPHwv/2sZ+fX8Oc/uSYTe8SrjQikERfVnW8UMuxnnQ4J3\r\nwa+Adntq07Pu0dqMwofExLYLdG3GEv/KQavgWg1fk2rCnZfuTJjr6lZCHDBF\r\njr0jRqVD6y+k78oXtn47MeFCE/tOUaVa7tUNjTqfLUocCJYnmp7wsLV37GYW\r\n+sQApXklJ++2puU3KQ9s+6bw8ExIcuzqz7KGd2Rojf3rFU8Dt88LTXqg8HL9\r\nCSZhyM6dUiMHTRnoqhTFSTj7UwWkkBMHhM0=\r\n=ywNJ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"2217d53af4a7458d3a572ee1f8850889eb8347e0","scripts":{"lint":"eslint --fix --max-warnings 0 -c .eslintrc.js 'src/**/*.{ts,tsx}'","test":"jest --testTimeout=10000","build":"npm run compile && npm pack","clean":"rm -rf dist && rm -rf build && rm -rf node_modules && rm -rf *.tgz","compile":"npm run compile-ts && npm run compile-acdl","release":"npm run build && npm run lint && npm run test","compile-ts":"tsc","clean-build":"npm run clean && npm install && npm run build","compile-acdl":"acc","clean-release":"npm run clean && npm install && npm run release"},"_npmUser":{"name":"amzn-aaditya","email":"aadified@amazon.com"},"publisher":"Amazon","repository":{"url":"git+ssh://git@github.com/alexa/skill-components.git","type":"git","directory":"account-linking"},"_npmVersion":"8.19.3","description":"Alexa skill component for verifying a account is linked","directories":{},"_nodeVersion":"19.2.0","dependencies":{"ask-sdk-core":"^2.10.1","ask-sdk-model":"^1.18.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","eslint":"^7.2.0","ts-jest":"^26.5.6","typescript":"^4.1.2","@alexa/acdl":"^0.1.21","@types/jest":"^26.0.24","jest-html-reporter":"^3.2.0","eslint-plugin-import":"^2.22.1","@typescript-eslint/parser":"^3.3.0","@typescript-eslint/eslint-plugin":"^3.10.1"},"_npmOperationalInternal":{"tmp":"tmp/account-linking_0.0.3_1671702576110_0.655647039041604","host":"s3://npm-registry-packages"}},"0.0.4":{"name":"@alexa-skill-components/account-linking","version":"0.0.4","license":"AmznSL-1.0","_id":"@alexa-skill-components/account-linking@0.0.4","maintainers":[{"name":"amazon-prachibh","email":"prachibh@amazon.com"},{"name":"amzn-aaditya","email":"aadified@amazon.com"},{"name":"abhjroy","email":"abhjroy@amazon.com"},{"name":"mattsb42-aws","email":"bullocm@amazon.com"},{"name":"amzn-anusha","email":"panuanu@amazon.com"},{"name":"anuprk","email":"anukatar@amazon.com"},{"name":"amzn-akeat","email":"akeat@amazon.com"},{"name":"amzn-oss","email":"osa-3p@amazon.com"}],"homepage":"https://github.com/alexa/skill-components#readme","bugs":{"url":"https://github.com/alexa/skill-components/issues"},"ask":{"srcDir":"src"},"dist":{"shasum":"eb82d93a5c5fbfb088b3393d0341e41b1857875f","tarball":"https://registry.npmjs.org/@alexa-skill-components/account-linking/-/account-linking-0.0.4.tgz","fileCount":16,"integrity":"sha512-PT/fOGxAvGB09Bh39Ha25iFKybgmuvcpS4o1OJX9wNiZeK64Nn6TAqtzOhFH44AwpHK20aconi1STXD4nU7Miw==","signatures":[{"sig":"MEUCIA8joyG1o5F5j9SEpIK+rT5sXGHFvtB68E4pt8iRUXPwAiEAlDPz3CRBt92a2+r7LhsL8bA6o/1J7lDZBEx/AVLc0E0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":52989,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj7iC1ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo3Vw/9FqBHqVdPGXJ8ayJsdWRUBkhqllSMqH3WgzVoj52exdtg9hoI\r\nFosgb9cVZ3dtvHdK+CBkL/1CDIITaF+JO/u1cjinH7dWbOeREqjLNZyQ+npn\r\nkhMxZ79Ii+LP4ZqppykOntQfzAvl9l9PP1Cu8ITsy6yjtJxw3Ld4EHHC+FAh\r\nlg0zF0YzWvcn6evur0JzthN9PEihjWES+quUlpe/3/w4ehJn0M04PNivQ0FT\r\nOmMIPFUCKm8bmG6vO9pLo1lh0saBovlzbyP+9vtFxA9G/B1lx94xryBn7a5b\r\niDGl/ue6VXLo+QCQWXQRyat0BY7bBb5OKgOL+W3Pva3NbWonnwALfRLxwJRh\r\nQKoT/eGAeE+16d7TTGUkOm0m5Y7wcyIgn+M3DUdnzw39wesFAacXHBEnsJPN\r\nn1fSIV57RR4bS0Y8AkfokmNHssH4bdXt4JDq/dCD0I390QIXcsO1uGURJiO/\r\n6BoKMYVdZJBfhi8cekKBVZB/XIWjsr5Pj57BPBbH587xS1qM90b8RfP38ErM\r\nWyMmGT1VUcpVm39Uh6QFwlbSpeHJoz1UP0159LBK5iTGm0DoLUoKg4l5LjE/\r\nCLsbJhNbNhH9Kw/5GH91Rlm8z30odD8263jKR9Y6prBUz7J0pdHTl9Eje/R4\r\nay+cRDiAqe61X0OJmUuDbEXx4QaLwvenouA=\r\n=h8/R\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"818f5ec9b6e84b020a310efc7e382822bf2e604f","scripts":{"lint":"eslint --fix --max-warnings 0 -c .eslintrc.js 'src/**/*.{ts,tsx}'","test":"jest --testTimeout=10000","build":"npm run compile && npm pack","clean":"rm -rf dist && rm -rf build && rm -rf node_modules && rm -rf *.tgz","compile":"npm run compile-ts && npm run compile-acdl","release":"npm run build && npm run lint && npm run test","compile-ts":"tsc","clean-build":"npm run clean && npm install && npm run build","compile-acdl":"acc","clean-release":"npm run clean && npm install && npm run release"},"_npmUser":{"name":"amzn-aaditya","email":"aadified@amazon.com"},"publisher":"Amazon","repository":{"url":"git+ssh://git@github.com/alexa/skill-components.git","type":"git","directory":"account-linking"},"_npmVersion":"8.19.3","description":"Alexa skill component for verifying a account is linked","directories":{},"_nodeVersion":"19.2.0","dependencies":{"ask-sdk-core":"^2.10.1","ask-sdk-model":"^1.18.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^26.6.3","eslint":"^7.2.0","ts-jest":"^26.5.6","typescript":"^4.1.2","@alexa/acdl":"^0.1.21","@types/jest":"^26.0.24","jest-html-reporter":"^3.2.0","eslint-plugin-import":"^2.22.1","@typescript-eslint/parser":"^3.3.0","@typescript-eslint/eslint-plugin":"^3.10.1"},"_npmOperationalInternal":{"tmp":"tmp/account-linking_0.0.4_1676550325247_0.2789694482960141","host":"s3://npm-registry-packages"}}},"time":{"created":"2022-09-09T05:17:11.400Z","modified":"2025-05-22T20:55:54.502Z","0.0.1":"2022-09-09T05:17:11.638Z","0.0.2":"2022-09-23T07:11:56.200Z","0.0.3":"2022-12-22T09:49:36.312Z","0.0.4":"2023-02-16T12:25:25.573Z"},"bugs":{"url":"https://github.com/alexa/skill-components/issues"},"license":"AmznSL-1.0","homepage":"https://github.com/alexa/skill-components#readme","repository":{"url":"git+ssh://git@github.com/alexa/skill-components.git","type":"git","directory":"account-linking"},"description":"Alexa skill component for verifying a account is linked","maintainers":[{"email":"osa-3p@amazon.com","name":"amzn-oss"},{"email":"akeat@amazon.com","name":"amzn-akeat"},{"email":"anukatar@amazon.com","name":"anuprk"},{"email":"aadified@amazon.com","name":"amzn-aaditya"},{"email":"prachibh@amazon.com","name":"amazon-prachibh"}],"readme":"<body>\n\n<h1 align= \"center\"> Account Linking Skill Component </h1>\n\n<details>\n  <summary>Table of contents</summary>\n  <ol>\n     <ul>\n    <li><a href=\"#getting-started\">Getting started</a></li>\n    <li><a href=\"#prerequisites\">Prerequisites</a></li>\n    <li><a href=\"#installation\">Installation</a></li>\n    <li><a href=\"#features\">Features</a></li>\n    <li><a href=\"#contributions\">Contributions</a></li>\n    <li><a href=\"#license\">License</a></li>\n    <li><a href=\"#related-topics\">Related topics</a></li>\n    </ul>\n  </ol>\n</details>\n\n**NOTE:**  Alexa skill components are offered as a pre-production alpha release in developer preview. Support at this stage is limited. Our goal is to elicit feedback on our approach and design as we build toward general availability. Although we make every effort to maximize backward compatibility of this release, we can't promise it, nor can we guarantee a rapid turnaround on bug fixes. Amazon is actively updating the skill components, however, and we look forward to your feedback. Check back often to get the latest version of the components. [Sign up to join us](https://build.amazonalexadev.com/2022-Skill-Components-Interest.html) in our effort to help you build more engaging Alexa skills faster!\n\n***\n\nPre-made Alexa skill components help you develop high-quality Alexa skills quickly. You can use the account linking reusable skill component to enhance any skill that requires a [linked account](https://developer.amazon.com/en-US/docs/alexa/smapi/account-linking-operations.html). The reusable dialog validates whether a user's account is already linked in an existing ACDL skill. It checks for an access token from a linked account, automatically prompting the user to set up an account link if necessary. \n\n<p style=\"text-align:right\">(<a href=\"#top\">Back to top</a>)</p>\n\n## Getting started\n\nThe account linking skill component works with Alexa Conversations skills created on the command line with the Alexa Conversations Description Language (ACDL) (beta). When you create your skill, you write sample conversations, or [dialogs](https://developer.amazon.com/en-US/docs/alexa/conversations/acdl-dialogs.html), and use the [Alexa Skills Kit Command Line Interface (ASK CLI)](https://developer.amazon.com/en-US/docs/alexa/conversations/acdl-set-up-ask-cli.html) to [build and deploy your skill](https://developer.amazon.com/en-US/docs/alexa/conversations/acdl-tutorial-create-skill.html). \n\nThese sample dialogs represent the various conversational experiences your skill supports. Alexa Conversations [uses a dialog simulator](https://developer.amazon.com/de-DE/docs/alexa/conversations/acdl-using.html) to expand your annotated dialogs into variants that train the dialog management model. The Alexa Conversations runtime hosts the trained model to process incoming [events](https://developer.amazon.com/de-DE/docs/alexa/conversations/acdl-using-events.html) and predict [actions](https://developer.amazon.com/de-DE/docs/alexa/conversations/acdl-using-actions.html).\n\n**NOTE:**  Alexa Conversations Description Language (ACDL) is offered as a beta and may change as we receive feedback and iterate on the feature.\n\n<p style=\"text-align:right\">(<a href=\"#top\">Back to top</a>)</p>\n\n## Features\n\nThe account linking skill component simplifies the account linking development process in several ways.\n\n* Checks the user's access token and automatically prompts the user to link their account if necessary\n* Generates speech that briefly explains the benefits of account linking\n* On multimodal devices, displays a default Alexa presentation language (APL) screen\n* Sends a \"Link account\" card to the Alexa companion app on the user's mobile device\n\n<p style=\"text-align:right\">(<a href=\"#top\">Back to top</a>)</p>\n\n## Prerequisites\n\nBefore you start, you need an Amazon developer account. You can use an existing Amazon account to sign in, or you can [create a new account](../ask-overviews/create-developer-account.html). The account is free. \n\nLog in to the [Alexa developer console](https://developer.amazon.com/alexa/console/ask), and make sure you meet the following other prerequisites. \n\n* The ASK CLI is installed.<br>\nIf not, run the following command to install it. \n```\n$ npm install -g ask-cli\n```\n* The ASK CLI is [configured](https://developer.amazon.com/en-US/docs/alexa/smapi/quick-start-alexa-skills-kit-command-line-interface.html).<br>\n\n* You have an [Alexa skill that uses ACDL](https://developer.amazon.com/en-US/docs/alexa/workshops/acdl-flightsearch-tutorial/get-started/index.html).<br>\nTo create a new ACDL skill, see [Tutorial: Create an Alexa Conversations Skill with the ACDL](https://developer.amazon.com/en-US/docs/alexa/conversations/acdl-tutorial-create-skill.html).\n* Account linking is enabled for your skill.<br>\nYou can [configure your options in the developer console](https://developer.amazon.com/en-US/docs/alexa/account-linking/steps-to-implement-account-linking.html#step-2-configure-account-linking-in-the-developer-console).\n* The [ASK SDK v2.11.0](https://www.npmjs.com/package/ask-sdk) or higher is installed.<br> \nIf not, to install it, run the following command.\n```\n$ npm install --save ask-sdk\n```\n* The `npm` cache is empty.<br>\nTo clear the cache, run the following command.\n```\n$ npm install -g n\n```\n* The latest version of Node.js is installed.<br> \nTo update Node.js, run the following command.\n```\n$ n latest\n```\n* You have the latest version of `npm`.<br>\nTo update `npm`, run the following command.\n```\n$ npm install -g npm@latest\n```\n* (_Optional_) The latest version of Typescript (version 4.1.2 or higher) is installed.<br>\nTo update Typescript, enter the following command.\n```\n$ npm install -g typescript@next\n```\n\n<p style=\"text-align:right\">(<a href=\"#top\">Back to top</a>)</p>\n\n## Installation\n\n### Step 1: [Add the account linking reusable dialog](https://developer.amazon.com/en-US/docs/alexa/conversations/acdl-reusable-dialogs.html) as a dependency\n<br>\n\n **To install the dependency using `npm`**\n\n```\n$ npm i @alexa-skill-components/account-linking\n\n```\n\n**To install the dependency using your `package.json` file**\n\n```\n{\n\"dependencies\":\n{ \"@alexa-skill-components/account-linking\": \"*\" }\n}\n```\nThe resulting `package.json` file might look similar to the following example.\n```\n{\n  \"types\": \"dist/index.d.ts\",\n  \"files\": [\n    \"dist/*\",\n    \"interactionModels/*\",\n    \"response/*\",\n    \"build\"\n   ]\n  \"dependencies\": {\n    \"@alexa-skill-components/account-linking\": \"*\"\n    \"@aws-sdk/client-dynamodb\": \"^3.199.0\",\n    \"@aws-sdk/util-dynamodb\": \"^3.199.0\",\n    \"@types/node\": \"^18.8.4\",\n    \"ask-sdk-core\": \"^2.10.1\",\n    \"ask-sdk-model\": \"^1.39.0\",\n    \"lodash\": \"^4.17.15\",\n    \"uuid\": \"^8.3.2\"  \n   }\n}\n```\n### Step 2: Install account linking reusable dialog package dependencies\n<br>\n\n**To install package dependencies**\n\nFrom the root of your skill package, run the following command.\n\n```\n$ npm install \n```\n\n### Step 3: Invoke the reusable dialogs\n<br>\n\n**To invoke the account linking reusable dialog in your skill**<br>\n\nIn your existing ACDL dialog, mark the point at which you want to validate account linking. To do so, supply a customized Alexa presentation language (APL) and APLA (APL-audio) prompt document that indicates how Alexa should respond if account linking is not set up or configured correctly. The following is an example prompt.\n\n```\nYou need a ride hailer account to order a ride. Open the Alexa app and click the link to connect to your ride hailer account.\n```\n\nThe following example is a reusable dialog associated with the ride hailer use case. \n```\nnamespace com.example.skill.name\n\nimport com.amazon.alexa.accountlinking.required.validateAccountIsLinked\nimport prompts.AccountLinkingRequiredAPLAPrompt\nimport prompts.AccountLinkingRequiredAPLPrompt\n\ndialog Nothing RideHailerDialog {\n    sample {\n        ...\n        ...\n        defResponse = MultiModalResponse {\n            apla =  AccountLinkingRequiredAPLAPrompt,\n            apl = AccountLinkingRequiredAPLPrompt\n        }\n        validateAccountIsLinked(defResponse)\n        ...\n        ...\n    }\n}\n```\n\n### Step 4: Compile and deploy the skill\n<br>\n\n**To compile your ACDL skill**<br>\n\nFrom the root directory of your skill package, run the following command.\n\n```\n$ askx compile \n```\n\n**To deploy your ACDL skill**<br>\n\nFrom the root directory of your skill package, run the following command.\n\n```\n$ askx deploy \n```\n\n### Step 5: Modify your AWS Lambda methods\n<br>\n\n**To modify your AWS Lambda index.js file in Javascript**<br>\n\nIn your main AWS Lambda index file, import the `GetAccountLinkingStatusHandler`. The following example shows how to import `@alexa-skill-components/account-linking`. \n\n```\nconst accountLinking = require('@alexa-skill-components/account-linking');\n\nexports.handler = Alexa.SkillBuilders.custom()\n.addRequestHandlers(\nnew accountLinking.GetAccountLinkingDetailsHandler(),\n)\n.lambda();\n```\n\n**(_Optional_) To modify your AWS Lambda index.ts file in Typescript**<br>\n\nIn your `index.ts` file, use the following syntax to modify your AWS Lambda methods.\n\n```\nimport { GetAccountLinkingDetailsHandler } from \"@alexa-skill-components/account-linking\"\n\nexports.handler = Alexa.SkillBuilders.custom()\n    .addRequestHandlers(\n        new GetAccountLinkingDetailsHandler(),\n        ....\n    )\n    .lambda();\n```\n\n<p style=\"text-align:right\">(<a href=\"#top\">Back to top</a>)</p>\n\n## Contributions\n\nAmazon wants to continually improve the customer experience, and we welcome your candid feedback. Connect with us on our [Slack channel](https://alexa.design/slack) to share your thoughts.\n\nCheck back here often to get the latest instance of the account linking reusable dialog skill component.\n\n<p style=\"text-align:right\">(<a href=\"#top\">Back to top</a>)</p>\n\n\n## License\n\nCopyright 2022 Amazon.com, Inc., or its affiliates. All rights reserved. You may not use this file except in compliance with the terms and conditions set forth in the accompanying LICENSE file. THESE MATERIALS ARE PROVIDED ON AN \"AS IS\" BASIS. AMAZON SPECIFICALLY DISCLAIMS, WITH RESPECT TO THESE MATERIALS, ALL WARRANTIES, EXPRESS, IMPLIED, OR STATUTORY, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT.\n\n<p style=\"text-align:right\">(<a href=\"#top\">Back to top</a>)</p>\n\n## Related topics\n\n* [Get Started with the Alexa Conversations Description Language](https://developer.amazon.com/en-US/docs/alexa/conversations/acdl-get-started.html)\n* [Alexa Skills Kit Toolkit for VS Code](https://marketplace.visualstudio.com/items?itemName=ask-toolkit.alexa-skills-kit-toolkit)\n* [Test Skills in Visual Studio Code](https://developer.amazon.com/en-US/docs/alexa/ask-toolkit/vs-code-testing-simulator.html)\n\n<p style=\"text-align:right\">(<a href=\"#top\">Back to top</a>)</p>\n\n[contributors-shield]: https://img.shields.io/github/contributors/github_username/repo_name.svg?style=for-the-badge\n[contributors-url]: https://github.com/alexa/skill-components/graphs/contributors\n[forks-shield]: https://img.shields.io/github/forks/github_username/repo_name.svg?style=for-the-badge\n[forks-url]: https://github.com/alexa/skill-components/network/members\n[stars-shield]: https://img.shields.io/github/stars/github_username/repo_name.svg?style=for-the-badge\n[stars-url]: https://github.com/alexa/skill-components/stargazers\n[issues-shield]: https://img.shields.io/github/issues/github_username/repo_name.svg?style=for-the-badge\n[issues-url]: https://github.com/alexa/skill-components/issues\n[license-shield]: https://img.shields.io/github/license/github_username/repo_name.svg?style=for-the-badge\n[license-url]: https://github.com/alexa/skill-components/blob/master/LICENSE.txt\n[linkedin-shield]: https://img.shields.io/badge/-LinkedIn-black.svg?style=for-the-badge&logo=linkedin&colorB=555\n\n </body>","readmeFilename":"README.md"}