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 _0xf197=['lodash','util','../../config/logger','bluebird','../../config/environment','define','Trigger','tools_triggers'];(function(_0x3fff0b,_0x5da793){var _0x52f763=function(_0x2217d4){while(--_0x2217d4){_0x3fff0b['push'](_0x3fff0b['shift']());}};_0x52f763(++_0x5da793);}(_0xf197,0x130));var _0x7f19=function(_0x377aa4,_0x5a4ae4){_0x377aa4=_0x377aa4-0x0;var _0x39feb7=_0xf197[_0x377aa4];return _0x39feb7;};'use strict';var _=require(_0x7f19('0x0'));var util=require(_0x7f19('0x1'));var logger=require(_0x7f19('0x2'))('api');var moment=require('moment');var BPromise=require(_0x7f19('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x7f19('0x4'));var attributes=require('./trigger.attributes');module['exports']=function(_0x1a3591,_0x3c076e){return _0x1a3591[_0x7f19('0x5')](_0x7f19('0x6'),attributes,{'tableName':_0x7f19('0x7'),'paranoid':![],'indexes':[],'timestamps':!![]});};