Built motion from commit (unavailable).|2.5.4
[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 _0xde85=['../../config/environment','./setting.attributes','exports','define','Setting','settings','../../config/logger','api','bluebird','path','rimraf'];(function(_0x90462e,_0x457515){var _0x354fbc=function(_0x11f13d){while(--_0x11f13d){_0x90462e['push'](_0x90462e['shift']());}};_0x354fbc(++_0x457515);}(_0xde85,0x145));var _0x5de8=function(_0x4f33b5,_0x148396){_0x4f33b5=_0x4f33b5-0x0;var _0x3920fb=_0xde85[_0x4f33b5];return _0x3920fb;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x5de8('0x0'))(_0x5de8('0x1'));var moment=require('moment');var BPromise=require(_0x5de8('0x2'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x5de8('0x3'));var rimraf=require(_0x5de8('0x4'));var config=require(_0x5de8('0x5'));var attributes=require(_0x5de8('0x6'));module[_0x5de8('0x7')]=function(_0x5c719a,_0x5c4d03){return _0x5c719a[_0x5de8('0x8')](_0x5de8('0x9'),attributes,{'tableName':_0x5de8('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};