UNPKG

kod-temp

Version:

Workano Communications SDK

21 lines (20 loc) 654 B
class Relocation { static MIN_ENGINE_VERSION_REQUIRED; relocatedCall; initiatorCall; recipientCall; static parse(response) { return new Relocation({ initiatorCall: response.initiator_call, recipientCall: response.recipient_call, relocatedCall: response.relocated_call, }); } constructor({ relocatedCall, initiatorCall, recipientCall, }) { this.initiatorCall = initiatorCall || ''; this.relocatedCall = relocatedCall || ''; this.recipientCall = recipientCall || ''; } } Relocation.MIN_ENGINE_VERSION_REQUIRED = '19.09'; export default Relocation;