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 _0xc404=['define','tools_triggers','lodash','util','../../config/logger','path','rimraf','./trigger.attributes','exports'];(function(_0x2980d1,_0x12be62){var _0x150368=function(_0x29ddbe){while(--_0x29ddbe){_0x2980d1['push'](_0x2980d1['shift']());}};_0x150368(++_0x12be62);}(_0xc404,0x197));var _0x4c40=function(_0x26b129,_0x1f6dee){_0x26b129=_0x26b129-0x0;var _0x3e9741=_0xc404[_0x26b129];return _0x3e9741;};'use strict';var _=require(_0x4c40('0x0'));var util=require(_0x4c40('0x1'));var logger=require(_0x4c40('0x2'))('api');var moment=require('moment');var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x4c40('0x3'));var rimraf=require(_0x4c40('0x4'));var config=require('../../config/environment');var attributes=require(_0x4c40('0x5'));module[_0x4c40('0x6')]=function(_0x1ad037,_0x3a633c){return _0x1ad037[_0x4c40('0x7')]('Trigger',attributes,{'tableName':_0x4c40('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};