Built motion from commit (unavailable).|2.3.4
[motion2.git] / server / services / ami / model / trigger.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and   *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0x327a=['AllConditions','AnyConditions','Actions','name','channel','voice','status'];(function(_0x314978,_0x3ecd68){var _0x5741b5=function(_0x3bbdcd){while(--_0x3bbdcd){_0x314978['push'](_0x314978['shift']());}};_0x5741b5(++_0x3ecd68);}(_0x327a,0x130));var _0xa327=function(_0x12b8d2,_0xaffb16){_0x12b8d2=_0x12b8d2-0x0;var _0x59dae7=_0x327a[_0x12b8d2];return _0x59dae7;};'use strict';function Trigger(_0x237527){this['id']=_0x237527['id']||0x0;this[_0xa327('0x0')]=_0x237527[_0xa327('0x0')]||'';this[_0xa327('0x1')]=_0x237527['channel']||_0xa327('0x2');this['status']=_0x237527[_0xa327('0x3')]||![];this[_0xa327('0x4')]=_0x237527[_0xa327('0x4')]||[];this['AnyConditions']=_0x237527[_0xa327('0x5')]||[];this[_0xa327('0x6')]=_0x237527['Actions']||[];}module['exports']=Trigger;