Built motion from commit (unavailable).|2.4.1
[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 _0xa35a=['status','AllConditions','AnyConditions','Actions','exports','name','channel','voice'];(function(_0x40a825,_0x3bac79){var _0x273a54=function(_0x5628d8){while(--_0x5628d8){_0x40a825['push'](_0x40a825['shift']());}};_0x273a54(++_0x3bac79);}(_0xa35a,0xcd));var _0xaa35=function(_0x8a969d,_0x339d9f){_0x8a969d=_0x8a969d-0x0;var _0x1d8dc7=_0xa35a[_0x8a969d];return _0x1d8dc7;};'use strict';function Trigger(_0x413bdf){this['id']=_0x413bdf['id']||0x0;this['name']=_0x413bdf[_0xaa35('0x0')]||'';this[_0xaa35('0x1')]=_0x413bdf[_0xaa35('0x1')]||_0xaa35('0x2');this[_0xaa35('0x3')]=_0x413bdf[_0xaa35('0x3')]||![];this[_0xaa35('0x4')]=_0x413bdf[_0xaa35('0x4')]||[];this[_0xaa35('0x5')]=_0x413bdf['AnyConditions']||[];this[_0xaa35('0x6')]=_0x413bdf[_0xaa35('0x6')]||[];}module[_0xaa35('0x7')]=Trigger;