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 _0x1f46=['request-promise','path','rimraf','../../config/environment','./setting.attributes','define','Setting','settings','lodash','util','../../config/logger','api','moment','bluebird'];(function(_0x3e507d,_0x3abb4b){var _0x6ccda7=function(_0x378b89){while(--_0x378b89){_0x3e507d['push'](_0x3e507d['shift']());}};_0x6ccda7(++_0x3abb4b);}(_0x1f46,0x78));var _0x61f4=function(_0x412a4a,_0x461b25){_0x412a4a=_0x412a4a-0x0;var _0x55fad5=_0x1f46[_0x412a4a];return _0x55fad5;};'use strict';var _=require(_0x61f4('0x0'));var util=require(_0x61f4('0x1'));var logger=require(_0x61f4('0x2'))(_0x61f4('0x3'));var moment=require(_0x61f4('0x4'));var BPromise=require(_0x61f4('0x5'));var rp=require(_0x61f4('0x6'));var fs=require('fs');var path=require(_0x61f4('0x7'));var rimraf=require(_0x61f4('0x8'));var config=require(_0x61f4('0x9'));var attributes=require(_0x61f4('0xa'));module['exports']=function(_0x5858bb,_0x49ee34){return _0x5858bb[_0x61f4('0xb')](_0x61f4('0xc'),attributes,{'tableName':_0x61f4('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};