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 _0xbdb1=['lodash','../../config/logger','bluebird','path','../../config/environment','exports','define'];(function(_0x234a16,_0x4c3856){var _0x54ee88=function(_0x73d5eb){while(--_0x73d5eb){_0x234a16['push'](_0x234a16['shift']());}};_0x54ee88(++_0x4c3856);}(_0xbdb1,0x69));var _0x1bdb=function(_0x28db4a,_0x6d6d5a){_0x28db4a=_0x28db4a-0x0;var _0x3bf87e=_0xbdb1[_0x28db4a];return _0x3bf87e;};'use strict';var _=require(_0x1bdb('0x0'));var util=require('util');var logger=require(_0x1bdb('0x1'))('api');var moment=require('moment');var BPromise=require(_0x1bdb('0x2'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x1bdb('0x3'));var rimraf=require('rimraf');var config=require(_0x1bdb('0x4'));var attributes=require('./campaign.attributes');module[_0x1bdb('0x5')]=function(_0x79d2ff,_0x58209d){return _0x79d2ff[_0x1bdb('0x6')]('Campaign',attributes,{'tableName':'campaigns','paranoid':![],'indexes':[],'timestamps':!![]});};