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 _0x1f66=['./campaign.attributes','define','Campaign','lodash','util','../../config/logger','moment','rimraf','../../config/environment'];(function(_0x520cbc,_0x4722cb){var _0x5f2f8e=function(_0x275e46){while(--_0x275e46){_0x520cbc['push'](_0x520cbc['shift']());}};_0x5f2f8e(++_0x4722cb);}(_0x1f66,0x111));var _0x61f6=function(_0x46d72e,_0x36fb53){_0x46d72e=_0x46d72e-0x0;var _0x4087da=_0x1f66[_0x46d72e];return _0x4087da;};'use strict';var _=require(_0x61f6('0x0'));var util=require(_0x61f6('0x1'));var logger=require(_0x61f6('0x2'))('api');var moment=require(_0x61f6('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x61f6('0x4'));var config=require(_0x61f6('0x5'));var attributes=require(_0x61f6('0x6'));module['exports']=function(_0x17113f,_0x4d81f3){return _0x17113f[_0x61f6('0x7')](_0x61f6('0x8'),attributes,{'tableName':'campaigns','paranoid':![],'indexes':[],'timestamps':!![]});};