c93da17106e045487c7715b9564cc94a288b430d
[motion2.git] / server / api / setting / setting.model.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0x4c4f=['lodash','util','../../config/logger','api','moment','bluebird','request-promise','rimraf','../../config/environment','exports','settings'];(function(_0x519cc4,_0x59d532){var _0x34f572=function(_0x28dc6a){while(--_0x28dc6a){_0x519cc4['push'](_0x519cc4['shift']());}};_0x34f572(++_0x59d532);}(_0x4c4f,0xfd));var _0xf4c4=function(_0x1f5594,_0x4b3e38){_0x1f5594=_0x1f5594-0x0;var _0x3b1c33=_0x4c4f[_0x1f5594];return _0x3b1c33;};'use strict';var _=require(_0xf4c4('0x0'));var util=require(_0xf4c4('0x1'));var logger=require(_0xf4c4('0x2'))(_0xf4c4('0x3'));var moment=require(_0xf4c4('0x4'));var BPromise=require(_0xf4c4('0x5'));var rp=require(_0xf4c4('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0xf4c4('0x7'));var config=require(_0xf4c4('0x8'));var attributes=require('./setting.attributes');module[_0xf4c4('0x9')]=function(_0x35551e,_0x3e1f2d){return _0x35551e['define']('Setting',attributes,{'tableName':_0xf4c4('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};