Built motion from commit (unavailable).|2.5.14
[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 _0x9bde=['exports','name','channel','voice','status','AllConditions','AnyConditions','Actions'];(function(_0x52775c,_0x487203){var _0x288cf6=function(_0x36b7f4){while(--_0x36b7f4){_0x52775c['push'](_0x52775c['shift']());}};_0x288cf6(++_0x487203);}(_0x9bde,0xe1));var _0xe9bd=function(_0x5b0ff4,_0x111ea6){_0x5b0ff4=_0x5b0ff4-0x0;var _0x11280a=_0x9bde[_0x5b0ff4];return _0x11280a;};'use strict';function Trigger(_0x284147){this['id']=_0x284147['id']||0x0;this[_0xe9bd('0x0')]=_0x284147['name']||'';this[_0xe9bd('0x1')]=_0x284147['channel']||_0xe9bd('0x2');this[_0xe9bd('0x3')]=_0x284147[_0xe9bd('0x3')]||![];this[_0xe9bd('0x4')]=_0x284147[_0xe9bd('0x4')]||[];this[_0xe9bd('0x5')]=_0x284147[_0xe9bd('0x5')]||[];this['Actions']=_0x284147[_0xe9bd('0x6')]||[];}module[_0xe9bd('0x7')]=Trigger;