{"_id":"@avaya/axp-omni-sdk-calling","_rev":"16-0f89567215988097831eb0418ac505f2","name":"@avaya/axp-omni-sdk-calling","dist-tags":{"latest":"1.1.0"},"versions":{"1.0.0":{"name":"@avaya/axp-omni-sdk-calling","version":"1.0.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@avaya/axp-omni-sdk-calling@1.0.0","maintainers":[{"name":"axp-sdk-automation","email":"axp-sdk-automation@avaya.com"},{"name":"kahagerman","email":"kahagerman@avaya.com"},{"name":"amarasescu","email":"amarasescu@avaya.com"},{"name":"digitalpipeline","email":"bvishwakarma@avaya.com"},{"name":"enrique-prado","email":"enriquep@avaya.com"},{"name":"jonathanavaya","email":"jonathanr@avaya.com"},{"name":"yangatavaya","email":"chungguangy@avaya.com"},{"name":"joe-s-avaya","email":"joe.sebast.avaya@gmail.com"},{"name":"mrazian","email":"mrazian@avaya.com"},{"name":"cpaas.devops","email":"cpaasops@avaya.com"},{"name":"bvazmer","email":"bvazmer@avaya.com"}],"dist":{"shasum":"e2ec2a44bfbbb73c69f5d76c0a57f1b278e4b856","tarball":"https://registry.npmjs.org/@avaya/axp-omni-sdk-calling/-/axp-omni-sdk-calling-1.0.0.tgz","fileCount":11,"integrity":"sha512-RISoKqt0e3+t87AyvhCNx5DuKhSS0Ojpk/7D7jU7eGiypirX/OSL3Q5ndqCELGsrE/sE4A3kSo8ttoPTPRIPGA==","signatures":[{"sig":"MEUCICAgzhPKaP1FS+bl4FfRJYg2i9fCXNQBWROaEolOUr3fAiEA8CejvXbq4nsTMUfJzm2Y5+sIzOpq9YF8YB/wKawlHGw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2209171},"type":"module","_from":"file:candidate/avaya-axp-omni-sdk-calling-1.0.0.tgz","exports":{".":{"types":"./lib/axp-omni-sdk-calling-types.d.ts","import":"./lib/axp-omni-sdk-calling.js"}},"_npmUser":{"name":"axp-sdk-automation","email":"axp-sdk-automation@avaya.com"},"_resolved":"/home/runner/work/sdk/sdk/candidate/avaya-axp-omni-sdk-calling-1.0.0.tgz","_integrity":"sha512-RISoKqt0e3+t87AyvhCNx5DuKhSS0Ojpk/7D7jU7eGiypirX/OSL3Q5ndqCELGsrE/sE4A3kSo8ttoPTPRIPGA==","_npmVersion":"10.7.0","description":"AXP Omni SDK Web Calling module","directories":{},"_nodeVersion":"20.15.1","dependencies":{"@avaya/axp-omni-sdk-core":"^1.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/axp-omni-sdk-calling_1.0.0_1722296816967_0.3227587133757419","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"@avaya/axp-omni-sdk-calling","version":"1.1.0","license":"SEE LICENSE IN LICENSE.txt","_id":"@avaya/axp-omni-sdk-calling@1.1.0","maintainers":[{"name":"axp-sdk-automation","email":"axp-sdk-automation@avaya.com"},{"name":"kahagerman","email":"kahagerman@avaya.com"},{"name":"amarasescu","email":"amarasescu@avaya.com"},{"name":"digitalpipeline","email":"bvishwakarma@avaya.com"},{"name":"enrique-prado","email":"enriquep@avaya.com"},{"name":"jonathanavaya","email":"jonathanr@avaya.com"},{"name":"yangatavaya","email":"chungguangy@avaya.com"},{"name":"joe-s-avaya","email":"joe.sebast.avaya@gmail.com"},{"name":"mrazian","email":"mrazian@avaya.com"},{"name":"cpaas.devops","email":"cpaasops@avaya.com"},{"name":"bvazmer","email":"bvazmer@avaya.com"}],"dist":{"shasum":"4e6ea72308e10e88f061f47aa2cb51f217364a57","tarball":"https://registry.npmjs.org/@avaya/axp-omni-sdk-calling/-/axp-omni-sdk-calling-1.1.0.tgz","fileCount":11,"integrity":"sha512-ykYQX+f96AYSBE+hvzYYSdKbHmfAp5ML3q7K8AhJy3Is975cGABIdh3SvBzvATW5L+6Ti4oqjTI5ywfpPUMioA==","signatures":[{"sig":"MEUCIEY6MVkWMdUzDfynfXJh6lKRNVfxyjrfmLSU4C2C/oPoAiEAgMxvHhV9KrstiTDdG98bt+wV7XLhu9q0y64LpX1kvrU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2209221},"type":"module","_from":"file:candidate/avaya-axp-omni-sdk-calling-1.1.0.tgz","exports":{".":{"types":"./lib/axp-omni-sdk-calling-types.d.ts","import":"./lib/axp-omni-sdk-calling.js"}},"_npmUser":{"name":"axp-sdk-automation","email":"axp-sdk-automation@avaya.com"},"_resolved":"/home/runner/work/sdk/sdk/candidate/avaya-axp-omni-sdk-calling-1.1.0.tgz","_integrity":"sha512-ykYQX+f96AYSBE+hvzYYSdKbHmfAp5ML3q7K8AhJy3Is975cGABIdh3SvBzvATW5L+6Ti4oqjTI5ywfpPUMioA==","_npmVersion":"10.8.2","description":"AXP Omni SDK Web Calling module","directories":{},"_nodeVersion":"20.17.0","dependencies":{"@avaya/axp-omni-sdk-core":"^1.1.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/axp-omni-sdk-calling_1.1.0_1728419019129_0.6585256967514546","host":"s3://npm-registry-packages"}}},"time":{"created":"2024-07-29T23:46:56.809Z","modified":"2026-02-04T12:58:18.265Z","0.0.0":"2024-07-25T21:14:28.035Z","1.0.0":"2024-07-29T23:46:57.234Z","1.1.0":"2024-10-08T20:23:39.459Z"},"license":"SEE LICENSE IN LICENSE.txt","description":"AXP Omni SDK Web Calling module","maintainers":[{"email":"mrazian@avaya.com","name":"mrazian"},{"email":"cpaasops@avaya.com","name":"cpaas.devops"},{"email":"bvazmer@avaya.com","name":"bvazmer"},{"email":"gaffara@avaya.com","name":"gaffara"},{"email":"amarasescu@avaya.com","name":"amarasescu"},{"email":"bvishwakarma@avaya.com","name":"digitalpipeline"},{"email":"kahagerman@avaya.com","name":"kahagerman"},{"email":"axp-sdk-automation@avaya.com","name":"axp-sdk-automation"},{"email":"raziandev@gmail.com","name":"raziandev"},{"email":"ptognini@avaya.com","name":"ptognini77"},{"email":"kamau3@avaya.com","name":"kamau3"},{"email":"lancecramlet@avaya.com","name":"lcramlet-avaya"},{"email":"jmidd@avaya.com","name":"jmiddd"},{"email":"ggoulet@avaya.com","name":"ggoulet_avaya"},{"email":"peter.c.schuelke@gmail.com","name":"shulkdog"}],"readme":"# AXP Calling\n\nThe AXP Calling SDK module provides browser based WebRTC communication. The AXP Calling module extends base Conversation with Calling capabilities.\n\nThe AXP Calling module depends on the AXP Core module. Please refer to the [AXP Core documentation](https://github.com/AvayaExperiencePlatform/omni-sdk-js/blob/v1.1.0/core.md) before using the Calling module.\n\n## Installation\n\nAXP Calling module requires the AXP Core module.\n\nTo install the AXP Calling module, run the following command:\n\n```bash\nnpm install --save @avaya/axp-omni-sdk-calling\n```\n\nThis will install both AXP Core and AXP Calling.\n\n## Usage\n\nThe AXP Calling module provides the `AxpCallingConversation` [mixin](https://www.typescriptlang.org/docs/handbook/mixins.html) that extends the Base Conversation of the AXP Core module. To use the Calling module, you need to import the `AxpCallingConversation` mixin function and apply it. Check out more details about additional functionalities in the `Using additional functionality` section of The [AXP Core's documentation](https://github.com/AvayaExperiencePlatform/omni-sdk-js/blob/v1.1.0/core.md).\n\nExample of how to use AXP Calling module:\n\n```ts\nimport { AxpOmniSdk, JwtProvider } from \"@avaya/axp-omni-sdk-core\";\nimport { AxpCallingConversation, AxpCallingConversationTrait } from \"@avaya/axp-omni-sdk-calling\";\n\n// Initiates a Calling conversation\nconst axpSession = await AxpOmniSdk.init(\n\t{\n\t\tdisplayName: \"<USER_NAME>\",\n\t\ttoken: await jwtTokenProvider.fetchToken(),\n\t\tintegrationId: config.integrationId,\n\t\thost: config.axpHostName,\n\t\tappKey: config.appKey,\n\t\tlogLevel: config.loglevel,\n\t\tjwtProvider: jwtTokenProvider,\n\t},\n\tAxpCallingConversation(),\n);\nconst conversation: AxpCallingConversationTrait = axpSession.conversations[0];\n\n// Creates and starts a WebRTC call with optional audio muted initially\nconst requestBuilder = new AxpCallRequestBuilder();\nif (muteAudio) {\n\trequestBuilder.muteAudio();\n}\nrequestBuilder.setRemoteAddress(config.callingRemoteAddress);\nconst axpCall = await conversation.addCall(requestBuilder.build());\n\n// Creates and starts a WebRTC call with optional audio muted initially with optional\n// setupCallbacks: (call: AxpCall) => void to register for optional call related callbacks\n// const axpCall = await conversation.addCall(requestBuilder.build(), setupCallbacks);\n\n// Call established\n\n// Ends call\naxpCall.end();\n\n// Terminates session\nAxpOmniSdk.shutdown();\n```\n","readmeFilename":"README.md"}