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 _0x39ff=['exports','define','Setting','settings','lodash','../../config/logger','api','moment','bluebird','request-promise','path'];(function(_0x156a77,_0x522c13){var _0x32398a=function(_0x55a47a){while(--_0x55a47a){_0x156a77['push'](_0x156a77['shift']());}};_0x32398a(++_0x522c13);}(_0x39ff,0x7d));var _0xf39f=function(_0x11c3b2,_0x575a2c){_0x11c3b2=_0x11c3b2-0x0;var _0x15030b=_0x39ff[_0x11c3b2];return _0x15030b;};'use strict';var _=require(_0xf39f('0x0'));var util=require('util');var logger=require(_0xf39f('0x1'))(_0xf39f('0x2'));var moment=require(_0xf39f('0x3'));var BPromise=require(_0xf39f('0x4'));var rp=require(_0xf39f('0x5'));var fs=require('fs');var path=require(_0xf39f('0x6'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require('./setting.attributes');module[_0xf39f('0x7')]=function(_0x31ca26,_0x52f365){return _0x31ca26[_0xf39f('0x8')](_0xf39f('0x9'),attributes,{'tableName':_0xf39f('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};