{"_id":"@careerkarma/voice-call","_rev":"9-4ebac8426117603afbcbaa8df96b61cc","name":"@careerkarma/voice-call","dist-tags":{"latest":"1.0.1"},"versions":{"0.0.1":{"name":"@careerkarma/voice-call","version":"0.0.1","author":{"name":"Career Karma, Inc"},"license":"MIT","_id":"@careerkarma/voice-call@0.0.1","maintainers":[{"name":"n.rybitskyi","email":"yohoho.ua@gmail.com"},{"name":"careerkarma_admin","email":"engineeringadmin@careerkarma.com"}],"homepage":"https://github.com/Career-Karma/voice-call#readme","bugs":{"url":"https://github.com/Career-Karma/voice-call/issues"},"dist":{"shasum":"13a2b0ca1c95da6a3f62ab71ab6470491c37c97e","tarball":"https://registry.npmjs.org/@careerkarma/voice-call/-/voice-call-0.0.1.tgz","fileCount":27,"integrity":"sha512-Y5rTrjEO6S23HzASwGZp3meXI+J29HshLiq/mfTbkY7OyS6HXiYyMQuuDCelfXQ0atJ0Yn5+h0OeZWwXdUQJ1A==","signatures":[{"sig":"MEYCIQCMRpYRyDwHx78L/mHo3TgmL6S5owgO1EsXhxByfIbLqwIhAPEoqbPypNazx95m3edp7cYnRY4A2L+TP/SySEefuKgN","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42136},"main":"dist/index.ts","types":"dist/index.d.ts","gitHead":"36c96f0f0f0b4905e27dda1685c28e575a420d0c","scripts":{"test":"jest","build":"tsc","prepare":"npm run build"},"_npmUser":{"name":"careerkarma_admin","email":"engineeringadmin@careerkarma.com"},"repository":{"url":"git+ssh://git@github.com/Career-Karma/voice-call.git","type":"git"},"_npmVersion":"10.1.0","description":"Voice Calls for Career Karma API in your web application","directories":{},"_nodeVersion":"20.9.0","dependencies":{"events":"^3.3.0","@daily-co/daily-js":"^0.70.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.2.5","ts-node":"^10.9.2","typescript":"^5.5.4","@types/jest":"^29.5.12","@types/node":"^22.5.1","@types/events":"^3.0.3"},"_npmOperationalInternal":{"tmp":"tmp/voice-call_0.0.1_1724857975693_0.5531604673923269","host":"s3://npm-registry-packages"}},"0.0.2":{"name":"@careerkarma/voice-call","version":"0.0.2","author":{"name":"Career Karma, Inc"},"license":"MIT","_id":"@careerkarma/voice-call@0.0.2","maintainers":[{"name":"n.rybitskyi","email":"yohoho.ua@gmail.com"},{"name":"careerkarma_admin","email":"engineeringadmin@careerkarma.com"}],"homepage":"https://github.com/Career-Karma/voice-call#readme","bugs":{"url":"https://github.com/Career-Karma/voice-call/issues"},"dist":{"shasum":"90b0cfade70053b1a46aa40ab2b7504e21d139d0","tarball":"https://registry.npmjs.org/@careerkarma/voice-call/-/voice-call-0.0.2.tgz","fileCount":15,"integrity":"sha512-wu/v3XgEzCCsNHcyYVz9sm9ea3lt1Mz+/4CXrwD/ilqZcqIA+7aKpUGixOd0bYIdsjHXV4n5l8s922iLxa4jDw==","signatures":[{"sig":"MEQCICH2QI8EX8bM6KZcLyRgBu/wu8ZXLepqfTvjSDykxRfCAiAZT/nUgfXwetaYakpntgvpLZaTRV+rMv0ve5Q6nEgCoA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23255},"main":"./dist/src/index.js","types":"./dist/src/index.d.ts","gitHead":"36c96f0f0f0b4905e27dda1685c28e575a420d0c","scripts":{"test":"jest","build":"tsc","prepare":"npm run build"},"_npmUser":{"name":"careerkarma_admin","email":"engineeringadmin@careerkarma.com"},"repository":{"url":"git+ssh://git@github.com/Career-Karma/voice-call.git","type":"git"},"_npmVersion":"9.8.1","description":"Voice Calls for Career Karma API in your web application","directories":{},"_nodeVersion":"18.18.2","dependencies":{"events":"^3.3.0","@daily-co/daily-js":"^0.70.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.2.5","ts-node":"^10.9.2","typescript":"^5.5.4","@types/jest":"^29.5.12","@types/node":"^22.5.1","@types/events":"^3.0.3"},"_npmOperationalInternal":{"tmp":"tmp/voice-call_0.0.2_1724883624473_0.17571180129903574","host":"s3://npm-registry-packages"}},"0.0.3":{"name":"@careerkarma/voice-call","version":"0.0.3","author":{"name":"Career Karma, Inc"},"license":"MIT","_id":"@careerkarma/voice-call@0.0.3","maintainers":[{"name":"n.rybitskyi","email":"yohoho.ua@gmail.com"},{"name":"careerkarma_admin","email":"engineeringadmin@careerkarma.com"}],"homepage":"https://github.com/Career-Karma/voice-call#readme","bugs":{"url":"https://github.com/Career-Karma/voice-call/issues"},"dist":{"shasum":"f715ab72fcbaac22c92a2dd246e871c7ebb3ad01","tarball":"https://registry.npmjs.org/@careerkarma/voice-call/-/voice-call-0.0.3.tgz","fileCount":15,"integrity":"sha512-7XOd0HZqJsG6q04ELZqG5Y/DSLHZtNDiCG5tgmwlOY5BjYndxqRbXyZ8Vz51uVh3oiBu0+VxfDYGhMh3ta6jCQ==","signatures":[{"sig":"MEQCIFkehyKyu8NKtPPEQx9Nx8+4nMidmN58YMn7PBdxMtPJAiAArccaqLfj/we84C9ujMSxqt0T2GsTY3si8gdzwF8j/Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23417},"main":"./dist/src/index.js","types":"./dist/src/index.d.ts","gitHead":"768ab2927c7269322abd5aac9cbee18848b48dfd","scripts":{"test":"jest","build":"tsc","prepare":"npm run build"},"_npmUser":{"name":"careerkarma_admin","email":"engineeringadmin@careerkarma.com"},"repository":{"url":"git+ssh://git@github.com/Career-Karma/voice-call.git","type":"git"},"_npmVersion":"9.8.1","description":"Voice Calls for Career Karma API in your web application","directories":{},"_nodeVersion":"18.18.2","dependencies":{"events":"^3.3.0","@daily-co/daily-js":"^0.70.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.2.5","ts-node":"^10.9.2","typescript":"^5.5.4","@types/jest":"^29.5.12","@types/node":"^22.5.1","@types/events":"^3.0.3"},"_npmOperationalInternal":{"tmp":"tmp/voice-call_0.0.3_1724930276996_0.677788154509624","host":"s3://npm-registry-packages"}},"0.0.4":{"name":"@careerkarma/voice-call","version":"0.0.4","author":{"name":"Career Karma, Inc"},"license":"MIT","_id":"@careerkarma/voice-call@0.0.4","maintainers":[{"name":"n.rybitskyi","email":"yohoho.ua@gmail.com"},{"name":"careerkarma_admin","email":"engineeringadmin@careerkarma.com"}],"homepage":"https://github.com/Career-Karma/voice-call#readme","bugs":{"url":"https://github.com/Career-Karma/voice-call/issues"},"dist":{"shasum":"29c4952536334707cf99967389e14dff0b6b0669","tarball":"https://registry.npmjs.org/@careerkarma/voice-call/-/voice-call-0.0.4.tgz","fileCount":15,"integrity":"sha512-eMKHqs9qhsSUuL+oXI1d5I/vZyNf5v/H/ZcW9v8oVrIrdRO3PZnGRcCmiaWPrCv7J8/MovAdboUT4q5blS/IIQ==","signatures":[{"sig":"MEYCIQDF0YZW8/xutzENGzbiwoEHFjrDikjVfVoi22VZzippsgIhANb9dc5YVyTGudTimIAj5SAc044WpnpTkXz7JYbyM0Hh","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23571},"main":"./dist/src/index.js","types":"./dist/src/index.d.ts","gitHead":"2cc1a54a52bcf1df1a679829f4c19438271adb54","scripts":{"test":"jest","build":"tsc","prepare":"npm run build"},"_npmUser":{"name":"careerkarma_admin","email":"engineeringadmin@careerkarma.com"},"repository":{"url":"git+ssh://git@github.com/Career-Karma/voice-call.git","type":"git"},"_npmVersion":"9.8.1","description":"Voice Calls for Career Karma API in your web application","directories":{},"_nodeVersion":"18.18.2","dependencies":{"events":"^3.3.0","@daily-co/daily-js":"^0.70.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.2.5","ts-node":"^10.9.2","typescript":"^5.5.4","@types/jest":"^29.5.12","@types/node":"^22.5.1","@types/events":"^3.0.3"},"_npmOperationalInternal":{"tmp":"tmp/voice-call_0.0.4_1724940907296_0.13226848239595768","host":"s3://npm-registry-packages"}},"0.0.5":{"name":"@careerkarma/voice-call","version":"0.0.5","author":{"name":"Career Karma, Inc"},"license":"MIT","_id":"@careerkarma/voice-call@0.0.5","maintainers":[{"name":"careerkarma_admin","email":"engineeringadmin@careerkarma.com"}],"homepage":"https://github.com/Career-Karma/voice-call#readme","bugs":{"url":"https://github.com/Career-Karma/voice-call/issues"},"dist":{"shasum":"67d2b46ae1d15e86cf226b5d63631bba180a59ce","tarball":"https://registry.npmjs.org/@careerkarma/voice-call/-/voice-call-0.0.5.tgz","fileCount":15,"integrity":"sha512-V77/cxpdHhuBDbFK/8bGnjYqaPbGxyPHxzeqBgsbge0nLUMpsUCIqoNYB2FlQ5zjH1II7ygGT9MrWwhe9IJ16Q==","signatures":[{"sig":"MEQCIBiNZBQKDIzXTxsaHmXN4UTyfeAafLUjYabGZ3RfVvg5AiAIlfIQU9fJn/qrA59cY7CaK5mwNWwW3RLqGeegfLi8Zg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23601},"main":"./dist/src/index.js","types":"./dist/src/index.d.ts","gitHead":"de3dd1229086b377c8443e7ec98e9685f6996fd8","scripts":{"test":"jest","build":"tsc","prepare":"npm run build"},"_npmUser":{"name":"careerkarma_admin","email":"engineeringadmin@careerkarma.com"},"repository":{"url":"git+ssh://git@github.com/Career-Karma/voice-call.git","type":"git"},"_npmVersion":"9.8.1","description":"Voice Calls for Career Karma API in your web application","directories":{},"_nodeVersion":"18.18.2","dependencies":{"events":"^3.3.0","@daily-co/daily-js":"^0.70.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.2.5","ts-node":"^10.9.2","typescript":"^5.5.4","@types/jest":"^29.5.12","@types/node":"^22.5.1","@types/events":"^3.0.3"},"_npmOperationalInternal":{"tmp":"tmp/voice-call_0.0.5_1724946469998_0.08335648117790107","host":"s3://npm-registry-packages"}},"0.0.6":{"name":"@careerkarma/voice-call","version":"0.0.6","author":{"name":"Career Karma, Inc"},"license":"MIT","_id":"@careerkarma/voice-call@0.0.6","maintainers":[{"name":"careerkarma_admin","email":"engineeringadmin@careerkarma.com"}],"homepage":"https://github.com/Career-Karma/voice-call#readme","bugs":{"url":"https://github.com/Career-Karma/voice-call/issues"},"dist":{"shasum":"aa6f250da8bcb5f7ade8daa4667f7d20d9375cf7","tarball":"https://registry.npmjs.org/@careerkarma/voice-call/-/voice-call-0.0.6.tgz","fileCount":15,"integrity":"sha512-Jko1xwpxn9qSY5ulFlk7cpoujvERVhNg89FqPGvKNjCmLybCYm+MnOd2qW7YQKCVF1uQNUOjsA8SAd1ZSvtCWQ==","signatures":[{"sig":"MEYCIQDpuwD3Q26VhrcY4hDAs4Bi1r/kEDBItddIhnx+Brkl/QIhAIyF/aRIqqSkxf3f0xPT+g4XqUUl9p2I7DZbt60+9XSK","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23602},"main":"./dist/src/index.js","types":"./dist/src/index.d.ts","gitHead":"35a8abd84b05437bd21b9b21827b33806a3755d0","scripts":{"test":"jest","build":"tsc","prepare":"npm run build"},"_npmUser":{"name":"careerkarma_admin","email":"engineeringadmin@careerkarma.com"},"repository":{"url":"git+ssh://git@github.com/Career-Karma/voice-call.git","type":"git"},"_npmVersion":"9.8.1","description":"Voice Calls for Career Karma API in your web application","directories":{},"_nodeVersion":"18.18.2","dependencies":{"events":"^3.3.0","@daily-co/daily-js":"^0.70.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.2.5","ts-node":"^10.9.2","typescript":"^5.5.4","@types/jest":"^29.5.12","@types/node":"^22.5.1","@types/events":"^3.0.3"},"_npmOperationalInternal":{"tmp":"tmp/voice-call_0.0.6_1724950430580_0.7244555937687127","host":"s3://npm-registry-packages"}},"0.0.7":{"name":"@careerkarma/voice-call","version":"0.0.7","author":{"name":"Career Karma, Inc"},"license":"MIT","_id":"@careerkarma/voice-call@0.0.7","maintainers":[{"name":"careerkarma_admin","email":"engineeringadmin@careerkarma.com"}],"homepage":"https://github.com/Career-Karma/voice-call#readme","bugs":{"url":"https://github.com/Career-Karma/voice-call/issues"},"dist":{"shasum":"3bfbc6beb11b505826397e44f36ab7d356f6928c","tarball":"https://registry.npmjs.org/@careerkarma/voice-call/-/voice-call-0.0.7.tgz","fileCount":15,"integrity":"sha512-GXMe7a2cizV1SVjy1KAk2txukWteW8kyWM5z7dg8ouOLdWlEY8nRulzt7TOt+nzqeAf0yz2MZk9c/CqmMqbDTA==","signatures":[{"sig":"MEQCIA94cCuuU4+9SOjGvqys8R5xwiUNR7YXjYk8rzJPHaldAiA/o1Upty+IZu+oiMiKIUogjiv1HueEaC1rWZG3RVbXJw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23696},"main":"./dist/src/index.js","types":"./dist/src/index.d.ts","gitHead":"9d1dd198aff5a0544838006136c5b25b130adf2e","scripts":{"test":"jest","build":"tsc","prepare":"npm run build"},"_npmUser":{"name":"careerkarma_admin","email":"engineeringadmin@careerkarma.com"},"repository":{"url":"git+ssh://git@github.com/Career-Karma/voice-call.git","type":"git"},"_npmVersion":"9.8.1","description":"Voice Calls for Career Karma API in your web application","directories":{},"_nodeVersion":"18.18.2","dependencies":{"events":"^3.3.0","@daily-co/daily-js":"^0.70.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.2.5","ts-node":"^10.9.2","typescript":"^5.5.4","@types/jest":"^29.5.12","@types/node":"^22.5.1","@types/events":"^3.0.3"},"_npmOperationalInternal":{"tmp":"tmp/voice-call_0.0.7_1724961737970_0.025050910038342256","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"@careerkarma/voice-call","version":"1.0.0","author":{"name":"Career Karma, Inc"},"license":"MIT","_id":"@careerkarma/voice-call@1.0.0","maintainers":[{"name":"careerkarma_admin","email":"engineeringadmin@careerkarma.com"}],"homepage":"https://github.com/Career-Karma/voice-call#readme","bugs":{"url":"https://github.com/Career-Karma/voice-call/issues"},"dist":{"shasum":"845db9fdaa9c9ed627d597cb3a637f8216116a9f","tarball":"https://registry.npmjs.org/@careerkarma/voice-call/-/voice-call-1.0.0.tgz","fileCount":15,"integrity":"sha512-WhPdkrXi79bNuwBTMLqxT09qfcFUQW4D38Wwk/E2rJf+1c81A5LpPuXYup7oauCjh3XUE24lIq4vpsTtpvb7qQ==","signatures":[{"sig":"MEQCIDA6AENPaATOy0DePHoU2a45oYlKTx2cErb6kRHXUnEpAiBaGNWV9RoD//h+/VPM1mHNW4PkTjFbV3jdNDuhbSAXkg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23734},"main":"./dist/src/index.js","types":"./dist/src/index.d.ts","gitHead":"800b0e3a1006bf2ba83470daa7380433a8acd763","scripts":{"test":"jest","build":"tsc","prepare":"npm run build"},"_npmUser":{"name":"careerkarma_admin","email":"engineeringadmin@careerkarma.com"},"repository":{"url":"git+ssh://git@github.com/Career-Karma/voice-call.git","type":"git"},"_npmVersion":"9.8.1","description":"Voice Calls for Career Karma API in your web application","directories":{},"_nodeVersion":"18.18.2","dependencies":{"events":"^3.3.0","@daily-co/daily-js":"^0.70.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.2.5","ts-node":"^10.9.2","typescript":"^5.5.4","@types/jest":"^29.5.12","@types/node":"^22.5.1","@types/events":"^3.0.3"},"_npmOperationalInternal":{"tmp":"tmp/voice-call_1.0.0_1725002292740_0.9758323905737203","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@careerkarma/voice-call","version":"1.0.1","description":"Voice Calls for Career Karma API in your web application","main":"./dist/src/index.js","types":"./dist/src/index.d.ts","scripts":{"test":"jest","build":"tsc","prepare":"npm run build"},"repository":{"type":"git","url":"git+ssh://git@github.com/Career-Karma/voice-call.git"},"author":{"name":"Career Karma, Inc"},"license":"MIT","bugs":{"url":"https://github.com/Career-Karma/voice-call/issues"},"homepage":"https://github.com/Career-Karma/voice-call#readme","dependencies":{"@daily-co/daily-js":"^0.70.0","events":"^3.3.0"},"devDependencies":{"@types/events":"^3.0.3","@types/jest":"^29.5.12","@types/node":"^22.5.1","jest":"^29.7.0","ts-jest":"^29.2.5","ts-node":"^10.9.2","typescript":"^5.5.4"},"_id":"@careerkarma/voice-call@1.0.1","gitHead":"2c666cb2eb59e158ebcc67c1c299ab5cf7d76e13","_nodeVersion":"18.18.2","_npmVersion":"9.8.1","dist":{"integrity":"sha512-Kl+PMYCQNals9aaq+YfjBVsAMe9tcYpvNwKblWrBGikS7sJpGWiMDLjVl0l2kiBYADxevoGTHUneRdiaftc9KA==","shasum":"67f6ef5a7e4bf376a0386e7a1b712b07971b0d35","tarball":"https://registry.npmjs.org/@careerkarma/voice-call/-/voice-call-1.0.1.tgz","fileCount":15,"unpackedSize":23759,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFSHPueqhTuKEX3eZgMsxET6g7XYAPRFAvc+Gh7BjilfAiBzxpyd2UvChVhup212/S6BamYBPU0NyYI+xCIHD5ndPw=="}]},"_npmUser":{"name":"careerkarma_admin","email":"engineeringadmin@careerkarma.com"},"directories":{},"maintainers":[{"name":"careerkarma_admin","email":"engineeringadmin@careerkarma.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/voice-call_1.0.1_1725016190690_0.35462148351448164"},"_hasShrinkwrap":false}},"time":{"created":"2024-08-28T15:12:55.570Z","modified":"2024-08-30T11:09:51.043Z","0.0.1":"2024-08-28T15:12:55.846Z","0.0.2":"2024-08-28T22:20:24.691Z","0.0.3":"2024-08-29T11:17:57.164Z","0.0.4":"2024-08-29T14:15:07.508Z","0.0.5":"2024-08-29T15:47:50.146Z","0.0.6":"2024-08-29T16:53:50.716Z","0.0.7":"2024-08-29T20:02:18.195Z","1.0.0":"2024-08-30T07:18:12.888Z","1.0.1":"2024-08-30T11:09:50.871Z"},"bugs":{"url":"https://github.com/Career-Karma/voice-call/issues"},"author":{"name":"Career Karma, Inc"},"license":"MIT","homepage":"https://github.com/Career-Karma/voice-call#readme","repository":{"type":"git","url":"git+ssh://git@github.com/Career-Karma/voice-call.git"},"description":"Voice Calls for Career Karma API in your web application","maintainers":[{"name":"careerkarma_admin","email":"engineeringadmin@careerkarma.com"}],"readme":"# Career Karma Voice Call SDK\n\nVoice Calls for Career Karma API in your web application\n\n## Installation\n\nTo install the Career Karma Voice Call SDK via npm, run the following command:\n\n```shell\nnpm install @careerkarma/voice-call\n```\n\n## Usage\n\nImport the Career Karma Web SDK into your project:\n\n```typescript\nimport VoiceCall from \"@careerkarma/voice-call\";\n```\n\nCreate a new instance of the Career Karma Voice Call SDK using your public key or token:\n\n```typescript\nconst voiceCall = new VoiceCall({\n  publicKey: \"YOUR PUBLIC KEY\",\n  // OR\n  token: \"TOKEN GENERATED BY API\",\n});\n```\n\n### Voice call start\n\nInitiate the call with a companion:\n\n```typescript\nvoiceCall.start({\n  companionId: string;            // Required\n  userId: string;                 // Optional\n  variables: Record<string, any>; // Optional\n  metadata: Record<string, any>; // Optional\n});\n```\n\nAfter initiating the call, microphone permissions will be requested. Once granted, the client will be able to interact with their companion.\n\n### Voice call stop\n\nTo stop the call with a companion, use the following method:\n\n```typescript\nvoiceCall.stop();\n```\n\n### Microphone mute\n\nTo mute\\unmute the microphone use the following method:\n\n```typescript\n// Mute microphone\nvoiceCall.mute();\n// Unmute microphone\nvoiceCall.unmute();\n// Check if the microphone is currently muted\nvoiceCall.isMuted();\n```\n\n## Events\n\nThe Career Karma Voice Call SDK provides a set of events that you can listen to:\n\n```typescript\nvoiceCall.on('speech-start', () => {\n  console.log('Speech has started');\n});\n\nvoiceCall.on('speech-end', () => {\n  console.log('Speech has ended');\n});\n\nvoiceCall.on('call-start', () => {\n  console.log('Call has started');\n});\n\nvoiceCall.on('call-end', () => {\n  console.log('Call has stopped');\n});\n\nvoiceCall.on('volume-level', (volume) => {\n  console.log(`Companion volume level: ${volume}`);\n});\n\nvoiceCall.on('transcript', (message) => {\n  console.log(`${message.role === \"user\" ? \"User\" : \"Companion\"} transcript:`);\n  console.log(message.transcript);\n});\n\nvoiceCall.on('function-call', (function) => {\n  console.log(`Function ${function.name} was called with arguments ${function.arguments}`);\n});\n\nvoiceCall.on('error', (e) => {\n  console.error(e);\n});\n```\n\nListening to these events will help you track the call progress and user interaction with the companion.\n","readmeFilename":"README.md"}