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 _0xa276=['Trigger','util','../../config/logger','moment','bluebird','path','rimraf','../../config/environment','exports'];(function(_0x4a393e,_0x1345d7){var _0x1f7830=function(_0x3ded58){while(--_0x3ded58){_0x4a393e['push'](_0x4a393e['shift']());}};_0x1f7830(++_0x1345d7);}(_0xa276,0x9a));var _0x6a27=function(_0x488293,_0xb8fdb2){_0x488293=_0x488293-0x0;var _0x2deb7b=_0xa276[_0x488293];return _0x2deb7b;};'use strict';var _=require('lodash');var util=require(_0x6a27('0x0'));var logger=require(_0x6a27('0x1'))('api');var moment=require(_0x6a27('0x2'));var BPromise=require(_0x6a27('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x6a27('0x4'));var rimraf=require(_0x6a27('0x5'));var config=require(_0x6a27('0x6'));var attributes=require('./trigger.attributes');module[_0x6a27('0x7')]=function(_0x321087,_0x41c595){return _0x321087['define'](_0x6a27('0x8'),attributes,{'tableName':'tools_triggers','paranoid':![],'indexes':[],'timestamps':!![]});};