Built motion from commit (unavailable).|2.5.17
[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 _0xa29f=['../../config/logger','api','bluebird','request-promise','rimraf','../../config/environment','./setting.attributes','exports','Setting','settings','lodash','util'];(function(_0x3fb5eb,_0x5947a6){var _0x481291=function(_0x74e4e){while(--_0x74e4e){_0x3fb5eb['push'](_0x3fb5eb['shift']());}};_0x481291(++_0x5947a6);}(_0xa29f,0xa6));var _0xfa29=function(_0x197df3,_0x57d366){_0x197df3=_0x197df3-0x0;var _0xafdaf7=_0xa29f[_0x197df3];return _0xafdaf7;};'use strict';var _=require(_0xfa29('0x0'));var util=require(_0xfa29('0x1'));var logger=require(_0xfa29('0x2'))(_0xfa29('0x3'));var moment=require('moment');var BPromise=require(_0xfa29('0x4'));var rp=require(_0xfa29('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0xfa29('0x6'));var config=require(_0xfa29('0x7'));var attributes=require(_0xfa29('0x8'));module[_0xfa29('0x9')]=function(_0x3bd919,_0x218412){return _0x3bd919['define'](_0xfa29('0xa'),attributes,{'tableName':_0xfa29('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};