Built motion from commit (unavailable).|2.3.2
[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 _0x4a84=['name','channel','voice','status','AllConditions','AnyConditions','Actions','exports'];(function(_0x4bf4c3,_0x10f8e8){var _0x123292=function(_0x5df782){while(--_0x5df782){_0x4bf4c3['push'](_0x4bf4c3['shift']());}};_0x123292(++_0x10f8e8);}(_0x4a84,0x1a8));var _0x44a8=function(_0x17d9e3,_0x1f969c){_0x17d9e3=_0x17d9e3-0x0;var _0x14192d=_0x4a84[_0x17d9e3];return _0x14192d;};'use strict';function Trigger(_0x1b634b){this['id']=_0x1b634b['id']||0x0;this['name']=_0x1b634b[_0x44a8('0x0')]||'';this['channel']=_0x1b634b[_0x44a8('0x1')]||_0x44a8('0x2');this[_0x44a8('0x3')]=_0x1b634b[_0x44a8('0x3')]||![];this[_0x44a8('0x4')]=_0x1b634b[_0x44a8('0x4')]||[];this[_0x44a8('0x5')]=_0x1b634b['AnyConditions']||[];this[_0x44a8('0x6')]=_0x1b634b[_0x44a8('0x6')]||[];}module[_0x44a8('0x7')]=Trigger;