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 _0x8255=['Trigger','tools_triggers','lodash','util','../../config/logger','api','moment','bluebird','request-promise','./trigger.attributes','exports','define'];(function(_0x3fdd34,_0x1d612a){var _0x14bb56=function(_0x4539da){while(--_0x4539da){_0x3fdd34['push'](_0x3fdd34['shift']());}};_0x14bb56(++_0x1d612a);}(_0x8255,0x176));var _0x5825=function(_0x550381,_0x3f466f){_0x550381=_0x550381-0x0;var _0x51a5ea=_0x8255[_0x550381];return _0x51a5ea;};'use strict';var _=require(_0x5825('0x0'));var util=require(_0x5825('0x1'));var logger=require(_0x5825('0x2'))(_0x5825('0x3'));var moment=require(_0x5825('0x4'));var BPromise=require(_0x5825('0x5'));var rp=require(_0x5825('0x6'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x5825('0x7'));module[_0x5825('0x8')]=function(_0x122c90,_0xa8e4d1){return _0x122c90[_0x5825('0x9')](_0x5825('0xa'),attributes,{'tableName':_0x5825('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};