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 _0x7afe=['util','../../config/logger','moment','request-promise','path','../../config/environment','./trigger.attributes','define','tools_triggers'];(function(_0x1eda20,_0x1149f4){var _0x31b953=function(_0x25f0d8){while(--_0x25f0d8){_0x1eda20['push'](_0x1eda20['shift']());}};_0x31b953(++_0x1149f4);}(_0x7afe,0xea));var _0xe7af=function(_0x29206f,_0x390f1b){_0x29206f=_0x29206f-0x0;var _0x1de118=_0x7afe[_0x29206f];return _0x1de118;};'use strict';var _=require('lodash');var util=require(_0xe7af('0x0'));var logger=require(_0xe7af('0x1'))('api');var moment=require(_0xe7af('0x2'));var BPromise=require('bluebird');var rp=require(_0xe7af('0x3'));var fs=require('fs');var path=require(_0xe7af('0x4'));var rimraf=require('rimraf');var config=require(_0xe7af('0x5'));var attributes=require(_0xe7af('0x6'));module['exports']=function(_0x31c4b1,_0x1635e7){return _0x31c4b1[_0xe7af('0x7')]('Trigger',attributes,{'tableName':_0xe7af('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};