be30a0a064aab291fd5ab86586c0d3e36d54610d
[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 _0x800e=['rimraf','./setting.attributes','define','settings','util','../../config/logger','api','moment','bluebird','request-promise','path'];(function(_0x189522,_0x233eb8){var _0x44a8b0=function(_0x574dfc){while(--_0x574dfc){_0x189522['push'](_0x189522['shift']());}};_0x44a8b0(++_0x233eb8);}(_0x800e,0x17a));var _0xe800=function(_0x2d994d,_0x168a27){_0x2d994d=_0x2d994d-0x0;var _0xd54be4=_0x800e[_0x2d994d];return _0xd54be4;};'use strict';var _=require('lodash');var util=require(_0xe800('0x0'));var logger=require(_0xe800('0x1'))(_0xe800('0x2'));var moment=require(_0xe800('0x3'));var BPromise=require(_0xe800('0x4'));var rp=require(_0xe800('0x5'));var fs=require('fs');var path=require(_0xe800('0x6'));var rimraf=require(_0xe800('0x7'));var config=require('../../config/environment');var attributes=require(_0xe800('0x8'));module['exports']=function(_0x2b704a,_0x4a3221){return _0x2b704a[_0xe800('0x9')]('Setting',attributes,{'tableName':_0xe800('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};