1.0.7 • Published 2 years ago
smartcall-icap-page v1.0.7
synchronous-icap-call
smartcall icap call - only VSP2 sims, webcomponent, token-based authentication
run
To launch the application:
- Incorporate one or more of the following tags on your page for the content to be displayed
<smartcall-balancecheck token="HFGD464_4thdeh" baseuri="https://www.smartcallservices.co.za" refresh="daily" ></smartcall-balancecheck>
<smartcall-simsummary token="HFGD464_4thdeh" baseuri="https://www.smartcallservices.co.za" refresh="daily" ></smartcall-simsummary>
<smartcall-callrecordlist token="HFGD464_4thdeh" baseuri="https://www.smartcallservices.co.za" refresh="daily" ></smartcall-callrecordlist>
update msisdn
Fire an event One of:
callrecord
balancecheck-request
sim-summary
const event = new CustomEvent(
'balancecheck-request', {
detail: {
msisdn: '27820814759',
network: 'VODACOM',
type: 'ALL' } ,
bubbles:true
});
link to local storage
import store from "./store.js";
import { save } from "./sessionstorage/control/StorageControl.js";
store.subscribe(_ => {
const state = store.getState();
save(state);
})