I found the callId is optional.
But in types.d.ts , it is required.
export class ParticipantResult {
/**
* Create ParticipantResult
* @param {object} param
* @param {boolean} param.initialCallHasEnded
* @param {CallInfo} param.callInfo
* @param {string} param.phoneNumber
* @param {string} param.callId
*/
constructor({ initialCallHasEnded, callInfo, phoneNumber, callId }: {
initialCallHasEnded: boolean;
callInfo: CallInfo;
phoneNumber: string;
callId: string;
});
initialCallHasEnded: boolean;
callInfo: CallInfo;
phoneNumber: string;
callId: string;
}