Built motion from commit (unavailable).|2.5.26
[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 _0x87cf=['../../config/logger','api','request-promise','path','rimraf','../../config/environment','./setting.attributes','exports','define','Setting','lodash','util'];(function(_0x55e879,_0x5c8e2c){var _0x24b72b=function(_0x5eb169){while(--_0x5eb169){_0x55e879['push'](_0x55e879['shift']());}};_0x24b72b(++_0x5c8e2c);}(_0x87cf,0x112));var _0xf87c=function(_0x8c43de,_0x90ff31){_0x8c43de=_0x8c43de-0x0;var _0xa6591b=_0x87cf[_0x8c43de];return _0xa6591b;};'use strict';var _=require(_0xf87c('0x0'));var util=require(_0xf87c('0x1'));var logger=require(_0xf87c('0x2'))(_0xf87c('0x3'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0xf87c('0x4'));var fs=require('fs');var path=require(_0xf87c('0x5'));var rimraf=require(_0xf87c('0x6'));var config=require(_0xf87c('0x7'));var attributes=require(_0xf87c('0x8'));module[_0xf87c('0x9')]=function(_0x4c168b,_0x36ebad){return _0x4c168b[_0xf87c('0xa')](_0xf87c('0xb'),attributes,{'tableName':'settings','paranoid':![],'indexes':[],'timestamps':!![]});};