{"_id":"@amazon-connect/contact-ui","name":"@amazon-connect/contact-ui","dist-tags":{"latest":"1.0.14"},"versions":{"1.0.14":{"name":"@amazon-connect/contact-ui","version":"1.0.14","description":"Contact-scoped UI action interceptors of the Amazon Connect SDK","publishConfig":{"access":"public"},"scripts":{"build":"npm run build:cjs && npm run build:esm","build:cjs":"swc ./src --out-dir lib --config-file ../.swcrc.cjs.json --ignore '**/*.test.ts' --strip-leading-paths && tsc -p tsconfig.cjs.json --emitDeclarationOnly","build:esm":"swc ./src --out-dir lib-esm --config-file ../.swcrc.esm.json --ignore '**/*.test.ts' --strip-leading-paths && tsc -p tsconfig.esm.json --emitDeclarationOnly","check-types":"tsc --noEmit","clean":"rm -rf ./lib ./lib-esm ./build","format":"npm run lint -- --fix","lint":"eslint --cache .","prepack":"npx nx build:cjs && npx nx build:esm","test":"jest --coverage"},"license":"Apache-2.0","repository":{"type":"git","url":"ssh://git.amazon.com/pkg/AmazonConnectSDK"},"main":"lib/index.js","module":"lib-esm/index.js","types":"lib/index.d.ts","dependencies":{"@amazon-connect/core":"1.0.14","@amazon-connect/extensibility":"1.0.14"},"_id":"@amazon-connect/contact-ui@1.0.14","gitHead":"4d9df77c57168436ce518a7e1c2b369bcb4cdbf7","_nodeVersion":"20.18.3","_npmVersion":"10.8.2","dist":{"integrity":"sha512-kH2bdc6kDxWYONj3nCQF8qgHlJhsVQoIq1rNA1WeUZB3KZGa2sSWcdYY5juVhBK5Cbd1tCI/GSnFI7nFHYlSkA==","shasum":"2ffe340bedaeacc04964a67d4eb9dbb093d8acf3","tarball":"https://registry.npmjs.org/@amazon-connect/contact-ui/-/contact-ui-1.0.14.tgz","fileCount":20,"unpackedSize":259391,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQD4awR6Cnhj4Zt2k1W5nM0iw9FYmFnzYXe4pcN34+JAcQIhALL1WoDgPE98k2s0jcVk4z/Jxq/ohhyBGCAjU2mD/tvT"}]},"_npmUser":{"name":"amazonconnectsdk","email":"connect-sdk@amazon.com"},"directories":{},"maintainers":[{"name":"amazonconnectsdk","email":"connect-sdk@amazon.com"},{"name":"ctwomblyamzn","email":"ctwombly@amazon.com"},{"name":"kavisth","email":"kavisth@amazon.com"},{"name":"jagadeey","email":"jagadeey@gmail.com"},{"name":"blee-amzn","email":"bomilee@amazon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/contact-ui_1.0.14_1784918319423_0.04210672185480968"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-24T18:38:39.222Z","1.0.14":"2026-07-24T18:38:39.554Z","modified":"2026-07-24T18:38:39.838Z"},"maintainers":[{"name":"amazonconnectsdk","email":"connect-sdk@amazon.com"},{"name":"ctwomblyamzn","email":"ctwombly@amazon.com"},{"name":"kavisth","email":"kavisth@amazon.com"},{"name":"jagadeey","email":"jagadeey@gmail.com"},{"name":"blee-amzn","email":"bomilee@amazon.com"}],"description":"Contact-scoped UI action interceptors of the Amazon Connect SDK","repository":{"type":"git","url":"ssh://git.amazon.com/pkg/AmazonConnectSDK"},"license":"Apache-2.0","readme":"# @amazon-connect/contact-ui\n\nContact-scoped UI action interceptors for the Amazon Connect SDK. Provides a\ntyped surface over the generic `@amazon-connect/extensibility` interceptor\npipeline for the built-in contact/CCP UI actions (Quick Connect, outbound\ndialer, and clearing a contact).\n\n## Installation\n\n```bash\nnpm install @amazon-connect/contact-ui\n```\n\n## Usage\n\n```typescript\nimport { ContactInterceptorService } from \"@amazon-connect/contact-ui\";\n\nconst interceptors = new ContactInterceptorService(provider);\n\n// Require a disposition code before a contact is cleared.\nawait interceptors.addClearContactInterceptor(async ({ contactId }) => {\n  const hasDisposition = await checkDisposition(contactId);\n  return { continue: hasDisposition };\n});\n```\n\n## API Reference\n\nDocumentation will be added as the package develops.\n","readmeFilename":"README.md","_rev":"1-f879e2b941ecd182daff4093accec470"}