You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using angular to customize the CCP. I am trying to attach the customer profiles to my customized CCP.
I installed npm package of amazon-connect-customer-profiles
npm i amazon-connect-customer-profiles
My code is
import "amazon-connect-streams";
import "amazon-connect-chatjs";
import "amazon-connect-customer-profiles";
});
let instanceName = 'https://<instanceName>.my.connect.aws';
const client = new connect.CustomerProfilesClient(instanceName)
console.log(client)
}
}
But I am getting error Property 'CustomerProfilesClient' does not exist on type 'typeof connect'.
Is anything I forget to mention here.
Can anyone place the valuable comments here. Advance thanks
The text was updated successfully, but these errors were encountered:
I am using angular to customize the CCP. I am trying to attach the customer profiles to my customized CCP.
I installed npm package of amazon-connect-customer-profiles
npm i amazon-connect-customer-profiles
My code is
import "amazon-connect-streams";
import "amazon-connect-chatjs";
import "amazon-connect-customer-profiles";
export class CcpComponent implements OnInit {
ngOnInit(): void {
connect.core.initCCP(document.getElementById('containerDiv'), {
loginUrl: environment.loginUrl,
loginPopupAutoClose: true,
ccpUrl: environment.ccpUrl,
loginPopup: true,
softphone: {
allowFramedSoftphone: true
},
region: "us-east-1",
pageOptions: {
enableAudioDeviceSettings: true,
enablePhoneTypeSettings: true
},
}
}
But I am getting error Property 'CustomerProfilesClient' does not exist on type 'typeof connect'.
Is anything I forget to mention here.
Can anyone place the valuable comments here. Advance thanks
The text was updated successfully, but these errors were encountered: