Built motion from commit (unavailable).|2.5.7
[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 _0x3b47=['bluebird','./setting.attributes','exports','Setting','settings','lodash','util','api','moment'];(function(_0x32b1e2,_0x3d8f6f){var _0x8e560d=function(_0x3874c0){while(--_0x3874c0){_0x32b1e2['push'](_0x32b1e2['shift']());}};_0x8e560d(++_0x3d8f6f);}(_0x3b47,0x7a));var _0x73b4=function(_0x25eb5e,_0x4c673c){_0x25eb5e=_0x25eb5e-0x0;var _0x51d1f5=_0x3b47[_0x25eb5e];return _0x51d1f5;};'use strict';var _=require(_0x73b4('0x0'));var util=require(_0x73b4('0x1'));var logger=require('../../config/logger')(_0x73b4('0x2'));var moment=require(_0x73b4('0x3'));var BPromise=require(_0x73b4('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x73b4('0x5'));module[_0x73b4('0x6')]=function(_0x26dbaa,_0x460a95){return _0x26dbaa['define'](_0x73b4('0x7'),attributes,{'tableName':_0x73b4('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};