1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0xf365=['define','Trigger','tools_triggers','../../config/logger','api','moment','bluebird','request-promise','./trigger.attributes','exports'];(function(_0x41031d,_0x17a3ee){var _0x2606c8=function(_0x24b03a){while(--_0x24b03a){_0x41031d['push'](_0x41031d['shift']());}};_0x2606c8(++_0x17a3ee);}(_0xf365,0x71));var _0x5f36=function(_0x3bf04a,_0x56ed90){_0x3bf04a=_0x3bf04a-0x0;var _0x241e4b=_0xf365[_0x3bf04a];return _0x241e4b;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x5f36('0x0'))(_0x5f36('0x1'));var moment=require(_0x5f36('0x2'));var BPromise=require(_0x5f36('0x3'));var rp=require(_0x5f36('0x4'));var attributes=require(_0x5f36('0x5'));module[_0x5f36('0x6')]=function(_0x1428b1,_0x838c1d){return _0x1428b1[_0x5f36('0x7')](_0x5f36('0x8'),attributes,{'tableName':_0x5f36('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};