Built motion from commit (unavailable).|2.4.19
[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 _0x7013=['api','bluebird','request-promise','rimraf','../../config/environment','./setting.attributes','exports','Setting','util'];(function(_0xffa198,_0x5a8940){var _0x1e4b50=function(_0x1f1c43){while(--_0x1f1c43){_0xffa198['push'](_0xffa198['shift']());}};_0x1e4b50(++_0x5a8940);}(_0x7013,0x13a));var _0x3701=function(_0x374504,_0x3fabd4){_0x374504=_0x374504-0x0;var _0x3fa957=_0x7013[_0x374504];return _0x3fa957;};'use strict';var _=require('lodash');var util=require(_0x3701('0x0'));var logger=require('../../config/logger')(_0x3701('0x1'));var moment=require('moment');var BPromise=require(_0x3701('0x2'));var rp=require(_0x3701('0x3'));var fs=require('fs');var path=require('path');var rimraf=require(_0x3701('0x4'));var config=require(_0x3701('0x5'));var attributes=require(_0x3701('0x6'));module[_0x3701('0x7')]=function(_0x5ab208,_0x52af56){return _0x5ab208['define'](_0x3701('0x8'),attributes,{'tableName':'settings','paranoid':![],'indexes':[],'timestamps':!![]});};