45af9856d1d23266cb7fb259347b25d745097793
[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 _0xa51e=['rimraf','../../config/environment','./setting.attributes','exports','define','Setting','settings','lodash','util','../../config/logger','api','moment','bluebird','path'];(function(_0xd83f71,_0xe27b4){var _0x3420ef=function(_0x238bcc){while(--_0x238bcc){_0xd83f71['push'](_0xd83f71['shift']());}};_0x3420ef(++_0xe27b4);}(_0xa51e,0xbd));var _0xea51=function(_0x14e9f0,_0x287f90){_0x14e9f0=_0x14e9f0-0x0;var _0xa63f7e=_0xa51e[_0x14e9f0];return _0xa63f7e;};'use strict';var _=require(_0xea51('0x0'));var util=require(_0xea51('0x1'));var logger=require(_0xea51('0x2'))(_0xea51('0x3'));var moment=require(_0xea51('0x4'));var BPromise=require(_0xea51('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xea51('0x6'));var rimraf=require(_0xea51('0x7'));var config=require(_0xea51('0x8'));var attributes=require(_0xea51('0x9'));module[_0xea51('0xa')]=function(_0x466175,_0xb78115){return _0x466175[_0xea51('0xb')](_0xea51('0xc'),attributes,{'tableName':_0xea51('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};