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 _0x8f67=['campaigns','../../config/logger','moment','request-promise','path','rimraf','../../config/environment','./campaign.attributes','exports','define','Campaign'];(function(_0x2dba4b,_0x4de037){var _0x3d4dea=function(_0x1d1e7a){while(--_0x1d1e7a){_0x2dba4b['push'](_0x2dba4b['shift']());}};_0x3d4dea(++_0x4de037);}(_0x8f67,0x90));var _0x78f6=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x8f67[_0x3dd15e];return _0x231fd0;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x78f6('0x0'))('api');var moment=require(_0x78f6('0x1'));var BPromise=require('bluebird');var rp=require(_0x78f6('0x2'));var fs=require('fs');var path=require(_0x78f6('0x3'));var rimraf=require(_0x78f6('0x4'));var config=require(_0x78f6('0x5'));var attributes=require(_0x78f6('0x6'));module[_0x78f6('0x7')]=function(_0x556edc,_0x4aeef7){return _0x556edc[_0x78f6('0x8')](_0x78f6('0x9'),attributes,{'tableName':_0x78f6('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};