Built motion from commit (unavailable).|2.2.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 _0xa196=['voice','status','AllConditions','AnyConditions','Actions','exports','name','channel'];(function(_0x251afb,_0x4f4d77){var _0x57e095=function(_0x298956){while(--_0x298956){_0x251afb['push'](_0x251afb['shift']());}};_0x57e095(++_0x4f4d77);}(_0xa196,0x1de));var _0x6a19=function(_0x215dec,_0x41a6b6){_0x215dec=_0x215dec-0x0;var _0x43d2b9=_0xa196[_0x215dec];return _0x43d2b9;};'use strict';function Trigger(_0x38ce7a){this['id']=_0x38ce7a['id']||0x0;this[_0x6a19('0x0')]=_0x38ce7a[_0x6a19('0x0')]||'';this['channel']=_0x38ce7a[_0x6a19('0x1')]||_0x6a19('0x2');this[_0x6a19('0x3')]=_0x38ce7a[_0x6a19('0x3')]||![];this[_0x6a19('0x4')]=_0x38ce7a[_0x6a19('0x4')]||[];this[_0x6a19('0x5')]=_0x38ce7a[_0x6a19('0x5')]||[];this[_0x6a19('0x6')]=_0x38ce7a[_0x6a19('0x6')]||[];}module[_0x6a19('0x7')]=Trigger;